/*
Theme Name: TREED Sklep
Theme URI: https://treedsklep.pl
Author: TREED Polska
Description: Motyw sklepu TREED dla WooCommerce – donice, deski tarasowe, ruchome deseczki i okucia do ogrodu. Zawiera kreator przykładowych kategorii, produktów i strony głównej (Wygląd → TREED Sklep).
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: treed-sklep
WC requires at least: 9.0
WC tested up to: 11.2
*/

/* ===== Czcionki (lokalnie, bez łączenia z Google) ===== */
@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:100 900;src:url(assets/fonts/roboto-latin-ext-wght-normal.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:100 900;src:url(assets/fonts/roboto-latin-wght-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Roboto Condensed";font-style:normal;font-display:swap;font-weight:100 900;src:url(assets/fonts/roboto-condensed-latin-ext-wght-normal.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Roboto Condensed";font-style:normal;font-display:swap;font-weight:100 900;src:url(assets/fonts/roboto-condensed-latin-wght-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ===== Kolory i podstawy ===== */
:root{
  --g1:#8FC644;      /* jasna zieleń z logo */
  --g2:#169300;      /* zieleń marki */
  --g2h:#0f7a00;
  --g3:#0E2207;      /* ciemna zieleń */
  --ink:#1E2819;
  --muted:#5C6857;
  --line:#E3E9DD;
  --bg:#FFFFFF;
  --bg2:#F3F6EF;
  --radius:14px;
  --shadow:0 1px 2px rgba(14,34,7,.06),0 8px 24px rgba(14,34,7,.07);
  --cond:"Roboto Condensed","Arial Narrow",Arial,sans-serif;
}
*{box-sizing:border-box}
body{margin:0;font-family:Roboto,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{color:var(--g2)}
button,select,input,textarea{font:inherit}
button{cursor:pointer}
.wrap{max-width:1280px;margin:0 auto;padding:0 16px}
.eyebrow{display:inline-block;font-family:var(--cond);font-weight:700;letter-spacing:.14em;text-transform:uppercase;font-size:14px;color:var(--g2);margin:0}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed;top:8px;left:8px;z-index:999;background:#fff;padding:10px 14px;clip:auto;width:auto;height:auto}
h1,h2,h3,h4{line-height:1.15}

/* przyciski */
.btn,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.wc-block-components-button:not(.is-link),.button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:99px;padding:12px 22px;font-weight:700;font-size:15px;line-height:1.2;
  border:2px solid transparent;background:var(--g2);color:#fff;transition:.15s;white-space:nowrap;text-decoration:none;cursor:pointer}
.btn:hover,.wp-block-button__link:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.button:hover,.wc-block-components-button:not(.is-link):hover{background:var(--g2h);color:#fff}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce #respond input#submit.alt{background:var(--g2);color:#fff;border-radius:99px}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover{background:var(--g2h);color:#fff}
.woocommerce button.button.alt.disabled,.woocommerce button.button.alt:disabled{background:var(--g2);opacity:.5}
.btn-outline,.wp-block-button.is-style-outline>.wp-block-button__link{border-color:var(--g2)!important;color:var(--g2)!important;background:#fff!important}
.btn-outline:hover,.wp-block-button.is-style-outline>.wp-block-button__link:hover{background:var(--bg2)!important;color:var(--g2)!important}
.btn-ghost{border-color:rgba(255,255,255,.6);color:#fff;background:transparent}
.btn-ghost:hover{background:rgba(255,255,255,.12)}
.btn-sm{padding:8px 14px;font-size:14px}
.woocommerce a.button.disabled,.woocommerce button.button:disabled,.woocommerce button.button.disabled{opacity:.5;cursor:not-allowed}
.button.loading,.btn.loading{opacity:.6;pointer-events:none}
a.added_to_cart{display:none!important}

/* ===== Nagłówek ===== */
.promo{background:var(--g3);color:#fff;text-align:center;font-size:14px;padding:9px 16px}
.promo strong,.promo b{color:var(--g1)}
.promo a{color:#fff;text-decoration:underline}
header.site{position:sticky;top:0;z-index:40;background:#fff;box-shadow:0 1px 0 var(--line)}
.admin-bar header.site{top:32px}
@media (max-width:782px){.admin-bar header.site{top:0}}
.hdr{display:flex;align-items:center;gap:24px;padding-top:12px;padding-bottom:12px}
.logo{display:flex;align-items:center;gap:10px;flex:none}
.logo img{height:50px;width:auto}
.shoptag{font-family:var(--cond);font-weight:800;font-size:14px;letter-spacing:.12em;color:#fff;background:var(--g2);padding:3px 9px;border-radius:6px}
.searchbox{position:relative;flex:1;max-width:620px;margin:0 auto}
.searchbox form{display:flex;align-items:center;border:2px solid var(--line);border-radius:99px;background:var(--bg2);padding:4px 4px 4px 16px;transition:.15s}
.searchbox form:focus-within{border-color:var(--g2);background:#fff}
.searchbox input[type=search]{flex:1;border:0;background:none;outline:none;padding:8px 6px;font-size:15px;min-width:0;color:var(--ink);-webkit-appearance:none;appearance:none}
.searchbox button{border:0;background:var(--g2);color:#fff;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;flex:none}
.sugg{display:none;position:absolute;left:0;right:0;top:calc(100% + 6px);background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);z-index:50;overflow:hidden}
.sugg.open{display:block}
.sugg a{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;padding:8px 12px;font-size:14px;color:var(--ink)}
.sugg a:hover,.sugg a.act{background:var(--bg2)}
.sugg .im{position:relative;width:48px;height:36px;border-radius:6px;overflow:hidden;background:var(--bg2)}
.sugg .im img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sugg b{font-weight:500}
.sugg .pr{font-weight:700;color:var(--g3);white-space:nowrap}
.sugg .none{padding:14px;color:var(--muted);font-size:14px}
.sugg a.all{display:block;padding:10px 12px;border-top:1px solid var(--line);font-weight:700;color:var(--g2)}
.hdr-right{display:flex;align-items:center;gap:8px;flex:none}
.cartbtn{position:relative;display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;border-radius:99px;padding:6px 16px 6px 8px;color:var(--g3)}
.cartbtn:hover{border-color:var(--g2)}
.cartbtn .ic{position:relative;width:34px;height:34px;border-radius:50%;background:var(--bg2);display:grid;place-items:center}
.cartbtn .lbl{text-align:left;line-height:1.15;font-size:13px;color:var(--muted)}
.cartbtn .lbl b{display:block;font-size:15px;color:var(--g3)}
.badge{position:absolute;top:-5px;right:-5px;min-width:20px;height:20px;border-radius:99px;background:var(--g2);color:#fff;font-size:12px;font-weight:700;display:grid;place-items:center;padding:0 5px}
.catbar{background:var(--g3)}
.catbar .wrap{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
.catbar .wrap::-webkit-scrollbar{display:none}
.catbar a{display:flex;align-items:center;gap:8px;color:#E3EADC;padding:12px 14px;font-weight:500;font-size:15px;white-space:nowrap;border-bottom:3px solid transparent}
.catbar a:hover{color:#fff;background:rgba(255,255,255,.06)}
.catbar a.on{color:#fff;border-color:var(--g1)}
.catbar a.all{background:var(--g2);color:#fff}
.catbar a.all:hover{background:var(--g2h)}

/* ===== Strona główna (bloki z edytora) ===== */
.treed-front{padding-bottom:8px}
.treed-front>*{margin-top:0;margin-bottom:0}
.treed-front :where(.wp-block-group)>*{margin-block:0}
.treed-front p:empty{display:none}
.treed-section{max-width:1280px;margin:0 auto!important;padding:64px 16px 0}
.treed-section.treed-hero-grid{padding-top:20px}
.treed-section.is-tight{padding-top:16px}
.treed-section h2{font-family:var(--cond);font-weight:800;text-transform:uppercase;font-size:clamp(28px,3.2vw,40px);line-height:1.05;margin:4px 0 24px;color:var(--g3)}
.treed-section>.eyebrow+h2{margin-top:4px}
.treed-lead{color:var(--muted);max-width:620px;margin:-14px 0 24px}

.treed-hero-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px}
.treed-hero,.treed-ptile,.treed-banner,.treed-tile{position:relative;overflow:hidden;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;isolation:isolate}
.treed-hero>*,.treed-ptile>*,.treed-banner>*,.treed-tile>*{position:relative;z-index:2;margin:0}
.treed-hero>.treed-bg,.treed-ptile>.treed-bg,.treed-banner>.treed-bg,.treed-tile>.treed-bg{position:absolute;inset:0;z-index:0;margin:0}
.treed-bg img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.treed-hero{min-height:480px;border-radius:18px;padding:44px}
.treed-hero::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(10,22,5,.86) 0%,rgba(10,22,5,.55) 50%,rgba(10,22,5,.1) 100%)}
.treed-hero .eyebrow{color:var(--g1)}
.treed-hero h1{font-family:var(--cond);font-weight:800;font-size:clamp(34px,4.4vw,58px);line-height:1.02;margin:10px 0 14px;max-width:560px;text-transform:uppercase;color:#fff}
.treed-hero p:not(.eyebrow){font-size:18px;max-width:480px;color:#E6EEDF;margin:0 0 24px}
.treed-hero .wp-block-buttons{display:flex;gap:12px;flex-wrap:wrap}
.treed-hero .wp-block-button.is-style-outline>.wp-block-button__link{background:transparent!important;border-color:rgba(255,255,255,.6)!important;color:#fff!important}
.treed-hero .wp-block-button.is-style-outline>.wp-block-button__link:hover{background:rgba(255,255,255,.12)!important}
.treed-side-promos{display:grid;grid-template-rows:1fr 1fr;gap:16px}
.treed-ptile{border-radius:18px;min-height:232px;padding:22px}
.treed-ptile::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(8,18,4,.85) 100%)}
.treed-ptile.is-light{color:var(--g3);background:var(--bg2)}
.treed-ptile.is-light::after{display:none}
.treed-ptile.is-light>.treed-bg{left:46%}
.treed-ptile.is-light>*:not(.treed-bg){max-width:52%}
.treed-ptile h3,.treed-banner h3{font-family:var(--cond);font-weight:800;text-transform:uppercase;font-size:26px;line-height:1.05;margin:6px 0 6px}
.treed-ptile h3 a::after,.treed-banner h3 a::after,.treed-tile h3 a::after{content:"";position:absolute;inset:0}
.treed-ptile:hover .treed-bg img,.treed-banner:hover .treed-bg img,.treed-tile:hover .treed-bg img{transform:scale(1.03)}
.treed-ptile h3 a,.treed-banner h3 a,.treed-tile h3 a{color:inherit}
.treed-ptile p:last-child{font-weight:700}
.pill{display:inline-block!important;align-self:flex-start;background:var(--g2);color:#fff!important;font-size:12px!important;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:3px 10px;border-radius:99px;margin:0!important}

.treed-trust{border:1px solid var(--line);border-radius:14px;display:grid;grid-template-columns:repeat(4,1fr)}
.treed-trust-item{display:flex;flex-direction:column;justify-content:center;padding:14px 18px 14px 70px;position:relative;min-height:72px}
.treed-trust-item+.treed-trust-item{border-left:1px solid var(--line)}
.treed-trust-item p{margin:0;font-size:13px;color:var(--muted);line-height:1.35}
.treed-trust-item p strong{display:block;font-size:15px;color:var(--ink);margin-bottom:2px}
.treed-trust-item::before{content:"";position:absolute;left:18px;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;background:#EAF4DD center/20px no-repeat}
.treed-trust-item:nth-child(1)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23169300' stroke-width='2'%3E%3Cpath d='M12 2l3 6 6 .9-4.5 4.3 1 6.3L12 16.8 6.5 19.5l1-6.3L3 8.9 9 8z'/%3E%3C/svg%3E")}
.treed-trust-item:nth-child(2)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23169300' stroke-width='2'%3E%3Cpath d='M12 22V12M12 12L5 5M12 12l7-7M5 12h14'/%3E%3C/svg%3E")}
.treed-trust-item:nth-child(3)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23169300' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 3a9 9 0 0 0 0 18'/%3E%3C/svg%3E")}
.treed-trust-item:nth-child(4)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23169300' stroke-width='2'%3E%3Crect x='3' y='6' width='18' height='13' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E")}

/* kafelki kategorii */
.cat-tiles{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;list-style:none;margin:0;padding:0}
.ctile{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.15s}
.ctile:hover{box-shadow:var(--shadow);transform:translateY(-2px);border-color:#CFE0BF}
.ctile .ph{position:relative;aspect-ratio:4/3;background:var(--bg2);overflow:hidden}
.ctile .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ctile .bd{padding:12px 14px}
.ctile b{display:block;font-size:16px}
.ctile span{font-size:13px;color:var(--muted)}
.ctile a::after{content:"";position:absolute;inset:0}

/* karty produktów */
ul.products,.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;list-style:none;margin:0;padding:0}
ul.products::before,ul.products::after{display:none!important}
ul.products li.product,.card{position:relative;width:auto!important;margin:0!important;float:none!important;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:.15s}
ul.products li.product:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.card .ph{position:relative;aspect-ratio:4/3;background:var(--bg2);overflow:hidden}
.card .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0!important}
.tag{position:absolute;z-index:1;top:12px;left:12px;background:var(--g2);color:#fff;font-size:12px;font-weight:700;padding:3px 10px;border-radius:99px;text-transform:uppercase;letter-spacing:.04em}
.tag.sale{background:#C0392B}
.card .bd{padding:14px 16px 16px;display:flex;flex-direction:column;flex:1}
.brand{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.card h3,.card h2{font-size:16px;line-height:1.3;margin:3px 0 8px;font-weight:500;font-family:inherit;text-transform:none;color:var(--ink)}
.card .card-link{color:inherit}
.card .card-link::after{content:"";position:absolute;inset:0;z-index:1}
.vars{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:4px;align-items:center}
.vars i{width:16px;height:16px;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.15) inset;display:inline-block}
.vars span{font-size:12px;border:1px solid var(--line);border-radius:99px;padding:1px 8px;color:var(--muted)}
.card .price,.price-big{font-family:var(--cond);font-weight:800;color:var(--g3);line-height:1.1}
.card .price{font-size:22px;white-space:nowrap}
.woocommerce ul.products li.product .price{font-family:var(--cond);font-weight:800;color:var(--g3);font-size:22px;line-height:1.1;margin:0;display:block;white-space:nowrap}
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0;margin:3px 0 8px;font-size:16px}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .btn{margin:0}
.woocommerce ul.products li.product a img{margin:0}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none;margin:0}
.price del{opacity:.5;font-size:.7em;font-weight:600}
.price ins{text-decoration:none}
.price small,.unit{font-family:Roboto,sans-serif;font-weight:400;font-size:13px;color:var(--muted)}
.card .foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:12px;flex-wrap:wrap}
.card .foot .btn,.card .foot .button{position:relative;z-index:2}
.allcard{position:relative;background:var(--g3);color:#fff;border-radius:var(--radius);display:flex;flex-direction:column;justify-content:flex-end;padding:24px;min-height:280px;overflow:hidden}
.allcard h3{font-family:var(--cond);font-weight:800;text-transform:uppercase;font-size:28px;line-height:1.05;margin:0 0 10px;color:#fff}
.allcard p{margin:0 0 16px;color:#CFDCC6;font-size:15px}
.allcard a::after{content:"";position:absolute;inset:0}
.allcard:hover{background:#13300a}

/* wyróżnienie: kolory donic */
.treed-feature{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center;background:var(--bg2);border-radius:20px;padding:36px!important;max-width:1248px}
.treed-feature h2{margin-bottom:0}
.treed-colors .vis{position:relative;aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:#fff}
.treed-colors .vis img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.swatches{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0 8px}
.sw{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:13px;font-weight:500;border:0;background:none;padding:0;color:var(--ink);width:74px;text-align:center;line-height:1.2}
.sw i{width:46px;height:46px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px var(--line),var(--shadow);transition:.15s}
.sw.on i{box-shadow:0 0 0 2px var(--g2),var(--shadow)}
.reallink{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--g2);font-size:15px}
ul.treed-specs,.treed-specs ul{list-style:none;padding:0;margin:16px 0 20px;display:grid;gap:10px}
.treed-specs li{display:flex;gap:10px;align-items:flex-start}
.treed-specs li::before{content:"";flex:none;width:20px;height:20px;margin-top:2px;border-radius:50%;background:var(--g2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat}

/* banery */
.treed-banners{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.treed-banner{border-radius:18px;min-height:280px;padding:30px}
.treed-banner::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(8,18,4,.88) 0%,rgba(8,18,4,.45) 65%,rgba(8,18,4,.15) 100%)}
.treed-banner>*:not(.treed-bg){max-width:420px}
.treed-banner h3{font-size:32px}
.treed-banner p:not(.pill){color:#DCE6D3;margin:0 0 16px!important}
.treed-banner.is-light{background:var(--g3)}
.treed-banner.is-light::after{display:none}
.treed-banner.is-light>.treed-bg{left:auto;width:42%}
.treed-banner.is-light>*:not(.treed-bg){max-width:56%}

/* inspiracje */
.treed-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.treed-tile{border-radius:var(--radius);aspect-ratio:4/3;padding:20px}
.treed-tile::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(8,18,4,.85) 100%)}
.treed-tile h3{font-family:var(--cond);font-weight:800;text-transform:uppercase;font-size:24px;margin:0 0 2px;line-height:1.05}
.treed-tile p{font-size:14px;color:#E3EADC}

/* kroki */
.treed-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.treed-step{background:var(--bg2);border-radius:var(--radius);padding:24px}
.treed-step .n{font-family:var(--cond);font-weight:800;font-size:42px;color:var(--g1);line-height:1;margin:0}
.treed-step h3{font-size:18px;margin:8px 0 6px}
.treed-step p:not(.n){margin:0;color:var(--muted);font-size:15px}

/* ===== Strony ===== */
.page-wrap{padding-top:28px;padding-bottom:20px}
.page-title{font-family:var(--cond);font-weight:800;text-transform:uppercase;font-size:clamp(30px,3.4vw,42px);line-height:1.05;margin:0 0 20px;color:var(--g3)}
.entry-content>*:first-child{margin-top:0}
.entry-content a{color:var(--g2);text-decoration:underline}
.crumbs,.woocommerce-breadcrumb{font-size:14px;color:var(--muted);padding:20px 0 6px;margin:0}
.crumbs a:hover,.woocommerce-breadcrumb a:hover{color:var(--g2)}
.admin-hint{background:#FFF6E0;border:1px solid #F1D9A0;border-radius:12px;padding:16px 18px;margin:24px 0}

/* ===== Lista produktów ===== */
.listing{display:grid;grid-template-columns:250px 1fr;gap:32px;align-items:start;padding-top:10px}
.listing>*{min-width:0}
.sidebar{position:sticky;top:150px;border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.sidebar h4{margin:0 0 10px;font-family:var(--cond);text-transform:uppercase;letter-spacing:.06em;font-size:16px;color:var(--g3)}
.sidebar a{display:flex;justify-content:space-between;padding:8px 10px;border-radius:8px;font-size:15px}
.sidebar a:hover{background:var(--bg2)}
.sidebar a.on{background:#EAF4DD;color:var(--g3);font-weight:700}
.sidebar a span{color:var(--muted);font-size:13px}
.list-head h1{font-family:var(--cond);font-weight:800;text-transform:uppercase;font-size:clamp(30px,3.4vw,42px);line-height:1.05;margin:0;color:var(--g3)}
.list-head .term-description{margin:6px 0 0;color:var(--muted)}
.list-head .term-description p{margin:0}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 16px;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:14px;color:var(--muted);flex-wrap:wrap}
.toolbar .woocommerce-result-count{margin:0}
.toolbar .woocommerce-ordering{margin:0}
.toolbar select{border:1px solid var(--line);border-radius:10px;padding:8px 12px;background:#fff;color:var(--ink)}
.listing ul.products{grid-template-columns:repeat(3,1fr)}
.chiprow{display:none;gap:8px;overflow-x:auto;padding:4px 0 10px;scrollbar-width:none}
.chiprow::-webkit-scrollbar{display:none}
.chiprow a{white-space:nowrap;border:1px solid var(--line);border-radius:99px;padding:7px 14px;font-size:14px}
.chiprow a.on{background:var(--g3);color:#fff;border-color:var(--g3)}
.woocommerce-info,.woocommerce-message,.woocommerce-error,.woocommerce-notices-wrapper>*{background:var(--bg2);border-radius:12px;padding:14px 18px;margin:0 0 16px;list-style:none;border:0}
.woocommerce-error{background:#FDECEC}
.woocommerce-message .button,.woocommerce-info .button{float:right;margin-left:12px}
.woocommerce-pagination ul{display:flex;gap:6px;list-style:none;padding:0;margin:28px 0 0;justify-content:center}
.woocommerce-pagination a,.woocommerce-pagination span{display:grid;place-items:center;min-width:40px;height:40px;border:1px solid var(--line);border-radius:10px;padding:0 10px}
.woocommerce-pagination span.current{background:var(--g3);color:#fff;border-color:var(--g3)}

/* ===== Karta produktu ===== */
.single-wrap{padding-bottom:20px}
div.product.treed-pdp{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:start;padding-top:10px}
div.product.treed-pdp>.woocommerce-product-gallery{grid-column:1;width:auto!important;float:none!important;margin:0!important}
div.product.treed-pdp>.summary{grid-column:2;width:auto!important;float:none!important;margin:0!important}
div.product.treed-pdp>.woocommerce-tabs,div.product.treed-pdp>.treed-related,div.product.treed-pdp>section,div.product.treed-pdp>.clear{grid-column:1/-1}
div.product.treed-pdp>.onsale{display:none}
.woocommerce-product-gallery{position:relative}
.woocommerce-product-gallery__wrapper{margin:0}
.woocommerce-product-gallery .flex-viewport,.woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{border-radius:var(--radius);overflow:hidden;background:var(--bg2)}
.woocommerce-product-gallery__image img{width:100%;aspect-ratio:4/3;object-fit:cover}
.woocommerce-product-gallery .flex-control-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;list-style:none;padding:0;margin:10px 0 0}
.woocommerce-product-gallery .flex-control-thumbs li{margin:0!important;width:auto!important;float:none!important;list-style:none}
.woocommerce-product-gallery .flex-control-thumbs img{border-radius:10px;aspect-ratio:1;object-fit:cover;cursor:pointer;opacity:1;border:2px solid transparent;transition:.15s}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active,.woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:1;border-color:var(--g2)}
.woocommerce-product-gallery__trigger{position:absolute;top:14px;right:14px;z-index:9;width:40px;height:40px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:var(--shadow);font-size:0}
.woocommerce-product-gallery__trigger::before{content:"";width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2207' stroke-width='2.4'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat}
.woocommerce-product-gallery__trigger img{display:none!important}
.summary .brand{display:block}
.summary .product_title{font-family:var(--cond);font-weight:800;text-transform:uppercase;font-size:clamp(28px,3.2vw,40px);line-height:1.05;color:var(--g3);margin:4px 0 10px}
.summary .woocommerce-product-details__short-description{color:var(--muted);margin:0 0 16px}
.summary .woocommerce-product-details__short-description p{margin:0}
.pprice{display:flex;align-items:baseline;gap:12px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:18px;flex-wrap:wrap}
.pprice .price-big{font-size:44px}
.pprice .price-big small{font-family:var(--cond);font-size:22px;color:var(--muted)}
.pprice .lbl{color:var(--muted);font-size:13px}
.summary .stock{font-size:14px;font-weight:500;margin:0 0 10px}
.summary .stock.in-stock{color:var(--g2)}
.summary .stock.out-of-stock{color:#C0392B}
form.cart{margin:0}
table.variations{border:0;margin:0 0 6px;width:100%;border-collapse:collapse}
table.variations tr{display:block;margin-bottom:16px}
table.variations th,table.variations td{display:block;padding:0;text-align:left;border:0;background:none}
table.variations th.label{margin-bottom:10px}
table.variations th label{font-weight:700;font-size:15px;display:flex;justify-content:space-between;gap:8px}
table.variations th label .sel{font-weight:400;color:var(--muted)}
.treed-has-opts select{position:absolute!important;width:1px;height:1px;opacity:0;pointer-events:none}
.reset_variations{display:none!important}
.opts{display:flex;flex-wrap:wrap;gap:8px}
.opt{border:2px solid var(--line);background:#fff;border-radius:12px;padding:10px 16px;font-weight:500;font-size:15px;color:var(--ink);text-align:left;line-height:1.2}
.opt:hover{border-color:#B9D59C}
.opt small{display:block;font-weight:400;color:var(--muted);font-size:12px;margin-top:2px}
.opt.on{border-color:var(--g2);background:#F1F8E9}
.opt.swo{display:flex;align-items:center;gap:10px}
.opt.swo i{width:24px;height:24px;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.15) inset;flex:none}
.opt:disabled{opacity:.4;cursor:not-allowed}
.treed-finish-colors{margin-top:12px;display:none}
.treed-finish.is-color .treed-finish-colors{display:block}
.treed-finish-colors .lbl{font-weight:700;font-size:15px;margin-bottom:10px;display:flex;justify-content:space-between}
.treed-finish-colors .lbl span{font-weight:400;color:var(--muted)}
.colorlink{margin-top:10px;font-size:14px}
.colorlink a{color:var(--g2);font-weight:700}
.single_variation_wrap .woocommerce-variation-price{display:none}
.single_variation_wrap .woocommerce-variation-description p{margin:0 0 10px;color:var(--muted);font-size:14px}
.hint{display:flex;gap:10px;align-items:flex-start;background:#F1F8E9;border-radius:10px;padding:12px 14px;font-size:14px;margin:4px 0 6px}
.hint svg{flex:none;color:var(--g2);margin-top:1px}
.woocommerce-variation-add-to-cart,form.cart:not(.variations_form){display:flex;gap:10px;margin:18px 0 14px;flex-wrap:wrap}
.quantity{display:flex;align-items:center;border:2px solid var(--line);border-radius:99px;overflow:hidden;background:#fff}
.quantity .qbtn{width:44px;height:48px;border:0;background:#fff;font-size:20px;color:var(--g3)}
.quantity input.qty{width:56px;height:48px;border:0;text-align:center;font-weight:700;font-size:16px;-moz-appearance:textfield;appearance:textfield;background:transparent}
.quantity input.qty::-webkit-outer-spin-button,.quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.single_add_to_cart_button{flex:1;min-width:200px;padding:14px 22px!important;font-size:16px!important}
.addonbox{display:flex;gap:14px;align-items:center;border:1px dashed #BFD6A8;background:#FAFCF7;border-radius:12px;padding:12px;margin-top:4px}
.addonbox .im{position:relative;width:72px;height:54px;border-radius:8px;overflow:hidden;flex:none;background:var(--bg2)}
.addonbox .im img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.addonbox .tx{flex:1;font-size:14px;line-height:1.35}
.addonbox .tx b{display:block;font-size:15px}
.addonbox .tx .amount{font-weight:700}
.perks{list-style:none;padding:14px 16px;margin:14px 0 0;background:var(--bg2);border-radius:12px;display:grid;gap:8px;font-size:14px}
.perks li{display:flex;gap:10px;align-items:flex-start}
.perks svg{flex:none;color:var(--g2);margin-top:1px}
.woocommerce-tabs{margin-top:56px}
.woocommerce-tabs ul.tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);overflow-x:auto;list-style:none;margin:0;padding:0}
.woocommerce-tabs ul.tabs::before,.woocommerce-tabs ul.tabs::after{display:none}
.woocommerce-tabs ul.tabs li{margin:0;border:0;background:none;padding:0}
.woocommerce-tabs ul.tabs li a{display:block;padding:14px 18px;font-weight:700;color:var(--muted);border-bottom:3px solid transparent;white-space:nowrap}
.woocommerce-tabs ul.tabs li.active a{color:var(--g3);border-color:var(--g2)}
.woocommerce-tabs .panel{padding:24px 0;max-width:860px;margin:0}
.woocommerce-tabs .panel>h2:first-child{display:none}
table.shop_attributes,.woocommerce-product-attributes{width:100%;border-collapse:collapse;font-size:15px;border:0}
.woocommerce-product-attributes th,.woocommerce-product-attributes td{padding:11px 14px;border:0;border-bottom:1px solid var(--line);text-align:left;font-weight:400}
.woocommerce-product-attributes th{color:var(--muted);width:42%}
.woocommerce-product-attributes tr:nth-child(odd) th,.woocommerce-product-attributes tr:nth-child(odd) td{background:var(--bg2)}
.woocommerce-product-attributes td p{margin:0}
.treed-related{padding-top:40px}
.treed-related h2{font-family:var(--cond);font-weight:800;text-transform:uppercase;font-size:clamp(28px,3.2vw,40px);line-height:1.05;margin:4px 0 24px;color:var(--g3)}
.stickybuy{display:none}

/* ===== Stopka ===== */
footer.site{background:#0A1805;color:#C5D1BD;margin-top:72px;font-size:15px}
footer.site .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px;padding-top:52px;padding-bottom:36px}
footer.site h4{color:#fff;font-family:var(--cond);text-transform:uppercase;letter-spacing:.06em;font-size:16px;margin:0 0 14px}
footer.site a{display:block;padding:3px 0;color:#C5D1BD}
footer.site a:hover{color:var(--g1)}
footer.site ul{list-style:none;margin:0;padding:0}
footer.site .logo-f{height:46px;width:auto;background:#fff;border-radius:8px;padding:4px 8px;margin-bottom:14px}
footer.site .addr{display:block;padding:3px 0;white-space:pre-line}
.copy{border-top:1px solid #1E3214;padding:18px 16px;text-align:center;font-size:13px;color:#8FA083}

/* ===== Koszyk w szufladzie ===== */
.overlay{position:fixed;inset:0;background:rgba(8,18,4,.45);z-index:80;opacity:0;pointer-events:none;transition:.2s}
.overlay.open{opacity:1;pointer-events:auto}
.drawer{position:fixed;top:0;right:0;height:100%;width:min(430px,100%);background:#fff;z-index:90;transform:translateX(100%);transition:transform .25s;display:flex;flex-direction:column;visibility:hidden}
.drawer.open{transform:none;visibility:visible}
.admin-bar .drawer{top:32px;height:calc(100% - 32px)}
@media (max-width:782px){.admin-bar .drawer{top:46px;height:calc(100% - 46px)}}
.drawer>header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--line)}
.drawer h3{margin:0;font-family:var(--cond);text-transform:uppercase;font-size:22px;color:var(--g3)}
.treed-drawer-body{flex:1;display:flex;flex-direction:column;min-height:0}
.drawer .items{flex:1;overflow:auto;padding:8px 20px}
.citem{display:grid;grid-template-columns:72px 1fr auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px;align-items:start}
.citem .im{position:relative;width:72px;height:54px;border-radius:8px;overflow:hidden;background:var(--bg2)}
.citem .im img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.citem b{display:block;font-size:15px;line-height:1.3;font-weight:500}
.citem .meta,.citem .q{color:var(--muted)}
.citem dl.variation{margin:2px 0;display:flex;flex-wrap:wrap;gap:0 6px}
.citem dl.variation dt,.citem dl.variation dd{margin:0;display:inline}
.citem dl.variation dd p{display:inline;margin:0}
.citem .r{text-align:right}
.citem .rm{color:var(--muted);font-size:13px;text-decoration:underline;display:inline-block;margin-top:6px}
.upsell{margin:12px 0;border:1px dashed #BFD6A8;background:#FAFCF7;border-radius:12px;padding:12px;display:flex;gap:12px;align-items:center;font-size:14px}
.upsell .im{position:relative;width:60px;height:45px;border-radius:8px;overflow:hidden;flex:none}
.upsell .im img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.upsell .tx{flex:1;line-height:1.35}
.drawer .sum{padding:18px 20px;border-top:1px solid var(--line);display:grid;gap:12px}
.drawer .sum .tot{display:flex;justify-content:space-between;font-size:18px;font-weight:700}
.drawer .sum .ship{font-size:13px;color:var(--muted);margin-top:-6px}
.empty{color:var(--muted);padding:30px 0;text-align:center}
.xbtn{border:0;background:var(--bg2);width:38px;height:38px;border-radius:50%;font-size:20px;color:var(--g3);line-height:1}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(30px);background:var(--g3);color:#fff;padding:12px 20px;border-radius:99px;font-weight:500;opacity:0;transition:.25s;z-index:99;pointer-events:none;max-width:calc(100% - 32px);text-align:center}
.toast.show{opacity:1;transform:translateX(-50%)}

/* ===== Koszyk i kasa (bloki WooCommerce) ===== */
.wc-block-cart,.wc-block-checkout{margin-top:8px}
.wc-block-components-button:not(.is-link){width:auto}
.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{width:100%!important}
.wc-block-components-product-name,.entry-content a.wc-block-components-product-name{color:var(--g3);font-weight:500;text-decoration:none}
.wc-block-components-radio-control__input:checked{border-color:var(--g2)}
.wc-block-components-radio-control__input:checked::before{background:var(--g2)}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-family:var(--cond);font-weight:800;font-size:24px;color:var(--g3)}
.wc-block-components-text-input input:focus,.wc-block-components-form .wc-block-components-text-input input:focus{border-color:var(--g2);box-shadow:0 0 0 1px var(--g2)}
.woocommerce-cart-form .button,.woocommerce-checkout .button{white-space:normal}

/* ===== Responsywność ===== */
@media (max-width:1180px){
  .cat-tiles{grid-template-columns:repeat(3,1fr)}
  ul.products,.grid4{grid-template-columns:repeat(3,1fr)}
  .listing ul.products{grid-template-columns:repeat(2,1fr)}
  .treed-trust{grid-template-columns:repeat(2,1fr)}
  .treed-trust-item:nth-child(3){border-left:0}
  .treed-trust-item:nth-child(n+3){border-top:1px solid var(--line)}
}
@media (max-width:960px){
  .hdr{flex-wrap:wrap;gap:12px}
  .searchbox{order:3;flex-basis:100%;max-width:none}
  .hdr-right{margin-left:auto}
  .logo img{height:42px}
  .treed-hero-grid{grid-template-columns:1fr}
  .treed-side-promos{grid-template-rows:none;grid-template-columns:1fr 1fr}
  .treed-hero{min-height:420px}
  .treed-feature,div.product.treed-pdp,.treed-banners{grid-template-columns:1fr;gap:24px}
  div.product.treed-pdp>.woocommerce-product-gallery,div.product.treed-pdp>.summary{grid-column:1}
  .treed-feature{padding:22px!important}
  .treed-tiles,.treed-steps{grid-template-columns:1fr}
  .treed-tile{aspect-ratio:16/10}
  .listing{grid-template-columns:1fr;gap:0}
  .sidebar{display:none}
  .chiprow{display:flex}
  footer.site .cols{grid-template-columns:1fr 1fr}
  .stickybuy{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid var(--line);padding:10px 16px;gap:12px;align-items:center;justify-content:space-between;box-shadow:0 -6px 20px rgba(0,0,0,.08)}
  .stickybuy .val{font-family:var(--cond);font-weight:800;font-size:24px;color:var(--g3);line-height:1}
  .stickybuy small{display:block;font-size:12px;color:var(--muted)}
  body.single-product{padding-bottom:76px}
}
@media (max-width:760px){
  ul.products,.grid4,.listing ul.products{grid-template-columns:repeat(2,1fr);gap:12px}
  .cat-tiles{grid-template-columns:repeat(2,1fr);gap:12px}
  .card .bd{padding:12px}
  .card h2,.card h3{font-size:15px}
  .card .foot .btn,.card .foot .button{width:100%}
  .card .price,.woocommerce ul.products li.product .price{font-size:20px}
  .allcard{padding:16px;min-height:0}
  .allcard h3{font-size:22px}
  .allcard .btn{white-space:normal;text-align:center}
  .treed-hero{padding:24px}
  .treed-side-promos{grid-template-columns:1fr}
  .treed-ptile{min-height:200px}
  .treed-trust{grid-template-columns:1fr}
  .treed-trust-item{border-left:0!important}
  .treed-trust-item+.treed-trust-item{border-top:1px solid var(--line)}
  .treed-banner{padding:22px}
  .treed-banner.is-light>.treed-bg{width:100%;opacity:.18}
  .treed-banner.is-light>*:not(.treed-bg){max-width:none}
  .cartbtn .lbl{display:none}
  .cartbtn{padding:6px}
  footer.site .cols{grid-template-columns:1fr}
  .woocommerce-product-gallery .flex-control-thumbs{grid-template-columns:repeat(4,1fr)}
  .pprice .price-big{font-size:38px}
  .shoptag{font-size:12px}
  .treed-section{padding-top:48px}
}
