:root{--ink:#151515;--paper:#fff;--muted:#686868;--line:#dedede}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 Arial,Helvetica,sans-serif}
button,input,textarea,select{font:inherit}
button{cursor:pointer;color:inherit}
a{color:inherit;text-decoration:none}
[hidden]{display:none!important}
.wrap{width:min(1370px,calc(100% - 96px));margin:auto}
.storefront-page{min-height:100vh;display:flex;flex-direction:column}
.storefront-page main{flex:1}
.store-header{background:#fff;border-bottom:1px solid #ededed;position:relative;z-index:3}
.header-inner{height:102px;max-width:1500px;margin:0 auto;padding:0 5%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;position:relative}
.icon-button{border:0;background:transparent;width:42px;height:42px;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:8px 5px}
.menu-toggle span{display:block;width:24px;height:1px;background:#111}
.brand-logo{display:flex;align-items:center;justify-content:center}
.brand-logo img{display:block;width:62px;height:62px;object-fit:contain}
.bag-button{justify-self:end;display:flex;align-items:center;gap:5px;padding:9px 0;border:0;background:none;font-size:14px}
.bag-button svg{width:25px;height:25px;stroke:#111;stroke-width:1.2}
.bag-button span{font-weight:400}
.menu-panel{position:absolute;left:5%;top:calc(100% - 3px);width:270px;background:#fff;border:1px solid #dedede;padding:10px 18px;box-shadow:0 10px 30px #0000000b}
.menu-panel button{display:flex;justify-content:space-between;width:100%;padding:17px 0;border:0;background:none;text-align:left;font:16px Georgia,serif}
.hero-banner{position:relative;width:100%;max-height:680px;overflow:hidden;background:#f2f2f2}
.hero-banner>img{display:block;width:100%;height:min(61vw,680px);min-height:320px;object-fit:cover}
.hero-caption{position:absolute;inset:auto 30px 11%;color:#fff;text-align:center;text-shadow:0 1px 10px #0009}
.hero-caption h1{font:400 clamp(28px,4vw,58px) Georgia,serif;margin:0}
.hero-caption p{font-size:16px;margin:10px 0}
.collection{width:min(1500px,90%);margin:0 auto;padding:60px 0 100px}
.collection-heading{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 28px}
.collection-heading h1{font-size:14px;font-weight:600;letter-spacing:.12em;margin:0}
.collection-heading span{color:#686868;font-size:14px}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 18px}
.product-card{min-width:0}
.real-image{display:block;border:0;padding:0;width:100%;aspect-ratio:3/4;background:#f3f3f3;overflow:hidden}
.real-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.real-image:hover img{transform:scale(1.03)}
.product-info{width:100%;padding:14px 0 0;background:none;border:0;display:flex;flex-direction:column;gap:8px;align-items:flex-start;text-align:left;font-size:14px;line-height:1.4}
.product-info span:first-child{font-weight:600;letter-spacing:.035em}.product-info span:last-child{color:#555}
.catalog-status{color:#686868;font-size:14px;line-height:1.6;margin:0;min-height:120px}
.store-footer{background:#fff;border-top:1px solid #e8e8e8;padding:28px 5%;display:flex;justify-content:space-between;gap:20px;font-size:14px;color:#555}
.overlay{position:fixed;inset:0;background:#0009;z-index:5}
.drawer{position:fixed;right:0;top:0;height:100dvh;width:min(520px,100%);overflow:auto;background:#fff;z-index:6;padding:32px}
.drawer-head{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:22px}
.drawer-head h2{font-size:23px;font-weight:500;line-height:1.2;margin:0}
.eyebrow{font-size:12px;letter-spacing:.15em;color:#686868;font-weight:700;margin:0 0 12px}
.close{background:none;border:0;font-size:34px;line-height:1;color:#151515}
.cart-empty{padding:70px 0;text-align:center;color:var(--muted)}
.cart-line{padding:20px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px}
.cart-line p{color:var(--muted);font-size:14px}
.remove{border:0;background:none;text-decoration:underline;font-size:14px;padding:0}
.total{display:flex;justify-content:space-between;font-weight:700;padding:25px 0}
.primary{display:inline-flex;align-items:center;justify-content:space-between;gap:40px;background:#161616;color:#fff;border:0;padding:17px 22px;font-weight:700;font-size:14px;letter-spacing:.03em}
.primary:hover{background:#333}.primary span{color:#fff}
.drawer .primary{width:100%;margin-top:18px}
.product-button{width:100%;background:none;border:1px solid #bdbdbd;padding:12px;font-weight:700;font-size:14px;text-align:left}
.product-button:hover{background:#151515;color:#fff}
.checkout-note{background:#f5f5f5;padding:16px;font-size:14px;line-height:1.6}
.checkout-note strong{display:block}
.checkout-form label,.order-card label{display:block;font-weight:700;font-size:14px;margin-top:18px}
.checkout-form input,.checkout-form textarea,.order-card input,.order-card select{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #bdbdbd;background:#fff;font:inherit}
.bank{margin-top:20px;padding:20px;background:#fff;border:1px solid #ededed}
.bank h3{margin-top:0}.bank img{display:block;width:min(100%,290px);height:auto;margin:auto}
.bank dl>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:9px 0}
.bank dt,.bank dd,.bank p{font-size:14px;line-height:1.6}.bank dd{margin:0;font-weight:700}
.order-result p{line-height:1.6}.order-result .product-button{margin-top:12px}
.order-history-link{display:block;background:none;border:0;text-decoration:underline;padding:20px 0;font-size:14px}
dialog{border:0;padding:0;width:min(800px,calc(100% - 32px));background:#fff;color:#151515}
dialog::backdrop{background:#0009}.dialog-close{position:absolute;right:20px;top:18px;z-index:1}
.dialog-layout{display:grid;grid-template-columns:1fr 1fr}
.gallery-detail{background:#f3f3f3;padding:20px}.gallery-detail>img{width:100%;max-height:420px;object-fit:contain}
.thumbs{display:flex;gap:8px;overflow:auto;margin-top:10px}.thumbs button{border:1px solid #bdbdbd;padding:0;background:none;width:54px;height:62px;flex:none}.thumbs img{width:100%;height:100%;object-fit:cover}
.dialog-info{padding:65px 35px 35px}.dialog-info h2{font:400 42px/1 Georgia,serif;margin:0 0 12px}
.dialog-info p{color:var(--muted);line-height:1.6}.description{white-space:pre-line}
.size-link{display:block;font-size:14px;text-decoration:underline;margin:15px 0}
.dialog-info select{display:block;width:100%;padding:13px;margin:20px 0;border:1px solid #bdbdbd;background:#fff;font:inherit}
.dialog-info .primary{width:100%}
.faq-dialog{width:min(640px,calc(100% - 30px));padding:36px;background:#fff;max-height:85vh}
.faq-heading{display:flex;justify-content:space-between;align-items:start;padding-bottom:25px}
.faq-heading h2{font:400 32px Georgia,serif;margin:0}.faq-heading .eyebrow{margin:0 0 12px}
.faq-dialog details{border-top:1px solid #ddd}.faq-dialog details:last-child{border-bottom:1px solid #ddd}
.faq-dialog summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;cursor:pointer;font-size:16px;list-style:none}
.faq-dialog summary::-webkit-details-marker{display:none}.faq-dialog summary span:after{content:'+';font-size:20px;font-weight:300}.faq-dialog details[open] summary span:after{content:'−'}
.faq-dialog details p{margin:0 0 22px;color:#555;line-height:1.7;white-space:pre-line;font-size:16px}.faq-empty{color:#686868;line-height:1.6}
.header{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.logo{font-weight:700;font-size:30px;letter-spacing:-.07em}.text-link{font-size:14px;font-weight:700;border-bottom:1px solid;padding-bottom:8px}.text-link:hover{text-decoration:underline}
.admin-wrap{max-width:960px;padding:65px 0 100px}.admin-wrap h1{font:400 clamp(48px,7vw,76px)/1 Georgia,serif;margin:0}
.admin-intro{color:var(--muted);line-height:1.6;margin:20px 0 30px}
.admin-bar,.editor-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.admin-bar{margin-top:30px;border-bottom:1px solid var(--line)}
.admin-bar h2,.editor h2{font:400 36px Georgia,serif}.admin-product{display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line);padding:18px 0}
.admin-product img{width:70px;height:80px;object-fit:cover}.admin-product div{flex:1}.admin-product p{color:var(--muted);font-size:14px}
.admin-product button,.image-list button{border:1px solid #bbb;background:none;padding:9px;font-size:14px}
.editor,.order-card{background:#f5f5f5}.editor{margin-top:45px;padding:30px}
.editor label,#setup-form label{display:block;font-weight:700;margin:20px 0;font-size:14px}
.editor label small{display:block;color:var(--muted);font-weight:400;margin:8px 0;font-size:14px}
.editor input,.editor textarea,#setup-form input{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #bdbdbd;background:#fff;font:inherit}
.editor input[type=file]{font-size:14px}.editor button:disabled{opacity:.6}
.image-list{display:flex;gap:12px;flex-wrap:wrap}.image-list div{display:flex;flex-direction:column;gap:5px}.image-list img{width:100px;height:115px;object-fit:cover}.image-list small{font-size:14px}
#setup-form{max-width:450px}#editor-message{color:#555}.admin-help{font-size:14px;line-height:1.6;color:#666}
.settings-logo{display:block;width:90px;height:90px;object-fit:contain;background:#fff}.editor #hero-preview img{width:min(100%,460px);max-height:220px;object-fit:cover}
.editor .checkbox-label{display:flex;gap:10px;align-items:center}.editor .checkbox-label input{display:inline;width:auto;margin:0}
.faq-edit-row{border-top:1px solid #d5d5d5;padding:10px 0 20px}.faq-controls{display:flex;gap:8px}.faq-controls button{background:#fff;border:1px solid #ccc;padding:9px}
.editor>h3{margin-top:32px}.editor>h3:first-child{margin-top:0}#settings-form #add-faq{width:auto}
.order-card{padding:20px;margin:15px 0;line-height:1.5}.order-card p{font-size:14px}.order-card .save-order{margin-top:15px}
#orders-panel .admin-bar .product-button{width:auto}#orders-panel>p{color:var(--muted);line-height:1.6}
@media(max-width:800px){.wrap{width:calc(100% - 36px)}.header-inner{height:80px;padding:0 20px}.brand-logo img{width:52px;height:52px}.menu-panel{left:20px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 10px}.collection{width:calc(100% - 32px);padding:42px 0 70px}.hero-banner>img{height:70vw;min-height:250px}.faq-dialog{padding:25px}.store-footer{padding:24px 16px}.drawer{padding:24px}.dialog-layout{grid-template-columns:1fr}.dialog-info{padding:30px}.dialog-info h2{font-size:34px}}
@media(max-width:600px){.admin-product{flex-wrap:wrap}.admin-product div{min-width:calc(100% - 100px)}.editor{padding:20px}.logo{font-size:24px}}

/* Product gallery and order flow */
.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:50px 22px}
.real-image{background:#fff}.real-image img{object-fit:contain}.product-info small{font-size:11px;color:#777;font-weight:400}.preview-label{font-size:12px;letter-spacing:.06em;color:#666}.purchase-actions button:disabled{opacity:.4;cursor:not-allowed}
#product-dialog{width:min(1320px,calc(100% - 40px));max-width:none;max-height:calc(100vh - 40px);overflow:auto}
#product-dialog .dialog-layout{grid-template-columns:minmax(0,1.3fr) minmax(320px,.8fr)}
#product-dialog .gallery-detail{background:#fff;padding:35px;display:flex;flex-direction:column}
.gallery-main{height:min(68vh,720px);min-height:0;overflow:hidden;display:grid;place-items:center;background:#f8f8f8}
.gallery-main img{display:block;width:100%;height:100%;min-width:0;min-height:0;max-height:100%;object-fit:contain}
.thumbs button[aria-current=true]{border-color:#111}
.dialog-info{padding:70px 50px 45px}.dialog-info h2{font-size:clamp(32px,3vw,48px);text-transform:uppercase}
.detail-price{font-size:18px;color:#111!important;margin:18px 0 28px}
.size-heading{display:flex;justify-content:space-between;align-items:center;font-size:14px}.size-heading .size-link{margin:0}
.size-options{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 26px}.size-options input{position:absolute;opacity:0}.size-options span{display:block;padding:8px 16px;border:1px solid #bbb;border-radius:24px;min-width:48px;text-align:center;font-size:14px}.size-options input:checked+span{background:#111;color:#fff;border-color:#111}.size-options input:focus-visible+span{outline:2px solid #777;outline-offset:2px}
.purchase-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.purchase-actions .product-button,.purchase-actions .primary{min-height:52px;display:flex;align-items:center;justify-content:center;text-align:center;padding:10px;font-size:14px}.purchase-actions .primary{width:100%}
.detail-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:30px}.detail-tabs button{border:1px solid #999;background:#fff;min-height:48px;padding:6px;font-size:12px;line-height:1.3}.detail-tabs button[aria-selected=true]{background:#111;color:#fff;border-color:#111}.detail-copy{white-space:pre-line;line-height:1.7;color:#444;margin-top:20px;font-size:15px}
.cart-line img{width:75px;height:96px;object-fit:cover;background:#f4f4f4}.bag-item-info{flex:1}.bag-item-info p{margin:7px 0}.cart-line>strong{white-space:nowrap;font-size:14px}.bag-message{font-size:14px;color:#666;line-height:1.6;white-space:pre-line}.back-link{border:0;background:none;text-decoration:underline;padding:20px 0;font-size:14px}.checkout-summary p{display:flex;justify-content:space-between;gap:12px;font-size:14px}.checkout-summary .total{border-top:1px solid #ddd;padding:16px 0}.checkout-form h3{font-size:18px}.payment-option{border-top:1px solid #ddd;border-bottom:1px solid #ddd;margin:20px 0}.payment-option summary{padding:16px 0;cursor:pointer;font-weight:700}.receipt-form{margin:20px 0}.receipt-form label{display:block;font-weight:700;font-size:14px}.receipt-form input{display:block;margin:10px 0;font-size:14px;max-width:100%}.receipt-form p{font-size:14px;color:#555}.receipt-link{text-decoration:underline;font-weight:700}
@media(max-width:800px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 10px}#product-dialog{width:100%;height:100dvh;max-height:100dvh;margin:0}#product-dialog .dialog-layout{grid-template-columns:1fr}#product-dialog .gallery-detail{padding:55px 16px 12px}.gallery-main{height:55vh}.dialog-info{padding:25px 18px 45px}.detail-tabs button{font-size:12px}.cart-line img{width:65px;height:84px}}

/* Full-screen gallery and two-column collection. */
.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 22px}
.product-info span:first-child{font-size:14px;letter-spacing:0;line-height:1.35;overflow-wrap:normal}
#product-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;background:#fff;overflow-y:auto}
#product-dialog::backdrop{background:#fff}
.gallery-nav{display:flex;justify-content:space-between;align-items:center;padding:28px 5% 0;gap:20px}
.gallery-nav button{background:none;border:0;padding:6px 0;font:14px Georgia,serif;text-decoration:underline;text-underline-offset:4px}
.gallery-nav button:disabled{opacity:.4;cursor:default}
.gallery-nav button:focus-visible,.thumbs button:focus-visible{outline:2px solid #111;outline-offset:4px}
#product-dialog .gallery-detail{padding:25px 35px 35px}.gallery-main{background:#fff}
.thumbs{position:static;padding:10px 0 5px;gap:10px;overflow-x:auto;overflow-y:hidden}
.thumbs button{border:1px solid #bdbdbd;box-shadow:none;padding:0;background:#fff}
.thumbs button[aria-current=true]{border-color:#111}
.payment-section{margin:30px 0 0}.payment-section h3{font-size:18px;margin:0}
.payment-option summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:56px}
.payment-option summary::-webkit-details-marker{display:none}.payment-option summary:after{content:'+';font-size:24px;font-weight:400}.payment-option[open] summary:after{content:'−'}
.payment-option .bank{border:0;padding:0 0 18px;margin:0}.payment-option .bank p{font-size:14px;line-height:1.6}
.upload-control{display:inline-flex!important;align-items:center;justify-content:center;position:relative;min-height:48px;padding:12px 20px;border:1px solid #111;background:#fff;font-weight:700;cursor:pointer}
.upload-control input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;padding:0}
.upload-control:focus-within{outline:2px solid #111;outline-offset:3px}.file-name{margin:8px 0 0;color:#666;overflow-wrap:anywhere}
@media(max-width:800px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 10px}.gallery-nav{padding:24px 16px 0}#product-dialog .gallery-detail{padding:20px 16px 12px}.detail-tabs button{font-size:12px}.product-info span:first-child{font-size:14px;letter-spacing:0}}

.shipping-options{border:0;padding:0;margin:30px 0 0;min-width:0}
.shipping-options legend{font-size:18px;font-weight:700;margin-bottom:12px}
.checkout-form .shipping-choice{display:flex;align-items:center;gap:12px;margin:0;padding:16px 0;border-top:1px solid #dedede;cursor:pointer;font-size:14px}
.checkout-form .shipping-choice:last-child{border-bottom:1px solid #dedede}
.checkout-form .shipping-choice input{display:block;flex:none;width:18px;height:18px;margin:0;padding:0;accent-color:#111}
.shipping-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;line-height:1.4}
.shipping-copy span{font-weight:400;color:#686868}.shipping-prices{display:flex;flex:none;flex-direction:column;align-items:flex-end;gap:4px;white-space:nowrap}
.shipping-prices del{color:#777;font-size:13px;font-weight:400}.shipping-prices strong{color:#111}
/* A lighter gallery and an easier-to-adjust bag. */
.store-header{border-bottom:0}
.brand-logo img{width:86px;height:86px}
.gallery-nav button:focus-visible{outline:0;text-decoration-thickness:2px}
.thumbs button{border:1px solid #bdbdbd}
.thumbs button[aria-current=true]{border:1px solid #111}
.detail-tabs button{color:#151515;transition:background-color .18s ease,border-color .18s ease}
.detail-tabs button[aria-selected=true]{background:#111;color:#fff;border-color:#111}
.detail-flash{animation:detail-light .25s ease-out}
@keyframes detail-light{from{opacity:.65}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.detail-flash{animation:none}}
.quantity-row{display:flex;align-items:center;gap:10px;margin:12px 0;font-size:13px}
.quantity-control{display:inline-flex;align-items:center;border:1px solid #c8c8c8;height:32px}
.quantity-control button{background:#fff;border:0;width:32px;height:30px;font-size:17px;line-height:1}
.quantity-control button:disabled{color:#aaa;cursor:default}
.quantity-control span{min-width:24px;text-align:center}
.qr-crop{position:relative;width:min(100%,290px);aspect-ratio:1206/1419;overflow:hidden;margin:auto}
.bank .qr-crop img{position:absolute;left:0;top:-12.33%;width:100%;max-width:none;height:auto;margin:0}
@media(max-width:800px){.brand-logo img{width:72px;height:72px}.cart-line{gap:10px}.cart-line>strong{font-size:13px}.bag-item-info>strong{font-size:14px}.quantity-row{flex-wrap:wrap;gap:6px}}
.overlay{background:rgba(0,0,0,.16)}

/* Keep navigation in place and avoid mobile tap highlight rectangles. */
.storefront-page .store-header{position:sticky;top:0}
.storefront-page :where(button,a,summary,label){-webkit-tap-highlight-color:transparent}
.storefront-page :where(button,a,summary):focus:not(:focus-visible){outline:none}

/* Avoid iOS form zoom and visible browser-default blue focus on touch. */
#drawer:focus,#faq-dialog:focus{outline:none}
:where(button,a,summary,input,textarea,select):focus-visible{outline:2px solid #151515;outline-offset:2px}
@media(max-width:800px){body :is(input:not([type=radio]):not([type=checkbox]),textarea,select){font-size:16px}}
/* Store menu and the FAQ page */
.menu-shade{position:fixed;inset:0;background:#0003;z-index:19}
.menu-panel{position:fixed;z-index:20;left:0;top:0;bottom:0;width:min(320px,88vw);padding:24px;background:#fff;border:0;box-shadow:2px 0 25px #0001}
.menu-heading{display:flex;justify-content:space-between;align-items:center;padding-bottom:18px;border-bottom:1px solid #ddd;font:18px Georgia,serif}
.menu-panel .menu-close{display:block;width:auto;border:0;padding:0;background:none;font:32px/1 Arial,sans-serif}
.menu-panel a{display:block;padding:20px 0;text-decoration:none;font:16px Georgia,serif;border-bottom:1px solid #eee}
.faq-page{width:min(750px,calc(100% - 40px));margin:0 auto;padding:75px 0 110px}
.faq-page h1{font:400 clamp(32px,4vw,48px)/1.1 Georgia,serif;margin:0 0 42px}
.faq-page details{border-top:1px solid #e8e8e8}.faq-page details:last-child{border-bottom:1px solid #e8e8e8}
.faq-page summary{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;cursor:pointer;font:16px/1.4 Georgia,serif;list-style:none}
.faq-page summary::-webkit-details-marker{display:none}.faq-page summary span:after{content:'⌄';font:20px Arial,sans-serif}.faq-page details[open] summary span:after{content:'⌃'}
.faq-page details p{margin:0 0 20px;color:#555;line-height:1.7;white-space:pre-line}
#policies-page .delivery-estimates{margin:-12px 0 20px;padding-left:20px;color:#555;line-height:1.7}
.order-items{margin:24px 0}.order-item{display:flex;align-items:center;gap:14px;margin:12px 0}.order-item img{width:68px;height:88px;object-fit:contain;background:#fff}.order-item p{margin:0;line-height:1.6}.order-item small{font-size:14px;color:#666}
.receipt-preview img{display:block;max-width:100%;max-height:400px;object-fit:contain;margin:12px auto}.receipt-preview p{color:#666}
@media(max-width:800px){.faq-page{padding:45px 0 80px}.faq-page h1{margin-bottom:30px}}
/* Checkout focus and compact order details. */
.checkout-form input:not([type=radio]):not([type=file]):focus,.checkout-form textarea:focus{outline:none;border-color:#151515;box-shadow:inset 0 0 0 1px #151515}
.quantity-control button{touch-action:manipulation}
.order-quantity{white-space:nowrap}
.checkout-form .checkout-agreement{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.5}
.checkout-form .checkout-agreement input{display:block;flex:none;width:18px;height:18px;margin:2px 0 0;padding:0;accent-color:#111}
.checkout-form .checkout-agreement a{text-decoration:underline;text-underline-offset:2px}
.history-entry{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:16px 0;text-align:left;background:none;border:0;border-bottom:1px solid #dedede}
.history-entry span{color:#686868;font-size:14px;line-height:1.5}.history-entry strong{font-size:15px}

/* Size chart opens above the current product without altering the image ratio. */
#size-chart-dialog{width:fit-content;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;background:#fff}
#size-chart-dialog::backdrop{background:rgba(0,0,0,.18)}
.size-chart-header{display:flex;justify-content:flex-end;height:42px;align-items:center;padding:0 8px}
#size-chart-dialog:focus{outline:none}
#close-size-chart{border:0;background:transparent;font-size:30px;line-height:1;width:38px;height:38px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#close-size-chart:hover,#close-size-chart:active{background:transparent}
#size-chart-dialog img{display:block;width:auto;height:auto;max-width:calc(100vw - 32px);max-height:calc(100dvh - 90px);object-fit:contain}

