/* FAIM Jewellery Arabia Experience | showcase.css
   Product showcase at /showcase. Sizes in px and clamp() so the page reads the same on a phone,
   a laptop and a 1080p screen (the kiosk rem scale is tuned for the booth stage, not for reading). */

#showcase {
  --sc-gold: var(--brand-gold, #D4AF37); --sc-hi: var(--brand-highlight, #F3DC8D); --sc-deep: var(--brand-deep, #9A7422);
  --sc-edge: rgba(212, 175, 55, .22); --sc-edge-2: rgba(212, 175, 55, .42);
  --sc-glass: rgba(23, 18, 15, .9); --sc-gut: clamp(16px, 4.2vw, 72px); --sc-max: 1440px;
  position: fixed; inset: 0; z-index: 40; background: var(--velvet); color: var(--ivory);
  font-size: 16px; line-height: 1.55; overflow-wrap: break-word;
}
#showcase h1, #showcase h2, #showcase h3, #showcase p, #showcase li { overflow-wrap: anywhere; min-width: 0; }
body:not([data-area="showcase"]) #showcase { display: none; }
.sc-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
#showcase::before { /* soft vignette keeps the background quiet behind text */
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(14, 11, 9, 0) 0%, rgba(14, 11, 9, .55) 70%, rgba(14, 11, 9, .85) 100%);
}
.sc-scroll { position: absolute; inset: 0; z-index: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: var(--gold-dim) transparent; }

/* header */
.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px var(--sc-gut); max-width: calc(var(--sc-max) + 2 * var(--sc-gut)); margin: 0 auto; }
.sc-home { display: inline-flex; min-height: 48px; align-items: center; }
.sc-logo { height: clamp(30px, 3vw, 42px); width: auto; }
.sc-top__end { display: flex; gap: 10px; align-items: center; }
.sc-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1px solid var(--sc-edge); border-radius: 999px; font-size: 15px; background: #17120F; color: #EFE6D5; transition: border-color .3s var(--ease); }
.sc-pill:hover { border-color: var(--sc-edge-2); }
.sc-pill svg { width: 20px; height: 20px; color: var(--sc-gold); }
.sc-badge { flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; font-size: 12px; font-weight: 500; line-height: 22px; text-align: center; background: var(--tray-2); color: var(--smoke); font-family: var(--latin, var(--text)); }
.sc-badge.is-on { background: var(--sc-gold); color: var(--velvet); }

/* hero */
.sc-hero { padding: clamp(28px, 7vh, 96px) var(--sc-gut) clamp(20px, 4vh, 48px); max-width: calc(var(--sc-max) + 2 * var(--sc-gut)); margin: 0 auto; }
.sc-h1 { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 6.2vw, 96px); line-height: 1.02; letter-spacing: -.012em; max-width: 13ch; color: var(--ivory); }
html[lang="ar"] .sc-h1 { font-weight: 400; line-height: 1.3; max-width: 16ch; }
.sc-lead { margin-top: clamp(16px, 2.2vw, 28px); max-width: 56ch; font-size: clamp(16px, 1.25vw, 19px); color: var(--smoke); }
.sc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(24px, 3vw, 40px); }
.sc-chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--sc-edge); font-size: 15px; color: #D8CDBB; background: #17120F; transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease); }
.sc-chip:hover { color: var(--ivory); }
.sc-chip[aria-pressed="true"] { color: var(--velvet); background: var(--sc-gold); border-color: var(--sc-gold); font-weight: 500; }

/* sticky section nav */
.sc-nav { position: sticky; top: 0; z-index: 5; background: rgba(14, 11, 9, .78); backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%); border-block: 1px solid rgba(212, 175, 55, .1); }
.sc-nav__in { display: flex; gap: clamp(16px, 2.6vw, 40px); padding: 0 var(--sc-gut); max-width: calc(var(--sc-max) + 2 * var(--sc-gut)); margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.sc-nav__in::-webkit-scrollbar { display: none; }
.sc-nav a { flex: none; display: inline-flex; align-items: center; min-height: 52px; font-size: 15px; color: var(--smoke); text-decoration: none; border-bottom: 1px solid transparent; transition: color .3s var(--ease), border-color .3s var(--ease); }
.sc-nav a:hover { color: var(--ivory); }
.sc-nav a.is-on { color: var(--sc-hi); border-bottom-color: var(--sc-gold); }

/* sections */
.sc-main { padding: 0 var(--sc-gut); max-width: calc(var(--sc-max) + 2 * var(--sc-gut)); margin: 0 auto; }
.sc-sec { padding-top: clamp(40px, 7vh, 96px); scroll-margin-top: 60px; }
.sc-sec__head { display: grid; gap: 8px; margin-bottom: clamp(20px, 3vw, 36px); max-width: 60ch; }
.sc-sec__head h2 { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.08; color: var(--ivory); }
.sc-sec__head p { color: var(--smoke); font-size: clamp(15px, 1.1vw, 17px); }
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: clamp(16px, 2vw, 28px); }

/* glass cards */
.sc-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 18px; overflow: hidden; isolation: isolate;
  background: var(--sc-glass); border: 1px solid var(--sc-edge);
  backdrop-filter: blur(18px) saturate(115%); -webkit-backdrop-filter: blur(18px) saturate(115%);
  box-shadow: 0 1px 0 rgba(243, 220, 141, .06) inset, 0 24px 60px -30px rgba(0, 0, 0, .8);
  transform-style: preserve-3d; will-change: transform; --gx: 50%; --gy: 30%; --glow: 0;
}
.sc-card__glass { /* the moving gold reflection, driven by the pointer through a spring */
  position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; opacity: calc(.25 + var(--glow) * .75);
  background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(243, 220, 141, .13), rgba(212, 175, 55, .04) 40%, transparent 70%);
  mix-blend-mode: screen;
}
.sc-card::after { /* thin gold edge that warms near the pointer */
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; padding: 1px;
  background: radial-gradient(300px circle at var(--gx) var(--gy), rgba(243, 220, 141, calc(var(--glow) * .55)), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.sc-thumb { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0908; border-bottom: 1px solid rgba(212, 175, 55, .12); }
.sc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-body { position: relative; z-index: 4; display: flex; flex-direction: column; gap: 12px; padding: clamp(18px, 1.8vw, 28px); flex: 1; }
.sc-body h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 1.9vw, 30px); line-height: 1.12; color: var(--ivory); }
html[lang="ar"] .sc-body h3 { line-height: 1.4; }
.sc-promise { color: var(--sc-hi); font-size: 16px; }
.sc-what { color: #C9BFAE; font-size: 15px; line-height: 1.6; }
.sc-benefits { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.sc-benefits li { position: relative; padding-inline-start: 20px; }
.sc-benefits li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .62em; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--sc-gold); }
.sc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }
.sc-actions .sc-btn { flex: 1 1 auto; }

/* buttons: solid fills only, so the label never depends on the moving background.
   primary: gold #D4AF37 / near-black #0E0B09 = 9.9:1. secondary: #17120F / ivory #EFE6D5 = 15:1, gold border.
   hover, active, focus, disabled and loading all keep >= 4.5:1. */
.sc-btn {
  --b-bg: #17120F; --b-fg: #EFE6D5; --b-bd: #D4AF37;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; min-width: 0; max-width: 100%;
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  font: inherit; font-size: 15px; font-weight: 500; line-height: 1.25; text-decoration: none; text-align: center; white-space: normal; overflow-wrap: anywhere; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .12s var(--ease);
}
.sc-btn > span { min-width: 0; }
.sc-btn svg { width: 18px; height: 18px; flex: none; }
.sc-btn--primary { --b-bg: #D4AF37; --b-fg: #0E0B09; --b-bd: #D4AF37; font-weight: 600; }
.sc-btn--primary:hover { --b-bg: #E6C65A; --b-bd: #E6C65A; }
.sc-btn--primary:active { --b-bg: #B8952C; --b-bd: #B8952C; transform: translateY(1px); }
.sc-btn--secondary:hover, .sc-btn:not(.sc-btn--primary):not(.sc-btn--quiet):hover { --b-bg: #2A211A; --b-fg: #FFF8EA; --b-bd: #F3DC8D; }
.sc-btn--secondary:active { --b-bg: #0E0B09; transform: translateY(1px); }
.sc-btn--quiet { --b-bg: #17120F; --b-fg: #EFE6D5; --b-bd: #4A3F33; }
.sc-btn--quiet:hover { --b-bg: #211A15; --b-bd: #A39888; }
.sc-btn[aria-pressed="true"] { --b-bg: #2A211A; --b-fg: #F3DC8D; --b-bd: #F3DC8D; }
.sc-btn[aria-pressed="true"]:hover { --b-bg: #33281F; }
.sc-btn:focus-visible, .sc-link:focus-visible, .sc-x:focus-visible, .sc-pill:focus-visible, .sc-chip:focus-visible, .sc-nav a:focus-visible, .sc-step__b:focus-visible, .sc-tabs button:focus-visible, .sc-home:focus-visible {
  outline: 3px solid #F3DC8D; outline-offset: 3px; box-shadow: 0 0 0 6px #0E0B09;
}
.sc-btn:disabled, .sc-btn[aria-disabled="true"] { --b-bg: #2A231C; --b-fg: #B5AA99; --b-bd: #6E655B; cursor: not-allowed; transform: none; }
.sc-btn.is-loading { --b-bg: #D4AF37; --b-fg: #0E0B09; --b-bd: #D4AF37; cursor: progress; }
.sc-btn--secondary.is-loading { --b-bg: #17120F; --b-fg: #EFE6D5; --b-bd: #D4AF37; }
.sc-spin { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid currentColor; border-inline-end-color: transparent; animation: sc-spin .8s linear infinite; }
@keyframes sc-spin { to { transform: rotate(360deg); } }
.sc-link { min-height: 44px; padding: 0 8px; color: #D8CDBB; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; border-radius: 6px; background: transparent; }
.sc-link:hover { color: #FFF8EA; }
.sc-link:disabled { color: #8C8172; text-decoration: none; cursor: not-allowed; }
.sc-x { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #D8CDBB; flex: none; background: #17120F; border: 1px solid #4A3F33; }
.sc-x:hover { color: #FFF8EA; border-color: #A39888; }
.sc-x svg { width: 22px; height: 22px; }

/* footer */
.sc-foot { padding: clamp(56px, 10vh, 120px) var(--sc-gut) 40px; max-width: calc(var(--sc-max) + 2 * var(--sc-gut)); margin: 0 auto; color: var(--smoke); font-size: 14px; display: grid; gap: 8px; }
.sc-foot p:first-child { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sc-faim { height: 18px; width: auto; opacity: .8; }
.sc-note { color: var(--ash); font-size: 13px; }

/* cart panel */
.sc-scrim { position: absolute; inset: 0; z-index: 20; background: rgba(8, 6, 5, .72); }
.sc-cart {
  position: absolute; z-index: 21; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: #17120F; border-inline-start: 1px solid var(--sc-edge-2);
  transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s linear .45s;
}
html[dir="rtl"] .sc-cart { transform: translateX(-100%); }
html[dir="rtl"] .sc-cart.is-open { transform: none; }
.sc-cart.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.sc-cart__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px 8px; padding-inline: 20px 12px; }
.sc-cart__head h2 { font-family: var(--display); font-weight: 400; font-size: 28px; min-width: 0; }
.sc-cart__list { list-style: none; margin: 0; padding: 8px 20px; overflow-y: auto; display: grid; align-content: start; gap: 14px; }
.sc-cart__list li { display: grid; grid-template-columns: 64px auto minmax(0, 1fr); grid-template-areas: "img name name" "img qty rm"; column-gap: 12px; row-gap: 8px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid rgba(212, 175, 55, .14); font-size: 15px; }
.sc-cart__list li > img { grid-area: img; align-self: start; width: 64px; height: 40px; object-fit: cover; border-radius: 6px; border: 1px solid rgba(212, 175, 55, .2); }
.sc-cart__name { grid-area: name; min-width: 0; overflow-wrap: anywhere; color: #EFE6D5; }
.sc-cart__list li > .sc-step { grid-area: qty; }
.sc-cart__list li > [data-remove] { grid-area: rm; justify-self: end; }
.sc-cart__list .sc-empty { display: block; color: #C9BFAE; border: 0; }
.sc-step { display: inline-flex; align-items: stretch; height: 44px; border: 1px solid #6E655B; border-radius: 999px; background: #0E0B09; width: max-content; }
.sc-step__b { width: 44px; display: grid; place-items: center; font-size: 20px; line-height: 1; color: #EFE6D5; border-radius: 999px; background: transparent; }
.sc-step__b:hover:not(:disabled) { background: #2A211A; color: #F3DC8D; }
.sc-step__b:disabled { color: #8C8172; cursor: not-allowed; }
.sc-step input { width: 46px; text-align: center; border: 0; background: transparent; color: #EFE6D5; font: inherit; font-size: 16px; -moz-appearance: textfield; appearance: textfield; }
.sc-step input::-webkit-inner-spin-button, .sc-step input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sc-step input:focus-visible { outline: 3px solid #F3DC8D; outline-offset: 0; border-radius: 6px; }
.sc-cart__foot { display: grid; gap: 10px; padding: 16px 20px max(20px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(212, 175, 55, .16); background: #17120F; }

/* background dims behind dialogs */
#showcase .sc-bg { transition: opacity .3s var(--ease); }
#showcase.is-dim .sc-bg { opacity: .2; }

/* dialogs (proposal and share): centred on desktop, full screen on phones with the actions pinned */
.sc-dlg { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 24px; background: rgba(8, 6, 5, .82); animation: fadeIn .2s var(--ease); }
.sc-dlg__box {
  width: min(640px, 100%); max-height: min(92vh, 100%); display: flex; flex-direction: column; overflow: hidden;
  background: #17120F; color: #EFE6D5; border: 1px solid var(--sc-edge-2, rgba(212,175,55,.42)); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.9);
  font-size: 16px; line-height: 1.5; outline: none;
}
.sc-form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.sc-form__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 16px; border-bottom: 1px solid rgba(212, 175, 55, .16); }
.sc-form__head > div { min-width: 0; }
.sc-form__head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; color: #FFF8EA; overflow-wrap: anywhere; outline: none; }
.sc-sub { margin-top: 6px; color: #C9BFAE; font-size: 15px; }
.sc-form__body { display: grid; gap: 18px; padding: 18px 24px 22px; overflow-y: auto; min-height: 0; flex: 1; overscroll-behavior: contain; }
.sc-form__foot { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding: 14px 24px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(212, 175, 55, .16); background: #17120F; }
.sc-form__foot--inline { padding: 4px 0 0; border: 0; background: none; justify-content: flex-start; }
.sc-reqnote { color: #C9BFAE; font-size: 14px; }
.sc-group { margin: 0; padding: 0; border: 0; display: grid; gap: 14px; min-width: 0; }
.sc-group + .sc-group { padding-top: 18px; border-top: 1px solid rgba(212, 175, 55, .12); }
.sc-group legend { padding: 0; margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #F3DC8D; }
html[lang="ar"] .sc-group legend { letter-spacing: 0; font-size: 15px; }
.sc-field { display: grid; gap: 6px; min-width: 0; }
.sc-field label, .sc-flabel { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 15px; font-weight: 500; color: #EFE6D5; }
.sc-tag { font-size: 12px; font-weight: 500; padding: 1px 8px; border-radius: 999px; border: 1px solid #6E655B; color: #C9BFAE; }
.sc-tag--req { border-color: #D4AF37; color: #F3DC8D; }
.sc-hint { font-size: 13px; color: #C9BFAE; }
.sc-field input, .sc-field select, .sc-field textarea {
  width: 100%; min-width: 0; min-height: 48px; padding: 11px 14px; border-radius: 10px; border: 1px solid #6E655B; background: #0E0B09; color: #EFE6D5; font: inherit; font-size: 16px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.sc-field textarea { resize: vertical; line-height: 1.5; min-height: 96px; }
.sc-field input:hover, .sc-field textarea:hover, .sc-tel:hover { border-color: #A39888; }
.sc-field input:focus-visible, .sc-field textarea:focus-visible, .sc-field select:focus-visible { outline: none; border-color: #F3DC8D; box-shadow: 0 0 0 3px rgba(243, 220, 141, .45); }
.sc-field.has-err input, .sc-field.has-err textarea, .sc-field.has-err .sc-tel { border-color: #F0A868; }
/* country code and number read as one control */
.sc-tel { position: relative; display: flex; align-items: stretch; min-height: 48px; border: 1px solid #6E655B; border-radius: 10px; background: #0E0B09; overflow: hidden; }
.sc-tel:focus-within { border-color: #F3DC8D; box-shadow: 0 0 0 3px rgba(243, 220, 141, .45); }
.sc-tel select { position: absolute; inset-block: 0; inset-inline-start: 0; width: 104px; min-height: 0; opacity: 0; cursor: pointer; z-index: 2; border: 0; }
.sc-tel__cc { flex: none; width: 104px; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 12px 0 14px; border-inline-end: 1px solid #4A3F33; color: #EFE6D5; font-size: 16px; font-variant-numeric: tabular-nums; }
.sc-tel__cc::after { content: ''; width: 7px; height: 7px; border-inline-end: 1.5px solid #D4AF37; border-bottom: 1.5px solid #D4AF37; transform: rotate(45deg) translateY(-2px); }
.sc-tel select:focus-visible + .sc-tel__cc { background: #2A211A; outline: 2px solid #F3DC8D; outline-offset: -2px; }
.sc-tel input { flex: 1; border: 0 !important; border-radius: 0; box-shadow: none !important; background: transparent; min-height: 46px; }
.sc-err { font-size: 14px; color: #F5B97A; display: flex; gap: 6px; }
.sc-err::before { content: '!'; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #F5B97A; color: #0E0B09; font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-top: 1px; }
.sc-err[hidden] { display: none; }
.sc-alert { padding: 12px 14px; border-radius: 10px; border: 1px solid #F5B97A; background: #2A1C10; color: #FFE3C4; font-size: 15px; }
.sc-alert[hidden] { display: none; }
.sc-alert--bad { display: grid; gap: 10px; justify-items: start; }
.sc-consent-wrap { display: grid; gap: 6px; }
.sc-consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14px; color: #D8CDBB; line-height: 1.5; cursor: pointer; }
.sc-consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: #D4AF37; }
.sc-consent input:focus-visible { outline: 3px solid #F3DC8D; outline-offset: 2px; }
.sc-mini { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.sc-mini li { display: inline-flex; gap: 8px; align-items: center; max-width: 100%; font-size: 14px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, .4); color: #F3DC8D; background: #0E0B09; overflow-wrap: anywhere; }
.sc-mini b { font-weight: 600; color: #EFE6D5; font-variant-numeric: tabular-nums; }
.sc-status { color: #C9BFAE; font-size: 14px; }
.sc-status:empty { display: none; }
.sc-done { display: grid; gap: 12px; font-size: 17px; color: #EFE6D5; }
.sc-done__next { color: #F3DC8D; font-weight: 500; }
.sc-tabs { display: flex; gap: 4px; border-bottom: 1px solid rgba(212, 175, 55, .2); }
.sc-tabs button { min-height: 46px; padding: 0 16px; color: #C9BFAE; border-bottom: 2px solid transparent; font-size: 15px; background: transparent; }
.sc-tabs button[aria-selected="true"] { color: #FFF8EA; border-bottom-color: #D4AF37; font-weight: 500; }
.sc-form [data-pane] { display: grid; gap: 16px; }
.sc-form [data-pane][hidden] { display: none !important; }

/* opening screen: room for the seventh action ("See every product") */
@media (min-width: 1401px) { .ln-acts:has(> :nth-child(7)) { grid-template-columns: repeat(7, minmax(0, 12.4rem)); } }
@media (min-width: 901px) and (max-width: 1400px) { .ln-acts:has(> :nth-child(7)) { grid-template-columns: repeat(4, minmax(0, 15rem)); } }

@media (max-width: 600px) {
  .sc-pill span { display: none; }
  .sc-pill.sc-cartbtn { padding: 0 14px; }
  .sc-actions .sc-btn { flex: 1 1 100%; }
  .sc-dlg { padding: 0; place-items: stretch; }
  .sc-dlg__box { width: 100%; max-height: none; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .sc-form__head { padding: 16px 16px 12px; }
  .sc-form__body { padding: 16px; }
  .sc-form__foot { padding: 12px 16px max(12px, env(safe-area-inset-bottom)); }
  .sc-form__foot .sc-btn { flex: 1 1 0; }
  .sc-form__foot--inline .sc-btn { flex: 1 1 100%; }
}
@media (max-width: 360px) {
  .sc-top { gap: 8px; }
  .sc-pill { padding: 0 12px; }
  .sc-h1 { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-cart, .sc-cart.is-open, .sc-chip, .sc-btn, .sc-nav a, .sc-bg, .sc-field input, .sc-field textarea { transition: none; }
  .sc-dlg { animation: none; }
  .sc-spin { animation-duration: 2.4s; }
}
html.reduce-motion .sc-cart { transition: none; }

/* print and save as PDF: content flows page to page, nothing fixed, nothing cut */
@media print {
  @page { margin: 14mm; }
  html, body { height: auto !important; overflow: visible !important; background: #fff !important; }
  body > *:not(#showcase):not(.sc-dlg) { display: none !important; }
  #showcase { position: static !important; inset: auto; height: auto; background: #fff !important; color: #111 !important; }
  #showcase::before, .sc-bg, .sc-nav, .sc-scrim, .sc-cart, .sc-top__end, .sc-chips, .sc-actions, .sc-card__glass, .sc-card::after, .toast { display: none !important; }
  .sc-scroll { position: static !important; overflow: visible !important; height: auto !important; }
  .sc-h1, .sc-sec__head h2, .sc-body h3 { color: #111 !important; }
  .sc-lead, .sc-sec__head p, .sc-what, .sc-foot, .sc-note { color: #333 !important; }
  .sc-promise { color: #6b5216 !important; }
  .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
  .sc-card { break-inside: avoid; page-break-inside: avoid; background: #fff !important; border: 1px solid #bbb !important; box-shadow: none !important; transform: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .sc-sec__head { break-after: avoid; page-break-after: avoid; }
  .sc-sec { padding-top: 16px; }
  .sc-dlg { position: static; background: none; padding: 0; display: block; }
  .sc-dlg__box { max-height: none; border: 1px solid #bbb; background: #fff; color: #111; box-shadow: none; }
  .sc-dlg ~ #showcase, body:has(.sc-dlg) #showcase { display: none !important; }
  .sc-form__body { overflow: visible; }
  .sc-group, .sc-field, .sc-consent-wrap { break-inside: avoid; page-break-inside: avoid; }
  .sc-form label, .sc-form h2, .sc-group legend, .sc-sub, .sc-hint { color: #111 !important; }
  .sc-form__foot, .sc-x { display: none !important; }
}
