:root {
  color-scheme: dark;
  --ink: #f7f9fc;
  --muted: #a8b0bf;
  --line: rgba(255, 255, 255, 0.13);
  --surface: #101620;
  --canvas: #070b11;
  --blue: #73afff;
  --blue-bright: #208cff;
  --orange: #ff8a3d;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 4%, rgba(32, 140, 255, .13), transparent 28rem),
    var(--canvas);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.site-header {
  position: relative;
  z-index: 10;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .72rem; font: 700 1.12rem/1 "Space Grotesk", sans-serif; letter-spacing: -.02em; }
.brand-mark {
  display: block;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
}
nav { display: flex; gap: 2rem; color: var(--muted); font-size: .9rem; }
nav a, .header-cta { transition: color .2s ease, transform .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--ink); }
nav a.active { color: var(--ink); }
.header-cta { color: var(--blue); font-weight: 800; font-size: .9rem; }
.header-cta:hover { color: #acd0ff; transform: translateY(-1px); }

main { overflow: hidden; }
.hero {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: 4.4rem 0 5.2rem;
}
.eyebrow { margin: 0 0 1.1rem; display: flex; align-items: center; gap: .65rem; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: 1.7rem; height: 1px; background: currentColor; }
h1, h2, h3 { margin: 0; font-family: "Space Grotesk", sans-serif; line-height: 1.04; letter-spacing: -.045em; }
h1 { max-width: 670px; font-size: clamp(3.45rem, 6.4vw, 6.3rem); font-weight: 600; }
h1 em { color: var(--blue); font-style: normal; }
.hero-text { max-width: 590px; margin: 1.7rem 0 1.9rem; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .8rem 1.15rem; border: 1px solid transparent; border-radius: .8rem; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible { outline: 3px solid rgba(115,175,255,.65); outline-offset: 3px; }
.button-primary { background: var(--blue-bright); color: white; box-shadow: 0 14px 34px rgba(32,140,255,.2); }
.button-primary:hover { background: #42a0ff; }
.button-secondary { background: transparent; border-color: var(--line); color: var(--muted); }
.button-secondary:hover { border-color: rgba(255,255,255,.3); color: var(--ink); }
.trust-list { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; margin: 1.8rem 0 0; padding: 0; list-style: none; color: #c8ced8; font-size: .78rem; }
.trust-list li::before { content: "·"; margin-right: .5rem; color: var(--orange); }

.hero-visual { position: relative; min-height: 500px; }
.hero-image {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, transparent 55%, rgba(7,11,17,.72)),
    url("./assets/hero-phones-v2.png") center / cover no-repeat;
  box-shadow: 0 35px 90px rgba(0,0,0,.32);
  overflow: hidden;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,11,17,.22), transparent 35%);
}
.floating-note { position: absolute; left: -2rem; bottom: 2rem; width: min(290px, 74%); padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(10,15,23,.91); backdrop-filter: blur(18px); box-shadow: 0 20px 55px rgba(0,0,0,.35); }
.floating-note span { display: block; color: var(--orange); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.floating-note strong { display: block; margin-top: .28rem; font-family: "Space Grotesk", sans-serif; font-size: 1.02rem; line-height: 1.35; }

.profiles, .criteria { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 7rem 0; }
.profiles { border-top: 1px solid var(--line); }
.section-heading { max-width: 790px; margin-bottom: 3rem; }
.section-heading h2, .criteria-intro h2, .about h2, .decision-band h2 { font-size: clamp(2.55rem, 5vw, 4.8rem); font-weight: 600; }
.section-heading > p:last-child, .criteria-intro > p:last-child { max-width: 630px; color: var(--muted); font-size: 1.05rem; }
.profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.profile-card { position: relative; min-height: 390px; padding: 1.8rem; border: 1px solid var(--line); border-radius: 1.25rem; background: linear-gradient(145deg, rgba(21,29,41,.94), rgba(12,17,25,.96)); overflow: hidden; }
.profile-card::after { content: ""; position: absolute; right: -5rem; bottom: -7rem; width: 15rem; aspect-ratio: 1; border-radius: 50%; background: rgba(32,140,255,.08); filter: blur(8px); }
.featured-profile { border-color: rgba(115,175,255,.42); background: linear-gradient(145deg, rgba(25,46,73,.96), rgba(11,17,26,.98)); }
.profile-number { color: #737d8c; font-family: "Space Grotesk", sans-serif; font-size: .78rem; }
.profile-icon { position: absolute; top: 1.25rem; right: 1.25rem; display: grid; place-items: center; width: 2.5rem; aspect-ratio: 1; border: 1px solid var(--line); border-radius: .8rem; color: var(--blue); background: rgba(255,255,255,.03); font-size: 1.15rem; }
.profile-label { margin: 5rem 0 .6rem; color: var(--orange); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.profile-card h3 { max-width: 480px; font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 600; }
.profile-card > p:not(.profile-label) { max-width: 500px; color: var(--muted); }
.profile-card ul { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.profile-card li { padding: .36rem .62rem; border: 1px solid var(--line); border-radius: 999px; color: #c6ced9; background: rgba(7,11,17,.32); font-size: .72rem; }
.catalog-note { margin: 1.5rem 0 0; padding: 1.1rem 1.2rem; border: 1px dashed rgba(115,175,255,.35); border-radius: .9rem; color: var(--muted); font-size: .88rem; }
.catalog-note span { margin-right: .5rem; color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }

.criteria { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(3rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.criteria-intro { position: sticky; top: 3rem; align-self: start; }
.criteria-list { border-top: 1px solid var(--line); }
.criteria-list article { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.25rem; padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.criterion-index { color: var(--orange); font-family: "Space Grotesk", sans-serif; font-size: .78rem; font-weight: 700; }
.criteria-list h3 { font-size: 1.45rem; letter-spacing: -.03em; }
.criteria-list p { margin: .55rem 0 0; color: var(--muted); }

.decision-band { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto 7rem; padding: clamp(2rem, 5vw, 4rem); border: 1px solid rgba(115,175,255,.28); border-radius: 1.5rem; background: linear-gradient(115deg, #0d1a2a, #101620 60%, #201713); }
.decision-band p { margin: 0 0 .35rem; color: var(--blue); font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.decision-band h2 { max-width: 900px; }
.decision-band a { display: inline-flex; gap: .5rem; margin-top: 2rem; color: var(--orange); font-weight: 800; }

.about { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; padding: 7rem max(1rem, calc((100vw - var(--max))/2)); background: var(--blue-bright); color: white; }
.about-label { font-size: .75rem; font-weight: 800; letter-spacing: .14em; }
.about > div { max-width: 790px; }
.about > div p { max-width: 680px; font-size: 1.05rem; color: rgba(255,255,255,.78); }
footer { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 3rem 0; display: grid; grid-template-columns: .7fr .6fr 1.4fr; gap: 2rem; align-items: start; color: var(--muted); font-size: .78rem; }
.affiliate-disclosure { margin: 0; }

.inner-hero {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 6.5rem 0 4.5rem;
  border-bottom: 1px solid var(--line);
}
.inner-hero h1 { max-width: 960px; }
.inner-hero > p:last-child { max-width: 700px; margin: 1.6rem 0 0; color: var(--muted); font-size: 1.1rem; }
.about-hero { padding-bottom: 6rem; }
.catalog-page { padding-top: 4rem; border-top: 0; }
.catalog-page .profile-card { min-height: 420px; display: flex; flex-direction: column; }
.catalog-page .profile-card ul { margin-bottom: 1.5rem; }
.card-link { position: relative; z-index: 2; display: inline-flex; gap: .5rem; margin-top: auto; color: var(--blue); font-weight: 800; }
.card-link:hover { color: #acd0ff; }
.about-criteria { padding-top: 5rem; }
.market-panel {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto 7rem;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgba(115,175,255,.28);
  border-radius: 1.5rem;
  background: linear-gradient(115deg, #0d1a2a, #101620 60%, #201713);
}
.market-panel h2, .quick-path h2 { font-size: clamp(2.3rem, 4.5vw, 4.2rem); font-weight: 600; }
.market-panel > div > p:last-child { max-width: 640px; color: var(--muted); }
.market-panel .button { flex: 0 0 auto; }
.quick-path {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 6rem 0 7rem;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(2rem, 7vw, 7rem);
  border-top: 1px solid var(--line);
}
.quick-path ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.quick-path li { display: grid; grid-template-columns: 2.7rem 1fr; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.quick-path li > span { grid-row: span 2; color: var(--orange); font: 700 .76rem/1.6 "Space Grotesk", sans-serif; }
.quick-path strong { font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; }
.quick-path li p { margin: .3rem 0 0; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 4rem; }
  .hero-visual { min-height: 440px; margin-left: 1.5rem; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-card { min-height: 340px; }
  .criteria { grid-template-columns: 1fr; }
  .criteria-intro { position: static; }
  .about { grid-template-columns: 1fr; }
  .market-panel { align-items: stretch; flex-direction: column; }
  .market-panel .button { width: 100%; }
  .quick-path { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-header { min-height: 68px; }
  .header-cta { font-size: 0; }
  .header-cta span { font-size: 1.2rem; }
  .hero { padding: 3.5rem 0 4.5rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 390px; margin-left: 0; }
  .hero-image { background-position: 57% center; }
  .floating-note { left: .8rem; bottom: .8rem; }
  .profiles, .criteria { padding: 5rem 0; }
  .profile-card { min-height: 375px; }
  .criteria-list article { grid-template-columns: 2.4rem 1fr; }
  .decision-band { margin-bottom: 5rem; }
  .about { padding-top: 5rem; padding-bottom: 5rem; }
  .inner-hero { padding: 4.5rem 0 3.5rem; }
  .market-panel { margin-bottom: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Product catalog — the original Meistercell palette and type system. */
[hidden] { display: none !important; }
.checkout-dialog { width: min(1080px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 1.2rem; }
.checkout-dialog::backdrop { background: rgba(0, 0, 0, .8); backdrop-filter: blur(8px); }
.checkout-layout { display: grid; grid-template-columns: .8fr 1.2fr; }
.checkout-summary { padding: 2.5rem; background: linear-gradient(150deg, #10233a, #070b11 85%); }
.checkout-summary h2 { margin: 1.2rem 0; font-size: 2.4rem; }
.checkout-summary h3 { font-size: 1.4rem; line-height: 1.25; }
.checkout-summary > p:not(.eyebrow) { color: var(--muted); }
.checkout-photo { display: block; width: 100%; height: auto; max-height: 230px; object-fit: contain; margin-bottom: 1.4rem; border-radius: .8rem; }
.test-badge { display: inline-block; color: #ffc496; border: 1px solid #9e602e; background: #352318; border-radius: .35rem; padding: .25rem .55rem; font-size: .75rem; letter-spacing: .06em; font-weight: 800; }
.checkout-total { border-top: 1px solid var(--line); margin: 1.5rem 0; padding-top: 1rem; }
.checkout-total > div { display: flex; justify-content: space-between; gap: .8rem; margin-bottom: .65rem; }
.checkout-total dt { color: var(--muted); font-size: .875rem; }
.checkout-total dd { margin: 0; white-space: nowrap; font-weight: 700; }
.checkout-fineprint { color: var(--muted); font-size: .875rem; line-height: 1.55; }
.checkout-payment { min-width: 0; padding: 3.8rem 2rem 2rem; }
.checkout-payment h3 { font-size: 1.9rem; }
.checkout-intro { font-size: .9375rem; color: var(--muted); }
.test-instructions { padding: .9rem 1rem; border: 1px solid var(--line); border-radius: .7rem; font-size: .875rem; }
.test-instructions summary { cursor: pointer; color: var(--blue); font-weight: 700; }
.test-instructions p { overflow-wrap: anywhere; }
.checkout-feedback { min-height: 1.5em; font-size: .9375rem; color: var(--blue); }
.checkout-feedback.is-error { color: #ffbc9b; }
.checkout-back { width: 100%; margin-top: 1rem; }
.checkout-provider-card { display: flex; align-items: center; gap: 1rem; border: 1px solid var(--line); border-radius: .9rem; padding: 1.2rem; margin: 1.8rem 0; background: linear-gradient(135deg, #11243b, #0b111b); }
.checkout-provider-symbol { color: var(--blue); font-size: 3rem; line-height: 1; }
.checkout-provider-card p { color: var(--muted); font-size: .875rem; margin: .35rem 0 0; }
.checkout-steps { padding-left: 1.3rem; color: var(--muted); font-size: .9375rem; }
.checkout-steps li { margin-bottom: .7rem; padding-left: .25rem; }
.checkout-payment button:disabled { cursor: not-allowed; opacity: .6; }
.test-site-notice { margin: 0; padding: .65rem 1rem; background: #1c1a19; color: #e6bd98; border-bottom: 1px solid #55402d; text-align: center; font-size: .875rem; }
.checkout-recovery { width: min(calc(100% - 2rem), var(--max)); margin: 1rem auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .75rem; }
.checkout-recovery-message { flex: 1 1 260px; margin: 0; color: var(--muted); font-size: .875rem; }
.checkout-recovery-message:empty { display: none; }
.checkout-resume { min-height: 42px; padding: .55rem .8rem; color: var(--blue); font-size: .8125rem; }
.checkout-resume:disabled { cursor: wait; opacity: .6; }
@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { padding: 2rem 1.5rem 1rem; }
  .checkout-photo { height: 150px; }
  .checkout-payment { padding: 1.5rem; }
}
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.catalog-hero, .category-nav, .catalog-section, .catalog-preparation, .home-products {
  width: min(calc(100% - 2rem), var(--max)); margin-left: auto; margin-right: auto;
}
.catalog-hero { padding: 4.5rem 0 2.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.catalog-hero h1 { max-width: 790px; font-size: clamp(3rem, 6vw, 5.4rem); }
.catalog-hero h1 em { display: block; }
.catalog-hero > div > p:last-child { margin: 1.25rem 0 0; color: var(--muted); font-size: 1.1rem; }
.catalog-summary { display: flex; gap: .9rem; align-items: center; padding-bottom: .4rem; white-space: nowrap; }
.catalog-summary strong { font: 500 4.1rem/1 "Space Grotesk", sans-serif; letter-spacing: -.07em; color: var(--blue); }
.catalog-summary span { font-size: .875rem; line-height: 1.5; color: var(--muted); }
.catalog-preparation { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: .8rem; background: rgba(16,22,32,.75); font-size: .875rem; color: var(--muted); }
.catalog-preparation p { margin: 0; }
.catalog-preparation strong { color: var(--ink); font-weight: 600; }
.pending-marker { flex: 0 0 6px; width: 6px; height: 6px; margin-top: .6rem; border-radius: 50%; background: var(--orange); }
.category-nav { display: flex; gap: 2rem; padding: 1.65rem 0; border-bottom: 1px solid var(--line); }
.category-nav a { display: flex; align-items: center; gap: .65rem; font-weight: 700; font-size: .9375rem; }
.category-nav a:hover { color: var(--blue); }
.category-nav span { color: var(--muted); font: 500 .75rem/1.5 "Space Grotesk", sans-serif; }
.catalog-section { padding: 3.5rem 0 1rem; scroll-margin-top: 1.5rem; }
.catalog-section + .catalog-section { padding-top: 5rem; }
.catalog-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.8rem; }
.catalog-section-heading .eyebrow { margin-bottom: .7rem; font-size: .8rem; }
.catalog-section-heading h2 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; }
.catalog-section-heading > p { color: var(--muted); font-size: .875rem; margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.product-card { min-width: 0; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: linear-gradient(145deg, #101824, #0d121b); transition: border-color .2s ease, transform .2s ease; }
.product-card:hover { border-color: rgba(115,175,255,.45); transform: translateY(-3px); }
.product-picture { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--surface); aspect-ratio: 1; overflow: hidden; }
.product-picture img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.product-picture:hover img { transform: scale(1.025); }
.image-count { position: absolute; right: .8rem; bottom: .8rem; padding: .25rem .6rem; border-radius: .4rem; border: 1px solid rgba(255,255,255,.18); background: rgba(7,11,17,.8); color: #eef4ff; font-size: .75rem; backdrop-filter: blur(10px); }
.product-info { padding: 1.2rem 1.25rem; }
.product-brand { margin: 0 0 .55rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.product-info h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -.025em; font-weight: 600; }
.product-variant { min-height: 2.8rem; margin: .5rem 0 1.1rem; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.product-price span, .dialog-price > span { display: block; font-size: .75rem; color: var(--muted); }
.product-price strong { display: block; margin-top: .15rem; font: 600 1.55rem/1.3 "Space Grotesk", sans-serif; letter-spacing: -.035em; }
.product-detail-button { display: flex; justify-content: space-between; width: 100%; margin-top: 1.1rem; padding: .9rem 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--blue); font-size: .9375rem; font-weight: 700; }
.product-detail-button span { font-size: 1.15rem; line-height: 1.3; }
.catalog-market { margin-top: 4rem; margin-bottom: 4rem; }
.catalog-market h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.home-products { padding: 4rem 0; border-top: 1px solid var(--line); }
.text-link { color: var(--blue); font-size: .9375rem; white-space: nowrap; font-weight: 700; }
.home-catalog-note { color: var(--muted); font-size: .875rem; margin: 1.3rem 0 0; }
.gallery-open { overflow: hidden; }
.product-dialog { width: min(1060px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; margin: auto; background: #0d141f; color: var(--ink); border: 1px solid rgba(115,175,255,.25); border-radius: 1.2rem; overflow: auto; box-shadow: 0 30px 110px rgba(0,0,0,.55); }
.product-dialog::backdrop { background: rgba(2,5,10,.84); backdrop-filter: blur(9px); }
.dialog-close { position: absolute; top: .85rem; right: .85rem; width: 2.5rem; height: 2.5rem; z-index: 3; padding: 0; display: grid; place-items: center; font-size: 1.8rem; line-height: 1; border: 1px solid var(--line); border-radius: 50%; background: rgba(7,11,17,.9); }
.product-dialog-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); }
.dialog-gallery { padding: 1.1rem; background: rgba(0,0,0,.18); }
.gallery-stage { position: relative; aspect-ratio: 1; border-radius: .6rem; overflow: hidden; background: var(--canvas); }
.gallery-stage > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-arrow { position: absolute; top: calc(50% - 1.25rem); width: 2.5rem; height: 2.5rem; display: grid; place-items: center; padding: 0 0 .15rem; background: rgba(7,11,17,.82); border: 1px solid rgba(255,255,255,.24); border-radius: 50%; font: 400 2rem/1 sans-serif; }
.gallery-arrow.previous { left: .65rem; }
.gallery-arrow.next { right: .65rem; }
.gallery-counter { position: absolute; bottom: .7rem; left: 50%; transform: translateX(-50%); padding: .2rem .6rem; border-radius: .4rem; background: rgba(7,11,17,.85); font-size: .75rem; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .55rem; margin-top: .8rem; }
.gallery-thumb { padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: .45rem; background: var(--canvas); aspect-ratio: 1; opacity: .6; transition: opacity .2s; }
.gallery-thumb[aria-pressed="true"] { opacity: 1; border-color: var(--blue); }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.dialog-info { padding: 3.6rem 2rem 2rem; }
.dialog-info h2 { font-size: clamp(1.8rem,3vw,2.6rem); line-height: 1.1; }
.dialog-variant { color: var(--muted); margin: .8rem 0 1.7rem; }
.dialog-price strong { display: block; font: 500 2.25rem/1.4 "Space Grotesk",sans-serif; letter-spacing: -.045em; }
.price-explanation { margin: .65rem 0 1.7rem; font-size: .875rem; color: var(--muted); }
.listing-pending { display: flex; align-items: flex-start; gap: .65rem; padding: .95rem; border: 1px solid var(--line); border-radius: .6rem; background: rgba(255,255,255,.025); font-size: .875rem; }
.listing-pending p { margin: .3rem 0 0; color: var(--muted); }
.product-disclaimer { margin: 1.4rem 0; padding-top: 1.3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.dialog-profile-link { color: var(--blue); font-size: .875rem; font-weight: 700; }
.gallery-error { position: absolute; inset: 35% 15% auto; padding: 1rem; color: var(--muted); background: var(--surface); border-radius: .6rem; font-size: .875rem; }
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-products .product-card:last-child { grid-column: 1 / -1; max-width: calc(50% - .65rem); }
}
@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; gap: 1rem; padding: 1.2rem 0; }
  .site-header nav { display: flex; order: 3; width: 100%; gap: 1.8rem; }
  .catalog-hero { padding-top: 3rem; }
  .product-dialog-layout { grid-template-columns: 1fr; }
  .dialog-gallery { max-width: 580px; width: 100%; margin: 0 auto; }
  .dialog-info { padding: 1.2rem 1.5rem 2rem; }
}
@media (max-width: 600px) {
  .brand { font-size: .96rem; }
  .catalog-hero { align-items: flex-start; }
  .catalog-summary { display: none; }
  .category-nav { gap: 1rem; flex-wrap: wrap; }
  .category-nav a { font-size: .875rem; }
  .catalog-section-heading { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .product-grid { grid-template-columns: 1fr; }
  .home-products .product-card:last-child { grid-column: auto; max-width: none; }
  .catalog-section + .catalog-section { padding-top: 3.5rem; }
  .product-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
  .catalog-preparation { padding: .9rem; }
}
