/* SEMITONES theme styles.
   Layout concept: a record sleeve. Dark base notes (Atomic Black, Night) and calm
   Pearl fields, with Medium Carmine kept for single moments: a button, a price, a line.
   Colours and type come from the brandbook (pp. 40–47). Every token lives in :root once.

   How this works with Elementor: page layout (direction, gaps, padding, backgrounds)
   is set on each Elementor container, so it can be changed in the editor. The brand
   look (type, buttons, cards) comes from st-* classes set in Advanced > CSS Classes.
   Anything changed in the Elementor Style tab overrides these defaults.
   Breakpoints match Elementor: tablet 1024px, mobile 767px. */

:root {
  /* Brand palette (brandbook: primary + extended) */
  --carmine: #C53137;
  --carmine-deep: #9E272C;
  --carmine-soft: #EAAEB1;
  --blush: #F4D7D8;
  --atomic-black: #0F0F0F;
  --charcoal: #353535;
  --grey: #535353;
  --grey-mid: #8A8A8A;
  --night: #102827;
  --teal: #215A58;
  --aqua: #A3DCD9;
  --pearl: #FFFAEB;
  --cream: #FBEDC0;
  --blinding-white: #F6FFFF;
  --pearl-line: #E8E0C8;
  --pearl-shade: #F3ECD6;
  --black-line: #2A2A2A;
  --night-line: #24403F;
  --shade-soft: rgba(15, 15, 15, 0.12);
  --pearl-glass: rgba(255, 250, 235, 0.16);
  --pearl-dim: rgba(255, 250, 235, 0.72);

  /* Roles */
  --bg: var(--pearl);
  --fg: var(--atomic-black);
  --muted: var(--grey);
  --line: var(--pearl-line);
  --surface: var(--blinding-white);
  --focus: var(--teal);

  /* Type: Geom for headings, Nunito standing in for Gotham Rounded, Fraunces italic for the odd line */
  --font-display: "Geom", "Arial Black", "Arial", sans-serif;
  --font-body: "Nunito", "Helvetica Neue", "Arial", sans-serif;
  --font-serif: "Fraunces", "Georgia", "Times New Roman", serif;

  --fs-mega: clamp(3.5rem, 13vw, 13rem);
  --fs-hero: clamp(2.25rem, 5vw, 4.5rem);
  --fs-h1: clamp(2rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.625rem, 3vw, 2.5rem);
  --fs-h3: clamp(1.125rem, 1.6vw, 1.375rem);
  --fs-lede: clamp(1.0625rem, 1.4vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;
  --lh-tight: 1.02;
  --lh-snug: 1.2;
  --lh-body: 1.6;
  --tracking-label: 0.08em;
  --tracking-tight: -0.02em;

  /* Sizes */
  --container: 80rem;
  --measure: 38rem;
  --measure-wide: 48rem;
  --gutter: max(1rem, 4vw);
  --header-h: 4.5rem;
  --logo-h: 1.75rem;
  --logo-h-footer: 2.25rem;
  --icon: 1.25rem;
  --icon-button: 2.75rem;
  --input-h: 3.25rem;
  --radius-pill: 999px;
  --radius-card: 0.5rem;
  --radius-panel: 1.25rem;
  --shadow-card: 0 0.5rem 1.5rem var(--shade-soft);
  --shadow-lift: 0 1rem 2.5rem var(--shade-soft);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --speed: 180ms;
  --record: 7rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: var(--lh-snug); letter-spacing: var(--tracking-tight); text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: 0; }
h4, h5, h6 { font-size: var(--fs-body); letter-spacing: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 0.25rem; }
[hidden] { display: none !important; }
.visually-hidden, .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.st-skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.5rem 1rem; background: var(--pearl); color: var(--atomic-black); border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 600; }
.st-skip-link:focus { top: 1rem; }
.site-main { display: block; }

/* Theme-drawn pages (posts, search, 404): same rhythm as the Elementor pages */
.st-wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); display: flex; flex-direction: column; gap: 1.5rem; }
.st-page-intro { background: var(--blinding-white); padding-block: 6rem 3rem; }
.st-page-intro h1 { font-size: var(--fs-hero); line-height: var(--lh-tight); font-weight: 900; max-width: var(--measure-wide); }
.st-band { padding-block: clamp(3.5rem, 7vw, 7rem); }
.st-stack { display: flex; flex-direction: column; gap: 0.75rem; }
.st-entry { max-width: var(--measure-wide); gap: 1rem; }
.st-entry h2, .st-entry h3 { margin-top: 1.5rem; }
.st-entry a { color: var(--carmine); }
.st-entry ul, .st-entry ol { padding-left: 1.25rem; margin: 0; }
.st-post-list { gap: 3rem; }
.st-post-item { display: flex; gap: 2rem; align-items: flex-start; }
.st-post-thumb { flex: 0 0 18rem; border-radius: var(--radius-card); overflow: hidden; }
.st-post-thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.st-post-item h2 a { text-decoration: none; }
.st-pagination .nav-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.st-pagination .page-numbers { padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-pill); text-decoration: none; font-family: var(--font-display); font-size: var(--fs-small); }
.st-pagination .page-numbers.current { background: var(--atomic-black); color: var(--pearl); border-color: var(--atomic-black); }

/* ---------- Buttons ----------
   .st-button is for theme templates. Elementor Button widgets get the same look by default,
   with variants through CSS classes: st-btn-outline, st-btn-light, st-btn-dark, st-btn-chip, st-btn-size. */
.st-button,
.elementor-widget-button .elementor-button,
.st-cf7 input[type="submit"],
.st-form input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: var(--icon-button); padding: 0.5rem 1.5rem;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  background: var(--carmine); color: var(--pearl);
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-small); line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.st-button:hover, .st-button:focus-visible,
.elementor-widget-button .elementor-button:hover, .elementor-widget-button .elementor-button:focus-visible,
.st-cf7 input[type="submit"]:hover { background: var(--carmine-deep); color: var(--pearl); }

.elementor-widget-button.st-btn-outline .elementor-button { background: transparent; color: inherit; border-color: currentColor; }
.elementor-widget-button.st-btn-outline .elementor-button:hover { background: var(--atomic-black); color: var(--pearl); border-color: var(--atomic-black); }
.st-on-dark .elementor-widget-button.st-btn-outline .elementor-button:hover { background: var(--pearl); color: var(--atomic-black); border-color: var(--pearl); }
.elementor-widget-button.st-btn-dark .elementor-button { background: var(--atomic-black); color: var(--pearl); }
.elementor-widget-button.st-btn-dark .elementor-button:hover { background: var(--charcoal); }
.elementor-widget-button.st-btn-light .elementor-button { background: var(--pearl); color: var(--atomic-black); }
.elementor-widget-button.st-btn-light .elementor-button:hover { background: var(--cream); color: var(--atomic-black); }
.elementor-widget-button.st-btn-block .elementor-button { width: 100%; }
.elementor-widget-button.st-btn-large .elementor-button { min-height: var(--input-h); font-size: var(--fs-body); }

/* Filter chips */
.elementor-widget-button.st-btn-chip .elementor-button {
  background: transparent; color: inherit; border-color: var(--line); font-weight: 500;
}
.st-on-dark .elementor-widget-button.st-btn-chip .elementor-button { border-color: var(--pearl-dim); }
.elementor-widget-button.st-btn-chip .elementor-button:hover { background: var(--pearl-glass); color: inherit; }
.elementor-widget-button.st-btn-chip.is-active .elementor-button { background: var(--atomic-black); border-color: var(--atomic-black); color: var(--pearl); }
.st-on-dark .elementor-widget-button.st-btn-chip.is-active .elementor-button { background: var(--pearl); border-color: var(--pearl); color: var(--atomic-black); }

/* Size options on the product page */
.elementor-widget-button.st-btn-size .elementor-button {
  min-width: var(--icon-button); padding-inline: 0.75rem; background: var(--surface); color: var(--atomic-black); border-color: var(--line);
}
.elementor-widget-button.st-btn-size .elementor-button:hover { background: var(--pearl-shade); color: var(--atomic-black); }
.elementor-widget-button.st-btn-size.is-active .elementor-button { background: var(--atomic-black); color: var(--pearl); border-color: var(--atomic-black); }

.icon-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-width: var(--icon-button); height: var(--icon-button); padding: 0 0.5rem; margin: 0;
  background: transparent; border: 0; border-radius: var(--radius-pill); color: inherit; cursor: pointer;
  font-family: var(--font-display); font-size: var(--fs-small); text-decoration: none;
}
.icon-button:hover { background: var(--pearl-glass); color: inherit; }
.st-icon { width: var(--icon); height: var(--icon); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--atomic-black); color: var(--pearl); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.header-inner {
  width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand-link { display: flex; align-items: center; flex: none; }
.brand-link img, .brand-link .st-logo { height: var(--logo-h); width: auto; display: block; }
.nav-panel { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-family: var(--font-display); font-size: var(--fs-small); font-weight: 500; text-decoration: none;
  color: var(--pearl-dim); padding-block: 0.5rem; border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--pearl); }
.nav-link.is-current { color: var(--pearl); border-bottom-color: var(--carmine); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.menu-toggle { display: none; }
.menu-bars { display: flex; flex-direction: column; gap: 0.25rem; }
.menu-bar { display: block; width: var(--icon); height: 2px; background: currentColor; border-radius: var(--radius-pill); }
.nav-mobile { display: none; }
.header-search { border-top: 1px solid var(--black-line); }
.header-search-form { width: 100%; max-width: var(--container); margin-inline: auto; padding: 1rem var(--gutter); display: flex; gap: 0.5rem; }
.header-search-form .field-input { flex: 1 1 auto; min-width: 0; border-radius: var(--radius-pill); background: var(--pearl); }

/* ---------- Footer ---------- */
.site-footer { background: var(--atomic-black); color: var(--pearl); }
.footer-inner {
  width: 100%; max-width: var(--container); margin-inline: auto; padding: 4rem var(--gutter) 2rem;
  display: flex; flex-direction: column; gap: 3rem;
}
.footer-signup { display: flex; gap: 3rem; align-items: flex-end; justify-content: space-between; padding-bottom: 3rem; border-bottom: 1px solid var(--black-line); }
.footer-signup .stack { display: flex; flex-direction: column; gap: 1rem; flex: 1 1 0; }
.footer-signup h2 { font-size: var(--fs-h3); }
.signup-form { flex: 1 1 0; max-width: var(--measure); display: flex; justify-content: flex-end; }
.signup-form form { width: 100%; }
.footer-cols { display: flex; gap: 3rem; justify-content: space-between; }
.footer-col { display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; flex: 1 1 0; }
.footer-col-brand { flex: 1.4 1 0; gap: 1rem; }
.footer-col-brand img { height: var(--logo-h-footer); width: auto; align-self: flex-start; }
.footer-heading { font-family: var(--font-display); font-size: var(--fs-small); font-weight: 700; color: var(--pearl); letter-spacing: 0; }
.footer-link { color: var(--pearl-dim); text-decoration: none; font-size: var(--fs-small); }
.footer-link:hover { color: var(--pearl); }
.footer-text { color: var(--pearl-dim); font-size: var(--fs-small); }
.note-italic { font-family: var(--font-serif); font-style: italic; font-size: var(--fs-lede); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--black-line); font-size: var(--fs-micro); color: var(--pearl-dim); }
.footer-base-links { display: flex; gap: 1.5rem; }

/* ---------- Form fields (theme search, Contact Form 7) ---------- */
.field-input,
.st-cf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.st-cf7 select, .st-cf7 textarea {
  width: 100%; min-height: var(--input-h); padding: 0.75rem 1rem;
  background: var(--surface); color: var(--atomic-black);
  border: 1px solid var(--line); border-radius: var(--radius-card);
}
.st-cf7 textarea { min-height: 9rem; resize: vertical; }
.field-input::placeholder, .st-cf7 ::placeholder { color: var(--grey-mid); opacity: 1; }
.field-input:focus, .st-cf7 input:focus, .st-cf7 select:focus, .st-cf7 textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.st-cf7 select {
  appearance: none; padding-right: 3rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--grey) 50%), linear-gradient(135deg, var(--grey) 50%, transparent 50%);
  background-position: calc(100% - 1.5rem) center, calc(100% - 1rem) center;
  background-size: 0.375rem 0.375rem; background-repeat: no-repeat;
}
.st-form { display: flex; flex-direction: column; gap: 1.25rem; }
.st-field-row { display: flex; gap: 1rem; }
.st-field-row > .st-field { flex: 1 1 0; min-width: 0; }
.st-field { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; }
.st-field label { display: flex; flex-direction: column; gap: 0.5rem; font-family: var(--font-display); font-size: var(--fs-small); font-weight: 600; }
.st-field-hint { font-size: var(--fs-micro); color: var(--muted); }
.st-form-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.st-cf7 .wpcf7-spinner { margin: 0 0 0 0.5rem; }
.st-cf7 .wpcf7-not-valid-tip { font-size: var(--fs-micro); color: var(--carmine); margin-top: 0.25rem; }
.st-cf7 .wpcf7-response-output { margin: 1rem 0 0 !important; padding: 0.75rem 1rem !important; border-radius: var(--radius-card); font-size: var(--fs-small); }
.site-footer .st-cf7 input:not([type="submit"]) { background: var(--pearl); border-color: var(--pearl); border-radius: var(--radius-pill); }

/* ==========================================================
   Elementor pages
   ========================================================== */

/* Headings keep the brand line height (Elementor's default is 1) */
.elementor-widget-heading .elementor-heading-title { line-height: var(--lh-snug); }
.elementor-widget-text-editor p + p,
.elementor-widget-text-editor p + ul,
.elementor-widget-text-editor ul + p { margin-top: 1em; }
.elementor-widget-text-editor ul { margin: 0; }
.elementor-widget-image img { display: block; }

/* Dark bands: Atomic Black and Night. Set by the st-on-dark class on the section. */
.st-on-dark { color: var(--pearl); }
.st-on-dark .st-muted { color: var(--pearl-dim); }
.st-on-dark .st-eyebrow, .st-on-dark .st-eyebrow .elementor-heading-title { color: var(--carmine-soft); }

/* Type helpers */
.st-eyebrow, .st-eyebrow .elementor-heading-title {
  font-family: var(--font-display); font-size: var(--fs-micro); font-weight: 700; line-height: 1.4;
  letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--carmine);
}
.st-lede { font-size: var(--fs-lede); max-width: var(--measure); }
.st-muted { color: var(--muted); }
.st-small { font-size: var(--fs-small); }
.st-center { text-align: center; }
.st-body-copy { max-width: var(--measure); }
.st-strong { color: var(--fg); font-weight: 600; }
.st-strong a { text-decoration: none; }
.st-strong a:hover { color: var(--carmine); }
.st-h3 .elementor-heading-title { font-size: var(--fs-h3); letter-spacing: 0; }
.st-carmine-soft .elementor-heading-title { color: var(--carmine-soft); }
.st-display-hero .elementor-heading-title { font-size: var(--fs-hero); line-height: var(--lh-tight); font-weight: 900; }
.st-display-accent .elementor-heading-title {
  font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 900; line-height: var(--lh-tight);
  color: var(--carmine); letter-spacing: var(--tracking-tight); text-wrap: balance;
}
.st-on-dark .st-display-accent .elementor-heading-title { color: var(--carmine-soft); }
.st-italic, .st-italic .elementor-heading-title { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* Images with a fixed shape */
.st-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-card); }
.st-ratio-wide img { aspect-ratio: 16 / 9; }
.st-ratio-square img { aspect-ratio: 1 / 1; }
.st-ratio-tall img { aspect-ratio: 3 / 4; object-position: center top; }

/* ---------- Product card (a link container) ---------- */
.e-con.st-card {
  background: var(--blinding-white); color: var(--atomic-black); text-decoration: none;
  border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.e-con.st-card:hover { transform: translateY(-0.25rem); box-shadow: var(--shadow-lift); color: var(--atomic-black); }
.st-card-media { width: 100%; }
.st-card-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; background: var(--pearl-shade); }
.e-con.st-card-body { --flex-grow: 1; }
.st-card-meta { font-size: var(--fs-micro); color: var(--grey); }
.st-card-name .elementor-heading-title { font-size: var(--fs-body); font-weight: 600; letter-spacing: 0; }
.e-con.st-card-foot { --margin-top: auto; padding-top: 0.5rem !important; }
.st-price { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.st-price del { color: var(--grey-mid); font-weight: 400; font-size: var(--fs-small); margin-left: 0.25rem; }
.st-price strong { color: var(--carmine); font-size: var(--fs-micro); margin-left: 0.25rem; }
.st-card-cta { font-family: var(--font-display); font-size: var(--fs-micro); font-weight: 600; color: var(--carmine); }
.st-product-grid > .st-card { height: 100%; }

/* Featured trio on Home */
.st-feature-row > .e-con.st-card { --width: 18rem; }
.st-feature-row > .e-con.st-card.is-featured { --width: 22rem; }

/* Horizontal scroller ("You may also like") */
.e-con.st-scroller { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem !important; }
.st-scroller > .e-con.st-card { --width: 16.5rem; --flex-shrink: 0; scroll-snap-align: start; }

/* ---------- Home ---------- */
.st-hero-media img { width: 100%; height: clamp(26rem, 58vw, 46rem); object-fit: cover; object-position: center top; background: var(--atomic-black); }
.st-hero { background: var(--atomic-black); }
.st-section-head { text-align: center; }
.st-mega .elementor-heading-title {
  --fs-fit: min(var(--fs-mega), 9.6vw); /* the line is about 9 em wide, so 9.6vw keeps it on screen */
  font-family: var(--font-display); font-weight: 900; font-size: var(--fs-fit); line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight); white-space: nowrap; margin-bottom: calc(var(--fs-fit) * -0.14);
}
.st-display-store .elementor-heading-title { font-weight: 900; font-size: var(--fs-mega); line-height: var(--lh-tight); }
.st-frame-media img { width: 100%; height: clamp(22rem, 40vw, 34rem); object-fit: cover; border-radius: var(--radius-card); }

/* Slider dots, added by semitones.js */
.st-slider-dots { display: flex; gap: 0.5rem; }
.st-dot { width: 0.5rem; height: 0.5rem; padding: 0; border: 0; border-radius: 50%; background: var(--grey); cursor: pointer; }
.st-dot.is-active { background: var(--carmine); }
.st-gallery-dots { display: none; justify-content: center; }

/* Record badge over the story panel */
.st-record-row { display: flex; justify-content: center; margin-bottom: calc(var(--record) / -2) !important; position: relative; z-index: 2; }
.st-record-badge { display: flex; width: var(--record); height: var(--record); border-radius: 50%; background: var(--carmine); padding: 1rem; margin-inline: auto; }
.st-record-ring { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; border-radius: 50%; border: 1px solid var(--pearl); padding: 0.5rem; }
.st-record-label { display: flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--pearl); }
.st-record-hole { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--carmine); }
.st-story-copy { max-width: var(--measure); }

/* ---------- About ---------- */
.st-step-scale { display: flex; gap: 0.25rem; align-items: flex-end; }
.st-step-key { flex: 1 1 0; height: 6rem; background: var(--blinding-white); border: 1px solid var(--line); border-radius: 0 0 var(--radius-card) var(--radius-card); }
.st-step-key.is-sharp { background: var(--atomic-black); border-color: var(--atomic-black); height: 4rem; }
.st-step-key.is-played { background: var(--carmine); border-color: var(--carmine); }
.st-step-caption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.75rem; font-size: var(--fs-micro); color: var(--muted); }
.e-con.st-symbol-plate { aspect-ratio: 1 / 1; border-radius: var(--radius-card); }
.st-symbol img { height: min(20rem, 55vw); width: auto; margin-inline: auto; }
.e-con.st-value-list { border-top: 1px solid var(--night-line); }
.e-con.st-value-item { border-bottom: 1px solid var(--night-line); padding-block: 1.5rem !important; }
.st-value-item > .st-value-title { --flex-basis: 35%; --flex-grow: 0; --flex-shrink: 0; }
.st-value-item > .st-value-text { --flex-basis: 0; --flex-grow: 1; --flex-shrink: 1; }

/* ---------- Store ---------- */
.e-con.st-promise { border-top: 2px solid var(--atomic-black); }
.st-select-wrap { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-small); }
.st-select { min-height: var(--icon-button); padding: 0.5rem 1rem; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); color: var(--atomic-black); }

/* ---------- Product ---------- */
.e-con.st-product-info { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.admin-bar .e-con.st-product-info { top: calc(var(--header-h) + 1.5rem + 32px); }
.st-product-title .elementor-heading-title { font-weight: 900; line-height: var(--lh-tight); }
.st-price-big .elementor-heading-title { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 700; font-variant-numeric: tabular-nums; }
.st-gallery-main img { background: var(--pearl-shade); }
.st-thumb, .st-swatch { cursor: pointer; }
.st-thumb img { width: 4.5rem; height: 4.5rem; object-fit: cover; object-position: center top; border-radius: var(--radius-card); border: 2px solid transparent; }
.st-thumb.is-active img { border-color: var(--atomic-black); }
.st-swatch img { width: 5.5rem; height: 6.6rem; object-fit: cover; object-position: center top; border-radius: var(--radius-card); border: 2px solid transparent; background: var(--pearl-shade); }
.st-swatch.is-active img { border-color: var(--atomic-black); }
.st-swatch figcaption, .st-swatch .widget-image-caption {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.st-option-label { font-family: var(--font-display); font-size: var(--fs-small); font-weight: 600; }
.st-option-label span { color: var(--muted); font-weight: 400; margin-left: 0.5rem; }
.st-fit-note { font-size: var(--fs-small); padding: 0.75rem 1rem; background: var(--pearl-shade); border-radius: var(--radius-card); }
.st-spec-list { border-top: 1px solid var(--line); font-size: var(--fs-small); }
.st-spec-list p { display: flex; gap: 1rem; padding-block: 0.5rem; border-bottom: 1px solid var(--line); margin: 0 !important; }
.st-spec-list strong { flex: 0 0 40%; font-family: var(--font-display); font-weight: 600; }
.st-bullets ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.st-bullets li { display: flex; gap: 0.75rem; align-items: baseline; }
.st-bullets li::before { content: ""; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--carmine); flex: none; transform: translateY(-0.1rem); }
.st-table { overflow-x: auto; }
.st-size-table, .st-table table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.st-table th, .st-table td { text-align: left; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.st-table th { font-family: var(--font-display); font-weight: 600; }

/* ---------- Contact ---------- */
.e-con.st-info-block { padding-bottom: 1.5rem !important; border-bottom: 1px solid var(--line); }
.st-info-block p + p { margin-top: 0.25rem !important; }

/* FAQ: Elementor Accordion widget in the brand style */
.st-faq .elementor-accordion .elementor-accordion-item { border: 0; border-bottom: 1px solid var(--line); }
.st-faq .elementor-accordion .elementor-accordion-item:first-child { border-top: 1px solid var(--line); }
.st-faq .elementor-accordion .elementor-tab-title {
  display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.5rem 0; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); line-height: var(--lh-snug); color: var(--atomic-black);
}
.st-faq .elementor-accordion .elementor-tab-title a { text-decoration: none; }
.st-faq .elementor-accordion .elementor-tab-title .elementor-accordion-icon {
  float: none; display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: var(--icon-button); height: var(--icon-button); border-radius: 50%; border: 1px solid var(--line); font-size: 0.875rem;
}
.st-faq .elementor-accordion .elementor-tab-title .elementor-accordion-icon svg { width: 0.875rem; height: 0.875rem; fill: currentColor; }
.st-faq .elementor-accordion .elementor-tab-title .elementor-accordion-icon .elementor-accordion-icon-opened { display: none; }
.st-faq .elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon .elementor-accordion-icon-closed { display: none; }
.st-faq .elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon .elementor-accordion-icon-opened { display: flex; }
.st-faq .elementor-accordion .elementor-tab-content { border: 0; padding: 0 0 1.5rem; max-width: var(--measure-wide); color: var(--muted); }

/* ---------- Tablet (Elementor tablet breakpoint) ---------- */
@media (max-width: 1024px) {
  .nav-panel { gap: 1.25rem; }
  .st-feature-row > .e-con.st-card, .st-feature-row > .e-con.st-card.is-featured { --width: auto; --flex-grow: 1; --flex-basis: 0; }
  .st-feature-row > .e-con.st-card.is-featured { --flex-grow: 1.25; }
  .footer-cols { flex-wrap: wrap; row-gap: 2rem; }
  .footer-col-brand { flex-basis: 100%; }
  .st-contact-info > .e-con.st-info-block { --width: calc(50% - 0.75rem); }
}

/* ---------- Mobile (Elementor mobile breakpoint) ---------- */
@media (max-width: 767px) {
  :root { --header-h: 3.75rem; --logo-h: 1.375rem; }
  .menu-toggle { display: inline-flex; }
  .nav-cta, .search-button { display: none; }
  .nav-desktop { display: none; }
  .site-header.is-open .nav-mobile {
    display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%;
    padding: 0 var(--gutter) 1.25rem; border-top: 1px solid var(--black-line);
  }
  .nav-mobile .nav-link { font-size: var(--fs-h3); padding-block: 0.75rem; border-bottom: 1px solid var(--black-line); }
  .nav-mobile .nav-link.is-current { color: var(--carmine-soft); border-bottom-color: var(--black-line); }
  .nav-mobile .nav-cta-mobile { margin-top: 1rem; align-self: flex-start; }

  .st-btn-wide-mobile .elementor-button { width: 100%; }

  /* Featured trio becomes a swipe row, lead card first */
  .e-con.st-feature-row { --justify-content: flex-start; --align-items: stretch; --flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem !important; }
  .st-feature-row > .e-con.st-card, .st-feature-row > .e-con.st-card.is-featured { --width: 78%; --flex-grow: 0; --flex-shrink: 0; --flex-basis: auto; scroll-snap-align: center; }
  .st-feature-row > .e-con.st-card.is-featured { --order: -1; }
  .st-mega .elementor-heading-title { --fs-fit: var(--fs-mega); white-space: normal; }
  .st-frame-media img { height: auto; aspect-ratio: 1 / 1; object-position: 30% center; }
  .e-con.st-chip-row { --flex-wrap: nowrap; overflow-x: auto; }
  .st-chip-row .elementor-button { white-space: nowrap; }

  /* Two small card columns on phones, the way people browse clothes */
  .st-card-name .elementor-heading-title { font-size: var(--fs-small); }
  .st-card-cta { display: none; }
  .e-con.st-card-foot { --flex-direction: column; --align-items: flex-start; --gap: 0.25rem; }
  .st-scroller > .e-con.st-card { --width: 70%; }

  .st-line-card .st-media { --container-widget-width: 35%; flex: 0 0 35%; }
  .st-value-item > .st-value-title, .st-value-item > .st-value-text { --flex-basis: auto; }

  .st-gallery-thumbs { display: none !important; }
  .st-gallery-dots { display: flex; }
  .st-gallery-main img { border-radius: 0; }
  .e-con.st-product-info { position: static; }
  .st-swatch img { width: 4.5rem; height: 5.4rem; }

  .st-field-row { flex-direction: column; }
  .st-form-foot input[type="submit"] { width: 100%; }

  .st-post-item { flex-direction: column; }
  .st-post-thumb { flex-basis: auto; width: 100%; }

  .footer-signup { flex-direction: column; align-items: stretch; gap: 1.25rem; }
  .signup-form { justify-content: flex-start; }
  .footer-cols { gap: 1.5rem; }
  .footer-col:not(.footer-col-brand) { flex-basis: calc(50% - 0.75rem); }
  .footer-base { flex-direction: column-reverse; }
}
