/* The Axolotl Store: specialty aquatic theme. Mobile-first, WCAG AA contrast on dark backgrounds. */
:root {
  --bg: #050b16;
  --bg-2: #0a1628;
  --panel: #0e1f38;
  --panel-2: #132a4a;
  --line: #1f3d66;
  --text: #e8f1fb;
  --muted: #9fb6d2;
  --blue: #2f9bff;
  --turq: #2ee6d6;
  --turq-ink: #032a29;
  --pink: #ff7eb6;
  --pink-ink: #3a0a22;
  --ok: #46d99a;
  --warn: #ffc857;
  --danger: #ff6b7a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 10% -10%, rgba(47, 155, 255, .16), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(46, 230, 214, .10), transparent 60%),
    linear-gradient(180deg, #06101f 0%, #050b16 60%, #03070e 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
/* Subtle underwater light caustics */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background:
    radial-gradient(60px 20px at 20% 30%, rgba(46, 230, 214, .05), transparent 70%),
    radial-gradient(80px 26px at 70% 20%, rgba(47, 155, 255, .05), transparent 70%),
    radial-gradient(50px 18px at 45% 70%, rgba(255, 126, 182, .04), transparent 70%);
  background-size: 400px 300px;
  animation: drift 40s linear infinite;
}
@keyframes drift { from { background-position: 0 0, 0 0, 0 0; } to { background-position: 400px 300px, -400px 300px, 400px -300px; } }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } * { scroll-behavior: auto !important; transition: none !important; } }
main, header, footer { position: relative; z-index: 1; }
a { color: var(--turq); text-underline-offset: 3px; }
a:hover { color: #7ff3e9; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--pink); color: var(--pink-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.section { padding: 40px 0; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row.between { justify-content: space-between; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid-2 { display: grid; gap: 20px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--turq); font-weight: 700; }
.pink { color: var(--pink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(5, 11, 22, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: .01em; }
.brand svg, .brand img { flex: none; }
.brand-mark { width: 40px; height: 40px; }
.brand .the { color: var(--muted); font-weight: 600; }
.nav-toggle { margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 12px; font: inherit; }
.nav { display: none; width: 100%; padding-bottom: 12px; }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nav a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--panel-2); color: var(--turq); }
.cart-link .count { display: inline-block; min-width: 1.4em; padding: 0 .4em; margin-left: 4px; border-radius: 99px; background: var(--pink); color: var(--pink-ink); font-weight: 800; font-size: .8rem; text-align: center; }
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav { display: block; width: auto; margin-left: auto; padding: 0; }
  .nav ul { flex-direction: row; align-items: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; min-height: 44px; }
.btn:hover { border-color: var(--turq); color: var(--text); }
.btn-primary { background: linear-gradient(135deg, var(--turq), #22b8e6); color: var(--turq-ink); border-color: transparent; }
.btn-primary:hover { filter: brightness(1.08); color: var(--turq-ink); }
.btn-pink { background: var(--pink); color: var(--pink-ink); border-color: transparent; }
.btn-pink:hover { color: var(--pink-ink); filter: brightness(1.05); }
.btn-ghost { background: transparent; }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-sm { padding: 6px 12px; min-height: 34px; font-size: .9rem; border-radius: 9px; }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; color: var(--turq); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

/* Cards & panels */
.card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .3em; }
.card-link { color: inherit; text-decoration: none; display: block; }
.card-link:hover .card { border-color: var(--turq); }
.product-card .thumb, .media-main { aspect-ratio: 4/3; width: 100%; object-fit: cover; border-radius: 10px; background: var(--bg-2); margin-bottom: 12px; }
.price { font-weight: 800; font-size: 1.15rem; color: var(--text); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }

/* Hero */
.hero { padding: 56px 0 36px; }
.hero h1 span { background: linear-gradient(90deg, var(--turq), var(--blue) 60%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }

/* Storefront graphics */
.hero-photo { position: relative; overflow: hidden; padding: 64px 0 48px; }
.hero-photo .container { position: relative; z-index: 1; }
.hero-media { position: relative; }
.hero-media img { border-radius: 28px 28px 28px 120px; border: 1px solid var(--line); box-shadow: 0 25px 60px rgba(0, 0, 0, .5), 0 0 0 8px rgba(46, 230, 214, .07); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero-media::before { content: ""; position: absolute; inset: -18px -18px auto auto; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 126, 182, .55), rgba(255, 126, 182, 0) 70%); filter: blur(4px); z-index: -1; }
.hero-tag { position: absolute; left: 18px; bottom: 18px; background: rgba(5, 11, 22, .82); border: 1px solid var(--line); color: var(--text);
  padding: 8px 14px; border-radius: 99px; font-weight: 700; font-size: .9rem; backdrop-filter: blur(6px); }
.bubbles span { position: absolute; bottom: -40px; display: block; border-radius: 50%; border: 1px solid rgba(159, 230, 255, .35);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .35), rgba(46, 230, 214, .05) 60%); animation: rise 14s linear infinite; }
.bubbles span:nth-child(1) { left: 6%; width: 14px; height: 14px; animation-duration: 12s; }
.bubbles span:nth-child(2) { left: 18%; width: 8px; height: 8px; animation-duration: 9s; animation-delay: 3s; }
.bubbles span:nth-child(3) { left: 33%; width: 20px; height: 20px; animation-duration: 16s; animation-delay: 1s; }
.bubbles span:nth-child(4) { left: 52%; width: 10px; height: 10px; animation-duration: 11s; animation-delay: 5s; }
.bubbles span:nth-child(5) { left: 68%; width: 16px; height: 16px; animation-duration: 14s; animation-delay: 2s; }
.bubbles span:nth-child(6) { left: 82%; width: 9px; height: 9px; animation-duration: 10s; animation-delay: 6s; }
.bubbles span:nth-child(7) { left: 93%; width: 13px; height: 13px; animation-duration: 13s; animation-delay: 4s; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translate(14px, -50vh); } 100% { transform: translate(-8px, -100vh); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bubbles span { animation: none; display: none; } }
.wave { line-height: 0; margin-top: -1px; }
.wave svg { width: 100%; height: 40px; display: block; }
.wave path { fill: rgba(14, 31, 56, .7); }
.trust-strip { background: rgba(14, 31, 56, .7); border-bottom: 1px solid var(--line); padding: 18px 0 22px; }
.trust-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; gap: 12px; align-items: center; }
.trust-item strong { display: block; }
.trust-item span { color: var(--muted); font-size: .88rem; }
.icon { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.trust-item .icon { width: 42px; height: 42px; padding: 8px; border-radius: 12px; color: var(--turq); background: rgba(46, 230, 214, .1); border: 1px solid rgba(46, 230, 214, .25); }
.cat-card { height: 100%; transition: transform .2s ease, border-color .2s ease; }
.card-link:hover .cat-card, .card-link:hover .product-card { transform: translateY(-3px); }
.cat-icon .icon { width: 52px; height: 52px; padding: 11px; border-radius: 16px; color: var(--pink); background: rgba(255, 126, 182, .1); border: 1px solid rgba(255, 126, 182, .3); margin-bottom: 10px; }
.cat-photo { padding: 0; overflow: hidden; position: relative; min-height: 220px; }
.cat-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card-link:hover .cat-photo img { transform: scale(1.05); }
.cat-photo .cat-body { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(180deg, transparent, rgba(3, 7, 14, .92) 55%); }
.cat-photo h3 { color: #fff; }
.product-card { transition: transform .2s ease, border-color .2s ease; overflow: hidden; }
.product-card .thumb { transition: transform .4s ease; }
.card-link:hover .product-card .thumb { transform: scale(1.03); }
.photo-banner { position: relative; margin: 30px 0; padding: 70px 0; background-size: cover; background-position: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.photo-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 7, 14, .92) 0%, rgba(3, 7, 14, .7) 45%, rgba(3, 7, 14, .1) 100%); }
.photo-banner .container { position: relative; }
.photo-banner-text { max-width: 480px; }
.photo-banner-text p { color: #d5e3f3; }
.learn-panel img { border-radius: 10px; aspect-ratio: 3/2; object-fit: cover; width: 100%; margin-bottom: 14px; }
.page-banner { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 22px; padding: 34px 22px; background-size: cover; background-position: center 40%; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 7, 14, .93), rgba(3, 7, 14, .55) 60%, rgba(3, 7, 14, .15)); }
.page-banner > * { position: relative; }
.page-banner p { color: #d5e3f3; max-width: 560px; margin: 0; }
.photo-credits { margin-top: 8px; font-size: .78rem; opacity: .85; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; }
.hero-tag img { width: 36px; height: 36px; border-radius: 50%; }
.cat-photo .cat-body p { color: #d5e3f3; margin: 0; }
.footer-mascot { width: 88px; height: 88px; border-radius: 22px; margin-bottom: 12px; }

/* Floating axolotl helper */
.buddy { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.buddy[hidden], .buddy-bubble[hidden] { display: none; }
.buddy > * { pointer-events: auto; }
.buddy-in { animation: buddy-pop .45s ease-out; }
.buddy-btn { position: relative; width: 72px; height: 72px; padding: 0; border-radius: 50%; border: 2px solid rgba(46, 230, 214, .55); background: var(--bg-2); cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .45), 0 0 0 6px rgba(46, 230, 214, .08); animation: buddy-swim 10s ease-in-out infinite; }
.buddy-btn img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transform: scale(1.3); }
.buddy-btn:hover { border-color: var(--pink); animation-play-state: paused; }
.buddy-btn::before, .buddy-btn::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(159, 230, 255, .5); background: rgba(46, 230, 214, .08); animation: buddy-bubble 3.2s ease-in infinite; }
.buddy-btn::before { width: 9px; height: 9px; top: -4px; left: 8px; }
.buddy-btn::after { width: 6px; height: 6px; top: -2px; left: 22px; animation-delay: 1.4s; }
.buddy-bubble { position: relative; max-width: 270px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px 16px 4px 16px; padding: 12px 34px 12px 14px; box-shadow: var(--shadow); font-size: .92rem; }
.buddy-bubble p { margin: 0 0 6px; }
.buddy-close { position: absolute; top: 2px; right: 4px; background: none; border: 0; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 6px 8px; }
.buddy-close:hover { color: var(--text); }
@keyframes buddy-swim { 0%, 100% { transform: translate(0, 0) rotate(0); } 20% { transform: translate(-22px, -12px) rotate(-7deg); } 45% { transform: translate(-6px, -22px) rotate(4deg); } 70% { transform: translate(-30px, -6px) rotate(-4deg); } 85% { transform: translate(-10px, 2px) rotate(2deg); } }
@keyframes buddy-bubble { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-34px); opacity: 0; } }
@keyframes buddy-pop { from { opacity: 0; transform: translateY(20px) scale(.85); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .buddy { right: 12px; bottom: 12px; } .buddy-btn { width: 58px; height: 58px; } }
@media (prefers-reduced-motion: reduce) { .buddy-btn, .buddy-btn::before, .buddy-btn::after, .buddy-in { animation: none; } }
@media print { .buddy { display: none !important; } }

/* Lights out: the whole site goes dark, a blue spotlight follows Dolly and she glows (GFP). */
.lights-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-2); color: #9fc3ff; cursor: pointer; }
.lights-btn:hover { color: #6dff5a; border-color: #6dff5a; }
.lights-overlay { position: fixed; inset: 0; z-index: 29; pointer-events: none; opacity: 0; transition: opacity 1.6s ease;
  background: radial-gradient(circle 260px at var(--bx, 85%) var(--by, 85%), rgba(40, 80, 220, .22), rgba(0, 2, 8, .955) 70%); }
body.lights-out .lights-overlay { opacity: 1; pointer-events: auto; cursor: pointer; }
body.lights-out .buddy { z-index: 31; }
.buddy-btn img { transition: filter 1.6s ease; }
body.lights-out .buddy-btn { border-color: rgba(109, 255, 90, .7); background: #020a04; animation-play-state: running;
  box-shadow: 0 0 18px 4px rgba(90, 255, 60, .55), 0 0 60px 14px rgba(60, 255, 40, .25); transition: box-shadow 1.6s ease; }
body.lights-out .buddy-btn img { filter: brightness(.35); }
body.lights-glowing .buddy-btn img { filter: none; }
body.lights-glowing .buddy-btn { animation: buddy-swim 10s ease-in-out infinite, glow-pulse 3s ease-in-out infinite; }
@keyframes glow-pulse { 0%, 100% { box-shadow: 0 0 18px 4px rgba(90, 255, 60, .55), 0 0 60px 14px rgba(60, 255, 40, .25); } 50% { box-shadow: 0 0 26px 8px rgba(90, 255, 60, .75), 0 0 90px 24px rgba(60, 255, 40, .35); } }
body.lights-out .buddy-bubble { background: #050d1c; border-color: rgba(109, 255, 90, .45); color: #e8f1fb; }
body.lights-out .buddy-bubble a { color: #8dff70; }
.buddy-action { margin-top: 8px; }
.buddy-action[hidden] { display: none; }
/* GFP axolotl cards glow through the dark: main is lifted over the site overlay and gets its own dark layer underneath them. */
main::after { content: ""; position: fixed; inset: 0; z-index: 5; opacity: 0; pointer-events: none; transition: opacity 1.6s ease;
  background: radial-gradient(circle 260px at var(--bx, 85%) var(--by, 85%), rgba(40, 80, 220, .22), rgba(0, 2, 8, .955) 70%); }
body.lights-out main { z-index: 30; }
body.lights-out main::after { opacity: 1; pointer-events: auto; cursor: pointer; }
body.lights-out .gfp-card { position: relative; z-index: 6; }
.gfp-card .product-card, .gfp-card .thumb { transition: box-shadow 1.8s ease, border-color 1.8s ease, filter 1.8s ease, background 1.8s ease; }
.glow-tag { position: absolute; right: 8px; top: 8px; padding: 2px 10px; border-radius: 99px; font-size: .75rem; font-weight: 800; color: #062b06; background: #8dff70;
  box-shadow: 0 0 12px rgba(109, 255, 90, .8); opacity: 0; transition: opacity 1.2s ease 1.2s; }
body.lights-glowing .gfp-card .glow-tag { opacity: 1; }
body.lights-glowing .gfp-card .product-card { background: #020a05; border-color: rgba(109, 255, 90, calc(.35 + .5 * var(--glow)));
  box-shadow: 0 0 calc(10px + 34px * var(--glow)) calc(2px + 6px * var(--glow)) rgba(80, 255, 60, calc(.25 + .45 * var(--glow))); animation: card-glow 3.2s ease-in-out infinite; }
body.lights-glowing .gfp-card .thumb { filter: grayscale(1) sepia(1) hue-rotate(58deg) saturate(calc(3 + 4 * var(--glow))) brightness(calc(.55 + .6 * var(--glow))) contrast(1.15); }
@keyframes card-glow { 50% { box-shadow: 0 0 calc(16px + 44px * var(--glow)) calc(4px + 8px * var(--glow)) rgba(80, 255, 60, calc(.3 + .5 * var(--glow))); } }
@media (prefers-reduced-motion: reduce) { .lights-overlay, .buddy-btn img, main::after { transition: none; } body.lights-glowing .buddy-btn, body.lights-glowing .gfp-card .product-card { animation: none; } }

/* Badges & notices */
.badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; border: 1px solid var(--line); background: var(--panel-2); color: var(--muted); }
.badge-ok { color: var(--ok); border-color: rgba(70, 217, 154, .4); }
.badge-warn { color: var(--warn); border-color: rgba(255, 200, 87, .45); }
.badge-danger { color: var(--danger); border-color: rgba(255, 107, 122, .5); }
.badge-info { color: var(--blue); border-color: rgba(47, 155, 255, .45); }
.badge-pink { color: var(--pink); border-color: rgba(255, 126, 182, .45); }
.notice { border-radius: 12px; padding: 12px 16px; border: 1px solid var(--line); background: var(--panel); }
.notice-warn { border-color: rgba(255, 200, 87, .55); background: rgba(255, 200, 87, .07); }
.notice-error { border-color: rgba(255, 107, 122, .6); background: rgba(255, 107, 122, .08); }
.notice-success { border-color: rgba(70, 217, 154, .55); background: rgba(70, 217, 154, .08); }
.notice-info { border-color: rgba(47, 155, 255, .5); background: rgba(47, 155, 255, .07); }
.flash-wrap { margin-top: 16px; }

/* Forms */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .label { font-weight: 600; font-size: .95rem; }
.field-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=datetime-local], input[type=search], input[type=tel], input[type=file], select, textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: #071226; color: var(--text); font: inherit; min-height: 44px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--turq); outline: none; box-shadow: 0 0 0 3px rgba(46, 230, 214, .25); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--turq); flex: none; }
.hint { font-size: .85rem; color: var(--muted); }
.inline-form { display: inline; }
.hp { position: absolute; left: -10000px; }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 0; }
legend { padding: 0 6px; font-weight: 700; }
.radio-card { display: flex; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.radio-card input { accent-color: var(--turq); width: 20px; height: 20px; margin-top: 3px; }
.radio-card.disabled { opacity: .6; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { background: var(--panel-2); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; }
dl.specs { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
dl.specs dt { color: var(--muted); }
dl.specs dd { margin: 0; font-weight: 600; }

/* Content pages */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }

/* Footer */
.site-footer { margin-top: 60px; border-top: 1px solid var(--line); background: rgba(3, 7, 14, .8); padding: 36px 0; color: var(--muted); font-size: .92rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--turq); }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }

/* Admin */
.admin-shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
.admin-nav { background: #040913; border-right: 1px solid var(--line); padding: 16px; }
.admin-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.admin-nav a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .93rem; }
.admin-nav a:hover, .admin-nav a[aria-current="page"] { background: var(--panel-2); color: var(--turq); }
.admin-nav .group { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; margin: 12px 0 4px; width: 100%; }
.admin-main { padding: 20px 16px 60px; min-width: 0; }
@media (min-width: 980px) {
  .admin-shell { grid-template-columns: 230px 1fr; }
  .admin-nav ul { flex-direction: column; flex-wrap: nowrap; }
  .admin-main { padding: 28px 32px 60px; }
}
.page-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.page-head h1 { margin: 0; font-size: 1.6rem; }
.stat-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.stat .v { font-size: 1.5rem; font-weight: 800; }
.stat .k { color: var(--muted); font-size: .85rem; }
.check-ok::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.check-no::before { content: "✗ "; color: var(--danger); font-weight: 800; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .88rem; word-break: break-all; }
details > summary { cursor: pointer; font-weight: 700; }

@media print {
  body { background: #fff; color: #000; }
  body::before, .site-header, .site-footer, .no-print { display: none !important; }
  .table th { background: #eee; color: #000; }
  .table, .table th, .table td { border-color: #999; }
}

/* Roaming Dolly */
.buddy.buddy-roam { left: 0; top: 0; right: auto; bottom: auto; display: block; transition: transform 7s cubic-bezier(.45, .05, .55, .95); will-change: transform; }
.buddy.buddy-roam.buddy-in { animation: none; }
.buddy-roam .buddy-bubble { position: absolute; bottom: calc(100% + 10px); right: 0; width: 270px; max-width: calc(100vw - 32px); }
.buddy-roam.buddy-left .buddy-bubble { right: auto; left: 0; }
.buddy-roam.buddy-high .buddy-bubble { bottom: auto; top: calc(100% + 10px); }
.buddy-btn img { transition: transform .6s ease; }

/* Content pages: article + side list; stack on phones */
.content-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 860px) { .content-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); } }
.prose { overflow-wrap: anywhere; }
.prose img, .prose table { max-width: 100%; }

/* Checkout address suggestions */
.addr-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin: 4px 0 0; padding: 4px; list-style: none;
  background: var(--panel, #0f2340); border: 1px solid var(--line, #2a4466); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.addr-list li { padding: 9px 10px; border-radius: 7px; cursor: pointer; font-size: .95rem; }
.addr-list li:hover, .addr-list li.active { background: rgba(47,191,177,.18); }
.addr-list::after { content: "powered by Google"; display: block; text-align: right; font-size: .7rem; opacity: .6; padding: 2px 6px 0; }

/* Videos (homepage strip + /videos) and footer social links */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.video-card { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #0a1628; color: #fff; text-decoration: none; }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.video-card:hover img { transform: scale(1.04); }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(242,85,122,.92); display: grid; place-items: center; font-size: 1.3rem; }
.video-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 10px; font-weight: 700; font-size: .92rem; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }

/* Illustration label on AI morph images */
.img-tag { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; font-size: .72rem; background: rgba(10,22,40,.75); color: #fff; }

/* Hover zoom without the crisp/blurry flicker: keep these on their own GPU layer at all times so the
   browser doesn't re-rasterize the image when the transition starts and ends. */
.product-card, .cat-card, .product-card .thumb, .cat-photo img, .video-card img {
  will-change: transform; backface-visibility: hidden; transform: translateZ(0);
}
.card-link:hover .cat-card, .card-link:hover .product-card { transform: translate3d(0, -3px, 0); }
.card-link:hover .cat-photo img { transform: translateZ(0) scale(1.05); }
.card-link:hover .product-card .thumb { transform: translateZ(0) scale(1.03); }
.video-card:hover img { transform: translateZ(0) scale(1.04); }
/* custom tee preview */
.tee-preview canvas { width: 100%; height: auto; display: block; border-radius: 12px; }

/* Tee cards: zoom onto the chest print so the design reads at card size */
.product-card .thumb-zoom { aspect-ratio: 4/3; overflow: hidden; border-radius: 10px; margin-bottom: 12px; background: var(--bg-2); }
.product-card .thumb-zoom .thumb { margin: 0; border-radius: 0; height: 100%; transform: translateZ(0) scale(1.5); transform-origin: 50% 30%; }
.card-link:hover .product-card .thumb-zoom .thumb { transform: translateZ(0) scale(1.56); }
/* Morph page prev/next */
.morph-cycle { gap: 8px; align-items: center; }
/* Share buttons */
.share-buttons .share-title { margin: 0 0 8px; }
.share-buttons .btn { white-space: nowrap; }

/* Sex symbols with explanation on hover / tap / focus (partials/sex_badge.php) */
.sexb { position: relative; display: inline-flex; align-items: center; gap: 5px; cursor: help; white-space: nowrap; }
.sexb-sym { display: inline-flex; align-items: center; justify-content: center; width: 1.45em; height: 1.45em; border-radius: 50%; font-weight: 800; line-height: 1; border: 1px solid currentColor; }
.sexb-male { color: #5cb8ff; }
.sexb-female { color: var(--pink, #ff7eb6); }
.sexb-unknown { color: var(--muted, #9fb6d2); }
.sexb-txt { color: var(--text, #e8f1fb); font-weight: 600; }
.sexb::after { content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 8px); z-index: 30; width: max-content; max-width: 260px; white-space: normal;
  padding: 8px 10px; border-radius: 10px; background: #050b16; border: 1px solid var(--line, #1f3d66); color: var(--text, #e8f1fb); font-size: .8rem; font-weight: 400; line-height: 1.4;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .12s, transform .12s; }
.sexb:hover::after, .sexb:focus::after, .sexb:focus-visible::after { opacity: 1; transform: none; }
.sexb:focus-visible { outline: 2px solid var(--turq, #2ee6d6); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .sexb::after { transition: none; } }
