:root {
  --ivory: #f8f6f2;
  --surface: #efe8dd;
  --navy: #111d42;
  --gold: #c8a15a;
  --border: #e6ded1;
  --glass: rgba(255, 255, 255, 0.68);
  --blush: #d8a7a0;
  --sage: #8d9b83;
  --ink-soft: rgba(17, 29, 66, 0.72);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --shadow-deep: 0 36px 100px rgba(17, 29, 66, 0.14);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 70px;
  --mouse-x: 0;
  --mouse-y: 0;
  --scroll-y: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ivory);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(248, 246, 242, 0.9)),
    var(--ivory);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

/* Admin full-screen wrapper — bypasses site header/footer */
.admin-page-wrapper {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

/* ── Site Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
  min-height: 70px;
  padding: 0 clamp(20px, 4vw, 64px);
  color: var(--navy);
  transition:
    background 360ms ease,
    border-color 360ms ease,
    box-shadow 360ms ease,
    min-height 360ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(230, 222, 209, 0.8);
  box-shadow: 0 8px 32px rgba(17, 29, 66, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ── Brand ── */
.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: inherit;
  text-decoration: none;
  padding-right: 40px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.2vw, 36px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-top: 1px;
}

.brand-tagline {
  color: rgba(17, 29, 66, 0.42);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 3px;
}

/* ── Main Nav ── */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 40px);
}

/* Reset for both <button> and <a> nav items */
.nav-link,
.footer-columns button,
.footer-columns a,
.contact-row button,
.logo-row button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

/* Shared nav link style — covers <button> and <a> */
.nav-link,
.nav-link--page {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 550;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 200ms ease;
}

.nav-link::after,
.nav-link--page::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link--page:hover {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link--page:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── Header Actions ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 24px;
  flex-shrink: 0;
}

.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(17, 29, 66, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  color: var(--navy);
  text-decoration: none;
  transition:
    transform 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
  flex-shrink: 0;
}

.icon-button:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 161, 90, 0.5);
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 29, 66, 0.1);
}

.cart-button,
.wishlist-button {
  position: relative;
}

/* Unified badge style */
.header-badge {
  position: absolute;
  right: -3px;
  top: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 3px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.header-badge--empty {
  background: rgba(17, 29, 66, 0.2);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ivory);
  z-index: 1;
}

.hero-media,
.hero-media img,
.hero-media video,
.hero-veil {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  transform:
    scale(1.06)
    translate3d(calc(var(--mouse-x) * -18px), calc(var(--mouse-y) * -16px), 0);
  transition: transform 600ms ease;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  z-index: 2;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 3;
  pointer-events: none;
}

.hero-poster {
  filter: saturate(0.94) contrast(1.04);
}

.hero-veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(248, 246, 242, 0.98) 0%, rgba(248, 246, 242, 0.82) 38%, rgba(248, 246, 242, 0.28) 68%, rgba(248, 246, 242, 0.58) 100%),
    linear-gradient(0deg, rgba(248, 246, 242, 0.92) 0%, rgba(248, 246, 242, 0) 28%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(248, 246, 242, 0), var(--ivory));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(190px, 280px);
  align-items: end;
  gap: clamp(28px, 8vw, 140px);
  width: min(100%, 1540px);
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(var(--header-height) + 54px) clamp(24px, 5vw, 78px) clamp(76px, 8vw, 118px);
}

.hero-copy {
  max-width: 850px;
  transform:
    translate3d(calc(var(--mouse-x) * 9px), calc(var(--mouse-y) * 7px), 0)
    translateY(calc(var(--scroll-y) * 0.035));
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.section-heading h2,
.premium-cta h2,
.search-modal h2,
.quote-modal h2,
.story-modal h2,
.drawer-header h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--navy);
}

.hero h1 {
  font-size: clamp(78px, 11.6vw, 178px);
  line-height: 0.78;
  max-width: 900px;
}

.hero-subtitle {
  width: min(100%, 560px);
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.button,
.text-action,
.admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease,
    color 240ms ease,
    border-color 240ms ease;
}

.button {
  min-height: 56px;
  padding: 0 30px;
}

.button-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 18px 42px rgba(17, 29, 66, 0.18);
}

.button-secondary {
  border-color: rgba(200, 161, 90, 0.72);
  background: rgba(255, 255, 255, 0.44);
  color: var(--navy);
  backdrop-filter: blur(14px);
}

.button:hover,
.text-action:hover,
.admin-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(17, 29, 66, 0.14);
}

.button-primary:hover {
  background: #172657;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.8);
}

.button-whatsapp {
  background: #25D366 !important;
  color: #fff !important;
  border-color: #25D366 !important;
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.18) !important;
}

.button-whatsapp:hover {
  background: #128C7E !important;
  border-color: #128C7E !important;
  box-shadow: 0 18px 42px rgba(18, 140, 126, 0.28) !important;
}

@keyframes infinite-pulse {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.9;
  }
}


.watermark-overlay {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(17, 29, 66, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  z-index: 2;
  color: #fff;
  font-family: var(--font-sans);
}

.watermark-overlay img.watermark-logo {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.watermark-overlay .watermark-text {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.95;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  color: rgba(17, 29, 66, 0.72);
  font-size: 13px;
  font-weight: 600;
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 34px;
  height: 34px;
  margin-right: -10px;
  border: 2px solid rgba(248, 246, 242, 0.86);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(17, 29, 66, 0.14);
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 800;
}

.play-dot {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(200, 161, 90, 0.6);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  color: var(--gold);
}

.quality-card {
  align-self: end;
  justify-self: end;
  display: grid;
  gap: 8px;
  width: 220px;
  min-height: 170px;
  padding: 28px;
  border: 1px solid rgba(230, 222, 209, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
  color: var(--navy);
  text-align: center;
  backdrop-filter: blur(18px);
}

.quality-card svg {
  justify-self: center;
  color: var(--gold);
}

.quality-card strong {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1;
}

.quality-card span {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  display: grid;
  gap: 4px;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(17, 29, 66, 0.62);
  font-size: 11px;
  font-weight: 700;
}

.scroll-cue svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 1px solid rgba(17, 29, 66, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.44);
}

.thread-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  perspective: 900px;
}

.thread {
  position: absolute;
  overflow: visible;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.78;
  filter: drop-shadow(0 10px 20px rgba(200, 161, 90, 0.18));
}

.thread path {
  stroke-dasharray: 26 15;
  animation: threadDraw 11s linear infinite;
}

.thread-a {
  top: 20%;
  left: -7%;
  width: 48vw;
  transform: translateZ(80px) rotate(-7deg);
  animation: threadFloat 9s ease-in-out infinite;
}

.thread-b {
  right: 6%;
  top: 32%;
  width: 38vw;
  opacity: 0.56;
  transform: translateZ(120px) rotate(10deg);
  animation: threadFloat 11s ease-in-out infinite reverse;
}

.thread-c {
  left: 36%;
  bottom: 11%;
  width: 32vw;
  opacity: 0.48;
  transform: translateZ(40px) rotate(4deg);
  animation: threadFloat 10s ease-in-out infinite;
}

@keyframes threadDraw {
  to {
    stroke-dashoffset: -410;
  }
}

@keyframes threadFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -18px;
  }
}

.content-section {
  width: min(100%, 1540px);
  margin: 0 auto;
  padding: clamp(82px, 10vw, 150px) clamp(22px, 5vw, 78px);
}

.collections-section {
  padding-top: clamp(58px, 7vw, 112px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(30px, 4vw, 56px);
}

.section-heading h2 {
  max-width: 860px;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.92;
}

.text-action {
  min-width: fit-content;
  padding: 11px 18px;
  border-color: rgba(200, 161, 90, 0.52);
  background: rgba(255, 255, 255, 0.52);
  color: var(--navy);
}

.carousel-shell {
  position: relative;
}

.collection-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: clamp(18px, 2vw, 30px);
  overflow-x: auto;
  padding: 6px 2px 24px;
  scrollbar-width: none;
}

.collection-track::-webkit-scrollbar {
  display: none;
}

.collection-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(230, 222, 209, 0.86);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition:
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 420ms ease,
    border-color 420ms ease;
}

.collection-card:hover {
  transform:
    translateY(-10px)
    rotateX(calc(var(--mouse-y) * -3deg))
    rotateY(calc(var(--mouse-x) * 4deg));
  border-color: rgba(200, 161, 90, 0.45);
  box-shadow: var(--shadow-deep);
}

.collection-card img,
.product-media img,
.story-gallery img,
.testimonial-person img,
.search-results img,
.cart-line img,
.media-field img,
.premium-cta img,
.story-modal img {
  object-fit: cover;
}

.collection-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  transition: transform 700ms ease;
}

.collection-card:hover img {
  transform: scale(1.06);
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 246, 242, 0.03) 20%, rgba(248, 246, 242, 0.88) 100%);
}

.collection-content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.collection-content h3,
.product-info h3,
.timeline-step h3,
.testimonial h3,
.story-gallery strong,
.cart-line h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0;
}

.collection-content h3 {
  max-width: 170px;
  font-size: 30px;
  line-height: 0.96;
}

.collection-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: start;
  padding: 22px;
  background: rgba(255, 255, 255, 0.34);
  opacity: 0;
  backdrop-filter: blur(12px);
  transition: opacity 260ms ease;
}

.collection-card:hover .collection-overlay {
  opacity: 1;
}

.collection-overlay p {
  width: min(100%, 230px);
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.gold-circle,
.bag-mini,
.product-media .heart-button,
.round-control,
.qty-row button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(200, 161, 90, 0.52);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy);
  transition:
    transform 220ms ease,
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.gold-circle {
  background: var(--gold);
  color: #fff;
}

.gold-circle:hover,
.bag-mini:hover,
.product-media .heart-button:hover,
.round-control:hover,
.qty-row button:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 32px rgba(17, 29, 66, 0.16);
}

.round-control {
  position: absolute;
  top: -82px;
  z-index: 3;
}

.round-control.left {
  right: 56px;
}

.round-control.right {
  right: 0;
}

/* Static controls and layout wrappers for flex-aligned carousels */
.heading-actions-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.carousel-controls-desktop {
  display: flex;
  gap: 12px;
}

.round-control.static-control {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
}

@media (max-width: 680px) {
  .carousel-controls-desktop {
    display: none !important;
  }
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  padding: 30px 0 6px;
}

.timeline-thread {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 76px;
  height: 0;
  border-top: 2px dashed var(--gold);
  opacity: 0.65;
  z-index: 1;
}

.timeline-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  animation: timelineStepGlow 7.5s infinite;
  animation-delay: calc(var(--step) * 1.5s);
  transition: transform 0.4s ease;
}

.step-number {
  position: absolute;
  top: -8px;
  right: 18%;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: clamp(42px, 4vw, 64px);
  line-height: 1;
  animation: numberGlow 7.5s infinite;
  animation-delay: calc(var(--step) * 1.5s);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.step-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(230, 222, 209, 0.94);
  border-radius: 50%;
  background: #ffffff;
  color: var(--navy);
  box-shadow: var(--shadow);
  animation: iconGlow 7.5s infinite;
  animation-delay: calc(var(--step) * 1.5s);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}

/* Timeline Glow Animations (1-by-1 step highlighting) */
@keyframes timelineStepGlow {
  0%, 100% {
    transform: translateY(0);
  }
  4%, 16% {
    transform: translateY(-8px);
  }
  20% {
    transform: translateY(0);
  }
}

@keyframes iconGlow {
  0%, 100% {
    border-color: rgba(230, 222, 209, 0.94);
    box-shadow: var(--shadow);
    color: var(--navy);
  }
  4%, 16% {
    border-color: var(--gold);
    box-shadow: 0 0 24px rgba(200, 161, 90, 0.48), var(--shadow-deep);
    color: var(--gold);
  }
  20% {
    border-color: rgba(230, 222, 209, 0.94);
    box-shadow: var(--shadow);
    color: var(--navy);
  }
}

@keyframes numberGlow {
  0%, 100% {
    opacity: 0.52;
    transform: scale(1);
  }
  4%, 16% {
    opacity: 1;
    transform: scale(1.12);
    text-shadow: 0 0 12px rgba(200, 161, 90, 0.3);
  }
  20% {
    opacity: 0.52;
    transform: scale(1);
  }
}

/* Mobile Timeline Glow Animations & Styling */
.timeline-vertical-step {
  animation: timelineStepGlowMobile 7.5s infinite;
  animation-delay: calc(var(--step) * 1.5s);
  transition: transform 0.4s ease;
}

.timeline-vertical-num {
  display: inline-block;
  animation: numberGlow 7.5s infinite;
  animation-delay: calc(var(--step) * 1.5s);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.timeline-vertical-hoop {
  animation: iconGlowMobile 7.5s infinite;
  animation-delay: calc(var(--step) * 1.5s);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

@keyframes timelineStepGlowMobile {
  0%, 100% {
    transform: translateX(0);
  }
  4%, 16% {
    transform: translateX(8px);
  }
  20% {
    transform: translateX(0);
  }
}

@keyframes iconGlowMobile {
  0%, 100% {
    border-color: var(--gold);
    box-shadow: none;
  }
  4%, 16% {
    border-color: var(--navy);
    box-shadow: 0 0 16px rgba(200, 161, 90, 0.42);
  }
  20% {
    border-color: var(--gold);
    box-shadow: none;
  }
}

.timeline-step h3 {
  margin-top: 8px;
  font-size: 25px;
  line-height: 1.05;
}

.timeline-step p {
  max-width: 190px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(230, 222, 209, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  transition:
    transform 320ms ease,
    box-shadow 320ms ease,
    border-color 320ms ease;
}

.product-card:hover {
  transform: translateY(-9px);
  border-color: rgba(200, 161, 90, 0.42);
  box-shadow: var(--shadow-deep);
}

.product-media {
  position: relative;
  aspect-ratio: 1.02 / 1;
  overflow: hidden;
  background: var(--surface);
}

.product-media img {
  width: 100%;
  height: 100%;
  transition: transform 620ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.08);
}

.product-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(248, 246, 242, 0.86);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.product-media .heart-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
}

.heart-button.active {
  background: var(--navy) !important;
  color: #fff !important;
  border-color: var(--navy) !important;
}

.product-info {
  display: flex;
  flex-direction: column;
}


.product-info h3 {
  font-size: 24px;
  line-height: 1;
}

.product-info p {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}

.stories-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
}

.testimonial {
  display: grid;
  align-content: center;
  min-height: 420px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(230, 222, 209, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.quote-mark {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 96px;
  line-height: 0.6;
}

.testimonial p {
  margin: 4px 0 24px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  color: var(--gold);
  font-weight: 700;
}

.rating span {
  margin-left: 8px;
  color: var(--ink-soft);
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-person img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.testimonial-person strong,
.testimonial-person span {
  display: block;
}

.testimonial-person span {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.client-showcase {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 12px;
  align-items: center;
}

.logo-row button {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 10px;
  border-bottom: 1px solid rgba(200, 161, 90, 0.3);
  color: var(--navy);
  text-align: center;
}

.logo-row span {
  color: rgba(17, 29, 66, 0.5);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.logo-row strong {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1;
}

.story-gallery {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 18px;
  min-height: 300px;
}

.story-gallery article {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.story-gallery img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  transition: transform 620ms ease;
}

.story-gallery article:hover img {
  transform: scale(1.06);
}

.story-gallery article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 29, 66, 0) 20%, rgba(17, 29, 66, 0.58) 100%);
}

.story-gallery article div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 4px;
  color: #fff;
}

.story-gallery strong {
  color: #fff;
  font-size: 24px;
}

.story-gallery span {
  font-size: 13px;
  font-weight: 600;
}

.premium-cta {
  position: relative;
  display: grid;
  min-height: 620px;
  overflow: hidden;
  align-items: center;
  margin-top: 40px;
  background: var(--surface);
}

.premium-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: saturate(0.94) contrast(1.02);
}

.premium-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 246, 242, 0.94) 0%, rgba(248, 246, 242, 0.8) 48%, rgba(248, 246, 242, 0.32) 100%),
    linear-gradient(180deg, rgba(248, 246, 242, 0.24), rgba(239, 232, 221, 0.8));
}

.premium-cta-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 1540px);
  margin: 0 auto;
  padding: clamp(84px, 10vw, 150px) clamp(24px, 6vw, 92px);
}

.premium-cta h2 {
  width: min(100%, 720px);
  font-size: clamp(58px, 7vw, 112px);
  line-height: 0.9;
}

.premium-cta p:not(.section-kicker) {
  width: min(100%, 540px);
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(300px, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  width: min(100%, 1540px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) clamp(24px, 5vw, 78px) 32px;
  border-top: 1px solid rgba(230, 222, 209, 0.9);
}

.footer-logo .brand-name {
  font-size: 42px;
}

.footer-brand p {
  max-width: 300px;
  margin: 20px 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.contact-row {
  display: grid;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.contact-row span,
.contact-row button,
.footer-bottom span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-columns h3,
.newsletter h3,
.admin-section h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.footer-columns button,
.footer-columns a {
  display: block;
  width: fit-content;
  margin: 10px 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  transition: color 200ms ease;
}

.footer-columns button:hover,
.footer-columns a:hover {
  color: var(--gold);
}

.newsletter {
  display: grid;
  align-content: start;
  gap: 10px;
}

.newsletter p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.newsletter label {
  position: relative;
  display: block;
}

.newsletter label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.newsletter input {
  width: 100%;
  height: 58px;
  padding: 0 64px 0 22px;
  border: 1px solid rgba(230, 222, 209, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--navy);
}

.newsletter button {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(230, 222, 209, 0.78);
  color: rgba(17, 29, 66, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: grid;
  gap: 10px;
}

.admin-fab {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(200, 161, 90, 0.52);
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 18px 44px rgba(17, 29, 66, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.to-top {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(200, 161, 90, 0.52);
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  box-shadow: 0 18px 44px rgba(17, 29, 66, 0.18);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.to-top.visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.admin-fab:hover,
.to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(17, 29, 66, 0.22);
}

.overlay-panel,
.drawer-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.overlay-scrim {
  position: absolute;
  inset: 0;
  background: rgba(17, 29, 66, 0.26);
  backdrop-filter: blur(8px);
}

.search-modal,
.quote-modal,
.story-modal,
.side-drawer,
.admin-drawer {
  position: absolute;
  border: 1px solid rgba(230, 222, 209, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(24px);
}

.search-modal {
  left: 50%;
  top: 8vh;
  width: min(900px, calc(100vw - 32px));
  max-height: 84vh;
  overflow: hidden;
  transform: translateX(-50%);
}

.modal-header,
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid rgba(230, 222, 209, 0.84);
}

.modal-header h2,
.drawer-header h2 {
  font-size: 44px;
  line-height: 0.94;
}

.modal-header span,
.drawer-header span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px;
  padding: 0 18px;
  border: 1px solid rgba(230, 222, 209, 0.92);
  border-radius: 999px;
  background: rgba(248, 246, 242, 0.76);
}

.search-field input {
  width: 100%;
  height: 58px;
  border: 0;
  background: transparent;
  color: var(--navy);
  outline: 0;
}

.search-results {
  display: grid;
  gap: 12px;
  max-height: 54vh;
  overflow-y: auto;
  padding: 0 24px 24px;
}

.search-results article {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 102px;
  padding: 10px;
  border: 1px solid rgba(230, 222, 209, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.search-results img {
  width: 86px;
  height: 82px;
  border-radius: 6px;
}

.search-results span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.search-results h3 {
  margin: 2px 0;
  font-family: var(--font-serif);
  font-size: 25px;
  line-height: 1;
}

.search-results p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.side-drawer,
.admin-drawer {
  top: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  width: min(470px, calc(100vw - 28px));
  overflow: hidden;
}

.cart-list,
.admin-content {
  flex: 1;
  overflow-y: auto;
}

.cart-list {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.cart-line {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(230, 222, 209, 0.76);
  border-radius: 8px;
  background: rgba(248, 246, 242, 0.72);
}

.cart-line img {
  width: 86px;
  height: 86px;
  border-radius: 6px;
}

.cart-line h3 {
  font-size: 22px;
}

.cart-line p {
  margin: 4px 0 10px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-row button {
  width: 26px;
  height: 26px;
}

.qty-row span {
  min-width: 18px;
  color: var(--navy);
  font-weight: 800;
  text-align: center;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  padding: 20px 24px;
  border-top: 1px solid rgba(230, 222, 209, 0.84);
  color: var(--navy);
  font-size: 22px;
}

.cart-summary span {
  color: var(--ink-soft);
  font-weight: 800;
}

.full-width {
  width: calc(100% - 48px);
  margin: 0 24px 24px;
}

.empty-state {
  display: grid;
  min-height: 280px;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--ink-soft);
  text-align: center;
}

.quote-modal {
  left: 50%;
  top: 50%;
  width: min(740px, calc(100vw - 32px));
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  transform: translate(-50%, -50%);
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
}

.quote-form label,
.admin-field,
.media-field {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.quote-form .wide {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form select,
.quote-form textarea,
.admin-field input,
.admin-field textarea,
.media-field input,
.json-editor {
  width: 100%;
  border: 1px solid rgba(230, 222, 209, 0.92);
  border-radius: 8px;
  background: rgba(248, 246, 242, 0.72);
  color: var(--navy);
}

.quote-form input,
.quote-form select,
.admin-field input,
.media-field input {
  height: 48px;
  padding: 0 14px;
}

.quote-form textarea,
.admin-field textarea,
.json-editor {
  min-height: 116px;
  padding: 12px 14px;
  resize: vertical;
}

.story-modal {
  left: 50%;
  top: 50%;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  width: min(940px, calc(100vw - 32px));
  min-height: 520px;
  overflow: hidden;
  transform: translate(-50%, -50%);
}

.story-modal img {
  width: 100%;
  height: 100%;
}

.story-modal > div {
  display: grid;
  align-content: center;
  padding: clamp(32px, 5vw, 58px);
}

.story-modal span {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}

.story-modal h2 {
  margin-top: 14px;
  font-size: clamp(50px, 6vw, 84px);
  line-height: 0.88;
}

.story-modal p {
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 600;
}

.story-stats {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 14px;
  margin-top: 22px;
}

.story-stats strong {
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1;
}

.story-stats span {
  align-self: center;
  color: var(--ink-soft);
  font-size: 13px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
}

.admin-drawer {
  width: min(780px, calc(100vw - 28px));
}

.admin-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px;
}

.admin-section {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(230, 222, 209, 0.78);
  border-radius: 8px;
  background: rgba(248, 246, 242, 0.58);
}

.wide-admin {
  grid-column: 1 / -1;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.color-grid label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid rgba(230, 222, 209, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
}

.color-grid input {
  width: 40px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
}

.media-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.media-field {
  grid-template-columns: 70px 1fr;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(230, 222, 209, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.media-field img {
  grid-row: span 2;
  width: 70px;
  height: 70px;
  border-radius: 6px;
}

.media-field span {
  align-self: end;
}

.media-field input {
  height: 36px;
  font-size: 12px;
}

.json-editor {
  min-height: 320px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
  padding: 16px 18px;
  border-top: 1px solid rgba(230, 222, 209, 0.82);
}

.admin-button {
  min-height: 42px;
  padding: 0 16px;
  border-color: rgba(230, 222, 209, 0.9);
  background: rgba(255, 255, 255, 0.58);
  color: var(--navy);
}

.admin-button.primary {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  padding: 14px 20px;
  border: 1px solid rgba(230, 222, 209, 0.9);
  border-radius: 999px;
  background: rgba(17, 29, 66, 0.9);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-deep);
  transform: translateX(-50%);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms ease var(--delay, 0ms),
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1180px) {
  .site-header {
    gap: 0;
  }

  .main-nav {
    gap: clamp(14px, 1.6vw, 28px);
  }

  .nav-link,
  .nav-link--page {
    font-size: 13px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .quality-card {
    justify-self: start;
    width: min(100%, 360px);
    min-height: auto;
    grid-template-columns: auto 1fr;
    align-items: center;
    text-align: left;
  }

  .quality-card svg {
    grid-row: span 2;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero h1 {
    font-size: clamp(72px, 18vw, 130px);
  }

  .section-heading {
    display: grid;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: 28px;
  }

  .timeline-thread {
    top: 24px;
    bottom: 24px;
    left: 46px;
    right: auto;
    width: 0;
    height: auto;
    border-top: none;
    border-left: 2px dashed var(--gold);
    opacity: 0.6;
  }

  .timeline-thread::after {
    width: 2px;
    height: 30%;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
    animation-name: timelineTravelMobile;
  }

  @keyframes timelineTravelMobile {
    0% {
      translate: 0 -100%;
    }
    55% {
      translate: 0 330%;
    }
    100% {
      translate: 0 330%;
    }
  }

  .timeline-step {
    grid-template-columns: 92px 1fr;
    justify-items: start;
    text-align: left;
  }

  .timeline-step h3,
  .timeline-step p {
    grid-column: 2;
  }

  .timeline-step p {
    max-width: 460px;
  }

  .step-icon {
    grid-row: span 2;
  }

  .step-number {
    left: 68px;
    right: auto;
  }

  .stories-layout,
  .story-modal {
    grid-template-columns: 1fr;
  }

  .story-modal img {
    max-height: 280px;
  }

  .logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-gallery {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .footer-columns,
  .admin-content,
  .media-admin-grid {
    grid-template-columns: 1fr;
  }

  .wide-admin {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 62px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand-name {
    font-size: 31px;
  }

  .brand-tagline,
  .brand-sub {
    font-size: 10px;
  }

  .header-actions {
    gap: 6px;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-veil {
    background:
      linear-gradient(180deg, rgba(248, 246, 242, 0.94) 0%, rgba(248, 246, 242, 0.76) 52%, rgba(248, 246, 242, 0.92) 100%),
      linear-gradient(90deg, rgba(248, 246, 242, 0.95), rgba(248, 246, 242, 0.28));
  }

  .hero-inner {
    padding: 112px 18px 92px;
  }

  .hero h1 {
    font-size: clamp(64px, 21vw, 98px);
  }

  .hero-subtitle,
  .premium-cta p:not(.section-kicker) {
    font-size: 17px;
  }

  .button {
    width: 100%;
    min-height: 54px;
  }

  .hero-meta {
    align-items: start;
  }

  .section-heading h2,
  .premium-cta h2 {
    font-size: clamp(43px, 15vw, 64px);
  }

  .content-section {
    padding: 70px 18px;
  }

  .collection-track {
    grid-auto-columns: minmax(245px, 82vw);
  }

  .round-control {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .search-results article,
  .cart-line {
    grid-template-columns: 70px 1fr;
  }

  .search-results .gold-circle,
  .cart-line > .icon-button {
    grid-column: 2;
    justify-self: start;
  }

  .premium-cta {
    min-height: 720px;
  }

  .footer-bottom {
    display: grid;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
  }
}

/* ==========================================
   Catalog Page & Quick View Styles
   ========================================== */
.catalog-section {
  padding-top: calc(var(--header-height) + 40px);
  background: var(--ivory);
}

.catalog-header-copy {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.catalog-header-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 68px);
  color: var(--navy);
  margin-bottom: 12px;
}

.catalog-header-copy p {
  color: var(--ink-soft);
  font-size: 16px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.catalog-sidebar {
  display: grid;
  gap: 28px;
  background: rgba(255, 255, 255, 0.4);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.filter-group h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.filter-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-pill {
  background: #fff;
  border: 1px solid var(--border);
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border-radius: 99px;
  transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.filter-pill:hover {
  border-color: var(--gold);
  background: rgba(200, 161, 90, 0.04);
}

.filter-pill.active {
  color: #fff;
  background: var(--gold);
  border-color: var(--gold);
}

.price-slider-group {
  display: grid;
  gap: 8px;
}

.price-range-inputs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

.price-range-inputs input {
  width: 70px;
  padding: 4px 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  text-align: center;
}

.catalog-main {
  display: grid;
  gap: 24px;
}

.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.results-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.sort-select {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  outline: none;
  cursor: pointer;
  transition: border-color 200ms ease;
}

.sort-select:hover {
  border-color: var(--gold);
}

.catalog-search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.catalog-search-field {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.catalog-search-field i,
.catalog-search-field [data-lucide="search"],
.catalog-search-field svg.lucide-search {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  pointer-events: none;
}

.catalog-search-field [data-lucide="sparkles"],
.catalog-search-field svg.lucide-sparkles {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  cursor: pointer;
}

.catalog-search-field input {
  width: 100%;
  padding: 12px 48px 12px 48px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: #fff;
  color: var(--navy);
  font-weight: 500;
}

/* Quick View Button Hover Overlay */
.product-card {
  position: relative;
}

.product-card .quick-view-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 260ms ease;
  z-index: 5;
  background: var(--glass);
  border: 1px solid var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 99px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.product-card:hover .quick-view-overlay-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.product-card .quick-view-overlay-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translate(-50%, -50%) scale(1.04);
}

/* Quick View Modal Styles */
.quickview-overlay {
  display: grid;
  place-items: center;
  padding: 20px;
}

.quickview-modal {
  position: relative;
  width: min(100%, 960px);
  background: var(--ivory);
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  animation: modalEnter 360ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.quickview-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 520px;
}

.quickview-gallery {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--border);
}

.main-image-wrapper {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 24px;
}

.main-image-wrapper img {
  max-height: 380px;
  width: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 24px;
  border-top: 1px solid var(--border);
  overflow-x: auto;
}

.thumb-btn {
  width: 60px;
  height: 60px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  background: transparent;
  transition: border-color 200ms ease;
}

.thumb-btn:hover,
.thumb-btn.active {
  border-color: var(--gold);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quickview-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.quickview-info .product-label {
  display: inline-block;
  align-self: start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 2px 8px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.quickview-info .product-title {
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--navy);
  line-height: 1.1;
  margin: 0 0 8px;
}

.product-meta-row {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.product-meta-row strong {
  color: var(--navy);
}

.quickview-info .product-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 16px;
}

.quickview-info .product-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 24px;
}

.specs-table {
  display: grid;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}

.specs-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dotted var(--border);
  font-size: 13px;
}

.specs-row span {
  color: var(--ink-soft);
  font-weight: 500;
}

.specs-row strong {
  color: var(--navy);
}

.format-select-label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 24px;
}

.format-dropdown {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  outline: none;
}

.quickview-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.quickview-actions .button-primary {
  flex: 1;
}

/* Responsiveness overrides for Catalog layout */
@media (max-width: 900px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .quickview-grid {
    grid-template-columns: 1fr;
  }
  
  .quickview-gallery {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

/* ==========================================================================
   PHASE 7 - PRODUCT DETAIL VIEW STYLES
   ========================================================================== */

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  margin-top: 24px;
  align-items: start;
}

/* Gallery Styles */
.product-gallery-column {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.detail-gallery-container {
  display: flex;
  gap: 16px;
}

.detail-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 80px;
}

.detail-thumb-btn {
  width: 80px;
  height: 80px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #faf8f5;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: border-color 220ms, opacity 220ms;
}

.detail-thumb-btn:hover {
  border-color: var(--gold);
}

.detail-thumb-btn.active {
  border-color: var(--gold);
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.detail-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-main-image-wrapper {
  flex: 1;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #faf8f5;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
}

.detail-main-image-wrapper.mode-pan {
  cursor: grab;
}

.detail-main-image-wrapper.mode-pan:active {
  cursor: grabbing;
}

.detail-main-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 100ms ease-out;
  transform-origin: center center;
}

.gallery-controls-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border);
  border-radius: 30px;
}

.gallery-control-btn {
  border: none;
  background: transparent;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 200ms, color 200ms;
}

.gallery-control-btn:hover {
  background: var(--surface);
}

.gallery-control-btn.active {
  background: var(--navy);
  color: #fff;
}

/* Lightbox Modal */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 29, 66, 0.94);
  z-index: 9999;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  width: min(90vw, 800px);
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
}

.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 220ms;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Metadata & Sidebar Details */
.product-detail-info {
  display: flex;
  flex-direction: column;
}

.product-detail-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 8px;
}

.product-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.product-detail-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 24px;
}

/* Highlighted Summary Card */
.embroidery-summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(17, 29, 66, 0.03);
}

.summary-card-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--navy);
}

.summary-text {
  display: flex;
  flex-direction: column;
}

.summary-label {
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 500;
}

.summary-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

/* Production Information Card */
.production-info-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.production-info-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.production-info-grid {
  display: grid;
  gap: 10px;
}

.production-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(230,222,209,0.5);
  font-size: 13px;
}

.production-row:last-child {
  border-bottom: none;
}

.production-row span {
  color: var(--ink-soft);
  font-weight: 500;
}

.production-row strong {
  color: var(--navy);
  font-weight: 600;
}

/* Selectable Machine Format Cards */
.format-section-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.format-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.format-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  padding: 12px;
  cursor: pointer;
  transition: border-color 220ms, box-shadow 220ms, transform 220ms;
  position: relative;
}

.format-card:hover {
  border-color: rgba(200, 161, 90, 0.6);
  transform: translateY(-1px);
}

.format-card.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(200, 161, 90, 0.2);
  background: #fdfbf7;
}

.format-card-badge {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.format-card-brand {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1px;
}

.format-card-model {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
}

.format-card-hoop {
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.format-card-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 8px;
  border-top: 1px solid rgba(230,222,209,0.5);
  padding-top: 6px;
}

/* Purchase & Actions Grid */
.detail-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.detail-actions-full {
  grid-column: 1 / -1;
}

/* Suitable Use Cases checklist */
.use-cases-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  margin-bottom: 24px;
}

.use-cases-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.use-cases-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.use-case-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.use-case-check {
  color: var(--gold);
  display: inline-flex;
}

/* Timeline Stitches Steps */
.timeline-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 36px 0;
}

.timeline-container .timeline-step {
  position: relative;
  text-align: center;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--navy);
  margin: 0 auto 12px;
  font-weight: 700;
}

.timeline-container .timeline-step::after {
  content: "";
  position: absolute;
  top: 20px;
  left: calc(50% + 20px);
  right: calc(-50% + 20px);
  height: 1px;
  background: var(--border);
  z-index: -1;
}

.timeline-container .timeline-step:last-child::after {
  display: none;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--navy);
}

.timeline-desc {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* Related Products Slider */
.related-products-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 12px 4px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.related-products-slider::-webkit-scrollbar {
  display: none;
}

.related-products-slider > article {
  scroll-snap-align: start;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .product-gallery-column {
    position: static;
  }
  
  .detail-gallery-container {
    flex-direction: column-reverse;
    position: static;
  }
  
  .detail-gallery-thumbs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  
  .detail-thumb-btn {
    flex-shrink: 0;
  }
  
  .timeline-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .timeline-container .timeline-step::after {
    display: none;
  }
  
  .timeline-container .timeline-step {
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  
  .timeline-dot {
    margin: 0;
    flex-shrink: 0;
  }
  
  .timeline-text {
    display: flex;
    flex-direction: column;
  }
}

/* ==========================================================================
   PHASE 8 - CUSTOM DIGITIZING VIEW STYLES
   ========================================================================== */

.custom-order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 54px);
  margin-top: 32px;
  align-items: start;
}

.trust-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
  box-shadow: var(--shadow);
}

.trust-card-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 0;
  margin-bottom: 12px;
}

.trust-card-list {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.trust-card-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.trust-card-item span {
  color: var(--gold);
  margin-top: 2px;
}

.form-step-container {
  display: grid;
  gap: 28px;
}

.form-step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(17,29,66,0.02);
}

.form-step-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 0;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-step-desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* Card Option Selectors */
.urgency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.option-select-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: all 220ms ease;
  position: relative;
}

.option-select-card:hover {
  border-color: rgba(200, 161, 90, 0.6);
  transform: translateY(-1px);
}

.option-select-card.active {
  border-color: var(--gold);
  background: #fdfbf7;
  box-shadow: 0 0 0 2px rgba(200, 161, 90, 0.2);
}

.option-select-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.option-select-desc {
  font-size: 11px;
  color: var(--ink-soft);
}

/* Multi-select specs */
.spec-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}

.spec-option-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  transition: all 200ms;
}

.spec-option-card:hover {
  border-color: rgba(200, 161, 90, 0.5);
}

.spec-option-card.active {
  border-color: var(--gold);
  background: #fdfbf7;
  color: var(--navy);
}

/* Upload Areas Grid */
.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.upload-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.upload-card-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.upload-dropzone {
  border: 2px dashed var(--border);
  border-radius: 6px;
  background: #faf8f5;
  padding: 24px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 220ms;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: var(--gold);
  background: #fdfbf7;
}

.upload-dropzone-icon {
  color: var(--gold);
  margin-bottom: 8px;
}

.upload-dropzone span {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

.upload-dropzone p {
  margin: 4px 0 0;
  font-size: 10px;
  color: var(--ink-soft);
}

.upload-preview-area {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  padding: 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  position: relative;
}

.upload-preview-thumb {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: #fff;
}

.upload-preview-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.upload-preview-remove {
  background: transparent;
  border: none;
  color: #ff4d4f;
  padding: 4px;
  cursor: pointer;
  display: inline-flex;
}

/* Success Progress Tracker */
.success-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px 32px;
  max-width: 600px;
  margin: 40px auto;
  text-align: center;
  box-shadow: var(--shadow-deep);
}

.success-check-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
}

.tracking-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 40px 0;
  padding: 0 10px;
}

.tracking-timeline::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--border);
  z-index: 1;
}

.tracking-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.tracking-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  transition: all 300ms;
}

.tracking-step.active .tracking-dot {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

.tracking-step.completed .tracking-dot {
  border-color: #25d366;
  background: #25d366;
  color: #fff;
}

.tracking-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-top: 8px;
  text-transform: uppercase;
}

.tracking-step.active .tracking-label {
  color: var(--gold);
}

.tracking-step.completed .tracking-label {
  color: #25d366;
}

@media (max-width: 991px) {
  .custom-order-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .trust-card {
    position: static;
  }

  .cart-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .cart-page-item {
    flex-direction: column;
    align-items: stretch !important;
  }
  .cart-item-img-wrapper {
    margin: 0 auto;
  }
  .cart-page-item > div:last-child {
    width: 100% !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px solid var(--border);
    padding-top: 16px;
  }
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.wishlist-item-card {
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease, box-shadow 0.24s ease !important;
}

.wishlist-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold) !important;
  box-shadow: var(--shadow-deep) !important;
}

.wishlist-card-remove:hover {
  background: var(--navy) !important;
  color: #fff !important;
  border-color: var(--navy) !important;
}

@media (max-width: 991px) {
  .wishlist-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 576px) {
  .wishlist-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Tracking Timeline Mobile Stacking */
@media (max-width: 600px) {
  .tracking-timeline-flow {
    flex-direction: column !important;
    gap: 24px;
    align-items: flex-start !important;
    position: relative;
  }
  .tracking-timeline-container > div:first-child {
    display: none !important; /* Hide horizontal connector bar */
  }
  .tracking-timeline-flow::before {
    content: "" !important;
    position: absolute !important;
    top: 16px !important;
    bottom: 16px !important;
    left: 16px !important;
    width: 2px !important;
    background: var(--border) !important;
    z-index: 1 !important;
  }
  .tracking-step {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    align-items: center !important;
    text-align: left !important;
    width: 100%;
  }
  .tracking-step .tracking-dot {
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
  .tracking-step > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* Premium Success & Tracking Screen Elements */
.tracking-info-card {
  background: #fff;
  border: 1px solid rgba(230, 222, 209, 0.8);
  border-radius: 12px;
  padding: 24px;
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(17, 29, 66, 0.02);
}

.tracking-info-card .info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  border-bottom: 1px dashed rgba(230, 222, 209, 0.5);
  padding-bottom: 10px;
}

.tracking-info-card .info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tracking-actions-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

@media (max-width: 600px) {
  .tracking-actions-row {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .tracking-actions-row .button {
    width: 100% !important;
    justify-content: center !important;
    min-height: 48px !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
  }
}

/* ==========================================================================
   PHASE 13 - CUSTOMER ACCOUNT PAGE STYLES (REDESIGNED PREMIUM)
   ========================================================================== */

.account-dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

/* Header Card */
.account-header-card {
  background: #fff;
  border: 1px solid rgba(230, 222, 209, 0.8);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.account-profile-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.account-avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 12px rgba(17, 29, 66, 0.1);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.account-meta-details {
  display: grid;
  gap: 4px;
}

.account-meta-details .welcome-text {
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.account-meta-details .profile-name {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--navy);
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}

.account-meta-details .profile-email {
  color: var(--ink-soft);
  font-size: 13px;
  margin: 0;
}

.account-id-badge {
  background: var(--ivory);
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

.account-id-badge code {
  font-family: monospace;
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.copy-id-btn {
  background: transparent;
  border: none;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.copy-id-btn:hover {
  color: var(--gold);
  background: rgba(200, 161, 90, 0.08);
}

/* Sidebar Tab buttons */
.account-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--border);
  padding-right: 24px;
}

.tab-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  background: transparent;
  color: var(--navy);
  transition: all 0.2s ease-in-out;
}

.tab-nav-btn:hover {
  background: var(--surface) !important;
  color: var(--gold) !important;
  border-color: rgba(200, 161, 90, 0.15);
}

.tab-nav-btn.active {
  background: var(--navy) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(17, 29, 66, 0.12);
}

.tab-nav-btn.active:hover {
  background: var(--navy) !important;
  color: #fff !important;
}

.account-logout-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  width: 100%;
  border: 1px solid rgba(207, 19, 34, 0.2);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  background: rgba(207, 19, 34, 0.04);
  color: #cf1322;
  transition: all 0.2s ease;
}

.account-logout-btn:hover {
  background: rgba(207, 19, 34, 0.08);
  border-color: rgba(207, 19, 34, 0.4);
  color: #a61d24;
}

/* Workspace Container */
.account-workspace {
  background: #fff;
  border: 1px solid rgba(230, 222, 209, 0.8);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow);
  min-height: 520px;
}

.account-workspace h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 24px 0;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  letter-spacing: -0.01em;
}

/* Stats Cards Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
}

.stat-card {
  background: #fff;
  border: 1px solid rgba(230, 222, 209, 0.6);
  padding: 24px 20px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.01);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 161, 90, 0.4);
  box-shadow: var(--shadow);
}

.stat-card-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  background: var(--ivory);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.stat-card:hover .stat-card-icon {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.stat-card-label {
  color: var(--ink-soft);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.stat-card-number {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.1;
}

/* Recent Activity */
.activity-timeline {
  display: grid;
  gap: 16px;
  position: relative;
  padding-left: 16px;
  margin-top: 10px;
}

.activity-timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 2px;
  width: 1px;
  background: var(--border);
}

.activity-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}

.activity-node {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: -18px;
  top: 6px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(200, 161, 90, 0.2);
}

.activity-icon-wrapper {
  color: var(--ink-soft);
  display: flex;
  flex-shrink: 0;
  margin-top: 3px;
}

.activity-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
}

.activity-text {
  color: var(--navy);
  font-weight: 500;
}

.activity-time {
  color: var(--ink-soft);
  font-size: 11px;
}

/* Purchase History Orders */
.order-list {
  display: grid;
  gap: 24px;
}

.order-card {
  border: 1px solid rgba(230, 222, 209, 0.8);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.015);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.order-card:hover {
  border-color: rgba(200, 161, 90, 0.35);
  box-shadow: var(--shadow);
}

.order-header-block {
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
}

.order-ref {
  color: var(--navy);
  font-weight: 600;
}

.order-ref strong {
  font-family: monospace;
  font-size: 14px;
  color: var(--gold);
  margin-left: 4px;
}

.order-status-badge {
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
}

.order-status-badge.completed {
  background: #f6ffed;
  color: #389e0d;
  border-color: #b7eb8f;
}

.order-status-badge.pending {
  background: #fff7e6;
  color: #d46b08;
  border-color: #ffd591;
}

.order-items-container {
  padding: 24px;
  display: grid;
  gap: 20px;
}

.order-item-row {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
}

.order-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 1px solid rgba(230, 222, 209, 0.8);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.order-item-details {
  flex: 1;
  display: grid;
  gap: 2px;
}

.order-item-title {
  color: var(--navy);
  font-weight: 600;
}

.order-item-meta {
  color: var(--ink-soft);
  font-size: 12px;
}

.order-item-price {
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 16px;
}

.order-action-block {
  border-top: 1px dashed var(--border);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #fdfdfc;
}

.order-total-paid {
  font-size: 13px;
  color: var(--ink-soft);
}

.order-total-paid strong {
  color: var(--navy);
  font-size: 18px;
  margin-left: 6px;
  font-family: var(--font-serif);
  font-weight: 700;
}

.order-action-btn-group {
  display: flex;
  gap: 12px;
}

/* Custom digitizing requests list */
.custom-request-card {
  border: 1px solid rgba(230, 222, 209, 0.8);
  border-radius: 10px;
  background: #fff;
  padding: 24px;
  display: grid;
  gap: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.015);
  transition: all 0.25s;
}

.custom-request-card:hover {
  border-color: rgba(200, 161, 90, 0.35);
  box-shadow: var(--shadow);
}

.custom-request-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  font-size: 13.5px;
  background: var(--ivory);
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.custom-request-meta-item span {
  color: var(--ink-soft);
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.custom-request-meta-item strong {
  color: var(--navy);
  font-size: 14px;
}

/* Profile form inputs styling */
.account-form-grid {
  display: grid;
  gap: 20px;
}

.account-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.account-form-label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.account-form-input,
.account-form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  transition: all 0.2s;
}

.account-form-input:focus,
.account-form-select:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 161, 90, 0.12);
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .account-dashboard-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  
  .account-sidebar-nav {
    border-right: none !important;
    padding-right: 0 !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  
  .account-sidebar-nav .tab-nav-btn {
    flex: 1 1 calc(50% - 6px) !important;
    justify-content: center !important;
    padding: 12px 14px !important;
    font-size: 13.5px !important;
    border-radius: 8px !important;
  }
  
  .account-sidebar-nav hr {
    display: none !important;
  }
  
  .account-sidebar-nav .account-logout-btn {
    flex: 1 1 100% !important;
    justify-content: center !important;
  }
  
  .account-header-card {
    padding: 24px !important;
    text-align: center !important;
    justify-content: center !important;
    flex-direction: column !important;
  }
  
  .account-profile-info {
    flex-direction: column !important;
    gap: 12px !important;
  }
  
  .account-workspace {
    padding: 24px 20px !important;
  }
  
  .order-header-block {
    padding: 14px 20px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  
  .order-action-block {
    padding: 14px 20px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }
  
  .order-action-btn-group {
    width: 100% !important;
  }
  
  .order-action-btn-group .button {
    flex: 1 1 50% !important;
  }

  .account-form-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ==========================================
   PHASE 15 — ADMIN DASHBOARD SHELL
   ========================================== */

.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-sans);
  position: relative;
  max-width: 100vw;
  overflow-x: hidden;
}

/* ── Sidebar ── */
.admin-sidebar {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-right: 1px solid var(--border);
  height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 29, 66, 0.08) transparent;
  z-index: 200;
}

.admin-sidebar-header {
  padding: 28px 20px 20px;
  border-bottom: 1px solid var(--border);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-brand-symbol {
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.admin-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.admin-brand-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.admin-brand-role {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

/* ── Navigation ── */
.admin-nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}

.admin-nav-group-label {
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(17, 29, 66, 0.42);
  padding: 6px 10px 4px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: rgba(17, 29, 66, 0.6);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.18s ease;
}

.admin-nav-item:hover {
  background: rgba(17, 29, 66, 0.05);
  color: var(--navy);
}

.admin-nav-item.active {
  background: rgba(200, 161, 90, 0.12);
  color: var(--gold);
  font-weight: 600;
}

.admin-nav-icon {
  width: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.admin-nav-icon svg {
  width: 16px;
  height: 16px;
}

/* ── Sidebar Footer ── */
.admin-sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(17, 29, 66, 0.04);
}

.admin-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #e2b97a);
  color: #1a1200;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-user-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
}

.admin-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-user-email {
  font-size: 11px;
  color: rgba(17, 29, 66, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-logout-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid rgba(17, 29, 66, 0.08);
  border-radius: 8px;
  color: rgba(17, 29, 66, 0.5);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

.admin-logout-btn:hover {
  border-color: rgba(220, 80, 80, 0.4);
  color: #e07070;
  background: rgba(220, 80, 80, 0.06);
}

.admin-logout-btn svg {
  width: 15px;
  height: 15px;
}

/* ── Main Area ── */
.admin-main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  max-width: 100%;
}

.admin-grid-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

.admin-grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .admin-grid-2-1,
  .admin-grid-2-col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


.admin-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  height: 60px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: rgba(17, 29, 66, 0.5);
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s;
}

.admin-menu-toggle:hover {
  color: var(--navy);
}

.admin-menu-toggle svg {
  width: 20px;
  height: 20px;
}

.admin-topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(17, 29, 66, 0.4);
  flex: 1;
}

.admin-topbar-breadcrumb span:last-child {
  color: var(--navy);
}

.admin-topbar-breadcrumb svg {
  width: 14px;
  height: 14px;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-topbar-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(17, 29, 66, 0.45);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(17, 29, 66, 0.08);
  transition: all 0.18s ease;
}

.admin-topbar-link:hover {
  color: var(--gold);
  border-color: rgba(200, 161, 90, 0.3);
}

.admin-topbar-link svg {
  width: 14px;
  height: 14px;
}

.admin-content {
  flex: 1;
  padding: 36px 40px;
  overflow-y: auto;
}

/* ── Module Header ── */
.admin-module-header {
  margin-bottom: 32px;
}

.admin-module-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 6px;
}

.admin-module-subtitle {
  font-size: 14px;
  color: rgba(17, 29, 66, 0.45);
  margin: 0;
}

/* ── Stats Grid ── */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.admin-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.admin-stat-card:hover {
  border-color: rgba(200, 161, 90, 0.25);
}

.admin-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(200, 161, 90, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.admin-stat-icon svg {
  width: 20px;
  height: 20px;
}

.admin-stat-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.admin-stat-label {
  font-size: 12px;
  color: rgba(17, 29, 66, 0.4);
  font-weight: 400;
}

.admin-stat-value {
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}

/* ── Notice Block ── */
.admin-module-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(200, 161, 90, 0.08);
  border: 1px solid rgba(200, 161, 90, 0.2);
  border-radius: 10px;
  margin-bottom: 36px;
}

.admin-notice-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.admin-notice-icon svg {
  width: 18px;
  height: 18px;
}

.admin-notice-body {
  font-size: 13.5px;
  color: rgba(17, 29, 66, 0.78);
  line-height: 1.6;
}

.admin-notice-body strong {
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}

.admin-notice-body code {
  background: rgba(17, 29, 66, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--gold);
}

/* ── Quick Links ── */
.admin-quick-links-title {
  font-weight: 500;
  color: rgba(17, 29, 66, 0.5);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.admin-quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.admin-quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: rgba(17, 29, 66, 0.6);
  font-size: 13px;
  transition: all 0.2s ease;
}

.admin-quick-link:hover {
  background: rgba(200, 161, 90, 0.06);
  border-color: rgba(200, 161, 90, 0.25);
  color: var(--gold);
}

.admin-quick-link-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(17, 29, 66, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.admin-quick-link:hover .admin-quick-link-icon {
  background: rgba(200, 161, 90, 0.1);
}

.admin-quick-link-icon svg {
  width: 16px;
  height: 16px;
}

.admin-quick-link-label {
  flex: 1;
}

.admin-quick-link-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.18s ease;
}

.admin-quick-link:hover .admin-quick-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.admin-quick-link-arrow svg {
  width: 14px;
  height: 14px;
}

/* ── Coming Soon Module ── */
.admin-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  text-align: center;
  background: #ffffff;
  border: 1px dashed var(--border);
  border-radius: 16px;
}

.admin-coming-soon-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(200, 161, 90, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}

.admin-coming-soon-icon svg {
  width: 28px;
  height: 28px;
}

.admin-coming-soon h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 10px;
}

.admin-coming-soon p {
  font-size: 14px;
  color: rgba(17, 29, 66, 0.45);
  max-width: 440px;
  margin: 0 0 28px;
  line-height: 1.65;
}

.admin-coming-soon code {
  background: rgba(17, 29, 66, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--gold);
}

.admin-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(17, 29, 66, 0.12);
  border-radius: 8px;
  color: rgba(17, 29, 66, 0.55);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.18s ease;
}

.admin-back-link:hover {
  color: var(--gold);
  border-color: rgba(200, 161, 90, 0.35);
}

.admin-back-link svg {
  width: 14px;
  height: 14px;
}

/* ── Admin Shell: Hide main site header and footer ── */
.admin-shell ~ * {
  display: none;
}

/* Ensures admin pages don't inherit padded main layout */
main:has(.admin-shell) {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ── Admin Dashboard Form & Controls Reset ── */
.admin-form {
  display: grid;
  gap: 20px;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--navy);
}

.admin-form-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 6px;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-form-label {
  font-size: 13px;
  color: rgba(17, 29, 66, 0.7);
  font-weight: 600;
}

.admin-form-control {
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease;
}

.admin-form-control:focus {
  border-color: var(--gold);
}

.admin-form-control:disabled {
  background: var(--ivory);
  color: rgba(17, 29, 66, 0.4);
}

/* ── Admin Table styles ── */
.admin-table-wrapper {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
  color: var(--navy);
}

.admin-table th {
  padding: 16px;
  background: var(--surface);
  color: var(--navy);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans);
}

.admin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover {
  background: var(--ivory);
}

.admin-btn {
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  border: none;
}

.admin-btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}

.admin-btn-primary:hover {
  opacity: 0.9;
}

.admin-btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--navy);
}

.admin-btn-secondary:hover {
  background: var(--ivory);
  border-color: rgba(17, 29, 66, 0.2);
}

.admin-btn-danger {
  background: rgba(239, 83, 80, 0.1);
  border: 1px solid rgba(239, 83, 80, 0.25);
  color: #ef5350;
}

.admin-btn-danger:hover {
  background: rgba(239, 83, 80, 0.2);
}

.admin-pill {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.admin-pill-gold {
  background: rgba(200, 161, 90, 0.12);
  color: var(--gold);
  border: 1px solid rgba(200, 161, 90, 0.2);
}

.admin-pill-success {
  background: rgba(141, 155, 131, 0.12);
  color: var(--sage);
  border: 1px solid rgba(141, 155, 131, 0.2);
}

.admin-pill-danger {
  background: rgba(239, 83, 80, 0.1);
  color: #ef5350;
  border: 1px solid rgba(239, 83, 80, 0.2);
}

/* ── Mobile Responsive ── */
@media (max-width: 1024px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    height: 100vh;
    width: 260px;
    transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 300;
  }

  .admin-sidebar--open {
    left: 0;
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.5);
  }

  .admin-menu-toggle {
    display: flex;
  }

  .admin-content {
    padding: 24px 20px;
  }
  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .admin-quick-links-grid {
    grid-template-columns: 1fr;
  }

  .admin-module-title {
    font-size: 26px;
  }

  /* Extra mobile optimization for forms and tables */
  .admin-table th, 
  .admin-table td {
    padding: 10px 12px;
    font-size: 12.5px;
  }

  .admin-btn {
    padding: 8px 16px;
    font-size: 12.5px;
  }

  .admin-form {
    padding: 20px;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-topbar {
    padding: 0 16px;
  }
}

/* ── RPM Calculator Range Slider Styles ── */
#rpmSlider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #d7e7fb;
  outline: none;
  margin: 16px 0 24px;
}

#rpmSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1677d2;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(22, 119, 210, 0.3);
  transition: transform 150ms ease;
  border: none;
}

#rpmSlider::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

#rpmSlider::-webkit-slider-thumb:active {
  transform: scale(0.95);
}

#rpmSlider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1677d2;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 10px rgba(22, 119, 210, 0.3);
  transition: transform 150ms ease;
}

#rpmSlider::-moz-range-thumb:hover {
  transform: scale(1.18);
}

#rpmSlider::-moz-range-thumb:active {
  transform: scale(0.95);
}


/* ==========================================================================
   GODAVARI DESIGNER - PREMIUM MOBILE SYSTEM (APP-LIKE EXPERIENCE)
   ========================================================================== */

:root {
  --bottom-nav-height: 80px;
  --drawer-width: 310px;
}

/* --- Mobile Bottom Navigation --- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: var(--ivory);
  border-top: 1px solid rgba(200, 161, 90, 0.18);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 99;
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -4px 20px rgba(17, 29, 66, 0.05);
}

@media (min-width: 769px) {
  .bottom-nav {
    display: none !important;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  opacity: 0.6;
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  gap: 4px;
  flex: 1;
  height: 100%;
  transition: opacity 0.2s, color 0.2s;
}

.bottom-nav-item.active {
  color: var(--gold);
  opacity: 1;
  font-weight: 600;
}

.bottom-nav-item i, 
.bottom-nav-item svg {
  width: 22px !important;
  height: 22px !important;
  stroke-width: 1.8;
}

.bottom-nav-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  top: -14px; /* Elevate it! */
  flex: 1;
  height: 100%;
  z-index: 100;
}

.upload-icon-wrapper {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(200, 161, 90, 0.28);
  color: var(--navy);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bottom-nav-upload.active .upload-icon-wrapper,
.bottom-nav-upload:hover .upload-icon-wrapper {
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(200, 161, 90, 0.45);
}

.bottom-nav-upload.active .upload-icon-wrapper {
  color: var(--gold);
  border-color: var(--gold);
}

.upload-label {
  margin-top: 18px !important;
  font-size: 10px;
  font-weight: 500;
  color: var(--navy);
  opacity: 0.6;
}

.bottom-nav-upload.active .upload-label {
  color: var(--gold);
  opacity: 1;
  font-weight: 600;
}


/* --- Mobile Left Sidebar Drawer --- */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 29, 66, 0.44);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1000;
  animation: drawerFadeIn 0.24s ease-out;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--drawer-width);
  max-width: 85vw;
  background: var(--ivory);
  box-shadow: 6px 0 32px rgba(17, 29, 66, 0.18);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  animation: drawerSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawerFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes drawerSlideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  border-bottom: 1px solid rgba(200, 161, 90, 0.16);
}

.drawer-brand-lockup {
  text-decoration: none;
  color: var(--navy);
  display: flex;
  flex-direction: column;
}

.drawer-brand-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.drawer-brand-sub {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-top: 3px;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--navy);
  cursor: pointer;
  padding: 4px;
  display: grid;
  place-items: center;
}

.drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-link {
  text-decoration: none;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  background: none;
  border: none;
  padding: 6px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.drawer-link:hover,
.drawer-link:focus {
  color: var(--gold);
  padding-left: 4px;
}

.drawer-divider {
  height: 1px;
  background: rgba(200, 161, 90, 0.12);
  margin: 6px 0;
}

.drawer-footer {
  padding: 20px;
  background: rgba(230, 222, 209, 0.2);
}

.drawer-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  border-radius: 21px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(200, 161, 90, 0.3);
  transition: all 0.2s ease;
}

.whatsapp-btn {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.whatsapp-btn:hover {
  background: #172657;
}

.call-btn {
  background: #fff;
  color: var(--navy);
}

.instagram-btn {
  background: transparent;
  color: var(--navy);
}


/* --- Mobile Header Overrides (< 768px) --- */
@media (max-width: 768px) {
  .site-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 72px !important;
    padding: 0 16px !important;
    background: var(--ivory) !important;
    border-bottom: 1px solid rgba(200, 161, 90, 0.18) !important;
  }
  
  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--navy);
    padding: 8px 4px;
    cursor: pointer;
  }
  
  .brand-lockup {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding-right: 0 !important;
  }
  
  .brand-name {
    font-size: clamp(24px, 6vw, 29px) !important;
  }
  
  .brand-sub, 
  .brand-tagline {
    font-size: 8px !important;
    letter-spacing: 0.12em !important;
  }
  
  .header-actions {
    display: flex !important;
    align-items: center;
    gap: 12px !important;
  }
  
  .header-actions .header-profile-btn,
  .header-actions .wishlist-button {
    display: none !important;
  }
  
  /* Drawers fullscreen override */
  .side-drawer,
  .admin-drawer {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    border-radius: 0 !important;
    border: none !important;
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 16px) !important;
  }

  .site-shell {
    padding-bottom: var(--bottom-nav-height) !important;
  }

  .floating-actions {
    bottom: calc(var(--bottom-nav-height) + 16px) !important;
    right: 16px !important;
  }
}


/* --- Mobile Hero Adjustments (< 768px) --- */
@media (max-width: 768px) {
  .hero {
    min-height: 480px !important;
    height: auto !important;
  }
  
  /* Background drifting animation for continuous motion on mobile */
  .hero-media {
    animation: heroBackgroundDrift 30s ease-in-out infinite alternate !important;
  }

  @keyframes heroBackgroundDrift {
    0% {
      transform: scale(1.05) translate3d(0, 0, 0);
    }
    100% {
      transform: scale(1.15) translate3d(-15px, -10px, 0);
    }
  }

  /* Make veil softer on mobile so artwork remains visible and luxurious */
  .hero-veil {
    background: 
      linear-gradient(180deg, rgba(248, 246, 242, 0.90) 0%, rgba(248, 246, 242, 0.65) 55%, rgba(248, 246, 242, 0.94) 100%) !important;
  }

  .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 72px 16px 32px !important;
    min-height: inherit !important;
  }

  .hero-copy {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }

  .hero-copy .section-kicker {
    margin: 0 0 12px !important;
    text-align: center !important;
  }

  .hero h1 {
    font-size: clamp(26px, 7.5vw, 38px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    margin: 8px 0 16px !important;
    text-align: center !important;
  }

  .hero-subtitle {
    display: none !important;
  }

  .scroll-cue {
    display: none !important;
  }

  .hero-actions {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .hero-actions .button {
    width: 100% !important;
    min-height: 52px !important;
  }

  /* Align avatar stacks and story button nicely on mobile */
  .hero-meta {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 16px !important;
    margin-top: 28px !important;
  }
}





/* --- Custom Promotion CTA mobile overrides --- */
@media (max-width: 768px) {
  .premium-cta {
    min-height: 420px !important;
    padding: 60px 20px !important;
    border-radius: 24px !important;
    margin: 0 16px 40px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 36px rgba(17, 29, 66, 0.08) !important;
  }

  .premium-cta img {
    opacity: 0.16 !important;
  }

  .cta-headline {
    font-size: clamp(32px, 8vw, 44px) !important;
    line-height: 1.1 !important;
    font-family: var(--font-serif) !important;
    margin-bottom: 12px !important;
  }

  .cta-subtext {
    font-size: 14px !important;
    margin-bottom: 24px !important;
    color: var(--ink-soft) !important;
    max-width: 280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .cta-actions {
    width: 100% !important;
  }

  .upload-promo-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    border: 1px solid var(--gold) !important;
    color: var(--navy) !important;
    border-radius: 28px !important;
    min-height: 48px !important;
    width: auto !important;
    padding: 0 24px !important;
  }
}

/* --- Refined Handcrafted Vertical Timeline --- */
.timeline-vertical-refined {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 30px 0 10px;
  margin: 0 auto;
  max-width: 100%;
}

.timeline-vertical-thread {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 40px;
  bottom: 40px;
  width: 0;
  border-left: 2px dashed rgba(200, 161, 90, 0.44);
  z-index: 1;
}

.timeline-vertical-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  gap: 12px;
}

.timeline-vertical-hoop {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px dashed var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 3;
}

.timeline-vertical-hoop::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(200, 161, 90, 0.35);
  border-radius: 50%;
}

.timeline-vertical-hoop-inner {
  color: var(--navy);
  display: grid;
  place-items: center;
}

.timeline-vertical-hoop-inner svg,
.timeline-vertical-hoop-inner i {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 1.8;
}

.timeline-vertical-content {
  background: var(--ivory);
  padding: 0 16px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 285px;
}

.timeline-vertical-content h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.timeline-vertical-num {
  color: var(--gold);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  font-style: italic;
}

.timeline-vertical-content p {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 400;
}


/* ==========================================================================
   SMALL SCREEN OVERRIDES (JIO PHONE & TINY MOBILES <= 360px)
   ========================================================================== */

@media (max-width: 360px) {
  :root {
    --bottom-nav-height: 70px;
  }

  .site-header {
    height: 60px !important;
    padding: 0 12px !important;
  }

  .brand-name {
    font-size: 20px !important;
  }

  .brand-sub {
    font-size: 7px !important;
    letter-spacing: 0.08em !important;
    margin-top: 1px !important;
  }

  .brand-tagline {
    display: none !important;
  }

  .bottom-nav-item {
    font-size: 8px !important;
    gap: 2px !important;
  }

  .bottom-nav-item svg {
    width: 18px !important;
    height: 18px !important;
  }

  .bottom-nav-upload {
    top: -10px !important;
  }

  .upload-icon-wrapper {
    width: 48px !important;
    height: 48px !important;
    box-shadow: 0 6px 16px rgba(200, 161, 90, 0.2) !important;
  }

  .upload-label {
    margin-top: 14px !important;
    font-size: 8px !important;
  }

  /* Compacting sections on tiny screens */
  .content-section {
    padding: 36px 12px !important;
  }

  .section-heading h2 {
    font-size: 28px !important;
  }

  .hero h1 {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }

  .hero-subtitle {
    font-size: 13px !important;
    max-width: 100% !important;
    margin-bottom: 18px !important;
  }

  .hero-actions .button {
    min-height: 44px !important;
    font-size: 13px !important;
  }

  .hero-meta {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
    margin-top: 24px !important;
  }

  .hero-meta span {
    font-size: 11px !important;
  }

  .timeline-vertical-refined {
    gap: 24px !important;
  }

  .timeline-vertical-content {
    max-width: 100% !important;
  }

  .timeline-vertical-content p {
    font-size: 11px !important;
  }

  .timeline-vertical-hoop {
    width: 40px !important;
    height: 40px !important;
  }

  .timeline-vertical-hoop::after {
    inset: -2px !important;
  }

  .timeline-vertical-thread {
    left: 20px !important;
    top: 30px !important;
    bottom: 30px !important;
  }

  .premium-cta {
    margin: 0 12px 24px !important;
    padding: 40px 16px !important;
    border-radius: 16px !important;
  }

  .cta-headline {
    font-size: 26px !important;
  }

  .cta-subtext {
    font-size: 12px !important;
    max-width: 100% !important;
  }

  .drawer-brand-name {
    font-size: 20px !important;
  }
}

/* --- Universal Grid Responsiveness (Tablets & Mobile) --- */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding: 0 4px !important;
  }
}

@media (max-width: 360px) {
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 !important;
  }
}

/* Ensure drawers scroll fully on very short screens */
.side-drawer,
.admin-drawer,
.mobile-drawer {
  max-height: 100% !important;
  overflow-y: auto !important;
}

/* ==========================================================================
   PHASE 16 - MOBILE APP SHELL FOUNDATION
   ========================================================================== */

.mobile-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--ivory);
}

.mobile-header {
  position: sticky;
  top: 0;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 222, 209, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 150;
  box-shadow: 0 2px 10px rgba(17, 29, 66, 0.02);
}

.mobile-brand-lockup {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.mobile-brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mobile-brand-sub {
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1px;
  font-weight: 700;
}

.mobile-menu-btn,
.mobile-cart-btn {
  background: transparent;
  border: none;
  color: var(--navy);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: opacity 0.2s;
}

.mobile-menu-btn:active,
.mobile-cart-btn:active {
  opacity: 0.6;
}

.mobile-cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.mobile-cart-badge--empty {
  display: none;
}

.mobile-bottom-nav {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: 16px;
  right: 16px;
  height: 64px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(230, 222, 209, 0.7);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 12px 36px rgba(17, 29, 66, 0.08);
  z-index: 200;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 8px;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--navy);
  opacity: 0.5;
  text-decoration: none;
  width: 20%;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.mobile-nav-item.active {
  opacity: 1;
}

.mobile-nav-item::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-item.active::after {
  transform: translateX(-50%) scale(1);
}

.mobile-nav-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-icon-container svg {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 1.8;
  transition: color 0.3s ease;
}

.mobile-nav-item.active .mobile-nav-icon-container {
  transform: translateY(-2px);
}

.mobile-nav-item.active .mobile-nav-icon-container svg {
  color: var(--gold);
}

.mobile-nav-label {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: opacity 0.3s ease;
}

.mobile-nav-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--gold);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid #ffffff;
}

.mobile-shell-main {
  flex: 1;
  width: 100%;
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

/* Featured collections slider overrides on mobile (< 768px) */
@media (max-width: 768px) {
  .collection-card {
    min-height: 240px !important;
  }
  .collection-card img {
    min-height: 240px !important;
  }
}
@media (max-width: 360px) {
  .collection-card {
    min-height: 200px !important;
  }
  .collection-card img {
    min-height: 200px !important;
  }
}

/* Responsive pill scrollers for Catalog page */
@media (max-width: 768px) {
  .category-pills-row, .subcategory-pills-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding: 6px 16px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px !important;
  }
  .category-pills-row::-webkit-scrollbar, .subcategory-pills-row::-webkit-scrollbar {
    display: none;
  }
  .filter-pill {
    flex-shrink: 0;
  }
}

/* Responsive Controls & Banner on Catalog */
.catalog-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

@media (max-width: 768px) {
  .catalog-controls {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding-bottom: 12px !important;
  }
  .catalog-actions {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .catalog-actions .sort-select {
    flex: 1;
    width: auto !important;
  }
}

/* Stacking detail action buttons on mobile */
@media (max-width: 480px) {
  .detail-actions-grid {
    grid-template-columns: 1fr !important;
  }
  .detail-actions-full {
    margin-top: 0 !important;
  }
}

/* Spec Rows Responsive Styles */
.spec-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 14px;
}
@media (max-width: 480px) {
  .spec-row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }
}

/* Stacking checkout grids */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
}
.checkout-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checkout-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

@media (max-width: 991px) {
  .checkout-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  .checkout-contact-grid {
    grid-template-columns: 1fr !important;
  }
  .checkout-actions-row {
    grid-template-columns: 1fr !important;
  }
}

/* Stacking urgency selections on mobile */
@media (max-width: 600px) {
  .urgency-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* Cart Page Overrides for Jio Phone (<= 360px) */
@media (max-width: 360px) {
  .cart-item-img-wrapper {
    width: 80px !important;
    height: 80px !important;
  }
  .cart-page-item h3 {
    font-size: 15px !important;
  }
  .qty-row {
    height: 28px !important;
  }
  .qty-row button {
    width: 28px !important;
  }
}

.project-spec-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .project-spec-grid {
    grid-template-columns: 1fr !important;
  }
}

.trust-badges-wrapper {
  background: #FAF8F5;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 72px;
}

.trust-badges-grid {
  max-width: 1540px;
  margin: 0 auto;
  padding: 48px clamp(22px, 5vw, 78px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  text-align: center;
}

.trust-badge-card {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.trust-badge-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--navy);
}

.trust-badge-card p {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 32px 16px !important;
    gap: 20px 12px !important;
  }
  .trust-badge-card {
    gap: 6px !important;
  }
  .trust-badge-card svg {
    width: 24px !important;
    height: 24px !important;
  }
  .trust-badge-card h3 {
    font-size: 16px !important;
  }
  .trust-badge-card p {
    font-size: 9.5px !important;
    letter-spacing: 0.04em !important;
    line-height: 1.3 !important;
  }
}

/* Featured Trending Collection Banner Styles */
.trending-collection-banner {
  background-image: url('https://images.pexels.com/photos/14111325/pexels-photo-14111325.jpeg?auto=compress&cs=tinysrgb&w=2000');
  background-size: cover;
  background-position: center 30%;
  border-radius: 8px;
  min-height: 380px;
  display: flex;
  align-items: center;
  padding: 48px;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.banner-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 246, 242, 0.96) 0%, rgba(248, 246, 242, 0.78) 45%, rgba(248, 246, 242, 0) 100%);
  border-radius: 7px;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 440px;
  text-align: left;
}

@media (max-width: 768px) {
  .featured-banner-wrapper {
    padding: 0 16px !important;
  }
  .trending-collection-banner {
    min-height: 280px !important;
    padding: 24px !important;
    background-position: center !important;
  }
  .banner-veil {
    background: linear-gradient(180deg, rgba(248, 246, 242, 0.95) 0%, rgba(248, 246, 242, 0.88) 100%) !important;
  }
  .banner-content {
    max-width: 100% !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
}

/* Responsive Testimonials and Client Showcase (Stories Section) on Mobile */
@media (max-width: 768px) {
  .testimonial {
    min-height: auto !important;
    padding: 24px 20px !important;
  }
  .quote-mark {
    font-size: 54px !important;
    line-height: 0.5 !important;
    margin-bottom: 8px !important;
  }
  .testimonial p {
    font-size: 16px !important;
    line-height: 1.45 !important;
    margin: 0 0 16px !important;
  }
  .rating {
    margin-bottom: 16px !important;
    gap: 3px !important;
  }
  .rating svg {
    width: 14px !important;
    height: 14px !important;
  }
  .rating span {
    font-size: 12px !important;
    margin-left: 6px !important;
  }
  .testimonial-person {
    gap: 12px !important;
  }
  .testimonial-person img {
    width: 44px !important;
    height: 44px !important;
  }
  .testimonial-person strong {
    font-size: 14px !important;
  }
  .testimonial-person span {
    font-size: 11px !important;
  }
  
  /* Client Showcase adjustments */
  .client-showcase {
    gap: 16px !important;
  }
  
  .logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .logo-row button {
    min-height: 56px !important;
    padding: 8px !important;
  }
  .logo-row button span {
    font-size: 9px !important;
  }
  .logo-row button strong {
    font-size: 11px !important;
  }
  
  /* Make the story gallery cards smaller on mobile */
  .story-gallery {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    min-height: auto !important;
  }
  .story-gallery article {
    min-height: 180px !important;
  }
  .story-gallery img {
    min-height: 180px !important;
    max-height: 220px !important;
    object-fit: cover !important;
  }
  .story-gallery article div {
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
    gap: 2px !important;
  }
  .story-gallery strong {
    font-size: 16px !important;
  }
  .story-gallery span {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
}

/* Mobile Quick View Modal Fullscreen Overrides */
@media (max-width: 768px) {
  .quickview-overlay {
    padding: 0 !important;
    z-index: 250 !important;
  }
  .quickview-modal {
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
  }
  .quickview-grid {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .quickview-gallery {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .main-image-wrapper img {
    max-height: 280px !important;
  }
  .quickview-info {
    padding: 24px 20px !important;
    overflow-y: visible !important;
  }
  .quickview-modal .modal-close {
    position: fixed !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 10 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 4px 12px rgba(17, 29, 66, 0.08) !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    display: grid !important;
    place-items: center !important;
  }
}

/* --- Services Section Base Styles --- */
.services-grid-section {
  padding: 80px 24px 20px;
  background: var(--ivory);
}

.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow-deep);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(17, 29, 66, 0.08);
}

.service-card .service-icon {
  color: var(--gold);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--navy);
}

.service-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.service-card .service-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 200ms ease;
}

.service-card .service-link:hover {
  gap: 10px;
}

/* --- Services Section Mobile Overrides (< 768px) --- */
@media (max-width: 768px) {
  .services-grid-section {
    padding: 48px 16px 20px !important;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .service-card {
    padding: 16px 12px !important;
    gap: 8px !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 16px rgba(17, 29, 66, 0.04) !important;
  }

  .service-card .service-icon svg {
    width: 22px !important;
    height: 22px !important;
  }

  .service-card h3 {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  .service-card p {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
  }

  .service-card .service-link {
    font-size: 11.5px !important;
    margin-top: 4px !important;
    gap: 4px !important;
  }
  
  .service-card .service-link svg {
    width: 12px !important;
    height: 12px !important;
  }
}

/* --- Admin Upload Card Style --- */
.image-upload-card:hover {
  border-color: var(--gold) !important;
  background-color: rgba(200, 161, 90, 0.02) !important;
}
.image-upload-card input[type="file"] {
  z-index: 10;
}

/* ==========================================================================
   GODAVARI DESIGNER - COMPLETE ADMIN DASHBOARD MOBILE OVERRIDES
   ========================================================================== */

@media (max-width: 768px) {
  /* 1. Admin Content Overrides */
  .admin-content {
    padding: 20px 14px !important;
  }

  /* 2. Form Grid & Form Control Overrides */
  .admin-form {
    padding: 20px 16px !important;
    gap: 16px !important;
    grid-template-columns: 1fr !important; /* Force single-column forms on mobile */
  }

  .admin-form-group {
    grid-column: span 1 !important; /* Prevent span-2 from breaking single-column grid layout */
  }

  .admin-form-actions,
  .admin-category-cancel-btn {
    grid-column: span 1 !important;
  }

  /* 3. Table Actions Wrapping & Column Densities */
  .admin-table th, 
  .admin-table td {
    padding: 12px 8px !important;
    font-size: 12px !important;
  }

  .admin-table td img {
    width: 32px !important;
    height: 32px !important;
  }

  /* Force wrap table action buttons on mobile so they don't break columns */
  .admin-table td div {
    flex-wrap: wrap !important;
    gap: 4px !important;
  }

  .admin-table td .admin-btn {
    padding: 6px 10px !important;
    font-size: 11px !important;
    min-height: auto !important;
  }

  /* 4. Table Wrapper Horizontal Scrolling */
  .admin-table-wrapper {
    margin: 0 -14px !important; /* Bleed table wrapper to screen edges on mobile */
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* 5. Mobile Action Buttons Capping */
  .admin-btn-primary, 
  .admin-btn-secondary, 
  .admin-btn-danger {
    padding: 8px 12px !important;
    font-size: 12.5px !important;
  }

  /* 6. Admin Dialog Width Capping */
  .admin-modal,
  .admin-dialog-card {
    width: calc(100% - 32px) !important;
    margin: 16px !important;
    padding: 16px !important;
  }
}

@media (max-width: 768px) {
  /* Collapse form grids containing span 2 elements to prevent mobile overflows */
  .admin-form-group,
  .admin-form div,
  .admin-grid-2-col div {
    grid-column: span 1 !important;
  }

  /* Products and Orders module header wrapping adjustments */
  .admin-module > div[style*="display: flex"] {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  
  .admin-module > div[style*="display: flex"] > div {
    width: 100% !important;
  }

  .admin-module > div[style*="display: flex"] button,
  .admin-module > div[style*="display: flex"] select,
  .admin-module > div[style*="display: flex"] input {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Table layout wrapping & long slug/name protection */
  .admin-table {
    table-layout: auto !important;
  }

  .admin-table th, 
  .admin-table td {
    padding: 10px 8px !important;
    font-size: 12px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  /* Ensure the main product/reference column doesn't stretch the table width */
  .admin-table td:first-child {
    max-width: 180px !important;
    min-width: 110px !important;
  }
  
  .admin-table td img {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
  }

  /* Safe modal scrolling on very small viewports */
  .admin-modal-overlay,
  div[style*="position: fixed"][style*="z-index"] {
    overflow-y: auto !important;
    padding: 16px 8px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }

  .admin-modal,
  .admin-dialog-card {
    max-height: none !important;
    width: 100% !important;
    max-width: 480px !important;
    margin: 8px 0 24px 0 !important;
  }
}

@media (max-width: 480px) {
  /* Topbar Breadcrumb Collapse */
  .admin-topbar-breadcrumb span:first-child,
  .admin-topbar-breadcrumb svg:first-of-type {
    display: none !important; /* Hide "Admin >" prefix, show only active section */
  }
  
  .admin-topbar {
    padding: 0 12px !important;
  }

  .admin-topbar-link {
    padding: 4px 8px !important;
    font-size: 12px !important;
  }

  .admin-module-title {
    font-size: 22px !important;
  }

  .admin-module-subtitle {
    font-size: 12px !important;
  }
}

