/* Shared storefront and catalog editor, built on the REDESIGN tokens. */
.storefront,.store-admin{--green:#805018;--green2:#5c3914;--gold:#dca63a;--cream:#faf7f0;--white:#fff;color:var(--ink);background:var(--canvas)}.container{width:min(1180px,calc(100% - 40px));margin:0 auto}.top{background:#fbf3e5;border-bottom:1px solid #efe3cf;font-size:12px;color:#92713b}.top-inner{max-width:1180px;margin:auto;display:flex;justify-content:space-between;gap:20px;padding:8px 20px}.storefront header,.store-admin header{background:#fff;border-bottom:1px solid var(--line);padding:18px 20px}.header-inner,.nav-inner{max-width:1180px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:#805018}.logo img{max-width:75px;height:82px;object-fit:contain}.storefront .logo>span,.storefront .logo h1{font-size:22px}.storefront .nav{background:white;border-bottom:1px solid var(--line)}.nav-inner{padding:10px 20px}.desktop-menu,.header-links,.nav-tools{display:flex;align-items:center;gap:18px}.desktop-menu a,.header-links a{text-decoration:none;font-size:14px;color:#756348}.nav-tools button,.menu-button{background:#faf4e8;color:#805018}.mobile-menu{display:none;background:#fff9ee;padding:14px}.mobile-menu.active,.mobile-menu.show{display:flex;flex-direction:column;gap:12px}.search-area{padding:20px 0}.search-inner{display:flex;align-items:center;gap:12px}.search-box{display:flex;align-items:center;gap:8px;max-width:700px;width:100%;background:white;border:1px solid var(--line);border-radius:10px;padding:4px 12px}.search-box input{border:0;background:transparent}.search-icon{color:#9c8b70}.clear-search{background:transparent;color:#9a8159}.hero{background-position:center;background-size:contain;background-repeat:no-repeat;aspect-ratio:3.2;max-width:1180px;margin:0 auto 28px;border-radius:16px;overflow:hidden;background:#f5ead2;min-height:180px}.hero img{width:100%;max-height:380px;object-fit:cover}.hero img[src*="logo"]{object-fit:contain}.hero h1{font-size:32px}.categories{padding:10px 0 24px}.category-grid,.categories-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.category-card,.category-grid>a,.category-grid>div{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;padding:14px;text-align:center;text-decoration:none;color:#6e5027}.category-card img,.category-grid img{width:100%;height:160px;object-fit:contain;border-radius:9px}.category-card h3{font-size:16px;margin:12px 0 5px}.category-card p{font-size:12px;color:var(--muted)}.products,.product-grid,.products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.products>div,.product-card{border:1px solid var(--line);background:#fff;border-radius:13px;padding:16px;overflow:hidden}.products img,.product-card img{width:100%;height:220px;object-fit:contain;border-radius:9px}.products h3,.product-card h3{font-size:18px;margin:12px 0 5px}.product-description{font-size:13px;color:#8d806a}.product-actions,.badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.badge{background:#f7efdf;color:#987236;padding:4px 8px;border-radius:6px;font-size:11px}.product-actions button{flex:1;font-size:12px}.delete,.reset,.remove{background:#fcf0ea!important;color:#a95b3b!important;border:1px solid #ebd5c4!important}.cancel,.clear{background:#fff!important;color:#856233!important;border:1px solid #dfceb0!important}.read-more,.read-less{background:transparent;color:#8e6325;border:0;font-size:12px;padding:0;min-height:20px}.benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:36px auto;padding:24px 0;border-top:1px solid var(--line)}.benefit{background:#fcf9f0;border:1px solid var(--line);border-radius:11px;padding:18px;text-align:center}.benefit h3{font-size:15px}.benefit p{font-size:12px;color:var(--muted)}.storefront .cart{position:fixed;bottom:20px;left:22px;z-index:30;padding:12px 20px;background:#805018;color:white;border-radius:40px;box-shadow:0 6px 25px #73431b30}.cart-count,.nav-count{background:#e4b350;color:#6b471a;border-radius:50%;padding:2px 7px;font-size:11px}.toast,.admin-message{display:none;position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:100;background:#fff5dc;border:1px solid #e5c783;border-radius:10px;padding:14px 24px;color:#7a5318}.toast.show,.admin-message.show{display:block}.no-results,.not-found,.empty{padding:48px 20px;text-align:center;color:#958363;background:white;border:1px dashed #e9decd;border-radius:12px;margin:24px auto}.no-results-icon,.empty-icon{font-size:30px;color:#bf8d39}.search-status{font-size:14px;color:var(--muted)}.storefront .product{display:grid;grid-template-columns:1fr 1fr;gap:36px;padding:28px;background:white;border:1px solid var(--line);border-radius:16px;margin:30px 0}.image-box,.product-image{background:#faf7ef;border-radius:12px;overflow:hidden}.storefront .image-box{position:relative}.storefront .image-box>.favorite{position:absolute;top:14px;left:14px;z-index:1;width:42px;padding:0}.storefront .image-box img,.storefront img.product-image{width:100%;height:420px;object-fit:contain}.storefront .info{padding:14px 0}.storefront .description{font-size:15px;line-height:2;color:#8a7960;margin:18px 0}.weights{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.weights button{background:white;border:1px solid #dccdb1;color:#85622e}.weights button.active,.weights .selected{background:#805018;color:#fff}.selected-info{background:#f9f0dd;padding:14px;border-radius:9px;margin:15px 0}.favorite{background:white;color:#9c7435;border:1px solid #dccbab}.checkout-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;margin:28px 0}.checkout-layout .panel{margin:0}.summary{background:#fbf5e8;padding:18px;border-radius:10px;margin:18px 0}.summary-row{display:flex;justify-content:space-between;gap:15px;padding:9px 0}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.cart-item,.cart-panel .item{display:grid;grid-template-columns:100px 1fr auto;gap:16px;align-items:center;border-bottom:1px solid var(--line);padding:18px 0}.cart-panel img{width:100px;height:100px;object-fit:contain}.quantity{display:flex;align-items:center;gap:9px}.quantity input{width:60px}.quantity button{padding:6px;min-width:32px;min-height:32px}.note,.help,.form-message{font-size:12px;color:var(--muted)}.required{color:#c98136}.v6-nav{background:#f9efd9;color:#7d5925;padding:10px 5%;border-bottom:1px solid #eddbb9;font-size:13px;display:flex;gap:20px;align-items:center}.v6-nav a{color:#7d5925;text-decoration:none}.v6-nav span{margin-inline-start:auto}.v6-extra{padding:14px;background:#fffcf5;border:1px solid #eaddc3;border-radius:9px;margin:12px 0}.v6-price{color:#805018;font-size:22px;font-weight:700;padding:12px 0}.v6-store-notice{background:#fff4d7;color:#8b6324;border:1px solid #e6c78d;padding:15px;text-align:center;position:sticky;top:0;z-index:90}.store-admin .container{max-width:1240px}.store-admin h1{font-size:25px}.store-admin .subtitle{font-size:13px;color:var(--muted)}.store-admin .notice{background:#fff7e7;padding:18px;border:1px solid #f1e1bb;border-radius:11px;margin:20px 0;font-size:13px}.settings-layout,.banner-layout{display:grid;grid-template-columns:1.7fr 1fr;gap:24px}.store-admin .panel{padding:24px}.store-admin details.panel>summary{font-size:20px;padding:3px 0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-grid .full{grid-column:1/-1}.logo-preview,.banner-preview,.category-preview{border:1px dashed #dac6a2;border-radius:12px;padding:20px;background:#fffaf0}.logo-preview img{width:100%;height:190px;object-fit:contain}.banner-preview img{width:100%;max-height:280px;object-fit:contain}.category-preview img{width:100%;max-height:200px;object-fit:contain}.settings-preview-info{padding:16px;font-size:13px}.settings-preview-info>*{display:block}.switch-row{display:flex;gap:20px;align-items:center;justify-content:space-between}.switch-row input{width:20px}.form-actions,.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0}.toolbar input,.toolbar select{width:auto;flex:1;min-width:180px}.danger-zone{margin-top:24px;border-top:1px dashed #e8d6be;padding-top:20px}.category-editor{background:#faf6ee;border:1px solid var(--line);border-radius:12px;padding:20px;margin:20px 0}.store-admin .preview{width:100%;height:200px;object-fit:contain;border-radius:10px;background:#fcfaf5}.store-admin .count{font-size:12px;background:#f8eed8;color:#967035;padding:4px 10px;border-radius:12px}.store-admin .products{grid-template-columns:repeat(2,minmax(0,1fr))}.store-admin .category-edit{margin-top:10px}.storefront footer,.store-admin footer{background:#f0e4cf;color:#785a31;padding:28px;margin-top:30px}.storefront footer img{max-width:100px;max-height:110px;object-fit:contain}.storefront .header-title{font-size:23px}.storefront .top a{color:inherit}.storefront .message{padding:12px;border-radius:8px}.storefront .back{display:inline-flex;margin:18px 0}
@media(max-width:900px){.products,.product-grid,.products-grid,.store-admin .products{grid-template-columns:repeat(2,minmax(0,1fr))}.category-grid,.categories-grid,.benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-layout,.settings-layout,.banner-layout{grid-template-columns:1fr}.desktop-menu{display:none}.storefront .product{gap:22px}.storefront .image-box img{height:300px}.store-admin .panel{padding:18px}}
@media(max-width:600px){.container{width:calc(100% - 24px)}.top-inner{font-size:10px;padding:8px 12px;gap:10px}.header-inner,.nav-inner{flex-wrap:wrap;gap:12px}.storefront .product{grid-template-columns:1fr;padding:18px}.settings-grid,.form-row{grid-template-columns:1fr}.settings-grid .full{grid-column:auto}.products img,.product-card img{height:160px}.cart-item,.cart-panel .item{grid-template-columns:65px 1fr}.cart-panel img{width:65px;height:65px}.storefront .actions{flex-wrap:wrap}.benefits{gap:10px}.hero{margin-inline:12px;min-height:100px}.v6-nav{flex-wrap:wrap;gap:12px}.store-admin h1{font-size:21px}.logo img{height:65px;max-width:60px}}
@media print{.v6-nav,.storefront header,.top,.storefront .nav{display:none}.panel{border:0;box-shadow:none}.container{width:100%}}
.mobile-menu.open{display:flex;flex-direction:column;gap:12px}.category-editor{display:none}.storefront .products>.card{position:relative;padding:0;margin:0;overflow:hidden;border-radius:14px}.storefront .products .image-wrap{height:230px;background:#faf7ef;position:relative}.storefront .products .product-image{height:100%;width:100%;object-fit:contain;display:block;border-radius:0}.storefront .products .image-error{position:absolute;inset:0;display:grid;place-items:center;color:#a48d69;font-size:13px}.storefront .products .heart{position:absolute;z-index:2;top:12px;left:12px;width:36px;height:36px;border-radius:50%;min-height:36px;padding:0;background:#fffffff0;color:#af8250;border:1px solid #eee2cb}.storefront .heart.liked,.storefront .favorite.liked{background:#ffefe5;color:#a25c32}.storefront .products .card-body{padding:18px}.storefront .products .product-name-link{display:block;color:#6d4b20;font-size:18px;font-weight:700;text-decoration:none}.storefront .products .description{font-size:13px;line-height:1.8;margin:10px 0}.storefront .products .weights{margin:12px 0}.storefront .products .weight,.storefront .weight{border:1px solid #e5d6bc;background:#fffaf1;color:#89632c;padding:6px 9px;border-radius:6px;font-size:12px;cursor:pointer}.storefront .weight.active,.storefront .weight.selected{background:#805018;color:white;border-color:#805018}.storefront .products .buy{width:100%;margin-top:12px}.empty-section,.no-weights{color:#a18d70;font-size:13px;padding:18px}.storefront .category img{max-width:100%;height:145px;object-fit:contain}.storefront .product-section>.section-title{margin-top:30px}.storefront .product-section>.section-title h2{font-size:24px}.store-admin .products>.product{margin:0;background:#fff;border:1px solid var(--line);padding:16px;border-radius:14px}
@media(max-width:600px){.storefront .products .image-wrap{height:160px}.storefront .products .card-body{padding:12px}.storefront .products .product-name-link{font-size:15px}}

/* Existing script-driven states must remain hidden until explicitly shown. */
.storefront .message,.storefront .not-found,.storefront .form-message,.storefront .no-results,.storefront .search-status,.storefront .clear-search{display:none}
.storefront .no-results.show,.storefront .search-status.show{display:block}.storefront .clear-search.show{display:inline-flex}
.storefront .message{background:var(--positive-bg);color:var(--positive);border:1px solid #cfe3d3;margin-top:18px}.storefront .form-message{background:#fff0e9;border:1px solid #ebc9b6;color:var(--danger);padding:12px;margin-top:16px;border-radius:8px}
.storefront .menu-button{display:none}.storefront .nav-icon{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:42px;min-height:42px;text-decoration:none;border-radius:8px;background:#faf4e8;color:var(--brown);border:1px solid var(--line)}
.store-admin .product-editor-layout{display:grid;grid-template-columns:minmax(290px,340px) minmax(0,1fr);gap:24px;align-items:start}
.store-admin .product-editor-layout>details{position:sticky;top:16px;max-height:calc(100dvh - 32px);overflow:auto;scrollbar-width:thin}
.store-admin .product-editor-layout>section{min-width:0}.store-admin #imagePreview{display:grid;place-items:center;margin:14px 0}.store-admin #imagePreview img{width:100%;height:180px;object-fit:contain}
.store-admin .header-inner{flex-wrap:wrap}.store-admin .header-inner>div{margin-inline-end:auto}.store-admin .field-section>input,.store-admin .field-section>textarea,.store-admin .field-section>select{margin:6px 0 12px}.store-admin .field-section>label{margin-top:12px}.store-admin .product-actions{display:grid;grid-template-columns:1fr 1fr}.store-admin .product-description{overflow-wrap:anywhere}
.storefront .customer-panel{position:sticky;top:18px;align-self:start}.storefront .customer-form .field-section>input{margin:6px 0 16px}.storefront .customer-form .field-section>label{margin-top:12px}.storefront .customer-form .field-section textarea{margin-top:6px}.storefront .cart-item .info{min-width:0}.storefront .cart-item h3{overflow-wrap:anywhere}.storefront .cart-item .quantity{flex-wrap:wrap}.storefront .benefits{max-width:1180px}.storefront .benefit b{display:block;margin-bottom:7px}.storefront .customer-form>.actions button:first-child{flex:1}
@media(min-width:1500px){.store-admin .products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.storefront .menu-button{display:inline-flex}.store-admin .product-editor-layout{grid-template-columns:1fr}.store-admin .product-editor-layout>details,.storefront .customer-panel{position:static;max-height:none}.storefront .hero{min-height:160px}}
@media(max-width:600px){.store-admin .products{grid-template-columns:1fr}.storefront .cart-item>.remove{grid-column:2;justify-self:start}.storefront .header-title h1{font-size:23px}.storefront .header-title p{font-size:12px}.storefront .hero{min-height:110px}.storefront .top-inner{flex-wrap:wrap;gap:4px}.storefront .header-links{flex-wrap:wrap}}

/* Reference storefront language: warm editorial header and consistent commerce cards. */
.storefront,.store-admin{background:radial-gradient(circle at 88% 0,#fff6e3 0,transparent 28%),#f8f5ef}
.storefront header,.store-admin header{background:#fffefbee;backdrop-filter:blur(12px);box-shadow:0 6px 24px #65441a0b}
.storefront .logo img,.store-admin .logo img{background:#fff;border:1px solid #eee2cf;border-radius:12px;padding:4px}.storefront .logo img[src="/brand-official.jpg"],.store-admin .logo img[src="/brand-official.jpg"]{content:url('/store/images/logo-transparent.png')}
.storefront .nav{position:sticky;top:0;z-index:30;background:#fffdf9e8;backdrop-filter:blur(12px)}
.storefront .desktop-menu a{position:relative;padding:8px 2px}.storefront .desktop-menu a::after{content:'';position:absolute;right:0;left:100%;bottom:2px;height:2px;background:#a66816;transition:left .2s}.storefront .desktop-menu a:hover::after{left:0}
.storefront .hero{border:1px solid #e8d5b1;box-shadow:0 12px 34px #6f49171a;border-radius:18px;background-color:#efe0c2}
.storefront .category-card,.storefront .category-grid>a,.storefront .category-grid>div{box-shadow:0 7px 22px #6d481409;transition:transform .2s,border-color .2s,box-shadow .2s}.storefront .category-card:hover,.storefront .category-grid>a:hover{transform:translateY(-3px);border-color:#d9bd87;box-shadow:0 12px 28px #6d481416}
.storefront .products>.card,.storefront .product-card{box-shadow:0 8px 22px #6241160b;transition:transform .2s,border-color .2s,box-shadow .2s}.storefront .products>.card:hover,.storefront .product-card:hover{transform:translateY(-3px);border-color:#d8bd8b;box-shadow:0 13px 30px #62411618}
.storefront .products .image-wrap{background:linear-gradient(145deg,#fff,#f8f0e2)}.storefront .products .buy{background:linear-gradient(110deg,#955c10,#673604)}
.storefront .cart{background:linear-gradient(110deg,#955c10,#673604);border:1px solid #b9883e}.storefront .cart:hover{box-shadow:0 10px 30px #61391440}
.storefront .checkout-layout .panel{border-color:#e8dece;box-shadow:0 9px 28px #6241160d}.storefront .customer-panel{border-top:4px solid #b47a22}.storefront .summary{border:1px solid #ead9ba;background:linear-gradient(145deg,#fffaf0,#f8edda)}
.storefront .benefit{min-height:115px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-color:#e9ddc9;box-shadow:0 5px 18px #68461808}
.storefront footer,.store-admin footer{background:linear-gradient(135deg,#efe1ca,#f8eedf);border-top:1px solid #dec9a8}
.store-admin .notice{border-inline-start:4px solid #bd8430;background:linear-gradient(90deg,#fffdf8,#fff4df)}
.store-admin details.panel{overflow:hidden}.store-admin details.panel>summary{padding:4px 0 12px;color:#573515}.store-admin details.panel[open]>summary{border-bottom:1px solid #eee3d2}
.store-admin .toolbar{background:#faf5eb;border:1px solid #eadfce;border-radius:10px;padding:12px}.store-admin .product-editor-layout>section{border-top:4px solid #b47a22}
.store-admin .category-editor{border-inline-start:4px solid #bc8129}.store-admin .danger-zone{background:#fff8f1;border-color:#e9cdb8}
.storefront dialog,.store-admin dialog{background:#fffefb;border-color:#e1cfad}.store-confirm-dialog .document-heading{background:linear-gradient(90deg,#fff,#fff2d7)}
.storefront input:focus,.storefront select:focus,.storefront textarea:focus,.store-admin input:focus,.store-admin select:focus,.store-admin textarea:focus{outline:3px solid #e6c47d55;border-color:#bf8b3e}
@media(max-width:900px){.storefront .nav{position:static}.storefront .hero{border-radius:13px}.storefront .benefit{min-height:95px}}
/* Readable secondary text across cards and forms; branding is unchanged. */
.storefront .product-description,.storefront .description,.storefront .product-section .muted,.store-admin .subtitle,.store-admin .help{color:#756750}
.storefront .no-results,.storefront .not-found,.storefront .empty,.storefront .empty-section,.storefront .no-weights{color:#7a694f}
.storefront .badge,.store-admin .badge,.store-admin .count{color:#785b2b}
.storefront .top,.storefront .note,.storefront .help{color:#746041}
/* The same confirmation surface for editor and cart; cancel is focused first. */
.store-confirm-dialog{width:min(92vw,510px);padding:26px;direction:rtl}
.store-confirm-dialog #storeConfirmMessage{font-size:17px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;background:#fff8e9;border:1px solid #ecdab7;border-radius:10px}
.store-confirm-dialog .dialog-actions>button{flex:1;min-height:46px}
.store-confirm-dialog [data-confirm-accept]{background:var(--brown)}
.store-confirm-dialog [data-confirm-accept]:hover{background:var(--brand-deep)}
@media(max-width:420px){.store-confirm-dialog{padding:18px}.store-confirm-dialog .dialog-actions{flex-direction:column}.store-confirm-dialog #storeConfirmMessage{font-size:15px}}
/* Shared feedback and supporting surfaces in storefront/editor dialogs. */
.storefront .toast,.store-admin .admin-message{max-width:min(92vw,620px);max-height:35dvh;overflow:auto;overflow-wrap:anywhere;box-shadow:0 8px 28px #61441a20;line-height:1.9;text-align:right}
.storefront .v6-store-notice,.store-admin .v6-store-notice{line-height:1.9;overflow-wrap:anywhere}
.storefront dialog,.store-admin dialog{max-width:min(650px,92vw)}.storefront dialog pre,.store-admin dialog pre{padding:18px;border:1px solid var(--line);background:#fcf8ef;border-radius:10px;font:inherit;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}
.store-admin .danger-zone{display:flex;flex-wrap:wrap;align-items:center;gap:12px;background:#fffaf4;border:1px dashed #e3ccb0;border-radius:9px;padding:16px}
.store-admin .category-preview,.store-admin .banner-preview,.store-admin .logo-preview{min-width:0;overflow-wrap:anywhere}.store-admin .category-card h3,.store-admin .product h3{overflow-wrap:anywhere}
.store-admin .form-actions{padding-top:16px;border-top:1px solid var(--line)}.store-admin .form-actions>.save{min-width:150px}
.storefront .nav-tools{flex-wrap:wrap;gap:10px}.storefront .header-inner,.storefront .nav-inner{min-width:0}.storefront .desktop-menu{flex-wrap:wrap;gap:12px 20px}.storefront .header-title{min-width:0}
.storefront .no-results.show{grid-column:1/-1}.storefront .search-status.show{border:1px solid var(--line);background:#fffaf0;border-radius:8px;padding:12px 16px;margin-block:12px}
.storefront .weight:focus-visible,.storefront .category:focus-visible{outline:3px solid #d6ac5c;outline-offset:3px}
.storefront .selected-info{font-size:14px;line-height:1.9;overflow-wrap:anywhere}.storefront .product .info h1{font-size:30px;line-height:1.7;overflow-wrap:anywhere}
@media(max-width:600px){.storefront .product .info h1{font-size:24px}.storefront .cart-item .info p{font-size:12px}.storefront .cart-item .quantity{gap:7px}.storefront .cart-item .quantity>span{flex-basis:100%}.store-admin .form-actions>button{flex:1}.storefront .nav-inner{justify-content:flex-start}.storefront .nav-tools{margin-inline-start:auto}.storefront .nav-count{font-variant-numeric:tabular-nums}.storefront .v6-nav span{margin-inline-start:0;flex-basis:100%;font-size:11px}}

/* Storefront layout isolation. */
/* Keep the published notice from covering the navigation and checkout fields. */
.storefront .v6-store-notice{position:static}
.storefront .hero{background-position:center;background-size:contain;background-repeat:no-repeat}
.storefront .category-grid>.category>b,
.storefront .category-grid>.category>small{display:block;overflow-wrap:anywhere}
.storefront .category-grid>.category>b{font-size:16px;margin:12px 0 5px}
.storefront .product-section>h2.section-title{font-size:24px;line-height:1.5}
.storefront .products>.card{display:flex;flex-direction:column}
.storefront .products .card-body{display:flex;flex:1;flex-direction:column;min-width:0}
.storefront .products .card-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere;line-height:1.7;font-size:13px;margin:8px 0;max-height:5.1em}
.storefront .products .card-details{align-self:flex-start;margin:0 0 12px;line-height:1.7}
.storefront .products .card-variant-field{display:block;margin:0;font-size:13px}
.storefront .products .card-variant-select{display:block;width:100%;min-width:0;max-width:100%;min-height:44px;margin-top:6px;font:inherit}
.storefront .products .card-variant-price{font-size:17px;line-height:1.6;margin:8px 0;padding:0;min-height:1.6em;overflow-wrap:anywhere}
.storefront .products .product-name-link,
.storefront .products .description{overflow-wrap:anywhere}
.storefront .products .buy{margin-top:auto}
.storefront .products>.card>.v6-price{padding:12px 18px;font-size:18px;overflow-wrap:anywhere}
/* The shared final layer uses !important; restore the storefront sizes explicitly. */
.storefront .products .product-image{height:100%!important;object-fit:cover;object-position:center}
.storefront .product-card img{object-fit:cover;object-position:center}
.storefront .product .image-box>img.product-image{height:420px!important}
.storefront .products .heart{height:36px;min-height:36px!important;padding:0!important;border-radius:50%!important}
.storefront .image-box>.favorite{padding:0!important}
.storefront .products .heart,
.storefront .image-box>.favorite{background:#fffffff0!important;color:#af8250!important;box-shadow:none!important}
.storefront .heart.liked,
.storefront .favorite.liked{background:#ffefe5!important;color:#a25c32!important}
.storefront .weight{padding:6px 9px!important}
.storefront .products .description>button{min-height:20px!important;padding:0!important;border:0!important;background:transparent!important;color:#8e6325!important;box-shadow:none!important;font-size:inherit}
.storefront .search-box input{border:0!important;background:transparent!important;box-shadow:none!important}
.storefront .cart-item .quantity button{min-height:32px!important;padding:6px!important}
.storefront .checkout-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.storefront .checkout-layout>*,
.storefront .product>.info,
.storefront .customer-form .field-section{min-width:0}
.storefront .header-title p{font-size:14px}
@media(max-width:900px){
  .storefront .product .image-box>img.product-image{height:300px!important}
  .storefront .checkout-layout{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px){
  .storefront .products{gap:12px}
  .storefront .products>.card>.v6-price{padding:10px 12px;font-size:15px}
  .storefront .product-section>h2.section-title{font-size:21px}
  .storefront .header-title p{font-size:12px}
}

/* Visual/UX: existing storefront primitives, keyboard feedback and bounded states. */
.storefront .store-skip-link{position:fixed;inset-block-start:8px;inset-inline-start:8px;z-index:2000;padding:12px 18px;background:var(--brand);color:#fff;border-radius:8px;transform:translateY(-180%);text-decoration:none}
.storefront .store-skip-link:focus{transform:none;outline:3px solid #c08a31;outline-offset:3px}
.storefront main:focus{outline:none}
.storefront .store-load-status{padding:14px 20px;border-block-end:1px solid var(--line);background:#fff8e7;color:#684719;text-align:start;font-size:14px;line-height:1.9;overflow-wrap:anywhere}
.storefront .store-load-status[data-state=error]{background:#fff0eb;color:#8c3028;border-color:#ddb4a8}
.storefront .store-field-error{display:block;margin-block:4px 12px;color:#8c3028;font-size:13px;line-height:1.7}
.storefront [aria-invalid=true]{border-color:#ad4f36;box-shadow:0 0 0 1px #ad4f36}
.storefront .customer-form input[type=tel]{direction:ltr;text-align:start;font-variant-numeric:tabular-nums}
.storefront :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--brand);outline-offset:3px}
.storefront .quantity button,.storefront .products .heart,.storefront .image-box>.favorite,.storefront .nav-icon{min-inline-size:44px;min-block-size:44px}
.storefront button[aria-pressed=true]{font-weight:700}
.storefront .summary strong,.storefront .line-total,.storefront .unit-price,.storefront .v6-price,.storefront .quantity strong{font-variant-numeric:tabular-nums;unicode-bidi:plaintext}
.storefront #localOrderResult{margin:12px 0 0;line-height:1.9;font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap}
.storefront #localOrderResult:empty{display:none}
.storefront #localOrderResult[data-state=error]{padding:12px;border:1px solid #ddb4a8;border-inline-start:4px solid #ad4f36;border-radius:8px;background:#fff0eb;color:#8c3028}
.storefront #localOrderResult[data-state=completed]{padding:12px;border:1px solid #bdd8c3;border-inline-start:4px solid #25734f;border-radius:8px;background:#eaf7ee;color:#205b3e}
.storefront #localOrderResult[data-state=pending]{padding:12px;border:1px solid #dfc791;border-inline-start:4px solid #ad781c;border-radius:8px;background:#fff8e7;color:#684719}
.storefront .v6-extra>button{min-block-size:44px;margin-block:4px;max-inline-size:100%;white-space:normal}
.storefront .v6-extra>button+button{background:#fff;color:var(--brand);border:1px solid #d8c7ab}
.storefront dialog{max-block-size:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;min-inline-size:0}
.storefront dialog h2{font-size:20px;line-height:1.7}
@media(max-width:600px){.storefront .v6-extra{display:flex;flex-direction:column;gap:8px}.storefront .v6-extra>button{inline-size:100%}.storefront .cart{left:auto;right:auto;inset-inline-end:12px;inset-inline-start:auto;bottom:12px}.storefront footer{padding-block-end:92px}.storefront .customer-panel,.storefront .cart-panel{padding:18px}.storefront .products .card-body{padding:14px}.storefront .store-load-status{padding:12px}}
@media(prefers-reduced-motion:reduce){.storefront,.storefront *{scroll-behavior:auto!important;animation:none!important;transition:none!important}.storefront .products>.card:hover,.storefront .category-card:hover,.storefront .category-grid>a:hover{transform:none!important}}

@media (max-width:600px) {
  .storefront .products,
  .storefront .product-grid,
  .storefront .products-grid {
    grid-template-columns:minmax(0,1fr);
    min-inline-size:0;
    max-inline-size:100%;
  }

  .storefront .products>.card,
  .storefront .product-card,
  .storefront .products .image-wrap,
  .storefront .products .product-link {
    min-inline-size:0;
    max-inline-size:100%;
  }

  .storefront .products .buy {
    inline-size:100%;
    min-block-size:44px;
    white-space:normal;
  }
}

@media (max-width:420px) {
  .storefront > .cart {
    position:static;
    inline-size:fit-content;
    max-inline-size:calc(100% - 24px);
    margin:12px auto;
  }
}

/* Subtle honeycomb canvas; storefront screen background only. */
@media screen {
  body.storefront {
    background: #fcf8ef url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'96'%20height%3D'166'%20viewBox%3D'0%200%2096%20166'%3E%3Cpath%20d%3D'M48%200%2096%2028v55l-48%2028L0%2083V28ZM0%2083v55l48%2028%2048-28V83M48%20111v55'%20fill%3D'none'%20stroke%3D'%23a97725'%20stroke-opacity%3D'.045'%20stroke-width%3D'1'%2F%3E%3C%2Fsvg%3E") repeat 0 0 / 96px 166px !important;
  }
}
