/*
Theme Name: Bake Trade B2B — SEO Content Map v4.0.2
Theme URI: https://baketrade.pl/
Author: Bake Trade / OpenAI
Description: Lekki, responsywny motyw WordPress/WooCommerce dla Bake Trade, przygotowany jako katalog B2B HoReCa.
Version: 4.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: baketrade
*/

:root{
  --bt-brown:#2c2119;
  --bt-brown-2:#453325;
  --bt-brown-3:#5a4331;
  --bt-gold:#c99a3e;
  --bt-gold-light:#e2bf73;
  --bt-cream:#f7f2ea;
  --bt-white:#fff;
  --bt-ink:#251e19;
  --bt-muted:#6f675f;
  --bt-border:#e9e2d9;
  --bt-shadow:0 12px 35px rgba(42,31,23,.09);
  --bt-radius:14px;
  --bt-max:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--bt-ink);background:#fff;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
.bt-container{width:min(calc(100% - 40px),var(--bt-max));margin-inline:auto}
.bt-section{padding:70px 0}
.bt-section-title{font-family:Georgia,"Times New Roman",serif;text-align:center;font-size:clamp(30px,3.4vw,46px);font-weight:500;margin:0 0 12px}
.bt-section-title::after{content:"";display:block;width:90px;height:2px;background:var(--bt-gold);margin:16px auto 0}
.bt-kicker{text-transform:uppercase;letter-spacing:.13em;font-size:12px;color:var(--bt-gold);font-weight:700}

/* Header */
.bt-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid rgba(69,51,37,.10);box-shadow:0 7px 24px rgba(42,31,23,.055)}
.bt-header-inner{position:relative;height:100px;display:flex;align-items:center;gap:22px}
.bt-brand{display:flex;align-items:center;flex:0 0 calc(var(--bt-logo-width,380px) + 8px);min-width:calc(var(--bt-logo-width,380px) + 8px);height:100%;overflow:visible}
.bt-brand-link,.bt-brand .custom-logo-link{display:flex;align-items:center;height:100%;width:100%;padding:8px 0}
.bt-brand img,.bt-brand .custom-logo{display:block;width:var(--bt-logo-width,380px)!important;max-width:var(--bt-logo-width,380px)!important;height:auto!important;max-height:82px!important;object-fit:contain;object-position:left center}
.bt-nav{display:flex;align-items:center;margin-left:auto}
.bt-nav ul{display:flex;align-items:center;gap:25px;list-style:none;margin:0;padding:0}
.bt-nav li{margin:0;padding:0}
.bt-nav a{position:relative;display:inline-flex;align-items:center;min-height:42px;font-size:13px;font-weight:650;letter-spacing:.005em;transition:.2s;color:#30251e}
.bt-nav>ul>li:not(.bt-nav-mobile-cta)>a::after{content:"";position:absolute;left:0;right:100%;bottom:6px;height:1.5px;background:var(--bt-gold);transition:right .22s ease}
.bt-nav>ul>li:not(.bt-nav-mobile-cta)>a:hover{color:var(--bt-brown-2)}
.bt-nav>ul>li:not(.bt-nav-mobile-cta)>a:hover::after{right:0}
.bt-nav-mobile-cta{display:none}
.bt-header-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.bt-search-toggle{width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(69,51,37,.18);border-radius:50%;background:#fff;color:var(--bt-brown-2);cursor:pointer;transition:.2s ease;padding:0}
.bt-search-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.bt-search-toggle:hover,.bt-search-toggle[aria-expanded="true"]{color:#fff;background:var(--bt-gold);border-color:var(--bt-gold);box-shadow:0 7px 20px rgba(201,154,62,.22)}
.bt-header-cta{white-space:nowrap;padding-inline:18px}
.bt-product-search{position:absolute;z-index:80;right:0;top:calc(100% - 9px);width:min(440px,calc(100vw - 40px));padding:10px;border:1px solid rgba(69,51,37,.12);border-radius:13px;background:rgba(255,255,255,.99);box-shadow:0 18px 45px rgba(42,31,23,.16)}
.bt-product-search[hidden]{display:none!important}
.bt-product-search form{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:8px;padding:5px 5px 5px 13px;border:1px solid #e4d9cc;border-radius:9px;background:#fff}
.bt-product-search-icon{width:18px;height:18px;fill:none;stroke:var(--bt-gold);stroke-width:1.8;stroke-linecap:round}
.bt-product-search input[type="search"]{width:100%;min-width:0;height:40px;padding:0 4px;border:0;outline:0;background:transparent;color:var(--bt-ink);font:inherit;font-size:13px}
.bt-product-search input[type="search"]::placeholder{color:#91867d}
.bt-product-search button[type="submit"]{height:40px;padding:0 16px;border:0;border-radius:6px;background:var(--bt-brown-2);color:#fff;font-size:12px;font-weight:750;cursor:pointer;transition:.2s}
.bt-product-search button[type="submit"]:hover{background:var(--bt-gold)}
.bt-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 21px;border-radius:5px;background:var(--bt-gold);color:#fff;font-weight:700;font-size:13px;border:1px solid var(--bt-gold);transition:.2s;cursor:pointer}
.bt-button:hover{background:#b78934;border-color:#b78934;transform:translateY(-1px)}
.bt-button--dark{background:var(--bt-brown-2);border-color:var(--bt-brown-2)}
.bt-button--dark:hover{background:#35261c;border-color:#35261c}
.bt-button--outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.bt-menu-toggle{display:none;width:42px;height:42px;border:1px solid rgba(69,51,37,.18);border-radius:8px;background:#fff;color:var(--bt-brown-2);font-size:25px;line-height:1;padding:0;cursor:pointer}

/* Hero */
.bt-hero{position:relative;overflow:hidden;background:#17110c;color:#fff;height:clamp(360px,32.7vw,500px);min-height:360px;display:flex;align-items:stretch}
.bt-hero-photo{position:absolute;z-index:0;top:0;right:0;bottom:0;left:34%;width:66%;height:100%;background-size:cover;background-position:center center;background-repeat:no-repeat}
.bt-hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#17110c 0%,#17110c 28%,rgba(23,17,12,.94) 34%,rgba(23,17,12,.70) 40%,rgba(23,17,12,.28) 48%,rgba(23,17,12,.04) 61%,rgba(23,17,12,0) 76%)}
.bt-hero::after{content:"";position:absolute;z-index:1;inset:auto 0 0 0;height:35%;background:linear-gradient(0deg,rgba(15,10,7,.22),transparent);pointer-events:none}
.bt-hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,470px) 1fr;align-items:center;height:100%}
.bt-hero-copy{padding:40px 0 34px;max-width:470px}
.bt-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,3.75vw,50px);font-weight:500;line-height:1.06;margin:0 0 16px;max-width:470px;text-wrap:balance}
.bt-hero h1 span{color:var(--bt-gold-light)}
.bt-hero p{font-size:15px;line-height:1.55;max-width:360px;color:rgba(255,255,255,.90);margin:0 0 24px}
.bt-hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.bt-benefits{display:flex;gap:22px;margin-top:30px;flex-wrap:wrap;max-width:520px}
.bt-benefit{display:flex;align-items:center;gap:8px;font-size:10px;text-transform:uppercase;letter-spacing:.03em;color:#fff;font-weight:600}
.bt-benefit-icon{font-size:22px;color:var(--bt-gold-light)}

/* Categories */
.bt-categories{background:#fff}
.bt-category-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:18px;margin:34px auto 0;max-width:1160px}
.bt-category-grid>.bt-category-card{grid-column:span 2}
.bt-category-grid>.bt-category-card:nth-child(5){grid-column:2 / span 2}
.bt-category-grid>.bt-category-card:nth-child(6){grid-column:4 / span 2}
.bt-category-grid>.bt-category-card:nth-child(7){grid-column:6 / span 2}
.bt-category-card{position:relative;min-height:190px;background:var(--bt-brown);border:1px solid rgba(69,51,37,.12);border-radius:15px;overflow:hidden;box-shadow:0 9px 24px rgba(42,31,23,.09);transition:transform .25s ease,box-shadow .25s ease}
.bt-category-card:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(42,31,23,.17)}
.bt-category-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.bt-category-card:hover img{transform:scale(1.035)}
.bt-category-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(31,22,16,.04) 20%,rgba(31,22,16,.28) 56%,rgba(31,22,16,.88) 100%)}
.bt-category-content{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:18px 20px 17px;color:#fff}
.bt-category-label{display:block;margin-bottom:5px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.14em;color:var(--bt-gold-light)}
.bt-category-name{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0;font-family:Georgia,"Times New Roman",serif;font-size:22px;font-weight:500;line-height:1.13}
.bt-category-arrow{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.44);border-radius:50%;font-family:Inter,system-ui,sans-serif;font-size:16px;color:#fff;transition:.2s}
.bt-category-card:hover .bt-category-arrow{background:var(--bt-gold);border-color:var(--bt-gold)}
.bt-category-card--mini{border-color:rgba(201,154,62,.46)}
.bt-category-card--mini .bt-category-label{color:#f0cf8a}


/* Why */
.bt-why{background:linear-gradient(180deg,#faf7f2,#f3ecdf)}
.bt-why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:42px}
.bt-why-item{text-align:center;padding:15px 34px;border-right:1px solid #dfd3c4}
.bt-why-item:last-child{border-right:0}
.bt-why-icon{width:54px;height:54px;margin:0 auto 13px;display:flex;align-items:center;justify-content:center;text-align:center}
.bt-why-icon img{display:block;width:48px;height:48px;object-fit:contain;object-position:center;margin:0 auto}
.bt-why-item h3{font-size:16px;margin:0 0 8px}
.bt-why-item p{font-size:14px;color:var(--bt-muted);margin:0}

/* Products */
.bt-products{background:#fff}
.bt-product-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin-top:36px}
.bt-product-card{border:1px solid var(--bt-border);background:#fff;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 6px 20px rgba(40,30,22,.06)}
.bt-product-card img{width:100%;height:145px;object-fit:cover}
.bt-product-body{padding:14px;display:flex;flex-direction:column;flex:1;text-align:center}
.bt-product-card h3{font-size:15px;line-height:1.25;margin:0 0 12px;min-height:38px}
.bt-product-meta{font-size:12px;color:var(--bt-muted);margin-bottom:12px}
.bt-product-card .bt-button{margin-top:auto;padding:10px 10px;font-size:11px;border-radius:4px}

/* CTA */
.bt-cta{position:relative;overflow:hidden;background:var(--bt-brown);color:#fff;isolation:isolate}
.bt-cta-bg{position:absolute;z-index:0;right:0;top:0;width:52%;height:100%;object-fit:cover;object-position:center;opacity:1}
.bt-cta::after{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(44,33,25,1) 0%,rgba(44,33,25,.98) 43%,rgba(22,16,12,.74) 55%,rgba(16,11,8,.58) 100%)}
.bt-cta-inner{position:relative;z-index:2;display:grid;grid-template-columns:1.08fr .92fr;gap:76px;align-items:center;padding:58px 0}
.bt-cta h2{font-family:Georgia,serif;font-size:clamp(30px,3vw,44px);font-weight:500;margin:0 0 12px}
.bt-cta h2 span{color:var(--bt-gold-light)}
.bt-cta p{color:rgba(255,255,255,.82);max-width:520px}
.bt-contact-list{display:grid;gap:12px;width:min(100%,470px);justify-self:end}
.bt-contact-item{display:grid!important;grid-template-columns:46px 1fr;gap:14px;align-items:center;min-height:66px;padding:10px 12px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(22,16,12,.36);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);transition:.2s ease}
.bt-contact-item[href]:hover{border-color:rgba(226,191,115,.55);background:rgba(22,16,12,.5);transform:translateY(-1px)}
.bt-contact-icon{width:42px;height:42px;border:1px solid rgba(226,191,115,.48);border-radius:50%;display:grid;place-items:center;color:var(--bt-gold-light);background:rgba(201,154,62,.08)}
.bt-contact-icon svg{width:20px;height:20px;fill:currentColor}
.bt-contact-copy{display:grid;gap:2px;min-width:0}
.bt-contact-copy small,.bt-instagram-copy small{font-size:11px;line-height:1.2;text-transform:uppercase;letter-spacing:.105em;color:rgba(255,255,255,.58);font-weight:700}
.bt-contact-copy strong{font-size:16px;line-height:1.35;color:#fff;font-weight:600}
.bt-location-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
.bt-location-pills strong{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;background:rgba(226,191,115,.12);border:1px solid rgba(226,191,115,.2);font-size:14px;color:#fff}
.bt-instagram-link{display:grid!important;grid-template-columns:46px 1fr 24px;gap:14px;align-items:center;min-height:70px;margin-top:2px;padding:11px 12px;border:1px solid rgba(226,191,115,.38);border-radius:12px;background:linear-gradient(135deg,rgba(201,154,62,.16),rgba(22,16,12,.46));transition:.2s ease}
.bt-instagram-link:hover{border-color:rgba(226,191,115,.72);background:linear-gradient(135deg,rgba(201,154,62,.22),rgba(22,16,12,.56));transform:translateY(-1px)}
.bt-instagram-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--bt-gold-light);color:var(--bt-brown)}
.bt-instagram-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}
.bt-instagram-icon svg circle:last-child{fill:currentColor;stroke:none}
.bt-instagram-copy{display:grid;gap:2px}
.bt-instagram-copy strong{font-size:15px;color:#fff;font-weight:650}
.bt-instagram-arrow{color:var(--bt-gold-light);font-size:20px;text-align:right}

/* Footer */
.bt-footer{background:#251b14;color:rgba(255,255,255,.72);padding:36px 0 18px}
.bt-footer-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(180px,.8fr) minmax(260px,1fr);gap:clamp(34px,5vw,72px);align-items:start}
.bt-footer h4{color:#fff;margin:0 0 14px;font-size:12px;text-transform:uppercase;letter-spacing:.13em;font-weight:700}
.bt-footer ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 18px;font-size:12.5px}
.bt-footer a{transition:color .18s ease,border-color .18s ease,background .18s ease}
.bt-footer-offer a:hover,.bt-footer-legal a:hover{color:var(--bt-gold-light)}
.bt-footer-brand{max-width:390px}
.bt-footer-logo{display:inline-flex;align-items:center;margin-bottom:13px}
.bt-footer-logo .custom-logo-link{display:inline-flex}
.bt-footer-brand img,.bt-footer-logo .custom-logo{width:auto!important;max-width:260px!important;max-height:55px!important;opacity:.96}
/* Stopka korzysta z tego samego Custom Logo co nagłówek. Jeśli plik ma białe tło,
   odwracamy luminancję i używamy trybu screen: biel tła staje się czernią i znika
   na brązowym tle, a znak/logo pozostaje jasny. */
.bt-footer-logo .custom-logo{filter:grayscale(1) invert(1) contrast(1.45);mix-blend-mode:screen}
.bt-footer-brand p{font-size:12.5px;line-height:1.65;max-width:360px;margin:0 0 9px;color:rgba(255,255,255,.66)}
.bt-footer-claim{display:inline-block;font-family:Georgia,"Times New Roman",serif;font-size:14px;font-style:italic;color:var(--bt-gold-light)}
.bt-footer-contact-list{display:grid;gap:9px}
.bt-footer-contact-list>a:not(.bt-footer-instagram),.bt-footer-locations{display:grid;gap:1px}
.bt-footer-contact-label{font-size:9.5px;text-transform:uppercase;letter-spacing:.11em;color:rgba(255,255,255,.44);font-weight:700}
.bt-footer-contact strong{font-size:13px;color:#fff;font-weight:600}
.bt-footer-contact-list>a:not(.bt-footer-instagram):hover strong{color:var(--bt-gold-light)}
.bt-footer-locations>div{display:flex;gap:6px;flex-wrap:wrap;margin-top:3px}
.bt-footer-locations>div span{display:inline-flex;align-items:center;padding:3px 8px;border:1px solid rgba(226,191,115,.18);border-radius:999px;background:rgba(226,191,115,.07);font-size:11px;color:rgba(255,255,255,.82)}
.bt-footer-instagram{display:inline-grid!important;grid-template-columns:25px auto 15px;align-items:center;gap:7px;width:max-content;max-width:100%;margin-top:3px;padding:6px 9px 6px 6px;border:1px solid rgba(226,191,115,.22);border-radius:999px;color:rgba(255,255,255,.9);font-size:11.5px}
.bt-footer-instagram:hover{border-color:rgba(226,191,115,.55);background:rgba(201,154,62,.08);color:#fff}
.bt-footer-instagram-icon{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:rgba(226,191,115,.12);color:var(--bt-gold-light)}
.bt-footer-instagram-icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}
.bt-footer-instagram-icon svg circle:last-child{fill:currentColor;stroke:none}
.bt-footer-bottom{border-top:1px solid rgba(255,255,255,.09);margin-top:27px;padding-top:14px;font-size:10.5px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;color:rgba(255,255,255,.48)}
.bt-footer-legal{display:flex;align-items:center;gap:17px;flex-wrap:wrap}
.bt-footer-legal a{color:rgba(255,255,255,.58)}

/* WordPress/Woo */
.admin-bar .bt-header{top:32px}
.woocommerce .site-main,.bt-content{width:min(calc(100% - 40px),var(--bt-max));margin:50px auto}
.woocommerce ul.products li.product .button{background:var(--bt-gold);color:white;border-radius:5px}

@media(max-width:1050px){
  .bt-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}
  .bt-category-grid>.bt-category-card,
  .bt-category-grid>.bt-category-card:nth-child(5),
  .bt-category-grid>.bt-category-card:nth-child(6),
  .bt-category-grid>.bt-category-card:nth-child(7){grid-column:auto}
}
@media(max-width:1100px){
  .bt-product-grid{grid-template-columns:repeat(3,1fr)}
  .bt-nav ul{gap:18px}.bt-nav{gap:18px}
}
@media(max-width:760px){
  .bt-header-inner{height:92px}
  .bt-menu-toggle{display:block}
  .bt-header-cta{display:none}
  .bt-nav{display:none;position:absolute;top:92px;left:0;right:0;background:#fff;border-top:1px solid var(--bt-border);padding:15px 20px 22px;box-shadow:0 12px 24px rgba(0,0,0,.08)}
  .bt-nav.is-open{display:block}
  .bt-nav ul{display:grid;gap:0}
  .bt-nav li a{display:block;padding:12px 0;border-bottom:1px solid var(--bt-border)}
  .bt-brand{flex-basis:min(var(--bt-logo-width,420px),360px);min-width:min(var(--bt-logo-width,420px),360px)}
  .bt-brand img,.bt-brand .custom-logo{width:min(var(--bt-logo-width,420px),350px)!important;max-width:min(var(--bt-logo-width,420px),350px)!important;max-height:80px!important}
  .bt-why-grid{grid-template-columns:repeat(2,1fr)}
  .bt-why-item:nth-child(2){border-right:0}.bt-why-item{margin-bottom:25px}
  .bt-cta-inner{grid-template-columns:1fr;gap:30px;padding:44px 0}.bt-cta-bg{width:100%;opacity:1}.bt-cta::after{display:block;background:rgba(27,19,14,.82)}.bt-contact-list{justify-self:stretch;width:100%}
  .bt-footer-grid{grid-template-columns:1.15fr .85fr;gap:34px 42px}
  .bt-footer-contact{grid-column:1/-1}
  .bt-footer-contact-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 28px}
  .bt-footer-instagram{align-self:end}
}
@media(max-width:700px){
  .bt-hero{height:auto;min-height:520px}
  .bt-hero-photo{inset:0;width:100%;height:100%;opacity:.62;background-size:cover;background-position:center}
  .bt-hero::before{background:linear-gradient(90deg,rgba(23,17,12,.96),rgba(23,17,12,.68))}
  .bt-hero-inner{display:block;min-height:520px}
  .bt-hero-copy{padding:64px 0 48px;max-width:520px}
  .bt-hero h1{font-size:42px;max-width:520px}
  .bt-hero p{font-size:16px;max-width:460px}
}
@media(max-width:620px){
  .bt-container{width:min(calc(100% - 28px),var(--bt-max))}
  .bt-section{padding:52px 0}
  .bt-brand{flex-basis:min(var(--bt-logo-width,420px),280px);min-width:min(var(--bt-logo-width,420px),280px)}
  .bt-brand img,.bt-brand .custom-logo{width:min(var(--bt-logo-width,420px),260px)!important;max-width:min(var(--bt-logo-width,420px),260px)!important;max-height:68px!important}
  .bt-hero h1{font-size:43px}.bt-hero p{font-size:16px}
  .bt-benefits{display:grid;grid-template-columns:1fr 1fr;gap:16px}
  .bt-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .bt-category-card{min-height:180px}
  .bt-category-content{padding:16px 17px 15px}
  .bt-category-name{font-size:20px}
  .bt-product-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .bt-product-card img{height:120px}
  .bt-why-grid{grid-template-columns:1fr}.bt-why-item{border-right:0;border-bottom:1px solid #dfd3c4;padding:22px}.bt-why-item:last-child{border-bottom:0}
  .bt-footer{padding-top:32px}
  .bt-footer-grid{grid-template-columns:1fr 1fr;gap:30px}.bt-footer-brand{grid-column:1/-1}
  .bt-footer-contact{grid-column:auto}
  .bt-footer-contact-list{display:grid;grid-template-columns:1fr;gap:9px}
  .admin-bar .bt-header{top:46px}
}
@media(max-width:420px){
  .bt-category-grid{grid-template-columns:1fr}
  .bt-category-card{min-height:185px}
  .bt-product-grid{grid-template-columns:1fr}
  .bt-product-card img{height:190px}
  .bt-footer-grid{grid-template-columns:1fr;gap:25px}
  .bt-footer-brand,.bt-footer-contact{grid-column:auto}
  .bt-footer ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bt-footer-bottom{align-items:flex-start;flex-direction:column;gap:8px}
}


/* Product catalogue / WooCommerce — Bake Trade visual system */
.bt-category-landing{
  padding:0 0 82px;
  background:linear-gradient(180deg,#fbf8f3 0,#fff 330px);
}
.bt-category-landing .bt-container{padding-top:26px}
.bt-category-landing .woocommerce-breadcrumb,
.bt-content .woocommerce-breadcrumb{
  margin:0 0 26px;
  color:#8b8178;
  font-size:12px;
  letter-spacing:.035em;
}
.bt-category-landing .woocommerce-breadcrumb a,
.bt-content .woocommerce-breadcrumb a{color:var(--bt-brown-2);font-weight:600}

.bt-category-heading{
  max-width:820px;
  margin:0 auto 40px;
  text-align:center;
}
.bt-category-heading .bt-kicker{margin-bottom:7px}
.bt-category-heading h1,
.bt-content .woocommerce-products-header__title{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(38px,4.2vw,56px);
  line-height:1.05;
  font-weight:500;
  margin:0;
  color:var(--bt-brown);
}
.bt-category-heading h1::after,
.bt-content .woocommerce-products-header__title::after{
  content:"";
  display:block;
  width:82px;
  height:2px;
  background:var(--bt-gold);
  margin:17px auto 0;
}
.bt-category-heading .term-description,
.bt-category-heading .bt-category-intro,
.bt-content .term-description{
  max-width:690px;
  margin:18px auto 0;
  color:var(--bt-muted);
  font-size:15px;
  line-height:1.7;
}

/* Parent category cards — catalogue layout: 4 cards per row on desktop. */
.bt-subcategory-grid{
  display:grid;
  grid-template-columns:repeat(24,minmax(0,1fr));
  gap:20px;
  max-width:var(--bt-max);
  margin:0 auto;
}
.bt-subcategory-grid>.bt-subcategory-card{grid-column:span 6}
/* Center incomplete final rows (1/2/3 cards). */
.bt-subcategory-grid>.bt-subcategory-card:nth-child(4n+1):last-child{grid-column:10 / span 6}
.bt-subcategory-grid>.bt-subcategory-card:nth-child(4n+1):nth-last-child(2){grid-column:7 / span 6}
.bt-subcategory-grid>.bt-subcategory-card:nth-child(4n+1):nth-last-child(3){grid-column:4 / span 6}
.bt-subcategory-card{
  position:relative;
  display:block;
  overflow:hidden;
  min-width:0;
  border:1px solid #e7ded2;
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 32px rgba(53,40,29,.08);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.bt-subcategory-card:hover{
  transform:translateY(-4px);
  border-color:#dcc59b;
  box-shadow:0 20px 46px rgba(53,40,29,.14);
}
.bt-subcategory-card__media{position:relative;height:205px;overflow:hidden;background:#efe7dc}
.bt-subcategory-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.bt-subcategory-card:hover .bt-subcategory-card__media img{transform:scale(1.025)}
.bt-subcategory-card__placeholder{
  position:relative;
  height:100%;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  padding:28px;
  background:
    radial-gradient(circle at 78% 28%,rgba(201,154,62,.22) 0 70px,transparent 71px),
    radial-gradient(circle at 72% 32%,transparent 0 94px,rgba(69,51,37,.09) 95px 96px,transparent 97px),
    linear-gradient(135deg,#f8f2e9 0%,#e9ddce 100%);
}
.bt-subcategory-card__placeholder::before{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  border:1px solid rgba(69,51,37,.15);
  border-radius:50%;
  right:-30px;
  top:-40px;
}
.bt-subcategory-card__placeholder::after{
  content:"BAKE TRADE";
  position:absolute;
  left:28px;
  top:28px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.18em;
  color:var(--bt-gold);
}
.bt-subcategory-card__placeholder-title{
  position:relative;
  z-index:1;
  max-width:70%;
  font-family:Georgia,"Times New Roman",serif;
  font-size:31px;
  line-height:1.08;
  color:var(--bt-brown-2);
}
.bt-subcategory-card__body{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:15px 16px 16px;
}
.bt-subcategory-card__copy{min-width:0}
.bt-subcategory-card__name{display:block;font-size:15px;font-weight:750;line-height:1.3;color:var(--bt-ink)}
.bt-subcategory-card__count{display:block;margin-top:4px;font-size:12px;color:#8a8179}
.bt-subcategory-card__arrow{
  flex:0 0 auto;
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#f6efe5;
  color:var(--bt-gold);
  font-size:18px;
  transition:.2s;
}
.bt-subcategory-card:hover .bt-subcategory-card__arrow{background:var(--bt-gold);color:#fff;transform:translateX(2px)}

.bt-show-all-wrap{
  max-width:1020px;
  margin:28px auto 0;
  padding-top:26px;
  text-align:center;
  border-top:1px solid #eee5da;
}
.bt-show-all-label{display:block;margin-bottom:13px;color:#8a8179;font-size:13px}
.bt-show-all-wrap .bt-button{min-width:270px;padding:13px 24px;border-radius:6px}


/* All category grids use the same 4-column catalogue rhythm; incomplete rows are centered above. */


.bt-category-subcategories-after{
  max-width:var(--bt-max);
  margin:54px auto 0;
  padding-top:34px;
  border-top:1px solid #eee5da;
}
.bt-category-subcategories-after h2{
  margin:0 0 24px;
  text-align:center;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(26px,2.8vw,38px);
  font-weight:500;
  color:var(--bt-ink);
}
.bt-category-subcategories-after .bt-category-subcategories-hint{
  max-width:680px;
  margin:-12px auto 26px;
  text-align:center;
  color:var(--bt-muted);
  font-size:14px;
}

/* Product archive heading / catalogue area */
.bt-content{
  width:100%;
  max-width:none;
  margin:0;
  padding:26px max(20px,calc((100vw - var(--bt-max))/2)) 80px;
  background:linear-gradient(180deg,#fbf8f3 0,#fff 330px);
}
.bt-content .woocommerce-products-header{text-align:center;max-width:820px;margin:0 auto 38px}
.bt-content .woocommerce-notices-wrapper{width:min(100%,var(--bt-max));margin-inline:auto}
.bt-content .woocommerce-result-count{margin:12px 0 24px;color:var(--bt-muted);font-size:13px}
.bt-content .woocommerce-ordering{margin:0 0 24px}
.bt-content .woocommerce-ordering select{
  min-height:42px;
  border:1px solid #ddd3c7;
  border-radius:6px;
  background:#fff;
  padding:0 36px 0 13px;
  color:var(--bt-ink);
}

.bt-category-products-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  max-width:var(--bt-max);
  margin:0 auto 28px;
  padding-bottom:20px;
  border-bottom:1px solid #eee5da;
  flex-wrap:wrap;
}
.bt-category-products-toolbar h2{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(27px,3vw,34px);
  font-weight:500;
  margin:0;
}
.bt-category-products-toolbar .bt-button{padding:10px 16px}
.bt-category-product-list{max-width:var(--bt-max);margin-inline:auto}

/* WooCommerce product cards — consistent with homepage */
.woocommerce ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px;
  margin:0 !important;
  padding:0 !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after{display:none !important}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  float:none !important;
  width:auto !important;
  margin:0 !important;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  min-width:0;
  padding:0 0 17px !important;
  border:1px solid #e9e1d7;
  border-radius:12px;
  background:#fff;
  box-shadow:0 7px 22px rgba(47,35,26,.065);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.woocommerce ul.products li.product:hover{
  transform:translateY(-3px);
  border-color:#dcc9aa;
  box-shadow:0 15px 34px rgba(47,35,26,.12);
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block;flex:1}
.woocommerce ul.products li.product a img{
  width:100% !important;
  height:220px !important;
  margin:0 0 16px !important;
  object-fit:cover;
  background:#f4eee6;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  min-height:54px;
  margin:0 !important;
  padding:0 16px 7px !important;
  color:var(--bt-ink);
  font-size:15px !important;
  line-height:1.35;
  font-weight:700;
}
.woocommerce ul.products li.product .price{
  margin:0;
  padding:0 16px 10px;
  color:var(--bt-brown-2) !important;
  font-size:14px !important;
}
.woocommerce ul.products li.product .button{
  align-self:stretch;
  margin:7px 16px 0 !important;
  padding:11px 12px !important;
  border-radius:5px;
  background:var(--bt-brown-2) !important;
  color:#fff !important;
  text-align:center;
  font-size:12px;
  font-weight:700;
}
.woocommerce ul.products li.product .button:hover{background:var(--bt-gold) !important}
.woocommerce span.onsale{background:var(--bt-gold);min-width:auto;min-height:auto;line-height:1;padding:7px 9px;border-radius:4px;top:12px;left:12px}

/* Internal catalogue pages: 6 product cards per row on desktop.
   Homepage remains unchanged; single-product related sections keep their existing layout. */
.bt-leaf-category ul.products,
.bt-category-product-list.woocommerce ul.products{
  grid-template-columns:repeat(24,minmax(0,1fr));
  gap:16px;
}
.bt-leaf-category ul.products>li.product,
.bt-category-product-list.woocommerce ul.products>li.product{grid-column:span 4}
/* Center incomplete final product rows (1–5 cards). */
.bt-leaf-category ul.products>li.product:nth-child(6n+1):last-child,
.bt-category-product-list.woocommerce ul.products>li.product:nth-child(6n+1):last-child{grid-column:11 / span 4}
.bt-leaf-category ul.products>li.product:nth-child(6n+1):nth-last-child(2),
.bt-category-product-list.woocommerce ul.products>li.product:nth-child(6n+1):nth-last-child(2){grid-column:9 / span 4}
.bt-leaf-category ul.products>li.product:nth-child(6n+1):nth-last-child(3),
.bt-category-product-list.woocommerce ul.products>li.product:nth-child(6n+1):nth-last-child(3){grid-column:7 / span 4}
.bt-leaf-category ul.products>li.product:nth-child(6n+1):nth-last-child(4),
.bt-category-product-list.woocommerce ul.products>li.product:nth-child(6n+1):nth-last-child(4){grid-column:5 / span 4}
.bt-leaf-category ul.products>li.product:nth-child(6n+1):nth-last-child(5),
.bt-category-product-list.woocommerce ul.products>li.product:nth-child(6n+1):nth-last-child(5){grid-column:3 / span 4}
.bt-leaf-category ul.products li.product a img,
.bt-category-product-list.woocommerce ul.products li.product a img{height:145px !important;margin-bottom:12px !important}
.bt-leaf-category ul.products li.product .woocommerce-loop-product__title,
.bt-category-product-list.woocommerce ul.products li.product .woocommerce-loop-product__title{
  min-height:48px;
  padding:0 12px 6px !important;
  font-size:13px !important;
}
.bt-leaf-category ul.products li.product .price,
.bt-category-product-list.woocommerce ul.products li.product .price{padding:0 12px 8px;font-size:12px !important}
.bt-leaf-category ul.products li.product .button,
.bt-category-product-list.woocommerce ul.products li.product .button{margin:6px 12px 0 !important;padding:9px 8px !important;font-size:11px}

/* Pagination */
.bt-category-pagination,.woocommerce nav.woocommerce-pagination{margin-top:36px;text-align:center}
.bt-category-pagination .page-numbers,
.woocommerce nav.woocommerce-pagination ul.page-numbers li a,
.woocommerce nav.woocommerce-pagination ul.page-numbers li span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:39px;
  height:39px;
  padding:0 10px;
  margin:0 3px;
  border:1px solid var(--bt-border) !important;
  border-radius:5px;
  background:#fff;
  color:var(--bt-ink);
}
.woocommerce nav.woocommerce-pagination ul{border:0 !important}
.woocommerce nav.woocommerce-pagination ul li{border:0 !important}
.bt-category-pagination .page-numbers.current,
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.current{
  background:var(--bt-brown-2);
  border-color:var(--bt-brown-2) !important;
  color:#fff;
}

/* Product/category navigation trail */
.bt-product-trail,
.bt-category-trail{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  max-width:var(--bt-max);
  margin:0 auto 18px;
  color:#8a8179;
  font-size:13px;
  line-height:1.45;
}
.bt-product-trail a,
.bt-category-trail a{
  color:var(--bt-brown-2);
  font-weight:650;
  transition:.2s;
}
.bt-product-trail a:hover,
.bt-category-trail a:hover{color:var(--bt-gold)}
.bt-product-trail__sep,
.bt-category-trail__sep{color:#c7b8a6;font-size:15px}
.bt-product-trail__current,
.bt-category-trail__current{color:#8a8179;font-weight:500}

/* Single product — Bake Trade B2B catalogue */
.single-product .bt-content{
  width:100%;
  max-width:none;
  margin:0;
  padding:26px max(20px,calc((100vw - var(--bt-max))/2)) 80px;
  background:linear-gradient(180deg,#fbf8f3 0,#fff 410px);
}
.single-product .bt-content>.woocommerce{max-width:var(--bt-max);margin-inline:auto}
.single-product .woocommerce-breadcrumb{margin-bottom:30px}
.single-product div.product{
  max-width:var(--bt-max);
  margin:0 auto;
  padding:30px;
  border:1px solid #e8dfd3;
  border-radius:18px;
  background:#fff;
  box-shadow:0 14px 38px rgba(53,40,29,.075);
}
.single-product div.product::after{content:"";display:block;clear:both}
.single-product div.product div.images,
.single-product div.product div.summary{margin-bottom:0}
.single-product div.product div.images{width:47%}
.single-product div.product div.summary{width:48%;padding:10px 6px 0 22px}
.single-product div.product .woocommerce-product-gallery__wrapper{
  overflow:hidden;
  border:1px solid #eee5da;
  border-radius:14px;
  background:#f7f3ed;
}
.single-product div.product .woocommerce-product-gallery__image a{display:block}
.single-product div.product .woocommerce-product-gallery__image img{width:100%;background:#f6f0e8}
.bt-product-category-label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:0 0 11px;
  color:var(--bt-gold);
  text-transform:uppercase;
  letter-spacing:.11em;
  font-size:11px;
  font-weight:800;
}
.bt-product-category-label::before{content:"";width:22px;height:1px;background:currentColor}
.single-product div.product .product_title{
  margin:0 0 16px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(34px,3.6vw,50px);
  line-height:1.06;
  color:var(--bt-brown);
  font-weight:500;
}
.single-product div.product .woocommerce-product-details__short-description,
.bt-product-description{
  margin:0 0 22px;
  color:var(--bt-muted);
  font-size:15px;
  line-height:1.75;
}
.bt-product-description p{margin:0}
.bt-product-description p+p{margin-top:8px}
.single-product div.product .price{display:none!important}
.bt-product-specs{
  margin-top:24px;
  overflow:hidden;
  border:1px solid #e8dfd3;
  border-radius:12px;
  background:#fcfaf7;
}
.bt-product-specs__title{
  margin:0;
  padding:15px 18px;
  border-bottom:1px solid #e8dfd3;
  color:var(--bt-brown-2);
  font-family:Georgia,"Times New Roman",serif;
  font-size:20px;
  font-weight:500;
}
.bt-product-specs__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}
.bt-product-spec{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
  padding:13px 18px;
  border-bottom:1px solid #eee6dc;
}
/* Dynamic specification layouts: no placeholder/empty cell is ever generated. */
.bt-product-specs__grid--count-6 .bt-product-spec{grid-column:span 2}
.bt-product-specs__grid--count-6 .bt-product-spec:not(:nth-child(3n)){border-right:1px solid #eee6dc}

.bt-product-specs__grid--count-5 .bt-product-spec:nth-child(-n+3){grid-column:span 2}
.bt-product-specs__grid--count-5 .bt-product-spec:nth-child(4),
.bt-product-specs__grid--count-5 .bt-product-spec:nth-child(5){grid-column:span 3}
.bt-product-specs__grid--count-5 .bt-product-spec:nth-child(1),
.bt-product-specs__grid--count-5 .bt-product-spec:nth-child(2),
.bt-product-specs__grid--count-5 .bt-product-spec:nth-child(4){border-right:1px solid #eee6dc}

.bt-product-specs__grid--count-4 .bt-product-spec{grid-column:span 3}
.bt-product-specs__grid--count-4 .bt-product-spec:nth-child(odd){border-right:1px solid #eee6dc}

.bt-product-specs__grid--count-3 .bt-product-spec{grid-column:span 2}
.bt-product-specs__grid--count-3 .bt-product-spec:not(:last-child){border-right:1px solid #eee6dc}

.bt-product-specs__grid--count-2 .bt-product-spec{grid-column:span 3}
.bt-product-specs__grid--count-2 .bt-product-spec:first-child{border-right:1px solid #eee6dc}
.bt-product-specs__grid--count-1 .bt-product-spec{grid-column:1/-1}
/* Fallback for an uncommon number of fields above six. */
.bt-product-specs__grid:not(.bt-product-specs__grid--count-1):not(.bt-product-specs__grid--count-2):not(.bt-product-specs__grid--count-3):not(.bt-product-specs__grid--count-4):not(.bt-product-specs__grid--count-5):not(.bt-product-specs__grid--count-6) .bt-product-spec{grid-column:span 2}
.bt-product-spec__label{color:#8a8179;font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:700}
.bt-product-spec__value{color:var(--bt-ink);font-size:14px;font-weight:650;overflow-wrap:anywhere}
.bt-product-inquiry{margin-top:22px;padding:20px;border-radius:12px;background:#f5ede3}
.bt-product-inquiry__text{margin:0 0 13px;color:#62584f;font-size:13px;line-height:1.6}
.bt-product-inquiry .bt-button{min-width:215px}
.single-product div.product form.cart,
.single-product div.product .product_meta{display:none!important}
.single-product div.product .woocommerce-tabs{
  clear:both;
  padding-top:48px;
}
.single-product div.product .woocommerce-tabs ul.tabs{
  margin:0 0 22px!important;
  padding:0!important;
  border-bottom:1px solid #e6ddd2;
}
.single-product div.product .woocommerce-tabs ul.tabs::before{display:none!important}
.single-product div.product .woocommerce-tabs ul.tabs li{
  margin:0 18px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.single-product div.product .woocommerce-tabs ul.tabs li::before,
.single-product div.product .woocommerce-tabs ul.tabs li::after{display:none!important}
.single-product div.product .woocommerce-tabs ul.tabs li a{
  padding:10px 0 11px!important;
  color:#7a7169!important;
  font-size:13px;
  font-weight:700!important;
}
.single-product div.product .woocommerce-tabs ul.tabs li.active a{color:var(--bt-brown-2)!important;border-bottom:2px solid var(--bt-gold)}
.single-product div.product .woocommerce-Tabs-panel{color:var(--bt-muted);line-height:1.75}
.single-product div.product .woocommerce-Tabs-panel h2,
.single-product section.related.products>h2,
.single-product section.up-sells.products>h2{
  font-family:Georgia,"Times New Roman",serif;
  font-size:30px;
  font-weight:500;
  color:var(--bt-brown);
}
.single-product section.related.products,
.single-product section.up-sells.products{clear:both;padding-top:48px}

@media(max-width:820px){
  .single-product div.product{padding:20px}
  .single-product div.product div.images,
  .single-product div.product div.summary{float:none!important;width:100%!important}
  .single-product div.product div.summary{padding:24px 2px 0}
}
@media(max-width:520px){
  .bt-product-trail,.bt-category-trail{font-size:12px;gap:6px;margin-bottom:14px}
  .single-product .bt-content{padding-inline:14px}
  .single-product div.product{padding:14px;border-radius:14px}
  .bt-product-specs__grid{grid-template-columns:1fr!important}
  .bt-product-specs__grid .bt-product-spec{grid-column:1/-1!important;border-right:0!important}
  .single-product div.product .product_title{font-size:35px}
}

@media(max-width:1180px) and (min-width:901px){
  /* Wewnętrzne kategorie nadal 4 kafelki w rzędzie na desktopie. */
  .bt-subcategory-grid{grid-template-columns:repeat(16,minmax(0,1fr));gap:16px;max-width:1100px}
  .bt-subcategory-grid>.bt-subcategory-card{grid-column:span 4}
  .bt-subcategory-grid>.bt-subcategory-card:nth-child(4n+1):last-child{grid-column:7 / span 4}
  .bt-subcategory-grid>.bt-subcategory-card:nth-child(4n+1):nth-last-child(2){grid-column:5 / span 4}
  .bt-subcategory-grid>.bt-subcategory-card:nth-child(4n+1):nth-last-child(3){grid-column:3 / span 4}

  /* Po wejściu w podkategorię: 6 produktów w rzędzie także na mniejszym desktopie. */
  .bt-leaf-category ul.products,
  .bt-category-product-list.woocommerce ul.products{grid-template-columns:repeat(24,minmax(0,1fr));gap:14px}
  .bt-leaf-category ul.products>li.product,
  .bt-category-product-list.woocommerce ul.products>li.product{grid-column:span 4}
}
@media(max-width:900px){
  .bt-subcategory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:620px}
  .bt-subcategory-grid>.bt-subcategory-card{grid-column:auto !important}
  .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
  .bt-leaf-category ul.products,
  .bt-category-product-list.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
  .bt-leaf-category ul.products>li.product,
  .bt-category-product-list.woocommerce ul.products>li.product{grid-column:auto !important}
}
@media(max-width:760px){
  .bt-category-landing{padding-bottom:58px}
  .bt-category-landing .bt-container{padding-top:20px}
  .bt-subcategory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:620px}
  .bt-subcategory-grid>.bt-subcategory-card{grid-column:auto !important}
  .bt-subcategory-card__media{height:190px}
  .woocommerce ul.products,
  .bt-leaf-category ul.products,
  .bt-category-product-list.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .woocommerce ul.products li.product a img,
  .bt-leaf-category ul.products li.product a img,
  .bt-category-product-list.woocommerce ul.products li.product a img{height:185px !important}
  .bt-content{padding-inline:14px}
}
@media(max-width:480px){
  .bt-category-heading{margin-bottom:28px}
  .bt-category-heading h1,.bt-content .woocommerce-products-header__title{font-size:38px}
  .bt-subcategory-grid{grid-template-columns:1fr;max-width:380px}
  .bt-subcategory-card__media{height:205px}
  .bt-subcategory-card__placeholder-title{font-size:27px}
  .woocommerce ul.products,
  .bt-leaf-category ul.products,
  .bt-category-product-list.woocommerce ul.products{grid-template-columns:1fr}
  .woocommerce ul.products li.product a img,
  .bt-leaf-category ul.products li.product a img,
  .bt-category-product-list.woocommerce ul.products li.product a img{height:230px !important}
  .bt-category-products-toolbar{align-items:flex-start}
}

/* Show-all mode: native WooCommerce subcategory tiles are intentionally hidden here.
   Our own category navigation remains below the product list. */
.bt-show-all-mode .bt-category-product-list li.product-category{display:none!important}


/* Mini products — cross-category collection */
.bt-mini-collection .bt-mini-group-card .bt-subcategory-card__media{height:245px}
.bt-mini-collection .bt-mini-group-card .bt-subcategory-card__media::after{
  content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 58%,rgba(34,24,17,.12));pointer-events:none
}
.bt-mini-nav-pills{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:0 auto;max-width:900px}
.bt-mini-nav-pill{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:10px 18px;border:1px solid #dfd3c5;border-radius:999px;background:#fff;color:var(--bt-brown-2);font-size:13px;font-weight:700;transition:.2s}
.bt-mini-nav-pill:hover,.bt-mini-nav-pill.is-active{background:var(--bt-brown-2);border-color:var(--bt-brown-2);color:#fff}
@media(max-width:700px){
  .bt-mini-collection .bt-mini-group-card .bt-subcategory-card__media{height:205px}
}


/* v3.3.4 — one storefront card for products available in multiple grammages */
.bt-loop-variants{
  margin:-2px 16px 12px;
  color:#8a8179;
  font-size:12px;
  line-height:1.45;
  font-weight:650;
}
.bt-product-variants{border-bottom:1px solid #e8dfd3}
.bt-product-variants__title{
  margin:0;
  padding:14px 18px 8px;
  color:var(--bt-brown-2);
  font-size:13px;
  line-height:1.3;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.bt-product-variants__scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.bt-product-variants__table{
  width:100%;
  min-width:520px;
  border-collapse:collapse;
  background:#fffdfa;
}
.bt-product-variants__table th,
.bt-product-variants__table td{
  padding:11px 18px;
  text-align:left;
  border-top:1px solid #eee6dc;
  white-space:nowrap;
}
.bt-product-variants__table th{
  color:#8a8179;
  background:#faf6f0;
  font-size:10px;
  line-height:1.2;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.055em;
}
.bt-product-variants__table td{color:var(--bt-ink);font-size:13px;font-weight:650}
@media(max-width:520px){
  .bt-product-variants__title{padding-inline:14px}
  .bt-product-variants__table th,
  .bt-product-variants__table td{padding:10px 14px}
}


/* v3.4.2 — fruit category helper note */
.bt-fruit-note{margin:8px 0 28px;}
.bt-fruit-note__inner{display:flex;gap:10px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;padding:16px 18px;border:1px solid rgba(69,51,37,.14);border-radius:18px;background:linear-gradient(135deg, rgba(214,174,79,.14), rgba(255,255,255,.96));box-shadow:0 10px 28px rgba(21,18,15,.06);}
.bt-fruit-note strong{font-size:16px;line-height:1.4;color:#453325;}
.bt-fruit-note span{flex:1 1 320px;color:#5d4b3d;line-height:1.6;}
@media (max-width: 767px){.bt-fruit-note__inner{padding:14px 16px;}}


/* v3.4.9 — premium contact banner */
@media(max-width:560px){
  .bt-contact-item,.bt-instagram-link{grid-template-columns:40px 1fr auto;padding:10px}
  .bt-contact-item{grid-template-columns:40px 1fr}
  .bt-contact-icon,.bt-instagram-icon{width:38px;height:38px}
  .bt-contact-copy strong{font-size:15px}
  .bt-location-pills strong{font-size:13px}
}


/* v3.5.0 — działający formularz zapytania B2B */
.bt-inquiry-wrap{min-width:0}
.bt-inquiry-wrap>p{margin:0 0 18px}
.bt-inquiry-form{display:grid;gap:12px;width:min(100%,620px);margin-top:18px}
.bt-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.bt-inquiry-form label{display:grid;gap:6px;min-width:0}
.bt-inquiry-form label>span{font-size:10px;line-height:1.2;text-transform:uppercase;letter-spacing:.09em;color:rgba(255,255,255,.66);font-weight:750}
.bt-inquiry-form input,.bt-inquiry-form textarea{width:100%;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:rgba(255,255,255,.09);color:#fff;padding:11px 12px;font:inherit;outline:none;transition:border-color .18s,background .18s,box-shadow .18s}
.bt-inquiry-form input{height:44px}
.bt-inquiry-form textarea{min-height:92px;resize:vertical}
.bt-inquiry-form input::placeholder,.bt-inquiry-form textarea::placeholder{color:rgba(255,255,255,.43)}
.bt-inquiry-form input:focus,.bt-inquiry-form textarea:focus{border-color:rgba(226,191,115,.78);background:rgba(255,255,255,.12);box-shadow:0 0 0 3px rgba(201,154,62,.12)}
.bt-form-wide{grid-column:1/-1}
.bt-form-submit-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:2px}
.bt-form-submit-row small{max-width:300px;color:rgba(255,255,255,.52);font-size:10.5px;line-height:1.45}
.bt-form-notice{margin:0 0 12px;padding:11px 13px;border-radius:9px;font-size:13px;line-height:1.45}
.bt-form-notice--success{border:1px solid rgba(137,201,137,.46);background:rgba(68,130,77,.2);color:#eef9ef}
.bt-form-notice--error{border:1px solid rgba(231,167,144,.5);background:rgba(143,65,42,.22);color:#fff4ef}
.bt-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media (max-width: 980px){.bt-cta-inner{align-items:start}.bt-form-grid{grid-template-columns:1fr}}
@media (max-width: 560px){.bt-inquiry-form{gap:10px}.bt-form-submit-row{align-items:flex-start;flex-direction:column}.bt-form-submit-row .bt-button{width:100%}}


/* v3.5.1 — poprawne przewijanie CTA z hero do formularza kontaktowego */
#kontakt,#formularz-oferty{scroll-margin-top:118px}
@media (max-width:767px){#kontakt,#formularz-oferty{scroll-margin-top:92px}}


/* v3.5.5 — responsive premium header */
@media(max-width:1180px) and (min-width:981px){
  .bt-header-inner{gap:14px}
  .bt-brand{flex-basis:min(var(--bt-logo-width,380px),315px);min-width:min(var(--bt-logo-width,380px),315px)}
  .bt-brand img,.bt-brand .custom-logo{width:min(var(--bt-logo-width,380px),307px)!important;max-width:min(var(--bt-logo-width,380px),307px)!important}
  .bt-nav ul{gap:17px}
  .bt-header-cta{padding-inline:13px}
}
@media(max-width:980px){
  .bt-header-inner{height:88px;gap:10px}
  .bt-brand{margin-right:auto;flex-basis:min(var(--bt-logo-width,380px),310px);min-width:0}
  .bt-brand img,.bt-brand .custom-logo{width:min(var(--bt-logo-width,380px),300px)!important;max-width:min(var(--bt-logo-width,380px),300px)!important;max-height:72px!important}
  .bt-menu-toggle{display:grid;place-items:center;order:4}
  .bt-header-actions{order:3}
  .bt-header-cta{display:none}
  .bt-nav{display:none;position:absolute;z-index:70;top:88px;left:0;right:0;margin:0;background:#fff;border-top:1px solid var(--bt-border);padding:10px 22px 18px;box-shadow:0 15px 30px rgba(42,31,23,.10)}
  .bt-nav.is-open{display:block}
  .bt-nav ul{display:grid;gap:0}
  .bt-nav li a{display:flex;min-height:0;padding:13px 0;border-bottom:1px solid var(--bt-border);font-size:14px}
  .bt-nav>ul>li>a::after{display:none}
  .bt-nav-mobile-cta{display:block;padding-top:12px}
  .bt-nav-mobile-cta a.bt-button{display:flex;border:0;padding:12px 16px;color:#fff}
  .bt-product-search{top:82px;right:54px;width:min(430px,calc(100vw - 34px))}
}
@media(max-width:620px){
  .bt-header-inner{height:78px}
  .bt-brand{flex-basis:min(var(--bt-logo-width,380px),225px)}
  .bt-brand img,.bt-brand .custom-logo{width:min(var(--bt-logo-width,380px),220px)!important;max-width:min(var(--bt-logo-width,380px),220px)!important;max-height:62px!important}
  .bt-search-toggle,.bt-menu-toggle{width:39px;height:39px}
  .bt-nav{top:78px;padding-inline:14px}
  .bt-product-search{top:74px;left:0;right:0;width:100%}
  .bt-product-search form{grid-template-columns:22px 1fr auto}
  .bt-product-search button[type="submit"]{padding-inline:12px}
}
#o-nas{scroll-margin-top:120px}
#oferta{scroll-margin-top:100px}


/* v3.5.8 — centered premium header + subtle CTA + live search */
@media (min-width:981px){
  .bt-header-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
  .bt-brand{justify-self:start;min-width:0;flex:none}
  .bt-nav{justify-self:center;margin:0;display:flex}
  .bt-nav ul{gap:23px}
  .bt-header-actions{justify-self:end}
}
.bt-header-cta{
  background:rgba(255,255,255,.74);
  border:1px solid rgba(69,51,37,.24);
  color:var(--bt-brown-2);
  box-shadow:none;
  padding:10px 15px;
  min-height:40px;
  font-size:12px;
  font-weight:650;
  letter-spacing:.01em;
}
.bt-header-cta:hover{
  background:#f6f0e8;
  border-color:rgba(201,154,62,.58);
  color:var(--bt-brown-2);
  transform:none;
}
.bt-product-search{width:min(500px,calc(100vw - 40px));padding:10px}
.bt-live-search{margin-top:8px;border-radius:10px;overflow:hidden}
.bt-live-search:empty{display:none}
.bt-live-search-status{padding:12px 13px;color:#81766e;font-size:12px;line-height:1.45}
.bt-live-search-item{display:grid;grid-template-columns:54px 1fr 18px;gap:11px;align-items:center;padding:9px 10px;border-top:1px solid rgba(69,51,37,.08);background:#fff;color:var(--bt-ink);transition:.16s ease}
.bt-live-search-item:first-child{border-top:0}
.bt-live-search-item:hover,.bt-live-search-item:focus{background:#faf6f0;color:var(--bt-brown-2);outline:none}
.bt-live-search-thumb{width:54px;height:54px;border-radius:8px;object-fit:contain;background:#fff;border:1px solid #eee6dd}
.bt-live-search-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.bt-live-search-copy strong{font-size:13px;line-height:1.28;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bt-live-search-copy small{font-size:11px;color:#9a7b54;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bt-live-search-arrow{font-size:20px;line-height:1;color:#b69a78;font-weight:300}
.bt-live-search.is-loading{opacity:.72}
@media(max-width:1180px) and (min-width:981px){
  .bt-header-inner{grid-template-columns:1fr auto 1fr;gap:14px}
  .bt-nav ul{gap:15px}
  .bt-header-cta{padding-inline:11px;font-size:11.5px}
}
@media(max-width:980px){
  .bt-header-inner{display:flex}
  .bt-live-search-item{grid-template-columns:48px 1fr 16px}
  .bt-live-search-thumb{width:48px;height:48px}
}

/* v3.5.9 — faster live search */
.bt-live-search.is-loading{opacity:.86;transition:opacity .12s ease}
@media(max-width:767px){#oferta{scroll-margin-top:92px}}

/* v3.6.1 — zachowuje dokładnie Custom Logo z WordPressa; pełne białe tło sticky headera maskuje biały prostokąt pliku logo bez ingerencji w samo logo. */
.bt-header{background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}


/* v3.7.4 — Privacy policy / legal pages */
.bt-legal-page{background:#fbf8f3;color:var(--bt-ink)}
.bt-legal-hero{padding:54px 0 48px;background:linear-gradient(135deg,#f7f0e6 0%,#fff 72%);border-bottom:1px solid #eadfD2}
.bt-legal-hero__inner{max-width:940px}
.bt-legal-back{display:inline-flex;margin-bottom:30px;color:var(--bt-muted);font-size:12px;font-weight:650;transition:.18s}
.bt-legal-back:hover{color:var(--bt-gold)}
.bt-legal-kicker{display:block;margin-bottom:10px;color:var(--bt-gold);font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.bt-legal-hero h1{margin:0 0 14px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,5vw,58px);line-height:1.05;font-weight:500;color:var(--bt-brown)}
.bt-legal-hero p{max-width:720px;margin:0;color:var(--bt-muted);font-size:15px;line-height:1.75}
.bt-legal-wrap{width:min(calc(100% - 40px),940px);margin:0 auto;padding:46px 0 78px}
.bt-legal-card{padding:clamp(28px,5vw,58px);background:#fff;border:1px solid #ebe2d7;border-radius:18px;box-shadow:0 16px 42px rgba(53,40,29,.065)}
.bt-legal-card .bt-legal-updated{display:inline-block;margin:0 0 34px;padding:7px 11px;border-radius:999px;background:#f7f0e6;color:#6f6258;font-size:11px}
.bt-legal-card h2{margin:42px 0 14px;padding-top:4px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(23px,2.5vw,30px);line-height:1.25;font-weight:500;color:var(--bt-brown)}
.bt-legal-card h2:first-of-type{margin-top:0}
.bt-legal-card p,.bt-legal-card li{color:#5f5750;font-size:14px;line-height:1.85}
.bt-legal-card p{margin:0 0 14px}
.bt-legal-card ul{margin:10px 0 20px;padding-left:21px}
.bt-legal-card li+li{margin-top:5px}
.bt-legal-card a{color:var(--bt-brown-2);font-weight:700;text-decoration:underline;text-decoration-color:rgba(201,154,62,.5);text-underline-offset:3px}
.bt-legal-card a:hover{color:var(--bt-gold)}
@media(max-width:680px){
  .bt-legal-hero{padding:38px 0 36px}
  .bt-legal-back{margin-bottom:22px}
  .bt-legal-wrap{width:min(calc(100% - 28px),940px);padding:28px 0 52px}
  .bt-legal-card{padding:24px 20px;border-radius:14px}
  .bt-legal-card h2{margin-top:34px}
}


/* v3.7.6 — compact cookie banner and preferences */
.bt-footer-cookie-settings{appearance:none;border:0;background:none;padding:0;color:rgba(255,255,255,.58);font:inherit;cursor:pointer;transition:color .18s ease}
.bt-footer-cookie-settings:hover{color:var(--bt-gold-light)}
.bt-cookie-banner[hidden],.bt-cookie-modal[hidden]{display:none!important}
.bt-cookie-banner{position:fixed;z-index:9998;left:18px;right:18px;bottom:18px;display:flex;justify-content:center;pointer-events:none}
.bt-cookie-banner__inner{pointer-events:auto;width:min(960px,100%);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:26px;padding:18px 20px;background:rgba(255,253,249,.985);border:1px solid #e8ddcf;border-radius:16px;box-shadow:0 20px 60px rgba(35,25,18,.22);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.bt-cookie-banner__copy{min-width:0}
.bt-cookie-kicker{display:block;margin-bottom:4px;color:var(--bt-gold);font-size:9.5px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.bt-cookie-banner__copy strong{display:block;color:var(--bt-brown);font-family:Georgia,"Times New Roman",serif;font-size:18px;font-weight:500}
.bt-cookie-banner__copy p{margin:5px 0 4px;max-width:650px;color:#685f58;font-size:11.5px;line-height:1.55}
.bt-cookie-banner__copy a,.bt-cookie-modal__footer a{color:var(--bt-brown-2);font-size:10.5px;font-weight:700;text-decoration:underline;text-decoration-color:rgba(201,154,62,.55);text-underline-offset:3px}
.bt-cookie-banner__actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.bt-cookie-btn{appearance:none;min-height:38px;padding:8px 13px;border-radius:9px;border:1px solid transparent;font:inherit;font-size:10.5px;font-weight:800;cursor:pointer;white-space:nowrap;transition:transform .15s ease,background .15s ease,border-color .15s ease,color .15s ease}
.bt-cookie-btn:hover{transform:translateY(-1px)}
.bt-cookie-btn--primary{background:var(--bt-brown-2);border-color:var(--bt-brown-2);color:#fff}
.bt-cookie-btn--primary:hover{background:var(--bt-brown);border-color:var(--bt-brown)}
.bt-cookie-btn--soft{background:#f3eadf;border-color:#eadbc9;color:var(--bt-brown-2)}
.bt-cookie-btn--ghost{background:transparent;border-color:#d9cbbb;color:#5c5047}
.bt-cookie-modal{position:fixed;z-index:10000;inset:0;display:grid;place-items:center;padding:20px}
.bt-cookie-modal__backdrop{position:absolute;inset:0;background:rgba(27,20,15,.56);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.bt-cookie-modal__dialog{position:relative;z-index:1;width:min(600px,100%);max-height:min(760px,calc(100vh - 40px));overflow:auto;padding:28px;background:#fffdf9;border:1px solid #e7dbcc;border-radius:18px;box-shadow:0 30px 90px rgba(22,16,12,.35)}
.bt-cookie-modal__close{position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:50%;background:#f4ede5;color:var(--bt-brown);font-size:23px;line-height:1;cursor:pointer}
.bt-cookie-modal__dialog h2{margin:2px 42px 7px 0;font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:500;color:var(--bt-brown)}
.bt-cookie-modal__intro{margin:0 0 20px;color:#6c625a;font-size:12.5px;line-height:1.7}
.bt-cookie-choice{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:16px 0;border-top:1px solid #eee5da;cursor:pointer}
.bt-cookie-choice strong{display:block;margin-bottom:3px;color:var(--bt-brown-2);font-size:13px}
.bt-cookie-choice p{margin:0;color:#766c64;font-size:11px;line-height:1.55}
.bt-cookie-choice input{position:absolute;opacity:0;pointer-events:none}
.bt-cookie-switch{position:relative;width:42px;height:23px;border-radius:99px;background:#d8d0c7;transition:.18s}
.bt-cookie-switch::after{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:.18s}
.bt-cookie-choice input:checked+.bt-cookie-switch{background:var(--bt-brown-2)}
.bt-cookie-choice input:checked+.bt-cookie-switch::after{transform:translateX(19px)}
.bt-cookie-required{padding:5px 8px;border-radius:999px;background:#f4ede5;color:#76685e;font-size:9.5px;font-weight:800;white-space:nowrap}
.bt-cookie-modal__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:10px;padding-top:18px;border-top:1px solid #eee5da}
html.bt-cookie-modal-open{overflow:hidden}
.bt-legal-card h3{margin:24px 0 8px;color:var(--bt-brown-2);font-size:16px}
@media(max-width:820px){
  .bt-cookie-banner{left:10px;right:10px;bottom:10px}
  .bt-cookie-banner__inner{grid-template-columns:1fr;gap:13px;padding:16px}
  .bt-cookie-banner__actions{justify-content:flex-start}
}
@media(max-width:520px){
  .bt-cookie-banner__actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .bt-cookie-banner__actions .bt-cookie-btn--primary{grid-column:1/-1;grid-row:1}
  .bt-cookie-btn{width:100%}
  .bt-cookie-modal{padding:10px}
  .bt-cookie-modal__dialog{padding:24px 18px;border-radius:14px;max-height:calc(100vh - 20px)}
  .bt-cookie-choice{gap:10px}
  .bt-cookie-modal__footer{align-items:stretch;flex-direction:column}
}

/* v3.7.6 — lekkie strony SEO: Oferta / O nas / Kontakt */
.bt-seo-page{background:#fff}
.bt-page-hero{padding:64px 0 54px;background:linear-gradient(135deg,#f8f3ec 0%,#fff 72%);border-bottom:1px solid var(--bt-border)}
.bt-page-hero__inner{max-width:900px;text-align:center}
.bt-page-hero .bt-kicker{margin-bottom:13px}
.bt-page-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,5vw,60px);font-weight:500;color:var(--bt-brown-2);line-height:1.08;margin:0 0 18px}
.bt-page-hero p{max-width:780px;margin:0 auto;color:var(--bt-muted);font-size:17px;line-height:1.75}
.bt-seo-categories .bt-category-grid{margin-top:32px}
.bt-seo-copy-section{padding-top:38px}
.bt-seo-copy-section--cream{background:var(--bt-cream)}
.bt-seo-copy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:52px;align-items:start}
.bt-seo-copy-grid h2{font-family:Georgia,"Times New Roman",serif;font-size:29px;font-weight:500;color:var(--bt-brown-2);margin:0 0 14px}
.bt-seo-copy-grid p{color:var(--bt-muted);line-height:1.75;margin:0 0 22px}
.bt-contact-page__grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.45fr);gap:48px;align-items:start}
.bt-contact-page__details,.bt-contact-page__form{border:1px solid var(--bt-border);border-radius:18px;background:#fff;padding:34px;box-shadow:var(--bt-shadow)}
.bt-contact-page__details h2,.bt-contact-page__form h2{font-family:Georgia,"Times New Roman",serif;color:var(--bt-brown-2);font-size:30px;font-weight:500;margin:0 0 24px}
.bt-contact-page__form>p{color:var(--bt-muted);margin:-12px 0 24px}
.bt-contact-page__item{padding:17px 0;border-top:1px solid var(--bt-border)}
.bt-contact-page__item:first-of-type{border-top:0;padding-top:0}
.bt-contact-page__item span{display:block;color:var(--bt-gold);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:5px}
.bt-contact-page__item strong{font-size:16px;color:var(--bt-brown-2)}
.bt-contact-page .bt-inquiry-form{margin-top:22px}
.bt-contact-page .bt-form-submit-row small a{text-decoration:underline}
@media(max-width:820px){
  .bt-page-hero{padding:48px 0 42px}
  .bt-seo-copy-grid,.bt-contact-page__grid{grid-template-columns:1fr;gap:28px}
  .bt-contact-page__details,.bt-contact-page__form{padding:26px}
}


/* Formularz na jasnej stronie Kontakt — wariant czytelny na białym tle */
.bt-contact-page .bt-inquiry-form{width:100%}
.bt-contact-page .bt-inquiry-form label>span{color:var(--bt-brown-3)}
.bt-contact-page .bt-inquiry-form input,
.bt-contact-page .bt-inquiry-form textarea{border-color:var(--bt-border);background:#fbfaf8;color:var(--bt-ink)}
.bt-contact-page .bt-inquiry-form input::placeholder,
.bt-contact-page .bt-inquiry-form textarea::placeholder{color:#9b9289}
.bt-contact-page .bt-inquiry-form input:focus,
.bt-contact-page .bt-inquiry-form textarea:focus{border-color:var(--bt-gold);background:#fff;box-shadow:0 0 0 3px rgba(201,154,62,.12)}
.bt-contact-page .bt-form-submit-row small{color:var(--bt-muted);max-width:360px}

/* v3.8.2 — Kontakt 1:1 z kartą kontaktową strony głównej */
.bt-cta .bt-cta-page-title{font-family:Georgia,serif;font-size:clamp(30px,3vw,44px);font-weight:500;margin:0 0 12px;color:#fff;line-height:1.18}
.bt-cta .bt-cta-page-title span{color:var(--bt-gold-light)}
.bt-contact-seo-page .bt-cta{min-height:calc(100vh - 100px)}
.bt-contact-seo-page .bt-cta-inner{min-height:calc(100vh - 100px)}
@media(max-width:980px){.bt-contact-seo-page .bt-cta,.bt-contact-seo-page .bt-cta-inner{min-height:0}}

/* v3.8.2 — podstrona Oferta spójna 1:1 z sekcją na stronie głównej */
.bt-offer-page{background:#fff}
.bt-offer-page__section{padding-top:38px}
.bt-offer-page__trail{margin-bottom:28px}
.bt-offer-page__intro{text-align:center;margin:0 auto}
.bt-offer-page__intro .bt-section-title{margin-bottom:0}
.bt-offer-page__intro p{max-width:720px;margin:18px auto 0;color:var(--bt-muted);font-size:16px;line-height:1.7}
.bt-offer-page .bt-category-grid{margin-top:34px}
@media(max-width:820px){
  .bt-offer-page__section{padding-top:28px}
  .bt-offer-page__trail{margin-bottom:22px}
  .bt-offer-page__intro p{font-size:15px;margin-top:16px}
}

/* v3.8.9 — hero desktop/mobile polish */
@media (min-width:701px){
  .bt-benefits{
    flex-wrap:nowrap;
    gap:12px;
    max-width:470px;
  }
  .bt-benefit{
    flex:0 0 auto;
    gap:5px;
    font-size:9px;
    letter-spacing:.02em;
    white-space:nowrap;
  }
  .bt-benefit-icon{font-size:18px;line-height:1}
}

@media (max-width:700px){
  .bt-hero{
    min-height:calc(100svh - 92px);
    min-height:calc(100dvh - 92px);
  }
  .bt-hero-inner{
    min-height:calc(100svh - 92px);
    min-height:calc(100dvh - 92px);
  }
  .bt-benefit--mobile-hidden{display:none!important}
}

@media (max-width:620px){
  .bt-hero-copy{padding:54px 0 44px}
}


/* v3.8.9 — precyzyjne zatrzymanie kotwicy Oferta na desktopie: dokładnie pod sticky headerem, bez widocznego fragmentu hero. */
@media (min-width:981px){#oferta{scroll-margin-top:100px}}


/* v3.9.1 — Partner B2B wyłącznie desktop: jawna klasa zamiast selektora nth-child. */
@media (max-width:767px){
  .bt-benefit--mobile-hidden{display:none!important}
}


/* v3.9.5 — mobile: na stronie głównej sekcja „Najchętniej wybierane” pokazuje dokładnie 3 pierwsze karty.
   Siatka jest naszą natywną .bt-product-grid, więc nie potrzeba wykrywania widgetów ani MutationObservera. */
@media (max-width:767px){
  .bt-products .bt-product-grid[data-bt-random-featured="1"] > .bt-product-card:nth-child(n+4){display:none!important}
}


/* v3.9.6 — twardy fallback mobilny. Główne ograniczenie do 3 kart jest teraz także w PHP i JS. */
@media (max-width:767px){
  body.home .bt-products .bt-product-grid > article.bt-product-card:nth-of-type(n+4){display:none!important}
}


/* v3.9.8 — lokalne strony SEO Gdańsk / Warszawa */
.bt-local-page{background:#fff}
.bt-local-hero{padding:58px 0 52px;background:linear-gradient(135deg,#f8f3ec 0%,#fff 72%);border-bottom:1px solid var(--bt-border)}
.bt-local-hero__inner{max-width:920px;text-align:center}
.bt-local-hero__trail{margin-bottom:26px;text-align:left}
.bt-local-kicker{display:inline-block;margin-bottom:14px;color:var(--bt-gold);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.bt-local-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(36px,5vw,58px);line-height:1.08;font-weight:500;color:var(--bt-brown-2);margin:0 0 20px}
.bt-local-hero__lead{max-width:820px;margin:0 auto;color:var(--bt-muted);font-size:17px;line-height:1.75}
.bt-local-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:28px}
.bt-local-actions .bt-button--outline{background:transparent;color:var(--bt-brown-2);border:1px solid rgba(69,51,37,.25)}
.bt-local-actions .bt-button--outline:hover{border-color:var(--bt-gold);color:var(--bt-brown-2)}
.bt-local-catalog{padding:58px 0 66px}
.bt-local-catalog__intro{text-align:center;max-width:780px;margin:0 auto 32px}
.bt-local-catalog__intro h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(30px,3.4vw,44px);font-weight:500;color:var(--bt-brown-2);margin:0 0 14px}
.bt-local-catalog__intro p{color:var(--bt-muted);font-size:16px;line-height:1.72;margin:0}
.bt-local-copy{padding:62px 0;background:var(--bt-cream);border-top:1px solid var(--bt-border)}
.bt-local-copy__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}
.bt-local-copy h2{font-family:Georgia,"Times New Roman",serif;font-size:29px;font-weight:500;color:var(--bt-brown-2);margin:0 0 14px}
.bt-local-copy p{color:var(--bt-muted);line-height:1.78;margin:0}
.bt-local-bottom-cta{text-align:center;margin-top:34px}
.bt-location-pills a,.bt-footer-locations a{color:inherit;text-decoration:none}
.bt-location-pills a:hover,.bt-footer-locations a:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:820px){
  .bt-local-hero{padding:42px 0 40px}
  .bt-local-hero__trail{margin-bottom:20px}
  .bt-local-hero__lead{font-size:15.5px}
  .bt-local-actions{margin-top:23px}
  .bt-local-catalog{padding:46px 0 52px}
  .bt-local-copy{padding:46px 0}
  .bt-local-copy__grid{grid-template-columns:1fr;gap:30px}
}


/* v4.0.0 — dyskretne linkowanie wewnętrzne SEO */
.bt-seo-inline-links{max-width:900px;margin:12px auto 0;color:var(--bt-muted);font-size:14px;line-height:1.7}
.bt-seo-inline-links a{color:var(--bt-brown-2);font-weight:700;text-decoration:underline;text-decoration-color:rgba(201,154,62,.55);text-underline-offset:3px}
.bt-seo-inline-links a:hover{color:var(--bt-gold)}
.bt-offer-page__intro .bt-seo-inline-links{text-align:center;max-width:780px}
.bt-category-heading .bt-seo-inline-links{margin-left:0;margin-right:0;max-width:850px}
@media(max-width:767px){.bt-seo-inline-links{font-size:13px;line-height:1.65}}
