/*
Theme Name: Bazgranie Nocą — Atelier Premium V4 (RC)
Theme URI: https://bazgranienoca.pl/
Description: Odtworzony motyw potomny Astra. Galeria autorska, WooCommerce, wewnętrzny katalog VibeMotiveStudio.
Author: Bazgranie Nocą
Template: astra
Version: 4.0.0-rc.4.3
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: bazgranie-atelier-v3
License: GNU General Public License v2 or later
*/
:root{--bn-bg:#f4f0e6;--bn-paper:#fffdf8;--bn-ink:#242622;--bn-muted:#69645b;--bn-line:#d8d0c0;--bn-accent:#8c6d55;--bn-width:1240px}
body.bn-v3-site{margin:0;background:var(--bn-bg);color:var(--bn-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6} .bn-v3-site *{box-sizing:border-box}.bn-v3-site img{max-width:100%;height:auto}.bn-v3-site a{color:inherit}.bn-v3-site a:focus-visible,.bn-v3-site button:focus-visible,.bn-v3-site input:focus-visible,.bn-v3-site select:focus-visible,.bn-v3-site summary:focus-visible{outline:3px solid #9c734c;outline-offset:4px}.bn-v3-skip{position:absolute;top:-100px;left:10px;z-index:10000;background:#fff;padding:12px}.bn-v3-skip:focus{top:10px}.bn-v3-wrap{width:min(var(--bn-width),100%);margin-inline:auto;padding-inline:clamp(18px,4vw,56px)}.bn-v3-header{background:var(--bn-paper);border-bottom:1px solid var(--bn-line)}.bn-v3-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-block:18px}.bn-v3-logo{font-size:25px;line-height:1.1;font-weight:800;letter-spacing:-.07em;text-decoration:none;white-space:nowrap}.bn-v3-logo small{display:block;font-size:10px;letter-spacing:.15em;font-weight:600;margin-top:5px}.bn-v3-nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.bn-v3-nav a,.bn-v3-nav summary{font-size:14px;font-weight:600;text-decoration:none}.bn-v3-nav details{position:relative}.bn-v3-nav details>div{position:absolute;top:100%;right:0;z-index:30;width:230px;background:var(--bn-paper);padding:12px;border:1px solid var(--bn-line);box-shadow:0 8px 22px #0001}.bn-v3-nav details a{display:block;padding:8px}.bn-v3-mobile{display:none;position:relative}.bn-v3-mobile summary{cursor:pointer;font-size:16px;font-weight:700}.bn-v3-mobile nav{padding:10px 0}.bn-v3-mobile nav a{display:block;padding:12px 14px;border-top:1px solid var(--bn-line);font-weight:600;text-decoration:none}.bn-v3-mobile .bn-v3-sub{padding-left:24px;font-size:14px}.bn-v3-actions{display:flex;align-items:center;gap:12px;font-size:14px}.bn-v3-actions a{text-decoration:none;font-weight:600}.bn-v3-header summary{cursor:pointer}.bn-v3-main{padding-block:28px 55px;min-height:50vh}.bn-v3-search{margin-bottom:22px}.bn-v3-search form{display:flex;gap:8px}.bn-v3-search input{flex:1;min-width:0}.bn-v3-site input,.bn-v3-site select,.bn-v3-site textarea{max-width:100%}.bn-v3-site h1,.bn-v3-site h2,.bn-v3-site h3{color:var(--bn-ink);letter-spacing:-.035em;line-height:1.18}.bn-v3-site h1{font-size:clamp(32px,5vw,65px)}.bn-v3-site h2{font-size:clamp(25px,3vw,42px)}.bn-v3-site h3{font-size:clamp(18px,2vw,25px)}.bn-v3-kicker{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin:0 0 12px}.bn-v3-hero{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:30px}.bn-v3-hero__copy{background:var(--bn-ink);color:var(--bn-paper);padding:clamp(24px,5vw,65px);border-radius:12px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.bn-v3-hero__copy h1,.bn-v3-hero__copy h2{color:#fff;font-weight:850;line-height:1.01;margin:0 0 18px}.bn-v3-hero__copy p{color:#f2ebdf}.bn-v3-hero__art{background:#e7dfd2;border-radius:12px;overflow:hidden;display:grid;place-items:center;min-width:0}.bn-v3-hero__art img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain}.bn-v3-btn{display:inline-block;border:1px solid var(--bn-ink);border-radius:6px;background:var(--bn-ink);color:#fff!important;padding:11px 18px;text-decoration:none;font-weight:700;font-size:14px;text-align:center;cursor:pointer}.bn-v3-btn--light{color:var(--bn-ink)!important;background:var(--bn-paper);border-color:var(--bn-paper)}.bn-v3-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.bn-v3-card{background:var(--bn-paper);border:1px solid var(--bn-line);border-radius:8px;overflow:hidden;min-width:0;display:flex;flex-direction:column}.bn-v3-card img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#eae4d9}.bn-v3-card-body{padding:16px;display:flex;flex:1;flex-direction:column;gap:6px}.bn-v3-card h3{margin:0}.bn-v3-card p{margin:0;color:var(--bn-muted);font-size:14px}.bn-v3-card .bn-v3-price{font-weight:800;font-size:20px;color:var(--bn-ink)}.bn-v3-card-body .bn-v3-btn{margin-top:auto;align-self:flex-start}.bn-v3-section{margin:36px 0}.bn-v3-banner{padding:22px;background:#e8dfcf;border:1px solid var(--bn-line);border-radius:8px;margin:20px 0}.bn-v3-banner p:last-child{margin-bottom:0}.bn-v3-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:24px 0}.bn-v3-filters label{display:flex;flex-direction:column;gap:4px;font-weight:600;flex:1;min-width:160px}.bn-v3-filters input,.bn-v3-filters select{width:100%;background:#fff;border:1px solid var(--bn-line);padding:9px;border-radius:4px}.bn-v3-pages{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;margin:30px 0}.bn-v3-pages a{padding:8px 13px;border:1px solid var(--bn-line);border-radius:5px;background:#fff;text-decoration:none}.bn-v3-entry{max-width:100%;overflow-wrap:anywhere}.bn-v3-entry .alignwide{max-width:100%}.bn-v3-footer{background:var(--bn-ink);color:#f4efe4;padding-block:36px}.bn-v3-footer a{color:#f4efe4}.bn-v3-footer h2{color:#f4efe4;font-size:24px}.bn-v3-footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:22px}.bn-v3-footer nav a{display:block;padding:4px 0;font-size:14px}.bn-v3-footer p{font-size:14px}.bn-v3-site .woocommerce ul.products li.product img{object-fit:contain}.bn-v3-site .woocommerce input,.bn-v3-site .woocommerce select{min-height:38px}.bn-v3-site .woocommerce-error,.bn-v3-site .woocommerce-info,.bn-v3-site .woocommerce-message{overflow-wrap:anywhere}.bn-v3-site .woocommerce table.shop_table{max-width:100%}.bn-v3-site .woocommerce .button,.bn-v3-site .woocommerce button.button{font-weight:700}.bn-v3-site .wp-block-woocommerce-cart,.bn-v3-site .wp-block-woocommerce-checkout{max-width:100%}
@media(max-width:1000px){.bn-v3-nav{display:none}.bn-v3-mobile{display:block}.bn-v3-mobile[open] nav{display:block}.bn-v3-top{flex-wrap:wrap}.bn-v3-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bn-v3-mobile nav{position:absolute;right:0;top:100%;z-index:100;width:min(320px,85vw);max-height:72vh;overflow:auto;background:var(--bn-paper);border:1px solid var(--bn-line);box-shadow:0 10px 24px #0002;border-radius:8px}}
@media(max-width:600px){.bn-v3-wrap{padding-inline:16px}.bn-v3-top{gap:10px}.bn-v3-logo{font-size:21px}.bn-v3-actions{font-size:12px}.bn-v3-hero{grid-template-columns:1fr;gap:12px}.bn-v3-hero__copy{padding:25px}.bn-v3-grid{gap:10px}.bn-v3-card-body{padding:11px}.bn-v3-card h3{font-size:17px}.bn-v3-card p{font-size:12px}.bn-v3-footer-grid{grid-template-columns:1fr}.bn-v3-main{padding-block:18px 36px}.bn-v3-filters label{min-width:100%;}.bn-v3-site .woocommerce .col2-set .col-1,.bn-v3-site .woocommerce .col2-set .col-2{width:100%;float:none}}
@media(prefers-reduced-motion:reduce){.bn-v3-site *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Internal product details, mobile first. No new scripts or integrations. */
.bn-v3-product-image-link{display:block}.bn-v3-card h3 a{text-decoration:none}.bn-v3-card h3 a:hover{text-decoration:underline}.bn-v3-card .bn-v3-btn{width:100%;margin-top:12px}.bn-v3-detail-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;font-size:14px;margin-bottom:20px}.bn-v3-product-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:clamp(20px,4vw,52px)}.bn-v3-product-gallery{min-width:0}.bn-v3-product-main-image{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:var(--bn-paper);border:1px solid var(--bn-line);border-radius:8px;cursor:zoom-in}.bn-v3-product-info{min-width:0}.bn-v3-product-info h1{font-size:clamp(30px,4vw,48px);margin:8px 0}.bn-v3-product-info h2{font-size:22px;margin:24px 0 10px}.bn-v3-product-type{font-size:18px;color:var(--bn-muted)}.bn-v3-detail-price{font-size:32px;font-weight:800;margin:8px 0}.bn-v3-detail-note{font-size:13px;color:var(--bn-muted)}.bn-v3-variant-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px}.bn-v3-variant{display:flex;flex-direction:column;min-width:0;border:1px solid var(--bn-line);background:var(--bn-paper);border-radius:6px;padding:6px;text-decoration:none;text-align:center;font-size:12px;overflow-wrap:anywhere}.bn-v3-variant img{display:block;width:100%;aspect-ratio:1;object-fit:contain}.bn-v3-variant.is-selected{border:2px solid var(--bn-ink);box-shadow:0 0 0 1px var(--bn-ink)}.bn-v3-detail-buy{border:1px solid var(--bn-line);background:var(--bn-paper);padding:20px;margin-top:24px;border-radius:8px}.bn-v3-detail-buy h2{margin-top:0}.bn-v3-detail-buy .bn-v3-btn{width:100%}.bn-v3-detail-buy p{font-size:14px}@media(max-width:760px){.bn-v3-product-detail{grid-template-columns:1fr;gap:16px}.bn-v3-product-info h1{font-size:32px}.bn-v3-variant-grid{grid-template-columns:repeat(auto-fill,minmax(80px,1fr))}}

/* V4: shared shell, all standard pages and WooCommerce content. No hiding overflow on body. */
.bn-v3-site .bn-v3-content,.bn-v3-main,.bn-v3-wrap,.bn-v4-page,.bn-v4-content-area,.bn-v3-hero>*{min-width:0;max-width:100%}
.bn-v3-site #page,.bn-v3-site #content{min-width:0;max-width:100%}
.bn-v3-site .bn-v3-entry iframe,.bn-v3-entry video,.bn-v3-entry embed,.bn-v3-entry object{max-width:100%}
.bn-v4-crumb{font-size:13px;color:var(--bn-muted);margin-bottom:18px;overflow-wrap:anywhere}
.bn-v4-page{background:var(--bn-paper);border:1px solid var(--bn-line);border-radius:12px;padding:clamp(18px,4vw,52px)}
.bn-v4-page-heading{padding-bottom:22px;margin-bottom:25px;border-bottom:1px solid var(--bn-line)}.bn-v4-page-heading h1{margin:0 0 12px;font-family:Georgia,serif;font-weight:500}.bn-v4-page-heading p{max-width:70ch;margin-bottom:0}
.bn-v4-content-area{display:flow-root;overflow-wrap:anywhere}.bn-v4-content-area .alignfull,.bn-v4-content-area .alignwide{width:100%!important;max-width:100%!important;margin-inline:0!important;left:auto!important;right:auto!important;transform:none!important}
.bn-v4-content-area [style*="100vw"]{width:100%!important;max-width:100%!important;left:auto!important;right:auto!important;transform:none!important;margin-inline:0!important}.bn-v4-content-area [style*="translateX(-50%)"]{transform:none!important;left:auto!important;max-width:100%!important}
.bn-v4-content-area :where(.wp-block-columns,.wp-block-column,.elementor-container,.elementor-column,.elementor-widget-wrap,.e-con,.wp-block-group,.wp-block-image){min-width:0;max-width:100%}
.bn-v4-content-area .wp-block-table{overflow-x:auto;max-width:100%}.bn-v4-content-area table{max-width:100%;overflow-wrap:anywhere}.bn-v4-content-area pre{max-width:100%;overflow:auto}.bn-v4-content-area figure{max-width:100%;margin-inline:0}.bn-v4-content-area img{height:auto;max-width:100%}
.bn-v4-legal .bn-v4-content-area,.bn-v4-article .bn-v4-content-area{max-width:82ch;margin-inline:auto}.bn-v4-legal h2,.bn-v4-article h2{font-size:clamp(22px,3vw,32px);margin-top:1.6em}.bn-v4-legal h3{font-size:clamp(18px,2.5vw,25px)}.bn-v4-related{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px;padding-top:18px;border-top:1px solid var(--bn-line)}.bn-v4-related a{padding:8px 12px;border:1px solid var(--bn-line);border-radius:4px;text-decoration:none}
.bn-v4-article-cover{margin:0 0 30px}.bn-v4-article-cover img{width:100%;max-height:560px;object-fit:contain;background:var(--bn-bg)}.bn-v4-post-card h2{font-size:clamp(19px,2.5vw,28px);margin:5px 0}.bn-v4-post-card h2 a{text-decoration:none}.bn-v4-post-image{display:grid;place-items:center;background:#e8e0d2;aspect-ratio:4/3}.bn-v4-post-image img{aspect-ratio:4/3;object-fit:cover}.bn-v4-post-mark{font-family:Georgia,serif;font-size:32px;line-height:1.15;text-align:center;padding:20px}.bn-v4-post-card .bn-v3-card-body{padding:20px}
.bn-v4-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:8px;margin:12px 0}.bn-v4-thumbs a{display:flex;flex-direction:column;border:1px solid var(--bn-line);border-radius:6px;padding:5px;background:var(--bn-paper);min-width:0;text-decoration:none;text-align:center}.bn-v4-thumbs a[aria-current=true]{outline:2px solid var(--bn-ink);outline-offset:1px}.bn-v4-thumbs img{width:100%;aspect-ratio:1;object-fit:contain}.bn-v4-thumbs small{font-size:11px;overflow-wrap:anywhere}.bn-v4-gallery-heading{font-size:20px!important}.bn-v4-variant-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.bn-v4-variant-form label{grid-column:1/-1}.bn-v4-variant-form select{min-width:0;width:100%;background:var(--bn-paper);padding:10px;border:1px solid var(--bn-line);border-radius:5px}.bn-v4-accordions{margin-top:24px;border-top:1px solid var(--bn-line)}.bn-v4-accordions details{border-bottom:1px solid var(--bn-line);padding:12px 0}.bn-v4-accordions summary{font-weight:700;cursor:pointer}.bn-v4-accordions p{margin:12px 0 0}.bn-v4-partner-panel{margin:30px 0;max-width:100%;min-width:0}.bn-v4-zoom{max-width:min(94vw,960px);max-height:94vh;background:var(--bn-paper);border:1px solid var(--bn-line);border-radius:10px;padding:12px}.bn-v4-zoom[open]{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.bn-v4-zoom img{max-width:100%;max-height:78vh;object-fit:contain}.bn-v4-zoom::backdrop{background:#000b}
.bn-v3-site .woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.bn-v3-site .woocommerce ul.products::before,.bn-v3-site .woocommerce ul.products::after{display:none}.bn-v3-site .woocommerce ul.products li.product,.bn-v3-site .woocommerce-page ul.products li.product{width:auto!important;float:none!important;margin:0!important;min-width:0;background:var(--bn-paper);padding:14px;border:1px solid var(--bn-line);border-radius:8px}.bn-v3-site .woocommerce ul.products li.product img{aspect-ratio:1;background:var(--bn-bg);object-fit:contain}.bn-v3-site .woocommerce div.product div.images,.bn-v3-site .woocommerce div.product div.summary{min-width:0;max-width:100%}.bn-v3-site .woocommerce div.product .product_title{font-family:Georgia,serif;font-size:clamp(28px,4vw,50px)}.bn-v3-site .woocommerce div.product p.price{font-size:26px;font-weight:700;color:var(--bn-ink)}.bn-v3-site .woocommerce form.cart{max-width:100%}.bn-v3-site .woocommerce .variations select{max-width:100%}.bn-v3-site .woocommerce .woocommerce-tabs{clear:both}.bn-v3-site .woocommerce .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:6px;padding:0}.bn-v3-site .woocommerce .woocommerce-tabs ul.tabs li{margin:0;white-space:normal}.bn-v4-commerce .woocommerce{max-width:100%;min-width:0}.bn-v4-commerce .woocommerce form .form-row{min-width:0;max-width:100%}.bn-v3-site .woocommerce form .form-row input.input-text,.bn-v3-site .woocommerce form .form-row textarea{width:100%}.bn-v3-site .woocommerce .button,.bn-v3-site .woocommerce button.button,.bn-v3-site .woocommerce a.button{white-space:normal;overflow-wrap:anywhere;max-width:100%}.bn-v3-site .wc-block-components-sidebar,.bn-v3-site .wc-block-components-main{min-width:0;max-width:100%}
@media(max-width:900px){.bn-v3-site .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bn-v4-post-card .bn-v3-card-body{padding:14px}.bn-v3-mobile[open] nav{right:0;max-width:calc(100vw - 32px)}}
@media(max-width:600px){.bn-v3-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.bn-v3-actions{grid-row:2;grid-column:1/2;flex-wrap:wrap}.bn-v3-mobile{grid-row:2;grid-column:2/3}.bn-v3-logo{white-space:normal}.bn-v3-mobile nav{right:0;width:min(300px,calc(100vw - 32px))}.bn-v3-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bn-v4-page{padding:16px}.bn-v4-content-area .wp-block-columns{flex-wrap:wrap}.bn-v4-content-area .wp-block-column{flex-basis:100%!important}.bn-v4-variant-form{grid-template-columns:minmax(0,1fr)}.bn-v4-variant-form button{width:100%}.bn-v3-site .woocommerce div.product div.images,.bn-v3-site .woocommerce div.product div.summary,.bn-v3-site .woocommerce-cart .cart-collaterals .cart_totals{width:100%!important;float:none!important}.bn-v3-site .woocommerce .col2-set .col-1,.bn-v3-site .woocommerce .col2-set .col-2{width:100%!important;float:none!important}.bn-v3-site .woocommerce table.shop_table_responsive tbody tr td{white-space:normal;overflow-wrap:anywhere}.bn-v3-site .woocommerce .woocommerce-ordering,.bn-v3-site .woocommerce .woocommerce-result-count{float:none;width:100%}.bn-v4-post-card{grid-column:1/-1}.bn-v3-card .bn-v3-btn{padding:10px 8px}.bn-v4-woo .woocommerce-product-gallery{max-width:100%}}
@media(max-width:360px){.bn-v3-wrap{padding-inline:12px}.bn-v3-grid{gap:8px}.bn-v3-card-body{padding:9px}.bn-v3-card h3{font-size:16px}.bn-v3-site .woocommerce ul.products li.product{padding:8px}.bn-v3-mobile nav{max-width:calc(100vw - 24px)}}
/* Long Polish names must wrap inside two-column mobile product cards. */
.bn-v3-site .woocommerce ul.products li.product{overflow-wrap:anywhere;word-break:normal}.bn-v3-site .woocommerce ul.products li.product :where(h2,h3,a,span){min-width:0;max-width:100%;overflow-wrap:anywhere}.bn-v3-site .woocommerce ul.products li.product h2{font-size:clamp(16px,2vw,24px)}

/* RC2: observed mobile screenshot regressions. Scoped to our theme and native commerce. */
body.bn-v3-site .bn-rc2-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;width:100%;margin:0}.bn-rc2-search input[type=search]{margin:0;min-width:0;width:100%;height:auto;min-height:46px;border:1px solid var(--bn-line);border-radius:6px;background:var(--bn-paper);color:var(--bn-ink);padding:10px 12px}.bn-rc2-search .bn-v3-btn{margin:0;min-height:46px;min-width:68px;line-height:1.25;align-self:stretch;padding:10px 14px}.bn-rc2-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.bn-v3-site .bn-v4-woo ul.products li.product .price,body.bn-v3-site .woocommerce ul.products li.product .price,body.bn-v3-site .woocommerce ul.products li.product .price *,body.bn-v3-site .woocommerce div.product p.price,body.bn-v3-site .woocommerce div.product p.price *,body.bn-v3-site .bn-v3-price,body.bn-v3-site .bn-v3-price *{color:#242622!important;text-shadow:none!important;opacity:1!important}body.bn-v3-site .woocommerce ul.products li.product .price{display:block!important;font-size:17px!important;font-weight:700!important;margin:6px 0 12px!important}
body.bn-v3-site .woocommerce :is(a.button,button.button,input.button,a.add_to_cart_button,button.single_add_to_cart_button,a.checkout-button),body.bn-v3-site .woocommerce :is(a.button,button.button,a.add_to_cart_button) :is(span,strong),body.bn-v3-site .bn-v4-commerce .wc-block-components-button,body.bn-v3-site .bn-v4-commerce .wc-block-components-button .wc-block-components-button__text,body.bn-v3-site .bn-rc2-form button[type=submit]{background:#242622!important;color:#fffdf8!important;border-color:#242622!important;text-shadow:none!important;opacity:1!important;line-height:1.35!important;text-decoration:none!important;font-size:14px!important;font-weight:700!important;border-radius:6px!important;padding:12px 10px!important;min-height:44px;max-width:100%;white-space:normal!important;overflow-wrap:normal!important;text-align:center!important}body.bn-v3-site .woocommerce :is(a.button,button.button,input.button):hover{background:#3b3e38!important;color:#fffdf8!important}body.bn-v3-site .woocommerce :is(a.button,button.button,input.button):disabled{opacity:.55!important;cursor:not-allowed}body.bn-v3-site .woocommerce ul.products li.product{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important}body.bn-v3-site .woocommerce ul.products li.product a.woocommerce-loop-product__link{display:block;flex:1}body.bn-v3-site .woocommerce ul.products li.product a.button{margin-top:auto!important;width:100%!important}body.bn-v3-site .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:clamp(16px,2vw,22px)!important;line-height:1.3!important;color:#242622!important;overflow-wrap:anywhere!important}
.bn-rc2-editorial{max-width:1050px;margin:auto}.bn-rc2-editorial h1{font-size:clamp(30px,5vw,58px);margin:0 0 18px;line-height:1.12}.bn-rc2-editorial h2{font-size:clamp(21px,3vw,32px);margin:0 0 14px}.bn-rc2-editorial p,.bn-rc2-editorial li{font-size:16px;line-height:1.7;font-weight:400;letter-spacing:normal;text-align:left}.bn-rc2-editorial .bn-rc2-lead{font-size:clamp(17px,2vw,21px);max-width:68ch}.bn-rc2-editorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,4vw,40px);align-items:start;margin:24px 0}.bn-rc2-editorial-grid>*{min-width:0}.bn-rc2-panel{background:var(--bn-paper);border:1px solid var(--bn-line);border-radius:10px;padding:clamp(16px,3vw,28px)}.bn-rc2-form :is(input,textarea,select){max-width:100%!important;min-width:0}.bn-rc2-form .wpforms-field{max-width:100%;min-width:0}.bn-rc2-editorial figure{margin:0;min-width:0}.bn-rc2-editorial figure img{display:block;width:100%;height:auto;object-fit:contain;border-radius:8px}.bn-rc2-art-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.bn-rc2-actions{display:flex;flex-wrap:wrap;gap:8px}.bn-rc2-colors{margin:12px 0;border:1px solid var(--bn-line);padding:10px;border-radius:6px;background:var(--bn-paper)}.bn-rc2-colors summary{font-size:14px;font-weight:700;cursor:pointer}.bn-v3-mobile summary{list-style:none}.bn-v3-mobile summary::-webkit-details-marker{display:none}.bn-v3-mobile[open] nav{max-height:65vh;max-height:65dvh;overflow-y:auto;overscroll-behavior:contain}.bn-v3-mobile nav a{line-height:1.35;overflow-wrap:anywhere}.bn-v3-mobile nav a:first-child{border-top:0}
@media(max-width:600px){.bn-rc2-editorial-grid{grid-template-columns:1fr}.bn-rc2-art-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bn-rc2-editorial .bn-v3-kicker{font-size:11px}.bn-v3-mobile nav a{padding:10px 12px;font-size:14px}.bn-rc2-colors .bn-v4-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.bn-rc2-colors .bn-v4-thumbs small{font-size:10px}.bn-v3-site .woocommerce ul.products li.product a.button{font-size:13px!important}.bn-rc2-search input[type=search]{font-size:16px}.bn-v4-content-area [style*="min-width: 300px"],.bn-v4-content-area [style*="min-width:300px"]{min-width:0!important;max-width:100%!important}}

/* RC4 candidate: consistent native search and WC account, without replacing account functions. */
body.bn-v3-site form.bn-rc2-search > button.bn-v3-btn[type=submit]{background:#242622!important;color:#fffdf8!important;border:1px solid #242622!important;min-height:46px!important;white-space:normal!important;text-shadow:none!important;opacity:1!important;line-height:1.25!important;margin:0!important}
body.bn-v3-site .woocommerce-account .woocommerce,body.bn-v3-site.woocommerce-account .woocommerce{max-width:100%;min-width:0}
body.bn-v3-site .woocommerce-MyAccount-navigation{float:none;width:auto;min-width:0}
body.bn-v3-site .woocommerce-MyAccount-navigation ul{margin:0;padding:0;list-style:none;border:0;display:grid;gap:6px}
body.bn-v3-site .woocommerce-MyAccount-navigation li{list-style:none;margin:0;min-width:0;border:0}
body.bn-v3-site .woocommerce-MyAccount-navigation li a{display:block;min-height:44px;padding:10px 14px;background:#fffdf8;color:#242622!important;border:1px solid #d8d0c0;border-radius:6px;font-weight:600;text-decoration:none;overflow-wrap:anywhere}
body.bn-v3-site .woocommerce-MyAccount-navigation li.is-active a{background:#242622!important;color:#fffdf8!important;border-color:#242622}
body.bn-v3-site .woocommerce-MyAccount-content{float:none;width:auto;min-width:0;max-width:100%;overflow-wrap:anywhere;padding:clamp(12px,2vw,22px);background:#fffdf8;border:1px solid #d8d0c0;border-radius:8px}
body.bn-v3-site.woocommerce-account .bn-v4-commerce .woocommerce:has(>.woocommerce-MyAccount-navigation){display:grid;grid-template-columns:minmax(0,230px) minmax(0,1fr);gap:20px;align-items:start}
@media(max-width:768px){body.bn-v3-site.woocommerce-account .bn-v4-commerce .woocommerce:has(>.woocommerce-MyAccount-navigation){grid-template-columns:minmax(0,1fr);gap:16px}body.bn-v3-site .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr))}body.bn-v3-site .woocommerce-MyAccount-navigation li a{padding:10px;font-size:14px;line-height:1.4}}

/* RC4.1: regression hardening across actual WC account markup and inherited styles. */
body.bn-v3-site .bn-rc2-search {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:stretch!important;min-width:0!important;max-width:100%!important}
body.bn-v3-site .bn-rc2-search > input[type=search] {width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;color:#242622!important;background:#fffdf8!important;font-size:16px!important}
body.bn-v3-site .bn-rc2-search > button[type=submit] {min-width:64px!important;max-width:100%!important;width:auto!important;padding:10px 12px!important}
body.bn-v3-site .bn-v4-commerce .woocommerce-MyAccount-content :is(input,select,textarea),body.bn-v3-site .bn-v4-commerce .woocommerce-MyAccount-content .form-row{max-width:100%!important;min-width:0!important;box-sizing:border-box}
body.bn-v3-site .bn-v4-commerce .woocommerce-MyAccount-content :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){color:#242622!important;background:#f4f0e7!important;overflow-wrap:anywhere;max-width:100%;box-sizing:border-box}
body.bn-v3-site .bn-v4-commerce .woocommerce-MyAccount-content table{max-width:100%;overflow-wrap:anywhere}
body.bn-v3-site .bn-v4-commerce .woocommerce-MyAccount-navigation li a:focus-visible,body.bn-v3-site .bn-rc2-search :focus-visible,body.bn-v3-site .bn-v3-product-detail :focus-visible {outline:3px solid #9a6938;outline-offset:3px}
body.bn-v3-site .bn-v3-product-info .bn-v4-variant-form {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
body.bn-v3-site .bn-v4-variant-form label {grid-column:1/-1}
body.bn-v3-site .bn-v4-variant-form select {width:100%;min-width:0;max-width:100%;min-height:44px}
body.bn-v3-site .bn-v4-variant-form button {min-height:44px;white-space:normal}
body.bn-v3-site .bn-v3-detail-buy a.bn-v3-btn{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center;color:#fffdf8!important;background:#242622!important}
.bn-v4-preview-notice {border-left:3px solid #a0794a;padding:9px 12px;margin:12px 0;background:#f4f0e7;color:#49443a;font-size:13px;line-height:1.5}
@media(max-width:420px){body.bn-v3-site .bn-v3-product-info .bn-v4-variant-form{grid-template-columns:minmax(0,1fr)}body.bn-v3-site .bn-v4-variant-form button{width:100%}body.bn-v3-site .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
