/* Colour scheme sampled from images/logo.png (logo 2 trasparent.png) */
:root {
  --bg: #0b1210;          /* near-black green, behind the metal */
  --surface: #141c1a;     /* dark gunmetal */
  --surface-2: #202f2a;   /* metal mid-tone */
  --border: #35423e;      /* metal edge */
  --text: #e4f3f0;
  --muted: #8fa9a2;       /* lifted from #597d73 for readability */
  --accent: #25e2d2;      /* neon cyan glow */
  --accent-soft: #62e8dc;
  --accent-light: #b3f3ed;/* "PEPTIDES" highlight */
  --accent-deep: #1d927f; /* deep teal */
  --accent-dark: #195d4f;
  --glow: 0 0 18px rgba(37, 226, 210, 0.45);
  --radius: 14px;
  --max-width: 1200px;
  --display: "Orbitron", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
body.cart-open { overflow: hidden; }
a { color: var(--accent-soft); }
img, svg { max-width: 100%; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: 0.04em; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--text); text-transform: uppercase; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 0.85rem; word-break: break-all; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
.section { padding-top: 72px; padding-bottom: 72px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; gap: 16px; }
.section-head a { text-decoration: none; font-weight: 600; }

/* ---------- Chrome ---------- */
.ruo-bar { background: var(--accent-dark); color: var(--accent-light); text-align: center; font-size: 0.78rem; padding: 6px 16px; letter-spacing: 0.02em; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(11, 18, 16, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); text-decoration: none; margin-right: auto; white-space: nowrap; }
.logo img { height: 42px; width: auto; filter: drop-shadow(0 0 6px rgba(37, 226, 210, 0.4)); }
.logo span { color: var(--accent); }
nav { display: flex; gap: 24px; }
nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
nav a:hover, nav a[aria-current] { color: var(--accent); }
.cart-btn { position: relative; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; display: grid; place-items: center; }
.cart-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-count[hidden] { display: none; }
.cart-count { position: absolute; top: -7px; right: -7px; background: var(--accent); color: var(--bg); font-size: 0.7rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; box-shadow: var(--glow); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border: 0; background: var(--accent); color: var(--bg); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.85rem; text-decoration: none; border-radius: 8px; box-shadow: var(--glow); transition: background 0.2s, box-shadow 0.2s, transform 0.2s; }
.btn:hover { background: var(--accent-light); box-shadow: 0 0 30px rgba(37, 226, 210, 0.7); transform: translateY(-1px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); box-shadow: none; }
.btn-ghost:hover { background: rgba(37, 226, 210, 0.1); color: var(--accent-light); }
.btn-sm { padding: 8px 16px; font-size: 0.75rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; border-bottom: 1px solid var(--border);
  background: url("../images/molecules.svg") center / cover no-repeat,
    radial-gradient(ellipse at 70% 50%, rgba(37, 226, 210, 0.22), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-logo { width: min(420px, 100%); margin-bottom: 8px; filter: drop-shadow(0 0 30px rgba(37, 226, 210, 0.25)); }
.hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); text-transform: uppercase; margin-bottom: 16px; }
.hero h1 span { color: var(--accent); text-shadow: 0 0 24px rgba(37, 226, 210, 0.55); }
.hero p { color: var(--muted); font-size: 1.08rem; max-width: 34em; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-vials { display: flex; justify-content: center; align-items: flex-end; }
.hero-vials .vial { width: 33%; max-width: 220px; animation: float 6s ease-in-out infinite; }
.hero-vials .vial:nth-child(2) { width: 40%; max-width: 270px; margin: 0 -4%; z-index: 1; animation-delay: -2s; }
.hero-vials .vial:nth-child(3) { animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-14px); } }

.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--border); text-align: center;
  background: url("../images/molecules.svg") center / cover, radial-gradient(ellipse at 50% 0%, rgba(37, 226, 210, 0.18), transparent 60%), var(--surface); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); text-transform: uppercase; }
.page-hero p { color: var(--muted); margin-top: 8px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.trust-grid div { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; }
.trust svg { grid-row: span 2; width: 36px; height: 36px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(37, 226, 210, 0.5)); }
.trust strong { font-size: 0.95rem; }
.trust span { color: var(--muted); font-size: 0.82rem; }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; }
.card:hover { border-color: var(--accent-deep); transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(37, 226, 210, 0.15); }
.card-media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 60%, rgba(37, 226, 210, 0.16), transparent 62%), url("../images/molecules.svg") center / 260% no-repeat, var(--bg); }
.card-media .vial { height: 88%; transition: transform 0.35s; }
.card:hover .card-media .vial { transform: scale(1.06) rotate(-2deg); }
.badge { position: absolute; top: 12px; left: 12px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c); border: 1px solid var(--c); background: rgba(11, 18, 16, 0.75); padding: 3px 9px; border-radius: 99px; }
.pd-info .badge { position: static; display: inline-block; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.02rem; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.aka { color: var(--muted); font-size: 0.85rem; }
.seq-mini { font-family: var(--mono); font-size: 0.72rem; color: var(--accent-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 10px 0; opacity: 0.85; }
.mini-specs { display: flex; gap: 18px; font-size: 0.8rem; margin-bottom: 14px; }
.mini-specs dt { color: var(--muted); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.price { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--accent-light); }
.price.sold { font-size: 0.9rem; color: var(--muted); }
.price small { font-family: var(--body); color: var(--muted); font-size: 0.72rem; font-weight: 500; }
.was { font-family: var(--body); font-size: 0.72em; font-weight: 500; color: var(--muted); text-shadow: none; }
.sale-tag { font-family: var(--body); font-size: 0.8rem; font-weight: 700; vertical-align: middle; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: #0b1210; text-shadow: none; }

.vial-photo { display: block; width: auto; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45)); }
.hero-vials .vial-photo { height: auto; }

/* ---------- Vial strip (marquee) ---------- */
.vial-strip { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(90deg, var(--bg), var(--surface) 50%, var(--bg)); padding: 22px 0; }
.strip-track { display: flex; gap: 20px; width: max-content; animation: marquee 70s linear infinite; }
.vial-strip:hover .strip-track { animation-play-state: paused; }
.strip-track a { display: grid; justify-items: center; width: 110px; color: var(--muted); text-decoration: none; font-size: 0.75rem; font-weight: 600; }
.strip-track a:hover { color: var(--accent); }
.strip-track .vial { height: 140px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Class cards ---------- */
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.class-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); text-decoration: none; color: var(--text); background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--c) 28%, transparent), transparent 65%), url("../images/molecules.svg") center / 220%, var(--surface); transition: border-color 0.25s, transform 0.25s; }
.class-card:hover { border-color: var(--c); transform: translateY(-4px); }
.class-art { display: flex; justify-content: center; align-items: flex-end; height: 240px; padding-top: 20px; }
.class-art .vial { height: 200px; width: auto; margin: 0 -18px; }
.class-art .vial:nth-child(2) { height: 220px; z-index: 1; }
.class-text { padding: 18px 20px 22px; background: linear-gradient(0deg, var(--bg), transparent); }
.class-text h3 { font-size: 1.2rem; text-transform: uppercase; }
.class-text p { color: var(--muted); font-size: 0.9rem; }
.class-text span { color: var(--c); font-weight: 700; font-size: 0.85rem; }

/* ---------- Showcase ---------- */
.showcase { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 72px 0; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.showcase h2 { margin-bottom: 16px; }
.showcase p { color: var(--muted); margin-bottom: 16px; }
.showcase-art { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: inset 0 0 60px rgba(37, 226, 210, 0.06); }

/* ---------- Structure diagram ---------- */
.chain { width: 100%; height: auto; font-family: var(--body); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 0.8rem; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }

/* ---------- FAQ / contact ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; }
.faq details[open] { border-color: var(--accent-deep); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin-top: 10px; }
.contact { padding-top: 0; }
.contact h2 { margin-bottom: 8px; }
.contact p { color: var(--muted); }

/* ---------- Shop toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--surface); color: var(--muted); border: 1px solid var(--border); border-radius: 99px; padding: 8px 16px; font-weight: 600; font-size: 0.85rem; }
.chip:hover { color: var(--text); }
.chip.active { background: var(--accent); color: var(--bg); border-color: var(--accent); box-shadow: var(--glow); }
.tools { display: flex; gap: 10px; flex-wrap: wrap; }
.tools input, .tools select { background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; font: inherit; font-size: 0.9rem; }
.tools input { width: 260px; max-width: 100%; }
.tools input:focus, .tools select:focus { outline: none; border-color: var(--accent); }
#count { margin-bottom: 18px; font-size: 0.85rem; }
.empty { color: var(--muted); padding: 24px 0; }

/* ---------- Product page ---------- */
.crumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: 24px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.stage { aspect-ratio: 1 / 1; display: grid; place-items: center; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden;
  background: radial-gradient(circle at 50% 60%, rgba(37, 226, 210, 0.2), transparent 60%), url("../images/molecules.svg") center / 180%, var(--bg); }
.stage > .vial { height: 86%; }
.stage .pair { display: flex; justify-content: center; align-items: flex-end; height: 80%; }
.stage .pair .vial { height: 100%; width: auto; margin: 0 -10px; }
.stage .pair .vial:first-child { height: 84%; }
.stage-chain { width: 100%; padding: 24px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.thumb { aspect-ratio: 1 / 1; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px; overflow: hidden; }
.thumb.active, .thumb:hover { border-color: var(--accent); box-shadow: var(--glow); }
.thumb .vial { height: 100%; }
.thumb .pair { display: flex; height: 100%; align-items: flex-end; justify-content: center; }
.thumb .pair .vial { height: 100%; width: auto; margin: 0 -8px; }
.thumb .pair .vial:first-child { height: 84%; }
.pd-info h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 14px 0 4px; }
.pd-price { font-family: var(--display); font-size: 2rem; color: var(--accent); text-shadow: 0 0 18px rgba(37, 226, 210, 0.4); margin: 18px 0 14px; }
.stock-note { font-size: 0.85rem; font-weight: 600; color: var(--accent); margin: -6px 0 16px; }
.stock-note:empty { display: none; }
.stock-note.low { color: #e3c565; }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.size { background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 10px 18px; font-weight: 600; }
.size.out { color: var(--muted); border-style: dashed; }
.size small { font-size: 0.7rem; }
.size.active { border-color: var(--accent); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.buy { display: flex; gap: 12px; margin-bottom: 28px; }
.buy .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-top: 6px; }
.qty button { background: var(--surface-2); color: var(--text); border: 0; width: 28px; height: 28px; }
.qty button:hover { color: var(--accent); }
.qty span { min-width: 32px; text-align: center; font-weight: 600; font-size: 0.9rem; }
.qty.big { margin: 0; }
.qty.big button { width: 42px; height: 46px; font-size: 1.1rem; }
.qty.big span { min-width: 40px; }
.specs { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--surface-2); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 500; width: 40%; padding-right: 12px; }
.ruo-note { margin-top: 18px; font-size: 0.8rem; color: var(--accent-light); background: rgba(37, 226, 210, 0.08); border: 1px solid var(--accent-dark); border-radius: 8px; padding: 10px 14px; }
.structure { margin-top: 64px; }
.structure h2, #product > section h2 { margin-bottom: 20px; }
#product > section:last-child { margin-top: 64px; }
.chain-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; overflow-x: auto; }
.chain-wrap .chain { min-width: 560px; }
.hint { color: var(--muted); font-size: 0.8rem; margin-top: 8px; }

/* ---------- Cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.25s; z-index: 40; }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--surface); border-left: 1px solid var(--border); z-index: 50; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.3s ease; }
.cart-open .scrim { opacity: 1; pointer-events: auto; }
.cart-open .cart-drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { font-size: 1.1rem; }
.drawer-head button { background: none; border: 0; color: var(--muted); font-size: 1.2rem; }
#cart-items { list-style: none; flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--surface-2); }
.cart-thumb { height: 72px; background: var(--bg); border-radius: 8px; display: grid; place-items: center; }
.cart-thumb .vial { height: 66px; }
.cart-item a { color: var(--text); text-decoration: none; font-weight: 600; display: block; }
.cart-item small { color: var(--muted); }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--border); display: grid; gap: 12px; }
.drawer-foot .row { display: flex; justify-content: space-between; font-size: 1.05rem; }
.ack { font-size: 0.8rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.ack input { margin-top: 3px; accent-color: var(--accent); }
.note { font-size: 0.82rem; color: var(--accent-light); }
#cart-items[hidden], .checkout-form[hidden] { display: none; }
.checkout-form { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; gap: 12px; align-content: start; }
.checkout-form h3 { font-size: 1rem; }
.checkout-form label { display: grid; gap: 4px; font-size: 0.82rem; color: var(--muted); }
.checkout-form input { background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; font: inherit; font-size: 0.95rem; width: 100%; }
.checkout-form input:focus { outline: none; border-color: var(--accent); }
.checkout-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkout-form select { background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; font: inherit; font-size: 0.95rem; width: 100%; }
.ship-where { font-size: 0.82rem; color: var(--muted); }
.ship-options { border: 0; display: grid; gap: 8px; }
.ship-options legend { font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; }
#ship-options { display: grid; gap: 8px; }
.checkout-form .ship-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 0.92rem; cursor: pointer; }
.ship-option:has(input:checked) { border-color: var(--accent); }
.checkout-form .ship-option input { width: auto; accent-color: var(--accent); }
.ship-option span { flex: 1; }
.ship-option small { display: block; color: var(--muted); font-size: 0.78rem; }
.link-back { background: none; border: 0; padding: 0; color: var(--accent-soft); font: inherit; font-size: 0.85rem; text-align: left; cursor: pointer; }
.shake { animation: shake 0.4s; color: #ff7d95; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 28px; color: var(--muted); font-size: 0.88rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer-logo { width: 220px; }
.site-footer h4 { color: var(--text); font-size: 0.85rem; text-transform: uppercase; margin-bottom: 10px; }
.site-footer a { display: block; color: var(--muted); text-decoration: none; margin-bottom: 6px; }
.site-footer a:hover { color: var(--accent); }
.disclaimer { grid-column: 1 / -1; font-size: 0.78rem; border-top: 1px solid var(--surface-2); padding-top: 20px; }
.copy { grid-column: 1 / -1; font-size: 0.78rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .showcase-grid, .pd-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-logo { margin: 0 auto 8px; display: block; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .class-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header .container { flex-wrap: wrap; row-gap: 6px; }
  nav { order: 3; width: 100%; justify-content: center; gap: 20px; font-size: 0.85rem; }
  .logo { font-size: 0.85rem; }
  .logo img { height: 36px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px; }
  .mini-specs, .seq-mini { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .tools, .tools input { width: 100%; }
  .section { padding-top: 48px; padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Photo vials: pin to the square frame so percentage heights resolve */
.stage, .thumb { position: relative; }
.stage > .vial-photo { position: absolute; inset: 7% 0; height: 86%; width: 100%; }
.stage > .pair { position: absolute; inset: 10% 0; height: 80%; }
.thumb > .vial-photo { position: absolute; inset: 8px; height: calc(100% - 16px); width: calc(100% - 16px); }
.thumb > .pair { position: absolute; inset: 8px; height: calc(100% - 16px); }
