/* =====================================================
   RESET & CUSTOM PROPERTIES
===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --espresso: #2A1F14;
  --walnut: #5C4A35;
  --tan: #9C8265;
  --linen: #C8B49A;
  --cream: #EDE0CC;
  --ivory: #F5EFE4;
  --warm-white: #FDFAF6;
  --gold: #B8965A;
  --sage: #7A8C6E;
  --terra: #C8856A;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--espresso);
  overflow-x: hidden;
  cursor: none;
}

img,
svg {
  display: block;
}

a {
  text-decoration: none;
}

button {
  font-family: var(--sans);
  cursor: none;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* =====================================================
   CUSTOM CURSOR
===================================================== */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--espresso);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out),
    height 0.3s var(--ease-out),
    background 0.3s,
    opacity 0.3s;
  mix-blend-mode: multiply;
}

.cursor-follower {
  position: fixed;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(92, 74, 53, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--ease-out),
    height 0.5s var(--ease-out),
    border-color 0.3s,
    opacity 0.4s;
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor,
body:has(.hoverable:hover) .cursor {
  width: 20px;
  height: 20px;
  background: var(--gold);
}

body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower,
body:has(.hoverable:hover) .cursor-follower {
  width: 50px;
  height: 50px;
  border-color: rgba(184, 150, 90, 0.5);
}

/* =====================================================
   PAGE INTRO ANIMATION
===================================================== */
.page-intro {
  position: fixed;
  inset: 0;
  background: var(--espresso);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: introSlideUp 0.9s 1.4s var(--ease-out) forwards;
}

.intro-logo {
  font-family: var(--serif);
  font-size: 48px;
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(16px);
  animation: introLogoIn 0.7s 0.3s var(--ease-out) forwards;
}

.intro-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  animation: introLineExpand 0.8s 0.8s var(--ease-out) forwards;
}

@keyframes introSlideUp {
  to {
    transform: translateY(-100%);
  }
}

@keyframes introLogoIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introLineExpand {
  to {
    width: 100%;
  }
}

/* =====================================================
   ANNOUNCEMENT BAR
===================================================== */
.ann-bar {
  background: var(--espresso);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  position: relative;
}

.ann-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: annScroll 30s linear infinite;
  will-change: transform;
}

.ann-item {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 224, 204, 0.65);
  padding: 0 48px;
  flex-shrink: 0;
}

.ann-item span {
  color: var(--gold);
}

.ann-item::before {
  content: '·';
  margin-right: 48px;
  color: rgba(184, 150, 90, 0.4);
}

@keyframes annScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =====================================================
   NAVIGATION
===================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 246, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid rgba(200, 180, 154, 0.3);
  padding: 0 64px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-100%);
  opacity: 0;
  animation: navReveal 0.7s 1.6s var(--ease-out) forwards;
  transition: background 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(253, 250, 246, 0.98);
  box-shadow: 0 1px 0 rgba(200, 180, 154, 0.25);
}

@keyframes navReveal {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav-logo {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
  color: var(--espresso);
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}

.nav-logo:hover {
  opacity: 0.7;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--walnut);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.5px;
  background: var(--espresso);
  transition: width 0.35s var(--ease-out);
}

.nav-links a:hover {
  color: var(--espresso);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.nav-sale {
  color: var(--terra);
}

.nav-links a.nav-sale::after {
  background: var(--terra);
}

.nav-actions {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-btn {
  color: var(--walnut);
  display: flex;
  align-items: center;
  transition: color 0.25s, transform 0.25s;
}

.nav-btn:hover {
  color: var(--espresso);
  transform: scale(1.08);
}

.cart-wrap {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -7px;
  right: -8px;
  width: 15px;
  height: 15px;
  background: var(--espresso);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 500;
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badgePop 0.4s 2.2s var(--ease-out) both;
}

@keyframes badgePop {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

/* =====================================================
   HERO
===================================================== */
.hero {
  height: calc(100vh - 104px);
  min-height: 620px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Left side - content */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px 80px 80px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s 2s var(--ease-out) forwards;
}

.hero-eyebrow-line {
  width: 40px;
  height: 0.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: lineGrow 0.6s 2.3s var(--ease-out) forwards;
}

.hero-eyebrow-text {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  opacity: 0;
  animation: fadeIn 0.5s 2.5s forwards;
}

@keyframes lineGrow {
  to {
    transform: scaleX(1);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 5.5vw, 82px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--espresso);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(32px);
  animation: fadeUp 1s 2.1s var(--ease-out) forwards;
}

.hero-h1 em {
  font-style: italic;
  color: var(--walnut);
  position: relative;
  display: inline-block;
}

.hero-h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--linen);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineGrow 0.8s 3s var(--ease-out) forwards;
}

@keyframes underlineGrow {
  to {
    transform: scaleX(1);
  }
}

.hero-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--walnut);
  max-width: 380px;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 2.3s var(--ease-out) forwards;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 2.5s var(--ease-out) forwards;
}

.btn-primary {
  background: var(--espresso);
  color: var(--warm-white);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  position: relative;
  overflow: hidden;
  transition: color 0.4s;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--walnut);
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease-out);
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--espresso);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 40px;
  border: 0.5px solid var(--linen);
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}

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

/* Right side - image area */
.hero-visual {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #D4C0A8 0%, #C4AE96 40%, #B8A080 100%);
  transform: scale(1.04);
  animation: heroImgSettle 1.2s 1.8s var(--ease-out) forwards;
}

@keyframes heroImgSettle {
  to {
    transform: scale(1);
  }
}

/* Decorative room illustration placeholder */
.hero-room {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1s 2.2s forwards;
}

.hero-room svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

/* Floating product tag */
.hero-tag {
  position: absolute;
  bottom: 48px;
  left: 32px;
  background: var(--warm-white);
  border: 0.5px solid rgba(200, 180, 154, 0.5);
  padding: 14px 20px;
  min-width: 200px;
  opacity: 0;
  transform: translateX(-12px);
  animation: tagSlideIn 0.8s 3s var(--ease-out) forwards;
  z-index: 3;
}

@keyframes tagSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-tag-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 4px;
}

.hero-tag-name {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--espresso);
  margin-bottom: 2px;
}

.hero-tag-price {
  font-size: 13px;
  font-weight: 500;
  color: var(--espresso);
}

/* Corner ornament */
.hero-ornament {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 80px;
  height: 80px;
  border-top: 1px solid rgba(200, 180, 154, 0.5);
  border-right: 1px solid rgba(200, 180, 154, 0.5);
  opacity: 0;
  animation: fadeIn 0.8s 2.8s forwards;
}

/* Hero scroll line */
.hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 0.8s 3.2s forwards;
}

.hero-scroll-line {
  width: 48px;
  height: 1px;
  background: var(--linen);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scanRight 2.5s 3.5s ease-in-out infinite;
}

@keyframes scanRight {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.hero-scroll-label {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tan);
  font-weight: 300;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   TRUST STRIP
===================================================== */
.trust-strip {
  background: var(--cream);
  border-top: 0.5px solid rgba(200, 180, 154, 0.5);
  border-bottom: 0.5px solid rgba(200, 180, 154, 0.5);
  display: flex;
  justify-content: center;
  gap: 0;
}

.trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 32px;
  border-right: 0.5px solid rgba(200, 180, 154, 0.4);
  transition: background 0.3s;
}

.trust-item:last-child {
  border-right: none;
}

.trust-item:hover {
  background: rgba(200, 180, 154, 0.15);
}

.trust-icon {
  width: 22px;
  height: 22px;
  color: var(--tan);
  flex-shrink: 0;
  transition: color 0.3s, transform 0.3s;
}

.trust-item:hover .trust-icon {
  color: var(--gold);
  transform: scale(1.1);
}

.trust-text {
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--walnut);
  font-weight: 400;
  white-space: nowrap;
}

/* =====================================================
   SCROLL REVEAL BASE
===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  will-change: opacity, transform;
  transition: opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

.delay-7 {
  transition-delay: 0.7s;
}

.delay-8 {
  transition-delay: 0.8s;
}

.delay-9 {
  transition-delay: 0.9s;
}

.delay-10 {
  transition-delay: 1.0s;
}

.delay-11 {
  transition-delay: 1.1s;
}

.delay-12 {
  transition-delay: 1.2s;
}

.delay-13 {
  transition-delay: 1.3s;
}

.delay-14 {
  transition-delay: 1.4s;
}

.delay-15 {
  transition-delay: 1.5s;
}

.delay-16 {
  transition-delay: 1.6s;
}

/* =====================================================
   SECTION COMMON
===================================================== */
section {
  padding: 100px 80px;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 0.5px;
  background: var(--linen);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  font-style: italic;
  color: var(--espresso);
  line-height: 1.1;
  margin-bottom: 56px;
}

/* =====================================================
   CATEGORIES
===================================================== */
.categories {
  background: var(--warm-white);
  padding-bottom: 120px;
}

.categories-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
}

.categories-header .section-title {
  margin-bottom: 0;
}

.link-arrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--walnut);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.35s var(--ease-out), color 0.25s;
  padding-bottom: 2px;
  border-bottom: 0.5px solid var(--linen);
}

.link-arrow:hover {
  gap: 16px;
  color: var(--espresso);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.cat-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4.2;
  display: block;
  background: var(--cream);
}

/* Image fill effect on hover */
.cat-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease-out);
  background-size: cover;
  background-position: center;
}

.cat-card:hover .cat-card-bg {
  transform: scale(1.05);
}

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(42, 31, 20, 0.72) 0%,
      rgba(42, 31, 20, 0.15) 55%,
      transparent 100%);
  transition: opacity 0.4s;
}

.cat-card:hover .cat-card-overlay {
  opacity: 1.2;
}

.cat-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px;
}

.cat-card-name {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  color: var(--warm-white);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  transition: transform 0.4s var(--ease-out);
}

.cat-card:hover .cat-card-name {
  transform: translateY(-4px);
}

.cat-card-count {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 250, 246, 0.55);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s var(--ease-out);
}

.cat-card:hover .cat-card-count {
  opacity: 1;
  transform: translateY(-4px);
}

/* Category card color backgrounds */
.cat-living {
  background-image: url('/assets/images/aura3seater.jpg');
}

.cat-bedroom {
  background-image: url('/assets/images/altoQueenBed.webp');
}

.cat-dining {
  background-image: url('/assets/images/mesaRoundtable.webp');
}

.cat-study {
  background-image: url('/assets/images/voltaDesk.jpg');
}

.cat-outdoor {
  background-image: url('/assets/images/teraaLoungeChair.jpg');
}

.cat-storage {
  background-image: url('/assets/images/apexCab.webp');
}

/* =====================================================
   PRODUCTS
===================================================== */
.products {
  background: var(--ivory);
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
}

.products-header .section-title {
  margin-bottom: 0;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 0;
  border: 0.5px solid var(--linen);
  margin-bottom: 52px;
  width: fit-content;
}

.filter-tab {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan);
  padding: 10px 24px;
  border-right: 0.5px solid var(--linen);
  transition: background 0.3s, color 0.3s;
  cursor: none;
  background: none;
  font-family: var(--sans);
}

.filter-tab:last-child {
  border-right: none;
}

.filter-tab.active {
  background: var(--espresso);
  color: var(--cream);
}

.filter-tab:not(.active):hover {
  background: var(--cream);
  color: var(--walnut);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Product Card */
.prod-card {
  display: flex;
  flex-direction: column;
  background: var(--warm-white);
  border: 0.5px solid rgba(200, 180, 154, 0.3);
  transition: border-color 0.4s, box-shadow 0.4s;
  cursor: none;
}

.prod-card:hover {
  border-color: rgba(200, 180, 154, 0.7);
  box-shadow: 0 8px 40px rgba(42, 31, 20, 0.06);
}

.prod-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--ivory);
}

.prod-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}

.prod-img-inner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.prod-card:hover .prod-img-inner {
  transform: scale(1.03);
}

/* Second image crossfade */
.prod-img-alt {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.prod-card:hover .prod-img-alt {
  opacity: 1;
}

.prod-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 5px;
}

.badge {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border: none;
}

.badge-new {
  background: var(--espresso);
  color: var(--cream);
}

.badge-sale {
  background: var(--gold);
  color: var(--warm-white);
}

.badge-low {
  background: var(--terra);
  color: var(--warm-white);
}

.wish-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: rgba(253, 250, 246, 0.95);
  border: 0.5px solid rgba(200, 180, 154, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.35s var(--ease-out), background 0.25s;
  z-index: 5;
}

.prod-card:hover .wish-btn {
  background: var(--warm-white);
}

.wish-btn:hover {
  background: var(--warm-white);
}

/* Quick add that slides up */
.quick-add-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(42, 31, 20, 0.9);
  color: var(--cream);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  will-change: transform;
}

.prod-card:hover .quick-add-btn {
  transform: translateY(0);
}

/* Product info */
.prod-info {
  padding: 18px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prod-cat {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 6px;
}

.prod-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--espresso);
  margin-bottom: 4px;
}

.prod-material {
  font-size: 11px;
  font-weight: 300;
  color: var(--tan);
  margin-bottom: 14px;
}

.prod-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
}

.prod-price-wrap {
  display: flex;

}

.prod-price {
  font-size: 16px;
  font-weight: 500;
  color: var(--espresso);
  letter-spacing: -0.01em;
}

.prod-compare {
  font-size: 0.82rem;
  color: var(--tan);
  text-decoration: line-through;
  margin-left: 8px;
}

.prod-emi {
  font-size: 9px;
  color: var(--tan);
  margin-top: 2px;
}

.prod-old {
  font-size: 11px;
  color: var(--terra);
  text-decoration: line-through;
  margin-top: 1px;
}

.prod-swatches {
  display: flex;
  gap: 6px;
}

.swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  transition: border-color 0.25s, transform 0.25s;
  cursor: none;
}

.swatch:hover {
  transform: scale(1.15);
}

.swatch.active {
  border-color: var(--walnut);
}

/* =====================================================
   EDITORIAL / SHOP THE LOOK
===================================================== */
.editorial {
  padding: 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  min-height: 620px;
}

.editorial-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #C8B49A, #A89070);
}

.editorial-visual-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease-out);
}

.editorial:hover .editorial-visual-bg {
  transform: scale(1.02);
}

/* Hotspot dots */
.hotspot {
  position: absolute;
  width: 30px;
  height: 30px;
  cursor: none;
}

.hotspot-pulse {
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  animation: hotspotPulse 2.8s ease-in-out infinite;
}

.hotspot-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}

.hotspot:hover .hotspot-core {
  transform: translate(-50%, -50%) scale(1.5);
}

.hotspot-tooltip {
  position: absolute;
  left: 38px;
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  background: var(--espresso);
  color: var(--cream);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}

.hotspot:hover .hotspot-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes hotspotPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.editorial-content {
  background: var(--espresso);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
}

.editorial-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 20px;
}

.editorial-eyebrow::before {
  content: '';
  width: 24px;
  height: 0.5px;
  background: var(--gold);
}

.editorial-title {
  font-family: var(--serif);
  font-size: clamp(38px, 3.8vw, 56px);
  font-weight: 300;
  font-style: italic;
  color: var(--warm-white);
  line-height: 1.12;
  margin-bottom: 22px;
}

.editorial-body {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(237, 224, 204, 0.65);
  margin-bottom: 40px;
  max-width: 340px;
}

.btn-gold {
  background: transparent;
  border: 0.5px solid var(--gold);
  color: var(--gold);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 36px;
  width: fit-content;
  position: relative;
  overflow: hidden;
  transition: color 0.4s;
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease-out);
}

.btn-gold:hover::before {
  transform: translateX(0);
}

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

.btn-gold span {
  position: relative;
  z-index: 1;
}

/* =====================================================
   STATS ROW
===================================================== */
.stats {
  background: var(--cream);
  padding: 60px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 32px 24px;
  border-right: 0.5px solid rgba(200, 180, 154, 0.5);
  transition: background 0.3s;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(200, 180, 154, 0.2);
}

.stat-num {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--espresso);
  line-height: 1;
  margin-bottom: 8px;
  /* Counting animation via JS */
  transition: color 0.3s;
}

.stat-item:hover .stat-num {
  color: var(--gold);
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tan);
  font-weight: 300;
}

/* =====================================================
   TESTIMONIALS
===================================================== */
.testimonials {
  background: var(--warm-white);
  padding-bottom: 120px;
}

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

.testi-card {
  background: var(--ivory);
  border: 0.5px solid rgba(200, 180, 154, 0.35);
  padding: 36px 32px;
  transition: border-color 0.4s, background 0.4s;
}

.testi-card:hover {
  border-color: rgba(200, 180, 154, 0.7);
  background: var(--warm-white);
}

.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}

.star {
  color: var(--gold);
  font-size: 13px;
  display: inline-block;
  transition: transform 0.2s;
}

.testi-card:hover .star:nth-child(1) {
  transition-delay: 0s;
  transform: translateY(-2px);
}

.testi-card:hover .star:nth-child(2) {
  transition-delay: 0.05s;
  transform: translateY(-2px);
}

.testi-card:hover .star:nth-child(3) {
  transition-delay: 0.1s;
  transform: translateY(-2px);
}

.testi-card:hover .star:nth-child(4) {
  transition-delay: 0.15s;
  transform: translateY(-2px);
}

.testi-card:hover .star:nth-child(5) {
  transition-delay: 0.2s;
  transform: translateY(-2px);
}

.testi-quote {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  color: var(--espresso);
  line-height: 1.65;
  margin-bottom: 20px;
}

.testi-quote::before {
  content: '"';
  font-size: 40px;
  color: var(--linen);
  font-family: var(--serif);
  line-height: 0;
  vertical-align: -14px;
  margin-right: 4px;
}

.testi-divider {
  width: 28px;
  height: 0.5px;
  background: var(--linen);
  margin-bottom: 14px;
  transition: width 0.4s var(--ease-out);
}

.testi-card:hover .testi-divider {
  width: 48px;
  background: var(--gold);
}

.testi-name {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan);
}

/* =====================================================
   NEWSLETTER
===================================================== */
.newsletter {
  background: var(--espresso);
  text-align: center;
  padding: 100px 80px;
  position: relative;
  overflow: hidden;
}

/* Decorative corner lines */
.newsletter::before,
.newsletter::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-color: rgba(200, 180, 154, 0.1);
  border-style: solid;
}

.newsletter::before {
  top: 32px;
  left: 40px;
  border-width: 1px 0 0 1px;
}

.newsletter::after {
  bottom: 32px;
  right: 40px;
  border-width: 0 1px 1px 0;
}

.nl-eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 16px;
}

.nl-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  font-style: italic;
  color: var(--warm-white);
  margin-bottom: 12px;
}

.nl-sub {
  font-size: 13px;
  font-weight: 300;
  color: rgba(237, 224, 204, 0.55);
  letter-spacing: 0.03em;
  margin-bottom: 44px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.nl-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
}

.nl-input {
  flex: 1;
  background: transparent;
  border: 0.5px solid rgba(200, 180, 154, 0.3);
  border-right: none;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  padding: 16px 22px;
  outline: none;
  transition: border-color 0.35s;
}

.nl-input::placeholder {
  color: rgba(200, 180, 154, 0.4);
}

.nl-input:focus {
  border-color: rgba(200, 180, 154, 0.6);
}

.nl-btn {
  background: var(--gold);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 30px;
  white-space: nowrap;
  transition: background 0.3s;
  border: none;
  cursor: none;
}

.nl-btn:hover {
  background: var(--linen);
}

/* =====================================================
   FOOTER
===================================================== */
footer {
  background: #1E1610;
  padding: 72px 80px 48px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  margin-bottom: 40px;
  border-bottom: 0.5px solid rgba(200, 180, 154, 0.1);
}

.footer-logo {
  font-family: var(--serif);
  font-size: 32px;
  font-style: italic;
  font-weight: 300;
  color: var(--warm-white);
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 18px;
}

.footer-about {
  font-size: 12px;
  font-weight: 300;
  color: rgba(237, 224, 204, 0.4);
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 250px;
}


.footer-col-title {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(237, 224, 204, 0.4);
  margin-bottom: 22px;
}

.footer-link {
  display: block;
  font-size: 12px;
  font-weight: 300;
  color: rgba(237, 224, 204, 0.5);
  margin-bottom: 11px;
  transition: color 0.25s, padding-left 0.3s;
}

.footer-link:hover {
  color: var(--cream);
  padding-left: 6px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 10px;
  font-weight: 300;
  color: rgba(237, 224, 204, 0.25);
  letter-spacing: 0.05em;
}

.footer-pay {
  display: flex;
  gap: 7px;
}

.pay-tag {
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(237, 224, 204, 0.3);
  border: 0.5px solid rgba(200, 180, 154, 0.12);
  padding: 4px 9px;
  transition: color 0.25s, border-color 0.25s;
}

.pay-tag:hover {
  color: rgba(237, 224, 204, 0.6);
  border-color: rgba(200, 180, 154, 0.3);
}

/* =====================================================
   NUMBER COUNTER ANIMATION
===================================================== */
.stat-num[data-count] {
  font-variant-numeric: tabular-nums;
}

/* =====================================================
   PAGE TRANSITION OVERLAY (for nav links)
===================================================== */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--espresso);
  z-index: 9999;
  transform: translateY(100%);
  pointer-events: none;
  transition: transform 0.6s var(--ease-out);
}

/* =====================================================
   ROOM PRODUCTS & MODAL
===================================================== */
.room-products {
  background: var(--ivory);
  padding: 80px;
  border-top: 0.5px solid rgba(200, 180, 154, 0.3);
}

.room-products .products-header {
  margin-bottom: 48px;
}

.hidden-product {
  display: none !important;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.btn-load-more {
  background: transparent;
  border: 1px solid var(--espresso);
  color: var(--espresso);
  padding: 14px 40px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
}

.btn-load-more:hover {
  background: var(--espresso);
  color: var(--warm-white);
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.pm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 31, 20, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.product-modal.show .pm-overlay {
  opacity: 1;
}

.pm-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: var(--cream);
  display: flex;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
  transform: translateY(40px) scale(0.98);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
  overflow: hidden;
  border-radius: 4px;
}

.product-modal.show .pm-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.pm-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--espresso);
  background: rgba(253, 250, 246, 0.8);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s, transform 0.3s;
}

.pm-close:hover {
  background: var(--warm-white);
  transform: scale(1.1);
}

.pm-body {
  display: flex;
  width: 100%;
  min-height: 500px;
}

.pm-image-wrap {
  flex: 1.5;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-right: 0.5px solid rgba(200, 180, 154, 0.5);
}

.pm-image-wrap svg {
  width: 100%;
  height: auto;
  max-width: 400px;
}

.pm-info {
  flex: 1;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pm-cat {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 12px;
}

.pm-name {
  font-family: var(--serif);
  font-size: 42px;
  font-style: italic;
  font-weight: 300;
  color: var(--espresso);
  margin-bottom: 24px;
  line-height: 1.1;
}

.pm-price {
  font-size: 20px;
  font-weight: 400;
  color: var(--espresso);
  margin-bottom: 32px;
}

.pm-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--walnut);
  font-weight: 300;
}

@media (max-width: 768px) {
  .pm-body {
    flex-direction: column;
  }

  .pm-image-wrap,
  .pm-info {
    flex: none;
  }

  .pm-image-wrap {
    padding: 40px 20px;
    border-right: none;
    border-bottom: 0.5px solid rgba(200, 180, 154, 0.5);
  }
}

/* =====================================================
   SEARCH OVERLAY
===================================================== */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(42, 31, 20, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.search-overlay.open { opacity: 1; pointer-events: all; }

.search-panel {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9991;
  background: var(--warm-white);
  border-bottom: 1px solid var(--linen);
  padding: 0;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 60px rgba(42, 31, 20, 0.12);
}
.search-panel.open { transform: translateY(0); }

.search-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 5% 40px;
}

.search-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--tan);
  margin-bottom: 12px;
  display: block;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  border-bottom: 1.5px solid var(--linen);
  padding-bottom: 8px;
  gap: 14px;
  transition: border-color 0.3s;
}
.search-input-wrap:focus-within { border-color: var(--gold); }

.search-input-wrap svg { flex-shrink: 0; color: var(--tan); }

.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--espresso);
}
.search-input::placeholder { color: var(--linen); }

.search-close {
  position: absolute;
  top: 18px; right: 24px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--walnut);
  transition: color 0.3s, transform 0.3s;
  cursor: pointer;
}
.search-close:hover { color: var(--espresso); transform: rotate(90deg); }

.search-results {
  margin-top: 24px;
  max-height: 320px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(200,180,154,0.2);
  text-decoration: none;
  color: var(--espresso);
  transition: background 0.2s;
  cursor: pointer;
}
.search-result-item:hover { background: rgba(200,180,154,0.08); }

.search-result-item .sr-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
}
.search-result-item .sr-cat {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--tan);
}
.search-result-item .sr-price {
  margin-left: auto;
  font-weight: 500;
  font-size: .95rem;
  color: var(--walnut);
}

.search-empty {
  padding: 24px 0;
  text-align: center;
  color: var(--tan);
  font-size: .95rem;
}

.search-quick {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-quick-tag {
  padding: 6px 16px;
  border: 1px solid var(--linen);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--walnut);
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
}
.search-quick-tag:hover { border-color: var(--gold); color: var(--espresso); background: rgba(184,150,90,0.06); }

/* =====================================================
   WISHLIST DRAWER
===================================================== */
.wl-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9992;
  background: rgba(42, 31, 20, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.wl-drawer-overlay.open { opacity: 1; pointer-events: all; }

.wl-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 9993;
  width: 400px;
  max-width: 90vw;
  background: var(--warm-white);
  border-left: 1px solid var(--linen);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 60px rgba(42,31,20,0.08);
}
.wl-drawer.open { transform: translateX(0); }

.wl-drawer-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--linen);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.wl-drawer-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--espresso);
}

.wl-drawer-count {
  font-size: .78rem;
  color: var(--tan);
  margin-left: 8px;
}

.wl-drawer-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--walnut);
  transition: color 0.3s, transform 0.3s;
}
.wl-drawer-close:hover { color: var(--espresso); transform: rotate(90deg); }

.wl-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
}

.wl-empty {
  text-align: center;
  padding: 60px 20px;
}
.wl-empty svg { margin: 0 auto 16px; color: var(--linen); }
.wl-empty h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--espresso);
  margin-bottom: 6px;
}
.wl-empty p { font-size: .9rem; color: var(--tan); line-height: 1.6; }

.wl-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(200,180,154,0.2);
  align-items: center;
}
.wl-item-img {
  width: 64px; height: 64px;
  background: var(--cream);
  border: 1px solid var(--linen);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.wl-item-img img { width: 100%; height: 100%; object-fit: cover; }
.wl-item-info { flex: 1; min-width: 0; }
.wl-item-name {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--espresso);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wl-item-price { font-size: .85rem; color: var(--walnut); }
.wl-item-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.wl-item-remove, .wl-item-add {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--tan);
  transition: all 0.3s;
  cursor: pointer;
}
.wl-item-remove:hover { color: var(--terra); transform: scale(1.1); }
.wl-item-add:hover { color: var(--sage); transform: scale(1.1); }

.wl-drawer-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--linen);
  flex-shrink: 0;
}
.wl-browse-btn {
  width: 100%;
  padding: 14px;
  background: var(--espresso);
  color: #fff;
  font-family: var(--sans);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: background 0.3s;
}
.wl-browse-btn:hover { background: var(--gold); }

/* Wishlist Badge */
.wishlist-badge {
  position: absolute;
  top: -7px;
  right: -8px;
  width: 15px;
  height: 15px;
  background: var(--sage); /* Sage for wishlist, Espresso for cart */
  border-radius: 50%;
  font-size: 8px;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

/* Wish Button Active State */
.wish-btn.is-active svg path {
  fill: var(--sage);
  stroke: var(--sage);
}

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

/* =====================================================
   CART DRAWER
===================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9994;
  background: rgba(42, 31, 20, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.cart-drawer-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 9995;
  width: 420px;
  max-width: 90vw;
  background: var(--warm-white);
  border-left: 1px solid var(--linen);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 60px rgba(42,31,20,0.08);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--linen);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.cart-drawer-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--espresso);
}

.cart-drawer-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--walnut);
  transition: color 0.3s, transform 0.3s;
}
.cart-drawer-close:hover { color: var(--espresso); transform: rotate(90deg); }

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(200,180,154,0.2);
}
.cart-item-img {
  width: 80px; height: 80px;
  background: var(--cream);
  border: 1px solid var(--linen);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.cart-item-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--espresso);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price { font-size: .9rem; color: var(--walnut); }

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 0.5px solid var(--linen);
  background: #fff;
}
.qty-btn {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--espresso);
  transition: background 0.2s;
}
.qty-btn:hover { background: var(--linen); }
.qty-val {
  width: 32px; text-align: center; font-size: .85rem; font-family: var(--sans);
}

.cart-item-remove {
  font-size: .75rem;
  color: var(--tan);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}
.cart-item-remove:hover { color: var(--terra); }

.cart-drawer-footer {
  padding: 24px 28px;
  border-top: 1px solid var(--linen);
  background: var(--cream);
  flex-shrink: 0;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: .9rem;
  color: var(--walnut);
}
.cart-summary-line.total {
  margin-top: 12px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--espresso);
  font-family: var(--serif);
}

.checkout-btn {
  width: 100%;
  padding: 16px;
  background: var(--espresso);
  color: #fff;
  font-family: var(--sans);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: background 0.3s, transform 0.3s;
}
.checkout-btn:hover { background: var(--walnut); transform: translateY(-2px); }

.cart-empty {
  text-align: center;
  padding: 80px 20px;
}
.cart-empty svg { margin: 0 auto 20px; color: var(--linen); }
.cart-empty h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--espresso);
  margin-bottom: 8px;
}
.cart-empty p { font-size: .95rem; color: var(--tan); margin-bottom: 24px; }

/* =====================================================
   AUTH MODAL (LOGIN/SIGNUP)
===================================================== */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(42, 31, 20, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  padding: 20px;
}
.auth-overlay.open { opacity: 1; pointer-events: all; }

.auth-card {
  background: #fff;
  width: 100%;
  max-width: 440px;
  padding: 48px;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.15);
}
.auth-overlay.open .auth-card { transform: translateY(0); }

.auth-close {
  position: absolute;
  top: 24px; right: 24px;
  color: var(--walnut);
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
}
.auth-close:hover { color: var(--espresso); }

.auth-tabs {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--linen);
}
.auth-tab {
  padding-bottom: 12px;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--tan);
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}
.auth-tab.active { color: var(--espresso); }
.auth-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--espresso);
}

.auth-form { display: none; }
.auth-form.active { display: block; animation: fadeIn 0.5s ease both; }

.auth-group { margin-bottom: 24px; }
.auth-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tan);
  margin-bottom: 8px;
}
.auth-input {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--linen);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--espresso);
  background: transparent;
  transition: border-color 0.3s;
}
.auth-input:focus { outline: none; border-color: var(--espresso); }

.auth-btn {
  width: 100%;
  padding: 16px;
  background: var(--espresso);
  color: #fff;
  border: none;
  font-family: var(--sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.3s;
}
.auth-btn:hover { background: var(--walnut); }

/* =====================================================
   ACCOUNT PANEL
===================================================== */
.account-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  background: rgba(42, 31, 20, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  display: flex;
  justify-content: flex-end;
}

.account-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.account-panel {
  width: min(440px, 100%);
  min-height: 100vh;
  background: var(--warm-white);
  padding: 42px 34px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-out);
  box-shadow: -24px 0 70px rgba(42, 31, 20, 0.16);
}

.account-overlay.open .account-panel {
  transform: translateX(0);
}

.account-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: none;
  border: 0;
  color: var(--walnut);
}

.account-profile {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--linen);
}

.account-profile h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--espresso);
  margin: 6px 0 12px;
}

.account-profile p {
  margin: 4px 0;
  color: var(--tan);
  font-size: 0.92rem;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0 28px;
}

.account-stats div {
  border: 1px solid var(--linen);
  padding: 16px;
  display: grid;
  gap: 4px;
}

.account-stats strong {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--espresso);
}

.account-stats span {
  color: var(--tan);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.account-section {
  display: grid;
  gap: 14px;
}

.account-orders {
  display: grid;
  gap: 12px;
}

.account-order {
  border: 1px solid var(--linen);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.account-order > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.account-order strong {
  color: var(--espresso);
}

.account-order small,
.account-order-items,
.account-empty {
  color: var(--tan);
  font-size: 0.85rem;
}

.account-order-total {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--espresso);
}

.account-order-items {
  display: grid;
  gap: 4px;
}

.account-order-status {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.account-order-status span {
  border: 1px solid var(--linen);
  padding: 5px 9px;
  color: var(--walnut);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.account-empty {
  border: 1px dashed var(--linen);
  padding: 18px;
  text-align: center;
}

.account-logout {
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  background: var(--espresso);
  color: var(--cream);
  border: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 32px 0;
  color: var(--linen);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--linen);
}
.auth-divider span { padding: 0 16px; color: var(--tan); }

.auth-social {
  display: flex;
  gap: 16px;
}
.social-btn {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--linen);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--espresso);
  transition: background 0.3s;
  background: #fff;
  cursor: pointer;
}
.social-btn:hover { background: var(--cream); }

/* =====================================================
   CHECKOUT INTERFACE
===================================================== */
.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 11000;
  background: var(--warm-white);
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  overflow-y: auto;
}
.checkout-overlay.open { opacity: 1; pointer-events: all; }

.checkout-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 5%;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  width: 100%;
}

.checkout-main h2 {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--espresso);
  margin-bottom: 40px;
}

.checkout-section { margin-bottom: 48px; }
.checkout-section-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tan);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.checkout-section-title span {
  width: 24px; height: 24px;
  background: var(--espresso);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.checkout-grid .full { grid-column: span 2; }

.pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pay-method {
  padding: 24px;
  border: 1px solid var(--linen);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
}
.pay-method.active {
  border-color: var(--espresso);
  background: var(--cream);
  box-shadow: 0 10px 30px rgba(42,31,20,0.05);
}
.pay-method-icon { color: var(--walnut); }
.pay-method-name { font-size: 0.95rem; color: var(--espresso); font-weight: 500; }

.checkout-side {
  background: #fff;
  padding: 40px;
  height: fit-content;
  position: sticky;
  top: 40px;
  border: 1px solid var(--linen);
}
.order-summary-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--espresso);
}

.order-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.order-item-img {
  width: 60px; height: 60px;
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
}
.order-item-img img { width: 100%; height: 100%; object-fit: cover; }
.order-item-info { flex: 1; font-size: 0.85rem; }
.order-item-name { color: var(--espresso); margin-bottom: 4px; }
.order-item-price { color: var(--tan); }

.checkout-final-btn {
  width: 100%;
  padding: 20px;
  background: var(--espresso);
  color: #fff;
  border: none;
  font-family: var(--sans);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  margin-top: 32px;
  transition: background 0.3s, transform 0.3s;
}
.checkout-final-btn:hover { background: var(--walnut); transform: translateY(-2px); }

.checkout-back {
  background: none;
  border: none;
  color: var(--tan);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  padding: 0;
}
.checkout-back:hover { color: var(--espresso); }

/* Success Animation */
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
.success-overlay.open { opacity: 1; pointer-events: all; }

.success-icon {
  width: 80px; height: 80px;
  background: var(--sage);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px;
  animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
