/* ═══════════════════════════════════════════════════════════════
   You Name It — Premium Homepage v1 (Sprint 9 Phase 1)
   Winning overlay layer for the homepage (linked LAST on index.html).

   Layering context (index.html):
     store.css → premium-polish → premium-redesign →
     premium-storefront-v3 → shopify-home → tailwind-local →
     premium-pricing → **premium-homepage-v1 (this file, last)**

   Rules here override shopify-home for `.hero--premium`,
   `.category-showcase--bento`, `.curated-for-you--premium`, etc.,
   so homepage-only refinements belong in this file — NOT in
   premium-pricing.css (product-page scope) and NOT in
   premium-storefront-v3.css (loses to shopify-home by load order).

   Principles:
     - Reuse existing tokens (--st-*, --color-*, --sh-*, --font-display).
     - Logical properties for RTL. Respect [data-theme="dark"].
     - Respect prefers-reduced-motion.
     - Never removes classes; never drops CMS config fields.

   1.10 will consolidate RTL / reduced-motion / perf here.
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   1.1 HEADER — scrolled premium state + CMS nav list
   ═══════════════════════════════════════════════════════════════ */

.store-header {
  transition: background 0.3s var(--sh-ease), box-shadow 0.3s var(--sh-ease),
    backdrop-filter 0.3s var(--sh-ease);
}

/* Scrolled state (class toggled by initHeaderScrollState in store.js) */
.store-header.is-scrolled {
  background: rgba(250, 248, 244, 0.92);
  box-shadow: 0 10px 40px rgba(28, 15, 8, 0.09), 0 1px 0 rgba(61, 41, 20, 0.05);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
}

[data-theme="dark"] .store-header.is-scrolled {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* CMS-injected nav items (#nav-header-list built by applyHeaderToDocument)
   — styled to match the native `.store-nav > a` links */
.store-nav #nav-header-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.store-nav #nav-header-list li {
  display: inline-flex;
}

.store-nav #nav-header-list a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  color: var(--st-muted);
  font-weight: 500;
  font-size: 0.94rem;
  text-decoration: none;
  transition: background 0.2s var(--sh-ease), color 0.2s var(--sh-ease);
}

.store-nav #nav-header-list a:hover {
  background: rgba(250, 247, 242, 0.8);
  color: var(--st-chocolate);
}

/* Active page states for CMS nav items (mirrors native rules) */
[data-store-page="home"] .store-nav #nav-header-list a[href="index.html"],
[data-store-page="shop"] .store-nav #nav-header-list a[href="products.html"],
[data-store-page="cart"] .store-nav #nav-header-list a[href="cart.html"] {
  background: var(--st-accent-soft);
  color: var(--st-accent);
  font-weight: 600;
}

[data-theme="dark"] .store-nav #nav-header-list a {
  color: var(--st-muted);
}

[data-theme="dark"] .store-nav #nav-header-list a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
}

[data-theme="dark"] .store-nav #nav-header-list a[href="index.html"],
[data-theme="dark"] .store-nav #nav-header-list a[href="products.html"],
[data-theme="dark"] .store-nav #nav-header-list a[href="cart.html"] {
  background: rgba(201, 169, 110, 0.14);
  color: var(--color-primary, #c9a96e);
}

/* Prevent link text wrapping / overflow in the crowded nav band */
.store-nav,
.store-nav > a,
.store-nav__trigger {
  white-space: nowrap;
}

/* Tablet-landscape compaction band: nav + actions + social get dense
   between the nav show-breakpoint (900px) and comfortable width (1120px) */
@media (min-width: 900px) and (max-width: 1120px) {
  .store-header__inner {
    gap: 0.6rem;
  }

  .store-nav {
    margin-inline-start: 1rem;
    gap: 0.1rem;
  }

  .store-nav > a,
  .store-nav__trigger,
  .store-nav #nav-header-list a {
    padding: 0.45rem 0.6rem;
    font-size: 0.88rem;
  }

  .store-nav .btn-special-order,
  .store-nav .btn-track-order {
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
  }

  /* Social icons in the nav are decorative (drawer carries the links);
     hide in the dense band to protect the primary nav items */
  .store-header__social--nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-header,
  .store-nav > a,
  .store-nav__trigger,
  .store-nav #nav-header-list a {
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   1.2 HERO — transitions, skeleton shimmer, reduced-motion,
       mobile srcset (desktop → desktop, mobile → mobile)
   ═══════════════════════════════════════════════════════════════ */

/* GPU-only image transitions: transform + opacity, no layout. */
.hero__frame--zoom .hero__img--ready {
  transform: scale(1.02);
  animation: heroZoomIn 0.7s var(--sh-ease) forwards;
}
.hero__frame--fade .hero__img--ready {
  animation: heroFadeIn 0.6s ease forwards;
}
.hero__frame--flip .hero__img--ready {
  animation: heroFlipIn 0.7s var(--sh-ease) forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes heroZoomIn {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1.02); }
}
@keyframes heroFlipIn {
  from { opacity: 0; transform: perspective(1200px) rotateY(8deg) scale(1.03); }
  to { opacity: 1; transform: perspective(1200px) rotateY(0deg) scale(1); }
}

/* Skeleton shimmer — GPU (transform-only), sits beneath the image. */
.hero__skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, var(--color-cream) 0%, var(--color-cream-dark) 45%, var(--color-cream) 90%);
  background-size: 200% 100%;
  overflow: hidden;
  pointer-events: none;
}
.hero__skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: heroShimmer 1.5s ease-in-out infinite;
}
@keyframes heroShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Dark mode: keep the pre-load frame/skeleton low-key so first paint
   doesn't flash a bright cream block behind a fading image. */
[data-theme="dark"] .hero__frame {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}
[data-theme="dark"] .hero__skeleton {
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
}
[data-theme="dark"] .hero__skeleton::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

/* Let long localized eyebrow pills wrap instead of overflowing. */
.hero__eyebrow {
  white-space: normal;
}

/* Mobile hero band polish. */
@media (max-width: 430px) {
  .hero {
    padding: 1.25rem 0.85rem 2rem;
  }
  .hero--premium .hero__frame {
    border-radius: 18px;
  }
  .hero--premium .hero__cta {
    gap: 0.6rem;
  }
}

/* Reduced motion: kill auto-animation, scale and fade; keep content. */
@media (prefers-reduced-motion: reduce) {
  .hero__frame--zoom .hero__img--ready,
  .hero__frame--fade .hero__img--ready,
  .hero__frame--flip .hero__img--ready {
    animation: none !important;
    transform: none !important;
  }
  .hero__skeleton,
  .hero__skeleton::after {
    animation: none !important;
  }
  .hero__skeleton::after {
    opacity: 0.35;
  }
  .hero__img {
    transition: none !important;
  }
  .hero__content,
  .hero__visual,
  .hero__eyebrow {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero--premium .hero__frame:hover .hero__img {
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   1.3  HOMEPAGE CATEGORIES  —  premium, count-aware, CMS-driven
   Replaces the legacy 4-card-only bento layout. Grid adapts to the
   actual number of rendered cards (1–9 via .category-grid--N).
   ══════════════════════════════════════════════════════════════════ */

/* Kill the fixed bento template + its nth-child placements. */
.category-showcase--bento .category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
}
.category-showcase--bento .category-grid > .category-card:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}

/* Count-aware templates. */
.category-showcase--bento .category-grid--1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  max-width: 30rem;
  margin-inline: auto;
  gap: 1rem;
}
.category-showcase--bento .category-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 54rem;
  margin-inline: auto;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .category-showcase--bento .category-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .category-showcase--bento .category-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
  .category-showcase--bento .category-grid--5,
  .category-showcase--bento .category-grid--6,
  .category-showcase--bento .category-grid--7,
  .category-showcase--bento .category-grid--8,
  .category-showcase--bento .category-grid--9 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}
@media (min-width: 640px) and (max-width: 899px) {
  .category-showcase--bento .category-grid--3,
  .category-showcase--bento .category-grid--4,
  .category-showcase--bento .category-grid--5,
  .category-showcase--bento .category-grid--6,
  .category-showcase--bento .category-grid--7,
  .category-showcase--bento .category-grid--8,
  .category-showcase--bento .category-grid--9 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}
@media (max-width: 639px) {
  .category-showcase--bento .category-grid--3,
  .category-showcase--bento .category-grid--4,
  .category-showcase--bento .category-grid--5,
  .category-showcase--bento .category-grid--6,
  .category-showcase--bento .category-grid--7,
  .category-showcase--bento .category-grid--8,
  .category-showcase--bento .category-grid--9 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

/* Odd counts end with a full-width editorial card (2-col modes only). */
@media (min-width: 640px) and (max-width: 899px) {
  .category-showcase--bento .category-grid--3 > .category-card:nth-child(3),
  .category-showcase--bento .category-grid--5 > .category-card:nth-child(5),
  .category-showcase--bento .category-grid--7 > .category-card:nth-child(7),
  .category-showcase--bento .category-grid--9 > .category-card:nth-child(9) {
    grid-column: 1 / -1;
  }
}
@media (max-width: 639px) {
  .category-showcase--bento .category-grid--3 > .category-card:nth-child(3),
  .category-showcase--bento .category-grid--5 > .category-card:nth-child(5),
  .category-showcase--bento .category-grid--7 > .category-card:nth-child(7),
  .category-showcase--bento .category-grid--9 > .category-card:nth-child(9) {
    grid-column: 1 / -1;
  }
}

/* ── Card ── */
.category-showcase--bento .category-card {
  position: relative;
  display: block;
  aspect-ratio: auto;
  flex-direction: initial;
  align-items: initial;
  justify-content: initial;
  gap: 0;
  padding: 0;
  text-align: start;
  border-radius: var(--radius-xl, 20px);
  background: var(--st-surface, #fdfbf7);
  border: 1px solid var(--st-border, rgba(61, 41, 20, 0.1));
  box-shadow: 0 1px 2px rgba(44, 24, 16, 0.04), 0 12px 32px -12px rgba(44, 24, 16, 0.12);
  overflow: hidden;
  transition: transform 0.45s var(--sh-ease), box-shadow 0.45s var(--sh-ease), border-color 0.45s var(--sh-ease);
}
.category-showcase--bento .category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 8px rgba(44, 24, 16, 0.06), 0 26px 48px -16px rgba(44, 24, 16, 0.22);
  border-color: var(--st-primary, #c9a96e);
}
.category-showcase--bento .category-card:focus-visible {
  outline: 2px solid var(--st-primary, #c9a96e);
  outline-offset: 3px;
}

/* ── Media ── */
.category-showcase--bento .category-card__image-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 15% 10%, var(--color-primary-bg, rgba(139, 105, 20, 0.14)), transparent 55%),
    var(--st-surface, #fdfbf7);
}
.category-showcase--bento .category-card:first-child .category-card__image-wrapper {
  height: auto;
}
.category-showcase--bento .category-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 0.7s var(--sh-ease);
}
.category-showcase--bento .category-card__image.is-loaded {
  opacity: 1;
  transform: scale(1);
}
.category-showcase--bento .category-card:hover .category-card__image {
  transform: scale(1.07);
}

/* ── Skeleton ── */
.category-showcase--bento .category-card__image-skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg,
      var(--st-surface, #fdfbf7) 40%,
      var(--color-primary-soft, rgba(139, 105, 20, 0.14)) 50%,
      var(--st-surface, #fdfbf7) 60%);
  background-size: 200% 100%;
  animation: categoryShimmer 1.5s linear infinite;
}
@keyframes categoryShimmer {
  to { background-position: -200% 0; }
}

/* ── Featured badge ── */
.category-showcase--bento .category-card__featured {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.75rem;
  z-index: 2;
  background: var(--featured-color, var(--st-primary, #c9a96e));
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(44, 24, 16, 0.18);
}
.category-showcase--bento .category-card--featured {
  box-shadow: 0 0 0 1px var(--color-primary-soft, rgba(139, 105, 20, 0.14)), 0 12px 32px -14px rgba(44, 24, 16, 0.16);
}

/* ── Content: overlay on images, stacked block when no image ── */
.category-showcase--bento .category-card--with-image .category-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.4rem 1rem 0.9rem;
  border: none;
  text-align: start;
  background: linear-gradient(180deg, transparent 0%, rgba(24, 12, 6, 0.78) 80%);
}
.category-showcase--bento .category-card__title {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.category-showcase--bento .category-card__count {
  margin-top: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.category-showcase--bento .category-card--with-image .category-card__title {
  color: #fff;
  text-shadow: 0 2px 12px rgba(20, 10, 4, 0.35);
}
.category-showcase--bento .category-card--with-image .category-card__count {
  color: rgba(255, 255, 255, 0.78);
}
.category-showcase--bento .category-card:not(.category-card--with-image) .category-card__content {
  position: relative;
  padding: 1.1rem 1rem;
  text-align: center;
}
.category-showcase--bento .category-card:not(.category-card--with-image) .category-card__title {
  color: var(--st-chocolate, #2c1810);
}
.category-showcase--bento .category-card:not(.category-card--with-image) .category-card__count {
  color: var(--st-muted, #9a8478);
}

/* ── Section eyebrow (localized "Our Menu") ── */
.sh-section__eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-primary, #c9a96e);
  margin-bottom: 0.6rem;
}

/* ── Dark mode ── */
[data-theme="dark"] .category-showcase--bento .category-card {
  background: var(--st-surface, #201812);
  border-color: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .category-showcase--bento .category-card__image-wrapper {
  background:
    radial-gradient(120% 120% at 15% 10%, var(--color-primary-bg, rgba(201, 169, 110, 0.14)), transparent 55%),
    var(--st-surface, #201812);
}
[data-theme="dark"] .category-showcase--bento .category-card:not(.category-card--with-image) .category-card__title {
  color: #f7efe4;
}
[data-theme="dark"] .category-showcase--bento .category-card:not(.category-card--with-image) .category-card__count {
  color: rgba(247, 239, 228, 0.6);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .category-showcase--bento .category-card,
  .category-showcase--bento .category-card__image {
    transition: none;
  }
  .category-showcase--bento .category-card:hover {
    transform: none;
  }
  .category-showcase--bento .category-card:hover .category-card__image {
    transform: none;
  }
  .category-showcase--bento .category-card__image.is-loaded {
    opacity: 1;
  }
  .category-showcase--bento .category-card__image-skeleton {
    animation: none;
  }
}

/* ══════════════════════════════════════════════════════════════════
   1.4  HOMEPAGE FEATURED PRODUCTS  —  "Curated for You"
   Items that reference a real product are rendered through the shared
   renderProductCard (pricing, variants, badges, rating, wishlist and
   CTA all come from the existing engines — StorePricing, ReviewsStore,
   Wishlist, cart). Items without a matching product keep the editorial
   fallback card. Everything below is scoped to .curated-for-you--premium
   so shop, search, related and recently-viewed grids are untouched.
   ══════════════════════════════════════════════════════════════════ */

.curated-for-you--premium .curated-for-you__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0 0.85rem;
}
@media (min-width: 640px) {
  .curated-for-you--premium .curated-for-you__track {
    gap: 1rem;
  }
}
@media (min-width: 900px) {
  .curated-for-you--premium .curated-for-you__track {
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 1.25rem;
    padding: 0 1.25rem;
  }
}

/* ── Real product cards (shared renderer) ── */
.curated-for-you--premium .product-card {
  height: 100%;
  border: 1px solid var(--st-border, rgba(61, 41, 20, 0.1));
  border-radius: var(--radius-xl, 20px);
  box-shadow: 0 1px 2px rgba(44, 24, 16, 0.04), 0 12px 32px -12px rgba(44, 24, 16, 0.12);
  transition: transform 0.45s var(--sh-ease), box-shadow 0.45s var(--sh-ease), border-color 0.45s var(--sh-ease);
}
.curated-for-you--premium .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 8px rgba(44, 24, 16, 0.06), 0 26px 48px -16px rgba(44, 24, 16, 0.22);
  border-color: var(--st-primary, #c9a96e);
}
.curated-for-you--premium .product-card:focus-within {
  outline: 2px solid var(--st-primary, #c9a96e);
  outline-offset: 2px;
}
.curated-for-you--premium .product-card__media {
  border-radius: var(--radius-xl, 20px) var(--radius-xl, 20px) 0 0;
}
@media (min-width: 480px) {
  .curated-for-you--premium .product-card__body {
    padding: 0.9rem 1rem 1rem;
  }
}

/* ── Editorial fallback cards ── */
.curated-for-you--premium .curated-for-you__card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--st-border, rgba(61, 41, 20, 0.1));
  border-radius: var(--radius-xl, 20px);
  box-shadow: 0 1px 2px rgba(44, 24, 16, 0.04), 0 12px 32px -12px rgba(44, 24, 16, 0.12);
  transition: transform 0.45s var(--sh-ease), box-shadow 0.45s var(--sh-ease), border-color 0.45s var(--sh-ease);
}
.curated-for-you--premium .curated-for-you__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 8px rgba(44, 24, 16, 0.06), 0 26px 48px -16px rgba(44, 24, 16, 0.22);
  border-color: var(--st-primary, #c9a96e);
}
.curated-for-you--premium .curated-for-you__media {
  aspect-ratio: 1;
  border-radius: var(--radius-xl, 20px) var(--radius-xl, 20px) 0 0;
}
.curated-for-you--premium .curated-for-you__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.9rem 1rem 1rem;
}
.curated-for-you--premium .curated-for-you__link {
  margin-top: auto;
}
@media (max-width: 479px) {
  .curated-for-you--premium .curated-for-you__body {
    padding: 0.7rem 0.75rem 0.85rem;
  }
}

/* RTL: mirror the "→" arrow on the editorial "Shop now" link. */
body.store-body.is-rtl .curated-for-you--premium .curated-for-you__link span {
  display: inline-block;
  transform: scaleX(-1);
}

/* ── Dark mode ── */
[data-theme="dark"] .curated-for-you--premium .product-card,
[data-theme="dark"] .curated-for-you--premium .curated-for-you__card {
  border-color: rgba(255, 255, 255, 0.1);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .curated-for-you--premium .product-card,
  .curated-for-you--premium .curated-for-you__card {
    transition: none;
  }
  .curated-for-you--premium .product-card:hover,
  .curated-for-you--premium .curated-for-you__card:hover {
    transform: none;
  }
}

/* ══════════════════════════════════════════════════════════════
   1.5  ABOUT — premium storytelling + real-data stats
   Scoped to .about-section--story. Shop / search / product pages
   are untouched. CMS contract preserved: title, subtitle,
   paragraphs, image / imageAlt, buttons[] and layout controls.
   Stats come only from the live runtime ctx (products/categories).
   ══════════════════════════════════════════════════════════════ */

/* ── Editorial backdrop ── */
.about-section--story {
  background:
    radial-gradient(140% 120% at 8% 0%, var(--color-gold-soft, rgba(201, 169, 110, 0.14)), transparent 55%),
    linear-gradient(to bottom right, var(--color-bg), var(--color-cream));
}

/* ── Frame: arch + gold offset ring ── */
.about-section--story .about-section__visual {
  position: relative;
}

.about-section--story .about-section__frame {
  position: relative;
  z-index: 1;
  border-radius: 10rem 10rem var(--radius-xl, 20px) var(--radius-xl, 20px);
  box-shadow:
    0 2px 4px rgba(44, 24, 16, 0.05),
    0 18px 48px -16px rgba(44, 24, 16, 0.28),
    0 40px 80px -32px rgba(44, 24, 16, 0.22);
  will-change: transform;
}

.about-section--story .about-section__visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset-inline-start: -0.85rem;
  inset-inline-end: 0.85rem;
  inset-block-start: -0.85rem;
  inset-block-end: 0.85rem;
  border: 1px solid var(--color-gold-soft, rgba(201, 169, 110, 0.4));
  border-radius: 11rem 11rem var(--radius-xl, 20px) var(--radius-xl, 20px);
  pointer-events: none;
}

/* gold corner emblem, purely decorative */
.about-section--story .about-section__visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  inline-size: 2.4rem;
  block-size: 2.4rem;
  border-radius: 50%;
  inset-block-end: 1rem;
  inset-inline-end: 1rem;
  border: 1px solid var(--color-gold-soft, rgba(201, 169, 110, 0.5));
  background: radial-gradient(circle at 50% 50%, var(--color-gold-soft, rgba(201, 169, 110, 0.18)), transparent 70%);
  box-shadow: 0 4px 14px rgba(44, 24, 16, 0.1);
  pointer-events: none;
}

/* controlled image zoom */
.about-section--story .about-section__photo {
  transition: transform 1.1s var(--sh-ease), opacity 0.5s ease;
}
.about-section--story .about-section__frame:hover .about-section__photo {
  transform: scale(1.05);
}

/* skeleton shimmer */
.about-section--story .about-section__skeleton {
  background:
    linear-gradient(100deg,
      var(--color-cream) 40%,
      var(--color-gold-soft, rgba(201, 169, 110, 0.16)) 50%,
      var(--color-cream) 60%);
  background-size: 220% 100%;
  animation: aboutShimmer 1.6s linear infinite;
}
@keyframes aboutShimmer {
  to { background-position: -220% 0; }
}

/* ── Editorial copy ── */
.about-section--story .about-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold, #c9a96e);
  margin-bottom: 0.7rem;
}
.about-section--story .about-section__eyebrow::before {
  content: "";
  inline-size: 1.6rem;
  block-size: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold, #c9a96e));
}

.about-section--story .about-section__title {
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0 0 1.1rem;
  color: var(--color-text);
}

.about-section--story .about-section__divider {
  gap: 0.8rem;
  margin: 0 0 1.3rem;
}
.about-section--story .about-section__line {
  max-width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold, #c9a96e));
}

.about-section--story .about-section__intro {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin: 0 0 1.4rem;
}

/* ── Real-data stats ── */
.about-section--story .about-section__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 2.25rem;
  margin: 0 0 1.4rem;
  padding-block-start: 1.15rem;
  border-block-start: 1px solid var(--color-gold-soft, rgba(201, 169, 110, 0.28));
}
.about-section--story .about-section__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.about-section--story .about-section__stat-value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-gold, #c9a96e);
}
.about-section--story .about-section__stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── RTL ── */
body.store-body.is-rtl .about-section--story .about-section__eyebrow,
body.store-body.is-rtl .about-section--story .about-section__stat-label {
  letter-spacing: 0;
}

/* ── Dark mode ── */
[data-theme="dark"] .about-section--story {
  background:
    radial-gradient(140% 120% at 8% 0%, rgba(212, 184, 122, 0.08), transparent 55%),
    linear-gradient(to bottom right, var(--color-bg), var(--color-cream));
}
[data-theme="dark"] .about-section--story .about-section__visual::before {
  border-color: rgba(212, 184, 122, 0.35);
}
[data-theme="dark"] .about-section--story .about-section__visual::after {
  border-color: rgba(212, 184, 122, 0.4);
  background: radial-gradient(circle at 50% 50%, rgba(212, 184, 122, 0.12), transparent 70%);
}
[data-theme="dark"] .about-section--story .about-section__frame {
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.25),
    0 18px 48px -16px rgba(0, 0, 0, 0.55),
    0 40px 80px -32px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .about-section--story .about-section__skeleton {
  background:
    linear-gradient(100deg,
      var(--color-cream) 40%,
      rgba(212, 184, 122, 0.12) 50%,
      var(--color-cream) 60%);
  background-size: 220% 100%;
}
[data-theme="dark"] .about-section--story .about-section__stats {
  border-block-start-color: rgba(212, 184, 122, 0.25);
}

/* ── Responsive ── */
@media (min-width: 768px) {
  .about-section--story .about-section__copy {
    padding-inline-start: 2.25rem;
  }
}
@media (max-width: 767px) {
  .about-section--story .about-section__visual::before {
    inset-inline-start: -0.55rem;
    inset-inline-end: 0.55rem;
    inset-block-start: -0.55rem;
    inset-block-end: 0.55rem;
    border-radius: 9rem 9rem var(--radius-lg, 16px) var(--radius-lg, 16px);
  }
  .about-section--story .about-section__frame {
    border-radius: 9rem 9rem var(--radius-lg, 16px) var(--radius-lg, 16px);
  }
}
@media (max-width: 479px) {
  .about-section--story .about-section__stats {
    gap: 0.9rem 1.5rem;
  }
  .about-section--story .about-section__stat-value {
    font-size: 1.6rem;
  }
  .about-section--story .about-section__copy {
    padding-inline: 0.25rem;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .about-section--story .about-section__photo,
  .about-section--story .about-section__frame {
    transition: none;
  }
  .about-section--story .about-section__frame:hover .about-section__photo {
    transform: none;
  }
  .about-section--story .about-section__skeleton {
    animation: none;
  }
}

/* ════════════════════════════════════════════════════════════════
   1.6  FEATURES + TESTIMONIALS  — premium card treatment
   ════════════════════════════════════════════════════════════════ */

/* ── Section heads ── */
.features-section .sh-section__head h2,
.testimonials-section .sh-section__head h2 {
  letter-spacing: -0.02em;
}
.features-section .sh-section__head p,
.testimonials-section .sh-section__head p {
  max-width: 520px;
  margin-inline: auto;
}

/* ── Feature cards ── */
.features-grid {
  gap: clamp(1rem, 2.5vw, 1.75rem);
  padding: 0.5rem 0 1.5rem;
  grid-template-columns: repeat(var(--features-cpr, 3), minmax(0, 1fr));
}
.features-section .feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: clamp(1.6rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: var(--radius-xl, 20px);
  background:
    radial-gradient(120% 90% at 50% -10%, var(--color-primary-bg, rgba(201, 169, 110, 0.10)), transparent 55%),
    var(--st-surface, #fdfbf7);
  border: 1px solid rgba(61, 41, 20, 0.08);
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.04);
  overflow: hidden;
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}
.features-section .feature-card::before {
  content: "";
  position: absolute;
  inset-inline: 22%;
  top: 0;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, var(--st-primary, #c9a96e), transparent);
  opacity: 0;
  transition: opacity 0.35s ease, inset-inline 0.4s ease;
}
.features-section .feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 110, 0.35);
  box-shadow:
    0 18px 40px rgba(44, 24, 16, 0.09),
    0 4px 12px rgba(44, 24, 16, 0.03);
}
.features-section .feature-card:hover::before {
  opacity: 1;
  inset-inline: 12%;
}
.features-section .feature-card:focus-within {
  outline: 2px solid var(--st-primary, #c9a96e);
  outline-offset: 3px;
}

/* Icon badge — em-relative so it scales with the CMS iconSize */
.features-section .feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85em;
  height: 1.85em;
  line-height: 1;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 20%, var(--color-primary-bg, rgba(201, 169, 110, 0.22)), var(--color-primary-bg, rgba(201, 169, 110, 0.10)) 70%);
  border: 1px solid rgba(201, 169, 110, 0.28);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.features-section .feature-card:hover .feature-card__icon {
  transform: scale(1.08) translateY(-2px);
}

.features-section .feature-card__title {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: var(--st-chocolate, #2c1810);
  letter-spacing: -0.01em;
  margin: 0 0 0.6rem;
  overflow-wrap: break-word;
}
.features-section .feature-card__desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--st-muted, #9a8478);
  margin: 0;
  max-width: 34ch;
  overflow-wrap: break-word;
}

/* Dark mode */
[data-theme="dark"] .features-section .feature-card {
  background:
    radial-gradient(120% 90% at 50% -10%, var(--color-primary-bg, rgba(201, 169, 110, 0.16)), transparent 55%),
    var(--st-surface, #201812);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .features-section .feature-card:hover {
  border-color: rgba(201, 169, 110, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .features-section .feature-card__title {
  color: #f7efe4;
}
[data-theme="dark"] .features-section .feature-card__desc {
  color: rgba(247, 239, 228, 0.62);
}
[data-theme="dark"] .features-section .feature-card__icon {
  border-color: rgba(201, 169, 110, 0.4);
  box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.25);
}

/* Responsive — respect CMS cardsPerRow, clamp for small viewports */
@media (max-width: 767px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 479px) {
  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── Testimonial cards ── */
.testimonials-section .testimonials-grid {
  gap: clamp(1rem, 2vw, 1.5rem);
  scroll-padding-inline-start: 0.5rem;
  padding-inline: 0.5rem;
}
.testimonials-section .testimonial-card {
  flex: 0 0 min(360px, 84vw);
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(201, 169, 110, 0.06), transparent 120px),
    var(--st-surface, #fdfbf7);
  border: 1px solid rgba(61, 41, 20, 0.08);
  border-radius: var(--radius-xl, 20px);
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 6px 24px rgba(44, 24, 16, 0.05);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}
.testimonials-section .testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 110, 0.3);
  box-shadow:
    0 20px 44px rgba(44, 24, 16, 0.1),
    0 4px 12px rgba(44, 24, 16, 0.04);
}
.testimonials-section .testimonial-card:focus-within {
  outline: 2px solid var(--st-primary, #c9a96e);
  outline-offset: 3px;
}
.testimonials-section .testimonial-card__quote-icon {
  display: block;
  font-family: Georgia, serif;
  font-size: 2.75rem;
  line-height: 0.6;
  color: var(--st-primary, #c9a96e);
  opacity: 0.5;
  margin-bottom: 0.75rem;
}
.testimonials-section .testimonial-card__text {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  font-style: normal;
  line-height: 1.65;
  color: var(--st-chocolate, #2c1810);
  margin: 0;
  overflow-wrap: break-word;
}
.testimonials-section .testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(61, 41, 20, 0.08);
}
.testimonials-section .testimonial-card__avatar {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--st-primary, #c9a96e);
  background: var(--st-surface, #fdfbf7);
  box-shadow: 0 2px 10px rgba(44, 24, 16, 0.12);
}
.testimonials-section .testimonial-card__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonials-section .testimonial-card__avatar.is-hidden {
  display: none;
}
.testimonials-section .testimonial-card__author-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.testimonials-section .testimonial-card__name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--st-chocolate, #2c1810);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  overflow-wrap: break-word;
}
.testimonials-section .testimonial-card__role {
  font-size: 0.78rem;
  color: var(--st-muted, #9a8478);
  overflow-wrap: break-word;
}
.testimonials-section .testimonial-card__rating {
  margin-inline-start: auto;
  flex: 0 0 auto;
  color: #d4a017;
  font-size: 0.85rem;
  letter-spacing: 1px;
  white-space: nowrap;
}
.testimonials-section .testimonials-empty {
  width: 100%;
  padding: 2.5rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--st-muted, #9a8478);
  background: var(--st-surface, #fdfbf7);
  border: 1px dashed rgba(61, 41, 20, 0.12);
  border-radius: var(--radius-xl, 20px);
}

/* Dark mode */
[data-theme="dark"] .testimonials-section .testimonial-card {
  background:
    linear-gradient(180deg, rgba(201, 169, 110, 0.1), transparent 140px),
    var(--st-surface, #201812);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}
[data-theme="dark"] .testimonials-section .testimonial-card:hover {
  border-color: rgba(201, 169, 110, 0.4);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .testimonials-section .testimonial-card__text {
  color: #f7efe4;
}
[data-theme="dark"] .testimonials-section .testimonial-card__name {
  color: #f7efe4;
}
[data-theme="dark"] .testimonials-section .testimonial-card__role {
  color: rgba(247, 239, 228, 0.6);
}
[data-theme="dark"] .testimonials-section .testimonial-card__author {
  border-top-color: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .testimonials-section .testimonials-empty {
  background: var(--st-surface, #201812);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(247, 239, 228, 0.62);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .features-section .feature-card,
  .features-section .feature-card__icon,
  .features-section .feature-card::before,
  .testimonials-section .testimonial-card {
    transition: none;
  }
  .features-section .feature-card:hover,
  .features-section .feature-card:hover::before,
  .testimonials-section .testimonial-card:hover {
    transform: none;
    inset-inline: 22%;
  }
  .features-section .feature-card:hover .feature-card__icon {
    transform: none;
  }
}

/* ════════════════════════════════════════════════════════════════
   1.7  SOCIAL + SPECIAL ORDER  — premium treatments
   ════════════════════════════════════════════════════════════════ */

/* ── Social section layout & typography ── */
.social-section--premium .social-section__content {
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem;
}
.social-section--premium .social-section__text h2 {
  letter-spacing: -0.02em;
}
.social-section--premium .social-section__text p {
  max-width: 46ch;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .social-section--premium .social-section__text {
    text-align: start;
  }
  .social-section--premium .social-section__text p {
    margin-inline: 0;
  }
}

/* ── Social link chips ── */
.social-section--premium .social-section__links {
  gap: 0.85rem;
}
.social-section--premium .social-link {
  gap: 0.6rem;
  padding: 0.7rem 1.25rem;
  background: linear-gradient(180deg, var(--st-surface, #fffdf9), #f7f1e9);
  border-color: rgba(139, 105, 20, 0.18);
  box-shadow:
    0 2px 10px rgba(44, 24, 16, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-size: 0.87rem;
  letter-spacing: 0.01em;
}
.social-section--premium .social-link svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.social-section--premium .social-link:hover {
  box-shadow:
    0 10px 24px rgba(44, 24, 16, 0.12),
    0 2px 6px rgba(44, 24, 16, 0.05);
}
.social-section--premium .social-link:hover svg {
  transform: rotate(-6deg) scale(1.15);
}
.social-section--premium .social-link:focus-visible {
  outline: 2px solid var(--st-primary, #c9a96e);
  outline-offset: 3px;
}

/* Brand hovers for remaining platforms (instagram/tiktok/facebook/whatsapp
   already styled in shopify-home.css) */
.social-section--premium .social-link--twitter:hover { background: #1da1f2; color: #fff; border-color: transparent; }
.social-section--premium .social-link--youtube:hover { background: #ff0000; color: #fff; border-color: transparent; }
.social-section--premium .social-link--pinterest:hover { background: #e60023; color: #fff; border-color: transparent; }
.social-section--premium .social-link--linkedin:hover { background: #0a66c2; color: #fff; border-color: transparent; }

/* ── Social image frame — framed art with gold inner ring ── */
.social-section--premium .social-section__visual {
  position: relative;
}
.social-section--premium .social-section__image-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg, 16px);
  background: var(--st-surface, #fffdf9);
  box-shadow:
    0 24px 60px rgba(44, 24, 16, 0.12),
    0 4px 14px rgba(44, 24, 16, 0.05);
}
.social-section--premium .social-section__image-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: calc(var(--radius-lg, 16px) - 8px);
  pointer-events: none;
  transition: inset 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease;
}
.social-section--premium .social-section__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.social-section--premium .social-section__image-frame:hover img {
  transform: scale(1.05);
}
.social-section--premium .social-section__image-frame:hover::after {
  inset: 6px;
  border-color: rgba(201, 169, 110, 0.65);
}

/* ── Special order — layered band, restrained motion ── */
.special-order-cta--premium .special-order-cta__content {
  contain: layout paint;
}
.special-order-cta--premium .special-order-cta__content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(140% 120% at 85% -10%, rgba(255, 255, 255, 0.14), transparent 50%),
    radial-gradient(120% 120% at 0% 110%, rgba(255, 255, 255, 0.06), transparent 55%);
}
.special-order-cta--premium .special-order-cta__content::after {
  content: "";
  position: absolute;
  inset-inline: 16%;
  top: 0;
  height: 1px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.7), transparent);
}
.special-order-cta--premium .special-order-cta__text h2 {
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.special-order-cta--premium .special-order-cta__text p {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}
.special-order-cta--premium .btn-store--primary {
  box-shadow: 0 6px 20px rgba(139, 105, 20, 0.28);
}
@media (min-width: 768px) {
  .special-order-cta--premium .special-order-cta__text {
    text-align: start;
  }
}

/* Icon decoration — restrained float instead of Tailwind bounce */
.special-order-cta--premium .special-order-cta__decoration {
  animation: so-float 4.5s cubic-bezier(0.45, 0, 0.55, 1) infinite !important;
  animation-duration: 4.5s !important;
}
.special-order-cta--premium .special-order-cta__icon {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.special-order-cta--premium .special-order-cta__content:hover .special-order-cta__icon {
  transform: scale(1.08) rotate(-3deg);
}
.special-order-cta--premium .sparkle {
  animation: so-twinkle 3.5s ease-in-out infinite !important;
}
.special-order-cta--premium .sparkle--1 { animation-delay: 0s !important; }
.special-order-cta--premium .sparkle--2 { animation-delay: 1.2s !important; }
.special-order-cta--premium .sparkle--3 { animation-delay: 2.4s !important; }
@keyframes so-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes so-twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ── Dark mode ── */
[data-theme="dark"] .social-section--premium .social-link {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #f7efe4;
}
[data-theme="dark"] .social-section--premium .social-link:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .social-section--premium .social-section__image-frame {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .social-section--premium .social-link svg,
  .social-section--premium .social-section__image-frame img,
  .social-section--premium .social-section__image-frame::after {
    transition: none;
  }
  .social-section--premium .social-link:hover svg {
    transform: none;
  }
  .social-section--premium .social-section__image-frame:hover img {
    transform: none;
  }
  .special-order-cta--premium .special-order-cta__decoration,
  .special-order-cta--premium .sparkle {
    animation: none !important;
  }
  .special-order-cta--premium .special-order-cta__content:hover .special-order-cta__icon {
    transform: none;
  }
}

/* ════════════════════════════════════════════════════════════════
   1.8  BANNERS + FOOTER  — premium closing treatment
   ════════════════════════════════════════════════════════════════ */

/* ── Banners — editorial promo cards (image-forward; CMS has no
      text-overlay fields for banner items) ── */
.banners-section--premium {
  gap: clamp(1rem, 2.5vw, 1.75rem);
  max-width: var(--container-width, 1200px);
  padding: clamp(1.5rem, 4vw, 2.5rem) 1.25rem;
}
.banners-section--premium .banner-item {
  position: relative;
  display: block;
  min-width: 0;
  border: 1px solid rgba(61, 41, 20, 0.1);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--st-surface, #f7f1e9);
  box-shadow:
    0 4px 18px rgba(44, 24, 16, 0.05),
    0 1px 4px rgba(44, 24, 16, 0.03);
  contain: layout paint;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}
.banners-section--premium .banner-item::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: calc(var(--radius-lg, 16px) - 8px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, inset 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.banners-section--premium a.banner-item:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 110, 0.45);
  box-shadow:
    0 22px 44px rgba(44, 24, 16, 0.12),
    0 6px 16px rgba(44, 24, 16, 0.06);
}
.banners-section--premium a.banner-item:hover::after {
  opacity: 1;
  inset: 8px;
}
.banners-section--premium a.banner-item:focus-visible {
  outline: 2px solid var(--st-primary, #c9a96e);
  outline-offset: 3px;
}
.banners-section--premium .banner-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.banners-section--premium a.banner-item:hover img {
  transform: scale(1.05);
}
[data-theme="dark"] .banners-section--premium .banner-item {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .banners-section--premium a.banner-item:hover {
  border-color: rgba(201, 169, 110, 0.5);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
}

/* ── Footer (legacy static footer, CMS-filled by applyFooterData) ── */
.store-footer {
  position: relative;
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(201, 169, 110, 0.12), transparent 55%),
    linear-gradient(180deg, var(--st-chocolate, #2c1810) 0%, #2a1a10 100%);
  padding: clamp(3rem, 6vw, 4.5rem) 1.25rem 2.25rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}
.store-footer::before {
  content: "";
  position: absolute;
  inset-inline: 12%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.5), transparent);
}
.store-footer__inner {
  max-width: var(--container-width, 1200px);
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
}
.store-footer__brand .site-logo--footer {
  max-width: 100%;
  height: auto;
}
.store-footer__brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  opacity: 0.75;
  max-width: 40ch;
  overflow-wrap: break-word;
}
.store-footer h4 {
  position: relative;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.92);
}
.store-footer h4::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 28px;
  height: 1px;
  background: rgba(201, 169, 110, 0.6);
}
.store-footer li {
  margin-bottom: 0.6rem;
}
.store-footer a {
  color: rgba(255, 255, 255, 0.78);
  opacity: 1;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.3s ease;
}
.store-footer a:hover {
  color: var(--color-gold, #d4a373);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(201, 169, 110, 0.7);
  text-decoration-thickness: 1px;
}
.store-footer a:focus-visible {
  outline: 2px solid var(--color-gold, #d4a373);
  outline-offset: 3px;
  border-radius: 2px;
}
.store-footer__bottom {
  max-width: var(--container-width, 1200px);
  margin-inline: auto;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
}
/* RTL — true mirroring instead of the legacy direction:ltr workaround */
body.is-rtl .store-footer__inner {
  direction: rtl;
}
body.is-rtl .store-footer h4,
body.is-rtl .store-footer li,
body.is-rtl .store-footer a {
  text-align: start;
}

/* ── Footer (HPB section renderer, CMS colors respected) ── */
.store-footer-section {
  position: relative;
  overflow: hidden;
}
.store-footer-section::before {
  content: "";
  position: absolute;
  inset-inline: 12%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.5), transparent);
}
.store-footer-section__grid {
  position: relative;
  z-index: 1;
  max-width: var(--container-width, 1280px);
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 4.5rem) 1.25rem 2.25rem;
  gap: clamp(2rem, 5vw, 3.5rem);
}
.store-footer-section__logo {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}
.store-footer-section__desc {
  font-size: 0.92rem;
  line-height: 1.7;
  opacity: 0.75;
  max-width: 40ch;
  overflow-wrap: break-word;
}
.store-footer-section h3 {
  position: relative;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.store-footer-section h3::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 28px;
  height: 1px;
  background: rgba(201, 169, 110, 0.6);
}
.store-footer-section__links ul,
.store-footer-section__social ul,
.store-footer-section__contact ul,
.store-footer-section__delivery ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.store-footer-section__links a,
.store-footer-section__social a,
.store-footer-section__contact a {
  text-decoration: none;
  opacity: 0.82;
  overflow-wrap: anywhere;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.store-footer-section__links a:hover,
.store-footer-section__social a:hover,
.store-footer-section__contact a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(201, 169, 110, 0.8);
  text-decoration-thickness: 1px;
}
.store-footer-section__links a:focus-visible,
.store-footer-section__social a:focus-visible,
.store-footer-section__contact a:focus-visible,
.store-footer-section__whatsapp a:focus-visible {
  outline: 2px solid rgba(201, 169, 110, 0.9);
  outline-offset: 3px;
  border-radius: 4px;
}
.store-footer-section__whatsapp a {
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.store-footer-section__whatsapp a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}
.store-footer-section__map iframe {
  display: block;
  filter: saturate(0.9);
}
.store-footer-section__bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .banners-section--premium .banner-item,
  .banners-section--premium .banner-item img,
  .banners-section--premium .banner-item::after,
  .store-footer a,
  .store-footer-section__links a,
  .store-footer-section__social a,
  .store-footer-section__contact a,
  .store-footer-section__whatsapp a {
    transition: none;
  }
  .banners-section--premium a.banner-item:hover {
    transform: none;
  }
  .banners-section--premium a.banner-item:hover img {
    transform: none;
  }
  .store-footer-section__whatsapp a:hover {
    transform: none;
  }
}

/* ════════════════════════════════════════════════════════════════
   1.9  COHERENCE + CONSOLIDATION  — RTL typography, footer
        responsive fix, small-screen polish, reduced-motion gap.
   (This pass delivers the consolidation the file header reserved
    for "1.10". No section re-designs — corrections only.)
   ════════════════════════════════════════════════════════════════ */

/* ── Footer: restore responsive stacking.
   (1.8 fixed the desktop grid, but being the last-loaded layer it
   overrides layout-store.css mobile collapse; re-assert it here.) ── */
@media (max-width: 640px) {
  .store-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (min-width: 641px) and (max-width: 800px) {
  .store-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .store-footer__brand {
    grid-column: 1 / -1;
  }
}

/* ── RTL: mirror the decorative quote glyph in testimonial cards
   (renderer emits \201C; flipping mirrors it for Arabic) ── */
body.store-body.is-rtl .testimonials-section .testimonial-card__quote-icon {
  transform: scaleX(-1);
}

/* ── RTL: neutralise letter-spacing on uppercase/display micro-labels.
   Arabic glyphs join; letter-spacing fragments them. The 1.5 block
   already zeroes the about eyebrow + stat labels — extend it. ── */
body.store-body.is-rtl .sh-section__eyebrow,
body.store-body.is-rtl .category-showcase--bento .category-card__count,
body.store-body.is-rtl .category-showcase--bento .category-card__featured,
body.store-body.is-rtl .category-showcase--bento .category-card__title,
body.store-body.is-rtl .features-section .sh-section__head h2,
body.store-body.is-rtl .testimonials-section .sh-section__head h2,
body.store-body.is-rtl .testimonials-section .testimonial-card__name,
body.store-body.is-rtl .social-section--premium .social-section__text h2,
body.store-body.is-rtl .social-section--premium .social-link,
body.store-body.is-rtl .special-order-cta--premium .special-order-cta__text h2,
body.store-body.is-rtl .about-section--story .about-section__title,
body.store-body.is-rtl .store-footer h4,
body.store-body.is-rtl .store-footer-section h3,
body.store-body.is-rtl .store-footer__bottom {
  letter-spacing: 0;
}

/* ── Small-screen polish: testimonial cards at 320–430px keep
   generous but proportionate padding ── */
@media (max-width: 430px) {
  .testimonials-section .testimonial-card {
    padding: 1.4rem 1.25rem 1.25rem;
  }
  .testimonials-section .testimonial-card__quote-icon {
    font-size: 2.25rem;
    margin-bottom: 0.55rem;
  }
}

/* ── Reduced-motion: cover the social-link transition gap ── */
@media (prefers-reduced-motion: reduce) {
  .social-section--premium .social-link {
    transition: none;
  }
}
