/**
 * Copyright since 2026 Grupo Iluminable
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License version 3.0,
 * available at https://opensource.org/licenses/AFL-3.0
 *
 * @author    Grupo Iluminable
 * @copyright Since 2026 Grupo Iluminable
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
 */
/* The configurator redraws its content on every choice: the browser must not shift the page to compensate. */
.stepconfigurator, .stepconfigurator * { overflow-anchor: none; }
.stepconfigurator {
  --sc-primary: #254957;
  --sc-highlight: #fff4a6;
  --sc-on-primary: #ffffff;
  --sc-line: #dcdfdd;
  --sc-muted: #5e6661;
  color: #1b1f1d;
}
.sc-title { margin: 0 0 12px; font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--sc-primary); text-transform: none; letter-spacing: 0; }
.sc-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 16px; }
.sc-steps { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; }
.sc-steps__item { border: 1px solid var(--sc-line); background: #fff; border-radius: 999px; padding: 6px 12px; min-height: 40px; font-size: 14px; color: var(--sc-muted); cursor: pointer; }
.sc-steps__item.is-done { color: var(--sc-primary); }
.sc-steps__item.is-current { background: var(--sc-primary); border-color: var(--sc-primary); color: var(--sc-on-primary); }
.sc-steps__item:disabled { opacity: .45; cursor: not-allowed; }
.sc-steps__n { font-weight: 700; }
.sc-steps__t { margin-left: 6px; }
.sc-doubts, .sc-link { color: var(--sc-primary); font-weight: 600; text-decoration: underline; background: none; border: 0; padding: 8px 0; cursor: pointer; display: inline-block; margin-right: 16px; }
.sc-layout { display: flex; flex-direction: column; gap: 20px; }
.sc-main { min-width: 0; }
.sc-back { background: none; border: 0; color: var(--sc-primary); font-weight: 600; padding: 8px 0; min-height: 44px; cursor: pointer; }
.sc-kicker { margin: 0; font-size: 13px; color: var(--sc-muted); }
.sc-question { margin: 4px 0; font-size: 22px; line-height: 1.25; }
.sc-help { margin: 0 0 16px; color: var(--sc-muted); }
.sc-options { display: grid; gap: 10px; }
.sc-see-all { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 10px 16px; min-height: 60px; border: 2px solid var(--sc-primary); border-radius: 14px; background: #fff; color: var(--sc-primary); cursor: pointer; text-align: left; font: inherit; }
.sc-see-all:hover, .sc-see-all:focus-visible { background: var(--sc-highlight); }
.sc-see-all__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sc-primary); color: var(--sc-on-primary); }
.sc-see-all__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-see-all__text strong { font-size: 16px; line-height: 1.25; }
.sc-see-all__text small { font-size: 13px; color: var(--sc-primary); }
.sc-see-all__arrow { margin-left: auto; font-size: 28px; line-height: 1; }
.sc-card { border: 2px solid var(--sc-line); border-radius: 14px; background: #fff; overflow: hidden; }
.sc-card.is-selected { border-color: var(--sc-primary); background: var(--sc-highlight); }
.sc-option { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 10px; border: 0; background: transparent; cursor: pointer; min-height: 84px; color: inherit; }
.sc-option__img { width: 64px; height: 64px; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--sc-line); display: block; }
.sc-option__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-option__name { font-weight: 600; line-height: 1.25; }
.sc-option__ref { font-size: 12px; color: var(--sc-muted); }
.sc-option__price { font-weight: 700; white-space: nowrap; }
.sc-length { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; flex-wrap: wrap; }
.sc-length button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--sc-line); background: #fff; font-size: 22px; cursor: pointer; }
.sc-length output { font-size: 22px; font-weight: 700; min-width: 4ch; text-align: center; }
.sc-lengths { display: grid; gap: 4px; margin: 16px 0 0; }
.sc-length input { width: 5ch; height: 48px; font-size: 22px; font-weight: 700; text-align: center; border: 1px solid var(--sc-line); border-radius: 10px; }
.sc-length button:disabled { opacity: .4; cursor: default; }
.sc-extras { display: grid; gap: 10px; }
.sc-extra { border: 2px solid var(--sc-line); border-radius: 14px; background: #fff; padding: 10px; }
.sc-extra.is-selected { border-color: var(--sc-primary); background: var(--sc-highlight); }
.sc-extra__main { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.sc-extra .sc-count { margin: 8px 0 0; }
.sc-extra .sc-count span { min-width: 6.5em; }
.sc-lengths .sc-length { margin: 0; }
.sc-lengths .sc-length span { min-width: 6.5em; }
.sc-same { display: flex; gap: 10px; align-items: center; margin: 16px 0 0; }
.sc-same input { width: 22px; height: 22px; accent-color: var(--sc-primary); }
.sc-note, .sc-ok { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--sc-highlight); color: var(--sc-primary); }
/* Raw brass or raw iron: a clear note, not a footnote. */
.sc-note--finish { border: 2px solid var(--sc-primary); font-weight: 600; }
.sc-note--stock { border: 2px solid #9b1c1c; background: #fff; color: #9b1c1c; font-weight: 600; }
.sc-option__stock { display: block; font-size: 13px; font-weight: 700; color: #9b1c1c; }
.sc-main > .sc-see-all { margin: 0 0 12px; }
.sc-outlets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.sc-outlets__label { font-weight: 600; color: var(--sc-primary); margin-right: 4px; }
.sc-outlets .sc-chip { min-height: 44px; padding: 8px 14px; font-size: 15px; }
/* «Next» under the options; on the computer it stays at the bottom of the screen while the step is taller (Pere). */
.sc-next { display: flex; justify-content: flex-end; margin-top: 12px; }
.sc-continue__go { min-height: 52px; justify-content: center; }
/* On the phone the bar at the bottom (total and «Next») is always in view: one «Next» only (Pere, 26/10/2026). */
@media (max-width: 991px) { .sc-next { display: none; } }
@media (min-width: 992px) {
  .sc-next { position: sticky; bottom: 0; z-index: 4; padding: 10px 0; background: #fff; border-top: 1px solid var(--sc-line); }
}
/* The summary button names the next step on the phone bar; in the narrow summary of the computer, only «Next». */
.sc-go__short { display: none; }
@media (min-width: 992px) {
  .sc-summary .sc-go__long { display: none; }
  .sc-summary .sc-go__short { display: inline; }
}
.sc-empty { padding: 16px; border: 1px dashed var(--sc-line); border-radius: 12px; }
.sc-summary { border: 1px solid var(--sc-line); border-radius: 16px; padding: 14px; background: #fff; }
.sc-summary__title { margin: 0 0 6px; font-size: 13px; color: var(--sc-muted); }
.sc-lines { list-style: none; margin: 0; padding: 0 0 0 6px; }
.sc-line { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--sc-line); font-size: 14px; }
.sc-line:first-child { border-top: 0; }
/* The photo is how the customer recognises the part; the step number sits on its corner. */
.sc-line__thumb { position: relative; width: 36px; height: 36px; border-radius: 8px; background: #fff; border: 1px solid var(--sc-line); }
.sc-line__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 7px; }
.sc-line__step { position: absolute; top: -6px; left: -6px; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--sc-primary); color: var(--sc-on-primary); font-size: 11px; font-weight: 700; border: 2px solid #fff; box-sizing: content-box; }
.sc-line__name { min-width: 0; }
.sc-line__name > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.3; }
.sc-line small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sc-line small { color: var(--sc-muted); font-size: 12px; }
.sc-line b { font-size: 14px; white-space: nowrap; }
.sc-line.is-automatic { background: var(--sc-highlight); color: var(--sc-primary); border-radius: 8px; padding-left: 8px; padding-right: 6px; }
.sc-line.is-automatic small { color: var(--sc-primary); }
/* The parts the engine adds, as one line that opens. */
.sc-line--kit { display: block; }
.sc-kit { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; align-items: center; width: 100%; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.sc-kit__arrow { font-size: 11px; }
.sc-kit__parts { margin: 2px 0 4px 48px; font-size: 12px; line-height: 1.5; }
.sc-line--empty { display: block; color: var(--sc-muted); }
.sc-bar { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--sc-line); }
.sc-bar > div { flex: 1; }
.sc-total { display: block; font-size: 22px; font-weight: 700; }
.sc-bar small { color: var(--sc-muted); }
.sc-go { background: var(--sc-primary); color: var(--sc-on-primary); border: 0; border-radius: 12px; min-height: 52px; padding: 0 20px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; }
.sc-go:hover, .sc-go:focus { color: var(--sc-on-primary); }
.stepconfigurator button:focus-visible, .stepconfigurator a:focus-visible { outline: 3px solid var(--sc-primary); outline-offset: 2px; }

/* Phone: the total and the main button stay at the bottom of the screen. */
@media (max-width: 991px) {
  .sc-summary { position: sticky; bottom: 0; z-index: 5; box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); }
  .sc-lines { max-height: 40vh; overflow-y: auto; }
  .sc-summary:not(.sc-summary--full) .sc-lines, .sc-summary:not(.sc-summary--full) .sc-summary__title { display: none; }
  .sc-summary:not(.sc-summary--full) .sc-bar { margin-top: 0; padding-top: 0; border-top: 0; }
}

/* Computer: the selection on the left, the step on the right. */
@media (min-width: 992px) {
  .sc-illustration--inline { display: none; }
  .sc-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; gap: 28px; }
  .sc-summary { order: -1; position: sticky; top: var(--sc-sticky-top, 16px); }
  /* Never taller than the screen: the list scrolls inside, the total and the main button stay in view. */
  .sc-summary { display: flex; flex-direction: column; max-height: calc(100vh - var(--sc-sticky-top, 16px) - 16px); }
  .sc-summary .sc-lines { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  .sc-summary .sc-illustration--small, .sc-summary__title, .sc-summary .sc-bar, .sc-summary .sc-ok { flex: 0 0 auto; }
  /* Decision of the Pere: the total and the main button at the top of the summary, the list of parts below. */
  .sc-summary .sc-bar { order: -2; margin: 0 0 12px; padding: 0 0 12px; border-top: 0; border-bottom: 1px solid var(--sc-line); }
  .sc-summary .sc-ok { order: -1; margin: 0 0 12px; }
  /* When the theme stops sticky from working, the script pins the summary: keep the step in its column. */
  .sc-js-sticky .sc-layout:not(.sc-layout--final) .sc-main { grid-column: 2; grid-row: 1; }
  .sc-js-sticky .sc-summary { grid-column: 1; grid-row: 1; z-index: 5; }
  .sc-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* "Without" plus the three highlighted options: one row of four, none left hanging below. */
  .sc-options--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sc-option { grid-template-columns: 1fr; align-content: start; text-align: left; height: 100%; }
  .sc-card { display: flex; flex-direction: column; }
  /* The whole step (question, three options and "see all") fits on a laptop screen without scrolling.
     Square like the shop photos, never a wide frame around them (Pere). */
  .sc-option__img { width: auto; max-width: 100%; height: clamp(100px, 17vh, 170px); aspect-ratio: 1 / 1; justify-self: center; }
  .sc-question { font-size: 24px; }
}

/* Combinations of the selected product */
.sc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 10px 10px; }
.sc-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--sc-line); background: #fff; border-radius: 999px; padding: 6px 10px; min-height: 36px; font-size: 13px; cursor: pointer; color: inherit; }
.sc-chip.is-selected { border: 2px solid var(--sc-primary); color: var(--sc-primary); }
.sc-chip i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--sc-line); display: inline-block; }
/* The product page of the chosen card (new tab): a quiet link at its foot, not a second button (Pere, 30/10/2026). */
.sc-card__more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px 6px; color: var(--sc-primary); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sc-card__more:hover, .sc-card__more:focus { color: var(--sc-primary); text-decoration-thickness: 2px; }
.sc-card__more:focus-visible { outline: 3px solid var(--sc-primary); outline-offset: -3px; border-radius: 8px; }
.sc-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Product illustration: the parts already chosen are painted */
.sc-illustration svg { display: block; width: 100%; height: 100%; }
.sc-illustration .sc-part { fill: #d5dde0; transition: fill .2s; }
.sc-illustration .sc-part--line { fill: none; stroke: #d5dde0; stroke-width: 3; stroke-linecap: round; }
.sc-illustration .sc-part.is-chosen { fill: var(--sc-primary); }
.sc-illustration .sc-part--line.is-chosen { fill: none; stroke: var(--sc-primary); }
.sc-illustration .sc-part--bulb.is-chosen { fill: var(--sc-highlight); stroke: var(--sc-primary); stroke-width: 2; }
.sc-illustration .sc-part.is-none { fill: none; stroke: var(--sc-primary); stroke-width: 2; stroke-dasharray: 4 3; }
.sc-illustration .sc-filament { fill: none; stroke: transparent; stroke-width: 1.5; }
.sc-illustration.is-lit .sc-filament { stroke: var(--sc-primary); }
.sc-illustration .sc-glow { fill: var(--sc-highlight); opacity: 0; transition: opacity .3s; }
.sc-illustration.is-lit .sc-glow { opacity: .7; }
.sc-illustration--large { width: 180px; height: 300px; flex: 0 0 auto; }
.sc-illustration--small { width: 64px; height: 106px; margin: 0 auto 6px; }
.sc-illustration--inline { float: right; width: 48px; height: 80px; margin: 0 0 8px 12px; }
.sc-start { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .sc-illustration .sc-part, .sc-illustration .sc-glow { transition: none; } }

/* "See all": its own scrolling panel; the configurator stays where it was */
.sc-panel { position: fixed; inset: 0; z-index: 1050; background: rgba(0, 0, 0, .4); display: flex; align-items: flex-end; justify-content: center; }
.sc-panel__box { background: #fff; width: 100%; max-height: 85vh; border-radius: 18px 18px 0 0; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom, 0px); }
.sc-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--sc-line); }
.sc-panel__head h3 { margin: 0; font-size: 18px; }
.sc-panel__close { width: 44px; height: 44px; border: 1px solid var(--sc-line); border-radius: 50%; background: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.sc-panel__list { overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px 16px; }
.sc-panel__filters { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 0; }
.sc-panel__search { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--sc-line); border-radius: 10px; font-size: 16px; background: #fff; color: inherit; box-sizing: border-box; }
/* On as many lines as needed (a sideways row hid the last ones); only a few colours until «+ N colours» (Pere, 26/10/2026). */
.sc-panel__colours { padding: 0; flex-wrap: wrap; }
.sc-chip--more { border-style: dashed; color: var(--sc-primary); }
.sc-panel__colours .sc-chip { flex: 0 0 auto; }
.sc-panel__count { margin: 0; min-height: 18px; font-size: 13px; color: var(--sc-muted); }
.sc-panel__empty { padding: 16px 0; color: var(--sc-muted); }
.sc-panel__empty p { margin: 0 0 4px; }
.sc-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 10px 6px; border: 0; border-bottom: 1px solid var(--sc-line); background: none; cursor: pointer; color: inherit; }
.sc-row.is-selected { background: var(--sc-highlight); }
.sc-row__img { width: 56px; height: 56px; aspect-ratio: 1 / 1; object-fit: contain; border: 1px solid var(--sc-line); border-radius: 8px; background: #fff; }
.sc-row__name small { display: block; color: var(--sc-muted); }
html.sc-panel-open, html.sc-panel-open body { overflow: hidden; }

/* «Questions?»: a short form in the same panel, so the customer never leaves the configurator. */
button.sc-doubts, button.sc-link { font: inherit; text-align: left; }
.sc-expert__body { overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 18px; }
.sc-expert__form { display: flex; flex-direction: column; gap: 14px; }
.sc-expert__form .sc-help { margin: 0; }
.sc-field { display: flex; flex-direction: column; gap: 6px; }
.sc-field > label { font-weight: 600; font-size: 14px; }
.sc-field input[type="email"], .sc-field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--sc-line); border-radius: 10px; font: inherit; font-size: 16px; background: #fff; color: inherit; box-sizing: border-box; }
.sc-field textarea { min-height: 110px; resize: vertical; }
.sc-field input:focus, .sc-field textarea:focus { outline: 3px solid var(--sc-primary); outline-offset: 1px; border-color: var(--sc-primary); }
.sc-field.has-error input[type="email"], .sc-field.has-error textarea { border-color: #b3261e; }
.sc-field__error { margin: 0; color: #b3261e; font-size: 14px; }
.sc-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.sc-check input { width: 22px; height: 22px; margin: 0; flex: 0 0 auto; accent-color: var(--sc-primary); }
.sc-expert__what { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--sc-highlight); color: var(--sc-primary); font-size: 14px; }
.sc-expert__send { width: 100%; justify-content: center; }
.sc-expert__send[disabled] { opacity: .7; cursor: wait; }
.sc-expert__done { display: flex; flex-direction: column; gap: 16px; padding: 8px 0; }
.sc-expert__done .sc-go { justify-content: center; }
.sc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 991px) {
  .sc-title { font-size: 16px; margin-bottom: 10px; }
  .sc-steps { flex-wrap: nowrap; overflow-x: auto; }
  .sc-steps__item { flex: 0 0 auto; min-width: 40px; }
  .sc-steps__item:not(.is-current) .sc-steps__t { display: none; }
  .sc-illustration--small { display: none; }
  .sc-illustration--large { width: 120px; height: 200px; }
}
@media (min-width: 992px) {
  .sc-panel { justify-content: flex-end; align-items: stretch; }
  .sc-panel__box { width: 520px; max-height: none; height: 100%; border-radius: 0; }
}

/* "Without" choice icon (from the template) */
.sc-none-icon { display: flex; align-items: center; justify-content: center; color: var(--sc-primary); }
.sc-none-icon svg { width: 60%; height: 60%; }

/* Last screen: full width, the whole configuration as a grid */
.sc-layout--final { display: block; }
.sc-final { display: flex; flex-direction: column; gap: 20px; }
.sc-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 24px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--sc-line); }
.sc-hero .sc-illustration--large { width: 110px; height: 180px; }
.sc-hero__action { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; }
.sc-hero__action .sc-total { font-size: 26px; }
.sc-hero__action small { color: var(--sc-muted); margin-top: -6px; }
.sc-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sc-item { display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid var(--sc-line); border-radius: 14px; background: #fff; }
.sc-item.is-automatic { background: var(--sc-highlight); border-color: var(--sc-primary); color: var(--sc-primary); }
.sc-item__img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--sc-line); }
.sc-item__step { font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--sc-primary); margin-top: 4px; }
.sc-item__name { font-weight: 600; line-height: 1.25; }
.sc-item__meta { font-size: 13px; color: var(--sc-muted); }
.sc-item.is-automatic .sc-item__meta { color: var(--sc-primary); }
.sc-item__price { font-weight: 700; margin-top: auto; }
.sc-item__change { padding: 4px 0 0; font-size: 14px; text-align: left; }
.sc-final__foot { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-top: 12px; border-top: 1px solid var(--sc-line); }
.sc-done { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: var(--sc-highlight); color: var(--sc-primary); }
.sc-done__title { margin: 0; font-weight: 700; font-size: 18px; }
.sc-done__meta { margin: 0; }
.sc-done .sc-go { justify-content: center; }
.sc-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border: 2px solid var(--sc-primary); border-radius: 12px; color: var(--sc-primary); font: inherit; font-weight: 700; text-decoration: none; background: #fff; cursor: pointer; }
.sc-secondary:hover, .sc-secondary:focus { color: var(--sc-primary); }

@media (max-width: 991px) {
  .sc-hero__action { position: sticky; bottom: 0; z-index: 5; background: #fff; padding: 12px 0; box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); }
}
@media (min-width: 992px) {
  .sc-hero { grid-template-columns: auto minmax(0, 1fr) 320px; }
  .sc-hero__action { grid-column: auto; }
  .sc-items { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}

/* Page of every lamp: the drawing says what each one is; phone first, one per row with the drawing on the left. */
.sc-lamps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.sc-lamp { display: grid; grid-template-columns: 72px 1fr; grid-template-areas: "drawing name" "drawing go"; align-items: center; gap: 8px 16px; padding: 12px 16px; border: 2px solid var(--sc-line); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; }
.sc-lamp:hover, .sc-lamp:focus-visible { border-color: var(--sc-primary); color: inherit; text-decoration: none; }
.sc-lamp__drawing { grid-area: drawing; width: 72px; height: 120px; }
.sc-lamps .sc-illustration .sc-part { fill: var(--sc-primary); }
.sc-lamps .sc-illustration .sc-part--line { fill: none; stroke: var(--sc-primary); }
.sc-lamps .sc-illustration .sc-part--bulb { fill: var(--sc-highlight); stroke: var(--sc-primary); stroke-width: 2; }
.sc-lamps .sc-illustration .sc-glow { opacity: .7; }
.sc-lamps .sc-illustration .sc-filament { stroke: var(--sc-primary); }
.sc-lamp__name { grid-area: name; align-self: end; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--sc-primary); }
.sc-lamp__go { grid-area: go; align-self: start; justify-self: start; min-height: 44px; }
@media (min-width: 768px) {
  .sc-lamps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  /* The names take two lines or one: the buttons stay in a row. */
  .sc-lamp { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; grid-template-areas: "drawing" "name" "go"; justify-items: center; text-align: center; padding: 20px; height: 100%; }
  .sc-lamp__name { align-self: center; }
  .sc-lamp__drawing { width: 120px; height: 200px; }
  /* Room between the name and the button (Pere, staging, 26/10/2026). */
  .sc-lamp__go { justify-self: center; margin-top: 12px; }
}

/* Wide lamps (a garland): the box keeps the drawing's proportions (aspect-ratio from the script), only the width is set. */
.sc-illustration--wide.sc-illustration--inline { width: 120px; height: auto; }
.sc-illustration--wide.sc-illustration--small { width: 220px; height: auto; }
.sc-illustration--wide.sc-illustration--large { width: 320px; height: auto; max-width: 100%; }
.sc-hero .sc-illustration--wide.sc-illustration--large { width: 280px; height: auto; }
@media (max-width: 991px) {
  .sc-illustration--wide.sc-illustration--large { width: 260px; }
  .sc-hero .sc-illustration--wide { grid-column: 1 / -1; }
}

/* «Indoor only» mark (the wooden parts of a garland): text, not only colour (rule 9). */
.sc-tag { display: inline-block; align-self: flex-start; margin-top: 2px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--sc-primary); color: var(--sc-primary); font-size: 12px; font-weight: 700; }

/* The same in the grid of every lamp: a wide drawing gets a wide box; the other cards do not change. */
.sc-lamp--wide { grid-template-columns: 112px 1fr; }
.sc-lamp--wide .sc-lamp__drawing { width: 112px; height: 120px; }
@media (min-width: 768px) {
  .sc-lamp--wide { grid-template-columns: 1fr; }
  .sc-lamp--wide .sc-lamp__drawing { width: 100%; max-width: 240px; height: 200px; }
}

/* The customer's own globe: two big cards with a drawing, then each measurement with a drawing of where to measure. */
.sc-client-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sc-client-opt { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; min-height: 44px; border: 2px solid var(--sc-line); border-radius: 14px; background: #fff; color: inherit; text-align: center; cursor: pointer; font: inherit; }
.sc-client-opt.is-selected { border-color: var(--sc-primary); background: var(--sc-highlight); }
.sc-client-opt__img { width: 88px; height: 88px; color: var(--sc-primary); }
.sc-client-opt__img svg, .sc-measure__img svg { width: 100%; height: 100%; display: block; }
/* The measurement is the whole step for the vase and the globe: a marked box, a big drawing and a big field, so the
   customer sees at once what to write (Pere, 29/10/2026). */
.sc-measure { display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: center; margin-top: 16px; padding: 14px; border: 2px solid var(--sc-primary); border-radius: 14px; }
.sc-measure__img { width: 160px; height: 140px; color: var(--sc-primary); }
.sc-measure__field { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.sc-measure__field .sc-option__name { font-size: 17px; }
.sc-measure__field .sc-option__ref { font-size: 14px; }
.sc-measure .sc-length { margin: 8px 0 0; }
.sc-measure .sc-length input { width: 4.5em; height: 56px; border: 2px solid var(--sc-primary); }
@media (max-width: 575px) {
  .sc-measure { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .sc-measure__field { align-items: center; }
}
.sc-tag--yes { background: #e3f1ea; color: #1d5b3f; }
/* How many metres or units: above the cards, in a marked box (Pere, 29/10/2026). */
.sc-amount { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 16px; padding: 12px 14px; border: 2px solid var(--sc-primary); border-radius: 14px; background: #eef3f5; }
.sc-amount .sc-length, .sc-amount .sc-lengths { margin: 0; }
.sc-amount .sc-length > span:first-child { font-weight: 700; }
.sc-amount .sc-note { margin: 0; background: transparent; padding: 0; }
.sc-tag--minimum { align-self: flex-start; margin-top: 4px; background: var(--sc-highlight); color: var(--sc-primary); font-weight: 700; }
.sc-illustration--tall.sc-illustration--small { height: 180px; }
.sc-illustration--tall.sc-illustration--inline { height: 130px; }
.sc-row__name .sc-tag { display: inline-block; margin-top: 4px; }

/* Guide under the configurator: plain reading text, the drawing with every part shown.
   As wide as the configurator (the Pere, 28/10/2026); each paragraph keeps a comfortable line length. */
.sc-guide { margin: 48px 0 0; padding-top: 32px; border-top: 1px solid #e3e8ea; font-size: 16px; line-height: 1.65; }
.sc-guide p, .sc-guide li { max-width: 72ch; }
.sc-guide__title { margin: 0 0 12px; font-size: 24px; line-height: 1.25; color: var(--sc-primary); text-transform: none; letter-spacing: 0; }
.sc-guide h3 { margin: 36px 0 12px; font-size: 20px; line-height: 1.3; color: var(--sc-primary); text-transform: none; letter-spacing: 0; }
.sc-guide__figure { margin: 16px auto; max-width: 360px; text-align: center; }
.sc-guide__drawing { display: block; aspect-ratio: 10 / 7; }
.sc-guide__drawing .sc-part { fill: var(--sc-primary); }
.sc-guide__drawing .sc-part--line { fill: none; stroke: var(--sc-primary); }
.sc-guide__figure figcaption { margin-top: 8px; font-size: 14px; color: var(--sc-muted); }
.sc-guide__parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; padding: 0; list-style: none; }
.sc-guide__parts li { max-width: none; padding: 12px 14px; border: 1px solid #e3e8ea; border-radius: 12px; font-size: 15px; }
.sc-guide__parts strong { display: block; color: var(--sc-primary); }
.sc-guide__note { color: var(--sc-muted); font-size: 15px; }
.sc-guide__warning { margin: 16px 0 0; padding: 14px 16px; border-left: 4px solid var(--sc-primary); background: #f3f6f7; font-size: 15px; }
/* Numbered by the module: some themes take the numbers off lists. */
.sc-guide__steps { counter-reset: sc-step; margin: 0; padding: 0; list-style: none; }
.sc-guide__steps li { counter-increment: sc-step; position: relative; margin-bottom: 10px; padding-left: 40px; }
.sc-guide__steps li::before { content: counter(sc-step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--sc-primary); color: var(--sc-on-primary); font-size: 14px; font-weight: 700; line-height: 28px; text-align: center; }
.sc-guide__question { border-top: 1px solid #e3e8ea; padding: 6px 0; }
.sc-guide__question summary { min-height: 44px; display: flex; align-items: center; font-weight: 600; cursor: pointer; }
.sc-guide__links { padding-left: 20px; }
.sc-guide__links a { color: var(--sc-primary); text-decoration: underline; }
.sc-guide__start { display: inline-flex; margin-top: 24px; }
@media (min-width: 992px) {
  .sc-guide { font-size: 17px; }
  .sc-guide__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .sc-guide__title { font-size: 28px; }
  .sc-guide__figure { margin: 0; max-width: 520px; justify-self: center; width: 100%; }
  .sc-guide__parts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .sc-guide__how { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .sc-guide__warning { margin: 0; }
  /* Two columns that flow: an open answer does not leave a hole beside it. */
  .sc-guide__faq { columns: 2; column-gap: 48px; }
  .sc-guide__question { break-inside: avoid; }
}

/* The Pere's sentence above every lamp: as wide as the grid below, or it looked cut in half (Pere, 29/10/2026). */
.sc-lamps-intro { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--sc-muted); }
