@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --bg: #f8f4ef;
  --bg-secondary: #f0eae1;
  --bg-card: rgba(255, 248, 240, 0.72);
  --bg-elevated: rgba(255, 248, 240, 0.85);
  --gold: #c9813c;
  --gold-light: #e5a060;
  --gold-dark: #b06520;
  --text: #1a1208;
  --text-muted: #6b5c48;
  --text-dim: #908270;
  --border: rgba(180, 130, 80, 0.18);
  --border-gold: rgba(201, 129, 60, 0.3);
  --radius: 12px;
  --transition: 0.3s ease;
}

/* 3D Background */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

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

/* =============================================
   BASE
   ============================================= */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

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

input,
textarea,
select {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--text);
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

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

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

.text-gold {
  color: var(--gold);
}

.text-muted {
  color: var(--text-muted);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--text);
  border: 2px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 129, 60, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 129, 60, 0.3);
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* =============================================
   HEADER / NAV
   ============================================= */
/* ── Promo Banner Strip ─────────────────────────────────── */
#promo-banner-strip {
  width: 100%;
  background: var(--gold);
  color: var(--text);
  text-align: center;
  padding: 9px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1001;
  display: none; /* shown by JS after fetch */
}

#promo-banner-strip a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#promo-banner-strip .promo-tag {
  display: inline-block;
  background: var(--text);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 2px 7px;
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: middle;
}

#promo-banner-strip .promo-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.6;
  padding: 2px 4px;
}

#promo-banner-strip .promo-close:hover { opacity: 1; }

/* ── Site Header ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), padding var(--transition);
}

.site-header.scrolled {
  background: var(--bg);
  border-bottom-color: var(--border-gold);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color var(--transition);
}

.logo span {
  color: var(--text);
}

.logo:hover {
  color: var(--gold-light);
}

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

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

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

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

/* Cart Icon */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
  border: none;
}

.cart-btn:hover {
  color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
}

.cart-btn svg {
  width: 22px;
  height: 22px;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.2s ease;
}

.cart-badge.bump {
  transform: scale(1.4);
}

.cart-badge.hidden {
  display: none;
}

/* Profile Button */
.profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
  cursor: pointer;
}

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

.profile-btn svg {
  width: 18px;
  height: 18px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu-footer {
  position: absolute;
  bottom: 40px;
  display: flex;
  gap: 20px;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero.loaded .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(248, 244, 239, 0.0) 0%,
    rgba(248, 244, 239, 0.1) 40%,
    rgba(248, 244, 239, 0.55) 80%,
    rgba(248, 244, 239, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 24px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 20px;
  position: relative;
  padding: 0 20px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.hero-eyebrow::before {
  right: 100%;
  margin-right: -16px;
}

.hero-eyebrow::after {
  left: 100%;
  margin-left: -16px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(180, 120, 60, 0.15);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =============================================
   SECTION HEADINGS
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  margin: 14px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* =============================================
   PRODUCT GRID
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* =============================================
   PRODUCT CARD
   ============================================= */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--border-gold);
}

.product-card-image {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--text);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
}

.product-badge.sold-out {
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.product-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-wax-type {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.product-price {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
}

.product-price-original {
  font-size: 0.9rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.product-add-btn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-add-btn:hover {
  background: var(--gold);
  color: var(--text);
  box-shadow: 0 6px 20px rgba(201, 129, 60, 0.3);
}

.product-add-btn.out-of-stock {
  border-color: var(--border);
  color: var(--text-dim);
  cursor: not-allowed;
  opacity: 0.55;
  background: var(--bg-elevated);
}

.product-add-btn.out-of-stock:hover {
  background: var(--bg-elevated);
  color: var(--text-dim);
  box-shadow: none;
}

/* ── Product card qty control (replaces Add to Cart after first add) ── */
.product-qty-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 2px solid var(--gold);
  border-radius: 8px;
  overflow: hidden;
}

.product-qty-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}

.product-qty-btn:hover {
  background: var(--gold);
  color: var(--text);
}

.product-qty-count {
  flex: 1;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  user-select: none;
}

/* Filters */
.products-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 110, 0.08);
}

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding-top: 100px;
}

.product-detail-gallery {
  position: sticky;
  top: 100px;
}

.product-detail-main-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.product-detail-info {
  padding: 20px 0;
}

.product-detail-wax {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 10px;
}

.product-detail-name {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.product-detail-price {
  font-size: 2rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
}

.product-detail-description {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.qty-label {
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.qty-btn:hover {
  background: var(--gold);
  color: var(--text);
}

.qty-input {
  width: 50px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  padding: 0 4px;
  outline: none;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid var(--border-gold);
  border-radius: calc(var(--radius) + 8px);
  z-index: -1;
}

.about-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.about-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
}

.about-stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* =============================================
   NEWSLETTER SECTION
   ============================================= */
.newsletter-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.newsletter-section .section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.newsletter-form {
  display: flex;
  align-items: center;
  max-width: 480px;
  margin: 28px auto 0;
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  overflow: hidden;
  background: var(--bg-card);
}

.newsletter-input {
  flex: 1;
  padding: 14px 24px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: var(--text-dim);
}

.newsletter-submit {
  padding: 12px 28px;
  background: var(--gold);
  color: var(--text);
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  margin: 4px;
  border-radius: 100px;
  transition: background var(--transition);
}

.newsletter-submit:hover {
  background: var(--gold-light);
}

/* =============================================
   BLOG CARDS
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--border-gold);
}

.blog-card-image {
  height: 220px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.blog-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.blog-card-tag {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.blog-card-date {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.blog-card:hover .blog-card-title {
  color: var(--gold);
}

.blog-card-excerpt {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.blog-card-link:hover {
  gap: 10px;
}

/* Blog horizontal (list style) */
.blog-list .blog-card {
  flex-direction: row;
}

.blog-list .blog-card-image {
  width: 280px;
  flex-shrink: 0;
  height: auto;
}

/* =============================================
   BLOG POST PAGE
   ============================================= */
.blog-post-header {
  padding: 120px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}

.blog-post-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
}

.blog-post-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 800px;
  margin: 0 auto 20px;
}

.blog-post-meta {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.blog-post-cover {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 56px;
}

.blog-post-article {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.blog-post-article h2 {
  font-size: 1.8rem;
  margin: 40px 0 16px;
  color: var(--text);
}

.blog-post-article h3 {
  font-size: 1.3rem;
  margin: 30px 0 12px;
  color: var(--text);
}

.blog-post-article p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
  font-size: 1rem;
}

.blog-post-article ul,
.blog-post-article ol {
  padding-left: 24px;
  margin-bottom: 20px;
  list-style: disc;
}

.blog-post-article li {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.blog-post-article blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}

.blog-post-article a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: var(--border-gold);
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.blog-post-article a:hover {
  color: var(--gold-light);
}

.blog-post-article img {
  border-radius: var(--radius);
  margin: 28px 0;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 24px;
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.social-link.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(214, 36, 159, 0.35);
}

/* Footer Bottom */
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--gold);
}

/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  animation: whatsapp-bounce 2.5s ease-in-out infinite 4s;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
  animation-play-state: paused;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@keyframes whatsapp-bounce {
  0%, 100% { transform: translateY(0); }
  20% { transform: translateY(-10px); }
  40% { transform: translateY(0); }
  60% { transform: translateY(-6px); }
  80% { transform: translateY(0); }
}

/* =============================================
   CART SIDEBAR
   ============================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  backdrop-filter: blur(2px);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 100vw;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.open {
  transform: translateX(0);
}

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

.cart-sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.cart-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

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

.cart-close-btn svg {
  width: 16px;
  height: 16px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-items::-webkit-scrollbar {
  width: 4px;
}

.cart-items::-webkit-scrollbar-track {
  background: transparent;
}

.cart-items::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
}

.cart-empty svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  opacity: 0.3;
}

.cart-empty p {
  font-size: 0.9rem;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.cart-item-image {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-elevated);
}

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

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 10px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.cart-item-qty-btn {
  width: 28px;
  height: 28px;
  background: var(--bg-elevated);
  border: none;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition), color var(--transition);
}

.cart-item-qty-btn:hover {
  background: var(--gold);
  color: var(--text);
}

.cart-item-qty-num {
  width: 32px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  background: transparent;
  border: none;
  color: var(--text);
}

.cart-item-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), background var(--transition);
  margin-left: auto;
}

.cart-item-remove:hover {
  background: rgba(255, 60, 60, 0.12);
  color: #ff4444;
}

.cart-item-remove svg {
  width: 14px;
  height: 14px;
}

.cart-sidebar-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.cart-total-amount {
  color: var(--gold);
}

.cart-checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--text);
  border: none;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 12px;
  text-align: center;
  display: block;
}

.cart-checkout-btn:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.4);
}

.cart-continue-btn {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--transition);
}

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

/* =============================================
   PROFILE / ORDERS PAGE
   ============================================= */
.profile-page {
  padding-top: 100px;
  min-height: 100vh;
}

.profile-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.profile-tab {
  padding: 14px 28px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.profile-tab:hover {
  color: var(--gold);
}

.profile-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.profile-panel {
  display: none;
}

.profile-panel.active {
  display: block;
}

/* Order Cards */
.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  transition: border-color var(--transition);
}

.order-card:hover {
  border-color: var(--border-gold);
}

.order-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.order-id {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.order-date {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.order-items-preview {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.order-item-chip {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-elevated);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.order-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.order-total {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
}

/* =============================================
   ORDER STATUS BADGES
   ============================================= */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-pending {
  background: rgba(234, 179, 8, 0.12);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.status-confirmed {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-processing {
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.status-shipped {
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.status-delivered {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-cancelled {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* =============================================
   AUTH FORM (Login/Register)
   ============================================= */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.auth-card .logo {
  display: block;
  text-align: center;
  margin-bottom: 28px;
}

.auth-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 8px;
}

.auth-subtitle {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

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

.form-input::placeholder {
  color: var(--text-dim);
}

.form-input.error {
  border-color: #ef4444;
}

.form-error {
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 6px;
}

/* =============================================
   CHECKOUT PAGE
   ============================================= */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
  padding-top: 100px;
}

.checkout-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.checkout-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 100px;
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
}

.checkout-summary-total span:last-child {
  color: var(--gold);
}

.coupon-row {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}

.coupon-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition);
}

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

.coupon-apply-btn {
  padding: 10px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.coupon-apply-btn:hover {
  background: var(--gold);
  color: var(--text);
}

/* =============================================
   TOAST NOTIFICATIONS
   ============================================= */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  min-width: 280px;
  max-width: 380px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  pointer-events: auto;
  opacity: 0;
  transform: translateX(40px);
  animation: toast-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.toast.hiding {
  animation: toast-out 0.28s ease forwards;
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast-body {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.toast-msg {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.toast.success {
  border-left: 3px solid #22c55e;
}

.toast.success .toast-icon {
  color: #22c55e;
}

.toast.error {
  border-left: 3px solid #ef4444;
}

.toast.error .toast-icon {
  color: #ef4444;
}

.toast.info {
  border-left: 3px solid var(--gold);
}

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

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(40px);
  }
}

/* =============================================
   LOADING SPINNER
   ============================================= */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.spinner-sm {
  width: 20px;
  height: 20px;
  border-width: 2px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =============================================
   FADE-IN ANIMATION
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* =============================================
   DIVIDER / DECORATIVE
   ============================================= */
.gold-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0;
  color: var(--text-dim);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.gold-divider::before,
.gold-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 18px;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

.testimonial-location {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  padding: 140px 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* =============================================
   TRACKING SECTION
   ============================================= */
.tracking-timeline {
  position: relative;
  padding-left: 32px;
}

.tracking-timeline::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 8px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.tracking-step {
  position: relative;
  margin-bottom: 28px;
}

.tracking-step::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  transition: all var(--transition);
}

.tracking-step.done::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.2);
}

.tracking-step-label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.tracking-step.done .tracking-step-label {
  color: var(--gold);
}

.tracking-step-date {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* =============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =============================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================= */
@media (max-width: 768px) {
  /* Header */
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-eyebrow::before,
  .hero-eyebrow::after {
    display: none;
  }

  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card-image {
    height: 240px;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-list .blog-card {
    flex-direction: column;
  }

  .blog-list .blog-card-image {
    width: 100%;
    height: 200px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-image-wrap::before {
    display: none;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .about-stat-number {
    font-size: 1.5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Grid utilities */
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  /* Product detail */
  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-detail-gallery {
    position: static;
  }

  /* Section padding */
  .section {
    padding: 60px 0;
  }

  /* Cart sidebar */
  .cart-sidebar {
    width: 100vw;
  }

  /* Newsletter */
  .newsletter-form {
    flex-direction: column;
    border-radius: var(--radius);
    overflow: visible;
    border: none;
    background: transparent;
    gap: 12px;
  }

  .newsletter-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 14px 20px;
  }

  .newsletter-submit {
    width: 100%;
    margin: 0;
    border-radius: var(--radius);
    padding: 14px;
  }

  /* WhatsApp float */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  /* Toast */
  .toast-container {
    top: auto;
    bottom: 80px;
    left: 16px;
    right: 16px;
  }

  .toast {
    min-width: unset;
    max-width: 100%;
  }

  /* Profile */
  .profile-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .profile-tab {
    white-space: nowrap;
    padding: 12px 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .auth-card {
    padding: 28px 20px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
}

/* =============================================
   PROMOTIONAL VIDEO SECTION STYLES
   ============================================= */
.homepage-video-section {
  padding: 100px 0 20px; /* 80px header height + 20px top margin */
  text-align: center;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(201, 129, 60, 0.05) 0%, transparent 80%);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .homepage-video-section {
    padding: 125px 16px 20px; /* Fully clears the mobile fixed header (80px) + spacing (45px) */
  }
}

.video-section-header {
  margin-bottom: 16px;
}

.video-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.video-section-subtitle {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 21 / 9;
  max-height: 320px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.25);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  background: #000;
}

@media (max-width: 768px) {
  .homepage-video-section {
    padding: 125px 16px 20px; /* Side padding so video doesn't touch screen edges on mobile + top header clearance */
  }
  .video-wrapper {
    aspect-ratio: 16 / 9; /* Taller format so the video is clear on mobile */
    max-height: none;
    border-radius: 8px;
  }
  .video-controls-overlay {
    opacity: 1 !important; /* Always show controls on mobile/touch screens */
    bottom: 12px;
    right: 12px;
    gap: 8px;
  }
  .video-control-btn {
    width: 38px;
    height: 38px;
  }
  .video-control-btn svg {
    width: 16px;
    height: 16px;
  }
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-controls-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 12px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-wrapper:hover .video-controls-overlay {
  opacity: 1;
}

.video-control-btn {
  background: rgba(26, 26, 46, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 169, 110, 0.3);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.video-control-btn:hover {
  transform: scale(1.08);
  background: var(--gold);
  border-color: #fff;
  color: var(--bg);
}

.video-control-btn svg {
  width: 20px;
  height: 20px;
}

/* =============================================
   VIDEO SLIDER & CAROUSEL STYLES
   ============================================= */
.video-slider-container {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.video-slider-track {
  position: relative;
  width: 100%;
}

.video-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease-in-out;
  z-index: 1;
}

.video-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* Slider Nav Arrows */
.slider-arrow {
  position: absolute;
  top: 60%; /* Centered vertically relative to the video box (below header text) */
  transform: translateY(-50%);
  background: rgba(26, 26, 46, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 169, 110, 0.3);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.2s ease;
}

.slider-arrow:hover {
  background: var(--gold);
  border-color: #fff;
  color: var(--bg);
  transform: translateY(-50%) scale(1.08);
}

.prev-arrow {
  left: -22px;
}

.next-arrow {
  right: -22px;
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
}

/* Slider Indicator Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

/* Responsive adjustment for arrows and dots */
@media (max-width: 768px) {
  .video-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
  }
  .slider-arrow {
    position: static;
    transform: none;
    width: 38px;
    height: 38px;
  }
  .slider-arrow:hover {
    transform: scale(1.08);
  }
  .slider-dots {
    margin-top: 0;
  }
  .slider-arrow svg {
    width: 16px;
    height: 16px;
  }
}

