@import url('../shared/appearance.css');
@import url('../shared/base.css');
@import url('./tokens.css');
.shop-topbar .language-control select,.shop-topbar .language-trigger,.modal-secondary-button,.outline-button{border-color:var(--ui-control-border)}
.shop-topbar .language-trigger:hover,.shop-topbar .language-trigger[aria-expanded="true"]{border-color:var(--ui-primary);background:var(--ui-hover-surface)}
.shop-topbar .language-options button:hover,.shop-topbar .language-options button[aria-current="true"]{background:var(--shop-selected-surface);color:var(--shop-selected-text)}
.modal-secondary-button:hover{background:var(--ui-hover-surface)}
.shop-boot-overlay:not([hidden]){position:fixed;z-index:1000;inset:0;display:grid;place-items:center;width:100%;height:100dvh;padding:24px;border:0;background:var(--ui-canvas);color:var(--ui-ink);text-align:center}
body.shop-booting{overflow:hidden}
.shop-boot-content{display:grid;justify-items:center;gap:12px;width:min(280px,100%);padding-bottom:env(safe-area-inset-bottom)}
.shop-boot-mark{width:68px;height:68px;color:var(--ui-primary)}
.shop-boot-content h2{margin:4px 0 0;font-size:25px}
.shop-boot-content p{margin:0;color:var(--ui-muted)}
.shop-boot-progress{position:relative;display:block;width:100%;height:4px;margin-top:8px;overflow:hidden;border-radius:999px;background:#dcebed}
.shop-boot-progress::after{content:"";position:absolute;inset:0;width:40%;border-radius:inherit;background:var(--shop-accent);animation:boot-progress 1.3s ease-in-out infinite alternate}
#shop-boot-retry[hidden]{display:none}
@keyframes boot-progress{from{transform:translateX(-100%)}to{transform:translateX(250%)}}
.loading-placeholder{opacity:0;animation:placeholder-reveal 1ms steps(1,end) 250ms forwards}
@keyframes placeholder-reveal{to{opacity:1}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;z-index:30;top:-60px;left:14px;padding:10px 14px;border-radius:9px;background:var(--ui-surface);color:var(--ui-ink);font-weight:700}
.skip-link:focus{top:12px}
.shop-topbar{display:grid;grid-template-columns:auto minmax(180px,1fr) auto auto;gap:clamp(10px,2vw,28px);height:76px;padding-inline:clamp(18px,4vw,60px)}
.shop-topbar .brand{font-size:21px;color:var(--ui-ink)}
.shop-topbar .brand-mark{width:42px;height:42px;border-radius:12px;background:var(--shop-accent);font-size:16px}
.header-search{display:flex;align-items:stretch;justify-self:center;width:min(100%,650px);height:44px;border:1px solid var(--ui-control-border);border-radius:11px;background:var(--ui-surface);overflow:hidden}
.header-search:focus-within{outline:3px solid var(--ui-focus);outline-offset:2px}
.header-search input{min-width:0;width:100%;border:0;outline:0;padding:0 17px;color:var(--ui-ink);background:transparent}
.header-search input:focus-visible{outline:0}
.header-search button{display:grid;place-items:center;flex:none;width:52px;border:0;background:var(--shop-accent);color:var(--ui-surface)}
.header-search button:hover{background:var(--shop-accent-hover)}
.shop-nav{display:flex;align-items:center;gap:4px;white-space:nowrap}
.shop-nav a{display:inline-flex;align-items:center;gap:7px;text-decoration:none;font-weight:700;border-radius:9px;padding:9px 10px;color:var(--ui-secondary-text)}
.shop-nav a:hover,.shop-nav a[aria-current="page"]{background:var(--shop-accent-soft);color:var(--shop-selected-text)}
.shop-nav svg{width:20px;height:20px}
.cart-count{min-width:23px;height:23px;border-radius:999px;background:var(--shop-selected-strong);color:var(--shop-selected-text);display:inline-grid;place-items:center;font-size:12px;padding:0 5px}
.shop-main{max-width:1500px;margin:0 auto;padding:15px clamp(16px,4vw,60px) 55px}
.shop-heading{margin-bottom:25px}
.shop-heading h1{max-width:700px}
.category-rail{display:flex;gap:11px;overflow-x:auto;padding:12px 2px 14px;scrollbar-width:thin;max-width:100%;contain:inline-size paint}
.category-rail button{display:flex;align-items:center;gap:9px;flex:none;min-height:45px;padding:5px 15px 5px 6px;border:1px solid var(--ui-control-border);border-radius:999px;background:var(--ui-surface);color:var(--ui-secondary-text);font-weight:700;white-space:nowrap}
.category-rail button:hover,.category-rail button[aria-pressed="true"]{border-color:var(--shop-accent);background:var(--shop-accent-soft);color:var(--shop-selected-text)}
.category-symbol{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--shop-accent-soft);color:var(--shop-accent-hover);font-weight:800}
.category-rail button[aria-pressed="true"] .category-symbol{background:var(--shop-accent);color:var(--ui-surface)}
.catalog-layout{display:block}
.catalog-results{min-width:0;scroll-margin-top:95px}
.catalog-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:2px 0 6px}
.catalog-intro .eyebrow{margin:0 0 4px;overflow-wrap:anywhere}
.catalog-intro h2{font-size:clamp(25px,2.6vw,34px);letter-spacing:-.035em;line-height:1.15;margin:0}
.catalog-intro p:not(.eyebrow){margin:4px 0 0;color:var(--ui-muted)}
.catalog-count{font-size:13px}
.catalog-filter{display:none;flex:none;align-items:center;gap:12px}
.catalog-filter label{font-size:13px;font-weight:700;color:var(--ui-secondary-text)}
.catalog-filter select{min-width:0;width:220px;min-height:44px;padding:8px 10px;border:1px solid var(--ui-control-border);border-radius:9px;background:var(--ui-surface);color:var(--ui-ink)}
.shop-status{min-height:0;color:var(--ui-muted);font-size:14px}
.shop-status:not(:empty){margin:0 0 15px}
.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.catalog-skeleton[hidden]{display:none}
.catalog-skeleton{margin-top:0}
.catalog-grid:not(:empty)+.catalog-skeleton{margin-top:13px}
.catalog-skeleton-card{min-width:0;overflow:hidden;border:1px solid var(--ui-border);border-radius:13px;background:var(--ui-surface);box-shadow:0 8px 26px #1d465a0b}
.skeleton-image,.skeleton-line,.skeleton-button{display:block;background:linear-gradient(100deg,#e6eff1 30%,#f5f9f9 50%,#e6eff1 70%);background-size:220% 100%;animation:skeleton-shimmer 1.4s linear infinite}
.skeleton-image{width:100%;aspect-ratio:1}
.skeleton-body{display:grid;gap:10px;padding:13px}
.skeleton-line{height:14px;border-radius:5px}
.skeleton-line.short{width:46%}
.skeleton-line.medium{width:72%}
.skeleton-button{height:44px;margin-top:13px;border-radius:8px}
@keyframes skeleton-shimmer{to{background-position-x:-220%}}
.catalog-card,.cart-row{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:13px;overflow:hidden;box-shadow:0 8px 26px #1d465a0b}
.catalog-card{display:flex;flex-direction:column;min-width:0;transition:transform .18s ease,box-shadow .18s ease}
.catalog-card:hover{transform:translateY(-2px);box-shadow:0 13px 30px #1d465a17}
.catalog-image-button{display:block;width:100%;padding:0;border:0;background:var(--ui-hover-surface);line-height:0}
.catalog-image{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:var(--ui-hover-surface)}
.image-placeholder{display:grid;place-items:center;color:var(--ui-muted);font-size:13px}
.catalog-card-body{display:flex;flex:1;flex-direction:column;gap:6px;padding:13px}
.catalog-card h3{font-size:15px;line-height:1.3;overflow-wrap:anywhere;margin:0;min-height:2.6em}
.catalog-category{font-size:11px;font-weight:750;letter-spacing:.04em;text-transform:uppercase;color:var(--ui-primary);margin:0}
.catalog-description{line-height:1.4;color:var(--ui-muted);font-size:12px;margin:0;min-height:2.8em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.catalog-price{display:block;margin-top:auto;font-size:18px;color:var(--shop-price)}
.catalog-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}
.catalog-card-actions button{min-width:0;min-height:40px;padding:6px 8px;font-size:12px;line-height:1.15}
.catalog-card-actions{grid-template-columns:1fr}
.catalog-card-actions button{min-height:44px;font-size:13px}
.catalog-query{margin:0 0 12px;color:var(--ui-muted);font-size:14px;overflow-wrap:anywhere}
#catalog-clear-filters{margin:0 0 16px}
#catalog-clear-filters[hidden]{display:none}
.header-search .catalog-search-clear{width:44px;min-height:44px;padding:10px;background:var(--ui-surface);color:var(--ui-muted)}
.header-search .catalog-search-clear:hover{background:var(--ui-hover-surface)}
.catalog-search-clear svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.header-search .catalog-search-clear[hidden]{display:none}
@media(max-width:355px){.catalog-card-actions{grid-template-columns:1fr}}
.outline-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 15px;border:1px solid var(--ui-control-border);border-radius:10px;background:var(--ui-surface);color:var(--ui-ink);text-decoration:none;font-weight:700}
.outline-button:hover{background:var(--ui-hover-surface)}
#catalog-more{display:flex;width:max-content;margin:20px auto 0}
.catalog-page-feedback{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;min-height:48px;margin-top:16px;color:var(--ui-muted);font-size:14px;text-align:center}
.catalog-page-spinner{width:20px;height:20px;border:2px solid var(--ui-border);border-top-color:var(--ui-primary);border-radius:50%;animation:catalog-page-spin .8s linear infinite}
.catalog-page-feedback[data-state=error] .catalog-page-spinner,.catalog-page-feedback[data-state=end] .catalog-page-spinner{display:none}
@keyframes catalog-page-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.catalog-page-spinner{animation:none;border-top-color:var(--ui-primary)}}
.detail-description{line-height:1.6;white-space:pre-wrap;margin:0;color:var(--ui-muted)}
.cart-list{display:grid;gap:13px}
.cart-row{display:grid;grid-template-columns:115px minmax(0,1fr);gap:18px;padding:14px}
.cart-image{width:115px;height:115px;object-fit:cover;border-radius:10px;background:var(--ui-hover-surface)}
.cart-row-detail{display:grid;align-content:center;gap:9px;min-width:0}
.cart-row-detail h2{font-size:18px;margin:0;overflow-wrap:anywhere}
.cart-row-detail p{font-size:14px;color:var(--ui-muted);margin:0}
.cart-row-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.cart-row-controls label{display:grid;gap:5px;font-size:12px;font-weight:700}
.cart-row-controls input{width:88px;height:44px;border:1px solid var(--ui-control-border);border-radius:9px;padding:0 10px}
.cart-summary{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--ui-border);padding:22px 0;margin-top:18px;font-size:18px}
.shop-note{color:var(--ui-muted);line-height:1.5;font-size:14px}
.cart-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.checkout-form{display:grid;gap:20px;max-width:850px}
.checkout-section{min-width:0;margin:0;padding:22px;border:1px solid var(--ui-border);border-radius:16px;background:var(--ui-surface)}
.checkout-section legend{padding:0 8px;font-size:19px;font-weight:800;color:var(--ui-ink)}
.checkout-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.checkout-field{display:grid;gap:7px;font-size:13px;font-weight:700;color:var(--ui-secondary-text);min-width:0}
.history-combobox{position:relative}
.history-options{position:absolute;z-index:5;top:100%;left:0;right:0;max-height:210px;overflow:auto;background:var(--ui-surface);border:1px solid var(--ui-control-border);border-radius:9px;box-shadow:0 12px 30px #15354c26}
.history-option{padding:11px 12px;font-size:14px;font-weight:500;line-height:1.35;overflow-wrap:anywhere;cursor:pointer}
.history-option:hover,.history-option[aria-selected="true"]{background:var(--shop-selected-surface)}
.checkout-field input,.checkout-field select,.assignment-row select{min-width:0;width:100%;min-height:44px;border:1px solid var(--ui-control-border);border-radius:9px;background:var(--ui-surface);color:var(--ui-ink);padding:9px 11px}
.checkout-field input[aria-invalid="true"],.checkout-field select[aria-invalid="true"],#checkout-form input[aria-invalid="true"]{border-color:var(--shop-invalid-border)}
.phone-fields{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px}
.check-row{display:flex;align-items:start;gap:10px;margin-top:18px;line-height:1.5;font-size:14px;color:var(--ui-secondary-text)}
.check-row input{width:19px;height:19px;flex:none;accent-color:var(--ui-primary);margin-top:2px}
.delivery-list{display:grid;gap:17px}
.remove-destination{margin:0 0 18px auto}
.assignment-list{display:grid;gap:10px}
.assignment-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,220px);align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--ui-divider)}
.assignment-row:last-child{border-bottom:0}
.assignment-row span{overflow-wrap:anywhere}
.history-controls{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap}
.history-controls .check-row{margin:0;max-width:500px}
.checkout-error{min-height:20px;color:var(--shop-error);font-size:14px;margin:0}
.receipt-card{max-width:640px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:18px;padding:clamp(25px,5vw,42px);box-shadow:0 10px 28px #1d465a0b}
.receipt-card h1{margin-bottom:20px}
.receipt-details{display:grid;grid-template-columns:auto minmax(0,1fr);gap:13px 25px;margin:25px 0}
.receipt-details dt{font-size:14px;color:var(--ui-muted)}
.receipt-details dd{margin:0;text-align:right;font-weight:750;overflow-wrap:anywhere}
.receipt-card .primary-button{display:inline-flex;text-decoration:none;align-items:center}
@media(max-width:1099px){
  .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:761px) and (max-width:1099px){
  .category-rail{display:none}
  .catalog-filter{display:flex}
}
@media(max-width:760px){
  .shop-topbar{height:auto;min-height:112px;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"brand nav language" "search search search";gap:7px;padding:10px 16px}
  .shop-topbar .brand{grid-area:brand;font-size:18px}
  .shop-topbar .brand-mark{width:34px;height:34px;font-size:13px}
  .header-search{grid-area:search;justify-self:stretch;width:100%;height:40px}
  .header-search button{width:46px}
  .shop-nav{grid-area:nav;justify-self:end}
  .shop-nav a{padding:6px;font-size:13px}
  .shop-language{grid-area:language}
  .shop-language select{max-width:120px}
  .shop-main{padding:13px 16px 35px}
  .category-rail{padding-block:13px;gap:8px}
  .category-rail button{min-height:39px;padding-right:12px;font-size:12px}
  .category-symbol{width:27px;height:27px}
  .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .catalog-results{scroll-margin-top:126px}
  .catalog-intro{align-items:start}
  .catalog-count{margin-top:4px}
  .catalog-card-body{padding:11px}
  .catalog-card-actions{grid-template-columns:1fr}
  .catalog-card-actions button{min-height:37px}
  .cart-row{grid-template-columns:80px minmax(0,1fr);gap:10px}
  .cart-image{width:80px;height:80px}
  .cart-row-controls{grid-column:1/-1}
  .checkout-fields{grid-template-columns:1fr}
  .checkout-section{padding:18px}
  .assignment-row{grid-template-columns:1fr}
}
@media(max-width:640px){
  .shop-nav a:first-child{display:none}
}
@media(max-width:480px){
  .catalog-intro{display:block}
  .catalog-count{margin-top:9px}
  .catalog-card h3{font-size:14px}
  .catalog-price{font-size:16px}
}
@media(max-width:355px){
  .shop-topbar{padding-inline:11px;gap:4px}
  .shop-topbar .brand{font-size:16px;gap:5px}
  .shop-nav a{gap:3px}
  .shop-nav a[href="#cart"] span[data-i18n="cart"]{display:none}
  .shop-language select{max-width:100px}
  .catalog-grid{grid-template-columns:1fr}
  .catalog-card-actions{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){
  .catalog-card{transition:none}
  .skeleton-image,.skeleton-line,.skeleton-button{animation:none;background:#e6eff1}
  .shop-boot-progress::after{animation:none;transform:translateX(75%)}
}

/* Demo context stays in the document flow, above every shopping step. */
.demo-banner{display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap;padding:14px 18px;margin-bottom:16px;border:1px solid var(--shop-demo-border);border-radius:12px;background:var(--shop-demo-background);color:var(--shop-demo-text);font-size:14px;line-height:1.5}
.demo-banner strong{flex:none}
.shop-toast:empty{display:none}
.shop-toast{position:fixed;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:50;max-width:calc(100% - 32px);padding:12px 20px;border-radius:12px;background:#15354c;color:white;box-shadow:0 6px 28px #15354c33;pointer-events:none}
.detail-feedback:empty{display:none}
.detail-feedback{color:var(--shop-success);margin:0}
.detail-feedback[data-state=error]{color:var(--shop-error)}
.detail-specifications{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;margin:0;font-size:14px}
.detail-specifications dt{color:var(--ui-muted)}
.detail-specifications dd{margin:0;overflow-wrap:anywhere}

.product-name-link{text-decoration:none;color:inherit}
.product-name-link:hover{text-decoration:underline}
.product-back{display:inline-flex;align-items:center;gap:8px;margin:6px 0 22px;color:var(--ui-secondary-text);text-decoration:none;font-weight:700;padding:8px 0}
.product-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.product-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);background:white;border:1px solid var(--ui-border);border-radius:18px;padding:clamp(18px,3vw,36px)}
.product-skeleton .skeleton-image{border-radius:12px}
.product-skeleton-content{display:grid;align-content:start;gap:20px;padding-top:12px}
.product-skeleton-content .skeleton-line{height:20px}
.product-skeleton-content .skeleton-button{height:52px;margin-top:20px}
.product-gallery{position:relative;min-width:0;align-self:start}
.product-image-button{position:relative;display:flex;justify-content:center;width:100%;padding:0;border:0;border-radius:12px;overflow:hidden;background:var(--ui-surface);cursor:zoom-in;touch-action:pan-y pinch-zoom}
.product-zoom-cue{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--ui-border);border-radius:50%;background:#fffffff2;color:var(--ui-ink);box-shadow:0 2px 10px #17395024;pointer-events:none}
.product-zoom-cue svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.product-main-image{width:100%;aspect-ratio:1;object-fit:contain;max-height:560px}
.image-count{position:absolute;right:12px;bottom:12px;padding:5px 9px;border-radius:16px;background:#173950dd;color:var(--ui-surface);font-size:12px;line-height:1.2}
.product-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:9px 2px 3px;scrollbar-width:thin}
.product-thumbnail{flex:none;width:66px;height:66px;padding:3px;border:2px solid var(--ui-border);border-radius:8px;background:var(--ui-surface);cursor:pointer}
.product-thumbnail[aria-pressed=true]{border-color:var(--ui-primary)}
.product-thumbnail img{width:100%;height:100%;object-fit:contain}
.gallery-arrow,.viewer-arrow{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--ui-border);border-radius:50%;background:#ffffffeb;color:var(--ui-ink);cursor:pointer;box-shadow:0 2px 10px #17395024}
.gallery-arrow{position:absolute;top:calc(50% - 22px);z-index:1}
.gallery-arrow[data-direction=previous]{left:10px}.gallery-arrow[data-direction=next]{right:10px}
.gallery-arrow svg,.viewer-arrow svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.product-summary{display:flex;flex-direction:column;min-width:0}
.product-heading-block{display:grid;gap:12px}
.product-service-details{display:grid;margin-top:8px;background:var(--ui-surface)}
.product-service-row{border-top:1px solid var(--ui-divider)}
.product-service-row summary,.product-reviews summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;list-style:none;cursor:pointer;font-weight:700}
.product-service-row summary::-webkit-details-marker,.product-reviews summary::-webkit-details-marker{display:none}
.product-service-row summary:focus-visible,.product-reviews summary:focus-visible{outline:3px solid var(--ui-focus);outline-offset:-3px;border-radius:6px}
.product-service-row summary::after,.product-reviews summary::after{content:'';flex:none;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .18s ease}
.product-service-row[open] summary::after,.product-reviews[open] summary::after{transform:rotate(225deg)}
.product-service-row summary{padding:0 16px;font-size:15px}
.product-service-row p{margin:0;padding:0 16px 16px;color:var(--ui-muted);font-size:13px;line-height:1.5}
.product-reviews{margin-top:8px;padding:4px 16px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:12px}
.product-reviews summary{font-size:18px}
.product-reviews p{margin:0;padding-bottom:12px;color:var(--ui-muted);font-size:14px}
@media(prefers-reduced-motion:reduce){.product-service-row summary::after,.product-reviews summary::after{transition:none}}
.product-heading-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.product-share{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--ui-border);border-radius:50%;background:var(--ui-surface);color:var(--ui-secondary-text);cursor:pointer}
.product-share svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.product-selection-block{display:flex;flex-direction:column;gap:16px;margin-top:20px;padding-top:20px;border-top:1px solid var(--ui-divider)}
.product-summary h1{font-size:clamp(25px,2.7vw,38px);line-height:1.22;overflow-wrap:anywhere;text-wrap:balance;scroll-margin-top:150px}
.product-price{font-size:clamp(26px,3vw,36px);color:var(--shop-price);background:var(--shop-selected-surface);border-radius:10px;padding:20px}
.product-variants h2{font-size:15px;margin:0 0 9px}
.product-variant-options{display:flex;flex-wrap:wrap;gap:8px}
.product-variant{display:grid;gap:3px;min-height:48px;min-width:92px;padding:8px 11px;border:1px solid var(--shop-control-border);border-radius:9px;background:var(--ui-surface);color:var(--ui-ink);text-decoration:none;font-size:13px}
.product-variant strong{color:var(--ui-primary)}
.product-variant[aria-current=true]{border:2px solid var(--ui-primary);background:var(--shop-selected-surface);padding:7px 10px}
.variant-chooser-trigger{display:none}
.variant-dialog{width:min(480px,calc(100vw - 24px));max-height:80dvh;padding:0;border:0;border-radius:16px;background:var(--ui-surface);color:var(--ui-ink);overflow:hidden}
.variant-dialog::backdrop{background:#102b41a6}
.variant-dialog[open]{display:flex;flex-direction:column}
.variant-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--ui-border)}
.variant-dialog-header h2{margin:0;font-size:19px}
.variant-dialog-close{display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;color:var(--ui-ink);cursor:pointer}
.variant-dialog-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.variant-dialog-summary{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--ui-divider)}
.variant-summary-image{flex:none;width:64px;height:64px;object-fit:contain;border:1px solid var(--ui-border);border-radius:8px}
.variant-summary-copy{display:grid;gap:4px;min-width:0;font-size:13px;line-height:1.3}
.variant-summary-copy strong{color:var(--shop-price);font-size:20px}
.variant-summary-copy span{overflow-wrap:anywhere}
.variant-dialog-options{display:grid;gap:8px;padding:16px;overflow:auto;overscroll-behavior:contain}
.variant-dialog-options .product-variant{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:54px;padding:12px 14px}
.variant-dialog-options .product-variant[aria-current=true]{padding:11px 13px}
.variant-dialog-options .product-variant:has(.variant-option-image){grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto;gap:4px 12px}
.variant-option-image{grid-column:1;grid-row:1/3;width:52px;height:52px;object-fit:contain;border-radius:6px;background:var(--ui-hover-surface)}
.variant-option-label{min-width:0;overflow-wrap:anywhere}
.variant-dialog-options .product-variant:has(.variant-option-image) strong{grid-column:2;grid-row:2}
body:has(.variant-dialog[open]){overflow:hidden}
.product-quantity-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}
.product-quantity-row label{font-weight:700;font-size:14px}
.product-quantity-row .product-subtotal{margin-left:auto}
.quantity-stepper{display:inline-flex;align-self:start;border:1px solid var(--shop-control-border);border-radius:9px;overflow:hidden}
.quantity-stepper button{border:0;border-radius:0;min-width:44px;min-height:44px;font-size:22px}
.quantity-stepper input{width:66px;text-align:center;border:0;border-inline:1px solid var(--ui-border);background:white;color:var(--ui-ink);min-height:44px;appearance:textfield}
.quantity-stepper input::-webkit-inner-spin-button{appearance:none}
.product-subtotal{margin:0;color:var(--ui-muted);font-weight:650;font-size:14px}
.product-purchase{display:grid;grid-template-columns:80px minmax(0,1fr) minmax(0,1.45fr);gap:8px}
.product-purchase button,.product-purchase a{min-height:50px;min-width:0}
.product-purchase .product-chat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px;border:1px solid var(--ui-control-border);border-radius:9px;background:var(--ui-surface);color:var(--ui-secondary-text);font-size:12px;font-weight:700;text-decoration:none}
@media(min-width:761px) and (max-width:980px){.product-layout{grid-template-columns:minmax(0,42fr) minmax(0,58fr);gap:18px;padding:18px}.product-purchase{grid-template-columns:64px minmax(112px,1fr) minmax(116px,1.1fr)}.product-price{padding:16px}}
.product-chat svg{width:21px;height:21px}
.product-selection-block>.outline-button{align-self:start}
.text-button{align-self:start;border:0;padding:8px 0;background:none;color:var(--ui-primary);font-weight:700;text-decoration:underline;min-height:44px}
.product-summary .shop-note:empty{display:none}
.share-url{width:100%;padding:12px;border:1px solid var(--ui-control-border);border-radius:8px}
.product-description-section{margin-top:24px;padding:clamp(20px,3vw,36px);background:white;border:1px solid var(--ui-border);border-radius:16px}
.product-description-section h2,.related-products h2{font-size:22px;margin:0 0 20px}
.product-description-section .detail-specifications{max-width:650px}
.description-heading{font-size:17px;margin:24px 0 10px;padding-top:20px;border-top:1px solid var(--ui-divider)}
.related-products{margin-top:32px}
.related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.related-card{display:flex;flex-direction:column;gap:12px;padding:12px;background:white;border:1px solid var(--ui-border);border-radius:12px;text-decoration:none;min-width:0}
.related-card:hover{border-color:var(--ui-primary)}
.related-image{width:100%;aspect-ratio:1;object-fit:contain}
.related-card h3{font-size:15px;line-height:1.4;margin:0;overflow-wrap:anywhere}
.related-card strong{margin-top:auto;color:var(--shop-price)}
.image-viewer{position:fixed;grid-template-rows:auto minmax(0,1fr) auto;width:min(1000px,calc(100vw - 24px));height:min(900px,calc(100dvh - 24px));padding:12px;border:0;border-radius:14px;background:var(--ui-surface);overflow:hidden}
.image-viewer[open]{display:grid}
.image-viewer::backdrop{background:#102b41bb}
.image-viewer-header{display:flex;align-items:center;justify-content:space-between;min-height:44px}
.image-viewer-count{color:var(--ui-secondary-text);font-size:14px;font-weight:700}
.image-close{display:grid;place-items:center;width:44px;height:44px;margin-left:auto;border:0;border-radius:50%;background:var(--ui-hover-surface);color:var(--ui-ink);cursor:pointer;z-index:1}
.image-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.zoom-image{display:block;width:100%;height:100%;min-height:0;object-fit:contain;touch-action:pan-y}
.viewer-thumbnails{display:flex;gap:8px;min-height:78px;overflow-x:auto;padding:6px 2px;scrollbar-width:thin}
.viewer-thumbnails .product-thumbnail{width:64px;height:64px}
.viewer-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:1}
.viewer-arrow[data-direction=previous]{left:16px}.viewer-arrow[data-direction=next]{right:16px}
.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}
.cart-totals{position:sticky;top:95px;background:white;border:1px solid var(--ui-border);border-radius:14px;padding:22px}
.cart-totals .cart-summary{margin:0;padding-top:0;border:0}
.cart-totals .cart-actions{display:grid;grid-template-columns:1fr}
.cart-line-subtotal{font-size:15px}
.checkout-item{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:center}
.checkout-item:not(:has(img)){grid-template-columns:minmax(0,1fr)}
.checkout-item-image{width:64px;height:64px;object-fit:contain;border:1px solid var(--ui-divider);border-radius:8px}
.checkout-item strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.checkout-item p{margin:5px 0;color:var(--ui-muted);font-size:13px}
.demo-contact-details{padding:18px;border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:14px}
.demo-contact-details summary{cursor:pointer;font-weight:750;color:var(--ui-secondary-text);line-height:1.5}
.demo-contact-details[open] summary{margin-bottom:22px}
.demo-contact-details .delivery-list{margin:20px 0}
.product-state{margin:24px 0;font-size:28px}
@media(max-width:980px){.cart-layout{grid-template-columns:minmax(0,1fr)}.cart-totals{position:static}}
@media(max-width:760px){
  html,body{touch-action:pan-x pan-y pinch-zoom}
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea{font-size:16px}
  #product-view{position:relative}
  .product-layout{grid-template-columns:minmax(0,1fr);padding:0;gap:0;border:0;border-radius:0;background:transparent}
  .product-back{position:absolute;top:12px;left:12px;z-index:2;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border-radius:50%;background:#fffffff0;box-shadow:0 2px 12px #17395026}
  .product-back span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .product-gallery{position:relative;margin-inline:-16px;background:var(--ui-surface)}
  .product-image-button{border-radius:0}
  .product-image-button{touch-action:pan-y pinch-zoom}
  .gallery-arrow{top:calc(50% - 22px)}
  .product-main-image{max-height:none;aspect-ratio:1;object-fit:contain}
  .product-summary{gap:8px;margin-inline:-16px;background:transparent}
  .product-heading-block{padding:18px 16px 12px;background:var(--ui-surface);gap:8px}
  .product-selection-block{gap:12px;margin:0;padding:16px 16px 22px;border:0;background:var(--ui-surface)}
  .product-variant-options{display:none}
  .variant-chooser-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;padding:10px 14px;border:1px solid var(--shop-control-border);border-radius:9px;background:var(--ui-surface);color:var(--ui-ink);text-align:start;cursor:pointer}
  .variant-chooser-trigger span{font-size:13px;color:var(--ui-muted)}.variant-chooser-trigger strong{font-size:15px;overflow-wrap:anywhere;text-align:end}
  .variant-chooser-trigger svg{flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .variant-dialog{width:100%;max-width:100vw;max-height:min(75dvh,700px);margin:auto 0 0;border-radius:16px 16px 0 0;padding-bottom:env(safe-area-inset-bottom)}
  .product-summary h1{font-size:21px;line-height:1.3;margin:0}
  .product-price{padding:0;border-radius:0;background:transparent;font-size:30px;line-height:1.2}
  .product-quantity-row{justify-content:space-between}
  .product-quantity-row .product-subtotal{width:100%;margin-left:0;font-size:13px}
  .product-purchase{position:fixed;inset:auto 0 var(--mobile-nav-height) 0;z-index:26;gap:8px;padding:10px 16px;background:var(--ui-surface);border-top:1px solid var(--ui-border);box-shadow:0 -5px 20px #17395012;transition:bottom .2s ease}
  .product-purchase button{min-height:50px}
  .product-description-section{margin:8px -16px 0;padding:22px 16px;border-inline:0;border-radius:0}
  body[data-shop-route=product]{padding-bottom:calc(var(--mobile-nav-height) + 84px)}
  body[data-shop-route=product] .shop-toast{bottom:calc(var(--mobile-nav-height) + 84px)}
  .mobile-chrome-hidden .product-purchase{bottom:0}
  .mobile-chrome-hidden[data-shop-route=product] .shop-toast{bottom:84px}
  .mobile-keyboard .product-purchase,body:has(dialog[open]) .product-purchase{visibility:hidden}
  .related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .related-card{padding:10px}
  .related-card h3{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.product-purchase{transition:none}}
#detail-title:focus{outline:0}
.palette-settings{display:grid;gap:14px}
.palette-settings h2,.palette-settings p{margin:0}
.palette-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;border:0}
.palette-option{display:flex;align-items:center;gap:10px;min-width:0;min-height:74px;padding:12px;border:2px solid var(--ui-border);border-radius:12px;background:var(--ui-surface);color:var(--ui-ink);font-weight:700;cursor:pointer}
.palette-option:has(input:checked){border-color:var(--ui-primary);background:var(--shop-selected-surface)}
.palette-option:focus-within{outline:3px solid var(--ui-focus);outline-offset:2px}
.palette-option input{flex:none;width:18px;height:18px;margin:0;accent-color:var(--ui-primary)}
.palette-swatches{display:flex;flex:none;align-items:center;width:42px;height:32px;overflow:hidden;border:1px solid var(--ui-control-border);border-radius:6px}
.palette-swatches i{display:block;flex:1;height:100%}
.palette-evergreen i:nth-child(1){background:#087f83}.palette-evergreen i:nth-child(2){background:#e8f4f3}.palette-evergreen i:nth-child(3){background:#a54428}
.palette-plum i:nth-child(1){background:#7c426a}.palette-plum i:nth-child(2){background:#f7eaf2}.palette-plum i:nth-child(3){background:#a54428}
.palette-ocean i:nth-child(1){background:#235e91}.palette-ocean i:nth-child(2){background:#e8f2fa}.palette-ocean i:nth-child(3){background:#a54428}
@media(max-width:760px){
  .product-main-image{width:100%;height:100%;max-height:none;aspect-ratio:1;object-fit:contain}
  .palette-options{grid-template-columns:1fr}
  .palette-option{min-height:58px}
}
.catalog-card-actions button{min-height:44px}

.shop-topbar{grid-template-columns:auto minmax(150px,1fr) auto auto auto}
.shop-account{position:relative}
.shop-account nav a,.shop-account nav button{display:block;width:100%;text-align:left;text-decoration:none;font:inherit;padding:12px 16px;border:0;background:transparent;border-radius:8px;color:var(--ui-ink);cursor:pointer}
.shop-account nav a:hover,.shop-account nav button:hover{background:var(--shop-accent-soft)}
.profile-page{max-width:850px;margin-inline:auto}
.cart-select-all{margin:0 0 16px}
.cart-row{grid-template-columns:24px 115px minmax(0,1fr)}
.cart-select{width:28px;height:28px;align-self:center;accent-color:var(--ui-primary)}
#checkout-buyer dd{overflow-wrap:anywhere}
#profile-status:not(:empty){line-height:1.5;color:var(--shop-selected-text)}
@media(max-width:760px){
  .shop-topbar{grid-template-columns:minmax(0,1fr) auto auto auto;grid-template-areas:"brand nav language account" "search search search search";gap:8px;padding-inline:12px}
  .header-search{grid-column:1/-1;grid-row:2}
  .shop-nav{grid-column:2;grid-row:1}
  .shop-language{grid-column:3;grid-row:1}
  .shop-account{grid-column:4;grid-row:1}
  .shop-topbar .brand{font-size:18px;gap:6px}
  .shop-topbar .brand-mark{width:32px;height:32px}
  .shop-nav a{padding:8px 4px;gap:4px}
  .cart-row{grid-template-columns:22px 70px minmax(0,1fr);gap:10px}
  .cart-image{width:70px;height:70px}
}
@media(max-width:360px){.shop-nav a[href="#cart"]>span[data-i18n="cart"]{display:none}}

.assignment-row{grid-template-columns:minmax(0,1fr)}
@media(max-width:480px){#checkout-buyer{grid-template-columns:minmax(0,1fr);gap:6px}#checkout-buyer dd{text-align:left;margin-bottom:12px}}
/* Account, cart and checkout share one browser-local customer workflow. */
.account-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:30px;align-items:start}
.account-sidebar{display:grid;gap:8px;position:sticky;top:100px}
.account-sidebar a{padding:13px 16px;border-radius:8px;color:var(--ui-secondary-text);text-decoration:none}
.account-sidebar a[aria-current=page]{background:var(--shop-selected-strong);color:var(--shop-selected-text);font-weight:700}
.account-content{min-width:0}.account-content .profile-page{max-width:none;margin:0}
.local-orders-list{display:grid;gap:14px;margin-top:18px}
.local-orders-toolbar{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;margin-top:16px}
.local-orders-toolbar .shop-note{margin:0}
.local-order-card,.local-orders-empty{padding:20px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:12px}
.local-orders-empty{margin:0;color:var(--ui-secondary-text)}
.local-order-heading{display:flex;align-items:start;justify-content:space-between;gap:10px 20px;flex-wrap:wrap}
.local-order-heading h2{margin:0;font-size:19px;overflow-wrap:anywhere}
.local-order-total{color:var(--shop-price);font-size:19px;white-space:nowrap}
.local-order-card>.shop-note{margin:8px 0 0}
.local-order-card h3{margin:18px 0 8px;font-size:15px}
.local-order-items{list-style:none;display:grid;gap:8px;margin:0;padding:0}
.local-order-items li{display:flex;justify-content:space-between;gap:12px;padding-top:8px;border-top:1px solid var(--ui-divider)}
.local-order-items li span{min-width:0;overflow-wrap:anywhere}
.local-order-items li strong{flex:none;white-space:nowrap}
.address-page-heading,.address-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.address-page-heading h1,.address-page-heading h2,.address-dialog-heading h2{margin:0;font-size:clamp(21px,3vw,28px)}
.address-card{display:flex;justify-content:space-between;gap:20px;padding:24px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:10px;margin:14px 0}
.address-copy{min-width:0;overflow-wrap:anywhere}.address-copy strong{margin-right:14px}.address-copy p{margin:10px 0;color:var(--ui-muted)}
.address-actions{display:flex;flex-wrap:wrap;align-content:start;justify-content:end;gap:8px;flex-shrink:0;max-width:260px}
.default-badge{display:inline-block;border:1px solid var(--shop-accent);color:var(--shop-accent-hover);font-size:12px;padding:2px 7px;border-radius:3px}
.address-empty{padding:40px 22px;background:var(--ui-surface);border:1px dashed var(--ui-control-border);border-radius:10px}
.address-form{display:grid;gap:16px}.address-form .checkout-fields{display:grid;gap:14px}.address-form .phone-fields{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px}.address-form>.shop-note,.address-postcode-source{margin:0}.address-postcode-source{font-size:12px}.address-phone-prefix{display:flex;align-items:center;min-height:44px;padding:10px 12px;border:1px solid var(--ui-control-border);border-radius:8px;background:var(--ui-hover-surface)}
.address-choice{display:flex;gap:14px;align-items:start;padding:18px;border:1px solid var(--ui-control-border);border-radius:8px;cursor:pointer}
.address-choice:has(:checked){border-color:var(--ui-primary);background:var(--shop-selected-surface)}.address-choice input{flex:none;width:20px;height:20px;margin-top:2px;accent-color:var(--ui-primary)}.address-choices{display:grid;gap:12px}
.cart-columns{display:grid;grid-template-columns:minmax(220px,1fr) 110px 150px 115px;gap:20px;padding:18px 24px;background:white;color:var(--ui-muted);margin-bottom:12px;border:1px solid var(--ui-border);border-radius:9px}
.cart-row{grid-template-columns:22px 80px minmax(110px,1fr) 110px 150px 115px;gap:20px;align-items:center;padding:20px 24px;box-shadow:none}
.cart-list[hidden]{display:none}
.cart-skeleton[hidden]{display:none}
.cart-skeleton-detail{display:grid;gap:10px;min-width:0}.cart-skeleton-detail .skeleton-line{height:15px}
.cart-skeleton-check{width:19px;height:19px}.cart-skeleton-row .cart-skeleton-image{width:80px;height:80px;aspect-ratio:auto;border-radius:8px}
.cart-skeleton-unit,.cart-skeleton-subtotal,.cart-skeleton-action{width:80%;height:16px}.cart-skeleton-quantity{width:100%;height:44px;border-radius:8px}
.cart-row .cart-image{width:80px;height:80px}.cart-row-detail h2{font-size:15px}.cart-row-detail p{font-size:12px}.cart-unit-price,.cart-line-subtotal{font-size:14px}
.cart-unit-price{color:var(--shop-price)}
.cart-row-controls{display:block;grid-column:auto}.quantity-stepper{display:flex;align-items:center;width:144px}.quantity-stepper button{padding:0;width:42px;height:44px;min-width:42px;border-radius:0}.quantity-stepper input{border-radius:0;width:60px;height:44px;padding:0 2px;text-align:center;appearance:textfield;-moz-appearance:textfield}.quantity-stepper input::-webkit-inner-spin-button{appearance:none}
.shop-actionbar{position:fixed;bottom:0;left:0;right:0;z-index:25;display:flex;align-items:center;justify-content:flex-end;gap:20px;background:var(--ui-surface);border-top:1px solid var(--ui-control-border);box-shadow:0 -5px 20px #1739500a;padding:16px max(20px,calc((100vw - 1380px)/2)) calc(16px + env(safe-area-inset-bottom))}
.shop-actionbar .cart-summary{margin:0;padding:0;border:0;display:flex;align-items:center;gap:15px;font-size:14px}.shop-actionbar .cart-summary strong{font-size:24px;color:var(--shop-order-total);white-space:nowrap}.shop-actionbar p{margin:0}.shop-actionbar .check-row{margin-right:auto}.shop-actionbar .primary-button{min-width:180px}
#cart-view>.shop-actionbar{flex-wrap:wrap}
.cart-profile-state{display:flex;align-items:center;gap:8px;min-width:0;color:var(--ui-secondary-text);font-size:12px;line-height:1.35}
.cart-profile-state[hidden],.cart-profile-state a[hidden]{display:none}
.cart-profile-state a{color:var(--ui-primary);font-weight:700;white-space:nowrap}
body[data-shop-route=cart],body[data-shop-route=checkout]{padding-bottom:calc(var(--shop-action-height,160px) + 24px)}
.checkout-form{max-width:none;gap:18px}.checkout-address-section h2{font-size:20px}.address-contact{display:flex;gap:18px;flex-wrap:wrap;margin-top:16px}#checkout-address p{margin:10px 0;overflow-wrap:anywhere}
#checkout-buyer{display:flex;flex-wrap:wrap;gap:8px 16px;margin:4px 0 12px}#checkout-buyer dt{font-size:12px;color:var(--ui-muted)}#checkout-buyer dd{margin:0 20px 0 0;font-size:14px;overflow-wrap:anywhere}
.demo-banner{padding:10px 16px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:20px;font-size:13px}.demo-banner strong{font-size:14px}.demo-banner span{font-size:13px}.checkout-item{width:100%}
@media(max-width:1050px){.cart-columns{grid-template-columns:minmax(170px,1fr) 90px 144px 90px;gap:12px}.cart-row{grid-template-columns:20px 60px minmax(70px,1fr) 90px 144px 90px;gap:12px;padding:16px}.cart-row .cart-image{width:60px;height:60px}.shop-actionbar{gap:12px}}
@media(min-width:801px) and (max-width:1050px){#cart-view>.shop-actionbar{flex-wrap:nowrap;gap:8px;padding-inline:18px}#cart-view .shop-actionbar .primary-button{min-width:140px;padding-inline:10px}#cart-selected-count{font-size:12px}#cart-view .shop-actionbar .cart-summary{gap:7px}.cart-profile-state{font-size:11px;gap:5px}}
@media(max-width:1050px){.cart-skeleton-row .cart-skeleton-image{width:60px;height:60px}}
@media(max-width:800px){
.account-layout{grid-template-columns:minmax(0,1fr);gap:18px}.account-sidebar{position:static;display:flex;flex-wrap:wrap;min-width:0;max-width:100%;gap:4px;padding:4px}.account-sidebar a{flex:none;white-space:nowrap;min-height:44px;padding:10px 12px;display:flex;align-items:center}.account-sidebar a:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-2px}
.cart-columns{display:none}.cart-row{grid-template-columns:22px 64px minmax(0,1fr);gap:10px;padding:14px}.cart-row .cart-image{width:64px;height:64px}.cart-row-detail{grid-column:3}.cart-unit-price{grid-column:3}.cart-row-controls{grid-column:2/4;grid-row:auto}.cart-line-subtotal{grid-column:3;text-align:right}.quantity-stepper{width:144px}
.cart-skeleton-check{grid-column:1;grid-row:1}.cart-skeleton-row .cart-skeleton-image{grid-column:2;grid-row:1;width:64px;height:64px}.cart-skeleton-detail{grid-column:3;grid-row:1}.cart-skeleton-unit{grid-column:2;grid-row:2}.cart-skeleton-quantity{grid-column:3;grid-row:2;justify-self:end;max-width:144px}.cart-skeleton-subtotal{grid-column:3;grid-row:3;justify-self:end}.cart-skeleton-action{grid-column:2;grid-row:3}
.shop-actionbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));font-size:12px}.shop-actionbar .cart-summary{justify-content:flex-end;grid-column:2;grid-row:1;flex-wrap:wrap;gap:4px 10px}.shop-actionbar .cart-summary strong{font-size:20px}.shop-actionbar .primary-button{min-width:0;width:100%;padding:10px;grid-column:2;grid-row:2}.shop-actionbar .check-row{grid-row:1}.shop-actionbar>a{grid-column:1;grid-row:2}.shop-actionbar .cart-summary span{font-size:11px}#cart-selected-count{grid-row:2}
.address-card{flex-direction:column;padding:18px}.address-actions{max-width:none;justify-content:start}.address-copy strong,.address-copy>span:not(.default-badge){display:block}.address-copy strong{margin:0 0 6px}.address-page-heading{align-items:start}.address-page-heading .primary-button{padding:10px;flex:none}.demo-banner{gap:4px 12px}#checkout-buyer{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px}#checkout-buyer dd{margin:0}
}
.checkout-columns,.assignment-row{display:grid;grid-template-columns:minmax(0,1fr) 110px 90px 120px;gap:20px;align-items:center}.checkout-columns{padding:12px 0;color:var(--ui-muted);font-size:13px;border-bottom:1px solid var(--ui-border)}.checkout-cell-label{display:none}.checkout-cell{font-size:14px}.checkout-cell:last-child{font-weight:700}.checkout-item strong{font-size:15px;overflow-wrap:anywhere}
@media(max-width:800px){.checkout-columns{display:none}.assignment-row{grid-template-columns:1fr;gap:8px;padding:16px 0}.checkout-cell{display:flex;justify-content:space-between;gap:10px}.checkout-cell-label{display:inline;color:var(--ui-muted)}}
@media(max-width:800px){.cart-line-subtotal{grid-row:4}}
/* Mobile browsing gives products the viewport and moves navigation within thumb reach. */
.mobile-navigation{display:none}
.mobile-nav-dialog{padding:0;width:min(480px,calc(100vw - 24px));max-height:75dvh;border:0;border-radius:16px;color:var(--ui-ink);background:white;overflow:auto;overscroll-behavior:contain}
.mobile-nav-dialog::backdrop{background:#0c294080}.mobile-nav-dialog header{position:sticky;top:0;z-index:1;background:var(--ui-surface);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid var(--ui-border)}.mobile-nav-dialog h2{font-size:20px;margin:0}.mobile-nav-choices{display:grid;padding:12px;gap:6px}.mobile-nav-choices button{min-height:46px;border:1px solid var(--ui-control-border);border-radius:8px;background:var(--ui-surface);color:var(--ui-ink);text-align:start;padding:12px}.mobile-nav-choices button[aria-pressed=true]{background:var(--shop-selected-strong);border-color:var(--ui-primary);font-weight:700}
body:has(.mobile-nav-dialog[open]){overflow:hidden}
@media(max-width:760px){
 :root{--mobile-nav-height:calc(64px + env(safe-area-inset-bottom))}
 .shop-topbar{display:flex;height:60px;min-height:60px;padding:8px 12px;gap:0;position:sticky;top:0;z-index:30;transition:transform .2s ease}
 .shop-topbar>.brand,.shop-topbar>.shop-nav,.shop-topbar>.shop-language,.shop-topbar>.shop-account{display:none}
 .shop-topbar .header-search{width:100%;max-width:none;height:44px;margin:0;grid-area:auto;grid-column:auto;grid-row:auto}
 .header-search input{font-size:16px}
 .mobile-navigation{position:fixed;inset:auto 0 0;z-index:30;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:var(--mobile-nav-height);padding:4px 4px calc(4px + env(safe-area-inset-bottom));background:var(--ui-surface);border-top:1px solid var(--ui-border);transition:transform .2s ease}
 .mobile-navigation>a,.mobile-navigation>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:48px;border:0;border-radius:8px;background:transparent;color:var(--ui-muted);text-decoration:none;font-size:10px;line-height:1.2;padding:3px 1px;text-align:center;overflow-wrap:anywhere}
 .mobile-navigation [aria-current=page]{background:var(--shop-selected-surface);color:var(--shop-selected-text);font-weight:700}.mobile-nav-icon{position:relative;display:block;width:25px;height:25px}.mobile-nav-icon svg,.mobile-nav-icon img{display:block;width:25px;height:25px}.mobile-nav-icon svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mobile-cart-count{position:absolute;right:-11px;top:-5px;min-width:17px;padding:1px 3px;border-radius:12px;background:var(--ui-primary);color:var(--ui-surface);font-size:10px}
 body{padding-bottom:calc(var(--mobile-nav-height) + 16px)}
 body[data-shop-route=cart],body[data-shop-route=checkout]{padding-bottom:calc(var(--mobile-nav-height) + var(--shop-action-height,160px) + 24px)}
 .shop-actionbar{bottom:var(--mobile-nav-height);padding-bottom:10px}.product-purchase{bottom:var(--mobile-nav-height)}
 .shop-toast{bottom:calc(var(--mobile-nav-height) + var(--shop-action-height,0px) + 12px)}
 .mobile-chrome-hidden .shop-topbar{transform:translateY(-110%)}.mobile-chrome-hidden .mobile-navigation{transform:translateY(110%)}
 .mobile-keyboard .mobile-navigation{display:none}.mobile-keyboard .shop-actionbar{bottom:0}
 body:has(dialog[open]) .mobile-navigation{visibility:hidden}
 .mobile-nav-dialog{margin:auto 0 0;width:100%;max-width:100vw;border-radius:16px 16px 0 0;padding-bottom:env(safe-area-inset-bottom)}
 .shop-main{padding-top:10px}.demo-banner{margin-bottom:8px;padding:7px 10px;font-size:11px;gap:3px 8px}.demo-banner strong,.demo-banner span{font-size:11px}
 .category-rail{padding-block:6px;gap:8px}.category-rail button{min-height:36px;font-size:12px}.category-symbol{display:none}
 .catalog-filter{display:none}.catalog-intro{margin:10px 0}.catalog-intro .eyebrow{font-size:11px}.catalog-intro>div>p[data-i18n=catalogSubtitle]{display:none}.catalog-intro h2{font-size:20px}
 #catalog-results{scroll-margin-top:70px}
}
@media(prefers-reduced-motion:reduce){.shop-topbar,.mobile-navigation{transition:none}}

.shop-update-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;margin-bottom:12px;border:1px solid var(--ui-control-border);background:var(--shop-selected-surface);border-radius:10px;font-size:14px}.shop-update-banner button{flex:none}.shop-update-banner[hidden]{display:none}
.product-update-banner{margin-bottom:16px}
.account-page{display:grid;gap:16px}
.product-navigation{display:flex;align-items:center;gap:10px;min-height:54px;margin-bottom:14px}
.product-navigation .product-back{margin:0 auto 0 0;min-height:44px}
.product-nav-cart{display:none;place-items:center;width:44px;height:44px;color:var(--ui-ink);border-radius:50%;text-decoration:none}
.product-nav-cart svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.product-demo-note{display:none;margin:0;padding:12px 16px;background:var(--shop-selected-surface);color:var(--ui-secondary-text);font-size:13px;line-height:1.4}
.product-purchase button,.product-purchase a{padding:8px 6px;white-space:normal}
.product-purchase .product-add{border:1px solid var(--ui-control-border);border-radius:9px;background:var(--ui-surface);color:var(--ui-ink);font-weight:700}
.product-purchase .product-add:hover{background:var(--ui-hover-surface)}
@media(max-width:760px){
 body[data-shop-route=product] .shop-topbar,body[data-shop-route=product] .mobile-navigation,body[data-shop-route=product] #demo-banner{display:none}
 body[data-shop-route=product] .shop-main{padding:0 0 calc(112px + env(safe-area-inset-bottom))}
 body[data-shop-route=product]{padding-bottom:0}
 #product-view .product-navigation{position:fixed;inset:0 0 auto;z-index:35;display:flex;align-items:center;gap:8px;height:calc(56px + env(safe-area-inset-top));min-height:0;margin:0;padding:env(safe-area-inset-top) 12px 0;background:transparent;box-shadow:none;transition:background-color .2s ease,box-shadow .2s ease}
 #product-view .product-navigation-solid{background:var(--ui-surface);box-shadow:0 2px 14px #1739501a}
 #product-view .product-navigation .product-back,#product-view .product-navigation .product-share,#product-view .product-nav-cart{position:static;display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;margin:0;border:0;border-radius:50%;background:#102b41ad;color:#fff;box-shadow:0 2px 9px #102b4140;transition:background-color .2s ease,color .2s ease,box-shadow .2s ease}
 #product-view .product-navigation .product-back{margin-right:auto}
 #product-view .product-navigation-solid .product-back,#product-view .product-navigation-solid .product-share,#product-view .product-navigation-solid .product-nav-cart{background:var(--ui-hover-surface);color:var(--ui-ink);box-shadow:none}
 #product-view .product-navigation a:focus-visible,#product-view .product-navigation button:focus-visible{outline:3px solid var(--ui-focus);outline-offset:2px}
 #product-view .product-gallery{margin:0;background:var(--ui-surface)}
 #product-view .product-image-button{aspect-ratio:1;width:100%;border-radius:0}
 #product-view .product-zoom-cue{top:68px}
 #product-view .product-main-image,#product-view .product-image-button .image-placeholder{width:100%;height:100%;aspect-ratio:1;object-fit:contain}
 #product-view .product-thumbnails{display:none}
 #product-view .product-summary{margin:0;gap:0}
 #product-view .product-update-banner{margin:0;border-inline:0;border-radius:0;flex-wrap:wrap}
 #product-view .product-update-banner button{min-height:44px}
 #product-view .product-demo-note{display:block}
 #product-view .product-heading-block{padding:18px 16px 8px}
 #product-view .product-heading-block h1{font-size:20px}
 #product-view .product-price{font-size:30px}
 #product-view .product-selection-block{padding:8px 16px 22px}
 #product-view .product-description-section{margin:8px 0 0;padding:22px 16px;border-inline:0;border-radius:0}
 #product-view .product-service-details{margin:0}
 #product-view .product-reviews{border-inline:0;border-radius:0}
 #product-view .product-purchase{position:fixed;inset:auto 0 0;z-index:36;display:grid;grid-template-columns:64px minmax(0,1fr) minmax(0,1.4fr);gap:8px;margin:0;padding:8px 12px;background:var(--ui-surface);border-top:1px solid var(--ui-border);box-shadow:0 -4px 18px #1739501c;transition:none}
 #product-view .product-purchase button,#product-view .product-purchase a{min-width:0;min-height:calc(52px + env(safe-area-inset-bottom));padding:6px 5px calc(6px + env(safe-area-inset-bottom));font-size:clamp(11px,3vw,14px);line-height:1.15;white-space:normal;overflow-wrap:anywhere}
 #product-view .product-purchase .product-chat{font-size:11px}
 body[data-shop-route=product] .shop-toast{bottom:calc(82px + env(safe-area-inset-bottom))}
}
@media(max-width:760px) and (prefers-reduced-motion:reduce){#product-view .product-navigation,#product-view .product-navigation .product-back,#product-view .product-navigation .product-share,#product-view .product-nav-cart{transition:none}}
.account-page>.shop-heading,.account-page>.address-page-heading{margin-bottom:8px}
.account-page>.shop-note,.account-page>#addresses-status{margin:0}
#addresses-status:empty{display:none}
#addresses-list{display:grid;gap:16px}
#addresses-list>.address-card,#addresses-list>.address-empty{margin:0}
.settings-general{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.settings-general .shop-note,.settings-general #settings-status{margin:0}
#settings-status:empty,.shop-update-settings [role="status"]:empty{display:none}
.shop-update-settings h2{margin:0 0 12px;font-size:20px}
.shop-update-settings p{margin:0 0 16px}
.shop-update-settings button{margin:0 8px 0 0}
body:has(.app-modal[open]) .shop-actionbar{visibility:hidden}
@media(max-width:760px){
 .cart-row{grid-template-columns:22px 80px minmax(0,1fr);gap:12px;padding:12px;margin-bottom:12px}
 .cart-row .cart-image{width:80px;height:80px;grid-column:2;grid-row:1;align-self:start}.cart-select{grid-column:1;grid-row:1}
 .cart-skeleton-row .cart-skeleton-image{width:80px;height:80px}
 .cart-row-detail{grid-column:3;grid-row:1}.cart-row-detail h2{font-size:15px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 6px}.cart-row-detail p{font-size:12px;margin:0}
 .cart-unit-price{grid-column:2;grid-row:2;font-size:18px;font-weight:700;white-space:nowrap}.cart-row-controls{grid-column:3;grid-row:2;justify-self:end;width:100%;max-width:144px}.cart-row .quantity-stepper{width:100%;max-width:144px}.cart-row .quantity-stepper input{min-width:0;flex:1}.cart-row .quantity-stepper button{width:44px;min-width:44px;height:44px}
 .cart-line-subtotal{grid-column:3;grid-row:3;font-size:13px}
 #cart-view>.shop-actionbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;padding:8px 12px;align-items:center}#cart-view .shop-actionbar .check-row{grid-column:1;margin:0;font-size:12px}#cart-view .shop-actionbar .cart-summary{grid-column:2;margin:0;display:flex;flex-direction:column;align-items:flex-end;gap:2px;min-width:0}#cart-view .shop-actionbar .cart-summary strong{font-size:18px}#cart-view .shop-actionbar .primary-button{grid-column:1/-1;grid-row:auto;width:100%;min-width:0;min-height:44px;padding:10px;font-size:13px}#cart-selected-count{display:none}
 #cart-view .cart-profile-state{grid-column:1/-1;justify-content:center}
 #cart-view .cart-profile-state:has(a[hidden]){display:none}
}
@media(max-width:360px){#cart-view>.shop-actionbar{gap:6px;padding-inline:8px}#cart-view .shop-actionbar .cart-summary strong{font-size:16px;white-space:normal;overflow-wrap:anywhere}}

/* Each address field uses the full form width, including the nested phone field. */
.address-form .checkout-fields{grid-template-columns:minmax(0,1fr)}
.address-form .phone-fields{grid-template-columns:100px minmax(0,1fr)}
@media(max-width:380px){.address-form .phone-fields{grid-template-columns:minmax(0,1fr)}}

/* Approved mobile shop refresh; the existing store data and flows remain authoritative. */
:root{--shop-safe-bottom:env(safe-area-inset-bottom,0px);--shop-safe-top:env(safe-area-inset-top,0px)}
.shop-topbar .brand{gap:10px;min-width:0;max-width:255px}
.shop-brand-logo{width:38px;height:38px;flex:none;color:var(--ui-primary)}
.brand-copy{display:grid;gap:3px;min-width:0;line-height:1.15}
.brand-copy strong{font-size:18px;letter-spacing:-.035em;overflow-wrap:anywhere}
.brand-copy small{font-size:9px;letter-spacing:.2em;text-transform:uppercase;color:var(--ui-secondary-text)}
.header-search{border:1px solid var(--ui-border);border-radius:24px;background:var(--ui-hover-surface)}
.header-search:focus-within{outline:2px solid var(--ui-focus);outline-offset:3px}
.header-search input{appearance:none;-webkit-appearance:none;padding-inline:16px}
.header-search input::-webkit-search-cancel-button,.header-search input::-webkit-search-decoration{display:none;-webkit-appearance:none}
.header-search button{width:44px;background:transparent;color:var(--ui-secondary-text)}
.header-search button:hover{background:var(--shop-accent-soft)}
.header-search button:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-5px;border-radius:50%}
.header-search .catalog-search-clear{background:transparent}
#catalog-results:focus{outline:none}
#catalog-results:focus-visible .catalog-intro{box-shadow:inset 3px 0 var(--ui-focus);padding-inline-start:10px}
.demo-banner{border:0;background:var(--shop-selected-surface);color:var(--ui-secondary-text);border-radius:10px}
.catalog-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;margin:0 0 24px;border-radius:18px;background:var(--shop-accent-soft);color:var(--ui-ink)}
.catalog-hero[hidden]{display:none}
.catalog-hero .eyebrow{font-size:11px;margin:0 0 7px;color:var(--shop-selected-text)}
.catalog-hero h2{font-size:clamp(23px,3vw,32px);letter-spacing:-.04em;margin:0 0 7px}
.catalog-hero p:last-child{font-size:14px;color:var(--ui-secondary-text);margin:0;line-height:1.5}
.catalog-hero>svg{width:72px;height:72px;flex:none;fill:none;stroke:var(--shop-accent);stroke-width:3;opacity:.6}
.catalog-intro .eyebrow{display:none}
.catalog-intro h2{font-size:24px}
.category-rail{gap:8px;padding-block:8px 18px;scrollbar-width:thin}
.category-rail button{min-height:44px;padding:8px 14px;gap:8px;border:0;background:var(--ui-hover-surface);font-size:13px}
.category-rail button[aria-pressed=true]{background:var(--ui-primary);color:var(--ui-surface)}
.category-symbol{display:grid;width:22px;height:22px;background:transparent;color:inherit}
.category-symbol svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.category-rail button[aria-pressed=true] .category-symbol{background:transparent;color:inherit}
.catalog-grid{gap:16px}
.catalog-card{border:1px solid var(--ui-border);border-radius:14px;background:var(--ui-surface);overflow:hidden;box-shadow:none}
.catalog-image-button,.catalog-image{background:var(--ui-surface)}
.catalog-image{padding:12px;aspect-ratio:1}
.catalog-card-body{padding:12px;gap:7px}
.catalog-category{font-size:10px;letter-spacing:.025em}
.catalog-card h3{font-weight:600;line-height:1.4;min-height:2.8em;height:2.8em;font-size:14px}
.catalog-card .product-name-link{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.catalog-price{font-size:20px;letter-spacing:-.025em;font-weight:800}
.catalog-card-actions{margin-top:4px}
.catalog-card-actions button{border:1px solid var(--ui-control-border);background:var(--ui-surface);color:var(--ui-primary);font-weight:700;border-radius:8px}
.catalog-card-actions button:hover{background:var(--shop-accent-soft)}
.product-price-label{font-size:12px;color:var(--ui-muted)}
.product-price-range{font-size:13px;line-height:18px;color:var(--ui-muted)}
.product-navigation-title{display:none}
.product-heading-block{gap:8px}
.product-price{background:transparent;padding:0;border-radius:0;line-height:1.15;letter-spacing:-.035em}
.product-summary h1{font-size:clamp(22px,2.2vw,30px);text-wrap:pretty}
.product-update-banner{padding:10px 14px;flex-wrap:wrap;font-size:12px;gap:8px}
.product-update-banner button{min-height:44px;font-size:12px;white-space:normal}
.product-demo-note{color:var(--ui-secondary-text);background:var(--shop-selected-surface);font-size:12px;line-height:1.5}
.product-purchase .product-chat{border-color:transparent;color:var(--ui-primary)}
.product-purchase .product-add{border-color:var(--ui-primary);color:var(--ui-primary)}
.cart-empty{max-width:560px;margin:20px auto 40px;text-align:center;display:grid;justify-items:center;gap:22px}
.cart-empty[hidden]{display:none}
.empty-bag{width:180px;height:150px;color:var(--ui-primary)}
.cart-empty h2{margin:0;font-size:24px;line-height:1.3;color:var(--ui-ink)}
.empty-browse{display:flex;justify-content:center;align-items:center;min-height:48px;width:min(100%,340px);border-radius:24px;text-decoration:none}
.empty-cart-categories{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:12px}
.empty-cart-categories button{font-size:14px;min-height:44px;border-radius:12px}
.search-focus-panel{position:fixed;top:60px;inset-inline:0;height:calc(var(--search-viewport-height,100dvh) - 60px);overflow:auto;background:var(--ui-surface);padding:16px max(16px,calc((100vw - 720px)/2));z-index:31;box-sizing:border-box}
.search-focus-panel[hidden]{display:none}
.search-focus-panel section{padding:20px 0;border-bottom:1px solid var(--ui-divider)}
.search-focus-panel h2{font-size:22px;margin:0 0 16px}
.search-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.search-section-heading button,.search-cancel{border:0;background:transparent;color:var(--ui-primary);min-height:44px;padding:8px;font-size:14px}
.search-cancel{display:block;margin-inline-start:auto}
.search-suggestion{display:block;text-align:start;width:100%;min-height:48px;padding:12px 4px;border:0;border-bottom:1px solid var(--ui-divider);background:transparent;font-size:16px;color:var(--ui-ink)}
.search-suggestion:focus-visible,.search-cancel:focus-visible,.search-section-heading button:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-2px}
body.search-focused{overflow:hidden}
body.search-focused .shop-main,body.search-focused .mobile-navigation{display:none}
body.search-focused .shop-topbar{position:fixed;top:0;inset-inline:0;display:flex;height:60px;min-height:60px;padding:8px 12px;transform:none;z-index:32}
body.search-focused .shop-topbar>.brand,body.search-focused .shop-topbar>.shop-nav,body.search-focused .shop-topbar>.shop-language,body.search-focused .shop-topbar>.shop-account{display:none}
body.search-focused .header-search{width:100%;max-width:720px;margin:auto;height:44px}
.header-search .search-back{width:44px;min-width:44px;min-height:44px;padding:10px;flex:none;color:var(--ui-ink)}
.header-search .search-back[hidden]{display:none}
.header-search .search-back svg{width:24px;height:24px}
.header-search .search-back+label+input{min-width:0}
.cart-count[hidden],.mobile-cart-count[hidden],.product-cart-count[hidden]{display:none}
#product-view .product-nav-cart{position:relative}
.product-cart-count{position:absolute;inset-inline-end:1px;top:1px;min-width:17px;padding:1px 3px;border-radius:12px;background:var(--ui-primary);color:var(--ui-surface);font-size:10px;line-height:15px;text-align:center}
#cart-view.is-empty>.cart-columns,#cart-view.is-empty>.shop-actionbar,#cart-view.is-empty>p[data-i18n=cartPriceNote],#cart-view.is-empty>a[data-i18n=continueShopping]{display:none}
@media(max-width:760px){
 .shop-topbar{display:flex;height:60px;min-height:60px;padding:8px 12px;gap:0}
 .shop-topbar>.brand,.shop-topbar>.shop-nav,.shop-topbar>.shop-language,.shop-topbar>.shop-account{display:none}
 .brand-copy strong{font-size:17px}
 .shop-brand-logo{width:34px;height:34px}
 .shop-nav>a[href='#catalog']{display:none}
 .shop-nav>a[href='#cart']{position:relative;padding:8px;min-width:44px;min-height:44px;background:transparent}
 .shop-nav>a[href='#cart']>span[data-i18n=cart]{display:none}
 .shop-nav svg{width:24px;height:24px}
 .shop-nav .cart-count{position:absolute;right:0;top:0;font-size:10px;min-width:17px;height:17px;padding:0 3px}
 .shop-topbar .header-search{grid-area:auto;grid-column:auto;grid-row:auto;width:100%;max-width:none;height:44px}
 .shop-main{padding:12px 12px 28px}
 .demo-banner{padding:8px 10px;gap:3px 8px;font-size:11px;line-height:1.4;margin-bottom:12px}
 .catalog-hero{padding:16px;margin-bottom:18px;gap:12px;border-radius:14px}
 .catalog-hero .eyebrow{font-size:10px;margin-bottom:5px}
 .catalog-hero h2{font-size:22px;margin-bottom:5px}
 .catalog-hero p:last-child{font-size:12px;max-width:240px}
 .catalog-hero>svg{width:48px;height:48px}
 .catalog-intro{margin:0 0 4px;gap:8px}
 .catalog-intro h2{font-size:20px}
 .catalog-intro>div>p[data-i18n=catalogSubtitle]{display:none}
 .category-rail{margin-inline:0;gap:8px;padding:8px 0 14px}
 .category-rail button{font-size:12px;min-height:44px;padding:8px 12px}
 .category-symbol{display:grid;width:18px;height:18px}
 .category-symbol svg{width:18px;height:18px}
 .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .catalog-image{padding:8px}
 .catalog-card-body{padding:10px;gap:6px}
 .catalog-card h3{font-size:13px}
 .catalog-price{font-size:18px}
 .catalog-category{font-size:9px}
 .catalog-card-actions button{font-size:11px;padding:8px 4px;min-height:44px}
 #catalog-results{scroll-margin-top:70px}
 #product-view{padding-top:calc(56px + var(--shop-safe-top))}
 #product-view .product-navigation{height:calc(56px + var(--shop-safe-top));padding:var(--shop-safe-top) 10px 0;display:grid;grid-template-columns:44px minmax(0,1fr) 44px 44px;gap:2px;background:var(--ui-surface);box-shadow:none;border-bottom:1px solid var(--ui-divider)}
 #product-view .product-navigation .product-back,#product-view .product-navigation .product-share,#product-view .product-nav-cart{width:44px;height:44px;margin:0;border-radius:10px;background:transparent;color:var(--ui-ink);box-shadow:none}
 #product-view .product-navigation-title{display:block;text-align:center;font-size:14px;font-weight:700;line-height:1.3}
 #product-view .product-navigation svg{width:20px;height:20px}
 #product-view .product-image-button{padding:14px;aspect-ratio:1;background:var(--ui-surface)}
 #product-view .product-main-image{aspect-ratio:1;object-fit:contain}
 #product-view .product-zoom-cue{top:12px;right:12px;width:36px;height:36px;background:var(--ui-surface);box-shadow:0 1px 5px #17395015}
 #product-view .image-count{right:14px;bottom:12px;padding:5px 8px;border-radius:7px;background:#17395080;font-size:12px}
 #product-view .product-heading-block{padding:16px 16px 10px;gap:6px;border-top:1px solid var(--ui-divider)}
 #product-view .product-price{font-size:32px}
 #product-view .product-heading-block h1{font-size:20px;line-height:1.3}
 #product-view .product-demo-note{margin:0 16px 8px;padding:8px 10px;border-radius:8px;font-size:11px}
 #product-view .product-selection-block{margin:0;padding:0 16px 12px;gap:0;border-top:0}
 #product-view .product-variants{padding:12px 0;border-bottom:1px solid var(--ui-divider)}
 #product-view .product-quantity-row{padding:12px 0;gap:10px;border-bottom:1px solid var(--ui-divider)}
 #product-view .quantity-stepper button{min-width:40px;min-height:44px}
 #product-view .quantity-stepper input{width:44px}
 #product-view .product-subtotal{font-size:12px}
 #product-view .product-service-details{padding:0 0 8px}
 #product-view .product-service-row summary{font-size:14px;min-height:48px}
 #product-view .product-description-section{padding:18px 16px;margin:0;border-top:1px solid var(--ui-divider)}
 #product-view .product-description-section h2{font-size:18px}
 #product-view .related-products{margin:20px 0 0;padding:20px 16px 24px}
 #product-view .related-products h2{font-size:20px;margin-bottom:12px}
 #product-view .related-grid{gap:12px}
 #product-view .product-purchase{grid-template-columns:52px minmax(0,1fr) minmax(0,1.12fr);gap:8px;padding:8px 12px calc(8px + var(--shop-safe-bottom));align-items:center}
 #product-view .product-purchase button,#product-view .product-purchase a{height:52px;min-height:52px;padding:6px 5px;font-size:clamp(11px,3vw,14px);border-radius:9px;overflow-wrap:normal}
 #product-view .product-purchase .product-chat{font-size:10px;border:0;gap:3px}
 #product-view .product-chat svg{width:22px;height:22px}
 body[data-shop-route=product] .shop-main{padding-bottom:calc(100px + var(--shop-safe-bottom))}
 body[data-shop-route=product] .shop-toast{bottom:calc(82px + var(--shop-safe-bottom))}
 .product-update-banner{margin:8px 12px 0;border:1px solid var(--ui-border);border-radius:8px}
}
html.image-zoom-open{overflow:hidden}
.image-zoom-stage{position:relative;min-height:0;overflow:hidden;touch-action:none;display:grid;place-items:center;outline-offset:-3px}
.image-zoom-stage .zoom-image{width:100%;height:100%;object-fit:contain;transform-origin:center;touch-action:none;user-select:none;cursor:zoom-in}
.image-zoom-stage[data-zoomed=true] .zoom-image{cursor:grab}
.image-zoom-stage[data-dragging=true] .zoom-image{cursor:grabbing}
.image-zoom-controls{display:flex;align-items:center;gap:4px}
.image-zoom-controls button{min-width:44px;height:44px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-surface);color:var(--ui-ink);font-size:18px}
.image-zoom-controls output{min-width:42px;font-size:12px;text-align:center}
.image-zoom-error{position:absolute;text-align:center;padding:16px}
.image-viewer-header{gap:4px;flex-wrap:wrap}
@media(max-width:760px){.image-viewer{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:8px 8px max(8px,env(safe-area-inset-bottom));border-radius:0}.image-viewer-count{font-size:12px}}
.cart-row-controls{position:relative}
.cart-quantity-feedback{position:absolute;top:100%;inset-inline-end:0;margin-top:2px;font-size:11px;line-height:13px;color:var(--ui-secondary-text);max-width:144px;text-align:end;background:var(--ui-surface)}
#product-view .quantity-stepper{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;width:144px;align-items:stretch}
#product-view .quantity-stepper button,#product-view .quantity-stepper input{width:100%;min-width:0;height:44px;min-height:44px;margin:0}
#product-view .quantity-stepper button:focus-visible,#product-view .quantity-stepper input:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-3px}
.order-list-link{display:block;color:var(--ui-ink);text-decoration:none}
.order-list-link:hover{border-color:var(--ui-primary)}
.order-list-link:focus-visible,.order-back:focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}
.order-details-action{display:block;margin-top:14px;color:var(--ui-primary);font-weight:700}
.order-back{display:inline-flex;align-items:center;min-height:44px;justify-self:start;margin-bottom:4px;text-decoration:none}
.order-detail h2{margin:0 0 12px;font-size:20px;overflow-wrap:anywhere}

/* Order recognition and status hierarchy use existing shop tokens. */
.order-filters{display:flex;gap:6px;overflow-x:auto;max-width:100%;padding:4px 0;margin:12px 0 0}
.order-filter{flex:none;display:flex;align-items:center;min-height:44px;padding:8px 14px;border-radius:22px;text-decoration:none;color:var(--ink);border:1px solid var(--ui-border);background:var(--ui-surface);white-space:nowrap}
.order-filter[aria-current=page]{background:var(--primary-light,#e0f3f0);color:var(--primary);border-color:var(--primary);font-weight:700}
.order-filter:focus-visible,.order-back:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-3px}
.order-number{font-size:13px!important;color:var(--ui-secondary-text);font-weight:500;margin:0}
.order-status-badge{margin:0;padding:5px 9px;border-radius:6px;background:var(--ui-background,#f3f6f6);font-size:13px;font-weight:700;max-width:100%;overflow-wrap:anywhere}
.order-status-badge[data-status=CONFIRMED]{color:var(--primary);background:#e0f3f0}
.order-status-badge[data-status=REJECTED]{color:#8c3030;background:#fff0f0}
.order-preview{display:flex;align-items:center;gap:12px;margin:16px 0}
.order-thumbnail{position:relative;display:grid;place-items:center;flex:none;width:64px;height:64px;border:1px solid var(--ui-border);border-radius:8px;background:#f3f6f6;color:var(--ui-secondary-text);font-size:28px;overflow:hidden}
.order-thumbnail img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:white}
.order-preview-copy{min-width:0;display:grid;gap:6px}
.order-item-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.order-card-footer,.order-detail-total{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 16px}
.order-card-footer .shop-note{margin:0;font-size:13px}
.order-detail>.order-status-badge{margin:16px 0 24px;display:inline-block}
.order-detail-total{border-top:1px solid var(--ui-border);padding-top:16px;margin:20px 0 16px;font-weight:700}
.order-detail .local-order-items li{align-items:center;flex-wrap:wrap;gap:8px 12px;padding:12px 0}
.order-detail .local-order-items li>span:not(.order-thumbnail){flex:1;min-width:100px}
.order-detail .local-order-items li>strong{font-size:14px}
#local-orders-status:empty,#local-orders-sync-status:empty{display:none}
.local-orders-toolbar:has(button[hidden]):has(.shop-note:empty){display:none}
@media(max-width:480px){.local-order-card{padding:16px}.local-order-heading{gap:8px}.order-detail h2{font-size:18px}.order-detail .order-thumbnail{width:52px;height:52px}}

/* Cohesive desktop utilities; mobile retains the search-only header. */
@media(min-width:761px){
 .shop-topbar{height:72px;min-height:72px;grid-template-columns:minmax(140px,auto) minmax(140px,1fr) auto auto auto;gap:12px;padding-inline:clamp(16px,3vw,48px)}
 .shop-topbar .brand{max-width:320px}
 .shop-topbar .brand-copy{min-width:0}.shop-topbar .brand-copy strong{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .shop-topbar .header-search{min-width:0;width:100%;max-width:650px;justify-self:center}
 .shop-topbar .shop-nav a,.shop-topbar .language-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;min-width:44px;min-height:44px;height:44px;padding:8px 10px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--ui-ink);font-size:14px;font-weight:600;line-height:1.2;white-space:nowrap}
 .shop-topbar .shop-nav a:hover,.shop-topbar .language-trigger:hover,.shop-topbar .language-trigger[aria-expanded=true]{background:var(--ui-hover-surface);border-color:transparent}
 .shop-topbar .shop-nav a:focus-visible,.shop-topbar .language-trigger:focus-visible,.shop-account nav a:focus-visible,.shop-account nav button:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-2px}
 .shop-topbar .shop-nav svg,.shop-topbar .language-trigger svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
 .shop-topbar .language-trigger .utility-chevron{width:14px;height:14px}
 .shop-topbar .utility-label{max-width:110px;overflow:hidden;text-overflow:ellipsis}
 .shop-topbar .cart-count{font-size:11px;min-width:19px;padding:2px 5px;line-height:1.2}
}
@media(min-width:761px) and (max-width:1100px){
 .shop-topbar .brand{max-width:190px}
 .shop-topbar .brand-copy strong{max-width:150px}.shop-topbar .shop-brand-logo{width:28px;height:28px}.shop-topbar .brand{gap:6px;font-size:15px}
 .shop-topbar{gap:6px}.shop-topbar .utility-label{max-width:74px}.shop-topbar .shop-nav a,.shop-topbar .language-trigger{padding-inline:7px;font-size:13px}
}

/* Compact catalog discovery; purchase actions remain on product details. */
.category-rail{display:flex;flex-wrap:nowrap;overscroll-behavior-x:contain;scroll-padding-inline:4px}
.category-rail button:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-3px}
.catalog-image-button:focus-visible,.product-name-link:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-3px}
.catalog-card h3{overflow-wrap:anywhere}
.catalog-price{overflow-wrap:anywhere;max-width:100%}
@media(max-width:760px){
 .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .catalog-card{border-radius:10px}.catalog-image{padding:6px}
 .catalog-card-body{padding:10px;gap:5px}.catalog-card h3{font-size:14px;line-height:1.4;min-height:44px;height:44px}.catalog-card .product-name-link{min-height:44px}
 .catalog-category{font-size:9px;line-height:1.3}.catalog-price{font-size:18px;line-height:1.25}
 .category-rail{display:flex;gap:8px;padding:6px 0 12px;margin:0;max-width:100%}
 .category-rail button{min-height:44px;padding:8px 12px;font-size:12px}
 .category-symbol{display:none}.catalog-intro{gap:4px;margin-bottom:4px}
}

/* Local typography refinement: stable roles across product, catalog and account. */
:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.5333}
h1,h2{letter-spacing:-.01em}
.shop-note{font-size:12px;line-height:18px;color:var(--ui-muted)}
.product-price-label,.product-demo-note,.demo-banner,.catalog-category{font-size:12px;line-height:18px;font-weight:400;color:var(--ui-muted)}
.catalog-category{font-weight:500;letter-spacing:0}
.catalog-price,.product-price,.local-order-total{color:var(--shop-price);font-variant-numeric:tabular-nums;letter-spacing:0;font-weight:700}
.catalog-price{font-size:18px;line-height:23px}
.catalog-card h3{font-size:14px;line-height:20px;font-weight:600}
.catalog-card .product-name-link{line-height:20px}
#product-view .product-heading-block h1{font-size:20px;line-height:28px;font-weight:600;letter-spacing:-.01em}
#product-view .product-price{font-size:28px;line-height:34px;letter-spacing:0}
#product-view .product-price-label,#product-view .product-demo-note{font-size:12px;line-height:18px}
#product-view .detail-description,#product-view .product-specs{font-size:15px;line-height:23px}
#product-view .product-purchase button,#product-view .product-purchase a{font-size:14px;line-height:20px;font-weight:600;height:52px;min-height:52px}
#product-view .product-purchase .product-chat{font-size:12px;line-height:14px;padding:2px 4px;gap:2px}
#product-view .product-chat svg{width:18px;height:18px;flex:none}
#product-view .product-chat span{line-height:14px}
#product-view .product-navigation-title{font-size:14px;line-height:20px;font-weight:600}
.catalog-intro h2,.account-page h1{font-size:22px;line-height:29px}
.mobile-navigation>a,.mobile-navigation>button{font-size:12px;line-height:15px}
.category-rail button{font-size:12px;line-height:18px;font-weight:600}
:lang(zh) h1,:lang(zh) h2,:lang(zh) h3,:lang(zh) #product-view .product-heading-block h1{letter-spacing:0}
@media(min-width:761px){
 :root{font-size:16px;line-height:1.5}
 .shop-note{font-size:13px;line-height:19px}
 .product-price-label,.product-demo-note,.demo-banner,.catalog-category{font-size:13px;line-height:19px}
 .catalog-card h3,.catalog-card .product-name-link{font-size:16px;line-height:23px;min-height:46px;height:46px}
 .catalog-price{font-size:20px;line-height:26px}
 #product-view .product-heading-block h1{font-size:24px;line-height:32px}
 #product-view .product-price{font-size:32px;line-height:38px}
 #product-view .detail-description,#product-view .product-specs{font-size:16px;line-height:24px}
 .catalog-intro h2,.account-page h1{font-size:28px;line-height:35px}
}

.demo-banner strong,.demo-banner span{font-size:12px;line-height:18px}
@media(max-width:760px){
 .mobile-nav-icon,.mobile-nav-icon svg,.mobile-nav-icon img{width:22px;height:22px}
 .mobile-navigation>a,.mobile-navigation>button{gap:1px;padding:2px 1px;font-size:12px;line-height:14px}
}
@media(min-width:761px){.demo-banner strong,.demo-banner span{font-size:13px;line-height:19px}}

/* Keep the established PWA brand distinct from readable action color. */
.primary-button{background:var(--ui-action,var(--ui-primary));border-color:var(--ui-action,var(--ui-primary))}
.product-purchase .product-chat,.product-purchase .product-add{color:var(--ui-action,var(--ui-primary))}
.product-purchase .product-add{border-color:var(--ui-action,var(--ui-primary))}
.category-rail button[aria-pressed=true]{background:var(--ui-action,var(--ui-primary))}

/* Desktop browsing density; retain the approved mobile two-column shell. */
@media(min-width:761px){
 .shop-main{max-width:1280px;padding-inline:24px}
 .shop-topbar{padding-inline:max(24px,calc((100% - 1232px)/2));grid-template-columns:minmax(140px,310px) minmax(160px,1fr) auto auto auto}
 .shop-topbar .brand{max-width:310px}.shop-topbar .brand-copy strong{max-width:262px}
 .shop-topbar .header-search{background:var(--ui-surface);border:1px solid var(--ui-control-border);border-radius:10px}
 .shop-topbar .header-search button[type=submit]{background:var(--ui-action,var(--ui-primary));color:white}
 .shop-topbar .cart-count{min-width:22px;min-height:22px;font-size:12px;font-weight:700;background:var(--ui-action,var(--ui-primary));color:#fff}
 .catalog-intro{margin-block:16px 8px}.catalog-intro h2{font-size:24px;line-height:30px}
 .catalog-count{margin-top:4px;font-size:12px}
 .category-rail{gap:8px;padding-block:6px;margin-bottom:16px}
 .category-rail button{min-height:44px;padding:8px 12px;font-size:13px}
 .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 .catalog-card{border-radius:8px}.catalog-image{padding:8px;object-fit:contain}
 .catalog-card-body{padding:10px;gap:6px}.catalog-card h3{font-size:14px;line-height:20px;height:40px;min-height:40px;font-weight:600}
 .catalog-price{font-size:20px;line-height:26px;font-weight:700;color:var(--ui-action,var(--ui-primary))}
}
@media(min-width:1000px){.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1180px){.catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:761px) and (max-width:1000px){.shop-topbar{padding-inline:24px;grid-template-columns:minmax(120px,160px) minmax(140px,1fr) auto auto auto}.shop-topbar .brand-copy strong{max-width:116px}}

@media(min-width:1280px){.catalog-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}


/* Desktop product hierarchy; mobile purchase and image gestures stay intact. */
.product-price-block{display:grid;gap:4px}.product-key-details{display:none}
@media(max-width:760px){.product-price-block{order:-1}}
@media(min-width:761px){
 #product-view .product-layout{grid-template-columns:minmax(0,42fr) minmax(0,58fr);gap:32px;padding:24px;border-radius:10px;align-items:start}
 #product-view .product-summary{gap:0}.product-heading-block{gap:14px}
 #product-view .product-heading-block h1{margin:0;font-size:24px;line-height:32px;letter-spacing:0;text-wrap:pretty}
 .product-price-block{padding:14px 16px;background:var(--ui-hover-surface);border-radius:8px;gap:6px}
 #product-view .product-price{font-size:32px;line-height:38px;color:var(--ui-action,var(--ui-primary));letter-spacing:0}
 .product-key-details{display:grid;grid-template-columns:minmax(70px,auto) minmax(0,1fr);gap:8px 16px;margin:0;font-size:13px;line-height:20px}
 .product-key-details dt{color:var(--ui-muted)}.product-key-details dd{margin:0;color:var(--ui-ink);overflow-wrap:anywhere}
 #product-view .product-main-image{height:auto;max-height:none;object-fit:contain;padding:8px}.product-image-button{border-radius:8px;border:1px solid var(--ui-border)}
 .product-thumbnails{gap:8px;padding-top:12px}.product-thumbnail{width:64px;height:64px;border-radius:6px}
 .product-selection-block{margin-top:16px;padding-top:16px;gap:16px}
 .product-quantity-row{align-items:center;gap:10px 14px}.product-subtotal{font-size:13px;line-height:20px}
 #product-view .product-purchase{grid-template-columns:64px minmax(0,1fr) minmax(0,1.15fr);gap:10px}
 #product-view .product-purchase button,#product-view .product-purchase a{height:52px;min-height:52px;max-height:52px;padding:6px 8px;border-radius:8px;font-size:14px;line-height:18px}
 #product-view .product-purchase .product-chat{padding:4px;font-size:12px;line-height:14px}
 .product-demo-note{margin:14px 0 0;padding:10px 12px;border-radius:8px;font-size:12px;line-height:18px}
 .product-service-details{margin-top:16px}.product-service-row summary{padding-inline:0;font-size:14px}.product-service-row p{padding-inline:0}
 .product-description-section{padding:24px;border-radius:10px;margin-top:20px}.product-description-section h2,.related-products h2{font-size:22px;line-height:28px;margin-bottom:16px}
 .related-products{margin-top:24px}.related-grid{gap:12px}.related-card{border-radius:8px;padding:10px;gap:8px}
 .related-card h3{font-size:14px;line-height:20px;min-height:40px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.related-card strong{font-size:18px;line-height:24px;color:var(--ui-action,var(--ui-primary))}
}
@media(min-width:761px) and (max-width:1099px){
 #product-view .product-layout{grid-template-columns:minmax(0,38fr) minmax(0,62fr);gap:20px;padding:16px}
 #product-view .product-heading-block h1{font-size:22px;line-height:29px}.product-price-block{padding:12px}
 #product-view .product-purchase{gap:8px;grid-template-columns:52px minmax(0,1fr) minmax(0,1.15fr)}
}

.product-photo-caption{font-size:12px;line-height:1.5;color:#52616b;padding:0 12px;margin:8px 0}.product-image-error{display:block;padding:24px;color:#52616b}
@media(max-width:760px){#product-view .product-thumbnails{display:flex;padding:8px 12px;gap:8px}#product-view .product-thumbnail{width:56px;height:56px}.product-photo-caption{margin:8px 0 0}}

.catalog-stock{display:inline-block;margin-top:6px;font-size:12px;font-weight:600;color:var(--shop-error)}

/* Image reveal: shimmer placeholder, then blurred -> sharp fade-in. */
.img-reveal{background:linear-gradient(100deg,#e6eff1 30%,#f5f9f9 50%,#e6eff1 70%);background-size:220% 100%;animation:skeleton-shimmer 1.4s linear infinite;filter:blur(14px);transform:scale(1.02);transition:filter .6s ease,transform .6s ease}
.img-reveal.is-loaded{filter:none;transform:none;animation:none;background:transparent}
@media (prefers-reduced-motion:reduce){.img-reveal{transition:none;animation:none;filter:none;transform:none}}

/* Quantity stepper: draw the minus/plus as centred bars instead of font glyphs, which sit off-centre in many fonts. */
.quantity-stepper button{position:relative;padding:0;font-size:0;line-height:0;color:transparent}
.quantity-stepper button::before,.quantity-stepper button:last-child::after{content:"";position:absolute;inset:0;margin:auto;border-radius:1px;background:var(--ui-ink)}
.quantity-stepper button::before{width:14px;height:2px}
.quantity-stepper button:last-child::after{width:2px;height:14px}
.quantity-stepper button:disabled::before,.quantity-stepper button:disabled::after{opacity:.35}
.img-reveal.has-lqip{background:var(--lqip) center/cover no-repeat;filter:blur(12px);animation:none}
.img-reveal.has-lqip.is-loaded{filter:none;transform:none;background:transparent}
@media (prefers-reduced-motion:reduce){.img-reveal.has-lqip{filter:none}}
.product-service-text{white-space:pre-line;overflow-wrap:anywhere}

/* Seller-defined product options. */
.product-options{display:grid;gap:14px;margin:4px 0 14px}
.option-row{display:grid;grid-template-columns:96px minmax(0,1fr);gap:8px 14px;align-items:start}
.option-name{padding-top:12px;color:var(--ui-secondary-text);font-size:14px}
.option-choices{display:flex;flex-wrap:wrap;gap:8px}
.option-choice{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 14px;border:1px solid var(--shop-control-border);border-radius:9px;background:var(--ui-surface);color:var(--ui-text);text-decoration:none;font-size:14px}
.option-choice:hover{background:var(--ui-hover-surface)}
.option-choice:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}
.option-choice.is-selected{border-color:var(--ui-action);box-shadow:0 0 0 1px var(--ui-action);font-weight:700}
.option-choice.is-unavailable{border-style:dashed;background:var(--ui-hover-surface);color:var(--ui-muted)}
.option-choice.is-soldout .option-label{text-decoration:line-through}
.option-swatch{width:22px;height:22px;flex:none;border-radius:50%;background:var(--swatch);border:1px solid #0003}
.option-thumb{width:32px;height:32px;flex:none;object-fit:contain;border-radius:6px;background:var(--ui-hover-surface)}
.option-select{min-height:44px;min-width:180px;padding:8px 12px;border:1px solid var(--shop-control-border);border-radius:9px;background:var(--ui-surface);color:var(--ui-text);font:inherit}
.option-stock{margin:0;font-size:13px;font-weight:700;letter-spacing:.02em;text-transform:uppercase}
.option-stock[data-state=in]{color:var(--shop-success)}
.option-stock[data-state=out]{color:var(--shop-error)}
@media(max-width:560px){.option-row{grid-template-columns:1fr}.option-name{padding-top:0}}

/* Standalone text links get a thumb-sized hit area without changing how they look. */
.text-link{display:inline-flex;align-items:center;min-height:44px;color:var(--ui-primary);font-weight:650;text-decoration:underline;text-underline-offset:3px}

/* Order detail: picture and name are one link to the product page. */
.order-detail .local-order-items li>.order-item-link{display:flex;align-items:center;gap:12px;flex:1;min-width:100px;color:inherit;text-decoration:none}
.order-item-link span:not(.order-thumbnail){min-width:0;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px;font-weight:600}
.order-item-link:focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px;border-radius:8px}
