/* DrShrimp shrimp room: storefront, rack of tanks, tank close-up, bag drawer.
   Light wood is an accent for shelves and signs only; Foam, white and Sapphire stay the main colours. */
:root {
  --wood: #C99662;
  --wood-light: #E2BC8C;
  --wood-dark: #A8774A;
  --glass: rgba(220, 245, 250, .78);
  --sprig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 100'%3E%3Cg fill='%233F9B63'%3E%3Cpath d='M28 100C22 70 24 40 34 18c6 26 4 56-2 82z'/%3E%3Cpath d='M30 100C36 76 46 60 58 54c-2 22-14 38-26 46z' fill='%2357B079'/%3E%3Cpath d='M26 100C16 82 6 70 2 52c14 6 22 24 26 48z' fill='%232F7F50'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Header additions ---------- */
.nav-right { display: flex; align-items: center; gap: 24px; }
.bag-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 8px 0 16px;
  border-radius: 999px; border: 2px solid var(--sapphire); background: var(--white); color: var(--sapphire);
  font-family: var(--display); font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background-color .18s, color .18s;
}
.bag-btn:hover { background: var(--sapphire); color: var(--white); }
.bag-btn .ico { width: 20px; height: 20px; }
.bag-count {
  min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center;
  background: var(--foam); color: var(--sapphire); font-family: var(--body); font-weight: 700; font-size: 13px;
}
.bag-btn.has .bag-count { background: var(--coral); color: var(--white); }
.bag-btn.bump { animation: bump .5s ease; }
@keyframes bump { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }

/* ---------- Storefront ---------- */
.storefront {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(79, 179, 191, .22), transparent 65%),
    var(--foam);
  padding-top: 56px;
}
.sf-head { text-align: center; max-width: 780px; }
.sf-head .eyebrow { margin-bottom: 14px; }
.sf-head h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; letter-spacing: -.02em; line-height: 1.04; }
.sf-head h1 em { font-style: normal; color: var(--coral); }
.sf-head .lede { margin: 18px auto 0; max-width: 56ch; }

.sf-stage { position: relative; display: flex; justify-content: center; padding: 40px 24px 0; }
.sf-stage::after { /* pavement */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px;
  background: #D5E7EA; border-top: 2px solid #C3DCE0;
}

.facade {
  position: relative; z-index: 1; width: min(980px, 100%); aspect-ratio: 980 / 600;
  container-type: inline-size;
  background: var(--sapphire); border-radius: 2.2cqw 2.2cqw 0 0;
  display: flex; flex-direction: column; padding: 0 3cqw;
  box-shadow: 0 30px 60px -20px rgba(18, 53, 91, .45);
  transform-origin: 50% 78%;
  transition: transform .8s cubic-bezier(.6, 0, .4, 1), opacity .6s ease .15s;
}
.facade::before { /* wavy trim along the roof, from the wordmark */
  content: ""; position: absolute; left: 3cqw; right: 3cqw; top: 1.4cqw; height: 1.2cqw;
  background: var(--wave) repeat-x left center / 2.6cqw 1.05cqw; opacity: .9;
}
.facade.entering { transform: scale(2.6); opacity: 0; }

.sign {
  align-self: center; margin: 4.2cqw 0 2.6cqw; background: var(--white); border-radius: 1.4cqw;
  padding: 1.2cqw 4.4cqw 1.3cqw; display: flex; flex-direction: column; align-items: center; gap: .3cqw;
  box-shadow: inset 0 0 0 .5cqw var(--foam), 0 .8cqw 0 rgba(0, 0, 0, .18);
}
.sign img { width: 25cqw; height: auto; }
.sign span { font-size: 1.55cqw; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.lamp { position: absolute; top: 0; width: 5.2cqw; height: 6.6cqw; }
.lamp-l { left: 17cqw; } .lamp-r { right: 17cqw; }
.lamp::before { content: ""; position: absolute; left: 50%; top: 0; width: .35cqw; height: 3cqw; background: #0A1E33; transform: translateX(-50%); }
.lamp::after {
  content: ""; position: absolute; left: 0; right: 0; top: 3cqw; height: 2.6cqw;
  background: var(--aqua); border-radius: 2.6cqw 2.6cqw .4cqw .4cqw;
  box-shadow: 0 2.4cqw 3.4cqw .4cqw rgba(255, 244, 214, .35);
}

.facade-body { flex: 1; display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 3cqw; align-items: stretch; min-height: 0; }

.window {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(180deg, #E4F3F5, #C9E6EA);
  border: .9cqw solid #0D2946; border-bottom: 0; border-radius: 1.2cqw 1.2cqw 0 0;
  padding: 2cqw 1.8cqw 0; overflow: hidden;
}
.window::after { /* glass reflection */
  content: ""; position: absolute; top: 0; bottom: 0; left: 18%; width: 16%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-14deg);
  pointer-events: none;
}
.hang-sign, .chalk { align-self: center; text-align: center; line-height: 1.25; }
.hang-sign {
  background: var(--white); color: var(--sapphire); border-radius: .8cqw; padding: 1cqw 1.6cqw;
  font-family: var(--display); font-weight: 600; font-size: 1.7cqw; transform: rotate(-3deg);
  box-shadow: 0 .5cqw 0 rgba(18, 53, 91, .15); border-top: .5cqw solid var(--wood);
}
.hang-sign b { color: var(--coral); font-weight: 700; }
.chalk {
  background: #0D2946; color: var(--white); border: .6cqw solid var(--wood); border-radius: .6cqw;
  padding: 1.1cqw 1.6cqw; font-family: var(--display); font-weight: 600; font-size: 1.5cqw; transform: rotate(2deg);
}
.chalk b { color: var(--aqua); }
.mini-stand {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2cqw; padding: 0 .4cqw;
  border-bottom: 1.4cqw solid var(--wood); margin: 0 -1.8cqw; padding: 0 1.8cqw;
}
.mini-tank {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0 0 .4cqw .4cqw;
  border: .35cqw solid var(--glass); border-top: .8cqw solid #0A1E33;
  box-shadow: 0 0 1.6cqw rgba(79, 179, 191, .45);
}
.mini-tank img { width: 100%; height: 100%; object-fit: cover; }

.doorway {
  position: relative; display: block; padding: 0; cursor: pointer; overflow: hidden;
  background: linear-gradient(180deg, #F6FBFC, #DCEDF0);
  border: .9cqw solid #0D2946; border-bottom: 0; border-radius: 1.2cqw 1.2cqw 0 0;
  font: inherit; color: inherit;
}
.peek {
  position: absolute; inset: 10% 10% 26%; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr;
  gap: 1.6cqw 1cqw; padding: 1cqw; background: #12355B; border: .7cqw solid var(--wood); border-radius: .6cqw;
}
.peek i {
  border-radius: .3cqw; border-top: .5cqw solid #0A1E33; box-shadow: 0 0 1.4cqw rgba(160, 230, 240, .55);
  background: linear-gradient(180deg, #BDEBF1, #6FC0CC);
}
.peek i { --c: #E0442F; background:
  radial-gradient(ellipse 9% 6% at 30% 58%, var(--c) 90%, transparent),
  radial-gradient(ellipse 8% 5% at 64% 70%, var(--c) 90%, transparent),
  radial-gradient(ellipse 7% 5% at 48% 40%, var(--c) 90%, transparent),
  linear-gradient(180deg, #BDEBF1, #6FC0CC 82%, #2B2731 83%); }
.peek i:nth-child(2) { --c: #2149B0; } .peek i:nth-child(3) { --c: #2E7A50; }
.peek i:nth-child(4) { --c: #F2C230; } .peek i:nth-child(5) { --c: #FFFFFF; } .peek i:nth-child(6) { --c: #2A1E1B; }
.mini-stack { display: grid; gap: 1.6cqw; }

.door {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background: linear-gradient(115deg, rgba(255, 255, 255, .34), rgba(79, 179, 191, .12) 40%, rgba(255, 255, 255, .22));
  border: .55cqw solid #0D2946; transition: transform .7s cubic-bezier(.6, 0, .4, 1);
}
.door-l { left: 0; border-left: 0; } .door-r { right: 0; border-right: 0; }
.door::after { /* handle */
  content: ""; position: absolute; top: 52%; width: .7cqw; height: 5cqw; border-radius: .4cqw; background: var(--wood-light);
}
.door-l::after { right: 1.2cqw; } .door-r::after { left: 1.2cqw; }
.doorway:hover .door-l, .doorway:focus-visible .door-l { transform: translateX(-14%); }
.doorway:hover .door-r, .doorway:focus-visible .door-r { transform: translateX(14%); }
.facade.entering .door-l { transform: translateX(-100%); }
.facade.entering .door-r { transform: translateX(100%); }
.open-sign {
  position: absolute; top: 5%; left: 50%; transform: translateX(-50%) rotate(-2deg); z-index: 2;
  background: var(--coral); color: var(--white); font-family: var(--display); font-weight: 700; font-size: 1.45cqw;
  letter-spacing: .08em; padding: .5cqw 1.4cqw; border-radius: .5cqw; white-space: nowrap;
  box-shadow: 0 .4cqw 0 rgba(0, 0, 0, .2);
}
.door-cta {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); z-index: 2; white-space: nowrap;
  background: var(--white); color: var(--sapphire); font-family: var(--display); font-weight: 600; font-size: 1.6cqw;
  padding: .8cqw 1.8cqw; border-radius: 999px; box-shadow: 0 .6cqw 1.6cqw rgba(18, 53, 91, .3);
}
@media (prefers-reduced-motion: no-preference) {
  .door-cta { animation: nudge 2.4s ease-in-out infinite; }
  @keyframes nudge { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -12%); } }
}

.step { position: relative; height: 3.4cqw; margin: 0 -3cqw; background: #BFD8DD; display: flex; justify-content: center; align-items: center; }
.mat {
  width: 24cqw; height: 2.4cqw; border-radius: .4cqw; background: #0D2946; color: var(--foam);
  display: grid; place-items: center; font-weight: 500; font-size: 1.25cqw; letter-spacing: .2em; text-transform: uppercase;
}

.pot { position: absolute; bottom: 22px; z-index: 2; width: 92px; height: 150px; }
.pot-l { left: calc(50% - 600px); } .pot-r { right: calc(50% - 600px); }
.pot::before { /* pot */
  content: ""; position: absolute; bottom: 0; left: 16px; right: 16px; height: 54px;
  background: var(--sapphire); border-radius: 6px 6px 18px 18px; box-shadow: inset 0 8px 0 rgba(255, 255, 255, .12);
}
.pot::after { /* leaves */
  content: ""; position: absolute; bottom: 48px; left: 0; right: 0; height: 104px;
  background: var(--sprig) no-repeat center bottom / contain;
}
@media (max-width: 1260px) { .pot { display: none; } }

.sf-cta { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 34px 24px 56px; }
.sf-cta .ticks { justify-content: center; margin: 0; }

/* ---------- Shop interior ---------- */
.shop { background: var(--white); padding: 88px 0 96px; scroll-margin-top: -11px; } /* html scroll-padding is 84px; header is ~73px */
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.shop-head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; letter-spacing: -.01em; }
.shop-head .sub b { color: var(--sapphire); }
.swipe-hint { display: none; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }

.room {
  display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; align-items: start;
  padding: 28px; border-radius: 28px;
  background:
    repeating-linear-gradient(90deg, rgba(18, 53, 91, .04) 0 1px, transparent 1px 72px),
    var(--foam);
}

.rack {
  background: var(--sapphire-deep); border: 14px solid var(--wood); border-radius: 12px;
  box-shadow: inset 0 0 0 2px var(--wood-dark), 0 24px 40px -18px rgba(18, 53, 91, .5);
}
.shelf { padding: 16px 18px 0; }
.shelf-label { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); margin-bottom: 10px; }
.shelf-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shelf::after { /* plank */
  content: ""; display: block; height: 16px; margin: 0 -18px; margin-top: 2px;
  background: linear-gradient(180deg, var(--wood-light), var(--wood) 60%, var(--wood-dark));
  box-shadow: 0 8px 12px rgba(0, 0, 0, .35);
}
.slot { display: flex; }

.tank {
  width: 100%; display: flex; flex-direction: column; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; text-align: left; transition: transform .2s ease;
}
.tank:hover, .tank:focus-visible { transform: translateY(-4px); }
.lid { position: relative; height: 11px; background: #0A1E33; border-radius: 4px 4px 0 0; }
.lid::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 2px; height: 3px; border-radius: 2px;
  background: #E9FBFF; box-shadow: 0 0 12px 3px rgba(190, 240, 255, .6); transition: box-shadow .2s;
}
.tank:hover .lid::after { box-shadow: 0 0 18px 6px rgba(190, 240, 255, .85); }

.glass, .td-tank {
  position: relative; overflow: hidden; container-type: inline-size; background: #9FD6DE;
  border: 3px solid var(--glass); border-top: 0;
}
.glass { aspect-ratio: 4 / 3; border-radius: 0 0 4px 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 0 26px rgba(120, 210, 225, .25); transition: filter .2s; }
.tank:hover .glass { filter: brightness(1.08) saturate(1.06); }
.glass img, .td-tank img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.glass::after {
  content: "Tap to look closer"; position: absolute; left: 50%; bottom: 10px; transform: translate(-50%, 8px);
  background: var(--white); color: var(--sapphire); font-family: var(--display); font-weight: 600; font-size: 12.5px;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap; opacity: 0; transition: opacity .2s, transform .2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.tank:hover .glass::after, .tank:focus-visible .glass::after { opacity: 1; transform: translate(-50%, 0); }

.water { position: absolute; inset: 0; background: linear-gradient(180deg, #D3F1F4 0%, #97D3DC 62%, #72BECA 100%); }
.sand { position: absolute; left: 0; right: 0; bottom: 0; height: 15%; background: radial-gradient(circle at 20% 30%, #4A4350 1.5px, transparent 2px) 0 0 / 9px 7px, linear-gradient(180deg, #3A3440, #24212A); }
.sprig { position: absolute; left: 6%; bottom: 10%; width: 24%; height: 62%; background: var(--sprig) no-repeat center bottom / contain; }
.sprig::after { content: ""; position: absolute; left: 260%; bottom: 0; width: 70%; height: 70%; background: inherit; }

.caustics {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .55;
  background:
    radial-gradient(ellipse 30% 12% at 30% 20%, rgba(255, 255, 255, .9), transparent 70%),
    radial-gradient(ellipse 22% 9% at 70% 35%, rgba(255, 255, 255, .8), transparent 70%),
    radial-gradient(ellipse 26% 10% at 45% 60%, rgba(255, 255, 255, .7), transparent 70%);
  background-size: 200% 200%;
}
.glare { position: absolute; top: 0; bottom: 0; left: 7%; width: 13%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent); transform: skewX(-12deg); }
.bubbles i { position: absolute; bottom: -8px; width: 6px; height: 6px; border-radius: 50%; border: 1.2px solid rgba(255, 255, 255, .85); opacity: 0; }
.bubbles i:nth-child(1) { right: 14%; } .bubbles i:nth-child(2) { right: 19%; width: 4px; height: 4px; } .bubbles i:nth-child(3) { right: 11%; width: 5px; height: 5px; }

.badge {
  position: absolute; top: 7px; right: 7px; z-index: 2; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255, 255, 255, .92); color: var(--sapphire); padding: 3px 8px; border-radius: 999px;
}
.badge.soon { background: rgba(13, 41, 70, .78); color: var(--white); }

.tank-tag {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 10px;
  background: var(--white); border-radius: 8px; padding: 7px 10px; box-shadow: 0 2px 0 rgba(0, 0, 0, .2);
}
.tank-tag b { font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.2; color: var(--sapphire); }
.tank-tag em { font-style: normal; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--coral); white-space: nowrap; }

/* Swimming illustrated shrimp */
.swimmer { position: absolute; left: 0; top: var(--y); width: var(--s); transform: scaleX(-1); }
.swimmer svg { width: 100%; height: auto; overflow: visible; }

/* Illustrated plant tank */
.plants-art { position: absolute; inset: 0; }
.plants-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 15%; background: linear-gradient(180deg, #3A3440, #24212A); }
.leaf { position: absolute; bottom: 12%; width: 10%; border-radius: 50% 50% 46% 46% / 64% 64% 36% 36%; transform-origin: bottom center; }
.l1 { left: 10%; height: 52%; background: linear-gradient(#57B079, #2F7F50); transform: rotate(-10deg); }
.l2 { left: 18%; height: 66%; background: linear-gradient(#6CC08A, #3F9B63); transform: rotate(6deg); }
.l3 { left: 70%; height: 40%; width: 14%; background: linear-gradient(#7A4A63, #4E2E46); transform: rotate(-8deg); } /* Buce red-purple leaf */
.l4 { left: 80%; height: 48%; width: 12%; background: linear-gradient(#5E8F4E, #3D6B37); transform: rotate(12deg); }
.l5 { left: 60%; height: 34%; width: 12%; background: linear-gradient(#4E7F6A, #2F5E4C); transform: rotate(-22deg); }
.moss { position: absolute; bottom: 11%; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #5FA35A, #2E6B33); }
.m1 { left: 34%; width: 22%; height: 18%; } .m2 { left: 46%; width: 18%; height: 14%; }
.rock { position: absolute; left: 30%; bottom: 12%; width: 20%; height: 22%; background: #43546A; border-radius: 40% 60% 30% 40%; }

@media (prefers-reduced-motion: no-preference) {
  .swimmer { animation: swimX var(--dur) linear infinite; animation-delay: var(--del); }
  .swimmer svg { animation: bob 1.4s ease-in-out infinite alternate; }
  .swimmer.rili svg { animation-duration: 1.1s; }
  @keyframes swimX {
    0% { transform: translateX(-30%) scaleX(-1); }
    47% { transform: translateX(calc(100cqw - 70%)) scaleX(-1); }
    50% { transform: translateX(calc(100cqw - 70%)) scaleX(1); }
    97% { transform: translateX(-30%) scaleX(1); }
    100% { transform: translateX(-30%) scaleX(-1); }
  }
  @keyframes bob { from { transform: translateY(-4%) rotate(-2deg); } to { transform: translateY(5%) rotate(2deg); } }
  .caustics { animation: shimmer 9s ease-in-out infinite alternate; }
  @keyframes shimmer { from { background-position: 0% 0%; } to { background-position: 100% 60%; } }
  .bubbles i { animation: bubble 4.5s linear infinite; }
  .bubbles i:nth-child(2) { animation-delay: -1.5s; } .bubbles i:nth-child(3) { animation-delay: -3s; }
  @keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(-110cqw); opacity: 0; } }
  .leaf { animation: sway 5s ease-in-out infinite alternate; }
  .l2 { animation-delay: -2s; } .l4 { animation-delay: -1s; }
  @keyframes sway { from { rotate: -3deg; } to { rotate: 3deg; } }
}

/* Side shelf */
.side-shelf { display: grid; gap: 20px; }
.supplies {
  display: flex; flex-direction: column; width: 100%; padding: 14px 14px 12px; border: 0; cursor: pointer; font: inherit; color: inherit; text-align: left;
  background: var(--white); border-radius: 14px; box-shadow: 0 10px 24px -14px rgba(18, 53, 91, .4); transition: transform .2s;
}
.supplies:hover, .supplies:focus-visible { transform: translateY(-4px); }
.sup-row { display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding: 10px 6px 0; border-bottom: 10px solid var(--wood); margin-bottom: 6px; }
.sup { display: grid; place-items: center; text-align: center; font-style: normal; font-size: 10px; font-weight: 700; line-height: 1.1; }
.bag-soil { width: 46px; height: 62px; background: var(--sapphire); color: var(--white); border-radius: 8px 8px 4px 4px; }
.jar { width: 36px; height: 44px; background: var(--white); color: var(--sapphire); border: 1px solid var(--line); border-top: 9px solid var(--coral); border-radius: 6px; }
.jar-b { border-top-color: var(--aqua); }
.sponge { width: 30px; height: 50px; border-radius: 7px; background: radial-gradient(circle, #3C4250 1.4px, transparent 1.8px) 0 0 / 6px 6px, #23272F; box-shadow: inset 0 6px 0 #0A1E33; }
.leaves { width: 56px; height: 30px; background: linear-gradient(135deg, #B9763F, #8E5530); color: var(--white); border-radius: 50% 6px 50% 6px; font-size: 9px; }
.poster { background: var(--white); border-left: 5px solid var(--aqua); border-radius: 10px; padding: 14px 16px; display: grid; gap: 2px; }
.poster b { font-family: var(--display); font-weight: 600; font-size: 17px; }
.poster span { font-size: 13.5px; color: var(--muted); }
.noscript-list { margin-top: 24px; padding: 20px; background: var(--foam); border-radius: 16px; }
.shop .kit { margin-top: 40px; }

/* ---------- Tank close-up dialog ---------- */
dialog { color: var(--sapphire); }
dialog::backdrop { background: rgba(13, 41, 70, .62); backdrop-filter: blur(4px); }
.tank-dialog {
  width: min(940px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px;
  background: var(--white); overflow: auto;
}
.tank-dialog[open] { animation: pop .28s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.dlg-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: var(--white); color: var(--sapphire); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.dlg-close .ico { width: 20px; height: 20px; }
.td-grid { display: grid; grid-template-columns: 1.05fr 1fr; }
.td-media { background: var(--sapphire-deep); padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.td-tank { aspect-ratio: 1; border-radius: 8px; border-top: 12px solid #0A1E33; box-shadow: 0 0 40px rgba(120, 210, 225, .3); }
.td-tank .swimmer { width: calc(var(--s) * .8); }
.td-cap { color: var(--foam); font-size: 13px; text-align: center; opacity: .85; }
.td-info { padding: 40px 32px 30px; display: flex; flex-direction: column; gap: 14px; }
.td-tier { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.td-info h2 { font-size: 34px; font-weight: 700; margin-top: -6px; }
.td-desc { color: var(--muted); font-size: 15.5px; }
.td-price b { display: block; font-family: var(--display); font-weight: 600; font-size: 32px; color: var(--coral); line-height: 1.1; }
.td-price b.ask { font-size: 22px; color: var(--sapphire); }
.td-price span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.td-price strong { color: var(--sapphire); }
.td-label { display: block; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.td-qty { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.td-qty .td-label { width: 100%; margin: 0; }
.td-qty[hidden], .td-picker[hidden] { display: none; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 22px; color: var(--sapphire); cursor: pointer; }
.stepper button:hover { background: var(--foam); }
.stepper input { width: 60px; height: 44px; border: 0; text-align: center; font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--sapphire); -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper.sm button { width: 32px; height: 32px; font-size: 18px; }
.stepper.sm span { min-width: 30px; text-align: center; font-weight: 700; font-size: 14px; }
.quick { display: flex; gap: 6px; }
.quick button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--foam); color: var(--sapphire); font-weight: 700; cursor: pointer; }
.quick button:hover { border-color: var(--aqua); }
.chips.pick label { cursor: pointer; }
.chips.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips.pick span { display: block; font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--foam); border: 1px solid var(--line); transition: background-color .15s, color .15s; }
.chips.pick input:checked + span { background: var(--sapphire); color: var(--white); border-color: var(--sapphire); }
.chips.pick input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.td-hint { font-size: 14px; color: var(--aqua-deep); font-weight: 500; min-height: 1.4em; }
.td-add { width: 100%; margin-top: auto; }
.td-add:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Bag drawer ---------- */
.bag-drawer {
  margin: 0 0 0 auto; width: min(430px, 100%); height: 100dvh; max-height: 100dvh; max-width: 100%;
  padding: 0; border: 0; background: var(--white);
}
.bag-drawer[open] { display: flex; flex-direction: column; animation: slidein .3s ease; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.bd-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 18px 24px; border-bottom: 1px solid var(--line); }
.bd-head h2 { font-size: 24px; font-weight: 700; }
.bd-head .dlg-close { position: static; box-shadow: none; background: var(--foam); }
.bd-body { flex: 1; overflow: auto; padding: 4px 24px; }
.bag-lines { list-style: none; margin: 0; padding: 0; }
.bag-lines li { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.thumb { width: 58px; height: 58px; border-radius: 10px; overflow: hidden; background: var(--foam); display: grid; place-items: center; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-ill svg { width: 44px; height: 40px; }
.bl-info { display: grid; gap: 4px; justify-items: start; }
.bl-info b { font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.2; }
.bl-info > span { font-size: 13px; color: var(--muted); }
.bl-info .stepper { margin-top: 4px; }
.bl-right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.bl-right b { font-family: var(--display); font-weight: 600; font-size: 16px; }
.bl-right em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--muted); }
.bl-remove { border: 0; background: none; padding: 0; font-size: 12.5px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.bd-foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); background: var(--foam); display: grid; gap: 8px; }
.bd-row { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-weight: 600; font-size: 20px; }
.bd-note { font-size: 13.5px; color: var(--muted); }
.bd-note.good { color: var(--aqua-deep); font-weight: 500; }
.bd-send { width: 100%; margin-top: 6px; }
.bd-small { font-size: 12.5px; color: var(--muted); text-align: center; }
.bd-clear { justify-self: center; border: 0; background: none; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.bag-empty { text-align: center; padding: 56px 0; display: grid; justify-items: center; gap: 14px; color: var(--muted); }
.bag-empty svg { width: 90px; height: 84px; opacity: .9; }

/* ---------- Toast + flying shrimp ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 160%);
  background: var(--sapphire); color: var(--white); padding: 12px 20px; border-radius: 999px; font-weight: 500; font-size: 15px;
  box-shadow: 0 10px 30px rgba(18, 53, 91, .35); transition: transform .3s ease; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); }
.flyer { position: fixed; left: 0; top: 0; z-index: 300; width: 48px; height: 44px; pointer-events: none; }
.flyer svg { width: 100%; height: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .room { grid-template-columns: minmax(0, 1fr); }
  .side-shelf { grid-template-columns: 1fr 1fr; align-items: stretch; }
}
@media (max-width: 900px) {
  .nav-right { gap: 10px; }
  .td-grid { grid-template-columns: 1fr; }
  .td-media { padding: 16px 16px 12px; }
  .td-tank { aspect-ratio: 4 / 3; }
  .td-info { padding: 22px 20px 22px; }
  .td-info h2 { font-size: 28px; }
}
@media (max-width: 760px) {
  .shop { padding: 64px 0 72px; }
  .shop-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
  .swipe-hint { display: block; }
  .room { padding: 12px; border-radius: 20px; gap: 16px; }
  .rack { border-width: 10px; }
  .shelf { padding: 12px 12px 0; }
  .shelf::after { margin: 2px -12px 0; height: 13px; }
  .shelf-row {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 66%; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px;
  }
  .shelf-row::-webkit-scrollbar { display: none; }
  .slot { scroll-snap-align: start; }
  .glass::after { content: "Tap to look"; opacity: 1; transform: translate(-50%, 0); font-size: 11.5px; padding: 4px 10px; bottom: 8px; }
  .tank:hover { transform: none; }
  .sf-stage { padding: 28px 12px 0; }
  .sf-stage::after { height: 14px; }
}
@media (max-width: 600px) {
  .bag-label { display: none; }
  .bag-btn { padding: 0 6px 0 10px; gap: 6px; }
  .storefront { padding-top: 40px; }
  .sf-cta { padding: 24px 16px 44px; }
  .sf-cta .btn { width: 100%; }
  .sf-cta .ticks { align-items: flex-start; }
  .side-shelf { grid-template-columns: 1fr; }
  .toast { bottom: 88px; }
  .bag-lines li { grid-template-columns: 50px 1fr auto; }
  .thumb { width: 50px; height: 50px; }
}
.thumb-ill.icon svg { width: 28px; height: 28px; }
.toast { opacity: 0; visibility: hidden; transition: transform .3s ease, opacity .3s ease, visibility 0s linear .3s; }
.toast.show { opacity: 1; visibility: visible; transition: transform .3s ease, opacity .3s ease; }


/* ---------- Scene backgrounds: outside on the street, then inside the room ---------- */
:root { --leaves: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20300%20262%22%3E%3Cpath%20transform%3D%22translate(150%20262)%20rotate(-72)%22%20d%3D%22M0%200C26%20-50%2026%20-140%200%20-200C-26%20-140%20-26%20-50%200%200Z%22%20fill%3D%22%234FB3BF%22%20fill-opacity%3D%220.3%22%2F%3E%3Cpath%20transform%3D%22translate(150%20262)%20rotate(-50)%22%20d%3D%22M0%200C26%20-57.5%2026%20-161%200%20-230C-26%20-161%20-26%20-57.5%200%200Z%22%20fill%3D%22%234FB3BF%22%20fill-opacity%3D%220.3%22%2F%3E%3Cpath%20transform%3D%22translate(150%20262)%20rotate(-28)%22%20d%3D%22M0%200C26%20-65%2026%20-182%200%20-260C-26%20-182%20-26%20-65%200%200Z%22%20fill%3D%22%234FB3BF%22%20fill-opacity%3D%220.3%22%2F%3E%3Cpath%20transform%3D%22translate(150%20262)%20rotate(-8)%22%20d%3D%22M0%200C26%20-50%2026%20-140%200%20-200C-26%20-140%20-26%20-50%200%200Z%22%20fill%3D%22%234FB3BF%22%20fill-opacity%3D%220.3%22%2F%3E%3Cpath%20transform%3D%22translate(150%20262)%20rotate(12)%22%20d%3D%22M0%200C26%20-57.5%2026%20-161%200%20-230C-26%20-161%20-26%20-57.5%200%200Z%22%20fill%3D%22%234FB3BF%22%20fill-opacity%3D%220.3%22%2F%3E%3Cpath%20transform%3D%22translate(150%20262)%20rotate(34)%22%20d%3D%22M0%200C26%20-65%2026%20-182%200%20-260C-26%20-182%20-26%20-65%200%200Z%22%20fill%3D%22%234FB3BF%22%20fill-opacity%3D%220.3%22%2F%3E%3Cpath%20transform%3D%22translate(150%20262)%20rotate(58)%22%20d%3D%22M0%200C26%20-50%2026%20-140%200%20-200C-26%20-140%20-26%20-50%200%200Z%22%20fill%3D%22%234FB3BF%22%20fill-opacity%3D%220.3%22%2F%3E%3Cpath%20transform%3D%22translate(150%20262)%20rotate(76)%22%20d%3D%22M0%200C26%20-57.5%2026%20-161%200%20-230C-26%20-161%20-26%20-57.5%200%200Z%22%20fill%3D%22%234FB3BF%22%20fill-opacity%3D%220.3%22%2F%3E%3Cpath%20transform%3D%22translate(150%20262)%20rotate(-60)%22%20d%3D%22M0%200C22%20-35%2022%20-98%200%20-140C-22%20-98%20-22%20-35%200%200Z%22%20fill%3D%22%232C8C99%22%20fill-opacity%3D%220.26%22%2F%3E%3Cpath%20transform%3D%22translate(150%20262)%20rotate(-36)%22%20d%3D%22M0%200C22%20-45%2022%20-125.99999999999999%200%20-180C-22%20-125.99999999999999%20-22%20-45%200%200Z%22%20fill%3D%22%232C8C99%22%20fill-opacity%3D%220.26%22%2F%3E%3Cpath%20transform%3D%22translate(150%20262)%20rotate(-16)%22%20d%3D%22M0%200C22%20-35%2022%20-98%200%20-140C-22%20-98%20-22%20-35%200%200Z%22%20fill%3D%22%232C8C99%22%20fill-opacity%3D%220.26%22%2F%3E%3Cpath%20transform%3D%22translate(150%20262)%20rotate(6)%22%20d%3D%22M0%200C22%20-45%2022%20-125.99999999999999%200%20-180C-22%20-125.99999999999999%20-22%20-45%200%200Z%22%20fill%3D%22%232C8C99%22%20fill-opacity%3D%220.26%22%2F%3E%3Cpath%20transform%3D%22translate(150%20262)%20rotate(26)%22%20d%3D%22M0%200C22%20-35%2022%20-98%200%20-140C-22%20-98%20-22%20-35%200%200Z%22%20fill%3D%22%232C8C99%22%20fill-opacity%3D%220.26%22%2F%3E%3Cpath%20transform%3D%22translate(150%20262)%20rotate(48)%22%20d%3D%22M0%200C22%20-45%2022%20-125.99999999999999%200%20-180C-22%20-125.99999999999999%20-22%20-45%200%200Z%22%20fill%3D%22%232C8C99%22%20fill-opacity%3D%220.26%22%2F%3E%3Cpath%20transform%3D%22translate(150%20262)%20rotate(68)%22%20d%3D%22M0%200C22%20-35%2022%20-98%200%20-140C-22%20-98%20-22%20-35%200%200Z%22%20fill%3D%22%232C8C99%22%20fill-opacity%3D%220.26%22%2F%3E%3C%2Fsvg%3E"); --hedge: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%2044%22%3E%3Cg%20fill%3D%22%23A6D8D4%22%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2230%22%20r%3D%2222%22%2F%3E%3Ccircle%20cx%3D%2258%22%20cy%3D%2224%22%20r%3D%2226%22%2F%3E%3Ccircle%20cx%3D%2298%22%20cy%3D%2230%22%20r%3D%2222%22%2F%3E%3C%2Fg%3E%3Crect%20y%3D%2230%22%20width%3D%22120%22%20height%3D%2214%22%20fill%3D%22%23A6D8D4%22%2F%3E%3C%2Fsvg%3E"); }

/* Outside: sky, clouds, garden behind the shopfront, pavement */
.storefront {
  background:
    radial-gradient(520px 320px at 86% 4%, rgba(255, 244, 214, .75), transparent 70%),
    linear-gradient(180deg, #BDE6EE 0%, #D9F1F4 40%, #EAF6F8 78%);
}
.sf-head { position: relative; z-index: 1; }
.sf-sky { position: absolute; inset: 0 0 auto; height: 60%; pointer-events: none; }
.sf-sky i { position: absolute; background: #FFFFFF; border-radius: 999px; opacity: .75; filter: blur(1px); }
.sf-sky i::before, .sf-sky i::after { content: ''; position: absolute; background: inherit; border-radius: 50%; }
.sf-sky i:nth-child(1) { top: 9%; left: 6%; width: 150px; height: 34px; }
.sf-sky i:nth-child(2) { top: 18%; right: 9%; width: 190px; height: 40px; opacity: .6; }
.sf-sky i:nth-child(3) { top: 38%; left: 14%; width: 110px; height: 26px; opacity: .5; }
.sf-sky i::before { width: 46%; height: 150%; left: 18%; bottom: 30%; }
.sf-sky i::after { width: 34%; height: 120%; right: 16%; bottom: 35%; }
@media (prefers-reduced-motion: no-preference) {
  .sf-sky i { animation: drift-cloud 38s ease-in-out infinite alternate; }
  .sf-sky i:nth-child(2) { animation-duration: 46s; animation-delay: -12s; }
  .sf-sky i:nth-child(3) { animation-duration: 30s; animation-delay: -6s; }
  @keyframes drift-cloud { from { translate: -24px 0; } to { translate: 24px 0; } }
}
.sf-stage::before { /* garden behind the shop: palms either side, hedge along the street */
  content: ''; position: absolute; left: 0; right: 0; bottom: 22px; height: 78%; z-index: 0; pointer-events: none;
  background:
    var(--hedge) repeat-x left bottom / 120px 44px,
    var(--leaves) no-repeat calc(50% - 560px) bottom / 340px auto,
    var(--leaves) no-repeat calc(50% + 560px) bottom / 300px auto,
    var(--leaves) no-repeat calc(50% - 760px) bottom / 260px auto,
    var(--leaves) no-repeat calc(50% + 770px) bottom / 280px auto;
}
.sf-stage::after { z-index: 1; background: #CFE3E7; border-top: 3px solid #BCD6DB; }
.sf-cta { /* pavement in front of the shop */
  background:
    repeating-linear-gradient(90deg, transparent 0 139px, rgba(18, 53, 91, .07) 139px 140px),
    linear-gradient(180deg, #D5E7EA, #DDEDEF);
  max-width: none;
}
.sf-cta .ticks { color: var(--sapphire); }

/* Inside: wall boards, warm ceiling lights, wooden floor */
.shop {
  position: relative; overflow: hidden; padding: 128px 0 110px;
  background:
    radial-gradient(360px 280px at 18% 0, rgba(255, 238, 200, .55), transparent 72%),
    radial-gradient(360px 280px at 50% 0, rgba(255, 238, 200, .5), transparent 72%),
    radial-gradient(360px 280px at 82% 0, rgba(255, 238, 200, .55), transparent 72%),
    repeating-linear-gradient(90deg, rgba(18, 53, 91, .05) 0 1px, transparent 1px 88px),
    linear-gradient(180deg, #DCEEF1 0%, #E8F3F5 50%, #EEF6F7 100%);
}
.shop::before { /* ceiling trim, with the shadow of the doorway you just walked through */
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: var(--sapphire-deep);
  box-shadow: 0 6px 24px rgba(13, 41, 70, .25);
}
.shop::after { /* skirting board + wooden floor */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 190px; z-index: 0;
  background:
    linear-gradient(180deg, #FFFFFF 0 10px, rgba(13, 41, 70, .12) 10px 13px, transparent 13px),
    repeating-linear-gradient(90deg, transparent 0 178px, rgba(120, 78, 40, .18) 178px 180px),
    repeating-linear-gradient(180deg, transparent 0 44px, rgba(120, 78, 40, .1) 44px 45px),
    linear-gradient(180deg, var(--wood-light), var(--wood));
}
.shop > .wrap { position: relative; z-index: 1; }
.room-lights { position: absolute; left: 0; right: 0; top: 18px; height: 80px; pointer-events: none; z-index: 1; }
.room-lights i { position: absolute; top: 0; width: 64px; height: 76px; transform: translateX(-50%); }
.room-lights i:nth-child(1) { left: 18%; } .room-lights i:nth-child(2) { left: 50%; } .room-lights i:nth-child(3) { left: 82%; }
.room-lights i::before { content: ''; position: absolute; left: 50%; top: 0; width: 2px; height: 46px; background: #0A1E33; transform: translateX(-50%); }
.room-lights i::after {
  content: ''; position: absolute; left: 0; right: 0; top: 44px; height: 30px; border-radius: 32px 32px 6px 6px;
  background: var(--sapphire); box-shadow: inset 0 -4px 0 #FFF4D6, 0 18px 40px 8px rgba(255, 236, 190, .55);
}
.room { background: none; padding: 0; border-radius: 0; }
.rack { box-shadow: inset 0 0 0 2px var(--wood-dark), 0 30px 50px -16px rgba(13, 41, 70, .45), 0 0 0 1px rgba(13, 41, 70, .1); }
.shop .kit { margin-top: 56px; box-shadow: 0 24px 40px -20px rgba(13, 41, 70, .5); }

@media (max-width: 760px) {
  .shop { padding: 104px 0 84px; }
  .shop::after { height: 150px; }
  .room-lights i:nth-child(2) { display: none; }
  .room-lights i:nth-child(1) { left: 22%; } .room-lights i:nth-child(3) { left: 78%; }
  .room { padding: 0; }
  .sf-stage::before { height: 60%; background: var(--hedge) repeat-x left bottom / 90px 33px; }
  .sf-sky i:nth-child(3) { display: none; }
}

/* ---------- Stock states (set by the owner on /admin) ---------- */
.tank { position: relative; }
.stock-sign {
  display: none; position: absolute; left: 50%; top: 40%; z-index: 4; transform: translate(-50%, -50%) rotate(-6deg);
  background: var(--white); color: var(--sapphire); border: 3px solid var(--coral); border-radius: 8px;
  font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}
.stock-sign::before { /* little hanging string */
  content: ""; position: absolute; left: 50%; bottom: 100%; width: 34px; height: 14px; transform: translateX(-50%);
  border: 2px solid rgba(255, 255, 255, .85); border-bottom: 0; border-radius: 16px 16px 0 0;
}
.tank.soldout .stock-sign { display: block; }
.tank.soldout .glass { filter: grayscale(.7) brightness(.78); }
.tank.soldout:hover .glass { filter: grayscale(.6) brightness(.85); }
.tank.soldout .lid::after { box-shadow: none; opacity: .4; }
.tank.soldout .tank-tag em { color: var(--muted); }
.tank.soldout .glass::after { content: "Ask when it\2019s back"; }
.badge.nb { display: none; left: 7px; right: auto; background: var(--sunny); color: var(--sapphire); }
.tank.isnew .badge.nb { display: block; }
.nb-pill { display: inline-block; margin-left: 6px; background: var(--sunny); color: var(--sapphire); padding: 2px 9px; border-radius: 999px; font-weight: 700; letter-spacing: .06em; }
.td-out { background: #FDECE8; color: var(--coral-deep); border-radius: 10px; padding: 10px 12px; font-weight: 500; font-size: 14.5px; margin-bottom: 12px; }
.bag-lines li.out { opacity: .7; }
.bag-lines li.out .thumb { filter: grayscale(.8); }
.out-note { color: var(--coral-deep); font-weight: 700; }
.bd-note.bad { color: var(--coral-deep); font-weight: 500; }
.bd-send:disabled { opacity: .55; cursor: not-allowed; transform: none; }
@media (max-width: 760px) { .stock-sign { font-size: 14px; padding: 5px 11px; } .tank.soldout .glass::after { content: "Sold out"; } }

/* ---------- Close-up gallery (more photos + short clips) ---------- */
.td-stage { background: #0A1E33; }
.td-stage img { object-fit: cover; }
.td-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0A1E33; }
.td-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.td-nav .td-cap { flex: 1; margin: 0; }
.td-arrow {
  width: 38px; height: 38px; border-radius: 50%; border: 0; flex-shrink: 0; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: var(--white); font-size: 24px; line-height: 1; display: grid; place-items: center;
}
.td-arrow:hover { background: rgba(255, 255, 255, .24); }
.td-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.td-thumbs::-webkit-scrollbar { display: none; }
.td-thumbs button {
  position: relative; flex: 0 0 60px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 9px;
  overflow: hidden; cursor: pointer; background: #0A1E33; opacity: .7; transition: opacity .15s, border-color .15s;
}
.td-thumbs button:hover { opacity: 1; }
.td-thumbs button.on { border-color: var(--aqua); opacity: 1; }
.td-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.td-thumbs .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 30, 51, .25); }
.td-thumbs .play::after {
  content: ""; width: 0; height: 0; margin-left: 3px;
  border-left: 13px solid var(--white); border-top: 8px solid transparent; border-bottom: 8px solid transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5));
}
@media (max-width: 900px) { .td-thumbs button { flex-basis: 52px; height: 52px; } }
.td-media, .td-info { min-width: 0; }
@media (max-width: 900px) { .td-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Free bonus shrimp (1–5 per order, same colour as the order) ---------- */
.bonus {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  background: var(--white); border: 2px dashed var(--aqua); border-radius: 14px; padding: 12px 14px; margin-bottom: 4px;
}
.bonus-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--foam); color: var(--aqua-deep); display: grid; place-items: center; }
.bonus-ico .ico { width: 22px; height: 22px; }
.bonus-copy { display: grid; gap: 2px; min-width: 0; }
.bonus-copy b { font-family: var(--display); font-weight: 600; font-size: 16px; }
.bonus-copy span { font-size: 13.5px; color: var(--muted); }
.bonus-copy strong { color: var(--sapphire); }
.bonus-n {
  min-width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sapphire); color: var(--white); font-family: var(--display); font-weight: 700; font-size: 22px;
}
.bonus.rolling .bonus-n { background: var(--aqua-deep); }
@media (prefers-reduced-motion: no-preference) {
  .bonus.rolling .bonus-n { animation: wobble .18s ease-in-out infinite alternate; }
  .bonus.landed .bonus-n { animation: landed .5s ease; }
  @keyframes wobble { from { transform: rotate(-8deg) scale(.95); } to { transform: rotate(8deg) scale(1.05); } }
  @keyframes landed { 40% { transform: scale(1.25); } }
}
.td-bonus { display: flex !important; align-items: center; gap: 6px; margin-top: 8px !important; font-size: 13.5px; font-weight: 500; color: var(--aqua-deep) !important; }
.td-bonus .ico { width: 18px; height: 18px; flex-shrink: 0; }
