/* ==========================================================================
   AURELIA — base.css
   A premium editorial commerce theme for Scora.

   Design language: ivory & espresso surfaces, Fraunces display serif over
   an Inter text face, hairline rules, letterspaced uppercase labels and
   slow, quiet motion. Every colour, radius, width and font arrives through
   custom properties the layout fills from Theme settings — nothing here is
   a hardcoded merchant-visible value.

   Interactivity (menu, search, slider, gallery, accordions) is pure CSS:
   the theme ships no JavaScript, per the Scora theme contract.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens (fallbacks — the layout overrides these from settings)
   -------------------------------------------------------------------------- */
:root {
  --brand: #1c1917;
  --brand-soft: #8a7f70;
  --accent: #a2542c;
  --bg: #faf7f2;
  --bg-subtle: #f0ebe2;
  --bg-contrast: #191512;
  --text: #29241f;
  --text-light: #f4efe7;
  --muted: #7d7466;
  --border: #e3dccc;
  --sale: #8f3b2c;
  --success: #3e6b4f;
  --error: #8f3b2c;
  --btn-text: #f4efe7;
  --page-width: 1360px;
  --section-space: 64px;
  --radius-card: 2px;
  --radius-btn: 0px;
  --radius-input: 0px;
  --font-size-base: 16px;
  --font-scale-heading: 110;
  --card-image-ratio: 3/4;
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --shadow-soft: 0 1px 2px rgba(25, 21, 18, 0.04), 0 12px 32px rgba(25, 21, 18, 0.07);
  --shadow-lift: 0 2px 4px rgba(25, 21, 18, 0.05), 0 22px 48px rgba(25, 21, 18, 0.12);
  --gold: #b08b4f;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: 'kern' 1, 'liga' 1;
  text-rendering: optimizeLegibility;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

img {
  border-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.005em;
  margin: 0 0 0.55em;
  color: inherit;
  text-wrap: balance;
}

p {
  margin: 0 0 0.75em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.22s var(--ease);
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

legend {
  padding: 0;
}

summary {
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

dd {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--brand);
  color: var(--btn-text);
}

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 48px);
}

.container--narrow {
  max-width: 860px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 14px;
  inset-block-start: -64px;
  z-index: 2000;
  padding: 11px 20px;
  background: var(--brand);
  color: var(--btn-text);
  border-radius: var(--radius-btn);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: inset-block-start 0.2s var(--ease);
}

.skip-link:focus {
  inset-block-start: 14px;
  color: var(--btn-text);
}

.icon {
  display: inline-block;
  flex: none;
}

.section {
  padding-block: var(--pt, var(--section-space)) var(--pb, var(--section-space));
}

.section-bg--default {
  background: var(--bg);
  color: var(--text);
}

.section-bg--subtle {
  background: var(--bg-subtle);
  color: var(--text);
}

.section-bg--contrast {
  background: var(--bg-contrast);
  color: var(--text-light);
}

.section-bg--contrast a:hover {
  color: var(--text-light);
  opacity: 0.8;
}

.section-bg--contrast .icon {
  filter: invert(0.82) sepia(0.22) saturate(0.9) hue-rotate(180deg);
}

.rte {
  color: inherit;
}

.rte > :first-child {
  margin-block-start: 0;
}

.rte > :last-child {
  margin-block-end: 0;
}

.rte img {
  border-radius: var(--radius-card);
}

.rte ul,
.rte ol {
  padding-inline-start: 1.25em;
  list-style: revert;
  margin-block: 0.75em;
}

.rte a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.empty-state {
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  text-align: center;
  color: var(--muted);
  background: var(--bg);
  grid-column: 1 / -1;
}

.empty-state p {
  margin: 0;
}

.empty-state--tall {
  padding-block: clamp(56px, 10vw, 104px);
}

.empty-state .btn {
  margin-block-start: 18px;
}

.empty-state__hint {
  font-size: 0.9em;
  margin-block-start: 6px;
}

/* --------------------------------------------------------------------------
   4. Buttons, forms, badges, notes
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.24s var(--ease), color 0.24s var(--ease),
    border-color 0.24s var(--ease), transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand);
  color: var(--btn-text);
}

.btn--primary:hover {
  background: var(--accent);
  color: var(--btn-text);
  box-shadow: var(--shadow-soft);
}

.btn--secondary {
  background: transparent;
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 55%, transparent);
}

.btn--secondary:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--btn-text);
}

.section-bg--contrast .btn--secondary {
  color: var(--text-light);
  border-color: color-mix(in srgb, var(--text-light) 45%, transparent);
}

.section-bg--contrast .btn--secondary:hover {
  background: var(--text-light);
  color: var(--bg-contrast);
}

.btn--ghost {
  background: color-mix(in srgb, currentColor 8%, transparent);
  color: inherit;
  border-color: color-mix(in srgb, currentColor 38%, transparent);
}

.btn--ghost:hover {
  background: color-mix(in srgb, currentColor 16%, transparent);
  color: inherit;
}

.btn:disabled,
.btn--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--lg {
  padding: 18px 38px;
  font-size: 0.78rem;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.68rem;
}

.btn--full {
  width: 100%;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.input::placeholder,
.textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 80%, transparent);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--brand-soft);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
  outline: none;
}

.textarea {
  resize: vertical;
  min-height: 88px;
}

.select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-inline-end: 38px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-block-end: 18px;
}

.field__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 0 18px;
}

.form-grid--two {
  grid-template-columns: 1fr 1fr;
}

.form__message {
  padding: 13px 18px;
  border-radius: var(--radius-input);
  margin-block-end: 18px;
  font-size: 0.92rem;
  font-weight: 500;
}

.form__message--error {
  background: color-mix(in srgb, var(--error) 10%, var(--bg));
  color: var(--error);
  border: 1px solid color-mix(in srgb, var(--error) 30%, transparent);
}

.form__message--success {
  background: color-mix(in srgb, var(--success) 10%, var(--bg));
  color: var(--success);
  border: 1px solid color-mix(in srgb, var(--success) 30%, transparent);
}

.form__message--info {
  background: color-mix(in srgb, var(--brand) 6%, var(--bg));
  color: var(--text);
  border: 1px solid var(--border);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
}

.badge--sale {
  background: var(--sale);
  color: #fff;
}

.badge--soldout {
  background: color-mix(in srgb, var(--brand) 88%, transparent);
  color: var(--btn-text);
}

.stock-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 6px 0 0;
}

.stock-note--low {
  color: var(--sale);
  font-weight: 600;
}

.qty-input {
  max-width: 130px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   5. Section headers
   -------------------------------------------------------------------------- */
.section__header {
  max-width: 680px;
  margin-block-end: clamp(30px, 4.5vw, 48px);
}

.section__header--center {
  margin-inline: auto;
  text-align: center;
}

.section__header--right {
  margin-inline-start: auto;
  text-align: end;
}

.section__kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-block-end: 14px;
}

.section__header--left .section__kicker,
.section__header--right .section__kicker {
  justify-content: flex-start;
}

.section__header--center .section__kicker::before,
.section__header--center .section__kicker::after {
  content: "";
  inline-size: 34px;
  block-size: 1px;
  background: color-mix(in srgb, var(--accent) 45%, transparent);
}

.section__header--right .section__kicker {
  justify-content: flex-end;
}

.section__heading {
  font-size: calc(1.9rem * var(--font-scale-heading) / 100);
  font-weight: 480;
  margin-block-end: 0.4em;
}

.section__heading--left {
  text-align: start;
}

.section__subheading {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

.section__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-start: 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  padding-block-end: 4px;
  border-block-end: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  transition: border-color 0.22s var(--ease), color 0.22s var(--ease);
}

.section__cta span {
  transition: translate 0.22s var(--ease);
}

.section__cta:hover {
  color: var(--accent);
  border-block-end-color: var(--accent);
}

.section__cta:hover span {
  translate: 5px 0;
}

/* --------------------------------------------------------------------------
   6. Announcement bar (static + marquee)
   -------------------------------------------------------------------------- */
.announcement {
  font-size: var(--announcement-size, 13px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.announcement__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 22px;
  padding-block: var(--announcement-padding-y, 11px);
}

.announcement__item:not(:first-child)::before {
  content: "\2022";
  margin-inline-end: 22px;
  opacity: 0.45;
}

.announcement__link,
.announcement__text {
  color: inherit;
}

.announcement__link:hover {
  opacity: 0.75;
  color: inherit;
}

.announcement__link {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.announcement--marquee {
  overflow: hidden;
}

.announcement--marquee .announcement__track {
  display: flex;
  width: max-content;
  animation: aurelia-marquee var(--marquee-duration, 36s) linear infinite;
}

.announcement--marquee:hover .announcement__track {
  animation-play-state: paused;
}

.announcement__group {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-inline-end: 64px;
  white-space: nowrap;
}

.announcement__group .announcement__item::before {
  content: none;
}

@keyframes aurelia-marquee {
  to {
    transform: translateX(-50%);
  }
}

[dir="rtl"] .announcement--marquee .announcement__track {
  animation-name: aurelia-marquee-rtl;
}

@keyframes aurelia-marquee-rtl {
  to {
    transform: translateX(50%);
  }
}

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.section-header {
  position: relative;
  z-index: 500;
}

.site-header {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  color: var(--text);
  border-block-end: 1px solid transparent;
}

.site-header--contrast {
  background: color-mix(in srgb, var(--bg-contrast) 92%, transparent);
  color: var(--text-light);
}

.site-header--border {
  border-block-end-color: var(--border);
}

.site-header--contrast.site-header--border {
  border-block-end-color: color-mix(in srgb, var(--text-light) 16%, transparent);
}

.site-header--sticky {
  position: sticky;
  inset-block-start: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: var(--header-padding-y, 18px);
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  color: inherit;
  margin-inline-end: auto;
}

.site-header__logo:hover {
  color: inherit;
  opacity: 0.8;
}

.site-header__logo-image {
  width: auto;
}

.site-header__logo-text {
  font-family: var(--font-heading);
  font-size: calc(1.35rem * var(--font-scale-heading) / 100);
  font-weight: 560;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-indent: 0.32em;
  text-align: center;
}

.site-header__nav {
  display: none;
}

.site-header__nav-empty {
  margin: 0;
  font-size: 0.85em;
  opacity: 0.6;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav__item {
  position: relative;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: inherit;
  border-radius: var(--radius-btn);
}

.site-nav__link::after {
  content: "";
  display: block;
  inline-size: 0;
  block-size: 1px;
  margin-block-start: 2px;
  background: var(--accent);
  transition: inline-size 0.24s var(--ease);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  inline-size: 100%;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--accent);
}

.site-nav__item--has-children > .site-nav__link::after {
  display: none;
}

.site-nav__item--has-children > .site-nav__link .nav-label {
  border-block-end: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.site-nav__item--has-children > .site-nav__link:hover .nav-label {
  border-block-end-color: var(--accent);
}

.site-nav__dropdown {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: calc(100% + 10px);
  min-width: 224px;
  padding: 10px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  translate: 0 8px;
  transition: opacity 0.2s var(--ease), translate 0.2s var(--ease), visibility 0.2s;
  z-index: 20;
}

.site-nav__item:hover > .site-nav__dropdown,
.site-nav__item:focus-within > .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}

.site-nav__dropdown li + li {
  margin-block-start: 2px;
}

.site-nav__dropdown-link {
  display: block;
  padding: 9px 13px;
  font-size: 0.86rem;
  border-radius: var(--radius-btn);
  color: var(--text);
}

.site-nav__dropdown-link:hover,
.site-nav__dropdown-link.is-active {
  background: var(--bg-subtle);
  color: var(--accent);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-header__icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-inline-size: 44px;
  min-block-size: 44px;
  padding: 9px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.site-header__icon-btn:hover {
  background: color-mix(in srgb, currentColor 9%, transparent);
  color: inherit;
}

.site-header__burger {
  display: inline-flex;
}

.site-header__burger .icon-close {
  display: none;
}

.site-header__account-name {
  font-size: 0.8rem;
  font-weight: 600;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-count {
  position: absolute;
  inset-block-start: 3px;
  inset-inline-end: 1px;
  min-inline-size: 18px;
  padding: 1px 5px;
  font-size: 0.66rem;
  font-weight: 700;
  text-align: center;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
}

.site-header__search {
  display: none;
  padding-block-end: var(--header-padding-y, 18px);
}

.header-toggle--search:checked ~ .site-header .site-header__search {
  display: block;
}

.header-toggle--nav:checked ~ .site-header .site-header__burger .icon-menu {
  display: none;
}

.header-toggle--nav:checked ~ .site-header .site-header__burger .icon-close {
  display: block;
}

.site-header__search-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin-inline: auto;
}

/* Mobile navigation (CSS checkbox toggle) */
.mobile-nav {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: 1200;
  width: min(86vw, 380px);
  background: var(--bg);
  color: var(--text);
  padding: 28px 24px;
  overflow-y: auto;
  translate: calc(-1 * (min(86vw, 380px) + 24px)) 0;
  transition: translate 0.3s var(--ease);
  box-shadow: 0 0 60px rgba(25, 21, 18, 0.25);
}

[dir="rtl"] .mobile-nav {
  inset-inline-start: auto;
  inset-inline-end: 0;
  translate: calc(min(86vw, 380px) + 24px) 0;
}

.header-toggle--nav:checked ~ .mobile-nav {
  translate: 0 0;
}

.mobile-nav__scrim {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(25, 21, 18, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s var(--ease), visibility 0.24s;
  cursor: pointer;
}

.header-toggle--nav:checked ~ .mobile-nav__scrim {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  border-block-end: 1px solid var(--border);
  padding-block-end: 18px;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 4px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text);
}

.mobile-nav__link:hover {
  color: var(--accent);
}

.mobile-nav__chevron {
  font-size: 0.75em;
  color: var(--muted);
  transition: rotate 0.2s var(--ease);
}

.mobile-nav__details[open] .mobile-nav__chevron {
  rotate: 180deg;
}

.mobile-nav__sublist {
  padding-inline-start: 16px;
  border-inline-start: 1px solid var(--border);
  margin-block: 4px 10px;
}

.mobile-nav__sublink {
  display: block;
  padding: 10px 12px;
  font-size: 0.95rem;
  color: var(--muted);
  border-radius: var(--radius-btn);
}

.mobile-nav__sublink:hover {
  background: var(--bg-subtle);
  color: var(--brand);
}

.mobile-nav__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-block-start: 20px;
}

.mobile-nav__meta-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   8. Hero slider (scroll-snap + anchors — no JavaScript)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--bg-contrast);
}

.hero__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hero__track::-webkit-scrollbar {
  display: none;
}

.hero--full .hero__track {
  height: 100vh;
  height: 100svh;
}

.hero--large .hero__track {
  height: 80vh;
  height: 80svh;
  min-height: 520px;
}

.hero--medium .hero__track {
  height: 65vh;
  height: 65svh;
  min-height: 460px;
}

.hero--small .hero__track {
  height: 50vh;
  height: 50svh;
  min-height: 380px;
}

.hero__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.hero__panel {
  position: relative;
  display: grid;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}

.hero__panel--light {
  color: var(--text-light);
}

.hero__panel--dark {
  color: var(--text);
}

.hero__media,
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
}

.hero__placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 140% at 15% 20%, color-mix(in srgb, var(--accent) 45%, var(--brand)) 0%, transparent 55%),
    radial-gradient(120% 140% at 85% 85%, color-mix(in srgb, var(--brand) 78%, var(--brand-soft)) 0%, transparent 60%),
    var(--bg-contrast);
}

.hero__slide:nth-child(2) .hero__placeholder {
  background:
    radial-gradient(120% 140% at 80% 15%, color-mix(in srgb, var(--brand) 68%, var(--brand-soft)) 0%, transparent 55%),
    radial-gradient(120% 140% at 15% 90%, color-mix(in srgb, var(--brand) 55%, var(--accent)) 0%, transparent 60%),
    var(--bg-contrast);
}

.hero__slide:nth-child(3) .hero__placeholder {
  background:
    radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--accent) 60%, var(--brand)) 0%, transparent 60%),
    var(--bg-contrast);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: #100d0a;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  padding: clamp(26px, 6vw, 88px);
  height: 100%;
}

.hero__content--left {
  justify-items: start;
  align-content: center;
  text-align: start;
}

.hero__content--center {
  justify-items: center;
  align-content: center;
  text-align: center;
}

.hero__content--right {
  justify-items: end;
  align-content: center;
  text-align: end;
}

.hero__content-inner {
  max-width: 660px;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-block-end: 18px;
}

.hero__content--left .hero__kicker {
  justify-content: flex-start;
}

.hero__content--right .hero__kicker {
  justify-content: flex-end;
}

.hero__kicker::before,
.hero__kicker::after {
  content: "";
  inline-size: 36px;
  block-size: 1px;
  background: currentColor;
  opacity: 0.55;
}

.hero__heading {
  font-size: clamp(2.5rem, 5.8vw, 4.6rem);
  font-weight: 460;
  letter-spacing: -0.01em;
  margin-block-end: 0.45em;
  text-wrap: balance;
}

.hero__subheading {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  opacity: 0.94;
  max-width: 52ch;
  margin-block-end: 34px;
}

.hero__content--left .hero__subheading,
.hero__content--right .hero__subheading {
  margin-inline-end: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__arrow {
  position: absolute;
  inset-block-start: 50%;
  translate: 0 -50%;
  z-index: 4;
  display: grid;
  place-items: center;
  inline-size: 48px;
  block-size: 48px;
  border-radius: 50%;
  background: rgba(16, 13, 10, 0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text-light);
  transition: background-color 0.22s var(--ease), scale 0.22s var(--ease);
}

.hero__arrow:hover {
  background: rgba(16, 13, 10, 0.55);
  scale: 1.07;
  color: var(--text-light);
}

.hero__arrow--prev {
  inset-inline-start: clamp(12px, 2.5vw, 30px);
}

.hero__arrow--next {
  inset-inline-end: clamp(12px, 2.5vw, 30px);
}

.hero__dots {
  position: absolute;
  inset-inline: 0;
  inset-block-end: clamp(18px, 3vw, 30px);
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero__dot {
  inline-size: 30px;
  block-size: 2px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  position: relative;
}

.hero__dot::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block: calc(50% - 1px);
  background: color-mix(in srgb, var(--text-light) 55%, transparent);
  transition: background-color 0.22s var(--ease);
}

.hero__dot:hover::before {
  background: var(--text-light);
}

.hero__dot.is-active::before {
  background: var(--text-light);
}

.hero__panel--dark .hero__dot::before {
  background: color-mix(in srgb, var(--text) 40%, transparent);
}

.hero__panel--dark .hero__dot.is-active::before,
.hero__panel--dark .hero__dot:hover::before {
  background: var(--text);
}

.hero--empty {
  display: grid;
  place-items: center;
  min-height: 340px;
}

.hero__empty-note {
  color: var(--text-light);
  opacity: 0.8;
  border: 1px dashed color-mix(in srgb, var(--text-light) 40%, transparent);
  border-radius: var(--radius-card);
  padding: 20px 28px;
}

/* --------------------------------------------------------------------------
   9. Product grid, cards, price
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
}

.product-grid__empty {
  grid-column: 1 / -1;
}

@media (min-width: 750px) {
  .product-grid {
    grid-template-columns: repeat(var(--product-columns, 4), 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  color: inherit;
}

.product-card__media {
  position: relative;
  aspect-ratio: var(--card-image-ratio);
  overflow: hidden;
  background: var(--bg-subtle);
  border-radius: var(--radius-card);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.6s var(--ease), filter 0.4s var(--ease);
}

.product-card:hover .product-card__image {
  scale: 1.06;
}

.product-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 18px;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-light);
  background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 80%, var(--brand-soft)) 0%, color-mix(in srgb, var(--brand) 50%, var(--accent)) 100%);
}

.product-card__media .badge {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
}

.product-card__media .badge + .badge {
  inset-inline-start: auto;
  inset-inline-end: 12px;
}

@media (hover: hover) {
  .product-card__media::after {
    content: "VIEW";
    position: absolute;
    inset-block-end: 14px;
    inset-inline-end: 14px;
    padding: 7px 14px;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--brand);
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-btn);
    opacity: 0;
    translate: 0 8px;
    transition: opacity 0.26s var(--ease), translate 0.26s var(--ease);
  }

  .product-card:hover .product-card__media::after {
    opacity: 1;
    translate: 0 0;
  }
}

.product-card__info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 2px 4px;
}

.product-card__vendor {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.product-card__title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s var(--ease);
}

.product-card:hover .product-card__title {
  color: var(--accent);
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 2px 0 0;
  font-variant-numeric: tabular-nums;
}

.price__current {
  font-weight: 600;
  font-size: 0.95rem;
}

.price__compare {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.85rem;
  font-weight: 400;
}

.price__save {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--sale);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.price--on-sale .price__current {
  color: var(--sale);
}

/* --------------------------------------------------------------------------
   10. Collection cards
   -------------------------------------------------------------------------- */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 26px);
}

@media (min-width: 750px) {
  .collection-grid {
    grid-template-columns: repeat(var(--collection-columns, 3), 1fr);
  }
}

.collection-card {
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  color: inherit;
  position: relative;
}

.collection-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.collection-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.6s var(--ease);
}

.collection-card:hover .collection-card__image {
  scale: 1.05;
}

.collection-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 78%, var(--brand-soft)) 0%, color-mix(in srgb, var(--brand) 48%, var(--accent)) 100%);
}

.collection-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 13, 10, 0.58) 0%, rgba(16, 13, 10, 0.06) 52%, transparent 100%);
}

.collection-card__label {
  position: absolute;
  inset-inline: 20px;
  inset-block-end: 18px;
  color: var(--text-light);
}

.collection-card__title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text-light);
}

.collection-card__count {
  margin: 3px 0 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   11. Image with text / spotlight
   -------------------------------------------------------------------------- */
.iwt__inner {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

@media (min-width: 750px) {
  .iwt__inner {
    grid-template-columns: var(--iwt-media, 50%) 1fr;
  }

  .iwt__inner--right .iwt__media {
    order: 2;
  }
}

.iwt__media,
.iwt__image,
.iwt__placeholder {
  border-radius: var(--radius-card);
}

.iwt__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.iwt__placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 120% at 20% 15%, color-mix(in srgb, var(--accent) 35%, var(--brand)) 0%, transparent 55%),
    var(--bg-subtle);
}

.iwt__text {
  margin-block: 10px 26px;
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  max-width: 52ch;
}

.iwt__content .btn {
  margin-block-start: 4px;
}

.iwt__signature {
  margin-block-start: 26px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
}

.spotlight__inner {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

@media (min-width: 750px) {
  .spotlight__inner {
    grid-template-columns: 1fr 1fr;
  }

  .spotlight__inner--right .spotlight__media {
    order: 2;
  }
}

.spotlight__image,
.spotlight__placeholder {
  border-radius: var(--radius-card);
}

.spotlight__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.spotlight__placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 120% at 80% 20%, color-mix(in srgb, var(--brand) 50%, var(--brand-soft)) 0%, transparent 55%),
    var(--bg);
}

.spotlight__title {
  font-size: calc(2rem * var(--font-scale-heading) / 100);
}

.spotlight__vendor {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.spotlight__price {
  margin-block: 14px 6px;
  font-size: 1.2em;
}

.spotlight__description {
  color: var(--muted);
  margin-block: 12px 24px;
  max-width: 50ch;
}

.spotlight__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   12. Feature row / testimonials / FAQ / newsletter / reviews / video
   -------------------------------------------------------------------------- */
.feature-row__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

@media (min-width: 900px) {
  .feature-row__grid {
    grid-template-columns: repeat(var(--feature-columns, 4), 1fr);
  }
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding-block-start: 24px;
  border-block-start: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}

.feature__icon {
  display: grid;
  place-items: center;
  color: var(--accent);
}

.feature__title {
  font-size: 1.05rem;
  font-weight: 520;
  margin: 2px 0 0;
}

.feature__text {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  max-width: 26ch;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.6vw, 32px);
}

@media (min-width: 750px) {
  .testimonials__grid {
    grid-template-columns: repeat(var(--testimonial-columns, 3), 1fr);
  }
}

.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 14px 0 0 44px;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: -10px;
  font-family: var(--font-heading);
  font-size: 4.4rem;
  line-height: 1;
  color: color-mix(in srgb, var(--accent) 38%, transparent);
}

.testimonial__stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 4px;
  margin: 0;
}

.testimonial__quote {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 420;
  line-height: 1.5;
  flex-grow: 1;
}

.testimonial__meta {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-block-start: 12px;
  border-block-start: 1px solid var(--border);
}

.testimonial__avatar {
  inline-size: 44px;
  block-size: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__author {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.faq__list {
  display: grid;
  gap: 0;
  max-width: 800px;
  margin-inline: auto;
  border-block-start: 1px solid var(--border);
}

@media (min-width: 900px) {
  .faq__list--two {
    grid-template-columns: 1fr 1fr;
    max-width: none;
    gap: 0 48px;
  }
}

.faq__item {
  border-block-end: 1px solid var(--border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 2px;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 520;
  transition: color 0.2s var(--ease);
}

.faq__item[open] .faq__question,
.faq__question:hover {
  color: var(--accent);
}

.faq__chevron {
  color: var(--accent);
  transition: rotate 0.22s var(--ease);
}

.faq__item[open] .faq__chevron {
  rotate: 180deg;
}

.faq__answer {
  padding: 0 2px 22px;
  color: var(--muted);
  max-width: 62ch;
}

.faq__answer > :last-child {
  margin-block-end: 0;
}

.newsletter__inner {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.newsletter__form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 30px auto 14px;
}

.newsletter__form .input {
  flex: 1;
  background: transparent;
  border-color: color-mix(in srgb, var(--text-light) 30%, transparent);
  color: var(--text-light);
}

.section-bg--subtle .newsletter__form .input,
.section-bg--default .newsletter__form .input {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text);
}

.newsletter__form .input::placeholder {
  color: color-mix(in srgb, var(--text-light) 55%, transparent);
}

.section-bg--subtle .newsletter__form .input::placeholder,
.section-bg--default .newsletter__form .input::placeholder {
  color: var(--muted);
}

.newsletter__note {
  font-size: 0.8rem;
  opacity: 0.65;
  margin: 0;
}

@media (max-width: 520px) {
  .newsletter__form {
    flex-direction: column;
  }
}

.homepage-reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.4vw, 28px);
}

@media (min-width: 750px) {
  .homepage-reviews__grid {
    grid-template-columns: repeat(var(--review-columns, 3), 1fr);
  }
}

.review-card {
  padding: 26px 26px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.section-bg--contrast .review-card,
.section-bg--subtle .review-card {
  background: var(--bg);
}

.review-card__rating {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}

.review-card__comment {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.02rem;
  margin: 0 0 14px;
}

.review-card__author {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.homepage-reviews__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  margin-block-start: 30px;
}

.homepage-reviews__count {
  color: var(--muted);
  margin: 0;
}

.homepage-reviews__owner-note {
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius-card);
  padding: 16px 22px;
  margin: 0;
}

.video-section__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-contrast);
}

.video-section__player,
.video-section__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-section__placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(100% 100% at 30% 20%, color-mix(in srgb, var(--accent) 40%, var(--brand)) 0%, transparent 55%),
    var(--bg-contrast);
}

/* --------------------------------------------------------------------------
   13. Product page
   -------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-block-end: 28px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.product {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

@media (min-width: 990px) {
  .product {
    grid-template-columns: 1.08fr 1fr;
  }

  .product--gallery-right .product__media {
    order: 2;
  }
}

.product-gallery__main {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-subtle);
}

.product-gallery__frame {
  display: none;
}

.product-gallery__frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-gallery__frame--placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  color: var(--text-light);
  letter-spacing: 0.08em;
  background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 80%, var(--brand-soft)) 0%, color-mix(in srgb, var(--brand) 50%, var(--accent)) 100%);
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 12px;
  margin-block-start: 14px;
}

.product-gallery__thumb {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.75;
  transition: border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.product-gallery__thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-gallery__thumb:hover {
  opacity: 1;
  border-color: var(--brand-soft);
}

.product__vendor {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.product__title {
  font-size: calc(2.3rem * var(--font-scale-heading) / 100);
  font-weight: 480;
  margin-block-end: 12px;
}

.product__rating {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 10px;
}

.product__price {
  margin-block: 10px 22px;
  font-size: 1.2em;
}

.product__form {
  margin-block: 22px;
  padding-block: 26px;
  border-block: 1px solid var(--border);
}

.variant-picker {
  margin-block-end: 20px;
}

.variant-picker__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: block;
  margin-block-end: 12px;
}

.variant-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-pill {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.variant-pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.variant-pill__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  font-size: 0.88rem;
  font-weight: 500;
  background: #ffffff;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.variant-pill:hover .variant-pill__label {
  border-color: var(--brand-soft);
}

.variant-pill input:checked + .variant-pill__label {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--btn-text);
}

.variant-pill input:focus-visible + .variant-pill__label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.variant-pill--unavailable .variant-pill__label {
  opacity: 0.4;
  text-decoration: line-through;
}

.variant-pill__modifier {
  font-size: 0.8em;
  opacity: 0.85;
}

.product__quantity {
  max-width: 220px;
}

.product__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-block: 22px 8px;
}

.product-share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-block-start: 26px;
}

.product-share__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-share__links {
  display: flex;
  gap: 6px;
}

.product-share__links a {
  display: grid;
  place-items: center;
  inline-size: 40px;
  block-size: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: inherit;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.product-share__links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.product__details {
  margin-block-start: clamp(32px, 5vw, 56px);
  padding-block-start: clamp(28px, 4vw, 44px);
  border-block-start: 1px solid var(--border);
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}

.product__description {
  max-width: 860px;
}

.product-reviews__summary {
  color: var(--muted);
  margin: 0 0 20px;
}

.product-reviews__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
  margin-block-end: 22px;
}

.product-reviews__empty {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   14. Collection page + filter bar
   -------------------------------------------------------------------------- */
.collection-header {
  margin-block-end: 30px;
}

.collection-header__title {
  font-size: calc(2.3rem * var(--font-scale-heading) / 100);
}

.collection-header__subtitle {
  color: var(--muted);
  margin: 0;
}

.collection-header__description {
  max-width: 720px;
  margin-block-start: 14px;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 20px;
  padding: 20px 22px;
  margin-block-end: 26px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.filter-bar__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-bar__label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.filter-bar__group .select,
.filter-bar__group .input {
  min-width: 176px;
}

.filter-bar__price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-bar__price .input {
  width: 112px;
}

.filter-bar__dash {
  color: var(--muted);
}

.filter-bar__clear {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.collection__count {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 22px;
}

/* Pagination (default_pagination output) */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-block-start: 40px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 44px;
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text);
  background: var(--bg);
  font-size: 0.85rem;
  font-weight: 500;
}

.pagination a:hover {
  border-color: var(--brand);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   15. Cart
   -------------------------------------------------------------------------- */
.cart-page__title {
  font-size: calc(2.1rem * var(--font-scale-heading) / 100);
}

.cart-page__count {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.62em;
  letter-spacing: 0.08em;
}

.cart-layout {
  display: grid;
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
}

@media (min-width: 990px) {
  .cart-layout {
    grid-template-columns: 1fr 390px;
  }
}

.cart-lines {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px 18px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

@media (min-width: 700px) {
  .cart-line {
    grid-template-columns: 100px 1fr 132px 110px;
    align-items: center;
  }
}

.cart-line__media img,
.cart-line__placeholder {
  inline-size: 88px;
  block-size: 88px;
  border-radius: var(--radius-card);
  object-fit: cover;
}

@media (min-width: 700px) {
  .cart-line__media img,
  .cart-line__placeholder {
    inline-size: 100px;
    block-size: 100px;
  }
}

.cart-line__placeholder {
  background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 80%, var(--brand-soft)) 0%, color-mix(in srgb, var(--brand) 50%, var(--accent)) 100%);
}

.cart-line__name {
  font-weight: 500;
  color: inherit;
}

.cart-line__name:hover {
  color: var(--accent);
}

.cart-line__variant {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 3px 0;
}

.cart-line__price {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.cart-line__remove {
  display: inline-block;
  margin-block-start: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--error);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cart-line__quantity .qty-input {
  width: 100%;
  max-width: none;
}

@media (max-width: 699px) {
  .cart-line__quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    grid-column: 1 / -1;
  }

  .cart-line__total {
    text-align: end;
    font-weight: 700;
    grid-column: 1 / -1;
  }
}

.cart-lines__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-block-start: 8px;
}

.cart-summary {
  position: sticky;
  inset-block-start: 104px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.cart-summary__heading {
  font-size: 1.35rem;
}

.cart-summary__coupon {
  margin-block-end: 18px;
}

.coupon {
  display: flex;
  gap: 8px;
}

.coupon .input {
  flex: 1;
  min-width: 0;
}

.coupon--applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 15px;
  background: var(--bg-subtle);
  border: 1px dashed var(--border);
  border-radius: var(--radius-input);
}

.coupon__code {
  font-weight: 700;
  letter-spacing: 0.06em;
}

.cart-summary__totals {
  margin: 0 0 20px;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-block: 10px;
  font-size: 0.95rem;
}

.cart-summary__row + .cart-summary__row {
  border-block-start: 1px solid var(--border);
}

.cart-summary__row--discount dd {
  color: var(--success);
  font-weight: 600;
}

.cart-summary__row--total {
  font-size: 1.1rem;
  font-weight: 700;
}

.cart-summary__row--total dt {
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.cart-summary__meta {
  margin-block-start: 16px;
  font-size: 0.86rem;
  color: var(--muted);
  text-align: center;
}

.cart-summary__meta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   16. Checkout
   -------------------------------------------------------------------------- */
.checkout-page__title {
  font-size: calc(2.1rem * var(--font-scale-heading) / 100);
}

.checkout-layout {
  display: grid;
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
}

@media (min-width: 990px) {
  .checkout-layout {
    grid-template-columns: 1fr 410px;
  }
}

.checkout-form__group {
  padding: 26px;
  margin-block-end: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.checkout-form__group legend {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 520;
  padding-inline-end: 12px;
  margin-block-end: 18px;
}

.payment-methods {
  display: grid;
  gap: 10px;
}

.payment-method {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.payment-method:hover {
  border-color: var(--brand-soft);
}

.payment-method:has(input:checked) {
  border-color: var(--brand);
  background: var(--bg-subtle);
}

.payment-method input {
  inline-size: 18px;
  block-size: 18px;
  accent-color: var(--brand);
}

.payment-method__label {
  font-weight: 600;
  font-size: 0.95rem;
}

.payment-method__description {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.85rem;
}

.checkout-app-surface {
  margin-block-start: 16px;
}

.checkout-summary {
  position: sticky;
  inset-block-start: 104px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.checkout-summary__heading {
  font-size: 1.35rem;
}

.checkout-summary__items {
  margin-block-end: 16px;
}

.checkout-summary__line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-block: 8px;
  font-size: 0.93rem;
}

.checkout-summary__qty {
  color: var(--muted);
}

.checkout-summary__totals {
  margin: 0;
}

.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-block: 10px;
  font-size: 0.95rem;
}

.checkout-summary__row + .checkout-summary__row {
  border-block-start: 1px solid var(--border);
}

.checkout-summary__row--discount dd {
  color: var(--success);
  font-weight: 600;
}

.checkout-summary__row--total {
  font-size: 1.1rem;
  font-weight: 700;
}

.checkout-summary__row--total dt {
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.checkout-page__back {
  display: inline-block;
  margin-block-start: 26px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.checkout-page__back:hover {
  color: var(--accent);
}

.checkout-success__inner {
  text-align: center;
  padding: clamp(32px, 6vw, 64px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.checkout-success__mark {
  display: inline-grid;
  place-items: center;
  inline-size: 72px;
  block-size: 72px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--success) 12%, transparent);
  color: var(--success);
  font-size: 2rem;
  font-weight: 800;
  margin-block-end: 18px;
}

.checkout-success__title {
  font-size: calc(1.9rem * var(--font-scale-heading) / 100);
}

.checkout-success__order {
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   17. Auth / account / search / 404 / page
   -------------------------------------------------------------------------- */
.auth {
  display: grid;
  place-items: center;
  padding: clamp(32px, 7vw, 88px) 0;
}

.auth__card {
  width: min(100%, 460px);
  padding: clamp(28px, 5vw, 48px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.auth__title {
  font-size: calc(1.8rem * var(--font-scale-heading) / 100);
  margin-block-end: 8px;
}

.auth__subtitle {
  color: var(--muted);
  margin-block-end: 22px;
}

.auth__form .btn {
  margin-block-start: 6px;
}

.auth__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  margin-block-start: 22px;
  font-size: 0.88rem;
}

.auth__links a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.account-page__card {
  padding: clamp(28px, 5vw, 48px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.account-page__title {
  font-size: calc(1.9rem * var(--font-scale-heading) / 100);
}

.account-page__welcome {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
}

.account-page__email {
  color: var(--muted);
}

.account-page__heading {
  font-size: 1.2rem;
  margin-block: 24px 10px;
  padding-block-start: 22px;
  border-block-start: 1px solid var(--border);
}

.account-page__order-count {
  color: var(--muted);
}

.account-page__order-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 14px;
}

.account-page__order {
  padding: 8px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.account-page__no-orders {
  color: var(--muted);
}

.account-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block-start: 28px;
}

.account-page__logout {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--error);
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-inline-start: auto;
}

.search-page__title {
  font-size: calc(2.1rem * var(--font-scale-heading) / 100);
}

.search-page__form {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin-block: 24px 30px;
}

.search-page__form .input {
  flex: 1;
}

.search-page__terms {
  color: var(--muted);
  margin-block-end: 22px;
}

.template-404__inner {
  text-align: center;
  padding: clamp(32px, 6vw, 64px);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.template-404__code {
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 13vw, 8rem);
  font-weight: 400;
  line-height: 1;
  margin: 0;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.template-404__title {
  margin-block-start: 10px;
}

.template-404__sub {
  color: var(--muted);
  max-width: 46ch;
  margin-inline: auto;
}

.template-404__form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 26px auto 20px;
}

.template-404__form .input {
  flex: 1;
}

.template-404__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.template-page__title {
  font-size: calc(2.2rem * var(--font-scale-heading) / 100);
}

.template-page__content {
  margin-block-start: 22px;
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: var(--footer-padding-y, 72px) 28px;
}

.site-footer--contrast {
  background: var(--bg-contrast);
  color: var(--text-light);
}

.site-footer--subtle {
  background: var(--bg-subtle);
  color: var(--text);
}

.site-footer--default {
  background: var(--bg);
  color: var(--text);
}

.site-footer a:hover {
  opacity: 0.72;
}

.footer__wordmark {
  text-align: center;
  margin-block-end: clamp(36px, 5vw, 56px);
}

.footer__wordmark-text {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 520;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.footer__wordmark-rule {
  inline-size: 56px;
  block-size: 1px;
  margin-inline: auto;
  background: color-mix(in srgb, currentColor 40%, transparent);
}

.footer__tagline {
  margin: 14px 0 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  color: color-mix(in srgb, currentColor 65%, transparent);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
  padding-block-end: 40px;
}

@media (min-width: 900px) {
  .footer__cols {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.footer-col__heading {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-block-end: 18px;
}

.footer-col__links li + li {
  margin-block-start: 11px;
}

.footer-col__links a {
  font-size: 0.92rem;
  opacity: 0.85;
}

.footer-col__text {
  font-size: 0.92rem;
  opacity: 0.85;
}

.footer-col__empty {
  font-size: 0.85rem;
  opacity: 0.55;
  margin: 0;
}

.footer-col--newsletter .newsletter__form {
  margin: 16px 0 0;
  max-width: 340px;
}

.footer-col--newsletter .newsletter__form .input {
  background: transparent;
  border-color: color-mix(in srgb, currentColor 28%, transparent);
  color: inherit;
}

.footer-col--newsletter .newsletter__form .input::placeholder {
  color: color-mix(in srgb, currentColor 50%, transparent);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-links a {
  display: grid;
  place-items: center;
  inline-size: 42px;
  block-size: 42px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, currentColor 26%, transparent);
}

.social-links a:hover {
  background: color-mix(in srgb, currentColor 10%, transparent);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block-start: 24px;
  border-block-start: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.footer__copyright,
.footer__note {
  margin: 0;
}

.footer__empty {
  opacity: 0.6;
  text-align: center;
}

/* --------------------------------------------------------------------------
   19. Custom content
   -------------------------------------------------------------------------- */
.custom-content__html > :first-child,
.custom-content__liquid > :first-child {
  margin-block-start: 0;
}

.custom-content__html > :last-child,
.custom-content__liquid > :last-child {
  margin-block-end: 0;
}

/* --------------------------------------------------------------------------
   20. Motion & accessibility preferences
   -------------------------------------------------------------------------- */
.no-animations *,
.no-animations *::before,
.no-animations *::after {
  transition: none !important;
  animation: none !important;
  scroll-behavior: auto !important;
}

.no-animations .announcement--marquee .announcement__track {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   21. RTL refinements (Urdu and other RTL locales)
   -------------------------------------------------------------------------- */
[dir="rtl"] .hero__arrow .icon,
[dir="rtl"] .section__cta span {
  scale: -1 1;
}

[dir="rtl"] .select {
  background-position: calc(19px) 50%, calc(14px) 50%;
}

/* --------------------------------------------------------------------------
   22. Product gallery (CSS-only image switcher, supports up to 12 images)
   -------------------------------------------------------------------------- */
.product-gallery__input:nth-of-type(1):checked ~ .product-gallery__main .product-gallery__frame:nth-child(1) {
  display: block;
}
.product-gallery__input:nth-of-type(1):checked ~ .product-gallery__thumbs .product-gallery__thumb:nth-child(1) {
  border-color: var(--brand);
  opacity: 1;
}
.product-gallery__input:nth-of-type(2):checked ~ .product-gallery__main .product-gallery__frame:nth-child(2) {
  display: block;
}
.product-gallery__input:nth-of-type(2):checked ~ .product-gallery__thumbs .product-gallery__thumb:nth-child(2) {
  border-color: var(--brand);
  opacity: 1;
}
.product-gallery__input:nth-of-type(3):checked ~ .product-gallery__main .product-gallery__frame:nth-child(3) {
  display: block;
}
.product-gallery__input:nth-of-type(3):checked ~ .product-gallery__thumbs .product-gallery__thumb:nth-child(3) {
  border-color: var(--brand);
  opacity: 1;
}
.product-gallery__input:nth-of-type(4):checked ~ .product-gallery__main .product-gallery__frame:nth-child(4) {
  display: block;
}
.product-gallery__input:nth-of-type(4):checked ~ .product-gallery__thumbs .product-gallery__thumb:nth-child(4) {
  border-color: var(--brand);
  opacity: 1;
}
.product-gallery__input:nth-of-type(5):checked ~ .product-gallery__main .product-gallery__frame:nth-child(5) {
  display: block;
}
.product-gallery__input:nth-of-type(5):checked ~ .product-gallery__thumbs .product-gallery__thumb:nth-child(5) {
  border-color: var(--brand);
  opacity: 1;
}
.product-gallery__input:nth-of-type(6):checked ~ .product-gallery__main .product-gallery__frame:nth-child(6) {
  display: block;
}
.product-gallery__input:nth-of-type(6):checked ~ .product-gallery__thumbs .product-gallery__thumb:nth-child(6) {
  border-color: var(--brand);
  opacity: 1;
}
.product-gallery__input:nth-of-type(7):checked ~ .product-gallery__main .product-gallery__frame:nth-child(7) {
  display: block;
}
.product-gallery__input:nth-of-type(7):checked ~ .product-gallery__thumbs .product-gallery__thumb:nth-child(7) {
  border-color: var(--brand);
  opacity: 1;
}
.product-gallery__input:nth-of-type(8):checked ~ .product-gallery__main .product-gallery__frame:nth-child(8) {
  display: block;
}
.product-gallery__input:nth-of-type(8):checked ~ .product-gallery__thumbs .product-gallery__thumb:nth-child(8) {
  border-color: var(--brand);
  opacity: 1;
}
.product-gallery__input:nth-of-type(9):checked ~ .product-gallery__main .product-gallery__frame:nth-child(9) {
  display: block;
}
.product-gallery__input:nth-of-type(9):checked ~ .product-gallery__thumbs .product-gallery__thumb:nth-child(9) {
  border-color: var(--brand);
  opacity: 1;
}
.product-gallery__input:nth-of-type(10):checked ~ .product-gallery__main .product-gallery__frame:nth-child(10) {
  display: block;
}
.product-gallery__input:nth-of-type(10):checked ~ .product-gallery__thumbs .product-gallery__thumb:nth-child(10) {
  border-color: var(--brand);
  opacity: 1;
}
.product-gallery__input:nth-of-type(11):checked ~ .product-gallery__main .product-gallery__frame:nth-child(11) {
  display: block;
}
.product-gallery__input:nth-of-type(11):checked ~ .product-gallery__thumbs .product-gallery__thumb:nth-child(11) {
  border-color: var(--brand);
  opacity: 1;
}
.product-gallery__input:nth-of-type(12):checked ~ .product-gallery__main .product-gallery__frame:nth-child(12) {
  display: block;
}
.product-gallery__input:nth-of-type(12):checked ~ .product-gallery__thumbs .product-gallery__thumb:nth-child(12) {
  border-color: var(--brand);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   23. Style controls — every heading, text and image obeys the settings
   -------------------------------------------------------------------------- */
body {
  line-height: var(--body-lh, 1.65);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--h-weight, 500);
  font-style: var(--h-style, normal);
  text-transform: var(--h-case, none);
  letter-spacing: var(--h-spacing, -0.005em);
  line-height: var(--h-lh, 1.15);
}

.section__heading {
  font-size: var(--h-size, calc(1.9rem * var(--font-scale-heading) / 100));
  font-weight: var(--h-weight, 480);
  font-family: var(--h-font, var(--font-heading));
  font-style: var(--h-style, normal);
  text-transform: var(--h-case, none);
  letter-spacing: var(--h-spacing, -0.005em);
  line-height: var(--h-lh, 1.14);
  color: var(--h-color, inherit);
}

.section__subheading {
  font-size: var(--t-size, 0.98rem);
  line-height: var(--t-lh, 1.65);
}

.section__header--right .section__kicker {
  justify-content: flex-end;
}

.collection-header__title,
.search-page__title {
  font-size: var(--h-size, calc(2.3rem * var(--font-scale-heading) / 100));
  font-weight: var(--h-weight, 480);
  font-family: var(--h-font, var(--font-heading));
  font-style: var(--h-style, normal);
  text-transform: var(--h-case, none);
  letter-spacing: var(--h-spacing, -0.005em);
  line-height: var(--h-lh, 1.14);
  color: var(--h-color, inherit);
}

.rich-text__body {
  font-size: var(--t-size, 1rem);
  line-height: var(--t-lh, 1.65);
}

.iwt__text {
  font-size: var(--t-size, 1rem);
  line-height: var(--t-lh, 1.65);
}

.iwt__image {
  aspect-ratio: var(--iwt-ratio, 4/5);
  object-fit: var(--iwt-fit, cover);
}

.iwt__placeholder {
  aspect-ratio: var(--iwt-ratio, 4/5);
}

.spotlight__title {
  font-size: var(--h-size, calc(2rem * var(--font-scale-heading) / 100));
  font-weight: var(--h-weight, 480);
  font-family: var(--h-font, var(--font-heading));
  font-style: var(--h-style, normal);
  text-transform: var(--h-case, none);
  letter-spacing: var(--h-spacing, -0.005em);
  line-height: var(--h-lh, 1.14);
  color: var(--h-color, inherit);
}

.spotlight__description {
  font-size: var(--t-size, 1rem);
  line-height: var(--t-lh, 1.65);
}

.spotlight__image {
  aspect-ratio: var(--spot-ratio, 4/5);
  object-fit: var(--spot-fit, cover);
}

.spotlight__placeholder {
  aspect-ratio: var(--spot-ratio, 4/5);
}

.faq__question {
  font-size: var(--q-size, 1.12rem);
}

.testimonial__quote {
  font-size: var(--quote-size, 1.12rem);
}

.product-card__title {
  font-size: var(--card-title-size, 0.95rem);
}

.product-card__image {
  object-fit: var(--card-image-fit, cover);
}

.collection-card__image {
  object-fit: var(--col-fit, cover);
}

.product-gallery__frame img {
  object-fit: var(--gallery-fit, cover);
}

.product__title {
  font-size: var(--pt-size, calc(2.3rem * var(--font-scale-heading) / 100));
  font-weight: var(--pt-weight, 480);
  font-family: var(--pt-font, var(--font-heading));
}

.hero__heading {
  font-size: calc(clamp(2.5rem, 5.8vw, 4.6rem) * var(--hero-h-scale, 1));
  font-weight: var(--h-weight, 460);
  text-transform: var(--h-case, none);
  letter-spacing: var(--h-spacing, -0.01em);
}

/* --------------------------------------------------------------------------
   24. Gallery — bento grid with mixed box sizes
   -------------------------------------------------------------------------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(var(--gallery-columns, 4), 1fr);
  grid-auto-rows: var(--gallery-row, 220px);
  grid-auto-flow: dense;
  gap: var(--gallery-gap, 14px);
}

.gallery__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item--full {
  grid-column: 1 / -1;
  grid-row: span 2;
}

.gallery__media {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--bg-subtle);
  display: block;
  min-height: 0;
}

.gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery--zoom .gallery__image {
  transition: scale 0.6s var(--ease);
}

.gallery--zoom .gallery__media:hover .gallery__image {
  scale: 1.05;
}

.gallery__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 80%, var(--brand-soft)) 0%, color-mix(in srgb, var(--brand) 50%, var(--accent)) 100%);
}

.gallery__caption--below {
  padding-block-start: 9px;
  font-size: 0.8rem;
  color: var(--muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.gallery__caption--overlay {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  padding: 44px 16px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-light);
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--gallery-overlay, #100d0a) calc(var(--gallery-overlay-opacity, 55) * 1%), transparent),
    transparent
  );
}

@media (max-width: 749px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   25. Banner — full-width call to action
   -------------------------------------------------------------------------- */
.banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 15% 20%, color-mix(in srgb, var(--accent) 40%, var(--brand)) 0%, transparent 55%),
    radial-gradient(120% 140% at 85% 85%, color-mix(in srgb, var(--brand) 78%, var(--brand-soft)) 0%, transparent 60%),
    var(--bg-contrast);
  color: var(--text-light);
}

.banner__media,
.banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.banner__image {
  object-fit: cover;
}

.banner__overlay {
  position: absolute;
  inset: 0;
  background: var(--banner-overlay, #100d0a);
  opacity: var(--banner-overlay-opacity, 40%);
}

.banner__content {
  position: relative;
  z-index: 2;
  display: grid;
  padding: clamp(26px, 6vw, 72px);
}

.banner--small .banner__content {
  min-height: 320px;
}

.banner--medium .banner__content {
  min-height: 420px;
}

.banner--large .banner__content {
  min-height: 560px;
}

.banner--full .banner__content {
  min-height: 86vh;
}

.banner__content--left {
  justify-items: start;
  text-align: start;
}

.banner__content--center {
  justify-items: center;
  text-align: center;
}

.banner__content--right {
  justify-items: end;
  text-align: end;
}

.banner__content--dark {
  color: var(--text);
}

.banner__content-inner {
  max-width: var(--banner-content-w, 640px);
}

.banner__kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-block-end: 18px;
}

.banner__content--left .banner__kicker {
  justify-content: flex-start;
}

.banner__content--right .banner__kicker {
  justify-content: flex-end;
}

.banner__kicker::before,
.banner__kicker::after {
  content: "";
  inline-size: 36px;
  block-size: 1px;
  background: currentColor;
  opacity: 0.55;
}

.banner__heading {
  font-size: var(--h-size, 2.75rem);
  font-weight: var(--h-weight, 480);
  font-family: var(--h-font, var(--font-heading));
  font-style: var(--h-style, normal);
  text-transform: var(--h-case, none);
  letter-spacing: var(--h-spacing, -0.005em);
  line-height: var(--h-lh, 1.14);
  color: var(--h-color, inherit);
  margin-block-end: 0.4em;
}

.banner__subheading {
  font-size: var(--t-size, 1.05rem);
  line-height: var(--t-lh, 1.65);
  opacity: 0.94;
  max-width: 52ch;
  margin-block-end: 32px;
}

.banner__content--left .banner__subheading,
.banner__content--right .banner__subheading {
  margin-inline-end: 0;
}

.banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.banner__content--center .banner__actions {
  justify-content: center;
}


/* --------------------------------------------------------------------------
   26. Reels — portrait strip, looping horizontally, pausing on hover
   -------------------------------------------------------------------------- */
.ar-reels {
  position: relative;
}

.ar-pad-md {
  padding-block: 72px;
}

.ar-reels .section__header {
  padding-inline: clamp(20px, 5vw, 72px);
  margin-block-end: 30px;
}

.ar-reels .section__kicker {
  color: var(--k-color, var(--gold, #b08b4f));
  font-size: calc(1em * var(--k-scale, 1));
  font-weight: var(--k-weight, 600);
  text-transform: var(--k-transform, uppercase);
}

.ar-reels .section__heading {
  color: var(--h-color, currentColor);
  font-size: calc(1em * var(--h-scale, 1));
  font-weight: var(--h-weight, 500);
  font-style: var(--h-style, normal);
  text-transform: var(--h-transform, none);
}

.ar-reels .section__subheading {
  color: var(--b-color, rgba(244, 241, 234, 0.72));
  font-size: calc(1em * var(--b-scale, 1));
  font-weight: var(--b-weight, 400);
  font-style: var(--b-style, normal);
}

.ar-reels .btn,
.ar-reels .section__cta {
  background: var(--btn-bg, transparent);
  color: var(--btn-text, var(--gold, #b08b4f));
  border-color: var(--btn-border, transparent);
}

.ar-reels .btn:hover,
.ar-reels .section__cta:hover {
  background: var(--btn-hover-bg, transparent);
  color: var(--btn-hover-text, var(--gold, #b08b4f));
  border-color: var(--btn-hover-border, transparent);
}

.ar-reels__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.ar-reels__rail {
  display: flex;
  width: max-content;
  animation: aurelia-reels 40s linear infinite;
}

.ar-reels__viewport:hover .ar-reels__rail {
  animation-play-state: paused;
}

.ar-reels__group {
  display: flex;
  gap: 14px;
  padding-inline-end: 14px;
}

@keyframes aurelia-reels {
  to {
    transform: translateX(-50%);
  }
}

[dir="rtl"] .ar-reels__rail {
  animation-name: aurelia-reels-rtl;
}

@keyframes aurelia-reels-rtl {
  to {
    transform: translateX(50%);
  }
}

.ar-reel {
  position: relative;
  flex: none;
  width: clamp(200px, 26vw, 260px);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-card, 14px);
  overflow: hidden;
  background-color: #14110e;
  background-position: center;
  background-repeat: no-repeat;
}

.ar-reel video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ar-reel__embed {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ar-reel__embed iframe,
.ar-reel__embed video,
.ar-reel__embed object {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.ar-reel__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 9, 7, 0.82), rgba(12, 9, 7, 0.06) 46%, rgba(12, 9, 7, 0.3));
  pointer-events: none;
}

.ar-reel__index {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.85);
}

.ar-reel__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #ffffff;
}

.ar-reel__playmark {
  inline-size: 66px;
  block-size: 66px;
  border-radius: 50%;
  background: rgba(14, 11, 8, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  font-size: 18px;
  padding-inline-start: 4px;
  transition: scale 0.22s var(--ease, ease), background-color 0.22s var(--ease, ease);
}

.ar-reel__play:hover .ar-reel__playmark {
  scale: 1.08;
  background: rgba(14, 11, 8, 0.75);
}

.ar-reel__body {
  position: absolute;
  inset-inline: 16px;
  inset-block-end: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ar-reel__tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ar-reel__title {
  margin: 0;
  font-family: var(--font-heading, Georgia, serif);
  font-size: calc(20px * var(--ar-title-scale, 1));
  line-height: 1.25;
  font-weight: 500;
}

.ar-reel__price {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: rgba(244, 241, 234, 0.94);
}

.ar-reel__cta {
  margin-block-start: 4px;
  align-self: flex-start;
}

.ar-link-underline {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  text-underline-offset: 4px;
  transition: color 0.2s var(--ease, ease), text-decoration-color 0.2s var(--ease, ease);
}

.ar-link-underline:hover {
  color: var(--gold, #b08b4f);
  text-decoration-color: currentColor;
}

.ar-plp__chips {
  margin: 20px 0 0;
  text-align: center;
}

.no-animations .ar-reels__rail {
  animation: none;
}

.no-animations .ar-reels__viewport {
  overflow-x: auto;
}

.no-animations .ar-reels__group[aria-hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .ar-reels__rail {
    animation: none;
  }

  .ar-reels__viewport {
    overflow-x: auto;
  }

  .ar-reels__group[aria-hidden] {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   27. Play badge (video link cards + reels)
   -------------------------------------------------------------------------- */
.play-badge {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  translate: -50% -50%;
  z-index: 2;
  inline-size: 72px;
  block-size: 72px;
  border-radius: 50%;
  background: rgba(16, 13, 10, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  transition: scale 0.22s var(--ease), background-color 0.22s var(--ease);
}

.play-badge::after {
  content: "";
  margin-inline-start: 5px;
  border-block-start: 12px solid transparent;
  border-block-end: 12px solid transparent;
  border-inline-start: 20px solid #ffffff;
}

a:hover .play-badge {
  scale: 1.08;
  background: rgba(16, 13, 10, 0.72);
}

[dir="rtl"] .play-badge {
  scale: -1 1;
}

.video-section__link-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
