:root {
  --color-maroon: oklch(35% 0.15 22);
  --color-maroon-light: oklch(42% 0.13 22);
  --color-maroon-deep: oklch(28% 0.12 22);
  --color-cream: oklch(96.5% 0.008 80);
  --color-cream-dark: oklch(94% 0.01 75);
  --color-clay: oklch(91% 0.015 65);
  --color-clay-deep: oklch(85% 0.02 55);
  --color-dark: oklch(22% 0.015 25);
  --color-dark-soft: oklch(32% 0.01 25);
  --color-grey: oklch(50% 0.008 30);
  --color-grey-light: oklch(72% 0.005 30);
  --color-grey-border: oklch(88% 0.008 65);

  --font-display: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-display: clamp(2.75rem, 5.5vw, 4.25rem);
  --text-h1: clamp(2.25rem, 4.5vw, 3.5rem);
  --text-h2: clamp(1.75rem, 3.5vw, 2.75rem);
  --text-h3: clamp(1.35rem, 2.5vw, 1.75rem);
  --text-body: 1rem;
  --text-body-lg: 1.125rem;
  --text-label: 0.8125rem;
  --text-small: 0.875rem;

  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1rem);
  --space-md: clamp(1rem, 2vw, 1.5rem);
  --space-lg: clamp(1.5rem, 3vw, 2.5rem);
  --space-xl: clamp(2.5rem, 5vw, 4rem);
  --space-2xl: clamp(4rem, 8vw, 7rem);
  --space-3xl: clamp(5rem, 10vw, 9rem);

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  --container-max: 1280px;
  --container-padding: clamp(1.25rem, 4vw, 2.5rem);
  --radius-sm: 3px;
  --radius-md: 5px;

  --header-height: 64px;
  --announcement-height: 36px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--color-dark);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-dark);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.label-text {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-grey);
}

/* ========================================
   1. Announcement Bar
   ======================================== */

.announcement-bar {
  background-color: var(--color-maroon);
  color: var(--color-cream);
  text-align: center;
  padding: 0.5rem var(--container-padding);
  font-size: var(--text-small);
  letter-spacing: 0.02em;
  min-height: var(--announcement-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 100;
  box-sizing: border-box;
  width: 100%;
}

.announcement-bar a {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
  white-space: nowrap;
}

.announcement-bar a:hover {
  opacity: 0.85;
}

/* ========================================
   2. Site Header
   ======================================== */

/* Placeholders must not form a containing block, otherwise the
   sticky header has nothing to stick against and scrolls away. */
#navbar-placeholder,
#footer-placeholder {
  display: contents;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: var(--color-cream);
  height: var(--header-height);
  border-bottom: 1px solid var(--color-grey-border);
  transition: box-shadow var(--duration-normal) var(--ease-out-quart);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px oklch(22% 0.015 25 / 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.header-logo-img {
  height: 42px;
  width: auto;
  display: block;
  filter: brightness(0);
}

.header-nav {
  display: none;
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 1.8vw, 1.75rem);
  }
}

.header-nav > a,
.header-nav .nav-trigger {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-dark-soft);
  position: relative;
  padding-block: 0.25rem;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.header-nav > a::after,
.header-nav .nav-trigger::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-maroon);
  transition: width var(--duration-normal) var(--ease-out-expo);
}

.header-nav > a:hover,
.header-nav .nav-trigger:hover,
.header-nav .nav-trigger[aria-expanded="true"] {
  color: var(--color-maroon);
}

.header-nav > a:hover::after,
.header-nav .nav-trigger:hover::after,
.header-nav .nav-trigger[aria-expanded="true"]::after {
  width: 100%;
}

/* ----------------------------------------
   Dropdown panels (Shop Sarees, Collections, Shop by Fabric, Account)
   ---------------------------------------- */

.nav-item {
  display: inline-flex;
  align-items: center;
}

.nav-item--dropdown {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  padding: 0.25rem 0;
  font: inherit;
  cursor: pointer;
}

.nav-chevron {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--duration-fast) var(--ease-out-quart);
}

.nav-trigger[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.nav-trigger--icon {
  /* match other icon buttons in .header-actions */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  justify-content: center;
  padding: 0;
}

.nav-trigger--icon::after { display: none; }

.nav-trigger--icon:hover {
  background-color: var(--color-clay);
  color: var(--color-dark);
}

.nav-trigger--icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-dark);
  stroke-width: 1.5;
  fill: none;
}

.nav-panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  z-index: 95;
  min-width: 240px;
  background-color: var(--color-cream);
  border: 1px solid var(--color-grey-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 36px oklch(22% 0.015 25 / 0.08);
  padding: 0.85rem 0.9rem;
  display: grid;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 220ms var(--ease-out-quart),
              transform 240ms var(--ease-out-expo),
              visibility 0s 240ms;
}

/* Invisible bridge keeps the dropdown open while moving cursor from trigger to panel */
.nav-item--dropdown::before {
  content: '';
  position: absolute;
  inset: 100% 0 auto 0;
  height: 0.7rem;
  pointer-events: none;
}

@media (hover: hover) {
  .nav-item--dropdown:hover::before {
    pointer-events: auto;
  }
  .nav-item--dropdown:hover > .nav-panel,
  .nav-item--dropdown:focus-within > .nav-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }
}

.nav-trigger[aria-expanded="true"] + .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}

.nav-panel--right {
  left: auto;
  right: 0;
}

/* Account dropdown: centered below the account icon */
/* Account dropdown sizing fix */
/* ==========================================
   ACCOUNT DROPDOWN — CLEAN FIX
   ========================================== */

.nav-item--account {
  position: relative;
}

.nav-panel--account {
  position: absolute;

  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);

  width: 260px;
  min-width: 260px;

  padding: 1rem;

  background: var(--color-cream);
  border: 1px solid var(--color-grey-border);
  border-radius: 8px;
  box-shadow: 0 14px 36px oklch(22% 0.015 25 / 0.08);

  z-index: 999;
}

/* Open state */
.nav-trigger[aria-expanded="true"] + .nav-panel--account {
  transform: translateX(-50%) translateY(0);
}

/* Welcome */
.nav-panel--account .nav-panel-eyebrow {
  padding: 0;
  margin-bottom: 1rem;
}

/* Group */
.nav-panel--account .nav-panel-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Fix alignment */
.nav-panel--account .nav-panel-group a {
  display: block;
  width: 100%;

  padding: 0.75rem 0;

  margin: 0;
  text-align: left;

  position: static;
  transform: none !important;
  left: auto;

  white-space: nowrap;
}

/* Divider */
.nav-panel--account .nav-panel-divider {
  margin: 0.75rem 0;
}


.nav-trigger[aria-expanded="true"] + .nav-panel--account {
  transform: translateX(-50%) translateY(0);
}

@media (hover: hover) {
  .nav-item--account:hover > .nav-panel--account,
  .nav-item--account:focus-within > .nav-panel--account {
    transform: translateX(-50%) translateY(0);
  }
}

.nav-panel-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-maroon);
  padding: 0.15rem 0.7rem 0.45rem;
}

.nav-panel a {
  display: block;
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: nowrap;
  color: var(--color-dark-soft);

  border-radius: 0;

  transition: color var(--duration-fast) var(--ease-out-quart);
}

.nav-panel a:hover {
  color: var(--color-maroon);
  background-color: transparent;
}

.nav-panel a::after { display: none; }

.nav-panel-feature {
  font-family: var(--font-display) !important;
  font-size: 1.05rem !important;
  color: var(--color-dark) !important;
  letter-spacing: 0 !important;
  padding-block: 0.4rem 0.55rem !important;
}

.nav-panel-feature:hover {
  color: var(--color-maroon) !important;
}

.nav-panel-divider {
  height: 1px;
  background-color: var(--color-grey-border);
  margin: 0.4rem 0.2rem;
}

/* ----------------------------------------
   Search overlay
   ---------------------------------------- */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
}

.search-overlay[aria-hidden="false"] {
  pointer-events: auto;
}

.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background-color: oklch(22% 0.015 25 / 0);
  transition: background-color var(--duration-normal) var(--ease-out-quart);
}

.search-overlay[aria-hidden="false"] .search-overlay-backdrop {
  background-color: oklch(22% 0.015 25 / 0.45);
}

.search-overlay-panel {
  position: relative;
  background-color: var(--color-cream);
  padding: var(--space-lg) var(--container-padding);
  border-bottom: 1px solid var(--color-grey-border);
  box-shadow: 0 18px 40px oklch(22% 0.015 25 / 0.08);
  transform: translateY(-100%);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.search-overlay[aria-hidden="false"] .search-overlay-panel {
  transform: translateY(0);
}

.search-overlay-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: var(--container-max);
  margin: 0 auto;
  border-bottom: 1px solid var(--color-grey-border);
  padding: 0.4rem 0 0.75rem;
}

.search-overlay-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--color-grey);
  stroke-width: 1.5;
  flex-shrink: 0;
}

.search-overlay-form input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-dark);
  padding: 0.35rem 0;
}

.search-overlay-form input::placeholder {
  color: var(--color-grey-light);
  font-style: italic;
}

.search-overlay-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--color-dark-soft);
  transition: background-color var(--duration-fast) var(--ease-out-quart);
}

.search-overlay-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.search-overlay-close:hover {
  background-color: var(--color-clay);
  color: var(--color-maroon);
}

.search-overlay-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  max-width: var(--container-max);
  margin: 0.85rem auto 0;
  font-size: var(--text-small);
}

.search-overlay-quick-label {
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-grey);
  margin-right: 0.25rem;
}

.search-overlay-quick a {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  color: var(--color-dark-soft);
  border: 1px solid var(--color-grey-border);
  border-radius: 999px;
  background-color: var(--color-cream-dark);
  transition: color var(--duration-fast) var(--ease-out-quart),
              border-color var(--duration-fast) var(--ease-out-quart),
              background-color var(--duration-fast) var(--ease-out-quart);
}

.search-overlay-quick a:hover {
  color: var(--color-maroon);
  border-color: var(--color-maroon-light);
  background-color: var(--color-cream);
}

/* ----------------------------------------
   Wishlist sign-in prompt (guest blocked)
   ---------------------------------------- */

.wishlist-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 260;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishlist-auth-overlay[aria-hidden="false"] {
  pointer-events: auto;
}

.wishlist-auth-backdrop {
  position: absolute;
  inset: 0;
  background-color: oklch(22% 0.015 25 / 0);
  transition: background-color var(--duration-normal) var(--ease-out-quart);
}

.wishlist-auth-overlay[aria-hidden="false"] .wishlist-auth-backdrop {
  background-color: oklch(22% 0.015 25 / 0.45);
}

.wishlist-auth-panel {
  position: relative;
  background-color: var(--color-cream);
  max-width: 420px;
  width: calc(100% - 2.5rem);
  padding: var(--space-lg);
  border-radius: 4px;
  box-shadow: 0 18px 40px oklch(22% 0.015 25 / 0.18);
  text-align: center;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity var(--duration-normal) var(--ease-out-quart),
              transform var(--duration-normal) var(--ease-out-quart);
}

.wishlist-auth-overlay[aria-hidden="false"] .wishlist-auth-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wishlist-auth-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--color-dark-soft);
  transition: background-color var(--duration-fast) var(--ease-out-quart);
}

.wishlist-auth-close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.wishlist-auth-close:hover {
  background-color: var(--color-clay);
  color: var(--color-maroon);
}

.wishlist-auth-message {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--color-dark);
  margin: 0.5rem 0 1.5rem;
}

.wishlist-auth-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----------------------------------------
   Lead capture popup (admin-managed campaigns)
   ---------------------------------------- */

.lead-capture-overlay {
  position: fixed;
  inset: 0;
  z-index: 270;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lead-capture-overlay[aria-hidden="false"] {
  pointer-events: auto;
}

.lead-capture-backdrop {
  position: absolute;
  inset: 0;
  background-color: oklch(22% 0.015 25 / 0);
  transition: background-color var(--duration-normal) var(--ease-out-quart);
}

.lead-capture-overlay[aria-hidden="false"] .lead-capture-backdrop {
  background-color: oklch(22% 0.015 25 / 0.55);
}

.lead-capture-panel {
  position: relative;
  background-color: var(--color-cream);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: 0 24px 60px oklch(22% 0.015 25 / 0.25);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity var(--duration-normal) var(--ease-out-quart),
              transform var(--duration-normal) var(--ease-out-quart);
}

@media (min-width: 700px) {
  .lead-capture-panel {
    grid-template-columns: 1fr 1fr;
    max-height: 80vh;
  }
}

.lead-capture-overlay[aria-hidden="false"] .lead-capture-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lead-capture-media {
  background-color: var(--color-clay);
  min-height: 200px;
}

.lead-capture-media picture,
.lead-capture-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-capture-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lead-capture-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.lead-capture-offer {
  color: var(--color-dark-soft);
  margin-bottom: 1.25rem;
}

.lead-capture-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lead-capture-input {
  width: 100%;
  border: 1px solid var(--color-grey-border);
  background-color: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--color-dark);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out-quart);
  box-sizing: border-box;
}

.lead-capture-input:focus {
  border-color: var(--color-maroon);
}

.lead-capture-submit {
  width: 100%;
  justify-content: center;
}

.lead-capture-error {
  font-size: 0.85rem;
  color: oklch(50% 0.18 20);
}

.lead-capture-success {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-maroon);
  padding: 1.5rem 0;
}

.lead-capture-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: oklch(100% 0 0 / 0.7);
  color: var(--color-dark-soft);
  transition: background-color var(--duration-fast) var(--ease-out-quart);
}

.lead-capture-close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.lead-capture-close:hover {
  background-color: var(--color-clay);
  color: var(--color-maroon);
}

/* ----------------------------------------
   Generic page-level message banners (Django messages framework)
   ---------------------------------------- */

.site-alerts {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.site-alert {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border-left: 3px solid var(--color-maroon);
  background-color: var(--color-clay);
  color: var(--color-dark);
}

.site-alert--error {
  border-left-color: oklch(55% 0.18 20);
  background-color: oklch(96% 0.02 20);
  color: oklch(40% 0.14 20);
}

.site-alert--success {
  border-left-color: oklch(55% 0.14 145);
  background-color: oklch(96% 0.03 145);
  color: oklch(38% 0.14 145);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions button,
.header-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color var(--duration-fast) var(--ease-out-quart);
}

.header-actions button:hover,
.header-actions a:hover {
  background-color: var(--color-clay);
}

.header-actions svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-dark);
  stroke-width: 1.5;
  fill: none;
}

.header-actions .btn-menu {
  display: flex;
}

@media (min-width: 1024px) {
  .header-actions .btn-menu { display: none; }
}

/* ── Mobile header: show only Search · Cart · Hamburger ─────────────────
   Wishlist and Account dropdown move into the mobile drawer.
   The hamburger hides at ≥1024px where the full nav is visible.      */
@media (max-width: 1023px) {
  .nav-item--account,
  .btn-wishlist { display: none !important; }

  /* Shrink logo so the three remaining icons always fit comfortably */
  .header-logo-img { height: 34px; }

  /* Tighten gap between icons so they never overflow on 320px screens */
  .header-actions { gap: 0.4rem; }
}

/* Hard-force hamburger visible below breakpoint with highest precedence */
@media (max-width: 1023px) {
  .header-actions .btn-menu {
    display: flex !important;
  }
}

.cart-count {
  position: relative;
}

.cart-count span {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background-color: var(--color-maroon);
  color: var(--color-cream);
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishlist-count {
  position: relative;
}

.wishlist-count [data-wishlist-badge] {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background-color: var(--color-maroon);
  color: var(--color-cream);
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Navigation Drawer */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.mobile-nav.open {
  pointer-events: auto;
}

.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background-color: oklch(22% 0.015 25 / 0);
  transition: background-color var(--duration-slow) var(--ease-out-expo);
}

.mobile-nav.open .mobile-nav-overlay {
  background-color: oklch(22% 0.015 25 / 0.4);
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(85vw, 360px);
  height: 100%;
  background-color: var(--color-cream);
  padding: var(--space-lg);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out-expo);
  overflow-y: auto;
}

.mobile-nav.open .mobile-nav-panel {
  transform: translateX(0);
}

/* Drawer header row: logo left, close right */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-grey-border);
}

.mobile-nav-brand {
  display: inline-flex;
  align-items: center;
}

.mobile-nav-logo {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0);
}

.mobile-nav-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--color-dark);
  transition: background-color var(--duration-fast) var(--ease-out-quart),
              color var(--duration-fast) var(--ease-out-quart);
}

.mobile-nav-close-btn:hover {
  background-color: var(--color-clay);
  color: var(--color-maroon);
}

.mobile-nav-close-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-link,
.mobile-nav-links > a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-grey-border);
  display: block;
  color: var(--color-dark);
  background: transparent;
  text-align: left;
  width: 100%;
}

/* Accordion toggle button (Shop Sarees +, Collections +, ...) */
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.mobile-nav-toggle[aria-expanded="true"] {
  color: var(--color-maroon);
}

.mobile-nav-plus {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-plus {
  transform: rotate(45deg);
}

/* Sub-links (collapsed by default — JS toggles `hidden`) */
.mobile-nav-sub {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.25rem 0 0.85rem 0.5rem;
  border-bottom: 1px solid var(--color-grey-border);
  animation: mobileNavSlide var(--duration-normal) var(--ease-out-expo) both;
}

/* Re-honor the [hidden] attribute over the .mobile-nav-sub display:flex above */
.mobile-nav-sub[hidden] {
  display: none;
}

@keyframes mobileNavSlide {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav-sub a {
  font-family: var(--font-body);
  font-size: var(--text-body);
  padding: 0.55rem 0;
  color: var(--color-dark-soft);
  border: 0;
  display: block;
  letter-spacing: 0.01em;
  text-transform: none;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.mobile-nav-sub a:hover {
  color: var(--color-maroon);
}

/* Utility links: Wishlist · My Account · Track Order */
.mobile-nav-utility {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-grey-border);
}

.mobile-nav-utility-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-dark-soft);
  border-bottom: 1px solid var(--color-grey-border);
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.mobile-nav-utility-link:last-child {
  border-bottom: none;
}

.mobile-nav-utility-link svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  color: var(--color-maroon);
}

.mobile-nav-utility-link:hover {
  color: var(--color-maroon);
}

/* Active nav link state (set by components.js) */
.header-nav a.is-active {
  color: var(--color-maroon);
}

.header-nav a.is-active::after {
  width: 100%;
}

/* ==========================================
   ACCOUNT DROPDOWN HOVER FIX
   ========================================== */

.nav-panel--account a,
.nav-panel--account a:hover,
.nav-panel--account a:focus {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.nav-panel--account a:hover {
  color: var(--color-maroon) !important;
}

/* ========================================
   3. Hero Slider — full-width ecommerce banner
   ======================================== */

.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-clay);
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 60vh;
  display: none;
}

@media (min-width: 768px) {
  .hero-slide {
    height: 85vh;
  }
}

.hero-slide.active {
  display: block;
}

.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Text / CTA overlay — positioned on top of the image */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: var(--space-2xl) var(--container-padding);
  background: linear-gradient(
    to top,
    oklch(22% 0.015 25 / 0.78) 0%,
    oklch(22% 0.015 25 / 0.25) 45%,
    oklch(22% 0.015 25 / 0) 100%
  );
}

@media (min-width: 768px) {
  .hero-overlay {
    justify-content: center;
    padding: var(--space-2xl) clamp(3rem, 8vw, 8rem);
    background: linear-gradient(
      to right,
      oklch(22% 0.015 25 / 0.72) 0%,
      oklch(22% 0.015 25 / 0.18) 55%,
      oklch(22% 0.015 25 / 0) 100%
    );
  }
}

.hero-label {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(90% 0.005 80);
  margin-bottom: var(--space-sm);
}

.hero-title {
  font-size: var(--text-display);
  line-height: 1.08;
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
  max-width: 16ch;
}

.hero-description {
  font-size: var(--text-body-lg);
  color: oklch(88% 0.005 80);
  line-height: 1.65;
  max-width: 42ch;
  margin-bottom: var(--space-lg);
}

/* Slider arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: oklch(96.5% 0.008 80 / 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background-color var(--duration-fast) var(--ease-out-quart),
              transform var(--duration-fast) var(--ease-out-quart);
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background-color: var(--color-cream);
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-dark);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-arrow--prev { left: var(--space-md); }
.hero-arrow--next { right: var(--space-md); }

@media (max-width: 767px) {
  .hero-arrow { display: none; }
}

/* Slider dots */
.hero-dots {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: oklch(96.5% 0.008 80 / 0.45);
  border: 1.5px solid oklch(96.5% 0.008 80 / 0.6);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  padding: 0;
}

.hero-dot.active {
  background-color: var(--color-cream);
  border-color: var(--color-cream);
  transform: scale(1.35);
}

.hero-dot:hover:not(.active) {
  background-color: oklch(96.5% 0.008 80 / 0.7);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--color-maroon);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: none;
  transition: background-color var(--duration-normal) var(--ease-out-quart),
              transform var(--duration-normal) var(--ease-out-quart);
}

.btn-primary:hover {
  background-color: var(--color-maroon-light);
  transform: translateY(-1px);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-maroon);
  outline-offset: 3px;
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: transparent;
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem;
  border: 1.5px solid var(--color-dark);
  transition: background-color var(--duration-normal) var(--ease-out-quart),
              color var(--duration-normal) var(--ease-out-quart),
              border-color var(--duration-normal) var(--ease-out-quart);
}

.btn-secondary:hover {
  background-color: var(--color-dark);
  color: var(--color-cream);
  border-color: var(--color-dark);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--color-maroon);
  outline-offset: 3px;
}

/* ========================================
   4. Shop by Category
   ======================================== */

.section-shop-category {
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  margin-bottom: var(--space-xs);
}

.section-header p {
  color: var(--color-grey);
  max-width: 50ch;
  margin-inline: auto;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.category-tab {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--color-grey-border);
  background-color: transparent;
  color: var(--color-grey);
  transition: all var(--duration-normal) var(--ease-out-quart);
}

.category-tab:hover {
  border-color: var(--color-dark-soft);
  color: var(--color-dark);
}

.category-tab.active {
  background-color: var(--color-maroon);
  border-color: var(--color-maroon);
  color: var(--color-cream);
}

.category-tab:focus-visible {
  outline: 2px solid var(--color-maroon);
  outline-offset: 2px;
}

.category-grid-wrapper {
  position: relative;
  overflow: hidden;
}

/* ========================================
   5. Featured Collection Banner
   ======================================== */

.section-featured {
  background-color: var(--color-clay);
  overflow: hidden;
}

.featured-inner {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 500px;
}

@media (min-width: 768px) {
  .featured-inner {
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
  }
}

.featured-image {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

.featured-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) var(--container-padding);
}

@media (min-width: 768px) {
  .featured-content {
    padding: var(--space-2xl) clamp(2.5rem, 5vw, 5rem);
  }
}

.featured-content .label-text {
  color: var(--color-maroon);
  margin-bottom: var(--space-md);
}

.featured-content h2 {
  margin-bottom: var(--space-md);
}

.featured-content p {
  color: var(--color-grey);
  line-height: 1.75;
  max-width: 45ch;
  margin-bottom: var(--space-lg);
}

/* ========================================
   6. Fresh Fits (Tabbed Products)
   ======================================== */

.section-fresh-fits {
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.fits-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.fits-tab {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.25rem;
  border-bottom: 2px solid transparent;
  color: var(--color-grey);
  transition: all var(--duration-normal) var(--ease-out-quart);
}

.fits-tab:hover {
  color: var(--color-dark);
}

.fits-tab.active {
  color: var(--color-maroon);
  border-bottom-color: var(--color-maroon);
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (min-width: 640px) {
  .product-grid {
    gap: var(--space-md);
  }
}

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

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

.product-card {
  position: relative;
}

.product-card[hidden] {
  display: none;
}

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin-bottom: var(--space-sm);
  background-color: var(--color-clay);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

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

.product-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background-color: var(--color-maroon);
  color: var(--color-cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
}

/* Whole-image clickable link overlay → product-detail */
.product-card-cover {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
  /* Block-level transparent overlay for SEO/keyboard navigation */
}

.product-card-quick {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: oklch(22% 0.015 25 / 0.85);
  color: var(--color-cream);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  cursor: pointer;
  z-index: 2;
  transition: opacity var(--duration-normal) var(--ease-out-quart),
              transform var(--duration-normal) var(--ease-out-quart),
              background-color var(--duration-fast) var(--ease-out-quart);
}

.product-card-quick:hover {
  background-color: var(--color-maroon);
}

.product-card:hover .product-card-quick,
.product-card:focus-within .product-card-quick {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile/touch: always show Quick Add so it's reachable without hover */
@media (hover: none) {
  .product-card-quick {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card-info {
  padding: 0 2px;
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 4px;
}

.product-card-name a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.product-card-name a:hover {
  color: var(--color-maroon);
}

.product-card-price {
  font-size: var(--text-small);
  color: var(--color-grey);
  font-weight: 400;
}

/* ========================================
   7. Floral Symphony (Editorial)
   ======================================== */

.section-floral {
  position: relative;
  background-color: var(--color-maroon-deep);
  color: var(--color-cream);
  overflow: hidden;
}

.floral-inner {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 500px;
}

@media (min-width: 768px) {
  .floral-inner {
    grid-template-columns: 45fr 55fr;
    min-height: 600px;
  }
}

.floral-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) var(--container-padding);
  order: 1;
}

@media (min-width: 768px) {
  .floral-content {
    padding: var(--space-2xl) clamp(2.5rem, 5vw, 5rem);
    order: 0;
  }
}

.floral-content .label-text {
  color: oklch(80% 0.06 22);
  margin-bottom: var(--space-md);
}

.floral-content h2 {
  color: var(--color-cream);
  margin-bottom: var(--space-md);
}

.floral-content p {
  color: oklch(85% 0.01 80);
  line-height: 1.75;
  max-width: 42ch;
  margin-bottom: var(--space-lg);
}

.floral-content .btn-primary {
  background-color: var(--color-cream);
  color: var(--color-maroon-deep);
}

.floral-content .btn-primary:hover {
  background-color: var(--color-clay);
}

.floral-image {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  order: 0;
}

@media (min-width: 768px) {
  .floral-image {
    order: 1;
  }
}

.floral-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   8. Curated Collections
   ======================================== */

.section-curated {
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.curated-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

@media (min-width: 960px) {
  .curated-grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .curated-card:first-child {
    grid-row: 1 / 3;
  }
}

.curated-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: block;
}

@media (min-width: 960px) {
  .curated-card {
    min-height: 320px;
  }
}

.curated-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.curated-card:hover img {
  transform: scale(1.04);
}

.curated-card-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(22% 0.015 25 / 0.6) 0%, oklch(22% 0.015 25 / 0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
}

.curated-card h3 {
  color: var(--color-cream);
  font-size: var(--text-h3);
  margin-bottom: 4px;
}

.curated-card-count {
  color: oklch(85% 0.005 80);
  font-size: var(--text-small);
}

/* ========================================
   9. Fabric Discovery
   ======================================== */

.section-fabric {
  background-color: var(--color-clay);
  padding: var(--space-3xl) 0;
}

.fabric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

.fabric-card {
  text-align: center;
}

.fabric-card-image {
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: var(--space-md);
  border-radius: 50%;
  max-width: 280px;
  margin-inline: auto;
}

.fabric-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.fabric-card:hover .fabric-card-image img {
  transform: scale(1.06);
}

.fabric-card h3 {
  margin-bottom: var(--space-xs);
}

.fabric-card p {
  color: var(--color-grey);
  font-size: var(--text-small);
  max-width: 32ch;
  margin-inline: auto;
  line-height: 1.65;
}

/* ========================================
   10. Brand Story
   ======================================== */

.section-story {
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .story-inner {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
  }
}

.story-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  max-height: 550px;
}

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

.story-content .label-text {
  color: var(--color-maroon);
  margin-bottom: var(--space-md);
}

.story-content h2 {
  margin-bottom: var(--space-md);
}

.story-content p {
  color: var(--color-grey);
  line-height: 1.8;
  max-width: 52ch;
  margin-bottom: var(--space-md);
}

.story-content p:last-of-type {
  margin-bottom: var(--space-lg);
}

.story-values {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.story-value {
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-style: italic;
  color: var(--color-maroon);
  padding: 0.4rem 1rem;
  border: 1px solid var(--color-maroon);
}

/* ========================================
   11. Best Sellers
   ======================================== */

.section-bestsellers {
  background-color: var(--color-cream-dark);
  padding: var(--space-3xl) 0 var(--space-2xl);
}

/* Reuses .product-grid and .product-card styles */

/* ========================================
   12. Customer Love
   ======================================== */

.section-testimonials {
  padding: var(--space-3xl) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

.testimonial-card {
  padding: var(--space-lg);
  background-color: var(--color-clay);
  text-align: center;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-md);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-maroon);
  stroke: none;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: var(--text-body-lg);
  font-style: italic;
  line-height: 1.7;
  color: var(--color-dark);
  margin-bottom: var(--space-md);
  max-width: 38ch;
  margin-inline: auto;
}

.testimonial-author {
  font-size: var(--text-small);
  color: var(--color-grey);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ========================================
   13. Instagram Gallery
   ======================================== */

.section-instagram {
  padding: var(--space-2xl) 0 0;
}

.instagram-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.instagram-header h2 {
  margin-bottom: var(--space-xs);
}

.instagram-header a {
  color: var(--color-maroon);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

@media (min-width: 768px) {
  .instagram-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.instagram-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.instagram-item:hover img {
  transform: scale(1.06);
}

.instagram-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: oklch(35% 0.15 22 / 0);
  transition: background-color var(--duration-normal) var(--ease-out-quart);
}

.instagram-item:hover::after {
  background-color: oklch(35% 0.15 22 / 0.15);
}

/* ========================================
   14. Footer (rebuilt — clean 5-column grid)
   ======================================== */

.site-footer {
  background-color: var(--color-dark);
  color: oklch(85% 0.005 80);
  padding: var(--space-xl) 0 0;
  margin-top: 0;
}

/* Inner 5-col grid: brand + 4 link sections */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-md);
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: var(--space-lg);
    padding-bottom: var(--space-md);
  }
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .footer-brand {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid oklch(35% 0.008 30);
  }
  .footer-brand-copy { flex: 1 1 auto; }
}

@media (max-width: 639px) {
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  .footer-brand-copy { margin-inline: auto; }
}

.footer-logo {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  flex-shrink: 0;
}

.footer-brand-copy {
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: 1.65;
  max-width: 34ch;
  color: oklch(85% 0.005 80 / 0.85);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid oklch(50% 0.005 30);
  border-radius: 50%;
  transition: border-color var(--duration-fast) var(--ease-out-quart),
              background-color var(--duration-fast) var(--ease-out-quart);
}

.footer-social a:hover {
  border-color: var(--color-maroon-light);
  background-color: var(--color-maroon);
}

.footer-social svg {
  width: 14px;
  height: 14px;
  fill: var(--color-cream);
}

/* Link columns */
.footer-col {
  display: flex;
  flex-direction: column;
  align-self: start;
  min-width: 0;
}

@media (max-width: 639px) {
  .footer-col {
    text-align: center;
    align-items: center;
  }
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-cream);
  margin: 0 0 0.9rem 0;
}

.footer-col a {
  display: block;
  font-size: var(--text-small);
  line-height: 1.5;
  padding: 0.22rem 0;
  color: oklch(85% 0.005 80 / 0.78);
  transition: color var(--duration-fast) var(--ease-out-quart);
}

.footer-col a:hover {
  color: var(--color-cream);
}

/* Newsletter strip — full width below the grid */
.footer-newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: var(--space-md) 0;
  border-top: 1px solid oklch(35% 0.008 30);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-newsletter {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: var(--space-lg);
  }
}

.footer-newsletter-copy {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-style: italic;
  color: var(--color-cream);
  margin: 0;
}

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 420px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.95rem;
  background: transparent;
  border: 1px solid oklch(50% 0.005 30);
  border-right: none;
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: var(--text-small);
}

.newsletter-form input::placeholder {
  color: oklch(58% 0.005 30);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-maroon-light);
}

.newsletter-form button {
  padding: 0.7rem 1.25rem;
  background-color: var(--color-maroon);
  color: var(--color-cream);
  border: 1px solid var(--color-maroon);
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out-quart),
              border-color var(--duration-fast) var(--ease-out-quart);
}

.newsletter-form button:hover {
  background-color: var(--color-maroon-light);
  border-color: var(--color-maroon-light);
}

/* Copyright row */
.footer-bottom {
  border-top: 1px solid oklch(35% 0.008 30);
  padding: 0.9rem 0;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: oklch(58% 0.005 30);
}

/* ========================================
   Scroll Reveal Animations
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > .reveal {
  transition-delay: calc(var(--stagger, 0) * 80ms);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Screen reader only */
/* Global toast (used by Quick Add and other site-wide actions) */
.cart-toast {
  position: fixed;
  left: 50%;
  bottom: var(--space-lg);
  transform: translate(-50%, 24px);
  background-color: var(--color-dark);
  color: var(--color-cream);
  padding: 0.85rem 1.25rem;
  font-size: var(--text-small);
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px oklch(22% 0.015 25 / 0.18);
  opacity: 0;
  pointer-events: none;
  z-index: 280;
  max-width: calc(100vw - 2rem);
  text-align: center;
  transition: opacity var(--duration-normal) var(--ease-out-quart),
              transform var(--duration-normal) var(--ease-out-expo);
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Add to Cart toast — same visual language as .cart-toast, plus an actions row
   (View Cart / Continue Shopping) for the AJAX add-to-cart flow. */
.atc-toast {
  position: fixed;
  left: 50%;
  bottom: var(--space-lg);
  transform: translate(-50%, 24px);
  background-color: var(--color-dark);
  color: var(--color-cream);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px oklch(22% 0.015 25 / 0.18);
  opacity: 0;
  pointer-events: none;
  z-index: 280;
  width: 360px;
  max-width: calc(100vw - 2rem);
  padding: 1rem 1.1rem;
  transition: opacity var(--duration-normal) var(--ease-out-quart),
              transform var(--duration-normal) var(--ease-out-expo);
}

.atc-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.atc-toast-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.atc-toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: #6fcf97;
  stroke-width: 2.5;
  fill: none;
}

.atc-toast.is-error .atc-toast-icon {
  stroke: oklch(70% 0.18 25);
}

.atc-toast-message {
  flex: 1;
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.atc-toast-close {
  background: none;
  border: none;
  color: var(--color-cream);
  opacity: 0.7;
  cursor: pointer;
  padding: 2px;
  flex-shrink: 0;
}

.atc-toast-close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.atc-toast-close:hover {
  opacity: 1;
}

.atc-toast-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.atc-toast.is-error .atc-toast-actions {
  display: none;
}

.atc-toast-view-cart,
.atc-toast-continue {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
}

.atc-toast-view-cart {
  background-color: var(--color-maroon);
  color: var(--color-cream);
  border: 1px solid var(--color-maroon);
}

.atc-toast-view-cart:hover {
  background-color: var(--color-maroon-light);
}

.atc-toast-continue {
  background: transparent;
  color: var(--color-cream);
  border: 1px solid oklch(100% 0 0 / 0.3);
}

.atc-toast-continue:hover {
  border-color: oklch(100% 0 0 / 0.6);
}

@media (max-width: 480px) {
  .atc-toast {
    width: calc(100vw - 2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .atc-toast {
    transition: none;
  }
}

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

/* ========================================
   Announcement Bar — rotating messages
   ======================================== */

.announcement-msg {
  display: none;
  width: 100%;
  text-align: center;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  transition: opacity 0.4s ease;
  padding: 0.2rem 0;
  line-height: 1.4;
}

.announcement-msg.active {
  display: flex;
}

@media (max-width: 600px) {
  .announcement-bar {
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    padding: 0.5rem 1rem;
  }
  .announcement-msg {
    flex-direction: column;
    gap: 0.1rem;
    text-align: center;
  }
  .announcement-msg a {
    white-space: nowrap;
  }
}



/* ========================================
   Product Section Variants
   ======================================== */

.section-latest-collection {
  padding: var(--space-3xl) 0 var(--space-2xl);
  background-color: var(--color-cream);
}

.section-previous-bestsellers {
  padding: var(--space-3xl) 0 var(--space-2xl);
  background-color: var(--color-clay);
}

.section-offer-collection {
  padding: var(--space-3xl) 0 var(--space-2xl);
  background-color: var(--color-maroon-deep);
}

.section-offer-collection .section-header h2,
.section-offer-collection .section-header p {
  color: var(--color-cream);
}

.section-offer-collection .section-header p {
  color: oklch(85% 0.01 80);
}

/* Product card text inherits a dark color meant for light backgrounds elsewhere on the
   site — on this section's dark maroon background that reads as black-on-maroon, so it
   needs its own light-text override here. Scoped to this section only. */
.section-offer-collection .product-card-name {
  color: var(--color-cream);
}

.section-offer-collection .product-card-name a:hover {
  color: var(--color-cream);
  text-decoration: underline;
}

.section-offer-collection .product-card-price {
  color: oklch(85% 0.01 80);
}

/* ========================================
   Journal Section
   ======================================== */

.section-journal {
  padding: var(--space-3xl) 0 var(--space-2xl);
  background-color: var(--color-cream);
}

.journal-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.section-footer-link {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

.journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

.journal-card {
  display: flex;
  flex-direction: column;
}

.journal-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: var(--space-md);
  background-color: var(--color-clay);
}

.journal-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.journal-card:hover .journal-card-image img {
  transform: scale(1.04);
}

.journal-card-meta {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-maroon);
  margin-bottom: var(--space-xs);
}

.journal-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.journal-card p {
  color: var(--color-grey);
  font-size: var(--text-small);
  line-height: 1.65;
}

/* ========================================
   Newsletter — standalone section
   ======================================== */

.section-newsletter {
  background-color: var(--color-maroon);
  padding: var(--space-3xl) 0;
  color: var(--color-cream);
  text-align: center;
}

.newsletter-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(90% 0.005 80 / 0.7);
  margin-bottom: var(--space-md);
}

.section-newsletter h2 {
  color: var(--color-cream);
  margin-bottom: var(--space-md);
}

.section-newsletter p {
  color: oklch(90% 0.005 80 / 0.85);
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.newsletter-standalone-form {
  display: flex;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

.newsletter-standalone-form input {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1.1rem;
  background: oklch(96.5% 0.008 80 / 0.1);
  border: 1px solid oklch(96.5% 0.008 80 / 0.3);
  border-right: none;
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: var(--text-body);
}

.newsletter-standalone-form input::placeholder {
  color: oklch(90% 0.005 80 / 0.5);
}

.newsletter-standalone-form input:focus {
  outline: none;
  border-color: oklch(96.5% 0.008 80 / 0.6);
}

.newsletter-standalone-form button {
  padding: 0.9rem 1.5rem;
  background-color: var(--color-cream);
  color: var(--color-maroon);
  border: 1px solid var(--color-cream);
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--duration-fast) var(--ease-out-quart),
              border-color var(--duration-fast) var(--ease-out-quart);
}

.newsletter-standalone-form button:hover {
  background-color: var(--color-clay);
  border-color: var(--color-clay);
}
