:root {
  --gutter: clamp(20px, 4.6vw, 84px);
  --content: 1632px;
  font: 16px/1.5 var(--sans);
  color: var(--ink);
  background: var(--white);
  scroll-padding-top: 76px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, ol, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; background: transparent; border: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button:disabled { cursor: default; opacity: .55; }
img { display: block; max-width: 100%; }
::selection { color: var(--white); background: var(--black); }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
input, textarea { caret-color: var(--black); }
.skip-link { position: fixed; z-index: 8; left: 12px; top: 6px; background: var(--white); padding: 12px 16px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.store-header, footer, .collection, .how-it-works {
  padding-inline: max(var(--gutter), calc((100% - var(--content)) / 2));
}
.store-header { height: 76px; position: sticky; top: 0; z-index: 4; background: var(--white); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--rule); }
.brand-lockup { display: inline-flex; justify-self: start; gap: 10px; align-items: center; text-decoration: none; }
.brand-lockup img { width: 110px; height: 66px; object-fit: contain; object-position: left center; }
.store-name { font: 32px/1 var(--display); letter-spacing: -.02em; }
.shop-nav { display: flex; gap: 32px; align-items: center; }
.shop-nav a, footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 14px; }
.shop-nav a:hover, footer a:hover { text-decoration: underline; }
#cart-open { justify-self: end; display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; }
#cart-count { border: 1px solid var(--rule); border-radius: 100%; min-width: 22px; height: 22px; display: grid; place-content: center; font: 11px var(--sans); }
#cart-open:hover #cart-count { color: var(--white); background: var(--black); }
h1, h2, .empty h3 { font-family: var(--display); font-weight: 400; }
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background-color .2s ease, transform .2s ease;
}
.primary:active { transform: translateY(1px); }
.product-meta, .reference, .rates dd, .dialog-bar>span {
  font: 11px/1.35 var(--sans); letter-spacing: .08em; text-transform: uppercase;
}
.collection {
  padding-block: clamp(28px,3.8vw,60px) clamp(64px,6vw,100px);
  background: var(--white);
}
.collection-masthead { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.loading-card { aspect-ratio: 4 / 5; background: var(--surface, #f3f2f0); }
.feature-loading-caption { display: block; height: 48px; }
.collection-note { max-width: 30ch; display: grid; gap: 8px; }
.collection-note p { font-size: 15px; text-wrap: pretty; }
.collection-heading { width: max-content; max-width: 100%; }
.collection-heading h1 { font-size: clamp(52px,7vw,96px); line-height: 1.08; letter-spacing: -.04em; }
.collection-heading h1 > * { display: inline-block; }
.collection-heading em { font-size: .76em; font-weight: 400; }
.collection-thread { display: block; width: 90%; margin-left: 6%; height: auto; max-height: 24px; color: var(--champagne); }
.collection-thread path { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.collection-masthead:has(.collection-feature:not([hidden])) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  column-gap: clamp(28px, 5vw, 80px);
  row-gap: 16px;
}
.collection-masthead:has(.collection-feature:not([hidden])) .collection-heading { align-self: end; }
.collection-masthead:has(.collection-feature:not([hidden])) .collection-note { align-self: start; }
.collection-feature { grid-column: 2; grid-row: 1 / 3; text-align: start; min-width: 0; }
.feature-spread { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4px; height: clamp(180px, 19vw, 280px); }
.feature-spread > span { overflow: hidden; display: grid; place-items: center; background: #f0f0f0; }
.feature-spread img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.feature-detail img { object-fit: cover; transform: scale(2.3); }
.feature-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-top: 8px; }
.feature-caption > :first-child { font: 18px/1.15 var(--display); }
.feature-caption > :last-child { font-size: 12px; white-space: nowrap; }
.feature-meta { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.collection-feature:hover .feature-caption > :last-child { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) {
  .collection-masthead:has(.collection-feature:not([hidden])) { grid-template-columns: 1fr; gap: 12px; }
  .collection-feature { grid-area: auto; }
  .feature-spread { height: clamp(140px, 39vw, 225px); }
}
@media (prefers-reduced-motion: no-preference) {
  .collection-heading h1 > * { animation: collection-rise .72s cubic-bezier(.18,.8,.22,1) backwards; }
  .collection-heading em { animation-delay: .12s; }
  .collection-heading h1 span:last-child { animation-delay: .24s; }
  .collection-thread path { stroke-dasharray: 1; animation: collection-stitch 1.05s .32s ease-in-out backwards; }
}
@keyframes collection-rise { from { opacity: 0; transform: translateY(.28em); } }
@keyframes collection-stitch { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.how-it-works h2 { font-size: clamp(53px,5.5vw,94px); line-height: .96; letter-spacing: -.035em; }
#result-count { white-space: nowrap; }
#result-count { font: 12px/1.4 var(--sans); color: var(--muted); }
.browse-tools { border-block: 1px solid var(--rule); min-height: 63px; display: flex; align-items: center; gap: 22px; }
.search-wrap { display: flex; gap: 12px; align-items: center; flex: 1; min-width: 0; }
.search-wrap svg, #filter-toggle svg { flex: none; }
.search-wrap input { border: 0; padding: 8px 2px; height: 44px; background: transparent; min-width: 0; width: 100%; font-size: 14px; }
::placeholder { color: var(--muted); opacity: 1; }
#filter-toggle {
  display: inline-flex; align-items: center; min-height: 44px; gap: 8px;
  padding-inline: 12px; border-radius: var(--radius);
  background: var(--black); color: var(--white); font-size: 14px;
}
#filter-toggle:hover, #filter-toggle[aria-expanded=true] { background: var(--action-hover); }
#filter-toggle[aria-expanded=true] { text-decoration: underline; text-underline-offset: 4px; }
#filter-count:empty { display: none; }
.sort-wrap { display: inline-flex; align-items: center; gap: 7px; padding-left: 20px; border-left: 1px solid var(--rule); font-size: 14px; }
.sort-wrap span { color: var(--muted); }
select { cursor: pointer; }.sort-wrap select { font-size: 14px; padding: 8px 2px; min-height: 44px; border: 0; background: transparent; max-width: 100%; }
.filter-fields { display: flex; align-items: end; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.filter-fields label { flex: 1; }
.filter-fields label, .form-grid label, #cart-content>label { font-size: 13px; font-weight: 600; }
.filter-fields select, .form-grid input, .form-grid select, textarea { display: block; width: 100%; margin-top: 5px; background: var(--white); border: 1px solid var(--input-rule); border-radius: var(--radius); padding: 10px; min-height: 45px; font-size: 15px; font-weight: 400; }
#clear-filters { font-size: 13px; min-height: 44px; text-decoration: underline; }
.grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 42px clamp(12px,1.7vw,28px); margin-top: 26px; }
.card { display: flex; flex-direction: column; width: 100%; min-width: 0; text-align: start; }
.card-visual { display: block; position: relative; width: 100%; aspect-ratio: 4/5; background: var(--product-photo-background); overflow: hidden; }
.card-visual img { width: 100%; height: 100%; object-fit: contain; transition: transform .55s cubic-bezier(.22,1,.36,1); }
img[src$="-detouree.png"], img[src$="-detouree.webp"], img[src*="-detouree.webp?w="] { filter: var(--product-photo-shadow); }
.card-open { position: absolute; bottom: 12px; right: 12px; display: grid; place-content: center; border-radius: 50%; width: 33px; height: 33px; color: var(--ink); background: var(--white); border: 1px solid var(--rule); font-size: 17px; }
.photo-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--muted); }
.card-body { display: grid; gap: 6px; width: 100%; padding: 14px 0 12px; border-bottom: 1px solid var(--rule); }
.product-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 10px; }
.card-title { font: 400 clamp(23px,1.9vw,33px)/1.05 var(--display); overflow-wrap: anywhere; }
.card-bottom { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px; margin-top: 4px; }
.card-bottom strong { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.stock { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 999px; background: #efeeeb; color: #514e49; font-size: 12px; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.stock::before { content: ''; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.stock[data-status="available"] { background: #e8f3ea; color: #285638; }
.stock[data-status="reserved"] { background: #fff0d8; color: #754812; }
.stock[data-status="sold"] { background: #fbe9e7; color: #8c2925; }
.empty { grid-column: 1/-1; text-align: center; padding: 50px 16px; }.empty h3 { font-size: 36px; }.empty p { margin: 12px 0 20px; }
#store-error:not(:empty), .error { color: #822331; padding: 12px; border: 1px solid currentColor; }
.how-it-works {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(28px,5vw,80px); align-items: center;
  background: var(--surface); padding-block: clamp(48px,7vw,106px);
}
.guide-copy h2 { max-width: 10ch; margin-bottom: 26px; }
.order-steps { list-style: none; padding: 0; }
.order-steps li {
  border-top: 1px solid var(--rule); display: grid;
  grid-template-columns: 40px 1fr; gap: 15px; padding-block: 16px;
}
.guide-icon {
  display: grid; place-items: center; width: 36px; height: 36px;
  color: var(--black); background: var(--champagne); border-radius: var(--radius);
}
.guide-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.how-it-works h3, .delivery-guide-content h3 { font: 400 26px/1.15 var(--display); margin-bottom: 4px; }
.order-steps p { color: var(--muted); max-width: 55ch; font-size: 15px; text-wrap: pretty; }
.shipping-rates { border-top: 1px solid var(--rule); padding-top: 18px; }
.rates { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; }
.rates div { display: flex; gap: 8px; align-items: baseline; }
.rates dt { font-size: 14px; }.rates dd { font-size: 13px; font-weight: 600; }
.guide-packaging { width: 100%; aspect-ratio: 5/6; display: grid; place-items: center; background: var(--black); }
.guide-packaging img { width: min(60%, 228px); height: auto; max-height: 180px; object-fit: contain; }
.product-info dl div, .summary-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--rule);
}
footer { background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 32px; }.footer-name { font: clamp(30px,3.4vw,59px)/1 var(--display); }footer a { gap: 12px; }
.primary { background: var(--champagne); color: var(--black); border: 1px solid var(--champagne-border); }
.primary:hover:not(:disabled) { background: var(--champagne-hover); }
dialog { padding: 0; background: var(--white); color: var(--ink); border: none; max-height: 90dvh; max-width: calc(100vw - 40px); overscroll-behavior: contain; }
dialog::backdrop { background: rgb(0 0 0 / .55); }
#product-dialog { width: min(1080px,92vw); }
.close, [data-remove] { width: 44px; height: 44px; flex: none; font: 25px/1 var(--sans); }.close:hover, [data-remove]:hover { background: var(--surface); }
.dialog-bar, .modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--white); border-bottom: 1px solid var(--rule); }
.dialog-bar { padding: 4px 14px 4px 22px; position: sticky; top: 0; z-index: 1; }
.product-layout { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); }
.product-gallery { padding: clamp(16px,2.3vw,32px); min-width: 0; }
.main-product-image { background: var(--product-photo-background); aspect-ratio: 4/5; }.main-product-image img { width: 100%; height: 100%; object-fit: contain; }.image-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }.image-thumbs button { padding: 2px; border: 1px solid transparent; }.image-thumbs button[aria-pressed=true] { border-color: var(--black); }.image-thumbs img { width: 44px; height: 55px; object-fit: contain; }
.product-info { padding: 28px clamp(20px,2.2vw,38px) 30px 10px; min-width: 0; }.item-brand { color: var(--muted); font: 12px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .07em; }.product-info h2, .modal-head h2 { font: 400 clamp(37px,3.4vw,58px)/1 var(--display); letter-spacing: -.025em; overflow-wrap: anywhere; }.product-info h2 { margin: 7px 0 14px; }
.detail-summary { display: flex; align-items: center; justify-content: space-between; }.detail-price { font-size: 22px; font-variant-numeric: tabular-nums; }.product-info dl { margin: 22px 0; font-size: 14px; }.product-info dl dt { color: var(--muted); }.product-info dl dd { text-align: right; }
#add-cart, #checkout-form>button { width: 100%; }.muted, .note, .description, .condition-note { font-size: 14px; line-height: 1.6; }.muted { color: var(--muted); }.product-info p:not(.item-brand), .product-question, .reference { display: block; margin-top: 14px; }
.guide-delivery h3:not(:first-child), .shipping-rates .guide-returns h3 { margin-top: 20px; }
.guide-delivery p, .guide-returns p, .condition-note span { white-space: pre-line; overflow-wrap: anywhere; }
.guide-contact { display: inline-block; padding-block: 12px; }
.defect-link { min-height: 44px; text-decoration: underline; }
.condition-note span { display: block; }
.product-info p.fit-advice { margin: 0 0 14px; white-space: pre-line; overflow-wrap: anywhere; }
.condition-note strong { display: block; }.product-question { width: fit-content; padding-block: 8px; font-size: 14px; }.reference { color: var(--muted); }
#cart-dialog { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(510px,100%); max-width: 100%; }
#cart-content { padding: 0 26px 30px; } .modal-head { position: sticky; top: 0; z-index: 1; padding: 18px 0 14px; margin-bottom: 18px; }
.cart-line { display: grid; grid-template-columns: 65px 1fr auto; align-items: center; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--rule); }.cart-line img, .cart-line .photo-placeholder { width: 65px; height: 79px; object-fit: contain; background: #f0f0f0; }.cart-line strong { font-weight: 600; }.cart-line p { color: var(--muted); font-size: 14px; }.form-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.wide { grid-column: 1/-1; }.bot-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#cart-totals { margin: 22px 0 6px; padding: 12px 16px; background: var(--surface); }
#cart-totals .summary-row:last-child { border-bottom: 0; }
.checkout-heading { font: 400 26px/1.1 var(--display); }
.checkout-heading + .form-grid { margin-top: 14px; }
.delivery-fields:has(#city-field[hidden]) > div:first-child { grid-column: 1/-1; }
.summary-row { font-size: 14px; }.summary-row:nth-child(3) { font-size: 18px; font-weight: 650; }.note { background: var(--surface); padding: 12px; }.note + .muted, #checkout-form>button, #checkout-error:not(:empty) { margin-top: 14px; }.empty-cart .primary { margin-top: 18px; }.empty-cart { padding-block: 10px 30px; }
#cart-content>p, #cart-content>label, #cart-content>a { display: block; margin-block: 14px; }#cart-content>a { width: fit-content; }#order-message { min-height: 180px; resize: vertical; }
.cart-delivery-guide { margin-bottom: 16px; }
.delivery-guide-trigger {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px;
  text-align: start; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--champagne-border);
}
.delivery-guide-trigger svg { flex: none; }
.delivery-guide-trigger:hover { text-decoration-color: var(--black); }
.purchase .delivery-guide-trigger { margin-top: 4px; }
#delivery-guide {
  width: min(560px, calc(100% - 24px)); max-width: calc(100% - 24px);
  max-height: min(86dvh, 740px); padding-inline: clamp(16px, 4vw, 28px);
  scroll-padding-top: 76px;
}
#delivery-guide .modal-head { padding-block: 12px; margin-bottom: 16px; }
#delivery-guide .modal-head h2 { font-size: clamp(28px, 5vw, 42px); }
.delivery-guide-content { padding-bottom: 18px; }
.delivery-guide-content h3 { font-size: 23px; }
.delivery-guide-content .guide-delivery { padding: 14px; background: var(--surface); }
.delivery-guide-content .guide-delivery h3:not(:first-child) { margin-top: 12px; }
.delivery-guide-content .guide-delivery p, .delivery-guide-content .guide-returns p { font-size: 14px; }
.delivery-guide-content .order-steps { margin-top: 16px; }
.delivery-guide-content .order-steps li { gap: 10px; padding-block: 13px; }
.delivery-guide-content .guide-returns { border-top: 1px solid var(--rule); padding-top: 14px; }
.receipt-totals { margin-block: 14px; font-size: 15px; }
.receipt-payment { margin-block: 18px; padding: 14px 16px; border: 1px solid var(--champagne-border); }
.receipt-payment h3 { font: 400 23px/1.2 var(--display); }
.bank-details, .payment-instructions { white-space: pre-line; overflow-wrap: anywhere; }
.receipt-payment p { margin-top: 7px; }
.copy-bank-details { min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
#bank-copy-status:empty { margin: 0; }
.receipt-copy { margin-top: 12px; }
.receipt-copy summary { cursor: pointer; padding-block: 10px; }
.receipt-copy label { display: block; margin-block: 6px; }
@media (hover:hover) {
  .card:hover .card-visual img { transform: scale(1.025); }
  .card:hover .card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
  .card:hover .card-open { color: var(--white); background: var(--black); }
}
@media (max-width:960px) {
  .grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .store-name { font-size: 28px; }.shop-nav { gap: 18px; }
  .product-info { padding-top: 20px; }
}
@media (max-width:700px) {
  :root { scroll-padding-top: 60px; }.store-header { height: 60px; grid-template-columns: 1fr auto; }.brand-lockup { gap: 6px; }.store-name { font-size: 26px; }.shop-nav { display: none; }#cart-open { font-size: 13px; gap: 6px; }
  .collection { padding-block: 22px 52px; }
  .collection-masthead { display: grid; gap: 12px; margin-bottom: 16px; }
  .collection-note { max-width: none; gap: 4px; }
  .collection-note p { max-width: 37ch; font-size: 14px; }
  .collection-heading h1 { font-size: clamp(42px,12vw,72px); }
  .browse-tools { display: grid; grid-template-columns: auto 1fr; gap: 0; }.search-wrap { grid-column: 1/-1; border-bottom: 1px solid var(--rule); }#filter-toggle { justify-self: start; margin-block: 6px; }.sort-wrap { padding: 0; border: 0; justify-self: end; }.sort-wrap, .sort-wrap select, #filter-toggle { font-size: 13px; }.filter-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.filter-fields select { min-width: 0; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 12px; margin-top: 16px; }.card-body { padding: 9px 0; gap: 5px; }.card-title { font-size: clamp(21px,5vw,27px); }.product-meta { font-size: 10px; letter-spacing: .025em; }.card-open { width: 25px; height: 25px; right: 6px; bottom: 6px; font-size: 14px; }.card-bottom { gap: 2px 5px; }.stock { font-size: 11px; }.card-bottom strong { font-size: 13px; }
  .how-it-works { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .guide-copy h2 { max-width: none; }
  .guide-packaging { aspect-ratio: 3/2; }
  footer { padding-block: 20px; }.footer-name { font-size: 28px; }footer a { font-size: 12px; }
  #product-dialog { width: 100vw; max-width: 100%; height: 100dvh; max-height: 100dvh; }.product-layout { display: flex; flex-direction: column; }.product-gallery { padding: 0; }.main-product-image { height: clamp(200px,36dvh,350px); aspect-ratio: auto; }.image-thumbs { padding-left: var(--gutter); }.product-info { padding: 18px var(--gutter) 25px; }.product-info h2 { margin-bottom: 9px; }.product-info dl { margin-block: 12px; }.product-info dl div { padding-block: 5px; }.dialog-bar { padding: 0 8px 0 var(--gutter); }#cart-content { padding-inline: var(--gutter); }
}
@media (max-width:375px) { :root { --gutter: 14px; }.sort-wrap span { display: none; }.grid { gap: 18px 8px; }.form-grid { grid-template-columns: 1fr; }.card-bottom { align-items: start; } }
@media (prefers-reduced-motion:reduce) { .card-visual img, .primary { transition: none; } }



#mobile-menu, #mobile-nav { display: none; }
.gallery-frame { position: relative; }
.full-photo { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; min-height: 44px; padding-inline: 13px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); font-size: 13px; text-decoration: none; }
.full-photo:hover { text-decoration: underline; }
.gallery-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 12px; font-size: 14px; }
.gallery-nav button { min-height: 44px; padding-inline: 4px; }
.gallery-nav button:hover { text-decoration: underline; }
.gallery-frame:has(.full-photo) .main-product-image { cursor: zoom-in; }
#photo-viewer { width: min(1080px,100vw); height: min(900px,95dvh); max-height: 100dvh; max-width: 100vw; overflow: hidden; color: var(--ink); background: var(--white); }
#photo-viewer[open] { display: flex; flex-direction: column; }
.zoom-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 12px; border-bottom: 1px solid var(--rule); }
.zoom-bar button { min-height: 44px; padding: 0 8px; }
.zoom-controls { display: flex; align-items: center; gap: 3px; }
.zoom-controls button { width: 44px; font-size: 22px; }
#zoom-level { min-width: 2em; text-align: center; font-variant-numeric: tabular-nums; }
#zoom-window { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.zoom-canvas { display: grid; place-items: center; width: max-content; min-width: 100%; min-height: 100%; }
#zoom-image { display: block; max-width: none; cursor: zoom-in; }
#zoom-status:empty { display: none; }
@media (max-width:700px) { #photo-viewer { height: 100dvh; } }
.card-body { flex: 1; grid-template-rows: auto 1fr auto; }
.product-meta { font-size: 11px; }
@media (max-width:700px) {
  .store-header { grid-template-columns: 1fr 44px auto; gap: 4px; }
  #mobile-menu { width: 44px; height: 44px; display: grid; place-content: center; }
  #mobile-nav:not([hidden]) { position: absolute; top: 100%; inset-inline: 0; display: grid; background: var(--white); padding: 8px var(--gutter); border-block: 1px solid var(--rule); }
  #mobile-nav a { display: flex; align-items: center; min-height: 46px; text-decoration: none; }

  .product-meta { gap: 4px; flex-wrap: wrap; }
}

.footer-name img { width: 126px; height: 84px; object-fit: contain; object-position: left center; }
footer :focus-visible { outline-color: var(--champagne); }
footer { flex-wrap: wrap; }
#cart-dialog { width: min(510px, calc(100% - 24px)); }
#photo-viewer { width: min(1080px, calc(100% - 24px)); }
@media (max-width: 700px) {
  #product-dialog, #photo-viewer { width: calc(100% - 24px); height: calc(100dvh - 24px); }
  footer { column-gap: 16px; row-gap: 2px; }
  .footer-name { flex-basis: 100%; }
}
.dialog-bar, .modal-head { border-bottom-color: var(--input-rule); }
@media (max-width: 700px) {
  .how-it-works h2 { font-size: clamp(36px, 8.5vw, 49px); }
  .configured-name { overflow-wrap: anywhere; }
}

@media (max-width:700px) { .brand-lockup img { width: 86px; height: 52px; } }

.header-actions { justify-self: end; display: flex; align-items: center; gap: clamp(10px,2vw,26px); }
.language-switch { min-height: 44px; min-width: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.dialog-bar .language-switch, .modal-head .language-switch { margin-inline-start: auto; flex: none; }
#language-prompt { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0 12px; padding: 2px var(--gutter); background: var(--surface); border-bottom: 1px solid var(--rule); font-size: 14px; }
#language-prompt button { min-height: 44px; padding-inline: 4px; text-decoration: underline; text-underline-offset: 4px; }
:root:lang(ar) { --sans: Tahoma, Arial, sans-serif; --display: Georgia, "Times New Roman", serif; }
:lang(ar) :is(.collection-heading h1, .card-title, .product-meta, .reference, .rates dd, .dialog-bar>span) { letter-spacing: normal; line-height: 1.35; }
:lang(ar) .collection-heading em { font-style: normal; }
:lang(ar) .sort-wrap { border-left: 0; padding-left: 0; border-inline-start: 1px solid var(--rule); padding-inline-start: 12px; }
:lang(ar) .collection-thread { margin-left: 0; margin-inline-start: 6%; }
:lang(ar) #zoom-window { direction: ltr; }
@media (max-width: 380px) {
  .header-actions { gap: 6px; }
  #language-prompt { gap: 0 8px; font-size: 13px; padding-inline: 8px; }
}
