:root {
  /* Luxury Palette */
  --black: #0A0A0A;
  --rich-black: #050505;
  --emerald: #1C4A30;
  --emerald-mid: #2D5A3F;
  --green: #1C4A30;
  --green-mid: #2D5A3F;
  --green-light: #3F7A59;
  --gold: #D4AF37;
  --champagne: #F7E7CE;
  --cream: #FDFCF8;
  --bone: #F5F5F0;

  --gray-900: #111111;
  --gray-700: #3A3A3A;
  --gray-500: #6E6E73;
  --gray-300: #C7C7CC;
  --gray-100: #F2F2F7;
  --white: #FFFFFF;

  --accent-gold: #C8860A;
  --red: #C0392B;
  --red-bg: #FFF0EE;
  --orange: #D35400;
  --orange-bg: #FEF5E7;

  --border: rgba(10, 10, 10, 0.06);
  --border-gold: rgba(212, 175, 55, 0.2);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  --nav-h: 72px;
}

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none !important;
  color: inherit;
  transition: var(--transition);
}

button {
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.luxury-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.luxury-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

/* Base Body Luxury */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Global Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animate] {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.stagger-1 {
  animation-delay: 0.1s;
}

.stagger-2 {
  animation-delay: 0.2s;
}

.stagger-3 {
  animation-delay: 0.3s;
}

/* ── NAVBAR ── */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(253, 252, 248, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 5%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #1a432b;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.9;
}

.brand-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-icon {
  transform: scale(1.05);
}

.brand-text {
  color: #1a432b;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-mid);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--black);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--black);
  font-weight: 600;
}

/* Badge */
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  padding: 0 4px;
  margin-left: 4px;
  vertical-align: middle;
  animation: badgePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badgePop {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

/* Auth buttons */
.auth-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-btn {
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 99px;
  border: 1px solid var(--gray-300);
  transition: all 0.3s ease;
}

.login-btn:hover {
  background: var(--gray-100);
  color: #000000 !important;
}

.signup-btn {
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 500;
  background: var(--black);
  color: #ffffff;
  border-radius: 99px;
  transition: all 0.3s ease;
}

.signup-btn:hover {
  background: var(--emerald);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(28, 74, 48, 0.2);
}

/* Profile dropdown */
.profile-dropdown {
  position: relative;
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--border-mid);
  border-radius: 99px;
  background: white;
  color: var(--gray-900);
  cursor: pointer;
}

.profile-btn:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-xs);
}

.profile-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-name {
  font-size: 13px;
  font-weight: 500;
}

.dropdown-arrow {
  font-size: 10px;
  color: var(--gray-500);
  transition: transform 0.2s;
}

.profile-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 210px;
  overflow: hidden;
  z-index: 300;
  animation: dropIn 0.1s ease both;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.profile-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a,
.dropdown-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--gray-700);
  width: 100%;
  text-align: left;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
  background: var(--gray-50);
  color: var(--black);
}

.logout-btn {
  color: var(--red) !important;
  border-top: 1px solid var(--border);
  border-bottom: none !important;
}

.logout-btn:hover {
  background: var(--red-soft) !important;
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  z-index: 190;
  padding: 32px 5%;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
  animation: slideDown 0.3s ease both;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.mobile-nav a {
  font-size: 18px;
  font-weight: 500;
  color: var(--gray-900);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:hover {
  color: var(--green-mid);
  padding-left: 8px;
}

/* ── HERO ── */
.hero-section {
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #F5F5F0 0%, #E8EDE4 50%, #DDE5D8 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 5%;
}

.hero-bg-shape {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 52%;
  height: 120%;
  border-radius: 40px 0 0 40px;
  overflow: hidden;
  opacity: 0.9;
}

.hero-bg-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(28, 74, 48, 0.12);
  top: -100px;
  left: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(200, 134, 10, 0.08);
  bottom: -80px;
  right: 40%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28, 74, 48, 0.1);
  color: var(--green-mid);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 4.8vw, 66px);
  font-weight: 500;
  color: var(--black);
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-content h1 em {
  color: var(--green-mid);
  font-style: normal;
}

.hero-content p {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 440px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--black);
  color: #fff;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
}

.hero-btn:hover {
  background: var(--green);
  box-shadow: 0 12px 30px rgba(28, 74, 48, 0.3);
}

.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  color: var(--gray-700);
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
}

.hero-btn-outline:hover {
  border-color: var(--black);
  color: var(--black);
  background: rgba(0, 0, 0, 0.03);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  animation: fadeUp 0.6s 0.4s ease both;
}

.hero-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
}

.hero-stat span {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 400;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 0;
  overflow: hidden;
  height: 44px;
  display: flex;
  align-items: center;
}

.trust-bar-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-bar-item .icon {
  font-size: 14px;
}

@keyframes marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ── FEATURES ── */
.features-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-box {
  padding: 36px 28px;
  background: var(--white);
  text-align: center;
  transition: background 0.2s;
  cursor: default;
}

.feature-box:hover {
  background: var(--gray-50);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature-box h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 5px;
}

.feature-box p {
  font-size: 12.5px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── SECTION HEADERS ── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  color: var(--black);
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray-500);
  margin-top: 10px;
  font-weight: 300;
}

.section-header {
  margin-bottom: 48px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.view-all-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-mid);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.view-all-link:hover {
  color: var(--green);
  gap: 10px;
}

/* ── PRODUCTS SECTION ── */
.products-section {
  padding: 90px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s;
  position: relative;
  animation: fadeUp 0.5s ease both;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-image {
  position: relative;
  overflow: hidden;
  background: var(--gray-50);
}

.product-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.07);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 99px;
  text-transform: uppercase;
}

.product-badge.sale {
  background: var(--red);
}

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--gray-300);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  z-index: 2;
}

.wishlist-btn:hover {
  transform: scale(1.15);
  background: #fff;
  color: #FF2E63;
}

.wishlist-btn.active,
.wishlist-btn-home.active,
.btn-wishlist-circle-mobile.active {
  color: #FF2E63 !important;
  fill: #FF2E63 !important;
  background: #FFF0F3 !important;
  border-color: rgba(255, 46, 99, 0.35) !important;
}

.wishlist-btn.active svg,
.wishlist-btn-home.active svg,
.btn-wishlist-circle-mobile.active svg {
  fill: #FF2E63 !important;
  stroke: #FF2E63 !important;
}

.wishlist-btn.animating,
.wishlist-btn-home.animating,
.btn-wishlist-circle-mobile.animating {
  animation: wishlistHeartPop 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.35) !important;
}

@keyframes wishlistHeartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.42); }
  70% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

.product-info {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 500;
  color: var(--black);
  margin-bottom: 6px;
  line-height: 1.35;
  letter-spacing: -0.2px;
}

.product-name a:hover {
  color: var(--green-mid);
}

.product-category-tag {
  font-size: 11.5px;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.product-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
}

.product-price .original {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-300);
  text-decoration: line-through;
  margin-left: 6px;
}



.add-cart-btn {
  margin-top: auto;
  width: 100%;
  padding: 14px;
  background: var(--black);
  color: #fff;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.add-cart-btn:hover {
  background: var(--green);
}

.add-cart-btn:active {
  transform: none;
}

.add-cart-btn.disabled {
  background: var(--gray-200, #e0e0e0);
  cursor: not-allowed;
  transform: none;
  color: var(--gray-500);
}

.out-of-stock-label {
  margin-top: auto;
  width: 100%;
  padding: 11px;
  text-align: center;
  border-radius: 99px;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-500);
  font-size: 12.5px;
  font-weight: 500;
}

/* staggered card animations */
.product-card:nth-child(1) {
  animation-delay: 0.04s
}

.product-card:nth-child(2) {
  animation-delay: 0.08s
}

.product-card:nth-child(3) {
  animation-delay: 0.12s
}

.product-card:nth-child(4) {
  animation-delay: 0.16s
}

.product-card:nth-child(5) {
  animation-delay: 0.20s
}

.product-card:nth-child(6) {
  animation-delay: 0.24s
}

.product-card:nth-child(7) {
  animation-delay: 0.28s
}

.product-card:nth-child(8) {
  animation-delay: 0.32s
}

/* ── CATEGORIES ROW ── */
.categories-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.category-pill {
  padding: 9px 22px;
  border-radius: 99px;
  border: 1.5px solid var(--border-mid);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  transition: var(--transition);
  white-space: nowrap;
}

.category-pill:hover {
  border-color: var(--black);
  color: var(--black);
  background: var(--gray-100);
}

.category-pill.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

/* ── SEARCH & FILTER BAR ── */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-search {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  background: var(--gray-50);
  border: 1.5px solid var(--border-mid);
  border-radius: 99px;
  padding: 0 18px;
  gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-search:focus-within {
  border-color: var(--black);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.filter-search input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  padding: 11px 0;
  font-family: inherit;
  font-size: 14px;
  color: var(--black);
}

.filter-search input::placeholder {
  color: var(--gray-300);
}

.filter-search .search-icon {
  color: var(--gray-300);
  font-size: 15px;
}

.filter-select {
  padding: 11px 16px;
  border: 1.5px solid var(--border-mid);
  border-radius: 99px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--gray-50);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236E6E73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.filter-select:hover,
.filter-select:focus {
  border-color: var(--black);
  background-color: #fff;
  color: var(--black);
}
/* ── PAGE HEADER ── */
.page-header {
  padding: 56px 5% 0;
  max-width: 1400px;
  margin: 0 auto;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 500;
  color: var(--black);
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

.page-header p {
  color: var(--gray-500);
  font-size: 15px;
}

/* ── CONTAINER ── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 5%;
}

/* ── CTA ── */
.cta-section {
  margin: 0 5% 90px;
  border-radius: var(--radius-xl);
  background: var(--black);
  padding: 90px 5%;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(28, 74, 48, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(200, 134, 10, 0.18) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 17px;
  margin-bottom: 36px;
  font-weight: 300;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  background: #fff;
  color: var(--black);
  border-radius: 99px;
  font-size: 15px;
  font-weight: 600;
}

.cta-btn:hover {
  box-shadow: 0 12px 36px rgba(255, 255, 255, 0.18);
}

/* ── AUTH ── */
.auth-section {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 5%;
  background: linear-gradient(145deg, var(--gray-50) 0%, #EFF3ED 100%);
}

.auth-container {
  display: flex;
  max-width: 980px;
  width: 100%;
  gap: 64px;
  align-items: center;
}

.auth-left {
  flex: 1;
}

.auth-left h1 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 14px;
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.auth-left p {
  color: var(--gray-500);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 30px;
}

.auth-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--gray-700);
}

.auth-benefit .icon {
  font-size: 18px;
  min-width: 24px;
  text-align: center;
}

.auth-card {
  flex: 1;
  background: #fff;
  padding: 44px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  animation: fadeUp 0.5s ease both;
}

.auth-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: -0.3px;
}

.auth-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-alert.error {
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid rgba(192, 57, 43, 0.15);
}

.auth-alert.success {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(28, 74, 48, 0.15);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 7px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--black);
  background: #ffffff;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--black);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.password-wrap {
  position: relative;
}

.toggle-pass {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.35;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}

.toggle-pass:hover {
  opacity: 0.75;
}

.auth-btn {
  width: 100%;
  padding: 14px;
  background: var(--black);
  color: #fff;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.auth-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.auth-btn:hover::after {
  transform: translateX(100%);
}

.auth-btn:hover {
  background: var(--green);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--gray-300);
  font-size: 12px;
  font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-bottom {
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 18px;
}

.auth-bottom a {
  color: var(--black);
  font-weight: 700;
}

.auth-bottom a:hover {
  color: var(--green-mid);
}

.social-auth-wrap {
  margin-top: 14px;
}

.google-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 18px;
  background: #ffffff;
  color: #3c4043;
  border: 1.5px solid #dadce0;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  box-sizing: border-box;
}

.google-auth-btn:hover {
  background: #f8f9fa;
  border-color: #c6c9ce;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #202124;
  transform: translateY(-1px);
}

.google-auth-btn:active {
  background: #f1f3f4;
  transform: translateY(0);
}

.google-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* ── CART ── */
.cart-section {
  padding: 60px 5%;
}

.cart-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cart-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 40px;
  letter-spacing: -0.6px;
}

.cart-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 44px;
  align-items: start;
}

.flash-msg {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.flash-msg.error {
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid rgba(192, 57, 43, 0.13);
}

.flash-msg.success {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(28, 74, 48, 0.15);
}

.cart-item {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  align-items: center;
  transition: var(--transition);
  animation: fadeUp 0.4s ease both;
}

.cart-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-mid);
}

.cart-item-image img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.cart-item-details .cart-price {
  font-size: 13.5px;
  color: var(--gray-500);
}

.qty-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.qty-input {
  width: 58px;
  padding: 8px;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-sm);
  text-align: center;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  outline: none;
  font-weight: 600;
}

.qty-input:focus {
  border-color: var(--black);
}



.remove-btn {
  padding: 8px 16px;
  border: 1.5px solid var(--border-mid);
  color: var(--gray-500);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  margin-top: 8px;
}

.remove-btn:hover {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-soft);
}

.cart-subtotal {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  min-width: 80px;
  text-align: right;
}

.cart-summary {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 30px;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}

.cart-summary h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: var(--gray-500);
  border-bottom: 1px solid var(--border);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 19px;
  font-weight: 700;
  color: var(--black);
  padding: 18px 0;
  margin-top: 4px;
}

.checkout-btn {
  width: 100%;
  margin-top: 6px;
  padding: 15px;
  background: var(--black);
  color: #fff;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.checkout-btn:hover {
  background: var(--green, #1C4A30);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.secure-note {
  text-align: center;
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 12px;
}

.empty-state {
  text-align: center;
  padding: 90px 20px;
}

.empty-state .empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.empty-state h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--gray-500);
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: var(--black);
  color: #fff;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--green, #1C4A30);
  color: #fff;
  box-shadow: var(--shadow-sm);

}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border: 1.5px solid var(--border-mid);
  color: var(--gray-700);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
}

.btn-secondary:hover {
  border-color: var(--black);
  color: var(--black);
  background: var(--gray-50);
}

.btn-continue-shopping {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 999px;
  background: #ffffff;
  color: #1c4a30;
  border: 1.8px solid #1c4a30;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(28, 74, 48, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-continue-shopping svg {
  transition: transform 0.25s ease;
}

.btn-continue-shopping:hover {
  background: #1c4a30;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(28, 74, 48, 0.22);
}

.btn-continue-shopping:hover svg {
  transform: translateX(-4px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1.5px solid var(--border-mid, #d2d2d2);
  color: var(--gray-700);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--black);
  color: var(--black);
  background: var(--gray-50);
}

.btn-sm {
  padding: 6px 16px !important;
  font-size: 12.5px !important;
  white-space: nowrap;
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border: 1.5px solid rgba(192, 57, 43, 0.3);
  color: var(--red);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  background: none;
}

.btn-danger:hover {
  background: var(--red-soft);
  border-color: var(--red);
}

/* ── WISHLIST ── */
.wishlist-section {
  padding: 60px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-page-header {
  margin-bottom: 44px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.section-page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: -0.6px;
}

.section-page-header p {
  color: var(--gray-500);
  font-size: 14.5px;
  margin-top: 6px;
}

/* ── ORDERS ── */
.orders-section {
  padding: 60px 5%;
  max-width: 1000px;
  margin: 0 auto;
}

.order-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.order-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  transition: var(--transition);
  animation: fadeUp 0.4s ease both;
}

.order-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-mid);
}

.order-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.order-id {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.order-date {
  font-size: 12.5px;
  color: var(--gray-500);
  margin-top: 3px;
}

.status-pill {
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.status-pill.pending {
  background: var(--amber-soft);
  color: var(--amber);
}

.status-pill.confirmed,
.status-pill.processing {
  background: #E8F4FD;
  color: #1565C0;
}

.status-pill.shipped {
  background: #FFF3E0;
  color: #E65100;
}

.status-pill.delivered {
  background: var(--green-soft);
  color: var(--green-mid);
}

.status-pill.cancelled {
  background: var(--red-soft);
  color: var(--red);
}

.order-info-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border);
  color: var(--gray-500);
}

.order-info-row strong {
  color: var(--black);
}

.order-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.empty-orders,
.empty-wishlist {
  text-align: center;
  padding: 90px 20px;
  grid-column: 1/-1;
}

/* ── ORDER SUCCESS ── */
.success-section {
  padding: 80px 5%;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.success-icon {
  font-size: 72px;
  margin-bottom: 20px;
  animation: pop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes pop {
  0% {
    transform: scale(0);
    opacity: 0
  }

  100% {
    transform: scale(1);
    opacity: 1
  }
}

.success-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.success-subtitle {
  color: var(--gray-500);
  font-size: 16px;
  margin-bottom: 40px;
  font-weight: 300;
}

.success-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  text-align: left;
}

.success-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--gray-500);
}

.success-row strong {
  color: var(--black);
}

.success-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.items-table {
  width: 100%;
  border-collapse: collapse;
}

.items-table th {
  background: var(--gray-50);
  padding: 11px 16px;
  text-align: left;
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--border-mid);
}

.items-table td {
  padding: 13px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--gray-700);
}

.order-item-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.order-item-inline a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-color);
}

.order-item-inline a:hover {
  color: var(--primary);
}

.order-confirmation-item-name {
  font-weight: 500;
  font-size: 14px;
}

.order-confirmation-item-meta {
  font-size: 12px;
  color: var(--gray-500);
}


/* ── PRODUCT DETAIL ── */
.product-detail-section {
  padding: 70px 5%;
}

.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.main-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  max-height: 520px;
  background: var(--gray-50);
}

.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.product-price-tag {
  font-size: 30px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
}

.product-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.qty-box {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-mid);
  border-radius: 99px;
  overflow: hidden;
  background: var(--gray-50);
}

/* ── LUXURY UTILITIES ── */
.luxury-text {
  font-family: 'Playfair Display', serif;
}

.text-gold {
  color: var(--gold);
}

.text-emerald {
  color: var(--emerald);
}

.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.luxury-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.luxury-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}

/* ── BUTTONS ── */
.btn-luxury {
  background: var(--black);
  color: #fff;
  border-radius: 40px;
  padding: 16px 36px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.btn-luxury:hover {
  background: var(--emerald);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.btn-luxury-outline {
  background: transparent;
  border: 1.5px solid var(--black);
  color: var(--black);
  border-radius: 40px;
  padding: 15px 34px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition);
}

.btn-luxury-outline:hover {
  background: var(--black);
  color: #fff;
}

/* ── HERO SECTION ── */
.hero-luxury {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  background: var(--bone);
  overflow: hidden;
}

.hero-luxury::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 50%;
  height: 120%;
  background: linear-gradient(135deg, var(--champagne) 0%, transparent 100%);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  filter: blur(80px);
  opacity: 0.6;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
}

.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--emerald);
  background: rgba(28, 74, 48, 0.08);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-luxury h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 84px);
  color: var(--black);
  line-height: 1;
  margin-bottom: 30px;
  letter-spacing: -0.01em;
}

.hero-luxury h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--emerald);
}

.hero-luxury p {
  font-size: 18px;
  color: var(--gray-700);
  margin-bottom: 45px;
  line-height: 1.6;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* ── TRUST BAR ── */
.trust-marquee {
  background: var(--rich-black);
  color: var(--champagne);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  display: inline-block;
  padding: 0 40px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ── HOME SECTION HEADER ── */
.home-section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-title-luxury {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--black);
}

/* ── FEATURED PRODUCTS GRID ── */
.featured-section {
  padding: 120px 5%;
  background: var(--cream);
}

.products-luxury-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.product-card-luxury {
  position: relative;
  transition: var(--transition);
}

.product-card-luxury .img-wrap {
  aspect-ratio: 1/1.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  margin-bottom: 24px;
  position: relative;
}

.product-card-luxury img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card-luxury:hover img {
  transform: scale(1.08);
}

.card-actions-float {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  padding: 0 20px;
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition);
}

.product-card-luxury:hover .card-actions-float {
  opacity: 1;
  transform: translateY(0);
}

.btn-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--black);
  transition: var(--transition);
}

.btn-circle:hover {
  background: var(--black);
  color: #fff;
}

.product-info-luxury {
  text-align: center;
}

.product-info-luxury h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--black);
}

.product-info-luxury .price {
  font-weight: 700;
  font-size: 16px;
  color: var(--emerald);
}

.product-info-luxury .category {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  display: block;
}

.qty-box button {
  padding: 10px 16px;
  font-size: 18px;
  color: var(--black);
}

.qty-box button:hover {
  background: var(--gray-100);
}

.qty-box input {
  width: 48px;
  text-align: center;
  border: none;
  background: none;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  padding: 10px 4px;
}

.atc-btn {
  flex: 1;
  padding: 14px 24px;
  background: var(--black);
  color: #fff;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.atc-btn:hover {
  background: var(--green);
  box-shadow: 0 8px 24px rgba(28, 74, 48, 0.3);
}

.wish-btn-detail {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gray-400, #bbb);
  background: var(--gray-50);
}

.wish-btn-detail:hover {
  border-color: var(--red);
  color: #E63946;
  background: var(--red-soft);
}

.wish-btn-detail.active {
  color: #E63946;
  background: var(--red-soft);
  border-color: #E63946;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 20px 0;
}

.product-meta-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.product-meta-row .key {
  color: var(--gray-500);
  min-width: 100px;
}

.product-meta-row .val {
  color: var(--black);
  font-weight: 500;
}

/* ── CHECKOUT ── */
.checkout-section {
  padding: 60px 5%;
}

.checkout-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 44px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--black);
  background: var(--gray-50);
  outline: none;
  transition: var(--transition);
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  border-color: var(--black);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ── PROFILE ── */
.profile-section {
  padding: 60px 5%;
  max-width: 960px;
  margin: 0 auto;
}

.profile-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.profile-sidebar {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}

.profile-avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 16px;
}

.profile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 4px;
  transition: var(--transition);
}

.profile-nav a:hover,
.profile-nav a.active {
  background: var(--white);
  color: var(--green-mid);
  box-shadow: var(--shadow-xs);
}

.profile-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 22px;
}

.profile-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* ── PAGINATION ── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.page-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  border: 1.5px solid var(--border-mid);
  background: #fff;
  transition: var(--transition);
}

.page-btn:hover {
  border-color: var(--black);
  color: var(--black);
  background: var(--gray-50);
}

.page-btn.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.page-btn.disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* ── ORDER DETAIL TIMELINE ── */
.order-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 28px 0;
  overflow-x: auto;
}

.timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  min-width: 80px;
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border-mid);
  z-index: 0;
}

.timeline-step:last-child::before {
  display: none;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2.5px solid var(--border-mid);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin: 0 auto 10px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.timeline-step.done .timeline-dot {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.timeline-step.active-step .timeline-dot {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.1);
}

.timeline-step.done::before {
  background: var(--green);
}

.timeline-label {
  font-size: 11.5px;
  color: var(--gray-500);
  font-weight: 500;
}

.timeline-step.done .timeline-label,
.timeline-step.active-step .timeline-label {
  color: var(--black);
  font-weight: 600;
}

/* ── FOOTER ── */
.main-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.55);
  padding: 70px 5% 0;
  margin-top: 100px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.9;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.footer-social-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  transition: transform 0.25s ease;
  display: block;
}

.footer-social-btn:hover {
  transform: translateY(-2px);
}

.footer-social-btn:hover svg {
  transform: scale(1.12);
}

.footer-social-btn.facebook:hover {
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.5);
  background: rgba(24, 119, 242, 0.12);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

.footer-social-btn.instagram:hover {
  color: #e1306c;
  border-color: rgba(225, 48, 108, 0.5);
  background: rgba(225, 48, 108, 0.12);
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.25);
}

.footer-social-btn.x-twitter:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.footer-social-btn.youtube:hover {
  color: #ff0000;
  border-color: rgba(255, 0, 0, 0.5);
  background: rgba(255, 0, 0, 0.12);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.25);
}

.footer-social-btn.whatsapp:hover {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.12);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.footer-column h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-column ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal {
  display: flex;
  gap: 22px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.65);
}

.footer-payment {
  display: flex;
  gap: 8px;
  align-items: center;
}

.payment-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

/* ── TOAST NOTIFICATIONS ── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  animation: slideInRight 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.toast.removing {
  animation: slideOutRight 0.3s ease both;
}

.toast .toast-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.toast p {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
}

.toast.success {
  border-left: 4px solid var(--green);
}

.toast.error {
  border-left: 4px solid var(--red);
}

.toast.info {
  border-left: 4px solid #1976D2;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0)
  }

  to {
    opacity: 0;
    transform: translateX(30px)
  }
}

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  bottom: 96px;
  right: 31px;
  z-index: 1044;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 28, 22, 0.94);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.9);
  transition: bottom 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.25s ease,
              transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease;
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.scroll-top:hover {
  background: #1c4a30;
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(28, 74, 48, 0.42);
}

.scroll-top:hover svg {
  transform: translateY(-2px);
}

.scroll-top:active {
  transform: scale(0.94);
}

/* Dynamic offset when floating cart has items so they never collide */
body:has(#swiggyFloatingCart.has-items) .scroll-top,
.scroll-top.has-cart-offset {
  bottom: 168px;
}

/* Never show floating cart on Cart or Checkout pages */
body:has(.cart-section) #swiggyFloatingCart,
body:has(.checkout-modern) #swiggyFloatingCart,
body:has(.scan-pay-container) #swiggyFloatingCart,
body:has(.order-success-card) #swiggyFloatingCart,
.cart-section ~ #swiggyFloatingCart,
.checkout-modern ~ #swiggyFloatingCart {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* ── GLOBAL ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes shimmer {
  0% {
    background-position: -400px 0
  }

  100% {
    background-position: 400px 0
  }
}

.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}

/* ── LOADING BAR ── */
#nprogress .bar {
  background: var(--green-light) !important;
  height: 3px !important;
}

.page-loader-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(253, 252, 248, 0.92);
  backdrop-filter: blur(8px);
  z-index: 9998;
  transition: opacity 0.35s ease;
}

.page-loader-overlay.done {
  opacity: 0;
  pointer-events: none;
}

.loader-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 6px;
  text-align: center;
  min-width: 240px;
}

.loader-brand {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--emerald);
}

.loader-sub {
  font-size: 12px;
  color: var(--gray-500);
}

.loader-spinner {
  width: 28px;
  height: 28px;
  margin: 6px auto 0;
  border-radius: 50%;
  border: 3px solid rgba(28, 74, 48, 0.2);
  border-top-color: var(--emerald);
  animation: loaderSpin 0.8s linear infinite;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light), var(--amber));
  z-index: 9999;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.page-loader.loading {
  transform: scaleX(0.85);
}

.page-loader.done {
  transform: scaleX(1);
  opacity: 0;
  transition: transform 0.2s, opacity 0.3s 0.2s;
}

.wishlist-float-mobile {
  display: none !important;
}

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  .features-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .cart-content,
  .checkout-container {
    grid-template-columns: 1fr;
  }

  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:768px) {
  .main-header {
    height: 60px;
    padding: 0 5%;
  }

  .brand-logo {
    font-size: clamp(20px, 5vw, 24px);
    white-space: nowrap;
  }

  .profile-name, .dropdown-arrow {
    display: none;
  }

  .profile-btn {
    padding: 4px;
  }

  .nav-links, .auth-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-section {
    padding: 40px 5%;
    min-height: auto;
  }

  .hero-bg-shape {
    display: none;
  }

  .features-section {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions a.btn-luxury,
  .hero-actions a.btn-luxury-outline {
    width: 100%;
    text-align: center;
  }

  .hero-luxury {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .hero-luxury h1 {
    font-size: clamp(32px, 8vw, 48px);
    margin-bottom: 16px;
  }

  .hero-luxury p {
    font-size: clamp(14px, 4vw, 16px);
    margin-bottom: 24px;
    max-width: 100%;
  }

  .cta-section {
    margin: 0 0 80px;
    border-radius: 0;
  }

  .auth-container {
    flex-direction: column;
  }

  .auth-left {
    display: none;
  }

  .product-detail-container {
    gap: 28px;
  }
}

@media(max-width:480px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cart-subtotal {
    align-self: flex-end;
  }

  .success-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .products-grid .product-image {
    border: none;
    background: #eef5f3;
    border-radius: 10px;
    padding: 12px;
    aspect-ratio: 1/1;
    margin-bottom: 8px;
  }
  .products-grid .product-image img {
    object-fit: contain;
    padding: 0;
    background: transparent;
  }
  .products-grid .product-name {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .products-grid .product-price {
    font-size: 15px;
    font-weight: 700;
  }
  .products-grid .product-image {
    position: relative;
  }
  .products-grid .wishlist-float-mobile {
    display: block !important;
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 10;
  }
  .products-grid .btn-wishlist-circle-mobile {
    background: #fdfdfd;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    color: #a0a0a0;
  }
  .products-grid .btn-wishlist-circle-mobile svg {
    transition: all 0.2s;
  }
  .products-grid .btn-wishlist-circle-mobile.active svg {
    fill: #e53e3e;
    stroke: #e53e3e;
  }
  .products-grid .product-category-tag,
  .products-grid .product-rating,
  .products-grid .price-unit-note,
  .products-grid .product-sizes-pill-list,
  .products-grid .product-badge,
  .products-grid .wishlist-btn {
    display: none !important;
  }

  .products-grid .add-cart-btn {
    width: 100%;
    height: 36px;
    background: #111;
    color: #fff;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    border: none;
    padding: 0;
  }
  .products-grid .out-of-stock-label {
    width: 100%;
    height: 36px;
    background: #f0f0f0;
    color: #666;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
  }
  
  .products-luxury-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .products-luxury-grid .product-card-luxury .img-wrap {
    border: none;
    background: #eef5f3;
    border-radius: 10px;
    padding: 6px;
    aspect-ratio: 1/1;
    margin-bottom: 6px;
  }
  .products-luxury-grid .product-card-luxury img {
    object-fit: contain;
    padding: 0;
    background: transparent;
  }
  .products-luxury-grid .product-info-luxury h3 {
    font-size: 10px;
    line-height: 1.2;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .products-luxury-grid .home-price-current {
    font-size: 11px;
  }
  .products-luxury-grid .home-price-unit {
    display: inline !important;
    font-size: 9.5px;
    font-weight: 500;
    color: #4b5563;
    margin-left: 1.5px;
  }
  .products-luxury-grid .home-price-original, 
  .products-luxury-grid .home-offer-pill,
  .products-luxury-grid .category,
  .products-luxury-grid .product-sizes-pill-list,
  .products-luxury-grid .card-actions-float {
    display: none !important;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .checkout-container {
    gap: 20px;
  }

  .product-info {
    padding: 12px 10px 16px;
  }

  .product-image img {
    height: 160px;
  }

  .luxury-card,
  .product-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  
  .luxury-card:hover,
  .product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-btn,
  .hero-btn-outline {
    justify-content: center;
  }

  .order-meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .orders-section {
    padding: 24px 16px 80px;
  }

  .scroll-top {
    bottom: 84px;
    right: 24px;
    width: 40px;
    height: 40px;
  }

  body:has(#swiggyFloatingCart.has-items) .scroll-top,
  .scroll-top.has-cart-offset {
    bottom: 150px;
    right: 24px;
  }
  
  .order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
  }
  .order-info-grid .order-info-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    border-bottom: none;
  }
  .order-info-grid .order-info-row span {
    font-size: 11px;
    margin-bottom: 2px;
  }
  .order-info-grid .order-info-row strong {
    font-size: 13px;
  }

  .sticky-nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
}

/* Status Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.bg-success {
  background-color: #e2f6ed !important;
  color: #15803d !important;
  border: 1px solid rgba(21, 128, 61, 0.1);
}

.bg-danger {
  background-color: #fee2e2 !important;
  color: #b91c1c !important;
  border: 1px solid rgba(185, 28, 28, 0.1);
}

.bg-warning {
  background-color: #fef9c3 !important;
  color: #a16207 !important;
  border: 1px solid rgba(161, 98, 7, 0.1);
}

/* Product Size Pills */
.product-sizes-pill-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: flex-start;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.product-sizes-pill-list::-webkit-scrollbar {
  display: none;
}
.size-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
  background: white;
}
.size-pill:not(.unavailable) {
  border-color: var(--border);
}
.size-pill:not(.unavailable):hover {
  border-color: var(--emerald);
}
.size-pill.unavailable {
  color: #9ca3af;
  background: #f9fafb;
  border-color: #f3f4f6;
  opacity: 0.5;
  text-decoration: line-through;
}

/* ── MOBILE PERFORMANCE & RESPONSIVENESS OPTIMIZATIONS ── */
button,
a,
input,
select,
.pill,
.btn-luxury,
.btn-luxury-outline,
.btn-luxury-card-atc,
.btn-luxury-atc,
.hamburger,
.wishlist-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  /* Fast GPU compositing and smooth scrolling */
  body {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Optimize offscreen rendering on mobile */
  .collab-section,
  .luxury-quote-section,
  .main-footer,
  .similar-products-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 350px;
  }

  /* Smooth animation on low-power mobile GPUs */
  .floating-img {
    animation-duration: 8s !important;
    will-change: transform;
  }
}

/* ============================================================
   CORE WEB VITALS: ZERO CLS & RENDERING STABILIZATION RULES
   ============================================================ */

/* 2. Product Grid Zero Layout Shift */
.products-luxury-grid .img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f4f2ec;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  contain: layout paint;
}

.products-luxury-grid .img-wrap img,
.products-luxury-grid .img-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 3. Ads & Partners Space Reservation */
.ad-card-luxury {
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: var(--radius-xl, 20px);
  overflow: hidden;
  contain: layout paint;
}

.collab-item {
  contain: layout size;
}

/* 4. Marquee Header Stabilization */
.marquee-strip {
  min-height: 41px;
  contain: layout size;
}

/* 5. Desktop Content Visibility for Offscreen Elements */
@media (min-width: 769px) {
  .luxury-quote-section,
  .collab-section,
  .main-footer,
  .ads-luxury-grid {
    content-visibility: auto;
    contain-intrinsic-size: 1px 400px;
  }
}

/* 6. Font Metric Fallback (Eliminates FOUT/FOIT Layout Shift) */
@font-face {
  font-family: 'Playfair Fallback';
  src: local('Georgia'), local('Times New Roman');
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
  size-adjust: 102%;
}

@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica');
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

