/* Glass for chrome; quiet, opaque surfaces for reading and completing tasks.
   Scoped to customer content. Catalogue cards and homepage visuals keep their tokens. */
:root{--qs-chrome-metal:var(--qs-metal);--qs-reading-surface:#fff;--qs-reading-muted:#f6f8fb;--qs-reading-line:#d8e0ea}
body.qs-themed.journey-page :is(.panel,.details,.edit-form,.faq,.faq-tools,.list,.message,.error,.empty),
body.qs-themed.journey-auth .card,
body.qs-themed :is(#cartDrawer,#productModal,#authModal){
 --qs-glass:var(--qs-reading-surface);--qs-metal:var(--qs-reading-muted);--qs-input-glass:var(--qs-reading-surface);
 --qs-glass-line:var(--qs-reading-line);--qs-glass-shadow:0 4px 18px #17243706;--qs-control-shadow:none;
 --qs-dark-surface:#172437;--qs-danger-glass:#fff3f5;--qs-success-glass:#edf7f2;--qs-info-glass:#eef4fb;--qs-warning-glass:#fff8e9;
}
/* Keep the drawer's top edge in the same family as the storefront header. */
body.qs-themed #cartDrawer .drawer-head{background:var(--qs-chrome-metal);box-shadow:none}
body.qs-themed :is(#cartDrawer,#productModal,#authModal){border-color:var(--qs-reading-line)}
body.qs-themed #cartDrawer :is(.checkout-section,.summary,.checkout-review-item){box-shadow:none}
body.qs-themed #cartDrawer .summary{background:var(--qs-reading-muted)}
body.qs-themed #cartDrawer .checkout-section{border-radius:18px}
body.qs-themed #cartDrawer .checkout-review-item{background:var(--qs-reading-muted)!important}
body.qs-themed #cartDrawer .qty{background:white;box-shadow:none}
body.qs-themed.journey-page :is(form input,form select,form textarea):not([type=checkbox]):not([type=radio]):not([type=range]),
body.qs-themed #cartDrawer :is(input,select,textarea):not([type=checkbox]):not([type=radio]){background:white;box-shadow:none;border-radius:12px}
body.qs-themed.journey-page main :is(.secondary,.secondary-btn,.text-btn,.secondary-action,.faq-tools button),
body.qs-themed :is(#cartDrawer,#authModal) :is(.back-to-bag,.icon-btn,.close,.promo-entry button),
body.qs-themed #productModal :is(.quick-actions button,.move-arrows button,.close,.choose-photo){background:white;box-shadow:none}
body.qs-themed.journey-page main :is(button[type=submit],.action:not(.secondary)),
body.qs-themed :is(#cartDrawer,#productModal,#authModal) .primary,
body.qs-themed.journey-auth .submit{background:#172437;border-color:#172437;color:white;box-shadow:none}
body.qs-themed.journey-page main :is(button[type=submit],.action:not(.secondary)):hover,
body.qs-themed :is(#cartDrawer,#productModal,#authModal) .primary:hover,
body.qs-themed.journey-auth .submit:hover{background:#283e57;border-color:#283e57;box-shadow:none}
/* Destructive actions stay recognisable without competing with checkout. */
body.qs-themed :is(#cancelOrder,#clearDesigns,#signOut,#logoutButton,#removeProductPhoto,.remove,[data-remove],.qs-danger){background:#fff3f5;color:var(--qs-danger-ink);box-shadow:none}
body.qs-themed :is(#cancelOrder,#clearDesigns,#signOut,#logoutButton,#removeProductPhoto,.remove,[data-remove],.qs-danger):hover{background:#fbe7ec;box-shadow:none}
body.qs-themed .delivery-picker{background:#f6f8fb;box-shadow:none}
body.qs-themed .delivery-picker input{background:white;box-shadow:none}
body.qs-themed .delivery-pin-actions button{background:white;box-shadow:none}
body.qs-themed .delivery-picker .delivery-confirm{background:#edf7f2!important}
body.qs-themed.journey-page :is(.panel,.details,.edit-form){box-shadow:none}
body.qs-themed.journey-page .faq details{background:white!important;box-shadow:none}
body.qs-themed.journey-page .faq details[open]{background:#f9fbfd!important}
body.qs-themed.journey-page :is(.notice,.request-note,.change-actions){background:#eef4fb;box-shadow:none}
body.qs-themed.journey-page :is(.badge,.order-status){box-shadow:none}
body.qs-themed #productModal :is(.control-card,.lock-card,.move-panel,.choice){box-shadow:none}
body.qs-themed #productModal .choice.active{background:#edf7f2}
body.qs-themed #productModal .detail-visual{background:#f6f8fb}
body.qs-themed.orders-page #list .order-btn{box-shadow:none}
body.qs-themed.orders-page #list .order-btn:hover{background:#f6f8fb}
body.qs-themed.orders-page .tracking-content{background:transparent;border-color:transparent;box-shadow:none;padding:12px 16px}
body.qs-themed.orders-page .is-current .tracking-content{background:#eef4fb;border-color:#cad9eb}
body.qs-themed.orders-page .tracking-node{background:#f6f8fb;box-shadow:0 0 0 7px white}
body.qs-themed.orders-page .is-completed .tracking-node{background:var(--qs-success-ink)}
body.qs-themed.orders-page .is-current .tracking-node{background:#eef4fb}
body.qs-themed.orders-page .glass-tracking-timeline li{padding-bottom:14px}
body.qs-themed.orders-page .summary{background:#f6f8fb!important;box-shadow:none!important}
body.qs-themed.journey-auth .card{box-shadow:none}
body.qs-themed #store-closed-screen .card{background:white;box-shadow:0 8px 24px #1724370b}
/* Clear action hierarchy without changing catalogue cards. */
body.qs-themed .delivery-pin-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
body.qs-themed .delivery-pin-actions .delivery-locate{background:#eef4fb;color:#254a73;border-color:#bdd0e7;min-height:48px}
body.qs-themed .delivery-picker .delivery-confirm,body.qs-themed .address-pin-dialog [data-save]{background:linear-gradient(135deg,#256650,#18523f)!important;color:#fff!important;border-color:#18523f;min-height:48px;box-shadow:inset 0 1px #ffffff35}
body.qs-themed .delivery-picker .delivery-confirm:hover,body.qs-themed .address-pin-dialog [data-save]:hover{background:#124330!important}
body.qs-themed .delivery-quote-feedback[data-tone=success]{color:#18523f;background:#edf7f2;padding:12px;border-radius:12px}
body.qs-themed .delivery-quote-feedback[data-tone=error]{color:#96344b;background:#fff3f5;padding:12px;border-radius:12px}
body.qs-themed #productModal .compact-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0 18px}
body.qs-themed #productModal .compact-choices .choice{width:100%;padding:10px 12px;text-align:start;display:flex;flex-direction:column;gap:4px;line-height:1.35}
body.qs-themed #productModal .choice small{font-size:13px;font-weight:500}
body.qs-themed #productModal .choice.active{border:2px solid #256650;background:#edf7f2;color:#18523f}
body.qs-themed #productModal .choice:disabled{opacity:.55;cursor:not-allowed}
body.qs-themed #productModal .variant-select-label{display:block;margin:14px 0 6px;font-weight:600}
body.qs-themed #productModal .variant-select{width:100%;min-height:48px;padding:10px 12px;border:1px solid #b9c7d7;border-radius:12px;background:#fff;color:#172437;font:inherit;margin-bottom:16px}
body.qs-themed .password-control{position:relative;display:block}
body.qs-themed .password-control input{padding-right:54px!important;width:100%}
body.qs-themed .password-control .password-toggle{position:absolute;right:3px;top:50%;transform:translateY(-50%);width:44px;height:44px;min-height:44px;padding:10px;margin:0;border:0;border-radius:10px;background:transparent;color:#365d8b;display:grid;place-items:center;cursor:pointer}
body.qs-themed .password-toggle svg{width:22px;height:22px;pointer-events:none}
body.qs-themed .password-toggle .eye-slash{display:none}
body.qs-themed .password-toggle.is-visible .eye-slash{display:block}
body.qs-themed .password-toggle:hover{background:#eef4fb}
body.qs-themed :is(.password-toggle,.variant-select,.choice,.delivery-pin-actions button):focus-visible{outline:3px solid #365d8b;outline-offset:3px}
body.qs-themed .address-pin-dialog{width:min(620px,94vw);max-height:90vh;overflow:auto;border:1px solid #cbd5e1;border-radius:24px;padding:24px;color:#172437;background:#f8fafc}
body.qs-themed .address-pin-dialog .delivery-map{height:300px}
body.qs-themed .address-pin-dialog .pin-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
body.qs-themed .address-pin-dialog button{min-height:48px;border:1px solid #bdd0e7;border-radius:24px;padding:10px 16px;font:inherit;background:#eef4fb;color:#254a73}
body.qs-themed .address-pin-dialog [data-close]{background:#fff3f5;color:#96344b;border-color:#e9c4cc}
@media(max-width:380px){body.qs-themed .delivery-pin-actions{grid-template-columns:1fr}body.qs-themed #productModal .compact-choices{grid-template-columns:1fr}}
.shop-collection-nav{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;margin:20px 0 24px;align-items:stretch}
.shop-collection-nav a{display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:84px;padding:18px 22px;border:1px solid #cad4df;border-radius:18px;background:linear-gradient(125deg,#f7f9fc,#fff);text-decoration:none;color:#172437;box-shadow:inset 0 1px #fff}
.shop-collection-nav a:nth-child(2){background:linear-gradient(125deg,#f8f3e9,#fff);border-color:#d9c9aa}
.shop-collection-nav strong{font-size:20px;line-height:1.3}.shop-collection-nav span{font-size:14px;color:#526174}
.shop-collection-nav a[aria-current=page]{border:2px solid #256650}.shop-collection-nav a:hover{border-color:#172437}
.shop-collection-nav .all-collections{min-width:100px;font-size:14px}
.collection-menu-links{display:flex;flex-direction:column;gap:8px}.collection-menu-links a{display:block;padding:12px;text-decoration:none;color:inherit}
.product-collection-note{font-size:14px;color:#526174;margin:8px 0 16px}
.shop-collection-nav a:focus-visible,.collection-menu-links a:focus-visible{outline:3px solid #365d8b;outline-offset:3px}
@media(max-width:600px){.shop-collection-nav{grid-template-columns:1fr 1fr;gap:8px}.shop-collection-nav a{padding:14px 12px;min-height:86px}.shop-collection-nav strong{font-size:17px}.shop-collection-nav span{font-size:13px}.shop-collection-nav .all-collections{grid-column:1/-1;min-height:44px;padding:10px 14px}}
/* Originals has its own collection identity; catalogue cards stay untouched. */
.shop-collection-nav a:nth-child(2){position:relative;overflow:hidden;background:linear-gradient(125deg,#142337,#344257);border-color:#a58a60;color:#fff9ef;box-shadow:inset 0 1px #ffffff35,0 5px 16px #17243712}
.shop-collection-nav a:nth-child(2) span{color:#e8d6b6}
.shop-collection-nav a:nth-child(2)[aria-current=page]{border:2px solid #a78045;box-shadow:0 0 0 3px #b3915d20,inset 0 1px #ffffff30}
.shop-collection-nav a:nth-child(2):hover{background:linear-gradient(125deg,#1c304a,#3e4c61);border-color:#cba974}
.shop-collection-nav a:nth-child(2)::after{content:'';position:absolute;width:92px;height:92px;border:1px solid #dbc09b35;border-radius:50%;right:-34px;top:-46px;pointer-events:none}
body.originals-collection .hero{position:relative;background:transparent;border:0;box-shadow:none;color:#fffaf1}
body.originals-collection.qs-themed .hero .hero-inner{position:relative;z-index:1;background:linear-gradient(115deg,#132236 0%,#2c3d56 68%,#665943 100%)!important;border-color:#c6b293!important;box-shadow:inset 0 1px #ffffff30,0 16px 42px #17243713!important;color:#fffaf1!important}
body.originals-collection .hero h1{color:#fffaf1;max-width:900px}
body.originals-collection.qs-themed .hero .hero-inner p{color:#e5e9ef!important;max-width:660px}
body.originals-collection.qs-themed .hero .hero-inner .eyebrow{color:#e6c796!important}
body.originals-collection .hero::after{content:'';position:absolute;inset:0;background:linear-gradient(125deg,transparent 48%,#ffffff0d 49%,#ffffff0d 62%,transparent 63%);pointer-events:none;border-radius:inherit}

/* Professional customer surfaces: scoped away from product grids and manager UI. */
body.qs-themed.journey-page main :is(.panel,.edit-form,.faq details,.question-section){background:#fff;box-shadow:none;border:1px solid var(--qs-reading-line);border-radius:20px}
body.qs-themed.journey-page main :is(.panel,.question-section){padding:clamp(20px,3vw,32px)}
body.qs-themed.journey-page main :is(.panel p,.faq p,.question-section>p){line-height:1.75;max-width:72ch;color:var(--shop-muted)}
body.qs-themed.journey-page .faq details{margin-block:12px}
body.qs-themed.journey-page .faq summary{padding:20px 24px;font-size:clamp(16px,2vw,18px);line-height:1.5;font-weight:650}
body.qs-themed.journey-page .faq details p{margin-block:16px}
body.qs-themed.journey-page .faq>h2{font-size:clamp(25px,4vw,34px);letter-spacing:-.035em;line-height:1.2;margin:36px 0 18px}
body.qs-themed.journey-page main :is(.action,button[type=submit]):not(#grid *):not(#productGrid *),body.qs-themed.journey-auth .submit{background:#172437;color:#fff;border-color:#172437;min-height:48px;box-shadow:none}
body.qs-themed :is(#cancelOrder,#clearDesigns,#removeProductPhoto,.remove,[data-remove],.qs-danger),body.qs-themed.journey-page main .danger{background:#fff3f5!important;color:#96344b!important;border:1px solid #d2a0ac!important;box-shadow:none!important}
body.qs-themed :is(#cancelOrder,#clearDesigns,#removeProductPhoto,.remove,[data-remove],.qs-danger):hover,body.qs-themed.journey-page main .danger:hover{background:#fbe7ec!important}
body.qs-themed.journey-page main :is(.secondary,.secondary-btn,.text-btn):not([data-remove]):not(.danger){background:#fff;border:1px solid #c5ceda;color:#172437;box-shadow:none;min-height:44px}
body.qs-themed #cartDrawer .summary{padding:24px;background:#f6f8fb;border:1px solid #d8e0ea;border-radius:18px;align-self:start}
body.qs-themed #cartDrawer .summary .total-line{gap:16px;padding-block:12px;margin:0;align-items:baseline;font-size:15px}
body.qs-themed #cartDrawer .summary #promoLine{color:#18523f}
body.qs-themed #cartDrawer .summary .total-line:has(#cartTotal){border-top:1px solid #c5ceda;margin-top:16px;padding-top:18px;font-size:20px;font-weight:750}
#deliverySummaryOffer{font-size:13px;line-height:1.6;margin:4px 0 12px;padding:12px;border-radius:12px;background:#eef4fb;color:#254a73}
#deliverySummaryOffer[data-tone=success]{background:#edf7f2;color:#20513e}
body.qs-themed #cartDrawer .checkout-section{padding:clamp(18px,3vw,28px);margin-bottom:20px;background:#fff;border:1px solid #d8e0ea}
body.qs-themed #cartDrawer .checkout-section h3{font-size:21px;margin-bottom:20px}
body.qs-themed .qs-branded-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#f2f4f8;color:#566173;text-align:center;font-size:13px;padding:16px}
body.qs-themed #productModal .detail-visual.qs-branded-placeholder img,body.qs-themed #cartDrawer .qs-branded-placeholder img{width:32px;height:32px;object-fit:contain;padding:0;border-radius:50%;flex:none}
body.qs-themed #cartDrawer .cart-thumb.qs-branded-placeholder{font-size:10px;line-height:1.3;padding:6px;gap:4px}
body.qs-themed #cartDrawer .cart-thumb.qs-branded-placeholder img{width:20px;height:20px}
body.qs-themed #productDetail .detail-visual.qs-branded-placeholder{min-height:220px}
@media(max-width:700px){body.qs-themed #cartDrawer .summary{width:100%;padding:20px;align-self:stretch}body.qs-themed.journey-page .faq summary{padding:18px 16px}body.qs-themed #cartDrawer .checkout-section{padding:18px}}
@media(prefers-reduced-motion:reduce){.delivery-check-action,.faq-topic-nav a{transition:none!important;scroll-behavior:auto}}
/* Keep accordion gutters single and offer-card copy legible on navy. */
body.qs-themed.journey-page main .delivery-offers .delivery-offer-card p{color:inherit;line-height:1.6;margin:10px 0 0;font-size:14px}
body.qs-themed.journey-page .faq details{margin:0}
body.qs-themed.journey-page .faq summary{padding-block:20px;padding-inline:0 32px}
body.qs-themed.journey-page .faq details p{margin:0}
body.qs-themed.journey-page .faq-topic-nav{max-width:860px;margin-inline:auto;margin-block:24px}
body.qs-themed.journey-page .delivery-policy{display:block;margin-block:48px}
body.qs-themed.journey-page main #delivery>h2{margin:0 0 16px}
body.qs-themed.journey-page main #delivery>p{margin-block:16px}
body.qs-themed.journey-page .delivery-policy details{margin-block:12px}

/* Compact collection introduction; approved card rules remain untouched. */
@media(max-width:640px){.qs-collection .hero{margin-block:16px}.qs-collection .hero-inner{padding:22px}.qs-collection .hero h1{font-size:1.65rem;line-height:1.15}.qs-collection .hero p{font-size:.95rem;margin-top:10px}.qs-collection .filters{margin-block:16px}.qs-collection .collection-switcher{margin-block:12px}}
@media(max-width:640px){body.qs-collection main>.hero{min-height:0!important;padding:20px!important;margin:14px 0 20px!important}body.qs-collection main>.hero .hero-inner{padding:0!important}body.qs-collection main>.hero h1{font-size:26px!important;line-height:1.15!important;margin-top:10px!important}body.qs-collection main>.hero p{font-size:14px!important;line-height:1.5!important;margin-top:10px!important}}
