/* ============================================================================
   PORT — carried from ragazzi-site/pdp-gels/css/sections/pdp-gels-comparison.css
   by script, then edited only where this list says.

   1. ROOT RENAMED at 37 sites: `.comparison--pdp-gels` -> `.ragazzi-comparison-table`.
      NOT `.ragazzi-comparison` — that is home's raster comparison, a different
      section that ships its own stylesheet. Class selectors match whole tokens,
      so `.ragazzi-comparison` cannot match `class="ragazzi-comparison-table"`
      and the two files cannot reach into each other even on one page.

   2. TWO POSITIONAL RULES RE-EXPRESSED as block-carried modifiers (playbook
      §10.5) — the row heights and the desktop wrap exception. Marked ADAPTATION
      where they sit. Nothing else changed: 117 declarations in, 117 out, none
      lost and none gained.

   NOT carried and not needed — all already provided by the theme's base layer
   inside `.ragazzi-section`: `border-collapse` on <table>, `display: block` on
   <svg>, and the document type defaults. Verified present in ragazzi-base.css
   before dropping them. The tokens this file reads but does not define
   (--max-vw, --vw-base, --section-py, --text-body, --text-body-lg, --lh-body,
   --lh-tight, --font-body) all exist in ragazzi-tokens.css.

   The section's own `--color-ink` and the whole `--cmp-*` scale stay scoped to
   the root, as in the static: a section can be dropped onto any template from
   the theme editor, so a token read from a page-level scope would break the
   moment it moves.
============================================================================ */

/* ============================================================================
   comparison — css/sections/comparison.css
   desktop 3100:1817 (1920 x 944.127) · mobile 3100:3191 (375 x 883.75)

   SCOPE LOCK: every selector in this file starts with `.comparison`. No `*`,
   `html`, `body`, `img`, `svg`, `a`, `:root`, `.container`, and NO bare
   `table`/`th`/`td` reset — `border-collapse` already comes from base.css and
   every table rule below is scoped under `.comparison`. Nothing here is linked
   or copied from `css/templates/*` (comparison-table is a PROSE ref that ships
   no stylesheet, so there was nothing global to integrate).

   Mobile-first. Base = 375 layer; pseudo-tablet 768-1023 (MANDATORY, there is
   no tablet layer); desktop 1024+.

   Fluid formulas (brief-page.md §7 / fluid-formulas.md):
     base    (0-767)   clamp(M-min, calc(M-base + (--max-vw - 375px) * 0.015), M-max)
     tablet  (768-1023) clamp(M-base, calc(M-base + (--max-vw - 768px) * 0.025), D-base)
     desktop (1024+)   clamp(D-min, calc(D-base * (--max-vw / --vw-base)), D-max)
   `--vw-base` is 1920 on this page, so every desktop max EQUALS its base.
============================================================================ */

/* ---------------------------------------------------------------------------
   SECTION TOKENS — moved out of the page's tokens.css.

   Read by THIS block and nothing else on the site, so they belong here rather
   than in a site-wide :root. In Shopify a section can be dropped onto any
   template from the theme editor, so a section that reads a token from a
   page-level scope breaks the moment it is moved; scoped to the block's own
   class, it travels with it.

   EVERY band is carried verbatim from the old tokens.css, in that file's own
   order — so the cascade is unchanged whether the page was written
   desktop-first (base + max-width overrides) or mobile-first (base +
   min-width overrides). Verified by computed-style diff at
   375/768/1024/1440/1920.
--------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   NAMESPACED 2026-08-15 — every selector in this file begins with `.ragazzi-comparison-table`.

   `.comparison` and `.comparison__title` are also home's. Both sides carry a
   modifier now.

   The isolation these sections have today is only that their stylesheets sit in
   different FOLDERS. A Shopify theme removes it: `assets/` is flat, one
   `theme.liquid` serves every template, and a section can be dropped onto any
   template from the theme editor.

   A part that already started with the section root was rewritten in place
   (specificity unchanged); a bare part gained the root as an ancestor, +1 class.
   Checked before the rewrite: no rule in this file matched an element outside
   the section, so prefixing cannot narrow anything. Tool:
   `tools/namespace_css.py`.
--------------------------------------------------------------------------- */

.ragazzi-comparison-table {
  --color-ink:  #000000;
  --text-h2-sm: clamp(27px, calc(32px + (var(--max-vw) - 375px) * 0.015), 65px);

  /* ADAPTATION - `--text-body`, SCOPED TO THE SECTION.

     In the static this is a PAGE token: `.page-pdp-gels` overrides the site's
     `--text-body` with a scale that caps at 20px on desktop instead of 18px,
     and the section inherits it through <body>. A Shopify theme has no page
     scope - a section can be dropped onto any template from the editor - so
     read from the theme's tokens this section's feature column renders 13.5px
     where the design is 15px at 1440, and every descendant inherits the miss.

     The section therefore owns the value, which is what this file already does
     for `--cmp-colhead` ("a NEW section-scoped token") and for the same reason.
     All three bands are carried verbatim from pdp-gels-page.css even though the
     base band happens to equal the site's - so the divergence is visible here
     rather than implied by its absence. `--font-body` is the other page token
     this section reads and is deliberately NOT carried: the page and the theme
     name the same primary family and differ only in fallbacks, where the
     theme's longer stack is the better one. */
  --text-body: clamp(12px, calc(14px + (var(--max-vw) - 375px) * 0.015), 29px);
}

@media (min-width: 768px) {
  .ragazzi-comparison-table {
    --text-h2-sm: clamp(32px, calc(32px + (var(--max-vw) - 768px) * 0.025), 55px);
    /* ADAPTATION - see the base band. This is where the page scale starts to
       diverge from the site's: 20px cap against 18px. */
    --text-body: clamp(14px, calc(14px + (var(--max-vw) - 768px) * 0.025), 20px);
  }
}

@media (min-width: 1024px) {
  .ragazzi-comparison-table {
    --text-h2-sm: clamp(29px, calc(55px * (var(--max-vw) / var(--vw-base))), 55px);
    /* ADAPTATION - see the base band. */
    --text-body: clamp(11px, calc(20px * (var(--max-vw) / var(--vw-base))), 20px);
  }
}

.ragazzi-comparison-table {
  /* ---- section-scoped fluid values. NOT page tokens: they are used only
     here, exactly as `reviews` owns its `rv-*` sub-scale. --------------- */

  /* root auto-layout gap — M 20 -> D 60 */
  --cmp-gap-outer: clamp(17px, calc(20px + (var(--max-vw) - 375px) * 0.015), 41px);
  /* heading-block internal gap — M 20 -> D 25 */
  --cmp-gap-inner: clamp(17px, calc(20px + (var(--max-vw) - 375px) * 0.015), 41px);
  /* heading-block padding-block — M 0 -> D 25. Per-layer difference: the
     desktop heading has 25px top/bottom padding, the mobile one has none.
     Do NOT copy the desktop 25 down. */
  --cmp-head-pad: 0px;

  /* mark (icon) square — M 14.0625 -> D 19.0476 */
  --cmp-mark: clamp(12px, calc(14.0625px + (var(--max-vw) - 375px) * 0.015), 29px);
  /* row separator — M 0.469 -> D 0.635, `strokeWidths.bottom`, INSIDE.
     BA-4: honour the sub-pixel value, do NOT round it up to 1px (that would
     make the seven desktop rules ~57% heavier than designed). */
  --cmp-rule: clamp(0.4px, calc(0.469px + (var(--max-vw) - 375px) * 0.015), 0.96px);
  /* icon-cell padding-block — M 21.5625 -> D 35.5556. On desktop this same
     value is the TEXT cells' padding-top (see the 1024 block). */
  --cmp-cell-pad: clamp(18px, calc(21.5625px + (var(--max-vw) - 375px) * 0.015), 44px);

  /* row heights — explicit, not derived, and the two layers DISAGREE about
     which rows are tall (D-9). Mobile rows 4-6 are 22% shorter than rows 1-2
     while their desktop counterparts are identical. Never normalise these. */
  --cmp-head-h: clamp(60px, calc(70px + (var(--max-vw) - 375px) * 0.015), 143px);      /* M 70      -> D 100.317 */
  --cmp-row-a: clamp(80px, calc(93.75px + (var(--max-vw) - 375px) * 0.015), 192px);    /* rows 1-2: M 93.75   -> D 102.222 */
  --cmp-row-b: clamp(94px, calc(110.625px + (var(--max-vw) - 375px) * 0.015), 226px);  /* row 3:    M 110.625 -> D 132.698 */
  --cmp-row-c: clamp(66px, calc(76.875px + (var(--max-vw) - 375px) * 0.015), 157px);   /* rows 4-6: M 76.875  -> D 102.222 */

  /* column-header type — a NEW section-scoped token (D-12). No page token in
     §4.3 spans D 20 -> M 10, and the WEIGHT really flips 700 -> 500 between
     layers. Do not promote it to the page scale and do not bend
     `--text-ui-lg` (D20->M16) or `--text-small` (D14->M12) to fit. */
  --cmp-colhead: clamp(9px, calc(10px + (var(--max-vw) - 375px) * 0.015), 20px);
  --cmp-colhead-weight: 700;

  /* Onest's intrinsic (Figma AUTO) ratio. The cache reports `100%` for AUTO —
     that is exporter defect FD-88, not the design (confirmed on the live node:
     Figma's own codegen emits `leading-[normal]` for 3100:1819). Writing
     `line-height: 1` would collapse the desktop h2 box from 140px to 110px.
     The number is written explicitly rather than `normal` so the box does not
     depend on the webfont's own metrics agreeing. */
  --cmp-lh-auto: 1.275;

  display: flex;
  flex-direction: column;   /* mobile: heading ABOVE table */
  align-items: flex-start;
  gap: var(--cmp-gap-outer);
  /* `padding-block` LONGHAND: `.container` is on this same element and a
     `padding` shorthand would wipe its gutter and send the section full-bleed. */
  padding-block: var(--section-py);
  /* No fill, no border, no radius, no shadow: the root node carries no `fill`,
     no `stroke` and no `effects` key on either layer — the page white shows
     through. Nothing to declare, recorded so nobody adds one. */
}

/* ---------- heading block — 3100:3192 / 3100:1818 ------------------------ */

.ragazzi-comparison-table .comparison__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--cmp-gap-inner);
  padding-block: var(--cmp-head-pad);
  width: 100%;              /* mobile: 335 FILL */
}

.ragazzi-comparison-table .comparison__title {
  font-family: var(--font-body);
  font-size: var(--text-h2-sm);
  font-weight: 500;
  line-height: var(--lh-tight);   /* mobile 110% — a REAL percentage in the cache */
  letter-spacing: 0;
  color: var(--color-ink);
  /* The two lines are authored with an explicit `\n` on BOTH layers and Figma
     renders each as `whitespace-pre`. This is measured, not invented: the
     heading must never SOFT-wrap, only break at the <br>. Both lines fit their
     column at every width (widest line 282px at M-base 32px in a 335 box,
     484px at D-base 55px in a 541 column). */
  white-space: nowrap;
}

.ragazzi-comparison-table .comparison__lede {
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: var(--lh-body);    /* 120%, both layers */
  color: var(--color-ink);
  width: 100%;                    /* FILL on both layers */
}

/* ---------- table — 3100:3195 / 3100:1821 -------------------------------- */

.ragazzi-comparison-table .comparison__table {
  /* `table-layout: fixed` is what keeps the four columns on their measured
     percentages when a label overflows (desktop row 1) or wraps (row 3). */
  table-layout: fixed;
  /* MOBILE: the table is 337.5 inside a 335 content box — `sizH: FIXED` at
     337.5 with x=20 in a 375 frame, i.e. a deliberate 2.5px overhang into the
     right gutter (D-4), not a rounding artefact. `overflow-x: clip` on
     html/body absorbs it; it creates no horizontal scrolling. */
  width: calc(100% + 2.5px);
  border-collapse: collapse;
  /* Everything is #000000 on page white. No column highlight, no zebra
     striping, no vertical rules, no outer border, no radius, no shadow. */
  color: var(--color-ink);
}

/* Column widths. Both sets sum to EXACTLY 100% so nothing depends on the
   browser's unspecified `table-layout: fixed` remainder rule (D-5):
     mobile  154 + 3 x 61.3623 = 338.087 in a 337.5 table -> 0.587px OVER;
             the LABEL column gives it up (153.42 instead of 154, -0.38%).
   Raw Figma ratios would be 45.63 / 18.181 x 3. */
.ragazzi-comparison-table .comparison__table col:nth-child(1) { width: 45.457%; }
.ragazzi-comparison-table .comparison__table col:nth-child(2) { width: 18.181%; }
.ragazzi-comparison-table .comparison__table col:nth-child(3) { width: 18.181%; }
.ragazzi-comparison-table .comparison__table col:nth-child(4) { width: 18.181%; }

/* ---------- header row — 3100:3196 / 3100:1822 --------------------------- */

.ragazzi-comparison-table .comparison__table thead tr {
  height: var(--cmp-head-h);
  border-bottom: var(--cmp-rule) solid var(--color-ink);
}

.ragazzi-comparison-table .comparison__colhead {
  font-size: var(--cmp-colhead);
  font-weight: var(--cmp-colhead-weight);
  line-height: var(--cmp-lh-auto);
  letter-spacing: 0;
  text-align: center;
  vertical-align: middle;
  color: var(--color-ink);
  /* The strings are literally uppercase characters in the source — there is no
     `textCase` on any node in this section, so NO `text-transform` here. */
  white-space: nowrap;
}

/* D-7 (accepted deviation): the mobile header row is a `justifyContent: MAX`
   flex row with gap 9 + padding-right 20, so its three labels sit where the
   gaps put them rather than on the column centres (-7.56 / +1.52 / -4.90 px
   against a 375 viewport, <=2%). A <th> cannot be positioned independently of
   its column without abandoning the real <table> the template mandates, so
   both layers centre per column. Recorded, not reproduced with per-th
   transforms. */

/* `OTHER BRANDS` is the one header that wraps — to two lines on mobile
   (61.875 x 26 in a 61.36 column), one line on desktop (156 in a 247.97
   column). Natural wrapping produces both; the two siblings stay nowrap. */
.ragazzi-comparison-table .comparison__colhead--wrap {
  white-space: normal;
}

/* ---------- body rows — 3100:3200.. / 3100:1826.. ------------------------ */

.ragazzi-comparison-table .comparison__table tbody tr {
  height: var(--cmp-row-a);
  /* All SIX rows carry the hairline, including the last one. */
  border-bottom: var(--cmp-rule) solid var(--color-ink);
}

/* ADAPTATION - was `tbody tr:nth-child(3)` and `tr:nth-child(4),(5),(6)`.
   Rows are BLOCKS here, so a position in the mockup cannot select them: a
   merchant who reorders or inserts a row would move the tall one somewhere
   else. The height travels with the row instead, as a per-block setting.
   Same two values, same cascade order. */
.ragazzi-comparison-table .comparison__table tbody tr.comparison__row--tall { height: var(--cmp-row-b); }
.ragazzi-comparison-table .comparison__table tbody tr.comparison__row--compact { height: var(--cmp-row-c); }

.ragazzi-comparison-table .comparison__feature {
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--lh-body);   /* 120%, both layers */
  letter-spacing: 0;
  text-align: left;
  color: var(--color-ink);
  padding: 0;
  /* Mobile: every label wraps (2 lines; row 3 = 3 lines) and is vertically
     CENTRED in its row — measured: row-1 label y 29.88 + h 34 in a 93.75 row
     centres on 46.88 vs the row centre 46.875. Desktop flips both of these
     (see the 1024 block). */
  vertical-align: middle;
}

.ragazzi-comparison-table .comparison__cell {
  text-align: center;
  vertical-align: middle;
  padding-block: var(--cmp-cell-pad);
  padding-inline: 0;
}

.ragazzi-comparison-table .comparison__mark {
  /* `display: block` comes from base.css, so `margin-inline: auto` (not
     `text-align`) is what centres the mark in its cell. */
  width: var(--cmp-mark);
  height: var(--cmp-mark);
  margin-inline: auto;
  /* The rings are SVG `stroke`, never `border-radius` + `border`: stroke-width
     scales with the viewBox where a CSS border does not, and the HALF mark
     cannot be expressed with a border at all. */
}

/* ============================================================================
   PSEUDO-TABLET 768-1023 — MANDATORY (has-tablet-layer: false).
   The section keeps the MOBILE shape (stacked, mobile column ratios) and only
   interpolates its values. Without this band the desktop formula would fire at
   768 and compute the table at 1119 x 768/1920 = 448px inside a 728px box.
============================================================================ */
@media (min-width: 768px) {
  .ragazzi-comparison-table {
    --cmp-gap-outer: clamp(20px, calc(20px + (var(--max-vw) - 768px) * 0.025), 60px);
    --cmp-gap-inner: clamp(20px, calc(20px + (var(--max-vw) - 768px) * 0.025), 25px);
    --cmp-head-pad: clamp(0px, calc(0px + (var(--max-vw) - 768px) * 0.025), 25px);

    --cmp-mark: clamp(14.0625px, calc(14.0625px + (var(--max-vw) - 768px) * 0.025), 19.0476px);
    --cmp-rule: clamp(0.469px, calc(0.469px + (var(--max-vw) - 768px) * 0.025), 0.635px);
    --cmp-cell-pad: clamp(21.5625px, calc(21.5625px + (var(--max-vw) - 768px) * 0.025), 35.5556px);

    --cmp-head-h: clamp(70px, calc(70px + (var(--max-vw) - 768px) * 0.025), 100.317px);
    --cmp-row-a: clamp(93.75px, calc(93.75px + (var(--max-vw) - 768px) * 0.025), 102.222px);
    --cmp-row-b: clamp(110.625px, calc(110.625px + (var(--max-vw) - 768px) * 0.025), 132.698px);
    --cmp-row-c: clamp(76.875px, calc(76.875px + (var(--max-vw) - 768px) * 0.025), 102.222px);

    --cmp-colhead: clamp(10px, calc(10px + (var(--max-vw) - 768px) * 0.025), 20px);
  }
}

/* ============================================================================
   DESKTOP 1024+ — heading BESIDE table. Every max equals its base
   (--vw-base == --max-vw == 1920).
============================================================================ */
@media (min-width: 1024px) {
  .ragazzi-comparison-table {
    --cmp-gap-outer: clamp(32px, calc(60px * (var(--max-vw) / var(--vw-base))), 60px);
    --cmp-gap-inner: clamp(13px, calc(25px * (var(--max-vw) / var(--vw-base))), 25px);
    --cmp-head-pad: clamp(13px, calc(25px * (var(--max-vw) / var(--vw-base))), 25px);

    --cmp-mark: clamp(10px, calc(19.0476px * (var(--max-vw) / var(--vw-base))), 19.0476px);
    --cmp-rule: clamp(0.34px, calc(0.635px * (var(--max-vw) / var(--vw-base))), 0.635px);
    --cmp-cell-pad: clamp(19px, calc(35.5556px * (var(--max-vw) / var(--vw-base))), 35.5556px);

    --cmp-head-h: clamp(54px, calc(100.317px * (var(--max-vw) / var(--vw-base))), 100.317px);
    --cmp-row-a: clamp(55px, calc(102.222px * (var(--max-vw) / var(--vw-base))), 102.222px);
    --cmp-row-b: clamp(71px, calc(132.698px * (var(--max-vw) / var(--vw-base))), 132.698px);
    --cmp-row-c: clamp(55px, calc(102.222px * (var(--max-vw) / var(--vw-base))), 102.222px);

    --cmp-colhead: clamp(11px, calc(20px * (var(--max-vw) / var(--vw-base))), 20px);
    --cmp-colhead-weight: 500;   /* the weight really does flip 700 -> 500 */

    /* the fixed table width, 1119 at --vw-base */
    --cmp-table-w: clamp(597px, calc(1119px * (var(--max-vw) / var(--vw-base))), 1119px);

    /* the ONLY layer difference in the DOM: the axis flips. No `order:`, no
       duplicated markup, no HTML reordering. */
    flex-direction: row;
  }

  .ragazzi-comparison-table .comparison__heading {
    /* Figma `sizH: FILL` + `layoutGrow: 1` — it absorbs whatever the fixed
       table leaves: 1720 - 60 - 1119 = 541. */
    flex: 1 1 auto;
    min-width: 0;
  }

  .ragazzi-comparison-table .comparison__title {
    /* FD-88: the cache says `100%` for this node. It is Figma AUTO — the live
       node's codegen emits `leading-[normal]` and the measured box is
       55 x 1.275 x 2 = 140.25 (Figma 140). `line-height: 1` here would collapse
       a 140px box to 110px. Mobile (3100:3193) is a genuine 110% and keeps
       `--lh-tight`; only DESKTOP is AUTO. */
    line-height: var(--cmp-lh-auto);
  }

  .ragazzi-comparison-table .comparison__table {
    /* fixed, never `flex: 1` — the heading is the flexible column, not this. */
    flex: 0 0 var(--cmp-table-w);
    width: var(--cmp-table-w);
  }

  /* Desktop columns: 371.944 + 3 x 247.966 = 1115.842 in a 1119 table, i.e.
     3.157px unused at the right edge. The LAST column absorbs the slack, so
     columns 1-3 stay pixel-exact and only the FRUIT mark moves — 1.58px at
     1920 (0.08%), because it stays centred in a cell 3.157px wider (D-5). */
  .ragazzi-comparison-table .comparison__table col:nth-child(1) { width: 33.239%; }
  .ragazzi-comparison-table .comparison__table col:nth-child(2) { width: 22.160%; }
  .ragazzi-comparison-table .comparison__table col:nth-child(3) { width: 22.160%; }
  .ragazzi-comparison-table .comparison__table col:nth-child(4) { width: 22.441%; }

  /* Desktop text cells are TOP-aligned at exactly one cell-padding, not
     centred: measured, every desktop label and header label sits at
     y = 35.5556 in its row (the same number as the icon-cell padding), which
     is ~3.5px ABOVE the row centre. The MARK cells stay centred. */
  .ragazzi-comparison-table .comparison__colhead,
  .ragazzi-comparison-table .comparison__feature {
    vertical-align: top;
    padding-top: var(--cmp-cell-pad);
  }

  /* 🚨 THE HIGHEST-RISK RULE IN THIS SECTION (D-8).
     The desktop feature column is DELIBERATELY narrower than its widest label:
     row 1 measures 391px against a 371.94px column and must stay on ONE line,
     overflowing 19.06px to the right. That overflow is harmless — the first
     mark sits at x 495.92, 105px clear of the text's right edge — and must NOT
     be "fixed" by widening the column, which would move all three mark columns.
     With the default `white-space: normal` row 1 wraps, its row grows ~24px,
     the table and the whole section grow with it, and every individual
     measurement still looks right. Figma's own codegen emits
     `whitespace-nowrap` on rows 1/2/4/5/6 and `w-[372.064px]` on row 3. */
  .ragazzi-comparison-table .comparison__feature {
    white-space: nowrap;
    overflow: visible;
  }

  /* Row 3 is the ONLY wrapping desktop label — exactly 2 lines, breaking after
     `ratio -`. Its first line measures 372.06 against a 371.94 column (0.12px
     over), so it is the one line-break here a font-metric difference could
     flip; verified in the browser at 1920. */
  /* ADAPTATION - was `tbody tr:nth-child(3)`. Same reason as the row heights,
     and the two are DELIBERATELY driven by the ONE setting: a label only needs
     the taller row because it wraps, so letting a merchant pick "tall" without
     also letting the text wrap would produce an empty tall row. */
  .ragazzi-comparison-table .comparison__table tbody tr.comparison__row--tall .comparison__feature {
    white-space: normal;
  }
}

/* ============================================================================
   DEGUSTI VARIANT — `style: degusti` (product.serum; Figma desktop 2975:1116,
   mobile 2975:2683). Scoped to the modifier so the gels table is untouched.
============================================================================ */

/* Column labels are Onest Medium on BOTH layers here (the gels frame flips
   700 -> 500; this one is 500 throughout). */
.ragazzi-comparison-table.ragazzi-comparison-table--degusti {
  --cmp-colhead-weight: 500;
}

/* The serif heading is untracked in this frame (text box 424 at 55px, 247 at
   32px). Beats the page sheet's `-0.01em !important` on specificity. */
.ragazzi-comparison-table.ragazzi-comparison-table--degusti .comparison__title {
  letter-spacing: 0 !important;
}

/* Check / cross marks are drawn with Figma's own geometry and a half-stroke
   that sits outside the circle box. */
.ragazzi-comparison-table--degusti .comparison__mark--check,
.ragazzi-comparison-table--degusti .comparison__mark--cross {
  overflow: visible;
}

/* Mobile (and the pseudo-tablet band, which keeps the mobile shape): a
   two-word column label stacks one word per line, as drawn
   ("Typical / Serum", "Face / Oil"). Desktop keeps one line. */
@media (max-width: 1023px) {
  .ragazzi-comparison-table--degusti .comparison__colhead--wrap .comparison__colhead-text {
    display: inline-block;
    width: min-content;
  }
}

/* Mobile (owner, Dec 2026): bigger column labels, less air between the labels
   and the first marks and between each feature and its marks. */
@media (max-width: 767px) {
  .ragazzi-comparison-table.ragazzi-comparison-table--degusti {
    --cmp-colhead: 13px;
    --cmp-head-h: 52px;
    --cmp-row-a: 72px;
    --cmp-row-b: 84px;
    --cmp-row-c: 64px;
  }
  .ragazzi-comparison-table.ragazzi-comparison-table--degusti thead th { height: var(--cmp-head-h) !important; }
  .ragazzi-comparison-table.ragazzi-comparison-table--degusti tbody :is(th, td) { padding-block: 10px; }
}
