/* ==========================================================================
   Sruthi Silpam — design system (hand-written CSS)
   ========================================================================== */
:root {
  /* Local self-hosted fonts (place WOFF2 files in /public/assets/fonts/)
     Required files:
       - playfair-display-400.woff2
       - playfair-display-500.woff2
       - poppins-300.woff2
       - poppins-400.woff2
       - poppins-500.woff2
       - poppins-600.woff2
     Use `font-display: swap` to avoid render-blocking.
  */
}

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-display-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-display-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root {
  --background: #ffffff;
  --ivory: #f8f6f2;
  --gold: #b68d40;
  --gold-soft: #e0c89a;
  --maroon: #6d1f2d;
  --charcoal: #1f1f1f;
  --muted: #7a7268;
  --border: #e8e3da;
  --on-dark: #fdfaf5;

  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --gradient-gold: linear-gradient(100deg, #d8b877, #b68d40, #e4cb99);
  --gradient-ivory: linear-gradient(180deg, #ffffff, #f8f6f2);
  --shadow-soft: 0 10px 30px -18px rgba(109, 31, 45, 0.28);
  --shadow-lux: 0 28px 60px -30px rgba(109, 31, 45, 0.35);
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--charcoal);
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

h1,
h2,
h3,
h4,
.display {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  margin: 0;
}

p,
ul,
ol,
dl,
figure,
blockquote {
  margin: 0;
}

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

/* Layout helpers ---------------------------------------------------------- */

.container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2.5rem;
  }
}

.section {
  padding-block: 5rem;
}

@media (min-width: 640px) {
  .section {
    padding-block: 7rem;
  }
}

.section-ivory {
  background: var(--ivory);
}

.section-gradient {
  background: var(--gradient-ivory);
}

.kicker {
  font-size: 11px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.muted {
  color: var(--muted);
  font-weight: 300;
}

.gold-rule {
  height: 1px;
  width: 4rem;
  background: var(--gradient-gold);
  margin-top: 1.5rem;
}

.section-head {
  max-width: 36rem;
}

.section-head h2 {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.section-head p {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--muted);
}

.lux-lift {
  transition:
    transform 0.5s var(--ease-lux),
    box-shadow 0.5s var(--ease-lux);
}

.lux-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lux);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-lux),
    transform 0.9s var(--ease-lux);
}

.reveal[data-visible="true"] {
  opacity: 1;
  transform: none;
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  padding: 0.9rem 1.75rem;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

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

.btn-gold {
  background: var(--gradient-gold);
  color: #fff;
  box-shadow: var(--shadow-lux);
}

.btn-maroon {
  background: var(--maroon);
  color: var(--on-dark);
}

.btn-charcoal {
  background: var(--charcoal);
  color: var(--on-dark);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--charcoal);
}

.btn-outline:hover {
  border-color: var(--gold);
}

.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--on-dark);
  backdrop-filter: blur(4px);
}

.btn-ghost-light:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.btn-block {
  display: flex;
  width: 100%;
}

.link-maroon {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--maroon);
}

.field {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  padding: 0.85rem 1.25rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.field:focus {
  border-color: var(--gold);
}

.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon-sm {
  width: 15px;
  height: 15px;
}

.icon-lg {
  width: 24px;
  height: 24px;
}

.icon-filled {
  fill: currentColor;
  stroke: none;
}

/* Navbar ------------------------------------------------------------------ */

.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition:
    background-color 0.5s ease,
    box-shadow 0.5s ease,
    border-color 0.5s ease;
  border-bottom: 1px solid transparent;
  color: var(--on-dark);
}

.navbar.is-solid {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-soft);
  color: var(--charcoal);
}

.nav-ticker {
  display: none;
  background: var(--maroon);
  color: var(--on-dark);
  text-align: center;
  padding-block: 0.5rem;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition:
    padding 0.4s ease,
    opacity 0.4s ease;
}

@media (min-width: 768px) {
  .nav-ticker {
    display: block;
  }
}

.navbar.is-solid .nav-ticker {
  height: 0;
  padding-block: 0;
  opacity: 0;
  overflow: hidden;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 0.9rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.nav-brand:hover {
  opacity: 0.88;
}

.nav-brand .brand-sruthi {
  color: var(--on-dark);
  transition: color 0.5s ease;
}

.navbar.is-solid .nav-brand .brand-sruthi {
  color: var(--maroon);
}

.nav-brand .brand-silpam {
  color: var(--gold);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  min-width: 0;
}

@media (min-width: 1024px) {
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    padding-block: 1rem;
  }
  .nav-left {
    justify-self: start;
  }
  .nav-links {
    display: flex;
    justify-self: center;
  }
  .nav-actions {
    justify-self: end;
  }
  .nav-burger {
    display: none;
  }
}

.nav-link {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar.is-solid .nav-link:hover {
  color: var(--maroon);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

/* Admin dashboard — redesigned luxury textile catalog panel -------------- */

:root {
  --admin-bg: #f8f6f2; /* Warm Ivory */
  --admin-card: #ffffff; /* Pure White */
  --admin-primary: #7a2236; /* Burgundy */
  --admin-gold: #c9a76a; /* Soft Gold */
  --admin-text: #1f1f1f; /* Dark Charcoal */
  --admin-border: #ebe6dd; /* Light Beige */
  --admin-radius: 14px;
}

.admin-body {
  background-color: var(--admin-bg) !important;
  color: var(--admin-text) !important;
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  margin: 0;
  padding: 0;
}

/* Initial storefront entry ------------------------------------------------ */

html.splash-seen .site-splash {
  display: none !important;
}

.site-splash {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 6vw, 5rem);
  /* Mirrors the logo file's warm, lightly varied paper-toned background. */
  background-color: #f7e7d5;
  background-image:
    radial-gradient(110% 92% at 88% 0%, rgba(255, 248, 235, 0.62), transparent 67%),
    radial-gradient(105% 100% at 0% 100%, rgba(232, 211, 181, 0.3), transparent 70%);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 400ms var(--ease-lux),
    visibility 0s linear 400ms;
}

.site-splash.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Image smooth reveal & CLS protection */
.img-smooth {
  opacity: 1;
  transition: opacity 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.img-smooth.is-loaded,
img.is-loaded {
  opacity: 1 !important;
}

html:not(.splash-seen) .hero-slide.is-active img {
  animation: none !important;
}

.site-splash__content {
  display: grid;
  justify-items: center;
  width: 100%;
}

.site-splash__logo {
  width: min(68vw, 52rem);
  max-width: 100%;
  aspect-ratio: 260 / 174;
  background: transparent url("/assets/img/sruthi-silpam-splash-logo.png") center / contain
    no-repeat;
  opacity: 0;
  animation: splash-logo-enter 1.25s var(--ease-lux) 100ms forwards;
}

.site-splash__divider {
  width: clamp(2.5rem, 5vw, 4rem);
  height: 1px;
  margin-top: clamp(1.35rem, 2.4vw, 2rem);
  background: linear-gradient(90deg, transparent, rgba(109, 31, 45, 0.58), transparent);
}

.site-splash__loading {
  margin-top: 0.7rem;
  color: rgba(109, 31, 45, 0.82);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  line-height: 1;
  text-transform: uppercase;
}

.site-splash__progress {
  display: block;
  overflow: hidden;
  width: clamp(3.5rem, 8vw, 5.5rem);
  height: 1px;
  margin-top: 0.75rem;
  background: rgba(182, 141, 64, 0.24);
}

.site-splash__progress span {
  display: block;
  width: 48%;
  height: 100%;
  background: var(--gold);
  animation: splash-progress 1.65s ease-in-out infinite;
}

@keyframes splash-logo-enter {
  from {
    opacity: 0;
    transform: scale(0.975);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes splash-progress {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(220%);
  }
}

@media (max-width: 767px) {
  .site-splash {
    padding: 1.5rem;
  }

  .site-splash__logo {
    width: min(88vw, 38rem);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .site-splash__logo {
    width: min(72vw, 46rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-splash,
  .site-splash__logo {
    transition-duration: 1ms;
    animation-duration: 1ms;
  }

  .site-splash__logo {
    opacity: 1;
    transform: none;
  }

  .site-splash__progress span {
    animation: none;
    transform: translateX(55%);
  }
}

/* Admin access gate: hidden views must never occupy space or be scrollable. */
[data-admin-auth][hidden],
[data-admin-dashboard][hidden] {
  display: none !important;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: var(--cream, #f8f4ee);
}

.admin-login-card {
  width: min(100%, 28rem);
  display: grid;
  gap: 1rem;
  padding: clamp(1.75rem, 5vw, 3rem);
  background: #fffdfa;
  border: 1px solid var(--line, #e5ddd2);
  box-shadow: 0 1.5rem 4rem rgba(52, 27, 23, 0.1);
}

.admin-login-brand {
  display: grid;
  gap: 0.2rem;
  color: var(--maroon, #5e1d2b);
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
}

.admin-login-brand span {
  color: var(--muted, #746b66);
  font-family: Poppins, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-login-card h1 {
  margin: 0;
}
.admin-login-copy {
  margin: 0 0 0.5rem;
  color: var(--muted, #746b66);
}
.admin-login-card label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink, #281b1b);
  font-size: 0.84rem;
}
.admin-login-error {
  margin: 0;
  padding: 0.75rem 0.9rem;
  color: #8f1c2c;
  background: #fff0f1;
  font-size: 0.82rem;
}
.admin-logout {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .admin-login {
    padding: 1rem;
  }
  .admin-header-actions .admin-logout {
    width: auto;
  }
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  background-color: var(--admin-bg);
}

/* Sidebar navigation */
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--admin-text); /* Dark Charcoal */
  color: #ffffff;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 12px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.admin-brand span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.admin-brand small {
  color: var(--admin-gold);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.admin-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.admin-menu a:hover,
.admin-menu a.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.admin-menu a.is-active {
  background: var(--admin-primary); /* Burgundy */
}

.admin-store-link {
  margin-top: auto;
  padding: 12px 16px;
  color: var(--admin-gold);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.admin-store-link:hover {
  background: rgba(201, 167, 106, 0.1);
  color: #ffffff;
}

/* Header styling */
.admin-content {
  padding: 40px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--admin-border);
}

.admin-header h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--admin-text);
  margin-top: 4px;
}

.admin-header .kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--admin-gold);
  font-weight: 600;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-search-wrap {
  position: relative;
}

.admin-search {
  width: 240px;
  border: 1px solid var(--admin-border);
  border-radius: 99px;
  padding: 10px 16px 10px 40px;
  font-size: 13px;
  background: var(--admin-card);
  outline: 0;
  transition: all 0.2s ease;
}

.admin-search:focus {
  border-color: var(--admin-primary);
  box-shadow: 0 0 0 3px rgba(122, 34, 54, 0.08);
}

.admin-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #7a7268;
}

.admin-icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--admin-border);
  border-radius: 50%;
  background: var(--admin-card);
  color: var(--admin-text);
  font-size: 16px;
  transition: all 0.2s ease;
}

.admin-icon-button:hover {
  border-color: var(--admin-primary);
  color: var(--admin-primary);
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--admin-border);
  padding: 6px 14px 6px 6px;
  border-radius: 99px;
  background: var(--admin-card);
}

.admin-profile-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--admin-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
}

.admin-profile-name {
  font-size: 13px;
  font-weight: 500;
}

/* Stat Cards Row */
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.admin-stat-card {
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  border-radius: var(--admin-radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

.stat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fdf9f2;
  color: var(--admin-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.stat-card-info {
  display: flex;
  flex-direction: column;
}

.stat-card-info span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7a7268;
  font-weight: 500;
}

.stat-card-info strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  color: var(--admin-text);
  margin-top: 4px;
  font-weight: 500;
}

.stat-card-info p {
  font-size: 12px;
  color: #7a7268;
  margin-top: 4px;
}

/* Dashboard Row Grid */
.admin-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  margin-bottom: 40px;
}

.admin-panel {
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  border-radius: var(--admin-radius);
  padding: 24px;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin-panel-head h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
}

.admin-panel-head .eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--admin-gold);
  font-weight: 600;
  margin-bottom: 4px;
}

/* Quick Actions Card */
.quick-actions-panel {
  display: flex;
  flex-direction: column;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quick-action-card {
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 20px 16px;
  background: #fcfcfb;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.quick-action-card:hover {
  border-color: var(--admin-primary);
  background: #fdf9f2;
  transform: translateY(-2px);
}

.quick-action-icon {
  font-size: 20px;
  color: var(--admin-primary);
}

.quick-action-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--admin-text);
}

.quick-action-desc {
  font-size: 11px;
  color: #7a7268;
  line-height: 1.4;
}

/* Tables styling */
.luxury-table-container {
  overflow-x: auto;
}

.luxury-table {
  width: 100%;
  border-collapse: collapse;
}

.luxury-table th {
  padding: 12px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7a7268;
  border-bottom: 1px solid var(--admin-border);
  font-weight: 500;
}

.luxury-table td {
  padding: 16px;
  font-size: 13px;
  color: var(--admin-text);
  border-bottom: 1px solid #f4f1eb;
}

.table-thumb {
  width: 44px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--admin-border);
  background: var(--admin-bg);
}

.category-badge {
  display: inline-block;
  background: #f4f1eb;
  color: #7a7268;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 500;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.stock-badge.low {
  background: #fef3c7;
  color: #92400e;
}

.stock-badge.out {
  background: #fee2e2;
  color: #991b1b;
}

.stock-badge.in,
.stock-badge.normal {
  background: #d1fae5;
  color: #065f46;
}

.product-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(6px);
  z-index: 3;
}

.product-card-badge.out {
  background: rgba(30, 30, 30, 0.88);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.product-card-badge.low {
  background: rgba(45, 30, 10, 0.88);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.stock-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.stock-banner.out {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.stock-banner.low {
  background: #fffbe6;
  color: #92400e;
  border: 1px solid #fde68a;
}

.stock-banner.in {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

button:disabled,
.btn:disabled,
.quick-add:disabled,
.hover-add:disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.quick-add:disabled,
.hover-add:disabled {
  background: rgba(220, 220, 220, 0.9) !important;
  color: #666666 !important;
  border-color: #cccccc !important;
}

.table-action-btn {
  background: none;
  border: 1px solid var(--admin-border);
  color: var(--admin-primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.table-action-btn:hover {
  background: var(--admin-primary);
  color: #ffffff;
  border-color: var(--admin-primary);
}

/* Products and Catalog Management */
.admin-product-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-inventory {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 24px;
}

.admin-category-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-category-header {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--admin-border);
}

.admin-category-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.admin-category-header .eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--admin-gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.admin-category-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--admin-primary);
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.admin-category-count {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a7268;
  white-space: nowrap;
}

.admin-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.admin-product {
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  border-radius: var(--admin-radius);
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.2s ease;
}

.admin-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(122, 34, 54, 0.04);
  border-color: var(--admin-gold);
}

.admin-product img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--admin-bg);
  border: 1px solid var(--admin-border);
}

.admin-product div {
  flex: 1;
  min-width: 0;
}

.admin-product h3 {
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--admin-text);
  margin: 4px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product .eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--admin-gold);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.admin-product p {
  font-size: 12px;
  color: #7a7268;
}

.admin-row-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.admin-row-actions button {
  background: none;
  border: 1px solid var(--admin-border);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--admin-text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-row-actions button:hover {
  border-color: var(--admin-primary);
  color: var(--admin-primary);
}

.admin-row-actions button.danger {
  color: #991b1b;
}

.admin-row-actions button.danger:hover {
  background: #fee2e2;
  border-color: #991b1b;
}

/* Banners grid */
.admin-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.admin-banner-card {
  border: 1px solid var(--admin-border);
  border-radius: var(--admin-radius);
  padding: 24px;
  background: #ffffff;
}

.admin-banner-card legend {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  color: var(--admin-primary);
  font-weight: 500;
  padding: 0 8px;
}

.admin-banner-preview {
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--admin-border);
  margin-bottom: 16px;
  background: var(--admin-bg);
}

.admin-banner-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-banner-upload {
  display: block;
  border: 1px dashed var(--admin-gold);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  font-size: 12px;
  color: var(--admin-primary);
  font-weight: 500;
  transition: all 0.2s ease;
  background: #fffdf9;
}

.admin-banner-upload:hover {
  background: #fff9ee;
}

.admin-banner-upload input {
  display: none;
}

.admin-banner-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  font-size: 10px;
  text-transform: uppercase;
  color: #7a7268;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Dialog Editor Popup */
.admin-dialog {
  border: 0;
  border-radius: 20px;
  padding: 0;
  width: min(640px, 90vw);
  box-shadow: 0 20px 50px rgba(109, 31, 45, 0.15);
}

.admin-dialog::backdrop {
  background: rgba(31, 31, 31, 0.4);
}

.admin-product-form {
  padding: 32px;
}

.admin-product-form header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.admin-product-form header h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
}

.admin-product-form header button {
  font-size: 24px;
  color: #7a7268;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.admin-product-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  text-transform: uppercase;
  color: #7a7268;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.admin-product-form label.span-2 {
  grid-column: span 2;
}

.field {
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  background: #ffffff;
  outline: 0;
}

.field:focus {
  border-color: var(--admin-primary);
}

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

/* Upload zone */
.admin-upload {
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 20px;
  background: #fcfcfb;
  margin-bottom: 24px;
}

.admin-upload h3 {
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.admin-upload p {
  font-size: 11px;
  color: #7a7268;
  margin-bottom: 16px;
}

.admin-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--admin-gold);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  background: #fffdf9;
  cursor: pointer;
}

.admin-dropzone input {
  display: none;
}

.admin-dropzone span {
  font-size: 13px;
  font-weight: 600;
  color: var(--admin-primary);
}

.admin-dropzone small {
  font-size: 11px;
  color: #7a7268;
  margin-top: 4px;
}

.admin-image-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.admin-image-preview figure {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--admin-border);
}

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

.admin-image-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(31, 31, 31, 0.85);
  color: #ffffff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.admin-image-remove-btn:hover {
  background: #a12626;
}

.admin-image-edit-btn {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(109, 31, 45, 0.9);
  color: #ffffff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.admin-image-edit-btn:hover {
  background: var(--gold, #b68d40);
}

.admin-product-form footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

/* Button UI system */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-maroon {
  background: var(--admin-primary);
  color: #ffffff;
}

.btn-maroon:hover {
  background: #631b2b;
}

.btn-outline {
  border: 1px solid var(--admin-border);
  background: #ffffff;
  color: var(--admin-text);
}

.btn-outline:hover {
  background: #f8f6f2;
}

/* Settings block */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.settings-card {
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: var(--admin-radius);
  padding: 24px;
}

.settings-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--admin-primary);
}

/* Responsive queries */
@media (max-width: 1024px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    height: auto;
    position: static;
    padding: 24px;
  }
  .admin-brand {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 0;
  }
  .admin-menu {
    flex-direction: row;
    overflow-x: auto;
  }
  .admin-menu a {
    padding: 8px 16px;
  }
  .admin-store-link {
    display: none;
  }
  .admin-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .admin-banners {
    grid-template-columns: 1fr;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }
}

/* End admin dashboard section */

@media (min-width: 768px) {
  .nav-admin-link {
    display: inline-flex;
  }
}

.nav-actions button,
.nav-actions a {
  transition: color 0.3s ease;
}

.nav-actions button:hover,
.nav-actions a:hover {
  color: var(--gold);
}

.nav-hide-sm {
  display: none;
}

@media (min-width: 640px) {
  .nav-hide-sm {
    display: block;
  }
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
}

.nav-mobile {
  overflow: hidden;
  max-height: 0;
  background: var(--background);
  border-top: 1px solid var(--border);
  transition: max-height 0.5s var(--ease-lux);
}

.nav-mobile.is-open {
  max-height: 24rem;
}

.nav-mobile .container {
  display: flex;
  flex-direction: column;
  padding-block: 1rem;
}

.nav-mobile a {
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.nav-mobile a:last-child {
  border-bottom: 0;
}

@media (min-width: 1024px) {
  .nav-mobile {
    display: none;
  }
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-out;
}

.hero-slide.is-active {
  opacity: 1;
}

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

.hero-slide.is-active img {
  animation: ken-burns 9s ease-out forwards;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(31, 31, 31, 0.85),
    rgba(31, 31, 31, 0.35) 55%,
    rgba(31, 31, 31, 0.45)
  );
}

@keyframes ken-burns {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.18) translate3d(0, -1.5%, 0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-body {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-bottom: 6rem;
}

@media (min-width: 640px) {
  .hero-body {
    align-items: center;
    padding-bottom: 0;
  }
}

.hero-copy {
  max-width: 36rem;
  color: var(--on-dark);
  opacity: 1;
}

.hero-copy .hero-kicker {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero-copy h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.08;
  white-space: pre-line;
}

.hero-copy .hero-text {
  margin-top: 1.25rem;
  max-width: 28rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(253, 250, 245, 0.85);
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.75rem;
}

.hero-dots button {
  height: 1px;
  width: 40px;
  background: rgba(255, 255, 255, 0.4);
  transition: background-color 0.5s ease;
}

.hero-dots button.is-active {
  background: var(--gold);
}

/* Marquee ----------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--ivory);
  padding-block: 1rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee-x 28s linear infinite;
}

.marquee-track span {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee-track span i {
  margin-left: 3rem;
  color: var(--gold);
  font-style: normal;
}

@keyframes marquee-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Grids ------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 1.5rem;
}

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

.mt-12 {
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .sm-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (min-width: 1024px) {
  .lg-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lg-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lg-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lg-grid-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Category + collection cards --------------------------------------------- */

.category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.category-grid > * {
  flex: 0 0 calc(50% - 0.75rem);
  max-width: calc(50% - 0.75rem);
}

@media (min-width: 640px) {
  .category-grid > * {
    flex: 0 0 220px;
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  .category-grid > * {
    flex: 0 0 282px;
    max-width: 100%;
  }
}

.category-explore-cta {
  display: none;
}

@media (max-width: 639px) {
  .category-grid > .tile:nth-of-type(odd):last-of-type {
    display: none !important;
  }

  .category-explore-cta.mobile-only-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.125rem 1.5rem;
    margin-top: 0.25rem;
    background: linear-gradient(135deg, rgba(31, 31, 31, 0.95), rgba(42, 34, 27, 0.95));
    color: var(--gold-light, #d4af37);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-lg, 12px);
    box-shadow: var(--shadow-soft);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 0.8125rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    transition:
      transform 0.3s ease,
      border-color 0.3s ease,
      box-shadow 0.3s ease,
      background-color 0.3s ease;
  }

  .category-explore-cta.mobile-only-cta:active,
  .category-explore-cta.mobile-only-cta:hover {
    transform: translateY(-2px);
    border-color: var(--gold, #c5a059);
    background: linear-gradient(135deg, rgba(42, 34, 27, 0.98), rgba(31, 31, 31, 0.98));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }

  .category-explore-cta .cta-icon {
    transition: transform 0.3s ease;
  }

  .category-explore-cta.mobile-only-cta:hover .cta-icon {
    transform: translateX(4px);
  }
}

.tile {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ivory);
  box-shadow: var(--shadow-soft);
}

.tile-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ivory-warm, #f8f6f0);
}

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease-out;
}

.tile:hover .tile-media img {
  transform: scale(1.07);
}

.tile-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem;
  padding-top: 3.5rem;
  background: linear-gradient(to top, rgba(31, 31, 31, 0.75), transparent);
  color: var(--on-dark);
}

.tile-caption .name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.125rem;
}

.tile-caption .note {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.feature-card .media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--background);
  box-shadow: var(--shadow-soft);
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  isolation: isolate;
  aspect-ratio: 3 / 4;
}

.feature-card .media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease-out;
}

.feature-card:hover .media img {
  transform: scale(1.06);
}

.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.75rem;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--maroon);
  backdrop-filter: blur(6px);
}

.hover-add {
  position: absolute;
  inset-inline: 0.75rem;
  bottom: 0.75rem;
  border-radius: 12px;
  background: var(--maroon);
  padding-block: 0.65rem;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark);
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.5s var(--ease-lux);
}

.feature-card:hover .hover-add {
  opacity: 1;
  transform: none;
}

.feature-card h3 {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

.feature-card h3 a {
  color: inherit;
}

.feature-card .price {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--muted);
}

@media (max-width: 639px) {
  [data-featured] {
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .feature-card h3 {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.3;
  }

  .feature-card .price {
    margin-top: 0.15rem;
    font-size: 0.75rem;
  }

  .feature-card .badge {
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.2rem 0.5rem;
    font-size: 9px;
  }

  .feature-card .hover-add {
    inset-inline: 0.5rem;
    bottom: 0.5rem;
    padding-block: 0.5rem;
    font-size: 10px;
    border-radius: 8px;
  }
}

.seller-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ivory);
  box-shadow: var(--shadow-soft);
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  isolation: isolate;
}

.seller-card img {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 1.2s ease-out;
}

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

.seller-card .body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
}

@media (max-width: 639px) {
  [data-sellers] {
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .seller-card .body {
    padding: 0.75rem;
    gap: 0.35rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .seller-card h3 {
    font-size: 0.875rem;
  }

  .seller-card .body .link-maroon {
    font-size: 0.8125rem;
  }
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
}

/* Section CTA (Explore Sarees button row) --------------------------------- */

.section-cta {
  display: flex;
  justify-content: center;
  padding-top: 2.5rem;
}

/* Coming-soon / empty-state message inside a product grid section --------- */

.coming-soon-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding-block: 2rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* Promo ------------------------------------------------------------------- */

.promo {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--maroon);
  box-shadow: var(--shadow-lux);
}

@media (min-width: 1024px) {
  .promo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.promo img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}

.promo-body {
  padding: 2rem;
  color: var(--on-dark);
}

@media (min-width: 640px) {
  .promo-body {
    padding: 3.5rem;
  }
}

.promo-body .kicker {
  color: var(--gold-soft);
}

.promo-body h2 {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.promo-body p {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(253, 250, 245, 0.8);
}

.promo-body .btn {
  margin-top: 2rem;
}

/* Why us / testimonials / instagram --------------------------- */

.promise {
  height: 100%;
  border-radius: var(--radius-lg);
  background: var(--background);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.promise svg {
  color: var(--gold);
}

.promise h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
}

.promise p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--muted);
}

.quote-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--background);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.quote-card svg {
  color: var(--gold-soft);
}

.quote-card blockquote {
  font-family: "Playfair Display", Georgia, serif;
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.7;
  font-style: italic;
}

.quote-card figcaption {
  margin-top: 1.5rem;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.insta-tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.insta-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--insta-pos, center top);
  transition: transform 1.2s ease-out;
}

.insta-tile:hover img {
  transform: scale(1.1);
}

.insta-tile span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(31, 31, 31, 0.45);
  color: var(--on-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.insta-tile:hover span {
  opacity: 1;
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  background: var(--charcoal);
  color: var(--on-dark);
}

.site-footer .cols {
  display: grid;
  gap: 2.5rem;
  padding-block: 4rem;
}

@media (min-width: 640px) {
  .site-footer .cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .site-footer .cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.site-footer .footer-brand-link {
  text-decoration: none;
  display: inline-block;
}

.site-footer .footer-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}

.site-footer .footer-brand .brand-sruthi {
  color: var(--on-dark);
}

.site-footer .footer-brand .brand-silpam {
  color: var(--gold);
}

.site-footer .about {
  margin-top: 1rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.65;
  font-weight: 300;
  color: rgba(253, 250, 245, 0.65);
}

.site-footer .footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.site-footer .footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(253, 250, 245, 0.15);
  color: rgba(253, 250, 245, 0.8);
  transition: all 0.3s ease;
}

.site-footer .footer-socials a:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(182, 141, 64, 0.1);
  transform: translateY(-2px);
}

.site-footer h4 {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: inherit;
}

.site-footer ul {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.site-footer li a {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(253, 250, 245, 0.7);
  transition: color 0.3s ease;
}

.site-footer li a:hover {
  color: var(--gold-soft);
}

.site-footer .bottom {
  border-top: 1px solid rgba(253, 250, 245, 0.1);
}

.site-footer .bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.5rem;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.5);
  text-align: center;
}

@media (min-width: 640px) {
  .site-footer .bottom .container {
    flex-direction: row;
    text-align: left;
  }
}

/* Contact Page ----------------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  transition:
    transform 0.35s var(--ease-lux),
    box-shadow 0.35s var(--ease-lux),
    border-color 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold-soft);
}

.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(182, 141, 64, 0.12);
  color: var(--gold);
}

.contact-card h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin: 0;
}

.contact-card p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.contact-card .btn {
  margin-top: 0.5rem;
  width: 100%;
}

.contact-email-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  transition:
    transform 0.35s var(--ease-lux),
    box-shadow 0.35s var(--ease-lux),
    border-color 0.35s ease;
}

.contact-email-section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold-soft);
}

.contact-email-body {
  max-width: 42rem;
}

.contact-email-action .btn {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .contact-email-action .btn {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .contact-email-section {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
  }
}

/* Product card ------------------------------------------------------------ */

.product-card {
  position: relative;
}

.product-card .media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ivory);
  aspect-ratio: 3 / 4;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  isolation: isolate;
}

.product-card .media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.product-card .media .front {
  transition: transform 0.9s var(--ease-lux);
}

.product-card:hover .media .front {
  transform: scale(1.07);
}

.product-card .media .back {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.product-card:hover .media .back {
  opacity: 1;
}

.wish-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--charcoal);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease;
  z-index: 2;
}

.wish-btn:hover {
  transform: scale(1.1);
}

.wish-btn.is-on {
  color: var(--maroon);
}

.wish-btn.is-on svg {
  fill: currentColor;
}

.quick-add {
  position: absolute;
  inset-inline: 1rem;
  bottom: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  padding-block: 0.75rem;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.5s ease;
  z-index: 2;
}

.product-card:hover .quick-add {
  opacity: 1;
  transform: none;
}

.product-card .info {
  padding: 1rem 0.25rem 0;
}

.product-card .info .cat {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card .info h3 {
  margin-top: 0.375rem;
  font-size: 1.125rem;
  line-height: 1.4;
}

.product-card .meta {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

.product-card .meta .was {
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: line-through;
}

.product-card .meta .rating {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.25rem;
  row-gap: 3rem;
}

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

.skeleton {
  animation: pulse 1.6s ease-in-out infinite;
}

.skeleton .bar {
  background: var(--ivory);
  border-radius: 999px;
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

/* Shop page --------------------------------------------------------------- */

.page-main {
  padding-top: 5rem;
}

@media (min-width: 768px) {
  .page-main {
    padding-top: 2rem;
  }
}

.shop-header {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--ivory);
  padding: 3.5rem 1.5rem;
}

@media (min-width: 640px) {
  .shop-header {
    padding: 5rem 3rem;
  }
}

.shop-header .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.shop-header .inner {
  position: relative;
  max-width: 36rem;
}

.shop-header h1 {
  margin-top: 1rem;
  font-size: clamp(2.25rem, 5vw, 3rem);
  line-height: 1.1;
}

.shop-header p {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--muted);
}

.toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .toolbar {
    flex-direction: row;
    align-items: center;
  }
}

.toolbar .grow {
  flex: 1;
}

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

.filters-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .filters-toggle {
    display: none;
  }
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  padding: 0.75rem 2.5rem 0.75rem 1.25rem;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  outline: none;
}

.select-wrap select:focus {
  border-color: var(--gold);
}

.select-wrap svg {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
}

.shop-layout {
  display: grid;
  gap: 2.5rem;
  padding-top: 2.5rem;
}

@media (min-width: 1024px) {
  .shop-layout {
    grid-template-columns: 16rem minmax(0, 1fr);
  }
}

.filters-aside {
  display: none;
}

@media (min-width: 1024px) {
  .filters-aside {
    display: block;
  }
}

.filter-group + .filter-group {
  margin-top: 2rem;
}

.filter-group > p {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.filter-group .items {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.check {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.check .box {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 5px;
  transition: all 0.2s ease;
}

.check .box i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fff;
  opacity: 0;
}

.check.is-on .box {
  border-color: var(--maroon);
  background: var(--maroon);
}

.check.is-on .box i {
  opacity: 1;
}

.check span.label {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
}

.check.is-on span.label {
  color: var(--charcoal);
}

.filter-group input[type="range"] {
  width: 100%;
  accent-color: var(--maroon);
}

.results-count {
  margin-bottom: 1.5rem;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.empty-state {
  border-radius: var(--radius-xl);
  background: var(--ivory);
  padding: 5rem 2rem;
  text-align: center;
}

.empty-state .title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
}

.empty-state p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
}

.empty-state .btn,
.empty-state .link-maroon {
  margin-top: 1.75rem;
  display: inline-flex;
}

/* Sheets, drawers, overlays ----------------------------------------------- */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 65;
  pointer-events: none;
}

.sheet.is-open {
  pointer-events: auto;
}

.sheet .scrim,
.drawer-scrim,
.search-scrim {
  position: absolute;
  inset: 0;
  background: rgba(31, 31, 31, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.sheet.is-open .scrim {
  opacity: 1;
}

.sheet .panel {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  max-height: 85dvh;
  overflow-y: auto;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--background);
  padding: 1.5rem 1.5rem 2.5rem;
  transform: translateY(100%);
  transition: transform 0.6s var(--ease-lux);
}

.sheet.is-open .panel {
  transform: none;
}

@media (min-width: 1024px) {
  .sheet {
    display: none;
  }
}

.sheet-head {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* Cart drawer */

.drawer-scrim {
  position: fixed;
  z-index: 60;
  pointer-events: none;
}

.drawer-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 61;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  width: 100%;
  max-width: 28rem;
  background: var(--background);
  box-shadow: var(--shadow-lux);
  transform: translateX(100%);
  transition: transform 0.6s var(--ease-lux);
}

.cart-drawer.is-open {
  transform: none;
}

.cart-drawer header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: 2rem;
  text-align: center;
}

.cart-empty .bubble {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--gold);
}

.cart-empty .title {
  font-family: "Playfair Display", Georgia, serif;
  margin-top: 1.25rem;
  font-size: 1.5rem;
}

.cart-empty p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
}

.cart-empty .btn {
  margin-top: 1.75rem;
}

.cart-line {
  display: flex;
  gap: 1rem;
}

.cart-line img {
  width: 80px;
  height: 112px;
  flex: none;
  border-radius: var(--radius);
  object-fit: cover;
}

.cart-line .name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
}

.cart-line .opts {
  margin-top: 0.25rem;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.qty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.cart-line .row {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.cart-line .remove {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.cart-line .remove:hover {
  color: var(--maroon);
}

.box-ivory {
  border-radius: var(--radius);
  background: var(--ivory);
  padding: 1rem;
}

.box-outline {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.box-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.box-label svg {
  color: var(--gold);
}

.box-row {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.box-row .field {
  border-radius: 12px;
  padding: 0.6rem 1rem;
}

.box-row button {
  border-radius: 12px;
  background: var(--charcoal);
  color: var(--on-dark);
  padding: 0.6rem 1rem;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hint {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.hint.ok {
  color: var(--maroon);
}

.hint.bad {
  color: #b3261e;
}

.cart-foot {
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.sum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

.sum-row span:first-child {
  color: var(--muted);
  font-weight: 300;
}

.sum-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.sum-total .label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.sum-total .value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
}

.link-muted {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Search overlay */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.search-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.search-overlay .search-scrim {
  opacity: 1;
}

.search-panel {
  position: relative;
  margin: 0 auto;
  max-height: 85dvh;
  width: 100%;
  max-width: 42rem;
  overflow-y: auto;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background: var(--background);
  padding: 2rem 1.5rem 2.5rem;
  box-shadow: var(--shadow-lux);
  transform: translateY(-24px);
  transition: transform 0.6s var(--ease-lux);
}

.search-overlay.is-open .search-panel {
  transform: none;
}

@media (min-width: 640px) {
  .search-panel {
    margin-top: 4rem;
    border-radius: var(--radius-xl);
  }
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.search-bar svg {
  color: var(--gold);
}

.search-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 1rem;
  outline: none;
}

.chips {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.chip:hover {
  border-color: var(--gold);
  color: var(--maroon);
}

.search-results li {
  border-bottom: 1px solid var(--border);
}

.search-results li:last-child {
  border-bottom: 0;
}

.search-results a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
  transition: background-color 0.3s ease;
}

.search-results a:hover {
  background: rgba(248, 246, 242, 0.6);
}

.search-results img {
  width: 48px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.search-results .name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
}

/* Product detail ---------------------------------------------------------- */

.product-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  margin-block: 1.5rem 2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.5rem 0.8rem;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition:
    transform 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.product-back:hover {
  color: var(--maroon);
  border-color: var(--border);
  background: var(--ivory);
  transform: translateY(-1px);
}

.product-back:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 639px) {
  .product-back {
    min-height: 2.25rem;
    margin-block: 1rem 1.5rem;
    padding-inline: 0.65rem;
  }
}

.pdp {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .pdp {
    grid-template-columns: minmax(0, 1fr) 26rem;
    gap: 4rem;
  }
}

.gallery {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: 5rem minmax(0, 1fr);
  }
}

.thumbs {
  order: 2;
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
}

@media (min-width: 640px) {
  .thumbs {
    order: 1;
    flex-direction: column;
    overflow: visible;
  }
}

.thumbs button {
  width: 80px;
  height: 96px;
  flex: none;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: border-color 0.3s ease;
}

.thumbs button.is-active {
  border-color: var(--gold);
}

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

.stage {
  order: 1;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--ivory);
  cursor: zoom-in;
}

@media (min-width: 640px) {
  .stage {
    order: 2;
  }
}

.stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.stage .badge {
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.375rem 0.875rem;
  letter-spacing: 0.24em;
}

.buy-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .buy-card {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .buy-col {
    position: sticky;
    top: 7rem;
    height: fit-content;
  }
}

.buy-card h1 {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  line-height: 1.2;
}

.rate-row {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.price-row {
  margin-top: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.price-row .now {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
}

.price-row .was {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: line-through;
}

.tax-note {
  margin-top: 0.25rem;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.opt-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.opt-label em {
  font-style: normal;
  color: var(--muted);
}

.swatches {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.75rem;
}

.swatch {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--border);
  transition: box-shadow 0.3s ease;
}

.swatch.is-on {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px var(--gold);
}

.sizes {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.size-btn {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.size-btn.is-on {
  border-color: var(--maroon);
  background: var(--maroon);
  color: var(--on-dark);
}

.qty-row {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qty-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}

.wish-inline {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding-block: 0.75rem;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: border-color 0.3s ease;
}

.wish-inline:hover {
  border-color: var(--gold);
}

.wish-inline.is-on svg {
  fill: var(--maroon);
  color: var(--maroon);
}

.buy-card .btn-block {
  margin-top: 1rem;
  padding-block: 1rem;
  letter-spacing: 0.22em;
}

.delivery {
  margin-top: 1.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.delivery li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
}

.delivery svg {
  color: var(--gold);
}

.weave-specs {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 1.25rem;
  font-size: 0.875rem;
}

.weave-specs dt {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.weave-specs dd {
  margin: 0.25rem 0 0;
  font-weight: 300;
}

.reviews-card {
  border-radius: var(--radius-xl);
  background: var(--ivory);
  padding: 1.75rem;
}

@media (min-width: 640px) {
  .reviews-card {
    padding: 2.25rem;
  }
}

.reviews-card .score {
  margin-top: 1rem;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.reviews-card .score b {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 3rem;
  line-height: 1;
}

.reviews-card .score span {
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
}

.review {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 1.5rem;
}

.review:first-of-type {
  border-top: 0;
}

.review p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 300;
}

.review .who {
  margin-top: 0.5rem;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.buy-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  padding: 0.75rem 1rem;
}

.buy-bar .btn {
  flex: 1;
  padding-block: 0.9rem;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.buy-bar .btn-outline {
  border-color: var(--charcoal);
}

@media (min-width: 768px) {
  .buy-bar {
    display: none;
  }
}

.flex-between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

/* 404 --------------------------------------------------------------------- */

.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  background: var(--gradient-ivory);
}

.notfound .art {
  margin: 0 auto;
  width: 220px;
  height: 220px;
  color: var(--gold);
}

.notfound h1 {
  margin-top: 1.5rem;
  font-size: clamp(3rem, 12vw, 5rem);
  letter-spacing: 0.08em;
}

.notfound p {
  margin: 1rem auto 0;
  max-width: 28rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
}

.notfound .actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Toast ------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  z-index: 90;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--on-dark);
  padding: 0.75rem 1.5rem;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: var(--shadow-lux);
  transition: all 0.4s var(--ease-lux);
}

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

.toast svg {
  color: var(--gold);
}

/* WhatsApp order form ---------------------------------------------------- */

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.order-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(31, 31, 31, 0.5);
  backdrop-filter: blur(4px);
}

.order-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 43rem);
  max-height: calc(100dvh - 2rem);
  overflow: hidden;
  background: var(--background);
  box-shadow: var(--shadow-lux);
}

.order-modal__panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.order-modal__panel h2 {
  margin-top: 0.25rem;
  font-size: 1.7rem;
}
.order-modal__close {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--muted);
}

.product-summary {
  display: grid;
  gap: 1.2rem;
  max-width: 36rem;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}

.product-summary__section {
  display: grid;
  gap: 0.4rem;
}

.product-summary .opt-label {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.24em;
}

.product-summary__attribute {
  font-size: 0.9rem;
  color: var(--charcoal);
}

.product-summary__description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  color: var(--muted);
  font-size: 0.9rem;
}

.buy-card .product-summary + .rate-row {
  margin-top: 0;
}

@media (max-width: 639px) {
  .product-summary {
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
  }
}

.order-modal__body {
  display: grid;
  gap: 1rem;
  overflow-y: auto;
  padding: 1.25rem 1.5rem 1.5rem;
}

.order-line {
  display: flex;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  line-height: 1.55;
}

.order-line img {
  width: 68px;
  height: 84px;
  flex: 0 0 auto;
  object-fit: cover;
  background: var(--ivory);
}
.order-line p {
  color: var(--muted);
}
.order-line__qty {
  width: max-content;
  margin-top: 0.5rem;
  padding: 0.35rem 0.65rem;
  gap: 0.75rem;
}

.order-totals {
  display: grid;
  gap: 0.45rem;
  padding: 0.25rem 0 0.75rem;
  border-bottom: 1px solid var(--border);
}
.order-totals > div {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}
.order-totals__total {
  padding-top: 0.4rem;
  font-size: 1rem !important;
}

.order-modal label {
  display: grid;
  gap: 0.4rem;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.order-modal input,
.order-modal textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.75rem;
  font: inherit;
  font-size: 0.9rem;
  letter-spacing: normal;
  text-transform: none;
}
.order-modal textarea {
  min-height: 6rem;
  resize: vertical;
}
.order-modal input:focus,
.order-modal textarea:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}
.order-error {
  min-height: 1.2em;
  color: #a12626;
  font-size: 0.82rem;
}
.message-preview {
  padding: 1rem;
  background: var(--ivory);
}
.message-preview pre {
  max-height: 15rem;
  overflow: auto;
  margin-top: 0.6rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    0.74rem/1.55 Poppins,
    sans-serif;
  color: var(--muted);
}

@media (max-width: 600px) {
  .order-modal {
    padding: 0;
    align-items: end;
  }
  .order-modal__panel {
    max-height: 92dvh;
  }
  .order-modal__panel > header,
  .order-modal__body {
    padding-inline: 1rem;
  }
}

/* Image Cropper Modal (Native Dialog Top-Layer Stacking) ----------------- */

.crop-modal-dialog {
  border: 0;
  border-radius: var(--radius-xl, 14px);
  padding: 0;
  background: transparent;
  width: min(520px, 92vw);
  max-width: 520px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  overflow: visible;
  margin: auto;
}

.crop-modal-dialog::backdrop {
  background: rgba(18, 18, 18, 0.75);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.2s ease-out;
}

.crop-modal-card {
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-xl, 14px);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.crop-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.crop-modal-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold, #b68d40);
  font-weight: 600;
  margin: 0;
}

.crop-modal-header h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  margin: 2px 0 0;
  color: var(--charcoal, #1f1f1f);
}

.crop-preset-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(182, 141, 64, 0.12);
  color: var(--maroon, #6d1f2d);
  border: 1px solid rgba(182, 141, 64, 0.3);
}

.crop-viewport-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #181818;
  min-height: 280px;
}

.crop-viewport {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
  border-radius: 4px;
}

.crop-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

.crop-canvas:active {
  cursor: grabbing;
}

.crop-guide-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 2px solid var(--gold, #b68d40);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.crop-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.5rem;
  background: var(--ivory, #fbf8f3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.crop-zoom-group {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex: 1;
}

.crop-zoom-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted, #666);
}

.crop-zoom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  line-height: 1;
}

.crop-zoom-btn:hover {
  border-color: var(--gold);
  color: var(--maroon);
}

.crop-zoom-slider {
  flex: 1;
  max-width: 160px;
  accent-color: var(--maroon, #6d1f2d);
  cursor: pointer;
}

.crop-btn-reset {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 8px;
}

.crop-btn-reset:hover {
  color: var(--maroon);
}

.crop-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #ffffff;
}

@media (max-width: 600px) {
  .crop-modal {
    max-height: 95vh;
  }
  .crop-modal-header,
  .crop-controls,
  .crop-modal-footer {
    padding-inline: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
