/* =========================================================
   Red Rabbit Technology — Product detail pages
   Extends home.css (load home.css first, then product.css)
   ========================================================= */

/* Per-page accent (set via body class) */
body { --accent: var(--coral); --accent-grad: var(--grad-coral); --accent-soft: #fff0ec; }
body.cc { --accent:#ff4d8d; --accent-grad: var(--grad-pink); --accent-soft:#ffeef6; }
body.ic { --accent:#7c4ddb; --accent-grad: var(--grape-grad); --accent-soft:#f1ecff; }
body.sl { --accent:#2b86f0; --accent-grad: var(--sky-grad); --accent-soft:#e8f3ff; }
body.pc { --accent:#e0241c; --accent-grad: var(--grad-coral); --accent-soft:#fff0ec; }
body.jp { --accent:#0fb39a; --accent-grad: var(--mint-grad); --accent-soft:#e6fbf5; }
body.cu { --accent:#ff9e2c; --accent-grad: var(--gold-grad); --accent-soft:#fff4e0; }
body.sn { --accent:#1fb6d6; --accent-grad: linear-gradient(135deg,#5fe0f0,#11a8cf); --accent-soft:#e2f8fd; }

/* ---------- Breadcrumb ---------- */
.crumb { padding: 18px 0 0; }
.crumb a, .crumb span { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.crumb b { color: var(--ink); }

/* ---------- Product hero ---------- */
.p-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, var(--accent-soft), transparent 55%),
    radial-gradient(circle at 90% 80%, #eef4ff, transparent 50%),
    #fff;
}
.p-hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 44px;
  align-items: center;
  padding: 34px 0 64px;
}
.p-hero h1 { font-size: clamp(34px, 4.6vw, 58px); margin-top: 8px; }
.p-hero .lead { margin-top: 18px; max-width: 540px; font-size: clamp(16px,1.7vw,19px); color: var(--ink-soft); }
.p-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.p-badges span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 800; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.p-badges b { color: var(--accent); }
.feat { color: var(--accent); font-weight: 800; }
.p-hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; }
.btn-accent { color:#fff; background: var(--accent-grad); box-shadow: 0 14px 30px rgba(0,0,0,.16); }

.p-hero-visual { position: relative; display: grid; place-items: center; min-height: 440px; }
.p-hero-visual .blob {
  position: absolute; width: 80%; aspect-ratio: 1; border-radius: 46% 54% 58% 42%/52% 44% 56% 48%;
  background: var(--accent-grad); opacity: .9; animation: morph 9s ease-in-out infinite;
  box-shadow: 0 40px 90px rgba(40,22,60,.28);
}
.p-hero-visual img {
  position: relative; z-index: 2; max-height: 460px; max-width: 100%; width: auto;
  background: #fff; border-radius: 26px; padding: 18px;
  box-shadow: 0 30px 60px rgba(40,22,60,.26);
  animation: float 6s ease-in-out infinite;
}

/* floating spec chips */
.spec-chip {
  position: absolute; z-index: 3; display: grid; gap: 2px;
  padding: 11px 15px; background: rgba(255,255,255,.96); border-radius: 15px;
  box-shadow: var(--shadow); font-weight: 800; font-size: 15px;
}
.spec-chip small { color: var(--muted); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing:.04em; }
.spec-chip.s1 { top: 6%; inset-inline-start: -2%; }
.spec-chip.s2 { bottom: 16%; inset-inline-end: -3%; }
.spec-chip.s3 { bottom: 3%; inset-inline-start: 6%; }

/* ---------- Highlight / margin band ---------- */
.p-highlight {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.p-highlight .hl {
  padding: 26px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.p-highlight .hl strong {
  display: block; font-size: clamp(26px,3vw,38px); font-weight: 800;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.p-highlight .hl span { font-size: 14px; color: var(--muted); font-weight: 600; }

/* ---------- Features ---------- */
.p-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p-feature {
  padding: 26px 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.p-feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.p-feature .ic {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  margin-bottom: 15px; color:#fff; background: var(--accent-grad);
}
.p-feature .ic svg { width: 24px; height: 24px; }
.p-feature h3 { font-size: 18px; margin-bottom: 8px; }
.p-feature p { font-size: 14px; color: var(--muted); }

/* ---------- Spec table ---------- */
.p-spec-wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 40px; align-items: center; }
.p-spec-figure {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--accent-soft);
  display: grid; place-items: center; padding: 30px; min-height: 380px;
}
.p-spec-figure img { max-height: 420px; max-width: 100%; width: auto; background:#fff; border-radius:18px; padding:16px; box-shadow: 0 18px 36px rgba(40,22,60,.16); }
.spec-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th {
  text-align: start; width: 42%; padding: 15px 18px; font-size: 13.5px;
  font-weight: 800; color: var(--ink-soft); background: var(--accent-soft);
}
.spec-table td { padding: 15px 18px; font-size: 14.5px; font-weight: 700; color: var(--ink); }

/* ---------- Variants ---------- */
.variant-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ic-models { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; max-width: 820px; margin-inline: auto; }
.variant {
  padding: 22px; border-radius: var(--radius); background:#fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease;
}
.variant:hover { transform: translateY(-4px); border-color: var(--accent); }
.variant .model {
  display:inline-flex; padding: 5px 11px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 12px;
  letter-spacing:.04em; margin-bottom: 12px;
}
.variant h3 { font-size: 17px; margin-bottom: 7px; }
.variant p { font-size: 13.5px; color: var(--muted); }

/* ---------- Model cards (multi-model page) ---------- */
.model-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.model-card {
  display: flex; flex-direction: column; background:#fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.model-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--accent); }
.model-card .mc-media { height: 196px; display: grid; place-items: center; padding: 14px; background: var(--accent-soft); overflow: hidden; }
.model-card .mc-media img { box-sizing: border-box; max-width:100%; max-height:100%; object-fit: contain; background:#fff; border-radius:12px; padding:8px; box-shadow: 0 8px 18px rgba(40,22,60,.1); }
.model-card .mc-body { padding: 16px 18px 20px; display:flex; flex-direction:column; flex:1; }
.model-card .mc-model { font-weight: 800; font-size: 20px; }
.model-card .mc-tier { display:inline-flex; align-self:flex-start; margin:7px 0 10px; padding:5px 11px; border-radius:999px; background:var(--accent-soft); color:var(--accent); font-size:11.5px; font-weight:800; }
.model-card .mc-desc { font-size: 13.5px; color: var(--muted); flex:1; }
.model-card .mc-specs { margin: 13px 0 0; display:grid; gap:0; font-size:12.5px; }
.model-card .mc-specs div { display:flex; justify-content:space-between; gap:8px; border-top:1px solid var(--line); padding:6px 0; }
.model-card .mc-specs span:first-child { color: var(--muted); font-weight:700; }
.model-card .mc-specs span:last-child { font-weight:800; text-align:end; }
.model-card .mc-cta { margin-top: 14px; }
.model-card .mc-cta a { display:flex; width:100%; justify-content:center; min-height:44px; padding:10px 16px; font-size:14px; }
body.cc #models .model-card:nth-child(1) { order: 5; }
body.cc #models .model-card:nth-child(2) { order: 4; }
body.cc #models .model-card:nth-child(3) { order: 3; }
body.cc #models .model-card:nth-child(4) { order: 2; }
body.cc #models .model-card:nth-child(5) { order: 1; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.compare { width:100%; border-collapse: collapse; min-width: 980px; background:#fff; }
.compare.compare-cc { min-width: 1060px; }
.compare th, .compare td { padding: 13px 15px; text-align: start; font-size: 14px; line-height: 1.45; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--accent-grad); color:#fff; font-weight:800; }
.compare thead th:first-child { background: var(--accent-soft); color: var(--accent); }
.compare tbody th { font-weight: 800; color: var(--ink-soft); background: #faf9fd; }
.compare tbody td { font-weight: 700; }
.compare .diff-cell {
  color: var(--accent);
  font-size: 15px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(255, 77, 141, .13), rgba(43, 134, 240, .06));
  box-shadow: inset 4px 0 0 rgba(255, 77, 141, .68);
}
.compare .price-cell {
  color: var(--accent);
  font-size: 17px;
  font-weight: 900;
  background: rgba(255, 238, 246, .62);
}
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare-note { margin: 14px 4px 0; color: var(--muted); font-size: 14px; font-weight: 700; }

/* ---------- Ice cream model comparison ---------- */
.ice-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.ice-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.ice-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: var(--accent-grad);
  color: #fff;
}
.ice-card-head .model {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
}
.ice-card-head .feat {
  color: #fff;
  font-size: 17px;
}
.ice-card dl {
  margin: 0;
}
.ice-card dl div {
  display: grid;
  grid-template-columns: minmax(104px, .82fr) minmax(0, 1.18fr);
  gap: 14px;
  align-items: start;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.ice-card dl div:last-child {
  border-bottom: 0;
}
.ice-card dt {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
}
.ice-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 13.8px;
  font-weight: 800;
  line-height: 1.42;
  overflow-wrap: anywhere;
}
.ice-card .diff-cell {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 74%, #fff);
  border-radius: 10px;
  padding: 7px 9px;
}

/* ---------- Applications ---------- */
.app-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.app-chips span {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 20px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-weight: 700; font-size: 15px;
}
.app-chips i { font-style: normal; font-size: 19px; }

/* ---------- Related ---------- */
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rel-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background:#fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.rel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.rel-media { height: 260px; display: grid; place-items: center; padding: 20px; background: var(--cream); }
.rel-media img { max-width: 92%; max-height: 100%; width: auto; height: auto; object-fit: contain; background:#fff; border-radius:14px; padding:10px; box-shadow: 0 10px 20px rgba(40,22,60,.12); }
.rel-card h3 { font-size: 17px; padding: 16px 20px 4px; }
.rel-card .go { padding: 0 20px 20px; display: inline-flex; gap: 6px; font-weight: 800; color: var(--accent); font-size: 14px; }

/* ---------- Product CTA ---------- */
.p-cta {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, var(--accent-soft), transparent 60%),
    var(--cream);
}
.p-cta h2 { font-size: clamp(28px,3.6vw,44px); }
.p-cta p { margin: 14px auto 0; max-width: 560px; color: var(--ink-soft); font-size: 17px; }
.p-cta .btn { margin-top: 24px; }

/* ---------- Sticky mobile quote bar ---------- */
.quote-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 55;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 18px; background: rgba(255,255,255,.96);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(40,22,60,.1);
  backdrop-filter: blur(12px);
}
.quote-bar .qb-name { font-weight: 800; font-size: 15px; }
.quote-bar .qb-name small { display:block; color: var(--muted); font-weight: 600; font-size: 12px; }

/* ---------- Product-page liquid glass depth ---------- */
.btn-accent {
  border: 1px solid rgba(255,255,255,.42);
  background:
    radial-gradient(circle at 25% 16%, rgba(255,255,255,.28), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.04)),
    var(--accent-grad);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--accent) 32%, transparent), inset 0 1px 0 rgba(255,255,255,.46), inset 0 -14px 28px rgba(40,22,60,.16);
}
.btn-accent:hover {
  box-shadow: 0 30px 64px color-mix(in srgb, var(--accent) 40%, transparent), inset 0 1px 0 rgba(255,255,255,.56), inset 0 -16px 30px rgba(40,22,60,.18);
}
.p-badges span,
.spec-chip,
.p-highlight .hl,
.p-feature,
.variant,
.model-card,
.ice-card,
.rel-card,
.quote-bar {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(255,255,255,.82), rgba(255,255,255,.5)),
    rgba(255,255,255,.66);
  border: 1px solid rgba(255,255,255,.62);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.24);
  backdrop-filter: blur(18px) saturate(1.24);
}
.p-badges span::before,
.spec-chip::before,
.p-highlight .hl::before,
.p-feature::before,
.variant::before,
.model-card::before,
.ice-card::before,
.rel-card::before,
.quote-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 22% 14%, rgba(255,255,255,.66), transparent 30%),
    var(--glass-highlight);
  opacity: .58;
  pointer-events: none;
}
.p-badges span > *,
.spec-chip > *,
.p-highlight .hl > *,
.p-feature > *,
.variant > *,
.model-card > *,
.ice-card > *,
.rel-card > *,
.quote-bar > * {
  position: relative;
  z-index: 1;
}
.p-feature:hover,
.variant:hover,
.model-card:hover,
.rel-card:hover {
  transform: translateY(-8px) rotateX(.8deg);
  box-shadow: var(--glass-shadow-strong);
}
.p-feature .ic,
.step .num,
.value-ic {
  box-shadow: 0 12px 24px color-mix(in srgb, var(--accent) 24%, transparent), inset 0 1px 0 rgba(255,255,255,.42), inset 0 -10px 20px rgba(40,22,60,.16);
}
.p-hero-visual {
  perspective: 1200px;
}
.p-hero-visual img,
.p-spec-figure,
.p-spec-figure img,
.model-card .mc-media,
.model-card .mc-media img,
.rel-media,
.rel-media img {
  border: 1px solid rgba(255,255,255,.68);
  background:
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,255,255,.48)),
    color-mix(in srgb, var(--accent-soft) 72%, #fff);
  box-shadow: 0 24px 54px rgba(40,22,60,.18), inset 0 1px 0 rgba(255,255,255,.88), inset 0 -18px 38px rgba(40,22,60,.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.22);
  backdrop-filter: blur(18px) saturate(1.22);
}
.p-hero-visual img {
  transform: translateZ(28px);
}
.p-hero-visual::before,
.p-spec-figure::before,
.model-card .mc-media::before,
.rel-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background:
    radial-gradient(circle at 26% 14%, rgba(255,255,255,.52), transparent 30%),
    linear-gradient(120deg, rgba(255,255,255,.32), transparent 34%, rgba(255,255,255,.12) 62%, transparent);
  mix-blend-mode: screen;
  opacity: .36;
  pointer-events: none;
}
.p-spec-figure,
.model-card .mc-media,
.rel-media {
  position: relative;
  overflow: hidden;
}
.model-card .mc-media img,
.rel-media img,
.p-spec-figure img {
  position: relative;
  z-index: 1;
}
.model-card:hover .mc-media img,
.rel-card:hover .rel-media img {
  transform: translateY(-5px) scale(1.035);
}
.model-card .mc-media img,
.rel-media img {
  transition: transform .36s ease, box-shadow .36s ease;
}
.quote-bar {
  background:
    linear-gradient(145deg, rgba(255,255,255,.78), rgba(255,255,255,.44)),
    rgba(255,255,255,.72);
  border-top: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 -16px 38px rgba(40,22,60,.14), inset 0 1px 0 rgba(255,255,255,.9);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .p-hero-inner, .p-spec-wrap { grid-template-columns: 1fr; gap: 28px; }
  .p-hero-visual { order: -1; min-height: 360px; }
  .p-features, .p-highlight { grid-template-columns: repeat(2, 1fr); }
  .variant-grid, .model-grid { grid-template-columns: repeat(2, 1fr); }
  .rel-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .p-features, .variant-grid, .ic-models, .model-grid, .rel-grid { grid-template-columns: 1fr; }
  .spec-chip { display: none; }            /* hide floating chips on phones */
  .p-hero-inner { padding: 18px 0 32px; }
  .p-hero-visual { order: -1; min-height: 0; margin-bottom: 6px; }
  .p-hero-visual .blob { width: 64%; }
  .p-hero-visual img { max-height: 320px; }
  .fab { display: none; }
  .quote-bar { display: flex; }
  body { padding-bottom: 76px; }

  /* Cotton-candy hero: balanced phone layout for chips and CTAs. */
  body.cc .p-hero-copy {
    text-align: center;
  }
  body.cc .p-hero h1 {
    font-size: 36px;
    line-height: 1.12;
  }
  body.cc .p-hero .lead {
    margin: 16px auto 0;
    font-size: 16px;
    line-height: 1.7;
  }
  body.cc .p-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
  }
  body.cc .p-badges span {
    justify-content: center;
    min-height: 58px;
    padding: 10px 8px;
    border-radius: 18px;
    text-align: center;
    line-height: 1.18;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 12px 24px rgba(40, 22, 60, .08);
  }
  body.cc .p-badges b,
  body.cc .p-badges span {
    font-size: 14px;
  }
  body.cc .p-hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }
  body.cc .p-hero-cta .btn {
    width: 100%;
    min-height: 54px;
    justify-content: center;
    padding: 14px 18px;
    font-size: 16px;
  }
  body.cc .p-hero-cta .btn-ghost {
    background: rgba(255, 255, 255, .78);
    border-color: rgba(255, 77, 141, .2);
  }

  /* Tighter section rhythm */
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 26px; }

  /* Highlight stats: neat 3-up row */
  .p-highlight { grid-template-columns: repeat(3, 1fr); gap: 9px; }
  .p-highlight .hl { padding: 16px 8px; text-align: center; }
  .p-highlight .hl strong { font-size: 21px; line-height: 1.1; }
  .p-highlight .hl span { font-size: 11px; line-height: 1.25; }

  /* Key features: clean icon-left rows */
  .p-features { gap: 12px; }
  .p-feature { display: flex; gap: 14px; align-items: flex-start; padding: 18px 16px; }
  .p-feature .ic { margin-bottom: 0; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; }
  .p-feature .ic svg { width: 22px; height: 22px; }
  .p-feature h3 { font-size: 16px; margin-bottom: 5px; }
  .p-feature p { font-size: 13.5px; }

  /* Related product photos: keep the full machine visible on phone cards. */
  .rel-media { height: 360px; padding: 24px; }
  .rel-media img { max-width: 86%; max-height: 100%; padding: 10px; }

  /* Specifications: clean spec-list card (image above) */
  .p-spec-wrap { gap: 18px; }
  .p-spec-figure { min-height: 0; padding: 14px; border-radius: var(--radius); }
  .p-spec-figure img { max-height: 240px; }
  .spec-table { display: block; border: 0; box-shadow: none; background: transparent; border-radius: 0; }
  .spec-table tbody { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
  .spec-table tr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
  .spec-table tr:last-child { border-bottom: 0; }
  .spec-table th { width: auto; flex: 0 0 auto; max-width: 48%; background: none; padding: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
  .spec-table td { padding: 0; text-align: end; font-size: 14.5px; font-weight: 800; color: var(--ink); }

  .ice-compare { grid-template-columns: 1fr; gap: 14px; }
  .ice-card-head { padding: 14px 16px; }
  .ice-card dl div {
    grid-template-columns: minmax(96px, .76fr) minmax(0, 1.24fr);
    gap: 10px;
    padding: 12px 14px;
  }
  .ice-card dt { font-size: 12px; }
  .ice-card dd { font-size: 13.2px; }

  /* Cotton-candy model cards: glass panel keeps copy readable without hiding the machine. */
  body.cc .model-card {
    position: relative;
    border-radius: 22px;
    background: linear-gradient(180deg, var(--accent-soft), #fff 72%);
  }
  body.cc .model-card .mc-media {
    height: clamp(360px, 94vw, 440px);
    padding: 18px 18px 88px;
    align-items: start;
    background:
      radial-gradient(circle at 50% 12%, rgba(255, 255, 255, .92), transparent 48%),
      var(--accent-soft);
  }
  body.cc .model-card .mc-media img {
    width: auto;
    max-width: 86%;
    max-height: 100%;
    background: rgba(255, 255, 255, .66);
    border: 1px solid rgba(255, 255, 255, .74);
    border-radius: 18px;
    padding: 8px;
    box-shadow: 0 16px 32px rgba(40, 22, 60, .14);
  }
  body.cc .model-card .mc-body {
    position: relative;
    z-index: 2;
    margin: -112px 12px 12px;
    padding: 14px 14px 16px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 18px;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 16px 34px rgba(40, 22, 60, .16);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    backdrop-filter: blur(18px) saturate(1.25);
  }
  body.cc .model-card .mc-model {
    font-size: 20px;
    line-height: 1.05;
  }
  body.cc .model-card .mc-tier {
    margin: 8px 0 10px;
    background: rgba(255, 238, 246, .76);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  body.cc .model-card .mc-desc {
    color: rgba(20, 19, 42, .74);
    font-size: 13.2px;
  }
  body.cc .model-card .mc-specs {
    margin-top: 12px;
    padding: 2px 10px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .54);
  }
}

@media (max-width: 680px) {
  body.cc .p-badges span,
  body.cc .model-card {
    background:
      linear-gradient(145deg, rgba(255,255,255,.78), rgba(255,255,255,.42)),
      rgba(255,238,246,.68);
    border: 1px solid rgba(255,255,255,.66);
    box-shadow: var(--glass-shadow);
    -webkit-backdrop-filter: blur(18px) saturate(1.24);
    backdrop-filter: blur(18px) saturate(1.24);
  }
  body.cc .model-card .mc-media {
    border-radius: 22px 22px 0 0;
    border: 0;
    background:
      radial-gradient(circle at 50% 12%, rgba(255,255,255,.94), transparent 46%),
      linear-gradient(145deg, rgba(255,255,255,.64), rgba(255,238,246,.46)),
      var(--accent-soft);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), inset 0 -28px 52px rgba(255,77,141,.1);
  }
  body.cc .model-card .mc-media img {
    background:
      linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,255,255,.56)),
      rgba(255,255,255,.66);
    border: 1px solid rgba(255,255,255,.76);
    box-shadow: 0 22px 44px rgba(40,22,60,.16), inset 0 1px 0 rgba(255,255,255,.94), inset 0 -16px 32px rgba(40,22,60,.05);
    -webkit-backdrop-filter: blur(14px) saturate(1.16);
    backdrop-filter: blur(14px) saturate(1.16);
  }
  body.cc .model-card .mc-body {
    background:
      linear-gradient(145deg, rgba(255,255,255,.76), rgba(255,255,255,.48)),
      rgba(255,255,255,.58);
    border: 1px solid rgba(255,255,255,.74);
    box-shadow: 0 18px 38px rgba(40,22,60,.18), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -14px 30px rgba(255,77,141,.08);
  }
}

/* ---------- Product-page liquid glass v3: clear machines, glass controls ---------- */
.btn-accent {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,.06) 40%, rgba(255,255,255,0)),
    radial-gradient(circle at 22% 12%, rgba(255,255,255,.42), rgba(255,255,255,0) 30%),
    var(--accent-grad);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow:
    0 20px 42px color-mix(in srgb, var(--accent) 30%, transparent),
    inset 0 1px 1px rgba(255,255,255,.58),
    inset 0 -15px 28px rgba(31,18,52,.16);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow:
    0 26px 52px color-mix(in srgb, var(--accent) 34%, transparent),
    inset 0 1px 1px rgba(255,255,255,.66),
    inset 0 -16px 30px rgba(31,18,52,.17);
}

.p-badges span,
.spec-chip,
.p-highlight .hl,
.p-feature,
.variant,
.model-card,
.ice-card,
.rel-card,
.quote-bar {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.84)),
    rgba(255,255,255,.9);
  border: 1px solid rgba(236,231,244,.86);
  box-shadow:
    0 18px 40px rgba(31,18,52,.09),
    inset 0 1px 0 rgba(255,255,255,.94);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.p-badges span::before,
.spec-chip::before,
.p-highlight .hl::before,
.p-feature::before,
.variant::before,
.model-card::before,
.ice-card::before,
.rel-card::before,
.quote-bar::before,
.p-hero-visual::before,
.p-spec-figure::before,
.model-card .mc-media::before,
.rel-media::before {
  display: none;
}

.p-feature:hover,
.variant:hover,
.model-card:hover,
.rel-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 26px 56px rgba(31,18,52,.14),
    inset 0 1px 0 rgba(255,255,255,.96);
}

.p-hero-visual img,
.p-spec-figure,
.p-spec-figure img,
.model-card .mc-media,
.model-card .mc-media img,
.rel-media,
.rel-media img {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.78)),
    color-mix(in srgb, var(--accent-soft) 58%, #fff);
  border: 1px solid rgba(255,255,255,.84);
  box-shadow:
    0 18px 40px rgba(31,18,52,.12),
    inset 0 1px 0 rgba(255,255,255,.94);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.model-card .mc-media,
.rel-media,
.p-spec-figure {
  position: relative;
}

.model-card .mc-media::after,
.rel-media::after,
.p-spec-figure::after {
  content: "";
  position: absolute;
  inset: 12px 14px auto;
  height: 32%;
  z-index: 2;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,0)),
    radial-gradient(circle at 24% 0%, rgba(255,255,255,.42), rgba(255,255,255,0) 42%);
  opacity: .34;
  mix-blend-mode: screen;
  pointer-events: none;
}

.model-card .mc-media img,
.rel-media img,
.p-spec-figure img {
  z-index: 1;
}

.model-card:hover .mc-media img,
.rel-card:hover .rel-media img {
  transform: translateY(-3px) scale(1.02);
}

.quote-bar {
  border-top: 1px solid rgba(236,231,244,.9);
  box-shadow:
    0 -18px 38px rgba(31,18,52,.11),
    inset 0 1px 0 rgba(255,255,255,.94);
}

@media (max-width: 680px) {
  body.cc .p-badges span,
  body.cc .model-card {
    background:
      linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.84)),
      rgba(255,255,255,.9);
    border: 1px solid rgba(236,231,244,.86);
    box-shadow:
      0 18px 40px rgba(31,18,52,.1),
      inset 0 1px 0 rgba(255,255,255,.95);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.cc .model-card .mc-media {
    background:
      radial-gradient(circle at 50% 18%, rgba(255,255,255,.86), transparent 45%),
      var(--accent-soft);
    border: 1px solid rgba(255,255,255,.82);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.94),
      inset 0 -18px 34px rgba(255,77,141,.08);
  }

  body.cc .model-card .mc-media img {
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(255,255,255,.96);
    box-shadow:
      0 18px 38px rgba(31,18,52,.13),
      inset 0 1px 0 rgba(255,255,255,.96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.cc .model-card .mc-body {
    background:
      linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.62)),
      rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.82);
    box-shadow:
      0 16px 36px rgba(31,18,52,.15),
      inset 0 1px 0 rgba(255,255,255,.94);
    -webkit-backdrop-filter: blur(16px) saturate(1.26);
    backdrop-filter: blur(16px) saturate(1.26);
  }
}
