
:root {
  --paper:#f5f2eb; --ink:#32291f; --muted:#706457; --line:#dcd5c9;
  --tint:#ffe4ce; --accent:#a7370b; --orange:#ff6a26; --radius:24px;
  --purchase-offset:calc(8px + env(safe-area-inset-bottom));
  --purchase-height:72px;
  --display:"Century Gothic",Futura,"Avenir Next",Arial,sans-serif;
}
* { box-sizing:border-box; }
html { scroll-padding-bottom:170px; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:"Avenir Next",Arial,Helvetica,sans-serif; line-height:1.6; }
button,input { font:inherit; }
button,a,input,summary { touch-action:manipulation; }
button { cursor:pointer; }
a { color:inherit; text-underline-offset:5px; }
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible { outline:3px solid #a7370b; outline-offset:4px; }
button:disabled { cursor:default; opacity:.4; }
.preview { padding:7px 16px; text-align:center; background:var(--ink); color:#fff9ed; font-size:10px; letter-spacing:.12em; }
header { max-width:1440px; margin:auto; padding:12px 5%; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); gap:16px; }
.brand { position:relative; min-height:44px; font-family:var(--display); font-weight:800; font-size:30px; line-height:.9; text-decoration:none; letter-spacing:-.07em; padding-right:24px; }
.brand::after { content:""; position:absolute; right:0; top:0; width:15px; height:15px; border:3px solid var(--orange); border-radius:50%; box-shadow:inset 0 0 0 2px var(--paper); background:var(--orange); }
.brand small { color:var(--accent); }
.brand small { display:block; text-align:center; font-family:Arial,sans-serif; font-size:8px; letter-spacing:.55em; margin-top:7px; padding-left:5px; }
.bag { background:linear-gradient(#fffef9,#ede8dd); border:1px solid #d5ccbf; border-radius:999px; min-height:44px; padding:8px 14px; color:var(--ink); box-shadow:inset 0 2px 0 #fff,0 3px 0 #dcd4c6; font-weight:600; font-size:13px; }
main { --main-max-width:1320px; max-width:var(--main-max-width); margin:auto; padding:10px 5% 28px; }
.breadcrumb { font-size:12px; color:var(--muted); margin-bottom:8px; }
.breadcrumb a { display:inline-flex; min-height:44px; align-items:center; }
.breadcrumb span { padding:0 10px; }
.product { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; align-items:start; }
.product>div { min-width:0; }
.art { position:relative; aspect-ratio:1; background:radial-gradient(ellipse at 35% 20%,#fffef9 10%,#eee9de 65%,#ded6c8); border:1px solid #d6cebf; border-radius:var(--radius); overflow:hidden; box-shadow:inset 0 3px 0 #fff,0 5px 0 #e2dacd; isolation:isolate; }
.art::before { content:""; position:absolute; inset:14%; border:1px solid #d8cdbb; border-radius:50%; transform:rotate(-24deg) scaleX(.8); pointer-events:none; }
.art::after { content:""; position:absolute; width:30%; aspect-ratio:1; right:-10%; top:18%; border:16px solid #ff6a2629; border-radius:50%; pointer-events:none; }
.art.has-photo::before,.art.has-photo::after { display:none; }
.art>svg { position:relative; z-index:1; width:100%; height:100%; display:block; }
.art>img { position:relative; z-index:1; width:100%; height:100%; object-fit:cover; display:none; }
.image-label { z-index:2; border:1px solid #d8ccbc; color:var(--ink); font-weight:600; position:absolute; top:14px; left:14px; max-width:calc(100% - 28px); font-size:10px; letter-spacing:.1em; background:#ffffffd9; padding:7px 11px; border-radius:30px; }
.frame-index { position:absolute; z-index:2; bottom:25px; left:20px; font-size:10px; font-weight:700; letter-spacing:.15em; color:var(--muted); }
.zoom { z-index:2; position:absolute; bottom:14px; right:14px; width:44px; height:44px; border:1px solid #d8ccbc; border-radius:50%; background:linear-gradient(#fff,#eee7d9); color:var(--ink); box-shadow:inset 0 2px 0 #fff,0 3px 0 #d5cbbb; font-size:24px; }
.image-note { font-size:12px; color:var(--muted); margin:12px 0 0; }
.upload { display:inline-block; max-width:100%; margin-top:9px; font-size:12px; text-decoration:underline; cursor:pointer; }
.upload input { display:block; width:100%; max-width:100%; font-size:16px; margin-top:8px; }
.upload input::file-selector-button { background:transparent; border:1px solid var(--line); min-height:44px; padding:8px 12px; border-radius:999px; color:var(--ink); cursor:pointer; }
.eyebrow { display:flex; align-items:center; gap:9px; font-size:10px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--accent); margin:0 0 12px; }
.eyebrow::before { content:""; width:8px; height:8px; flex-shrink:0; border-radius:50%; background:var(--orange); box-shadow:0 0 0 4px #ff6a2618; }
h1 { font-family:var(--display); font-weight:700; letter-spacing:-.065em; font-size:clamp(28px,8vw,36px); line-height:1.12; margin:0 0 10px; overflow-wrap:break-word; }
.intro { font-family:var(--display); font-weight:500; letter-spacing:-.03em; font-size:16px; line-height:1.5; margin:0 0 16px; color:var(--muted); }
.divider { height:1px; background:var(--line); margin:16px 0; }
.purchase {
  position:fixed; left:max(8px,env(safe-area-inset-left)); right:max(8px,env(safe-area-inset-right)); bottom:var(--purchase-offset); z-index:10; display:flex; gap:8px;
  padding:8px; border:1px solid #d5cbbb; border-radius:999px;
  background:linear-gradient(#fffef9,#eee7dc); box-shadow:inset 0 2px 0 #fff,0 6px 28px #32291f26;
}
.stepper { display:flex; align-items:center; border:1px solid #d0c4b2; background:#f0ebe1; box-shadow:inset 0 2px 3px #32291f0a; border-radius:999px; overflow:hidden; flex-shrink:0; }
.stepper button { width:44px; min-height:52px; background:none; border:0; color:var(--ink); font-size:20px; }
.stepper output { min-width:25px; text-align:center; font-size:16px; }
.primary { background:linear-gradient(180deg,#ffb27a 0%,#ff792f 38%,#ff6a26 65%,#f4611d 100%); color:var(--ink); border:1px solid #d95313; border-radius:999px; box-shadow:inset 0 2px 0 #ffd6ac,inset 0 -2px 0 #d9531333,0 3px 0 #ce4b0d; min-height:48px; padding:8px 12px; flex:1; font-size:14px; font-weight:700; letter-spacing:.02em; }
.purchase .primary { min-width:0; }
.status { position:fixed; bottom:calc(var(--purchase-height) + var(--purchase-offset) + 10px); left:16px; right:16px; z-index:11; margin:0; font-size:13px; color:var(--ink); background:var(--tint); border:1px solid #d6baa0; border-radius:22px; box-shadow:0 4px 18px #32291f12; }
.status:empty { display:none; }
.status:not(:empty) { padding:12px 16px; }
.fine { font-size:12px; color:var(--muted); margin:0; }
details { border-top:1px solid var(--line); font-size:14px; }
details:last-of-type { border-bottom:1px solid var(--line); }
.product-info-section { margin-bottom:16px; }
summary { min-height:44px; padding:8px 0; cursor:pointer; display:flex; justify-content:space-between; gap:16px; list-style:none; }
summary::-webkit-details-marker { display:none; }
summary:after { content:"+"; font-size:20px; line-height:1.3; }
details[open] summary:after { content:"−"; }
details p { color:var(--muted); margin:0 0 12px; font-size:13px; }
.photo-tools { border:0; margin-top:4px; }
.photo-tools:last-of-type { border:0; }
.photo-tools summary { font-size:12px; color:var(--muted); }
dl { display:grid; grid-template-columns:1fr 1fr; font-size:13px; margin:0 0 12px; gap:6px; }
dt { color:var(--muted); }
dd { margin:0; text-align:right; }
#product-price { font-weight:600; font-variant-numeric:tabular-nums; }
.signature { display:flex; align-items:center; gap:12px; margin-top:16px; font-family:var(--display); color:var(--accent); font-weight:600; font-size:14px; }
.signature span { font-style:normal; font-size:23px; }
.story { position:relative; overflow:hidden; isolation:isolate; margin-top:28px; padding:20px; background:var(--orange); border:1px solid #d95313; box-shadow:inset 0 2px 0 #ffbc8c,0 5px 0 #e6d6c3; border-radius:var(--radius); }
.story::before { content:""; position:absolute; z-index:-1; right:-20px; top:-80px; width:220px; height:300px; border:1px solid #32291f30; border-radius:50%; transform:rotate(35deg); }
.story-kicker { display:block; font-size:10px; font-weight:700; letter-spacing:.18em; margin-bottom:12px; }
.story h2 { font-family:var(--display); font-weight:700; letter-spacing:-.06em; font-size:28px; line-height:1.25; margin:0 0 15px; }
.story p { font-size:14px; color:var(--ink); max-width:350px; margin:0; }
footer { border-top:1px solid var(--line); padding:16px 5% calc(120px + env(safe-area-inset-bottom)); display:flex; flex-direction:column; gap:12px; font-size:12px; color:var(--muted); }
footer a { display:inline-flex; min-height:44px; align-items:center; align-self:flex-start; }
dialog { border:0; color:var(--ink); background:var(--paper); padding:16px; max-height:95vh; max-height:95dvh; max-width:calc(100vw - 24px); border-radius:28px; box-shadow:0 15px 80px #32291f33; }
dialog::backdrop { background:#32291f99; backdrop-filter:blur(3px); }
#cart { width:100%; max-width:100%; margin:0; height:100vh; height:100dvh; max-height:100vh; max-height:100dvh; border-radius:0; padding:24px max(20px,env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left)); overflow:auto; overscroll-behavior:contain; }
.dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.dialog-heading h2 { font-family:var(--display); font-weight:700; letter-spacing:-.05em; margin:0; font-size:28px; }
.close { background:linear-gradient(#fffef9,#eae3d6); border:1px solid var(--line); border-radius:50%; width:44px; height:44px; flex-shrink:0; color:var(--ink); font-size:24px; }
.cart-item { padding:22px 0; border-block:1px solid var(--line); }
.cart-item h3 { font-family:var(--display); font-size:24px; font-weight:600; letter-spacing:-.04em; margin:0 0 5px; }
.cart-item p { font-size:14px; }
.cart-actions { display:flex; flex-wrap:wrap; align-items:center; gap:16px; }
.remove { border:0; background:none; text-decoration:underline; color:var(--muted); font-size:14px; min-height:44px; padding:8px 12px; }
.total { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; font-size:17px; margin:16px 0; }
.cart-note { font-size:13px; color:var(--muted); padding:12px; background:var(--tint); border:1px solid #eac6a7; border-radius:22px; }
#zoom-dialog { width:620px; }
#zoom-art { aspect-ratio:4/5; max-height:65vh; max-height:65dvh; display:flex; justify-content:center; background:#eee8dc; border-radius:24px; overflow:hidden; }
#zoom-art svg,#zoom-art img { width:100%; height:100%; object-fit:contain; }
/* Enhance the phone layout as space becomes available. */
@media (min-width:48rem) {
  html { scroll-padding-bottom:24px; }
  header { padding:14px 5%; gap:16px; }
  .brand { font-size:34px; }
  main { padding:16px 5% 40px; }
  .breadcrumb { margin-bottom:12px; }
  .product { grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); gap:5%; }
  .art { aspect-ratio:1; }
  h1 { font-size:clamp(32px,4vw,44px); }
  .intro { font-size:17px; max-width:340px; margin-bottom:18px; }
  .product-page .intro { max-width:none; }
  .purchase { position:static; padding:0; border:0; border-radius:0; background:none; box-shadow:none; gap:12px; }
  .status { position:static; border:0; min-height:24px; margin:12px 0; background:none; border-radius:0; box-shadow:none; color:var(--accent); }
  .status:not(:empty) { padding:0; }
  .story { margin-top:36px; padding:24px 5%; display:flex; align-items:center; justify-content:space-between; gap:30px; }
  .story h2 { font-size:32px; margin:0; }
  .story-kicker { margin-bottom:0; max-width:100px; }
  footer { padding:16px 5%; flex-direction:row; justify-content:space-between; align-items:center; }
}
@media (min-width:64rem) {
  .product { gap:5%; }
  .info { padding-top:20px; }
  .story { padding:24px 5%; }
}
@media (hover:hover) {
  .primary:hover { background:linear-gradient(#ffc194,#ff8b43 38%,#ff762f); }
  .bag:hover,.zoom:hover,.close:hover { border-color:var(--accent); }
}
.primary:active { box-shadow:inset 0 2px 4px #a7370b44; }
@media (prefers-reduced-motion:no-preference) {
  button { transition:background .18s ease,box-shadow .18s ease; }
  dialog[open] { animation:appear .18s ease; }
  @keyframes appear { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
}

[hidden]{display:none!important}
.product-selector{display:flex;align-items:center;gap:12px;margin:0 0 12px;font-size:12px}
.product-selector select{min-width:0;max-width:100%;flex:1;min-height:48px;border:1px solid var(--line);border-radius:999px;padding:10px 16px;background:#fffcf6;color:var(--ink);font:inherit;font-size:16px}
.product-selector select:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
#stock-status{margin:0 0 12px;font-size:12px;color:var(--accent)}
.full-width{width:100%}
.intro{white-space:pre-line;overflow-wrap:anywhere}
#product-info p{white-space:pre-line;overflow-wrap:anywhere}

/* Physical surfaces: a warm plastic shell, recessed tracks and sprung keys. */
:root {
  --shell:linear-gradient(160deg,#fffdf7 0%,#f7f2e8 52%,#e9e0d1 100%);
  --key-face:linear-gradient(180deg,#fffef9 0%,#f8f3e9 48%,#e8decd 100%);
  --key-shadow:inset 0 2px 1px #ffffffed,inset 0 -2px 1px #c4b49d55,0 4px 0 #c5b69e,0 7px 12px #49351b1c;
  --key-pressed:inset 0 2px 4px #6c4e2529,inset 0 -1px 0 #fff9ed,0 1px 0 #c5b69e,0 2px 4px #49351b14;
  --orange-face:linear-gradient(180deg,#ffc092 0%,#ff944d 12%,#ff772d 48%,#f3651d 94%,#e35a16 100%);
  --orange-shadow:inset 0 2px 1px #ffe5bd,inset 0 -2px 1px #af3b0b33,0 5px 0 #b84510,0 9px 16px #9b45152b;
  --orange-pressed:inset 0 3px 5px #9f310b44,inset 0 -1px 0 #ffbc7b,0 1px 0 #b84510,0 3px 5px #9b45151a;
  --well-shadow:inset 0 2px 5px #5c422124,inset 0 1px 1px #80644430,0 1px 0 #fffdf6;
}
body {
  background-color:var(--paper);
  background-image:radial-gradient(#66502c09 .65px,transparent .8px);
  background-size:5px 5px;
}
header { box-shadow:0 1px 0 #fffdf6; }

.bag,.zoom,.close {
  background:var(--key-face);
  border-color:#c9bba6;
  box-shadow:var(--key-shadow);
}
.brand::after {
  background:radial-gradient(circle at 35% 25%,#ffd6a1,#ff8b35 40%,#e55612 85%);
  border-color:#bf4912;
  box-shadow:inset 0 1px 1px #fff2d1,0 1px 0 #fff,0 2px 3px #7d471c24;
}
.art {
  padding:6px;
  background-color:#eae2d5;
  border-color:#c9bda9;
  box-shadow:inset 0 2px 1px #fffefa,inset 0 -2px 0 #d2c5af,0 6px 0 #cec0aa,0 12px 22px #4c361b17;
}
.art>img { border-radius:calc(var(--radius) - 10px); }
.art>svg { border-radius:calc(var(--radius) - 10px); }
.image-label { top:20px;left:20px;max-width:calc(100% - 40px);box-shadow:inset 0 1px 0 #fff,0 2px 4px #4c361b12; }
.zoom { right:20px;bottom:20px; }
.frame-index { left:25px;bottom:29px; }
.info {
  padding:18px 16px;
  background:var(--shell);
  border:1px solid #d0c3af;
  border-radius:24px;
  box-shadow:inset 0 2px 0 #fffefa,inset 0 -1px 0 #d9cdb9,0 4px 0 #dfd3c1,0 9px 22px #4c361b0d;
}
.eyebrow::before {
  background:radial-gradient(circle at 32% 25%,#ffd4a0,#ff792c 55%,#cd4a13);
  box-shadow:0 0 0 3px #d8c8b1,inset 0 1px 1px #fff3cb,0 1px 3px #68412038;
}
.divider { background:#d5c7b1;box-shadow:0 1px 0 #fffcf5; }
.purchase {
  border-color:#bcac93;
  background:var(--shell);
  box-shadow:inset 0 2px 1px #fffefa,inset 0 -2px 1px #d0c1a955,0 4px 0 #c9baa1,0 10px 24px #32291f2b;
  padding-bottom:8px;
}
.stepper { padding:4px;gap:2px;background:linear-gradient(#ded3c0,#f1e8d9);border-color:#c5b498;box-shadow:var(--well-shadow); }
.stepper button {
  width:44px;min-height:44px;border:1px solid #cbbca6;border-radius:50%;
  background:var(--key-face);box-shadow:inset 0 1px 0 #fffefa,0 2px 0 #c3b296,0 3px 5px #49351b18;
  text-shadow:0 1px 0 #fff;
}
.stepper output { font-variant-numeric:tabular-nums;text-shadow:0 1px 0 #fffbf1; }

.quantity-readout {
  min-width:32px;
  display:grid;
  justify-items:center;
  padding-inline:2px;
  color:var(--ink);
  line-height:1;
}
#quantity-label { color:#6d503d; font-size:.6875rem; }
.quantity-readout output { font-family:var(--display); font-size:1.125rem; font-weight:400; }
.purchase .stepper button { display:grid; place-items:center; padding:0; color:#794529; }
.purchase .stepper button:focus-visible { outline-offset:-4px; }
.purchase .stepper #increase:not(:disabled) {
  background:linear-gradient(#fff5e4,#f1cfaa);
  border-color:#c99b77;
  color:#783a23;
}
.purchase .stepper button:disabled {
  background:#eae1d4;
  color:#8a7969;
  box-shadow:inset 0 1px 2px #6048301a;
  opacity:1;
}
.quantity-symbol { display:grid; place-items:center; }
.quantity-symbol::before,
#increase .quantity-symbol::after {
  content:"";
  grid-area:1 / 1;
  width:14px;
  height:3px;
  border-radius:999px;
  background:currentColor;
}
#increase .quantity-symbol::after { transform:rotate(90deg); }
.primary { background:var(--orange-face);border-color:#c14b12;box-shadow:var(--orange-shadow);text-shadow:0 1px 0 #ffd6a16b;line-height:1.25; }
.bag:not(:disabled):active,.zoom:not(:disabled):active,.close:not(:disabled):active {
  transform:translateY(3px);box-shadow:var(--key-pressed);
}
.primary:not(:disabled):active { transform:translateY(4px);background:var(--orange-face);box-shadow:var(--orange-pressed); }
.stepper button:not(:disabled):active {
  transform:translateY(2px);
  box-shadow:inset 0 2px 3px #6c4e2529,0 1px 0 #c3b296;
}
button:disabled { transform:none;filter:saturate(.6); }
summary { align-items:center; }
summary::after {
  display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;
  border:1px solid #d0c1ab;border-radius:50%;background:var(--key-face);
  box-shadow:inset 0 1px 0 #fff,0 2px 0 #c9b99d;font-size:18px;
}
details[open]>summary::after { background:#eee5d6;box-shadow:var(--well-shadow); }
summary:active::after { box-shadow:var(--well-shadow); }
.product-selector select,.upload input::file-selector-button { background:var(--key-face);box-shadow:var(--key-shadow);border-color:#c9bba6; }
.cart-note { background:linear-gradient(#f2e0c8,#ffedd5);box-shadow:var(--well-shadow); }
.story { background:var(--orange-face);box-shadow:inset 0 2px 0 #ffe0b5,inset 0 -2px 0 #c14b1244,0 6px 0 #cd5c24,0 12px 24px #71401e1a; }
dialog { background:var(--shell);border:1px solid #cbbda6;box-shadow:inset 0 2px 0 #fffefa,0 20px 80px #32291f40; }
#zoom-art { padding:6px;border:1px solid #c9b99e;box-shadow:var(--well-shadow); }
#zoom-art img,#zoom-art svg { border-radius:18px; }
@media(min-width:48rem) {
  .info { padding:20px 18px; }
  .purchase { padding:0;background:none;box-shadow:none;border:0; }
}
@media(min-width:64rem) { .info { padding:24px; } }
@media(hover:hover) {
  .bag:not(:disabled):hover,.zoom:not(:disabled):hover,.close:not(:disabled):hover { background:linear-gradient(#fffefa,#f6eddd); }
  .primary:not(:disabled):hover { background:linear-gradient(#ffd1a8,#ff9d59 15%,#ff8033 55%,#f56c23); }
}
@media(prefers-reduced-motion:no-preference) {
  button { transition:transform 90ms ease-out,box-shadow 90ms ease-out,background 120ms ease; }
}
.image-placeholder{display:grid;place-items:center;width:100%;height:100%;padding:24px;color:var(--muted);font-size:13px;text-align:center}


.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 10px}.gallery-controls p{margin:0;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}.gallery-controls .bag{min-width:44px}.gallery-thumbnails{display:flex;gap:clamp(6px,1vw,10px);overflow-x:auto;padding:5px 4px 8px;max-width:100%}.gallery-thumbnail{flex:0 0 var(--thumbnail-size);width:var(--thumbnail-size);height:var(--thumbnail-size);padding:3px;border:1px solid var(--line);border-radius:14px;background:var(--paper);box-shadow:0 2px 0 #c9baa1}.gallery-thumbnail img{display:block;width:100%;height:100%;object-fit:cover;border-radius:10px}.gallery-thumbnail[aria-pressed=true]{border:3px solid var(--accent);padding:1px}#product-gallery:focus-visible{outline:3px solid var(--accent);outline-offset:5px;border-radius:24px}#zoom-art p{align-self:center;text-align:center;padding:16px;font-size:13px}#zoom-controls{margin-bottom:0}

.gallery-carousel {
  --thumbnail-size:clamp(48px,12vw,72px);
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:clamp(6px,1vw,10px);
  margin-top:12px;
}
.gallery-carousel .bag { width:44px; padding-inline:0; }
#gallery-position {
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}


.product-choices:not([hidden]){display:grid;gap:.5rem;margin-block:.75rem;width:100%}
.product-choices label{display:grid;gap:.25rem;font-size:.85rem}
.product-choices select{font:inherit;color:inherit;background:#fff;border:1px solid #a69b8b;border-radius:.4rem;padding:.5rem;min-height:44px;width:100%}

#buy-now{flex:1;min-width:0;padding-inline:8px}
.purchase-action { display:inline-flex; align-items:center; justify-content:center; gap:6px; }
.purchase-icon { width:18px; height:18px; flex:none; }
@media (width < 48rem) {
  .purchase #add-cart,.purchase #buy-now { padding-inline:4px; gap:4px; }
}
@media (width < 23rem) {
  .purchase { gap:6px; }
  .purchase-action { font-size:.75rem; }
  .purchase-icon { width:16px; height:16px; }
}

.brand.has-store-logo{display:flex;align-items:center;padding-right:0}
.brand.has-store-logo::after{content:none}
.store-logo{display:block;max-width:min(160px,45vw);max-height:48px;object-fit:contain}

/* The raised handle and tapered body form the cart button. */
.hand-basket {
  position:relative;
  isolation:isolate;
  display:inline-flex;
  flex:none;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:50px;
  padding:16px 12px 2px;
  border:0;
  background:none;
  color:var(--ink);
  font:700 13px/1.2 var(--display);
}
.hand-basket::before {
  content:"";
  position:absolute;
  z-index:-1;
  top:2px;
  left:50%;
  width:36px;
  height:20px;
  transform:translateX(-50%);
  border:4px solid var(--accent);
  box-shadow:inset 0 1px 0 #fff8e8,0 1px 0 #fff8e8;
  border-radius:20px 20px 0 0;
}
.hand-basket::after {
  content:"";
  position:absolute;
  z-index:-1;
  inset:16px 0 0;
  border:1px solid #c9bba6;
  border-top:3px solid var(--orange);
  border-radius:5px 5px 17px 17px / 5px 5px 13px 13px;
  background:
    repeating-linear-gradient(115deg,transparent 0 9px,#9f87621a 9px 10px),
    var(--key-face);
  box-shadow:var(--key-shadow);
}
.hand-basket #cart-count {
  display:grid;
  place-items:center;
  min-width:22px;
  min-height:22px;
  padding:0 4px;
  border:1px solid #c14b12;
  border-radius:999px;
  background:var(--orange-face);
  box-shadow:inset 0 1px 0 #ffe5bd;
  font-size:11px;
  font-variant-numeric:tabular-nums;
}
.hand-basket:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:10px}
.hand-basket:active{transform:translateY(3px)}
.hand-basket:active::after{box-shadow:var(--key-pressed)}
@media(hover:hover){.hand-basket:hover::after{border-top-color:var(--accent)}}

.product-page { overflow-x:clip; }
.product:has(.art.has-photo) { --grip-width:174px; }
.gallery-frame,.product-page .info { position:relative; }
.product:has(.art.has-photo) .gallery-frame::after,
.product:has(.art.has-photo) .info::after {
  content:"";
  position:absolute;
  z-index:3;
  width:var(--grip-width);
  aspect-ratio:295 / 108;
  transform:translateY(-50%);
  background:center / contain no-repeat;
  filter:saturate(.72) brightness(1.08) contrast(.92);
  pointer-events:none;
}
.product:has(.art.has-photo) .gallery-frame::after {
  top:58%;
  right:calc(100% - var(--grip-width) * .125);
  background-image:url("/assets/gallery-grip.webp");
}
.product:has(.art.has-photo) .info {
  padding-inline-end:max(24px,calc(var(--grip-width) * .115 + 8px));
}
.product:has(.art.has-photo) .info::after {
  top:46%;
  left:calc(100% - var(--grip-width) * .115);
  background-image:url("/assets/details-grip.webp");
}
@media (width < 48rem) {
  .product-page main { padding-bottom:calc(28px + var(--purchase-height) + var(--purchase-offset)); }
  .product:has(.art.has-photo) #product-gallery { margin-inline-start:18px; }
  .product:has(.art.has-photo) .info { margin-inline-end:18px; }
}
@media (min-width:48rem) {
  .product-page main {
    --side-padding:clamp(48px,8vw,120px);
    --viewport-gutter:calc(max(0px,(100vw - var(--main-max-width)) / 2) + var(--side-padding));
    padding-inline:var(--side-padding);
  }
  .product:has(.art.has-photo) {
    --grip-width:clamp(174px,max(22.6vw,(var(--viewport-gutter) + 18px) / .875),490px);
    --wrist-fade:clamp(0px,calc(var(--viewport-gutter) - var(--grip-width) * .875 + 12px),48px);
  }
  .product:has(.art.has-photo) .gallery-frame::after {
    mask-image:linear-gradient(to right,transparent,#000 var(--wrist-fade));
  }
  .product:has(.art.has-photo) .info::after {
    mask-image:linear-gradient(to left,transparent,#000 var(--wrist-fade));
  }
}
