:root{--wine:#5a111a;--cream:#faf7f1}body{font-family:'IBM Plex Sans Thai',Tahoma,system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}:focus-visible{outline:3px solid #b67824;outline-offset:4px}[hidden]{display:none!important}.store-nav{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;padding:16px 20px;background:#fff;border-bottom:1px solid #e8e0d6}.store-nav a{color:var(--wine);text-decoration:none}.checkout-footer button{border:0;background:transparent;color:var(--wine);text-decoration:underline;cursor:pointer}.catalog-tools{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:14px;background:var(--cream);padding:24px;border-radius:16px;margin:24px 0}.catalog-tools label{display:grid;gap:8px;font-weight:600}.catalog-tools input,.catalog-tools select{width:100%;min-width:0;border:1px solid #d5c9bc;border-radius:8px;padding:12px;background:white}.catalog-tools button{align-self:end;padding:12px 24px;background:var(--wine);color:white;border:0;border-radius:8px}.catalog-grid img{aspect-ratio:1;object-fit:contain;max-width:100%}.catalog-grid article{display:flex;flex-direction:column;gap:12px}.catalog-grid article>.button{margin-top:auto}.privacy-banner{position:fixed;z-index:1200;bottom:18px;left:20px;right:20px;max-width:1180px;margin:auto;background:#fff;padding:22px;border:1px solid #d7c6b4;border-radius:16px;box-shadow:0 12px 48px #0003;display:flex;align-items:center;gap:24px;font-size:14px}.privacy-banner p{margin:6px 0;line-height:1.6}.privacy-banner a{color:var(--wine)}.privacy-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}.privacy-actions button{cursor:pointer;padding:11px 15px;border:1px solid var(--wine);border-radius:8px;background:white;color:var(--wine)}#privacyDialog{max-width:560px;width:calc(100% - 32px);max-height:85dvh;overflow:auto;padding:28px;border:0;border-radius:16px;box-sizing:border-box;color:#302621}#privacyDialog::backdrop{background:#20100ba8}#privacyDialog label{display:block;padding:16px 0;border-bottom:1px solid #eee}#privacyDialog p{font-size:14px;line-height:1.8}.submit-order:disabled{opacity:.55;cursor:not-allowed}.policy-copy{max-width:850px;margin:auto;line-height:1.9}.policy-copy h2{margin-top:30px}.product .photo img{aspect-ratio:1;object-fit:contain}.cart-drawer:not(.open){visibility:hidden}.cart-drawer.open{visibility:visible}@media(max-width:800px){.catalog-tools{grid-template-columns:1fr 1fr}.catalog-tools label:first-child{grid-column:1/-1}.privacy-banner{flex-direction:column;align-items:stretch;gap:8px;bottom:8px;left:8px;right:8px;padding:16px;max-height:65dvh;overflow:auto}.privacy-actions{flex-shrink:1}.privacy-actions button{flex:1}.store-nav{gap:12px;font-size:13px}.checkout-header{gap:16px}.policy-copy{padding:20px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.checkout-grid>*{min-width:0}.upload,.consent-box{display:block}.upload input{width:100%;min-width:0}.bank-box{overflow-wrap:anywhere}.summary-item>div{min-width:0}.field{min-width:0}@media(max-width:760px){.checkout-grid{grid-template-columns:minmax(0,1fr)}.checkout-grid>aside{grid-row:1}.summary-item{grid-template-columns:48px minmax(0,1fr) auto;gap:8px}.summary-item img{width:48px;height:48px}.summary-item strong{font-size:14px}}
.catalog-grid img{height:auto}.catalog-grid a{color:var(--wine);text-decoration:none}.catalog-grid small{display:block;color:#756d67;font-size:12px;margin-top:10px}.catalog-grid h2{line-height:1.6;margin:8px 0}@media(min-width:360px) and (max-width:600px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.catalog-grid article{padding:10px}.catalog-grid h2{font-size:14px!important}.catalog-grid .button{padding:10px 6px;font-size:12px}.catalog-grid small{font-size:11px}}
.catalog-grid article>b{display:block;color:var(--wine);font-size:20px;margin-top:auto}.catalog-grid article>.button{width:100%;text-align:center;min-height:44px;display:flex;align-items:center;justify-content:center}
.catalog-grid article>a.button{background:var(--wine);color:#fff!important;border:1px solid var(--wine);text-decoration:none;line-height:1.35;white-space:normal}.catalog-grid article>a.button:hover{background:#390c12;color:#fff!important}

html{overflow-x:hidden;-webkit-text-size-adjust:100%}body{overflow-x:hidden;-webkit-tap-highlight-color:transparent}button,input,select,textarea{font-size:16px}input,select,textarea{font-size:max(16px,1em)}
@media (min-width:601px) and (max-width:1024px){main{max-width:960px}.catalog-tools{grid-template-columns:2fr 1fr 1fr auto}.store-nav{gap:18px}.panel{padding:26px}}
@media (max-width:600px){.store-nav{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right));padding-bottom:calc(14px + env(safe-area-inset-bottom))}.checkout-header{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.privacy-banner{bottom:max(8px,env(safe-area-inset-bottom));padding-bottom:calc(16px + env(safe-area-inset-bottom))}.mobile-buy-bar{padding-bottom:calc(10px + env(safe-area-inset-bottom))}}

.checkout-logo{display:block;width:132px;height:72px;background:url('assets/images/nokthai-logo-small.webp') center/contain no-repeat;text-indent:-9999px;overflow:hidden}.checkout-logo b,.checkout-logo small{display:none}.footer-logo{width:82px;height:56px;object-fit:contain;vertical-align:middle}.brand img{display:block;width:68px;height:84px;object-fit:contain}.footer-brand .brand img{width:100px;height:118px}
@media(max-width:600px){.checkout-logo{width:92px;height:56px}.brand img{width:54px;height:62px}.footer-brand .brand img{width:82px;height:98px}.footer-logo{width:64px;height:46px}}
.admin-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.admin-product-form{max-width:1000px}.admin-product-fields{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.admin-product-fields label{display:grid;gap:6px;font-weight:600;font-size:13px}.admin-product-fields .full{grid-column:1/-1}.admin-product-fields input,.admin-product-fields select,.admin-product-fields textarea{width:100%;border:1px solid #cfc5b9;padding:11px;border-radius:4px;background:#fff}.admin-product-fields small{font-weight:400;color:var(--muted)}.admin-form-actions{display:flex;gap:10px;margin-top:18px}.admin-form-actions .secondary{background:#756d67}.admin-product-filter{max-width:1000px}.admin-products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.admin-product-card{display:grid;grid-template-columns:110px minmax(0,1fr);gap:15px;padding:15px;background:#fff;border:1px solid var(--line);min-width:0}.admin-product-card>img{width:110px;height:110px;object-fit:contain;background:var(--cream)}.admin-product-card h2{font-size:16px;line-height:1.45;margin:5px 0;overflow-wrap:anywhere}.admin-product-card strong{color:var(--wine);font-size:20px}.admin-product-card p{color:var(--muted);font-size:12px;line-height:1.5}.admin-card-actions{display:flex;gap:8px;align-items:center;margin-top:12px}.admin-card-actions form{margin:0}.admin-card-actions .button{padding:8px 12px;font-size:12px}.admin-card-actions .danger{background:#8a2734}.admin-card-actions .danger:hover{background:#631922}@media(max-width:900px){.admin-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.admin-links{width:100%}.admin-product-fields{grid-template-columns:1fr}.admin-product-fields .full{grid-column:auto}.admin-products-grid{grid-template-columns:1fr}.admin-product-card{grid-template-columns:85px minmax(0,1fr)}.admin-product-card>img{width:85px;height:85px}.admin-nav{align-items:flex-start;gap:12px;flex-direction:column}}
.admin-image-preview{display:block;width:min(260px,100%);height:180px;padding:10px;border:1px solid var(--line);background:var(--cream);border-radius:8px}.admin-image-preview img{width:100%;height:100%;object-fit:contain}.admin-image-preview img[hidden]{display:none}
.admin-order-items{display:grid;gap:8px;margin-top:8px}.admin-order-item{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line)}.admin-order-item img{width:58px;height:58px;object-fit:contain;background:var(--cream);border-radius:3px}.admin-order-item b,.admin-order-item span{display:block}.admin-order-item b{font-size:13px;line-height:1.4}.admin-order-item span{font-size:12px;color:var(--muted)}.admin-order-item strong{color:var(--wine);white-space:nowrap}.admin-order-actions{display:flex;align-items:flex-start;gap:10px;margin-top:12px}.admin-order-actions .status-form{flex:1;margin-top:0}.admin-order-actions .secondary{background:#756d67}.print-order{cursor:pointer;white-space:nowrap}@media print{body{background:#fff!important}.checkout-header,.store-nav,.admin-nav,.bank-warning,.admin-order-actions,.slip-preview,.privacy-banner{display:none!important}main{margin:0!important;padding:0!important;max-width:none!important}.order-card{display:none!important;border:0!important;box-shadow:none!important}.order-card.print-target{display:block!important;margin:0!important;padding:0!important}.order-card.print-target details{display:block!important}.order-card.print-target details>summary{display:none}.order-card.print-target .slip-preview{display:block!important}.order-card.print-target .slip-preview img{max-height:500px!important}.order-card.print-target:before{content:"NOKTHAI · รายละเอียดคำสั่งซื้อ";display:block;font-size:20px;font-weight:700;color:#631922;margin-bottom:18px}}
.admin-order-item img{width:46px;height:46px}.print-order-content{display:none}.print-order-table{width:100%;border-collapse:collapse;margin-top:18px;font-size:13px}.print-order-table th,.print-order-table td{border:1px solid #b9b0a6;padding:8px;text-align:left;vertical-align:middle}.print-order-table th:nth-child(1),.print-order-table td:nth-child(1){width:58px;text-align:center}.print-order-table th:nth-child(3),.print-order-table td:nth-child(3){width:70px;text-align:center}.print-order-table th:nth-child(4),.print-order-table td:nth-child(4){width:100px;text-align:right}.print-order-table img{width:42px;height:42px;object-fit:contain}.print-order-table tfoot th{font-weight:700;color:#631922}
.print-order:disabled{opacity:.45;cursor:not-allowed;transform:none!important;box-shadow:none!important}
.order-date{display:flex;align-items:center;gap:6px;margin-top:7px;color:var(--muted);font-size:12px;flex-wrap:wrap}.order-date span{color:#978d84}.order-date b{color:var(--ink);font-weight:600}.order-customer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0;padding:12px;background:var(--cream);border-left:3px solid var(--wine)}.order-customer>div{min-width:0}.order-customer span{display:block;color:var(--muted);font-size:11px;margin-bottom:3px}.order-customer b{display:block;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.order-customer .order-address{grid-column:1/-1;border-top:1px solid var(--line);padding-top:9px}@media(max-width:600px){.order-customer{grid-template-columns:1fr 1fr}.order-customer .order-address{grid-column:1/-1}}
.admin-order-tools{display:grid;grid-template-columns:minmax(260px,2fr) minmax(180px,1fr) auto;align-items:end;gap:12px;margin:18px 0 22px;padding:16px;background:var(--cream);border:1px solid var(--line)}.admin-order-tools label{display:grid;gap:5px;font-size:12px;font-weight:600}.admin-order-tools input,.admin-order-tools select{width:100%;padding:10px;border:1px solid #cfc5b9;background:#fff;border-radius:4px}.admin-order-tools .hint{padding-bottom:10px}@media(max-width:600px){.admin-order-tools{grid-template-columns:1fr}.admin-order-tools .hint{padding:0}}
.admin-status-cards{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:18px 0}.admin-status-card{border:1px solid var(--line);border-top:4px solid var(--muted);background:#fff;padding:14px 10px;text-align:left;cursor:pointer;border-radius:7px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.admin-status-card b,.admin-status-card span{display:block}.admin-status-card b{font-size:24px;color:var(--wine)}.admin-status-card span{font-size:11px;color:var(--muted);line-height:1.35;margin-top:4px}.admin-status-card:hover,.admin-status-card.active{transform:translateY(-2px);box-shadow:0 7px 16px rgba(57,12,18,.1);border-color:var(--wine)}.admin-status-card.all{border-top-color:var(--wine)}.admin-status-card.status-pending{border-top-color:#b78326}.admin-status-card.status-paid{border-top-color:#4b8d65}.admin-status-card.status-packing{border-top-color:#4379a8}.admin-status-card.status-shipped{border-top-color:#326d8e}.admin-status-card.status-completed{border-top-color:#2f6e4d}.admin-status-card.status-cancelled{border-top-color:#9b4b52}@media(max-width:900px){.admin-status-cards{grid-template-columns:repeat(4,1fr)}}@media(max-width:600px){.admin-status-cards{grid-template-columns:repeat(2,1fr);gap:8px}.admin-status-card{padding:11px 9px}}
.admin-date-filter{display:flex;justify-content:flex-end;margin:-10px 0 18px}.admin-date-filter label{display:grid;gap:5px;font-size:12px;font-weight:600;width:min(260px,100%)}.admin-date-filter input{padding:10px;border:1px solid #cfc5b9;background:#fff;border-radius:4px}
.order-card{padding:14px;margin-bottom:10px}.order-card-head{align-items:center}.order-card-head h2{font-size:20px;margin:4px 0}.order-number{font-size:18px!important}.order-customer{gap:6px;margin:10px 0;padding:9px}.order-customer span{font-size:10px;margin-bottom:1px}.order-customer b{font-size:12px;line-height:1.35}.order-date{font-size:11px;margin-top:4px}.order-card details summary{padding:8px 0;font-size:13px}.order-card .status-form{gap:6px}.order-card .status-form select,.order-card .status-form input{padding:8px;font-size:13px}.admin-order-actions{margin-top:8px}
.catalog-actions{display:grid;grid-template-columns:1.2fr 1fr;gap:8px;margin-top:12px}.catalog-actions .button{width:100%;text-align:center;padding:10px 8px;font-size:13px}.catalog-actions .secondary{background:#756d67}.add-to-cart.added{background:#2f6e4d}.catalog-quick-cart{position:fixed;z-index:25;right:22px;bottom:22px;background:var(--wine);color:#fff;padding:14px 20px;border-radius:999px;box-shadow:0 10px 25px rgba(57,12,18,.2);font-weight:600}.catalog-quick-cart:hover{transform:translateY(-2px);color:#fff}@media(max-width:600px){.catalog-actions{grid-template-columns:1fr}.catalog-quick-cart{left:14px;right:14px;bottom:14px;text-align:center}}
.catalog-quick-cart.empty{background:#756d67;opacity:.9}
.catalog-quick-cart{display:flex;align-items:center;justify-content:center;gap:5px;width:62px;height:62px;padding:0;right:24px;bottom:max(24px,env(safe-area-inset-bottom));font-size:0;border:2px solid #fff}.catalog-quick-cart::before{content:"🛒";font-size:25px;line-height:1}.catalog-quick-cart span{display:block;position:absolute;right:-5px;top:-6px;min-width:22px;height:22px;padding:0 5px;border-radius:99px;background:#d8ad6f;color:#390c12;font-size:11px;line-height:22px;text-align:center}.catalog-quick-cart.empty span{display:none}@media(max-width:600px){.catalog-quick-cart{right:16px;left:auto;bottom:max(16px,env(safe-area-inset-bottom));width:56px;height:56px}.catalog-quick-cart::before{font-size:22px}}
.catalog-cart-panel{position:fixed;z-index:40;right:24px;bottom:96px;width:min(370px,calc(100vw - 32px));max-height:70vh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 45px rgba(57,12,18,.2);padding:16px}.catalog-cart-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:10px;border-bottom:1px solid var(--line);color:var(--wine);font-size:18px}.catalog-cart-head button{border:0;background:none;font-size:24px;cursor:pointer}.catalog-cart-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.catalog-cart-item img{width:48px;height:48px;object-fit:contain;background:var(--cream)}.catalog-cart-item b,.catalog-cart-item small{display:block;font-size:12px;line-height:1.4}.catalog-cart-item small{color:var(--muted)}.catalog-cart-item>button{border:0;background:none;color:#9b4b52;font-size:12px;cursor:pointer}.catalog-cart-actions{display:flex;gap:8px;margin-top:12px}.catalog-cart-actions button,.catalog-cart-actions a{flex:1;text-align:center;padding:10px;border:1px solid var(--wine);border-radius:5px;background:#fff;color:var(--wine);font-size:13px;cursor:pointer;text-decoration:none}.catalog-cart-actions a{background:var(--wine);color:#fff}.catalog-cart-empty{text-align:center;color:var(--muted);padding:24px 8px}@media(max-width:600px){.catalog-cart-panel{right:16px;bottom:84px;width:calc(100vw - 32px)}}
.catalog-quick-cart{position:fixed!important;inset:18px 24px auto auto!important;z-index:9999!important;transform:none!important;margin:0!important;display:flex!important}.catalog-quick-cart:hover{transform:translateY(-3px)!important}.catalog-cart-panel{top:92px;bottom:auto}@media(max-width:600px){.catalog-quick-cart{right:16px!important;top:max(14px,env(safe-area-inset-top))!important;bottom:auto!important;left:auto!important}.catalog-cart-panel{top:82px;right:16px;bottom:auto}}
.catalog-actions .secondary{color:#fff!important}
@media(max-width:600px){body{font-size:16px}.checkout-header{height:64px;padding-left:14px;padding-right:14px}.checkout-logo b{font-size:18px}.checkout-logo small{font-size:7px}.checkout-header>a:last-child{font-size:12px}.store-nav{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none}.store-nav::-webkit-scrollbar{display:none}.store-nav a{flex:0 0 auto;padding:10px 12px}.content-page{padding-left:16px;padding-right:16px}.content-page h1{font-size:32px;line-height:1.25}.lead-copy{font-size:17px}.catalog-grid{grid-template-columns:1fr!important;gap:14px}.catalog-grid article{padding:12px}.catalog-grid img{max-height:250px}.catalog-grid h2{font-size:17px!important}.catalog-actions{grid-template-columns:1fr 1fr!important;gap:8px}.catalog-actions .button{min-height:46px;display:flex;align-items:center;justify-content:center}.catalog-cart-panel{max-height:65vh}.catalog-quick-cart{top:calc(14px + env(safe-area-inset-top))!important}.button,.submit-order{min-height:46px}}
.slip-preview .slip{display:block;width:min(320px,50%);max-width:320px;max-height:360px;object-fit:contain;object-position:left center;margin:10px 0}
@media print{.order-card.print-target>*{display:none!important}.order-card.print-target .print-order-content{display:block!important}.order-card.print-target{display:block!important}.order-card.print-target .print-order-content h1{font-size:22px;color:#631922;margin:0 0 12px}.order-card.print-target .print-order-content p{line-height:1.6}.order-card.print-target .print-order-table{display:table!important}.order-card.print-target .print-order-table img{width:42px;height:42px}}
.order-card.print-target>details,.order-card.print-target>.admin-order-actions,.order-card.print-target>.slip-preview{display:none!important}.order-card.print-target .print-order-content{display:block!important}
@media print{.order-card.print-target:before{content:none!important}.checkout-footer,body>footer{display:none!important}}
.checkout-header{box-shadow:0 2px 14px rgba(57,12,18,.05)}.store-nav a{padding:8px 12px;border-radius:999px}.store-nav a:hover,.store-nav a:focus-visible{background:var(--cream);color:var(--wine)}.panel{border-radius:10px;box-shadow:0 8px 24px rgba(57,12,18,.04)}.button,.submit-order{border-radius:6px}.field input,.field textarea,.field select{border-radius:6px}.status{font-weight:600}.order-card{border-radius:10px;box-shadow:0 6px 20px rgba(57,12,18,.05)}@media(max-width:600px){.panel{border-radius:8px}.store-nav{padding-top:12px;padding-bottom:12px}}
.checkout-header{position:fixed!important;top:0;left:0;right:0;width:100%;z-index:1000}.checkout-header+.store-nav{position:fixed;top:80px;left:0;right:0;width:100%;z-index:999;box-shadow:0 3px 12px rgba(57,12,18,.06)}.checkout-header~main{padding-top:145px}@media(max-width:600px){.checkout-header{height:64px}.checkout-header+.store-nav{top:64px}.checkout-header~main{padding-top:132px}}
@media(min-width:601px){.checkout-header+.store-nav{top:0;height:80px;padding:0 250px 0 190px;background:transparent;border-bottom:0;box-shadow:none;justify-content:center;gap:28px;pointer-events:auto}.checkout-header~main{padding-top:105px}.checkout-header+.store-nav a{padding:9px 12px}}
@media(min-width:601px){.checkout-header+.store-nav{top:80px;height:auto;padding:16px 20px;background:#fff;border-bottom:1px solid #e8e0d6;box-shadow:0 3px 12px rgba(57,12,18,.06);justify-content:center;gap:24px}.checkout-header~main{padding-top:145px}.checkout-header+.store-nav a{padding:8px 12px}}
@media(min-width:601px){.checkout-header+.store-nav{top:0;height:80px;padding:0 230px 0 190px;background:transparent;border-bottom:0;box-shadow:none;z-index:1001;justify-content:center;gap:22px;pointer-events:none}.checkout-header+.store-nav a{pointer-events:auto;padding:9px 10px}.checkout-header~main{padding-top:105px}}
@media(min-width:601px){.checkout-header+.store-nav{position:fixed!important;left:0!important;right:0!important;width:100%!important;display:flex!important;justify-content:center!important;align-items:center!important;padding:0!important;gap:28px!important;top:0!important;height:80px!important}.checkout-header+.store-nav a{flex:0 0 auto}}
@page{size:A4 portrait;margin:12mm}@media print{html,body{width:210mm;min-height:297mm;background:#fff!important;color:#222;font-size:10.5pt}.order-card.print-target{width:186mm!important;min-height:0!important;margin:0!important;padding:0!important}.order-card.print-target .print-order-content{width:100%!important}.order-card.print-target .print-order-content h1{font-size:18pt;margin:0 0 5mm}.order-card.print-target .print-order-content p{font-size:10pt;margin:2mm 0;line-height:1.45}.print-order-table{width:100%!important;table-layout:fixed;font-size:9.5pt;margin-top:5mm}.print-order-table th,.print-order-table td{padding:2.5mm 2mm;word-break:break-word}.print-order-table th:nth-child(1),.print-order-table td:nth-child(1){width:18mm}.print-order-table th:nth-child(2),.print-order-table td:nth-child(2){width:auto}.print-order-table th:nth-child(3),.print-order-table td:nth-child(3){width:20mm}.print-order-table th:nth-child(4),.print-order-table td:nth-child(4){width:27mm}.print-order-table img{width:14mm;height:14mm;object-fit:contain}.print-order-table tr{break-inside:avoid;page-break-inside:avoid}}

/* Keep the shared page navigation visually aligned with the homepage header. */
.checkout-header{height:86px!important;padding:0 clamp(20px,5vw,80px)!important;gap:3rem!important;background:rgba(255,253,248,.95)!important;border-bottom:1px solid #eee6da!important;backdrop-filter:blur(16px)!important;box-shadow:0 2px 14px rgba(57,12,18,.05)!important}
.checkout-logo{width:58px!important;height:70px!important;flex:0 0 58px!important}
.checkout-header>a:last-child{font-size:12px!important;color:#746e68!important;white-space:nowrap!important}
.checkout-header+.store-nav{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;height:86px!important;padding:0 clamp(150px,18vw,280px)!important;gap:clamp(20px,3vw,46px)!important;background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:none!important;flex-wrap:nowrap!important;z-index:1001!important}
.checkout-header+.store-nav a{position:relative;padding:9px 2px!important;border-radius:0!important;font-size:14px!important;white-space:nowrap!important;pointer-events:auto!important;background:transparent!important}
.checkout-header+.store-nav a::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:2px;background:#bb8a45;transform:scaleX(0);transform-origin:center;transition:transform .25s ease}
.checkout-header+.store-nav a:hover::after,.checkout-header+.store-nav a:focus-visible::after{transform:scaleX(1)}
.checkout-header+.store-nav a:hover,.checkout-header+.store-nav a:focus-visible{color:#5a111a!important;background:transparent!important}
@media(max-width:600px){.checkout-header{height:70px!important;padding:0 16px!important;gap:1rem!important}.checkout-logo{width:48px!important;height:58px!important;flex-basis:48px!important}.checkout-header>a:last-child{font-size:11px!important}.checkout-header+.store-nav{top:70px!important;height:52px!important;padding:0 14px!important;gap:12px!important;background:#fffdf8!important;border-bottom:1px solid #e8e0d6!important;box-shadow:0 3px 12px rgba(57,12,18,.06)!important;pointer-events:auto!important;overflow-x:auto!important;justify-content:flex-start!important}.checkout-header+.store-nav a{padding:10px 2px!important;font-size:13px!important}.checkout-header~main{padding-top:132px!important}}

/* Shared header tools: mirror the homepage search and cart controls. */
.checkout-header .header-tools{display:flex!important;align-items:center!important;gap:10px!important;margin-left:auto!important;position:relative!important;z-index:1002!important}
.checkout-header .icon-btn{display:grid!important;place-items:center!important;width:34px!important;height:40px!important;border:0!important;background:transparent!important;color:#24211f!important;font-size:27px!important;line-height:1!important;text-decoration:none!important}
.checkout-header .cart-btn{display:inline-flex!important;align-items:center!important;background:#5a111a!important;color:#fff!important;border:0!important;border-radius:99px!important;padding:11px 16px!important;white-space:nowrap!important;text-decoration:none!important;font-size:14px!important}
.checkout-header .cart-btn span{display:inline-grid!important;place-items:center!important;min-width:20px!important;height:20px!important;margin-left:7px!important;border-radius:50%!important;background:#fff!important;color:#5a111a!important;font-weight:700!important}
@media(max-width:600px){.checkout-header .icon-btn{display:none!important}.checkout-header .cart-btn{padding:9px 13px!important;font-size:13px!important}.checkout-header+.store-nav{padding-right:14px!important}}

/* Normalize public-page links so browser defaults never introduce blue underlined text. */
.storefront-page a{color:var(--wine)!important;text-decoration:none!important}
.storefront-page a:hover,.storefront-page a:focus-visible{color:var(--wine2,#390c12)!important;text-decoration:none!important}
.storefront-page .button,.storefront-page .submit-order,.storefront-page .cart-btn{color:#fff!important}
.storefront-page .archive-tabs a.active,.storefront-page .catalog-actions a.button,.storefront-page .catalog-cart-actions a{color:#fff!important}
.storefront-page .checkout-logo{color:var(--wine)!important}

/* Use the exact same logo asset and sizing as the homepage header. */
.checkout-logo{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:48px!important;height:58px!important;flex:0 0 48px!important;background:none!important;text-indent:0!important;overflow:visible!important}
.checkout-logo img{display:block!important;width:48px!important;height:58px!important;object-fit:contain!important;object-position:center!important}
@media(max-width:600px){.checkout-logo{width:48px!important;height:58px!important;flex-basis:48px!important}.checkout-logo img{width:48px!important;height:58px!important}}

/* Final fixed positioning rule for every public page. */
body.storefront-page{animation:none!important}
body.storefront-page .checkout-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:1100!important}
body.storefront-page .store-nav{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;height:86px!important;z-index:1101!important}
body.storefront-page main{padding-top:105px!important}
@media(max-width:600px){body.storefront-page .checkout-header{height:70px!important}body.storefront-page .store-nav{top:70px!important;height:52px!important;z-index:1101!important}body.storefront-page main{padding-top:132px!important}}
