/* Trast 1.5.1 shared interaction layer. Modern presentation remains separate from classic. */
:root{color-scheme:light;--v151-surface:#fff;--v151-bg:#fcfafb;--v151-text:#261f25;--v151-muted:#71646e;--v151-border:#eadfe5;--v151-soft:#fff2f7;--v151-accent:#bb2459;--v151-ease:cubic-bezier(.2,.8,.2,1)}
:where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--v151-accent);outline-offset:3px}
.theme-toggle{border:1px solid var(--v151-border);background:var(--v151-surface);color:var(--v151-text);border-radius:12px;min-height:44px;padding:8px 12px;font-size:12px;white-space:nowrap;transform:none!important}
#store-navigation>.theme-toggle{display:none}
.menu-backdrop{position:fixed;inset:0;z-index:45;background:#23141d4d}
body.store-menu-open{overflow:hidden}
.site-header{background:var(--v151-surface)!important;backdrop-filter:none!important}
/* Keep the header's surface unchanged when login opens. The covered header is inert. */
.auth-modal__backdrop{background:#23141d55;backdrop-filter:none!important;clip-path:inset(var(--auth-header-height,0px) 0 0)}
.auth-modal.is-open .auth-modal__backdrop{backdrop-filter:none!important}
body.auth-modal-open{touch-action:auto}
.auth-modal__card{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
.auth-modal__card::-webkit-scrollbar{display:none}
.auth-modal input[type=tel]{text-align:right}
.smart-search{position:relative}
.search-suggestions{position:absolute;inset-inline:0;top:calc(100% + 6px);z-index:110;max-height:min(65dvh,420px);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--v151-border);border-radius:16px;background:var(--v151-surface);color:var(--v151-text);box-shadow:0 16px 35px #23141d18;padding:6px;min-width:0}
.search-result{display:flex;gap:9px;align-items:center;padding:10px!important;border:0!important;border-radius:10px;min-height:64px}
.search-result:hover,.search-result[aria-selected=true]{background:var(--v151-soft)}
.search-result img{width:44px;height:44px;flex:0 0 44px;object-fit:contain;background:#fff;border-radius:8px}
.search-result__label{display:grid;min-width:0;flex:1;gap:3px}
.search-result__name{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.search-result__meta{font-size:11px;color:var(--v151-muted)}
.search-result__price{font-size:11px;color:var(--v151-accent);white-space:nowrap;unicode-bidi:isolate}
.search-message{display:block;padding:14px;font-size:12px;color:var(--v151-muted)}
.faq-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
.faq-intro h2{font-size:clamp(1.3rem,3vw,1.8rem);margin:6px 0}
.faq-intro p{color:var(--v151-muted);margin:0 0 18px}
.faq-list{display:grid;gap:12px;min-width:0}
.faq-item{background:var(--v151-surface);border:1px solid var(--v151-border);border-radius:16px;overflow:hidden;min-width:0}
.faq-item summary{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px;cursor:pointer;font-weight:700;font-size:.94rem;list-style:none;min-height:64px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-plus{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:var(--v151-soft);color:var(--v151-accent);font-size:21px;font-weight:400;transition:transform .25s var(--v151-ease)}
.faq-item[open] .faq-plus{transform:rotate(45deg)}
.faq-item summary[aria-expanded=false] .faq-plus{transform:none}
.faq-answer{overflow:hidden}
.faq-answer>div{padding:0 18px 18px}
.faq-answer p{margin:0;color:var(--v151-muted);font-size:.9rem;line-height:2}
.account-section{padding-block:24px!important}
.account-head{gap:16px;align-items:center}
.account-head>div{min-width:0}
.account-head h1{font-size:clamp(1.2rem,4.8vw,1.8rem);margin:3px 0;overflow-wrap:anywhere}
.account-head .account-logout{color:#b52143;border-color:#efcbd4;background:#fff6f8;min-height:44px;white-space:nowrap}
.account-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:20px}
.account-shortcuts>a{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;min-height:64px;padding:10px 5px;border:1px solid var(--v151-border);border-radius:15px;background:var(--v151-surface);font-size:.8rem}
.account-shortcuts .ui-icon{width:21px;height:21px;color:var(--v151-accent)}
.account-shortcuts b{font-size:.7rem;border-radius:20px;background:var(--v151-soft);padding:1px 6px}
.account-grid{grid-template-columns:minmax(0,1fr);gap:16px}
.account-grid .span-2{grid-column:auto}
.account-box{min-width:0;background:var(--v151-surface);padding:20px;border-color:var(--v151-border);scroll-margin-top:110px}
.account-box h2{display:flex;align-items:center;gap:8px;font-size:1.06rem;margin:0 0 16px}
.account-box h2 .ui-icon{width:22px;height:22px;color:var(--v151-accent)}
.account-box h3{font-size:.96rem}
.account-box :where(input,textarea){font-size:16px;min-width:0;color:var(--v151-text)}
.account-box label{font-size:.82rem}
.account-box .check{align-items:start}
.account-box .check input{width:18px;flex:0 0 18px;margin-top:5px}
.account-box :where(.btn,.primary){min-height:44px;display:inline-flex;justify-content:center;align-items:center}
.account-box .fields.two{grid-template-columns:minmax(0,1fr)}
.account-box :where(.address,p){overflow-wrap:anywhere}
.account-box .muted{color:var(--v151-muted);font-size:.82rem}
.account-orders{display:grid;gap:12px}
.account-order{border:1px solid var(--v151-border);border-radius:14px;padding:15px;min-width:0}
.account-order>header{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:8px}
.account-order>header b{font-size:.86rem;overflow-wrap:anywhere}
.account-order__status{background:var(--v151-soft);color:var(--v151-accent);border-radius:20px;padding:3px 9px;font-size:.72rem}
.account-order dl{display:grid;gap:7px;margin:12px 0 0;font-size:.8rem}
.account-order dl>div{display:flex;justify-content:space-between;gap:12px}
.account-order dt{color:var(--v151-muted);flex-shrink:0}
.account-order dd{margin:0;min-width:0;overflow-wrap:anywhere;text-align:end;unicode-bidi:isolate}
.account-empty{text-align:center;padding:22px 0;color:var(--v151-muted)}
.account-empty>.ui-icon{width:38px;height:38px;color:var(--v151-accent)}
.trast-modern .product-price-status{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px}
.trast-modern .product-price-status .product-price{justify-self:end;flex-wrap:wrap;justify-content:flex-start}
.trast-modern .product-price-status .product-price strong{white-space:normal;overflow-wrap:anywhere}
.trast-modern .product-price-status .product-stock{white-space:normal}
.trast-modern .cart-item--refined .cart-item__controls,.trast-modern .commerce-modal .cart-item--refined .cart-item__controls{margin-inline-start:0;grid-template-columns:minmax(0,126px) minmax(0,1fr);gap:12px;align-items:center}
.trast-modern .cart-item--refined .cart-item__price{align-items:flex-end;text-align:end;gap:2px}
.trast-modern .cart-item--refined .cart-item__price strong{white-space:normal;overflow-wrap:anywhere}
.trast-modern .cart-item--refined .cart-item__remove{grid-column:1/-1;justify-self:end;min-height:44px;min-width:70px}
.cart-item__availability{font-size:.75rem;color:#127250}
.cart-item__availability.is-unavailable{color:#b52143}
.trast-modern .order-summary>div b{white-space:normal;text-align:end;overflow-wrap:anywhere}
.trast-modern .cart-item__unit-price span{white-space:normal!important}
.trast-modern :where(.product-card,.product-card--modern,.product-utility-actions button):hover{transform:none!important}
.trast-modern .commerce-modal .table-scroll{min-width:0}
@media(min-width:721px){.faq-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px}.account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-grid .span-2{grid-column:1/-1}.account-box .fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){
 .site-header .header-row{position:relative}
 .site-header #store-navigation,.site-header #store-navigation.open{display:flex!important;position:absolute;inset-inline:0;top:100%;flex-direction:column;gap:0;padding:12px 16px 16px;border:1px solid var(--v151-border);border-radius:0 0 20px 20px;background:var(--v151-surface);color:var(--v151-text);box-shadow:0 15px 30px #23141d18;z-index:100;opacity:0;visibility:hidden;transform:translateY(-12px);pointer-events:none;transition:transform .28s var(--v151-ease),opacity .22s ease,visibility .28s;max-height:calc(100dvh - 170px);overflow-y:auto;overscroll-behavior:contain}
 .site-header #store-navigation.open{opacity:1;visibility:visible;transform:none;pointer-events:auto}
 #store-navigation>a{padding:12px 8px;border-bottom:1px solid var(--v151-border);min-height:44px}
 #store-navigation>.theme-toggle{display:block;margin-top:12px;align-self:start}
 .site-header .menu-toggle{display:flex!important;align-items:center;justify-content:center;min-height:44px;min-width:44px;flex-shrink:0;padding:8px;transform:none!important}
 .menu-bars{display:flex;flex-direction:column;justify-content:space-between;width:24px;height:20px}
 .menu-bars span{display:block;width:24px;height:2.5px;border-radius:4px;background:var(--v151-text)!important;transition:transform .28s var(--v151-ease),opacity .2s}
 .hamburger[aria-expanded=true] .menu-bars span:first-child{transform:translateY(8.75px) rotate(45deg)}
 .hamburger[aria-expanded=true] .menu-bars span:nth-child(2){opacity:0}
 .hamburger[aria-expanded=true] .menu-bars span:last-child{transform:translateY(-8.75px) rotate(-45deg)}
 .header-row .header-search{min-width:0}
 .theme-toggle--header{display:none}
 .site-header #store-navigation .mobile-menu-search{display:flex;gap:8px;padding-top:12px;flex-wrap:wrap;min-width:0}
 .mobile-menu-search input{width:100%;min-width:0;border:1px solid var(--v151-border);border-radius:12px;padding:11px;flex:1;font-size:16px;background:var(--v151-surface);color:var(--v151-text)}
 .mobile-menu-search>button{position:static;transform:none;min-height:44px;border:0;border-radius:12px;background:var(--v151-accent);color:#fff;padding:10px 12px}
 .mobile-menu-search .search-suggestions{position:relative;top:auto;flex:0 0 100%;box-shadow:none;max-height:32dvh}
}
@media(max-width:720px){
 .shop-catalog-heading,.trast-modern .shop-catalog-heading{padding:0!important;background:transparent!important;border:0!important;height:0;overflow:hidden}
 .shop-catalog-heading .shop-head__row{min-height:0!important}
 .shop-catalog-heading h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0!important}
 .shop-catalog-heading :where(p,a){display:none}
 .trast-modern .container{width:calc(100% - 28px)}
 .account-section{padding-block:18px!important}
 .account-shortcuts>a{font-size:.73rem;flex-direction:column;gap:3px;position:relative}
 .account-shortcuts b{position:absolute;inset-inline-end:5px;top:5px}
 .account-box{padding:16px}
 .search-result{flex-wrap:wrap}
 .search-result__price{flex-basis:100%;text-align:end}
 .trast-modern .commerce-modal[open]{width:calc(100% - 16px)}
 .trast-modern .commerce-modal [data-commerce-content]{padding:14px 12px 18px}
 .trast-modern .cart-items{padding:14px}
 .trast-modern .product-price-status .product-price{direction:rtl;flex-direction:column;gap:0;align-items:flex-end}
 .trast-modern .cart-item--refined .cart-item__identity{grid-template-columns:60px minmax(0,1fr);gap:10px}
 .trast-modern .cart-layout,.trast-modern .commerce-modal .cart-layout{grid-template-columns:minmax(0,1fr)}
}
/* User-selected dark palette, including legacy hardcoded surfaces. */
html[data-color-theme=dark]{color-scheme:dark;--v151-surface:#242029;--v151-bg:#19161d;--v151-text:#f3ebf0;--v151-muted:#c7b9c3;--v151-border:#493d48;--v151-soft:#382631;--v151-accent:#ff8bb4}
html[data-color-theme=dark] body{--bg:var(--v151-bg);--paper:var(--v151-surface);--ink:var(--v151-text);--muted:var(--v151-muted);--line:var(--v151-border);--soft:var(--v151-soft);--accent:var(--v151-accent);--cart-bg:var(--v151-surface);--cart-text:var(--v151-text);--cart-border:var(--v151-border);--ui-line:var(--v151-border);--ui-pink:var(--v151-accent);background:var(--v151-bg);color:var(--v151-text)}
html[data-color-theme=dark] body :is(.site-header,.site-footer,.footer,.mobile-bottom-nav,.product-card,.product-card--modern,.product-meta,.product-gallery-panel,.product-summary,.product-main-image,.product-tabs,.product-panel,.product-tabs-section,.related-products,.filters,.cart-items,.checkout-box,.order-summary,.account-box,.account-order,.auth-modal__card,.commerce-modal,.commerce-modal__header,.empty-store,.compare-grid article,.review-list,.review-card,.reviews,.blog-tile,.quantity-stepper,.quantity-stepper button,.quantity-stepper input,.btn,.category-strip,.product-buy,.product-benefits>div){background:var(--v151-surface)!important;border-color:var(--v151-border)!important;color:var(--v151-text)!important}
html[data-color-theme=dark] body :is(.header-search input,input:not([type=checkbox]):not([type=radio]),select,textarea){background:var(--v151-bg)!important;color:var(--v151-text)!important;border-color:var(--v151-border)!important}
html[data-color-theme=dark] body :is(.shop-head,.hero,.product-image,.auth-modal__close,.cart-item__photo,.product-placeholder,.product-benefits,.product-specs>div){background:var(--v151-soft)!important;border-color:var(--v151-border)!important;color:var(--v151-text)!important}
html[data-color-theme=dark] body :is(h1,h2,h3,.brand,.header-login,.header-icon,.product-card__title,.product-summary h1,.cart-item__name,.footer-column-title,.card-bottom b,.cart-item__quantity){color:var(--v151-text)!important}
html[data-color-theme=dark] body :is(.header-search input::placeholder,.cart-item__unit-price,.cart-item__variant,.product-brand-name,.product-english,.product-summary p,.footer-about p,.footer-contact-list a,.footer-contact-list span,.footer-bottom p,.footer-trust-empty,.breadcrumbs,.quick-features,.product-short-description,.product-meta small,.order-summary small,.cart-item__price small,.auth-modal p,.auth-modal label){color:var(--v151-muted)!important}
html[data-color-theme=dark] body :is(.product-price strong,.cart-item__price strong,.stock.in_stock,.product-stock.in_stock,.product-card__price){color:var(--v151-accent)!important}
html[data-color-theme=dark] body :is(.primary,.primary-link,.product-add-button){background:#a92253!important;color:#fff!important}
html[data-color-theme=dark] body .account-logout{color:#ffb0c0!important}
html[data-color-theme=dark] body .cart-item__photo img{mix-blend-mode:normal;background:#fff}
html[data-color-theme=dark] body .product-image img{mix-blend-mode:normal}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}#store-navigation,.menu-bars span,.faq-plus,.auth-modal,.auth-modal__card{transition:none!important}}

html[data-color-theme=dark] body :is(.product-stock.is-available,.cart-item__availability.is-available){color:#81d6b0!important}
html[data-color-theme=dark] body :is(.product-stock.is-unavailable,.cart-item__availability.is-unavailable){color:#ff9fb7!important}
/* v1.5 close-button rule also matched the backdrop: restore its full overlay bounds. */
.trast-modern .auth-modal__backdrop[data-auth-close]{display:block;width:auto;height:auto;min-width:0;min-height:0;border-radius:0}

.product-faq .faq-item{padding:0;border-color:var(--v151-border)}
html[data-color-theme=dark] body main>section{background:var(--v151-bg)!important;border-color:var(--v151-border)!important}
html[data-color-theme=dark] body main>.trust-row{background:#242029!important}
html[data-color-theme=dark] body :is(.product-main-placeholder,.product-card__visual,.product-brand-mark,.product-utility-actions button,.product-utility-actions a,.mobile-product-purchase,.shop-filter-top,.shop-filter-toggle,.product-specs dt,.blog-tile__body){background:var(--v151-surface)!important;color:var(--v151-text)!important;border-color:var(--v151-border)!important}
html[data-color-theme=dark] body :is(.product-feature-list,.product-feature-list li,.product-benefits small,.product-name-en,.product-tab-panel.rich-text,.review-list article p,.review-form-modern>label,.review-card>p,.rating-input legend,.product-card__price del,.footer-contact-list,.shop-head p,.section-head>a,.header-search input::placeholder){color:var(--v151-muted)!important}
html[data-color-theme=dark] body :is(#store-navigation,#store-navigation>a,.product-meta h3 a,.product-brand-mark b,.product-benefits b,.product-tabs button){color:var(--v151-text)!important}
html[data-color-theme=dark] body .product-card__price strong{color:var(--v151-accent)!important}
html[data-color-theme=dark] body .product-card__visual{background:var(--v151-soft)!important}
html[data-color-theme=dark] body .category-choice b{color:var(--v151-text)!important}
html[data-color-theme=dark] body .category-choice__symbol{background:var(--v151-soft);color:var(--v151-accent)}
html[data-color-theme=dark] body input::placeholder,html[data-color-theme=dark] body textarea::placeholder{color:var(--v151-muted)!important;opacity:1}
