/* ==========================================================================
   SOVANIKA — Storefront stylesheet
   Tokens, base, layout and components. Breakpoint overrides live in
   responsive.css (loaded after this file).
   ========================================================================== */

/* 1. Design tokens
   ========================================================================== */
:root {
  /* Colours (sovanika_design.md §4) */
  --color-bg: #FCFCFC;
  --color-bg-warm: #F5F0EA;
  --color-panel: #F2F0EC;
  /* Champagne tints of the logo gold: soft panels, badges and secondary buttons */
  --color-champagne: #EEDFC4;
  --color-champagne-light: #F6EEDF;
  --color-champagne-dark: #E3CDA6;
  --color-text: #111111;
  --color-text-secondary: #555555;
  --color-text-muted: #777777;
  /* Logo gold (sampled from the logo): deep for text and links, gold for lines and accents,
     light on dark backgrounds */
  --color-brand: #915913;
  --color-gold: #AF7324;
  --color-gold-light: #D9A95E;
  --color-gold-line: rgba(175, 115, 36, 0.28);
  --color-star: #DFAE00;
  --color-black: #050505;
  --color-white: #FFFFFF;
  --color-search-bg: #F7F7F7;
  --color-line: #EEEEEE;
  --color-badge-red: #E8211F;
  --color-footer: #050505;
  --color-footer-text: #C8C8C8;
  --color-footer-watermark: #171717;

  /* Typography: two families only (§3) */
  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Nunito Sans", Arial, sans-serif;
  /* Headings: classic engraved-style serif */
  --font-heading: "Marcellus", "Playfair Display", Georgia, serif;

  /* Spacing scale (§5) */
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-9: 56px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 96px;

  /* Layout */
  --container: 1200px;
  --gutter: 60px;

  /* Vertical rhythm: one value per gap type, used by every home section */
  --section-gap: 72px;   /* between two sections */
  --hero-gap: 56px;      /* hero -> first section (the photo edge needs less air) */
  --title-gap: 24px;     /* section heading -> its content */
  --footer-gap: 88px;    /* last section -> footer */

  /* Radius (§6): sharp editorial blocks */
  --radius-card: 12px;     /* product cards, tiles, photos, panels */
  --radius-control: 8px;   /* buttons, inputs, small thumbnails */
  --radius-thumb: 8px;
  --radius-pill: 999px;

  /* Motion */
  --ease: 180ms ease;

  /* Z-index */
  --z-header: 100;
  --z-overlay: 500;
}

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

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked {
  overflow: hidden;
}

h1, h2, h3, p, ul, ol {
  margin: 0;
}

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

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.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;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-3);
  z-index: var(--z-overlay);
  padding: var(--space-1) var(--space-3);
  background: var(--color-black);
  color: var(--color-white);
}

.skip-link:focus {
  top: var(--space-1);
}

/* 3. Layout helpers
   ========================================================================== */
.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-gap) 0;
}

/* The final section before the footer gets a little more room
   (last section, not last child: dialogs such as the zoom viewer sit after it) */
main > section:last-of-type {
  padding-bottom: var(--footer-gap);
}

.section-title {
  margin-bottom: var(--title-gap);
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-align: center;
  color: #1A1A1A;
}

/* Logo flower between two fine gold lines under each section heading */
.section-title::after {
  content: "";
  display: block;
  width: 132px;
  height: 18px;
  margin: 14px auto 0;
  background:
    url("../images/brand/sovanika-mark-64.webp") center / 18px 18px no-repeat,
    linear-gradient(90deg, transparent, var(--color-gold)) left center / 50px 1px no-repeat,
    linear-gradient(90deg, var(--color-gold), transparent) right center / 50px 1px no-repeat;
}

/* 4. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-control);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity var(--ease);
}

.btn:hover {
  opacity: 0.85;
}

.btn--dark {
  background: var(--color-black);
  color: var(--color-white);
  transition: background-color var(--ease), opacity var(--ease);
}

.btn--dark:hover {
  background: var(--color-brand);
  opacity: 1;
}

.btn--sm {
  height: 38px;
  padding: 0 34px;
}

/* 5. Logo
   ========================================================================== */
.logo {
  display: inline-block;
  width: 180px;
  line-height: 0;
}

.logo img,
.site-footer__logo img {
  width: 100%;
  height: auto;
}

.logo--sm {
  width: 160px;
}

/* 7. Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid var(--color-gold-line);
  background: var(--color-white);
  transition: box-shadow var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* One row on desktop: logo | search | menu */
.site-header__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-6);
  padding-block: 14px;
}

/* Mobile-only controls (scoped so .icon-btn's display doesn't override them) */
.site-header .site-header__menu-btn,
.site-header .site-header__search-toggle {
  display: none;
}

.site-header__top > .logo {
  justify-self: start;
}

/* Search: minimal underline with serif text, icon on the right (luxury-house style) */
.search {
  position: relative;
  display: flex;
  justify-self: center;
  width: 100%;
  max-width: 440px;
  height: 42px;
}

.search__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 36px 0 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #C9C1B4;
  border-radius: 0;
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--color-text);
  transition: border-color var(--ease);
}

.search__input::placeholder {
  color: #9A938A;
}

.search__input:hover {
  border-bottom-color: #A79E90;
}

.search__input:focus {
  outline: none;
  border-bottom-color: var(--color-gold);
  background: transparent;
  box-shadow: none;
}

.search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search__btn {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 100%;
  color: var(--color-text);
  transition: color var(--ease);
}

.search__btn:hover {
  color: var(--color-gold);
}

/* Header search: suggestions open from its left edge */
.site-header .search-panel {
  left: 0;
  right: auto;
  transform: none;
  animation-name: search-panel-in-right;
}

@keyframes search-panel-in-right {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

/* Search icon: tablets and phones only (responsive.css shows it) */
.site-header__actions {
  display: none;
  justify-self: end;
  align-items: center;
  gap: 14px;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text);
  transition: opacity var(--ease);
}

.icon-btn:hover {
  opacity: 0.7;
}

/* Main menu, on the right of the header row */
.main-nav__list {
  display: flex;
  justify-content: flex-end;
  gap: 34px;
}

.main-nav__item {
  position: relative;
}

.main-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: color var(--ease);
}

/* Thin gold line grows under the hovered item */
.main-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.18em;
  bottom: 0;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.main-nav__link:hover {
  color: var(--color-brand);
}

.main-nav__link:hover::after {
  transform: scaleX(1);
}

.main-nav__badge {
  position: absolute;
  top: -9px;
  left: 50%;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: var(--color-badge-red);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  transform: translateX(-10%);
  pointer-events: none;
}

.main-nav__badge--inline {
  position: static;
  margin-left: var(--space-1);
  transform: none;
}

/* Mobile search overlay */
.search-overlay {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-overlay);
  padding-block: var(--space-3);
  background: var(--color-white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.search-overlay__inner {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.search--overlay {
  flex: 1;
  width: auto;
}

/* Mobile drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-overlay) - 1);
  background: rgba(0, 0, 0, 0.35);
}

.mobile-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: var(--z-overlay);
  width: min(340px, 86vw);
  padding: var(--space-3) var(--space-5);
  overflow-y: auto;
  background: var(--color-white);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 260ms ease, visibility 0s linear 260ms;
}

.mobile-nav.is-open {
  transform: none;
  visibility: visible;
  transition: transform 260ms ease;
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-line);
}

.mobile-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-line);
  font-size: 15px;
}

/* 8. Hero
   ========================================================================== */
/* Banner slider: photos with the model on the right, dark space on the left for the text.
   Slides sit on top of each other and crossfade (main.js [data-hero]). */
.hero {
  position: relative;
  display: grid;
  height: clamp(520px, 34vw, 650px);
  overflow: hidden;
  background: #070605;
  color: var(--color-white);
}

.hero__slide {
  position: relative;
  grid-area: 1 / 1;
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 0s linear 900ms;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 900ms ease;
}

/* Text never overlaps while slides cross-fade: the old text goes at once, the new one follows */
.hero__slide .hero__content {
  opacity: 0;
  transition: opacity 250ms ease;
}

.hero__slide.is-active .hero__content {
  opacity: 1;
  transition: opacity 600ms ease 450ms;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Deeper shade behind the text so the lights in the photo don't compete with it */
.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 5, 4, 0.9) 0%, rgba(6, 5, 4, 0.82) 34%, rgba(6, 5, 4, 0.55) 48%, rgba(6, 5, 4, 0.15) 60%, rgba(6, 5, 4, 0) 68%);
}

.hero__inner {
  display: flex;
  align-items: center;
  height: 100%;
}

.hero__content {
  max-width: 600px;
}

/* Thin, delicate display serif */
.hero__title {
  font-family: "Italiana", var(--font-display);
  font-size: clamp(46px, 4.6vw, 66px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.04em;
  /* Keeps the thin letters clear over the lake lights */
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.5);
}

.hero__lead {
  margin-top: 18px;
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.8);
}

.hero__link {
  display: inline-block;
  margin-top: 34px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-white);
  transition: color var(--ease), border-color var(--ease);
}

.hero__link:hover {
  border-color: var(--color-gold-light);
  color: var(--color-gold-light);
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.3);
  transition: width var(--ease), background-color var(--ease);
}

.hero__dot.is-active {
  width: 20px;
  background: rgba(255, 255, 255, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide,
  .hero__slide.is-active {
    transition: none;
  }
}

/* 9. Shop by category
   ========================================================================== */
.categories {
  padding-top: var(--hero-gap);
}

/* Square tiles: 5 per row, two rows (10 categories) */
.categories__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 20px;
  max-width: 1080px;
  margin-inline: auto;
}

.category-tile {
  display: block;
  text-align: center;
}

.category-tile__media {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-bg-warm);
}

.category-tile__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.category-tile__name {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
  transition: color var(--ease);
}

.category-tile:hover .category-tile__image {
  transform: scale(1.05);
}

.category-tile:hover .category-tile__name {
  color: var(--color-brand);
}

/* 10. Sovanika essentials: women / men photos with a centred caption (matches the category tiles)
   ========================================================================== */
.essentials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin-inline: auto;
}

.essential {
  display: block;
  text-align: center;
  color: var(--color-text);
}

.essential__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-bg-warm);
}

.essential__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.essential:hover .essential__image {
  transform: scale(1.04);
}

.essential__title {
  display: block;
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}

.essential__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--ease), gap var(--ease);
}

.essential:hover .essential__cta {
  gap: 10px;
  color: var(--color-brand);
}

/* 11. Product sections: Best Seller (two rows of four, then "Explore All Collection")
   ========================================================================== */
.product-section .container {
  max-width: 1148px;
}

.best-sellers .shop__more {
  margin-top: 44px;
}

.section-title--title-case {
  text-transform: none;
}

.product-slider {
  position: relative;
}

.product-slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 22px) / 4);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.product-slider__track::-webkit-scrollbar {
  display: none;
}

.product-slider__track > * {
  scroll-snap-align: start;
}

.product-slider__arrow {
  position: absolute;
  top: 140px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(60, 60, 60, 0.45);
  color: var(--color-white);
  transform: translateY(-50%);
  transition: background-color var(--ease), opacity var(--ease);
}

.product-slider__arrow:hover {
  background: rgba(20, 20, 20, 0.7);
}

.product-slider__arrow[disabled] {
  opacity: 0;
  pointer-events: none;
}

.product-slider__arrow--prev {
  left: 2px;
}

.product-slider__arrow--next {
  right: 2px;
}

/* Product card (§35) */
.product-card {
  position: relative; /* keeps absolutely positioned children (e.g. screen-reader text) inside the slider's clip */
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-card__media {
  position: relative;
  aspect-ratio: 270 / 280;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-bg-warm);
}

.product-card__media a,
.product-card__image {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card__image {
  object-fit: cover;
  transition: transform 400ms ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.03);
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
}

.stars {
  display: inline-flex;
  gap: 2px;
  font-size: 14px;
  line-height: 1;
}

.stars__star {
  color: #E3E3E3;
}

.stars__star.is-full {
  color: var(--color-star);
}

.stars__star.is-half {
  background: linear-gradient(90deg, var(--color-star) 50%, #E3E3E3 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.product-card__reviews {
  color: var(--color-text-secondary);
}

.product-card__name {
  margin-top: 12px;
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #222222;
}

/* The name's link covers the whole card, so a tap anywhere opens the product */
.product-card__name a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-card__cta {
  position: relative;
  z-index: 2;
}

.product-card__name a:hover {
  color: var(--color-brand);
}

/* Price and link share one row */
.product-card__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-card__old-price {
  font-size: 13px;
  color: var(--color-text-muted);
}

.product-card__current-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

.product-card__cta {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--color-text-secondary);
  transition: gap var(--ease), color var(--ease);
}

.product-card__cta:hover,
.product-card:hover .product-card__cta {
  gap: 10px;
  color: var(--color-brand);
}

/* 12. Featured collections (two full-bleed campaigns, §14)
   ========================================================================== */
.featured {
  padding-top: var(--section-gap);
}

.featured__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.featured__item {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  height: clamp(380px, 34vw, 520px);
  overflow: hidden;
  color: var(--color-white);
  isolation: isolate;
}

.featured__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.featured__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(22, 14, 8, 0) 40%, rgba(22, 14, 8, 0.7) 100%);
}

.featured__item:hover .featured__image {
  transform: scale(1.02);
}

.featured__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 44px 40px;
}

.featured__title {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.15;
}

.featured__subtitle {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: gap var(--ease), color var(--ease), border-color var(--ease);
}

.featured__item:hover .featured__cta {
  gap: 12px;
  border-color: var(--color-gold-light);
  color: var(--color-gold-light);
}

/* 13. Footer (split editorial footer, §17–19)
   Height follows the portrait photo on the right, as in the reference:
   ~42% text column / ~58% photo, roughly 0.68 x the screen width tall.
   ========================================================================== */
.site-footer {
  background: var(--color-footer);
  color: var(--color-footer-text);
}

.site-footer__split {
  display: grid;
  grid-template-columns: 42fr 58fr;
  /* Minimum, not fixed: the column grows if the links need more room */
  min-height: clamp(640px, 68vw, 900px);
}

.site-footer__main {
  position: relative;
  overflow: hidden;
  /* Bottom padding keeps the links clear of the watermark */
  padding: 68px 44px clamp(110px, 11vw, 160px) 46px;
}

.site-footer__logo {
  display: inline-block;
  width: 200px;
  line-height: 0;
}

.site-footer__statement {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.55;
  color: #D6D6D6;
}

.site-footer__columns {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 250px));
  gap: 64px 0;
  margin-top: 70px;
}

.site-footer__heading {
  margin-bottom: 22px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.site-footer__links {
  display: grid;
  gap: 9px;
  font-size: 15px;
  color: #9E9E9E;
}

.site-footer__links a,
.site-footer__social a {
  transition: color var(--ease);
}

.site-footer__links a:hover,
.site-footer__social a:hover {
  color: var(--color-gold-light);
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  color: #D6D6D6;
}

/* Large faded logo along the bottom edge, slightly clipped like a watermark */
.site-footer__watermark {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  width: calc(100% - 60px);
  max-width: 560px;
  height: auto;
  transform: translateY(18%);
  pointer-events: none;
  user-select: none;
}

.site-footer__media {
  position: relative;
  overflow: hidden;
}

.site-footer__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.site-footer__copyright {
  padding: 10px var(--space-3);
  background: var(--color-bg);
  font-size: 11px;
  text-align: center;
  color: var(--color-text-muted);
}

/* 14. Shop listing page (filters + product grid)
   ========================================================================== */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  /* Shallow banner with a deep shade, matching the home banner */
  height: clamp(200px, 15vw, 250px);
  overflow: hidden;
  background: #1E140C;
  color: var(--color-white);
  isolation: isolate;
}

/* A banner is never the "last section": no footer spacing inside it */
main > section.page-hero {
  padding-bottom: 0;
}

/* Banner without a photo (policies): shorter */
.page-hero--plain {
  height: clamp(150px, 11vw, 180px);
}

.page-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 22%;
}

/* Deep warm shade on the text side so the white heading reads on any photo */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(22, 14, 8, 0.86) 0%, rgba(22, 14, 8, 0.62) 40%, rgba(22, 14, 8, 0.2) 75%, rgba(22, 14, 8, 0.1) 100%);
}

.page-hero__kicker {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-white);
}

.page-hero__text {
  margin-top: 10px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.82);
}

.shop {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding-block: 36px var(--footer-gap);
}

/* Filters */
/* A normal panel that scrolls with the page: no sticky column, no inner scrollbar */
.filters {
  padding: 22px 22px 8px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-white);
}

.filters__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-line);
}

.filters__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
}

.filters__clear {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--color-text-secondary);
}

.filters__clear:hover {
  color: var(--color-text);
}

.filters .filters__close {
  display: none;
}

.filter-group {
  border-bottom: 1px solid var(--color-line);
}

.filter-group:last-child {
  border-bottom: 0;
}

.filter-group__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  font-size: 14.5px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.filter-group__summary::-webkit-details-marker {
  display: none;
}

.filter-group__summary .icon {
  color: var(--color-text-secondary);
  transition: transform var(--ease);
}

.filter-group[open] > .filter-group__summary .icon {
  transform: rotate(180deg);
}

.filter-group__body {
  padding-bottom: 16px;
}

.filter-list {
  display: grid;
  gap: 11px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333333;
  cursor: pointer;
}

.filter-option input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--color-black);
  cursor: pointer;
}

.filter-option__label {
  flex: 1;
}

/* Colour filter: round metal swatches instead of plain checkboxes */
.filter-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-swatch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px 0 6px;
  border: 1px solid #E3E1DD;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color var(--ease);
}

.filter-swatch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-swatch .metal-swatch {
  width: 24px;
  height: 24px;
}

.filter-swatch:hover {
  border-color: var(--color-text-muted);
}

.filter-swatch:has(input:checked) {
  border-color: var(--color-text);
  box-shadow: inset 0 0 0 1px var(--color-text);
  font-weight: 600;
}

.filter-swatch:has(input:focus-visible) {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.filter-option__count {
  font-size: 12.5px;
  color: var(--color-text-muted);
}

.price-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.price-range__field {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid #DDDDDD;
  background: var(--color-white);
  font-size: 13px;
  color: var(--color-text-secondary);
}

.price-range__field:focus-within {
  border-color: var(--color-text);
}

.price-range__field input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 13px;
  color: var(--color-text);
  -moz-appearance: textfield;
}

.price-range__field input:focus {
  outline: none;
}

.price-range__field input::-webkit-outer-spin-button,
.price-range__field input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.filters__apply {
  width: 100%;
  height: 42px;
  margin-top: 12px;
  background: var(--color-champagne-light);
  font-size: 14px;
  color: #333333;
  transition: background-color var(--ease);
}

.filters__apply:hover {
  background: var(--color-champagne);
}

/* Toolbar */
.shop__toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.shop__count {
  flex: 1;
  font-size: 15px;
  color: var(--color-text);
}

.shop__query {
  color: var(--color-text-secondary);
}

.shop .shop__filter-btn {
  display: none;
}

.sort {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort__label {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.sort__select {
  height: 40px;
  min-width: 190px;
  padding: 0 38px 0 14px;
  border: 1px solid #DDDDDD;
  border-radius: var(--radius-control);
  background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-size: 14px;
  color: var(--color-text);
  appearance: none;
  cursor: pointer;
}

/* Grid: same card as Best Seller / Limited-Time Offer */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 18px;
}

/* Home Best Seller / You May Also Like: same width as the category grid */
.product-grid--quad {
  max-width: 1080px;
  margin-inline: auto;
  gap: 30px 20px;
}

.shop__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 72px 16px;
  background: var(--color-bg-warm);
  text-align: center;
  color: var(--color-text-secondary);
}

.shop__empty-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  color: var(--color-text);
}

.shop__empty .btn {
  margin-top: 8px;
}

/* Listing: results fade while new ones load; "Load More" under the grid */
.shop__results {
  transition: opacity var(--ease);
}

.shop__results.is-loading {
  opacity: 0.45;
  pointer-events: none;
}

.shop__more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.shop__more-btn.is-loading {
  opacity: 0.85;
  pointer-events: none;
}

/* Spinner inside "Load More" / "Show More" while the next products load */
.shop__more-btn.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 10px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop__more-btn.is-loading::before {
    animation-duration: 1.6s;
  }
}

/* "Sold Out" tag on a product card */
.product-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-text);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

/* 15. Product detail page (§20–27)
   ========================================================================== */
.pdp {
  padding-block: 18px 40px;
  background: var(--color-white);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: var(--color-text-secondary);
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--color-text-muted);
}

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

.breadcrumb [aria-current] {
  color: var(--color-text);
}

.pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
  gap: 32px;
  /* Both columns share the gallery's height so the details line up top and bottom */
  align-items: stretch;
}

/* Gallery: thumbnails on the left, main image on the right */
.gallery {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 16px;
  align-self: start;
}

/* Thumbnails fill the main image's height exactly */
/* Thumbnail slider beside the photo: up arrow, four thumbnails, down arrow */
.gallery__rail {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 8px;
  min-height: 0;
  /* Ignore the thumbnails' own size: the column takes the main image's height */
  contain: size;
}

.gallery__rail.has-arrows {
  grid-template-rows: 24px minmax(0, 1fr) 24px;
  gap: 8px;
}

.gallery__thumbs {
  position: relative; /* offsets of the thumbnails are measured from the list (slider script) */
  display: grid;
  grid-auto-rows: calc((100% - 30px) / 4);
  gap: 10px;
  min-height: 0;
  overflow: hidden;
  scroll-behavior: smooth;
}

.gallery__arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-text);
  transition: color var(--ease), opacity var(--ease);
}

.gallery__rail.has-arrows .gallery__arrow {
  display: flex;
}

.gallery__arrow:hover:not(:disabled) {
  color: var(--color-brand);
}

/* At either end the arrow stays in place (thumbnails keep lining up with the photo), just faded */
.gallery__arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

/* One photo: no thumbnail column */
.gallery--single {
  grid-template-columns: minmax(0, 1fr);
}

.gallery__thumbs li {
  min-height: 0;
}

.gallery__thumb {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: var(--color-bg);
  opacity: 0.75;
  transition: border-color var(--ease), opacity var(--ease);
}

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

.gallery__thumb:hover {
  opacity: 1;
}

.gallery__thumb.is-active {
  border-color: var(--color-text);
  opacity: 1;
}

.gallery__main {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-bg);
}

.gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 200ms ease;
}

.gallery__image.is-swapping {
  opacity: 0;
}

.gallery__zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transition: transform var(--ease);
}

.gallery__zoom:hover {
  transform: scale(1.06);
}

/* Information column */
.pdp__info {
  position: relative; /* hover-zoom view opens over it */
  display: flex;
  flex-direction: column;
  padding-top: 4px;
}

.pdp__eyebrow {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.pdp__eyebrow:hover {
  text-decoration: underline;
}

.pdp__title {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text);
}

.pdp__rating {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.pdp__rating:hover .pdp__reviews {
  text-decoration: underline;
}

.stars--lg {
  gap: 3px;
  font-size: 18px;
}

.pdp__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-top: 16px;
}

.pdp__current-price {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.pdp__old-price {
  font-size: 15px;
  color: var(--color-text-muted);
}

.pdp__discount {
  font-size: 15px;
  font-weight: 700;
  color: #2E7D4F;
}

.pdp__tax-note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.pdp__summary {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* Thin separators in the details column (a soft tint of the text colour shows on the warm background) */
.pdp__buy {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--color-line);
}

.pdp__buy-note {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--color-text-muted);
}

.pdp__buy-note--soon {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--color-text-secondary);
}

.pdp__buy-title {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
}

/* Marketplace partners: clean rows, logo on the left, "Shop now" on the right */
.marketplaces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.marketplaces > li:only-child,
.marketplaces > li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.marketplace {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 56px;
  padding: 0 16px;
  border: 1px solid #E3E1DD;
  border-radius: var(--radius-control);
  background: var(--color-white);
  transition: border-color var(--ease), background-color var(--ease);
}

.marketplace:hover {
  border-color: var(--color-text);
  background: #FCFBF9;
}

/* Brand-coloured tile (colours come from config/marketplaces.php 'button') */
.marketplace--branded {
  border-color: transparent;
  background: var(--tile-bg);
}

.marketplace--branded:hover {
  border-color: transparent;
  background: var(--tile-bg);
  filter: brightness(1.05);
}

.marketplace--branded .marketplace__go {
  color: var(--tile-arrow);
}

.marketplace img {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  width: auto;
  max-width: 96px;
  height: 24px;
  object-fit: contain;
  object-position: left center;
}

.marketplace--meesho img {
  max-width: 100px;
  height: 26px;
}

.marketplace--amazon img {
  transform: translateY(2px);
}

.marketplace__go {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--color-text-secondary);
  transition: color var(--ease), gap var(--ease);
}

.marketplace:hover .marketplace__go {
  gap: 9px;
  color: var(--color-text);
}
/* Highlights under the buy buttons: thin-line icons, two short lines, thin dividers between */
.pdp__benefits {
  display: flex;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--color-line);
}

.pdp__benefits .benefit {
  flex: 1 1 0;
  align-items: center;
  min-width: 0;
  padding: 2px 10px;
  text-align: center;
}

.pdp__benefits .benefit + .benefit {
  border-left: 1px solid var(--color-line);
}

/* Round metallic swatch for the colour (matches the admin swatches) */
.metal-swatch {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.18);
}

.metal-swatch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 6px;
  width: 12px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  filter: blur(1px);
  transform: rotate(-25deg);
}

.metal-swatch--silver {
  background: linear-gradient(135deg, #f7f7f7 0%, #c9ccd1 35%, #eef0f2 55%, #a5a9b0 80%, #dfe2e6 100%);
}

.metal-swatch--rose-gold {
  background: linear-gradient(135deg, #fbe3d6 0%, #e0a48a 35%, #f6cdb9 55%, #b97561 80%, #eab8a1 100%);
}

.metal-swatch--gold {
  background: linear-gradient(135deg, #fff3b8 0%, #e2b33c 35%, #fbe07a 55%, #b8862b 80%, #f2cd63 100%);
}

.benefit {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

.benefit__icon {
  color: var(--color-text);
}

.benefit--row {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

/* Colour options on the product page (each colour links to its own product) */
.pdp__colours {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
}

.pdp__colours-label {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.pdp__colours-label strong {
  font-weight: 600;
  color: var(--color-text);
}

.colour-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.colour-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px 0 8px;
  border: 1px solid #E3E1DD;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  color: var(--color-text);
  transition: border-color var(--ease);
}

.colour-choice .metal-swatch {
  width: 26px;
  height: 26px;
}

.colour-choice:hover {
  border-color: var(--color-text-muted);
}

.colour-choice.is-current {
  border-color: var(--color-text);
  box-shadow: inset 0 0 0 1px var(--color-text);
  font-weight: 600;
}

.colour-choice.is-sold-out span:last-child {
  color: var(--color-text-muted);
  text-decoration: line-through;
}

/* Hover zoom (desktop): a lens on the photo, the enlarged part shows over the details column */
.zoom-lens {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.zoom-pane {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background-color: var(--color-white);
  background-repeat: no-repeat;
  box-shadow: 0 18px 40px -12px rgba(30, 20, 10, 0.25);
  pointer-events: none;
}

.gallery__main.is-zooming {
  cursor: crosshair;
}

/* Category tiles: round photos (home "Shop by Category" and the Categories page) */
.categories .category-tile__media,
.categories-grid .category-tile__media {
  border-radius: 50%;
}

/* Tablets: 4 + 4 categories */
@media (max-width: 991px) {
  .categories__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .categories__grid > li:nth-child(n + 9) {
    display: none;
  }
}

/* Product page: plain white below the header */
.related {
  background: var(--color-white);
}

/* Product information: folding sections */
.pdp-info {
  padding-bottom: 24px;
  background: var(--color-white);
}

.pdp-acc {
  border-bottom: 1px solid var(--color-gold-line);
}

.pdp-acc:first-child {
  border-top: 1px solid var(--color-gold-line);
}

.pdp-acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-family: var(--font-heading);
  font-size: 21px;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}

.pdp-acc__head::-webkit-details-marker {
  display: none;
}

.pdp-acc__head:hover {
  color: var(--color-brand);
}

.pdp-acc__icon {
  flex-shrink: 0;
  transition: transform var(--ease);
}

.pdp-acc[open] .pdp-acc__icon {
  transform: rotate(180deg);
}

.pdp-acc__body {
  padding: 0 4px 24px;
}

/* Product details: label / value rows, laid out in columns */
.pdp-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
  margin: 0;
}

.pdp-specs__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 14.5px;
}

.pdp-specs dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.pdp-specs dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  color: var(--color-text);
}

.pdp-care {
  margin-block: 12px;
  padding-left: 20px;
  list-style: decimal;
}

.pdp-care strong {
  font-weight: 600;
  color: var(--color-text);
}
.pdp-desc {
  max-width: 900px;
}

.pdp-desc__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  margin-top: 32px;
}

.pdp-prose {
  max-width: 900px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.pdp-prose ul {
  padding-left: 20px;
  list-style: disc;
}

.pdp-prose p + p,
.pdp-prose li + li {
  margin-top: 8px;
}

.review-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.review-summary__score {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1;
}

.review-summary__count {
  margin-top: 6px;
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* Featured campaigns directly after the tabs (no heading) */
.featured--flush {
  padding-top: 48px;
}

/* Zoom lightbox */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(15, 12, 10, 0.94);
}

.lightbox::backdrop {
  background: rgba(15, 12, 10, 0.94);
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__image {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Previous / next photo in the zoom view */
.lightbox__nav {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  transform: translateY(-50%);
  transition: background var(--ease);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__nav--prev {
  left: 18px;
}

.lightbox__nav--next {
  right: 18px;
}

.lightbox__counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--color-white);
  transform: translateX(-50%);
}

/* 16. Category page (banner, count + sort, 4-column grid)
   ========================================================================== */
.category-page {
  padding-top: 20px;
}

.category-page .breadcrumb ol {
  margin-bottom: 24px;
}

.category-page__count {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-text);
}

/* 17. Size guide
   Every section follows one pattern: heading row, then "how to measure" (left)
   and the chart (right) in two equal columns that start on the same line.
   ========================================================================== */
.page-hero--size-guide .page-hero__image {
  object-position: 60% 45%;
}

.size-guide {
  padding-block: 24px var(--footer-gap);
}

.page-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.page-bar .breadcrumb ol {
  margin-bottom: 0;
}

.page-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-jump a {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  font-size: 13px;
  transition: border-color var(--ease), background-color var(--ease);
}

.page-jump a:hover {
  border-color: var(--color-text);
}

.sg-panel {
  scroll-margin-top: 150px;
}

.sg-panel + .sg-panel {
  margin-top: var(--section-gap);
}

.sg-panel__head {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-line);
}

.sg-panel__title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1.15;
}

.sg-panel__subtitle {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--color-text-secondary);
}

/* Small uppercase label above each column, so both columns start on the same line */
.sg-label {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
}

.sg-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: start;
}

.sg-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

/* Steps */
.sg-steps {
  display: grid;
  gap: 18px;
}

.sg-steps--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sg-step__media {
  position: relative;
}

.sg-step__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.sg-step__num {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
}

.sg-step__media .sg-step__num {
  position: absolute;
  top: 10px;
  left: 10px;
}

.sg-step__text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.sg-step--row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sg-step--row .sg-step__text {
  margin-top: 3px;
}

/* Photo + steps side by side (bracelet, bangle) */
.sg-how {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.sg-how__image,
.sg-photo {
  width: 100%;
  border-radius: var(--radius-card);
}

.sg-how__image {
  aspect-ratio: 1;
  object-fit: cover;
}

/* Tables: all columns left-aligned, first column emphasised */
.sg-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-line);
  background: var(--color-white);
}

.sg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.sg-table th {
  padding: 13px 18px;
  background: var(--color-panel);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
}

.sg-table td {
  padding: 12px 18px;
  border-top: 1px solid var(--color-line);
  color: var(--color-text-secondary);
}

.sg-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
}

.sg-table tbody tr:hover td {
  background: var(--color-bg);
}

/* Ring: size system tabs */
.sg-tabs {
  display: flex;
  gap: 6px;
  margin-top: -6px;
}

.sg-tabs__tab {
  min-width: 64px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  font-size: 12.5px;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}

.sg-tabs__tab:hover {
  border-color: var(--color-text);
}

.sg-tabs__tab[aria-pressed="true"] {
  border-color: var(--color-black);
  background: var(--color-black);
  color: var(--color-white);
}

[data-system] [data-show] {
  display: none;
}

[data-system="indian"] [data-show="indian"],
[data-system="us"] [data-show="us"],
[data-system="uk"] [data-show="uk"] {
  display: inline;
}

/* Ring tips: one row of four under the ring section */
.sg-tips {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--color-line);
}

.sg-tips__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.sg-tips__list li {
  display: flex;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.sg-tips__icon {
  flex-shrink: 0;
  color: var(--color-text);
}

/* 18. Jewellery care (reuses the size guide's panels and steps; theme colours only)
   ========================================================================== */
.page-hero--care .page-hero__image {
  object-position: 70% 50%;
}

.care {
  padding-block: 24px var(--footer-gap);
}

.care-promises {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.care-promise {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 18px;
  text-align: center;
}

.care-promise__icon {
  color: var(--color-text);
}

.care-promise__title {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 400;
}

.care-promise__text {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--color-text-secondary);
}

/* Golden rule: photo + statement */
.care-rule {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: var(--section-gap);
}

.care-rule__image {
  align-self: center;
  width: 100%;
  height: auto;
  /* Wide crop on the earrings and chain, roughly the height of the text beside it */
  aspect-ratio: 12 / 5;
  object-fit: cover;
  object-position: 40% 62%;
  border-radius: var(--radius-card);
}

.care-rule__text {
  align-self: center;
  padding: 24px 0 24px 56px;
}

.care-rule__text .page-hero__kicker {
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.45em;
}

.care-rule__title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.1;
}

.care-rule__text p:last-child {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* What to avoid */
.care-avoid {
  scroll-margin-top: 150px;
  padding-top: var(--section-gap);
}

.care-avoid__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.care-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.care-card__title {
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
}

.care-card__text {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

/* Two-column rows: panel + side note */
.care-split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--section-gap) 56px;
  align-items: stretch;
  scroll-margin-top: 150px;
  margin-top: var(--section-gap);
}

.care-split--even {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.care-split .sg-panel + .sg-panel {
  margin-top: 0;
}

.care-step__image {
  aspect-ratio: 4 / 3;
}

.care-step__title {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 400;
}

.care-step__title + .sg-step__text {
  margin-top: 4px;
}

/* Notes: warm white by default, blush for "avoid" lists */
.care-note {
  align-self: start;
}

/* "Avoid" lists keep a soft blush tint as the one accent (no border) */
.care-note--blush {
  padding: 28px 26px;
  background: var(--color-champagne-light);
}

.care-note__title {
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
}

.care-note__label {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.care-note__foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-champagne);
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.care-list {
  display: grid;
  gap: 12px;
}

.care-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
}

.care-list__icon {
  flex-shrink: 0;
  color: var(--color-text);
}

.care-list__icon--no {
  color: var(--color-badge-red);
}

.care-list--lines li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-line);
}

.care-list--lines li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.care-store {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
}

.care-store__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.care-dos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.care-dos .care-note--blush {
  padding: 22px 20px;
}

.care-dos .care-list li {
  font-size: 13.5px;
}

/* 19. Contact page (theme colours only)
   ========================================================================== */
.page-hero--contact .page-hero__image {
  object-position: 60% 30%;
}

.contact {
  padding-block: 24px var(--footer-gap);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: stretch;
}

.contact__image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 35% 55%;
  border-radius: var(--radius-card);
}

.contact__body {
  align-self: center;
}

.contact__kicker {
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.45em;
}

.contact__title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.12;
}

.contact__lead {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.contact__success {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--color-bg-warm);
  font-size: 14px;
  color: var(--color-text-secondary);
}

.contact__success .icon {
  flex-shrink: 0;
  color: var(--color-text);
}

.contact__success-title {
  font-weight: 600;
  color: var(--color-text);
}

/* Form */
.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

.field__req {
  color: var(--color-badge-red);
}

.field__input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-control);
  background: var(--color-white);
  font-size: 14px;
  color: var(--color-text);
  transition: border-color var(--ease);
}

.field__input::placeholder {
  color: var(--color-text-muted);
}

.field__input:hover {
  border-color: var(--color-text-muted);
}

.field__input:focus {
  outline: none;
  border-color: var(--color-text);
}

.field__input.is-invalid {
  border-color: var(--color-badge-red);
}

.field__select {
  padding-right: 40px;
  background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  cursor: pointer;
}

.field__select:invalid {
  color: var(--color-text-muted);
}

.field__textarea {
  height: auto;
  min-height: 130px;
  padding: 12px 14px;
  line-height: 1.55;
  resize: vertical;
}

.field__error {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--color-badge-red);
}

/* Same pink as the product card buttons */
.contact-form__submit {
  width: 100%;
  height: 50px;
  background: var(--color-champagne-light);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  transition: background-color var(--ease);
}

.contact-form__submit:hover {
  background: var(--color-champagne);
}

.contact-form__note {
  margin-top: -8px;
  font-size: 12px;
  color: var(--color-text-muted);
}

/* 20. FAQs (theme colours only)
   ========================================================================== */
.page-hero--faqs .page-hero__image {
  object-position: 60% 25%;
}

.faqs {
  padding-block: 24px var(--footer-gap);
}

.faqs__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: 64px;
  align-items: start;
}

/* Help box: stays in view while reading the questions */
.faqs__aside {
  position: sticky;
  top: 160px;
  padding-top: 8px;
}

.faqs__aside-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
}

.faqs__aside-text {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.faqs__aside-btn {
  margin-top: 20px;
  height: 46px;
  padding: 0 28px;
  font-size: 13px;
}

.faqs__aside-label {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faqs__links {
  margin-top: 8px;
}

.faqs__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
  border-bottom: 1px solid var(--color-line);
  font-size: 14.5px;
  color: var(--color-text);
  transition: color var(--ease);
}

.faqs__links a:hover {
  color: var(--color-brand);
}

/* Accordion */
.faq-list {
  border-top: 1px solid var(--color-line);
}

.faq {
  border-bottom: 1px solid var(--color-line);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-text);
  list-style: none;
  cursor: pointer;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  color: var(--color-brand);
}

/* Plus that turns into a minus */
.faq__toggle {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  transition: border-color var(--ease), background-color var(--ease);
}

.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--color-text);
  transform: translate(-50%, -50%);
  transition: transform var(--ease), background-color var(--ease);
}

.faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq[open] .faq__toggle {
  border-color: var(--color-black);
  background: var(--color-black);
}

.faq[open] .faq__toggle::before,
.faq[open] .faq__toggle::after {
  background: var(--color-white);
}

.faq[open] .faq__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__answer {
  max-width: 760px;
  padding: 0 56px 24px 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

/* 21. Categories page + "view all" link (theme colours only)
   ========================================================================== */
.categories__more {
  margin-top: 22px;
  text-align: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--color-text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: gap var(--ease);
}

.text-link:hover {
  gap: 12px;
}

.categories-page {
  padding-block: 24px var(--footer-gap);
}

.categories-page__head {
  margin: 12px 0 32px;
  text-align: center;
}

.categories-page__head .section-title {
  margin-bottom: 8px;
}

.categories-page__lead {
  font-size: 15px;
  color: var(--color-text-secondary);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 20px;
  max-width: 1080px;
  margin-inline: auto;
}

/* 22. Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* "Not sure of your ring size? Ring Size Guide" on the product page */
.pdp__size {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.pdp__size-icon {
  color: var(--color-brand);
}

.pdp__size-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color var(--ease);
}

.pdp__size-link:hover {
  color: var(--color-brand);
}

/* Panel that slides in from the right (size guide) */
.side-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  width: min(520px, 100vw);
  background: var(--color-bg);
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 300ms ease, visibility 0s linear 300ms;
}

.side-drawer.is-open {
  transform: none;
  visibility: visible;
  transition: transform 300ms ease;
}

.side-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--color-line);
}

.side-drawer__kicker {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.side-drawer__title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
}

.side-drawer__body {
  flex: 1 1 auto;
  padding: 24px 28px 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.side-drawer__section + .side-drawer__section {
  margin-top: 30px;
}

.side-drawer__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.side-drawer__step-text {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

.side-drawer__tips {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.side-drawer__tips li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.side-drawer__foot {
  padding: 16px 28px;
  border-top: 1px solid var(--color-line);
}

.side-drawer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-brand);
}

.side-drawer__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 575px) {
  .side-drawer__head,
  .side-drawer__body,
  .side-drawer__foot {
    padding-left: 18px;
    padding-right: 18px;
  }

  .side-drawer__title {
    font-size: 22px;
  }
}

/* Size drawer: photo for necklace / bracelet / bangle guides */
.side-drawer__photo {
  width: 100%;
  height: auto;
  margin-top: 12px;
  border-radius: var(--radius-card);
}

.side-drawer__list {
  margin-top: 16px;
}

/* 23. Our Story + Privacy Policy / Terms pages (theme colours only)
   ========================================================================== */
.btn--outline {
  border: 1px solid var(--color-black);
  background: transparent;
  color: var(--color-text);
}

.page-hero--story .page-hero__image {
  object-position: 65% 45%;
}

.story {
  padding-block: 20px var(--footer-gap);
}

.story__intro {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: center;
}

.story__intro-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
}

.story__intro p {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

/* Photo + text, alternating sides */
.story__chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  margin-top: var(--section-gap);
}

.story__chapter--reverse .story__image {
  order: 2;
}

.story__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.story__kicker {
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--color-text);
}

.story__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text);
}

.story__text p:not(.story__kicker) {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.story__values {
  margin-top: var(--section-gap);
  padding-top: var(--section-gap);
  border-top: 1px solid var(--color-line);
}

.story__cta {
  margin-top: var(--section-gap);
  padding: 56px 24px;
  background: var(--color-bg-warm);
  text-align: center;
}

.story__cta p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--color-text-secondary);
}

.story__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* Privacy Policy / Terms: text written in admin Settings (styles: description.css) */
.policy {
  padding-block: 20px var(--footer-gap);
}

.policy__body {
  max-width: 820px;
  margin-top: 28px;
}

/* 24. Header search suggestions (main.js, App\Support\SearchIndex)
   ========================================================================== */
.search.is-open .search__input {
  border-bottom-color: var(--color-gold);
}

.search-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: calc(var(--z-header) + 5);
  width: min(640px, calc(100vw - 32px));
  max-height: min(72vh, 640px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-block: 6px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 48px -16px rgba(17, 17, 17, 0.22), 0 2px 6px rgba(17, 17, 17, 0.04);
  transform: translateX(-50%);
  animation: search-panel-in 160ms ease-out;
}

@keyframes search-panel-in {
  from {
    opacity: 0;
    transform: translate(-50%, -4px);
  }
}

/* Thin bar at the top while new results load */
.search-panel.is-loading::before {
  content: "";
  position: sticky;
  top: -6px;
  display: block;
  height: 2px;
  margin-top: -6px;
  margin-bottom: 4px;
  background: linear-gradient(90deg, transparent, var(--color-brand), transparent);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  animation: search-loading 900ms linear infinite;
}

@keyframes search-loading {
  from { background-position: -50% 0; }
  to { background-position: 150% 0; }
}

.search-panel__section {
  padding: 12px 20px;
}

.search-panel__section + .search-panel__section {
  border-top: 1px solid var(--color-line);
}

.search-panel__section--flush {
  padding-inline: 0;
}

.search-panel__section--flush .search-panel__title {
  padding-inline: 20px;
}

.search-panel__title {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.search-panel mark {
  background: none;
  color: var(--color-brand);
  font-weight: 700;
}

/* Category + recent chips */
.search-chips,
.search-recent {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 4px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--color-text);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}

.search-chip img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-panel);
}

.search-chip small {
  font-size: 11px;
  color: var(--color-text-muted);
}

.search-recent__item {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  transition: border-color var(--ease);
}

.search-recent__item a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 4px 6px 12px;
  font-size: 13px;
  color: var(--color-text);
}

.search-recent__item a .icon {
  color: var(--color-text-muted);
}

.search-recent__remove {
  display: inline-flex;
  padding: 8px 10px 8px 6px;
  color: var(--color-text-muted);
}

.search-recent__remove:hover {
  color: var(--color-text);
}

.search-chip:hover,
.search-chip.is-active,
.search-recent__item:hover,
.search-recent__item:has(.is-active) {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.search-recent__item a.is-active,
.search-recent__item a:hover {
  color: var(--color-brand);
}

/* Product rows */
.search-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 8px 20px;
  transition: background var(--ease);
}

.search-item:hover,
.search-item.is-active,
.search-link:hover,
.search-link.is-active {
  background: var(--color-bg-warm);
}

.search-item__img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-thumb);
  object-fit: cover;
  background: var(--color-panel);
}

.search-item__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.search-item__name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  line-height: 1.35;
  color: var(--color-text);
}

.search-item__meta {
  font-size: 12px;
  color: var(--color-text-muted);
}

.search-item__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 14px;
  white-space: nowrap;
}

.search-item__price strong {
  font-weight: 600;
  color: var(--color-text);
}

.search-item__price s {
  font-size: 12px;
  color: var(--color-text-muted);
}

.search-item__tag {
  padding: 1px 7px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Trending cards (empty box) */
.search-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.search-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  color: var(--color-text);
}

.search-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: var(--radius-thumb);
  object-fit: cover;
  background: var(--color-panel);
  transition: opacity var(--ease);
}

.search-card:hover img,
.search-card.is-active img {
  opacity: 0.85;
}

.search-card.is-active {
  outline: 1px solid var(--color-brand);
  outline-offset: 3px;
}

.search-card__name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12.5px;
  line-height: 1.35;
}

.search-card__price {
  font-size: 12.5px;
  font-weight: 600;
}

/* Help links */
.search-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline: -20px;
  padding: 8px 20px;
  font-size: 13.5px;
  color: var(--color-text);
  transition: background var(--ease);
}

.search-link .icon:first-child {
  color: var(--color-brand);
}

.search-link .icon:last-child {
  margin-left: auto;
  color: var(--color-text-muted);
}

/* "View all N results" */
.search-panel__all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 20px 10px;
  padding: 12px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity var(--ease);
}

.search-panel__all:hover,
.search-panel__all.is-active {
  opacity: 0.85;
}

.search-panel__all.is-active {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

/* Nothing found */
.search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 32px 24px;
  text-align: center;
  color: var(--color-text-muted);
}

.search-empty__title {
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-text);
}

.search-empty__text {
  max-width: 340px;
  font-size: 13px;
}

/* First load placeholder */
.search-skeleton {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px;
}

.search-skeleton span {
  height: 56px;
  border-radius: var(--radius-thumb);
  background: linear-gradient(90deg, var(--color-panel) 0%, #FAF8F5 50%, var(--color-panel) 100%);
  background-size: 200% 100%;
  animation: search-shimmer 1.1s ease-in-out infinite;
}

@keyframes search-shimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

/* Mobile overlay: the panel sits under the box, full width */
.search-panel--overlay {
  position: fixed;
  top: 70px;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  max-height: none;
  border: 0;
  border-top: 1px solid var(--color-line);
  box-shadow: none;
  transform: none;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .search-panel,
  .search-panel.is-loading::before,
  .search-skeleton span {
    animation: none;
  }
}

/* 25. Page not found (errors/404.blade.php)
   ========================================================================== */
.not-found {
  padding-block: 88px var(--footer-gap);
  background: linear-gradient(180deg, var(--color-bg-warm) 0%, var(--color-bg) 70%);
  text-align: center;
}

.not-found__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.not-found__code {
  font-family: var(--font-heading);
  font-size: clamp(88px, 14vw, 150px);
  line-height: 1;
  color: var(--color-brand);
  opacity: 0.22;
}

.not-found__title {
  margin-top: -18px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  color: var(--color-text);
}

.not-found__text {
  max-width: 520px;
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.not-found__label {
  margin-top: 44px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.not-found__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.not-found__links a {
  display: inline-flex;
  padding: 8px 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  font-size: 13px;
  color: var(--color-text);
  transition: border-color var(--ease), color var(--ease);
}

.not-found__links a:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

/* 26. Category intro + questions (admin: Category > SEO), under the products
   ========================================================================== */
.category-seo {
  display: grid;
  gap: 40px;
  padding-top: var(--section-gap);
}

.category-seo__content {
  max-width: 860px;
}

.category-seo__title {
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  color: var(--color-text);
}

.category-seo__list {
  max-width: 860px;
  border-top: 1px solid var(--color-line);
}

/* Tata CLiQ's logo is stacked (two lines): give it more height so it reads at the same size as the others */
.marketplace--tatacliq img {
  height: 34px;
}

/* Snapdeal's logo is a red badge: a little shorter so it sits like the other wordmarks */
.marketplace--snapdeal img {
  height: 26px;
  border-radius: 3px;
}

.marketplace--shopsy img {
  height: 30px;
  max-width: 110px;
}

/* Where to Buy: the first four stores show, "More stores" opens the rest (only once JavaScript runs) */
.marketplaces.is-collapsed .marketplaces__extra {
  display: none;
}

/* With stores hidden, the last visible one must not stretch across the row */
.marketplaces.is-collapsed > li:last-child:nth-child(odd) {
  grid-column: auto;
}

.marketplace__price {
  font-weight: 700;
  color: var(--color-text);
}

.marketplace__price::after {
  content: "·";
  margin-inline: 6px;
  font-weight: 400;
  color: var(--color-text-muted);
}

.pdp__more-stores {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid currentColor;
  transition: color var(--ease);
}

.pdp__more-stores:hover {
  color: var(--color-brand);
}

.pdp__more-stores[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}
