/* =========================================
   LuxeGlow Cosmetics - Premium Beauty Store
   Main Stylesheet
   ========================================= */

/* ---------- CSS Variables ---------- */
:root {
  --rose-gold: #C48B9F;
  --rose-gold-light: #d9a8b8;
  --rose-gold-dark: #a8687e;
  --cream: #F8F3F5;
  --cream-dark: #ede5e9;
  --dark: #2E2E2E;
  --dark-light: #4a4a4a;
  --gold: #D4AF37;
  --gold-light: #e8c94f;
  --white: #ffffff;
  --text-muted: #8a7880;
  --border-color: #e8dde2;
  --shadow-sm: 0 2px 15px rgba(196, 139, 159, 0.12);
  --shadow-md: 0 8px 30px rgba(196, 139, 159, 0.2);
  --shadow-lg: 0 20px 60px rgba(196, 139, 159, 0.25);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-xl: 30px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

/* ---------- Dark Mode ---------- */
[data-theme="dark"] {
  --cream: #1a1218;
  --cream-dark: #221820;
  --dark: #f0e8ec;
  --dark-light: #d4c8ce;
  --white: #2a1e24;
  --border-color: #3d2d35;
  --text-muted: #a08890;
  --shadow-sm: 0 2px 15px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

/* ---------- Loading Screen ---------- */
#loading-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #F8F3F5 0%, #f0e4ea 100%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden { opacity: 0; visibility: hidden; }

.loader-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--rose-gold);
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rose-gold), var(--gold));
  border-radius: 10px;
  animation: loadBar 1.8s ease forwards;
}

@keyframes loadBar {
  from { width: 0; }
  to { width: 100%; }
}

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(248, 243, 245, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 0;
  transition: var(--transition);
  z-index: 1000;
}

[data-theme="dark"] .navbar {
  background: rgba(26, 18, 24, 0.95);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rose-gold) !important;
  letter-spacing: 1px;
}

.navbar-brand span { color: var(--gold); }

.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark) !important;
  padding: 0.5rem 1rem !important;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--rose-gold);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after { width: 60%; }

.nav-link:hover { color: var(--rose-gold) !important; }

.navbar-icons a {
  font-size: 1.1rem;
  color: var(--dark);
  margin-left: 0.5rem;
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.navbar-icons a:hover {
  background: var(--rose-gold);
  color: white;
  transform: translateY(-2px);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Top Bar */
.top-bar {
  background: var(--dark);
  color: var(--cream);
  font-size: 0.8rem;
  padding: 0.4rem 0;
}

.top-bar a { color: var(--rose-gold-light); }
.top-bar a:hover { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn-rose {
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(196, 139, 159, 0.35);
}

.btn-rose:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 139, 159, 0.5);
  color: white;
  background: linear-gradient(135deg, var(--rose-gold-dark), var(--rose-gold));
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b8941e);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  color: white;
}

.btn-outline-rose {
  background: transparent;
  color: var(--rose-gold);
  border: 2px solid var(--rose-gold);
  padding: 0.7rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-outline-rose:hover {
  background: var(--rose-gold);
  color: white;
  transform: translateY(-2px);
}

.btn-dark-lg {
  background: var(--dark);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-dark-lg:hover {
  background: var(--rose-gold);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ---------- Section Styles ---------- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto 3rem;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.divider-gold {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--rose-gold), var(--gold));
  border-radius: 3px;
  margin: 0.75rem auto 1.5rem;
}

/* ---------- Hero Section ---------- */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f0f4 0%, #fdf5f7 50%, #f0e8ed 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 130%;
  background: radial-gradient(ellipse, rgba(196,139,159,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(212,175,55,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196,139,159,0.12);
  border: 1px solid rgba(196,139,159,0.25);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rose-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--rose-gold), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--rose-gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-main {
  width: 100%;
  max-width: 480px;
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  object-fit: cover;
  aspect-ratio: 1;
  animation: morphBlob 8s ease-in-out infinite;
  box-shadow: var(--shadow-lg);
}

@keyframes morphBlob {
  0%, 100% { border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; }
  33% { border-radius: 60% 40% 50% 50% / 60% 30% 70% 40%; }
  66% { border-radius: 50% 50% 30% 70% / 40% 60% 40% 60%; }
}

.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius);
  padding: 0.8rem 1.2rem;
  box-shadow: var(--shadow-md);
  animation: floatUpDown 3s ease-in-out infinite;
}

.hero-float-card.card-1 { top: 10%; left: -5%; }
.hero-float-card.card-2 { bottom: 15%; right: -5%; animation-delay: 1.5s; }

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Product Cards ---------- */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196,139,159,0.3);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 4/4;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 2;
}

.badge-new { background: var(--rose-gold); color: white; }
.badge-sale { background: var(--gold); color: white; }
.badge-hot { background: #e74c3c; color: white; }
.badge-bestseller { background: var(--dark); color: white; }

.product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  z-index: 2;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.action-btn:hover {
  background: var(--rose-gold);
  color: white;
  border-color: var(--rose-gold);
  transform: scale(1.1);
}

.action-btn.active { background: var(--rose-gold); color: white; border-color: var(--rose-gold); }

.product-quick-view {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(46,46,46,0.9);
  backdrop-filter: blur(5px);
  color: white;
  text-align: center;
  padding: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover .product-quick-view { transform: translateY(0); }

.product-info {
  padding: 1.2rem;
}

.product-category {
  font-size: 0.75rem;
  color: var(--rose-gold);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.stars { color: var(--gold); font-size: 0.75rem; }
.rating-count { font-size: 0.75rem; color: var(--text-muted); }

.product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.price-current {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rose-gold);
}

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

.price-off {
  font-size: 0.75rem;
  font-weight: 700;
  color: #27ae60;
  background: #e8f8f0;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
}

.btn-cart {
  width: 100%;
  background: transparent;
  border: 2px solid var(--rose-gold);
  color: var(--rose-gold);
  border-radius: var(--radius-xl);
  padding: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-cart:hover {
  background: var(--rose-gold);
  color: white;
}

/* ---------- Category Cards ---------- */
.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover img { transform: scale(1.1); }

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46,46,46,0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.category-name {
  font-family: var(--font-display);
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.category-count { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

/* ---------- Glass Cards ---------- */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .glass-card {
  background: rgba(42, 30, 36, 0.7);
  border-color: rgba(196, 139, 159, 0.15);
}

/* ---------- Feature Cards ---------- */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--rose-gold);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(196,139,159,0.15), rgba(212,175,55,0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.6rem;
  color: var(--rose-gold);
  border: 2px solid rgba(196,139,159,0.2);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--rose-gold);
  color: white;
  border-color: var(--rose-gold);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(196,139,159,0.15);
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rose-gold);
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}

.author-role { font-size: 0.78rem; color: var(--text-muted); }

/* ---------- Trust Badges ---------- */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.trust-badge:hover { border-color: var(--rose-gold); box-shadow: var(--shadow-sm); }

.trust-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trust-text-main { font-weight: 700; font-size: 0.85rem; color: var(--dark); }
.trust-text-sub { font-size: 0.75rem; color: var(--text-muted); }

/* ---------- Offer Banner ---------- */
.offer-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #4a3040 100%);
  border-radius: var(--radius);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  color: white;
}

.offer-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,139,159,0.2) 0%, transparent 70%);
}

.offer-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
}

.countdown-timer {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}

.countdown-item {
  text-align: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  min-width: 65px;
  backdrop-filter: blur(10px);
}

.countdown-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.countdown-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; }

/* ---------- Newsletter ---------- */
.newsletter-section {
  background: linear-gradient(135deg, var(--rose-gold) 0%, var(--rose-gold-dark) 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.newsletter-input-wrap {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  overflow: hidden;
  padding: 0.3rem 0.3rem 0.3rem 1.5rem;
}

.newsletter-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: white;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.newsletter-input-wrap input::placeholder { color: rgba(255,255,255,0.7); }

/* ---------- Instagram Grid ---------- */
.instagram-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  position: relative;
  cursor: pointer;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.instagram-item:hover img { transform: scale(1.1); }

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(196,139,159,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: white;
  font-size: 1.5rem;
}

.instagram-item:hover .instagram-overlay { opacity: 1; }

/* ---------- Beauty Tips Cards ---------- */
.tip-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.tip-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.tip-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.tip-body { padding: 1.5rem; }

.tip-tag {
  display: inline-block;
  background: rgba(196,139,159,0.12);
  color: var(--rose-gold);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tip-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.tip-excerpt { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  padding: 5rem 0 2rem;
}

[data-theme="dark"] .footer {
  background: #120c10;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--rose-gold);
  margin-bottom: 1rem;
  display: block;
}

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

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.8;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  margin-right: 0.4rem;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--rose-gold);
  border-color: var(--rose-gold);
  color: white;
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--rose-gold);
  border-radius: 2px;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.footer-links a:hover { color: var(--rose-gold); padding-left: 5px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact i {
  color: var(--rose-gold);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  opacity: 0.6;
}

.payment-icons img,
.payment-icons span {
  height: 24px;
  opacity: 0.6;
  margin-left: 0.5rem;
}

/* ---------- Breadcrumb ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(196,139,159,0.1), transparent);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.breadcrumb { background: none; padding: 0; margin: 0; }
.breadcrumb-item a { color: var(--rose-gold); font-size: 0.875rem; }
.breadcrumb-item.active { font-size: 0.875rem; color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* ---------- About Page ---------- */
.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--rose-gold), transparent);
}

.timeline-item:last-child::before { display: none; }

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--rose-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
}

.stat-counter {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--rose-gold), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }

/* ---------- Products Page ---------- */
.filter-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  position: sticky;
  top: 80px;
}

.filter-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.filter-chip {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  border: 1.5px solid var(--border-color);
  font-size: 0.8rem;
  cursor: pointer;
  margin: 0.25rem;
  transition: var(--transition);
  color: var(--dark-light);
  background: transparent;
}

.filter-chip:hover, .filter-chip.active {
  background: var(--rose-gold);
  border-color: var(--rose-gold);
  color: white;
}

.range-slider { width: 100%; accent-color: var(--rose-gold); }

/* ---------- Product Details ---------- */
.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 1;
  background: var(--cream);
}

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

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

.gallery-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--rose-gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  color: var(--dark);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.qty-input {
  width: 50px;
  border: none;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  background: none;
  color: var(--dark);
  outline: none;
}

/* ---------- Cart Page ---------- */
.cart-table-wrap {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.cart-table th {
  background: var(--cream-dark);
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark-light);
  border-bottom: 1px solid var(--border-color);
}

.cart-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.cart-table tr:last-child td { border-bottom: none; }

.cart-product-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.coupon-input-wrap {
  display: flex;
  gap: 0.5rem;
}

.coupon-input-wrap input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  background: var(--cream);
  color: var(--dark);
  transition: var(--transition);
}

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

/* ---------- Checkout ---------- */
.checkout-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.step-num {
  width: 36px;
  height: 36px;
  background: var(--rose-gold);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.form-control, .form-select {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: var(--white);
  color: var(--dark);
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--rose-gold);
  box-shadow: 0 0 0 3px rgba(196,139,159,0.15);
  outline: none;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.payment-option {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 0.75rem;
}

.payment-option.active, .payment-option:hover {
  border-color: var(--rose-gold);
  background: rgba(196,139,159,0.05);
}

/* ---------- Contact Page ---------- */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
}

/* ---------- FAQ Accordion ---------- */
.accordion-button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  border: none;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--rose-gold);
  background: rgba(196,139,159,0.05);
}

.accordion-button::after {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C48B9F'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--white);
}

.accordion-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 1rem 1.25rem 1.25rem;
  background: var(--white);
}

/* ---------- Login/Register ---------- */
.auth-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  max-width: 480px;
  margin: 0 auto;
}

.auth-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.social-login-btn {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 0.65rem;
  background: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: var(--font-body);
}

.social-login-btn:hover { border-color: var(--rose-gold); background: rgba(196,139,159,0.05); }

.divider-text {
  position: relative;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 1rem 0;
}

.divider-text::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
  z-index: 0;
}

.divider-text span {
  background: var(--white);
  position: relative;
  z-index: 1;
  padding: 0 0.75rem;
}

/* ---------- 404 Page ---------- */
.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-number {
  font-family: var(--font-display);
  font-size: 10rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--rose-gold), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  opacity: 0.3;
}

/* ---------- Blog ---------- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.blog-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

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

/* ---------- Back to Top ---------- */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Dark Mode Toggle ---------- */
.dark-mode-btn {
  width: 38px;
  height: 38px;
  background: none;
  border: 1.5px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark);
  font-size: 0.95rem;
  transition: var(--transition);
}

.dark-mode-btn:hover {
  background: var(--rose-gold);
  color: white;
  border-color: var(--rose-gold);
}

/* ---------- Newsletter Popup ---------- */
#newsletter-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

#newsletter-popup.show { opacity: 1; visibility: visible; }

.popup-card {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.95);
  transition: var(--transition);
}

#newsletter-popup.show .popup-card { transform: translateY(0) scale(1); }

.popup-img { width: 100%; height: 180px; object-fit: cover; }

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  font-size: 1rem;
}

.popup-body { padding: 2rem; }

/* ---------- Quick View Modal ---------- */
.modal-content {
  border-radius: var(--radius);
  border: none;
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--dark);
}

/* ---------- Wishlist ---------- */
.wishlist-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
  margin-bottom: 1rem;
}

.wishlist-item:hover { box-shadow: var(--shadow-sm); }

.wishlist-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

/* ---------- Search Results ---------- */
.search-bar-lg {
  background: var(--white);
  border-radius: 50px;
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0.3rem 0.3rem 0.3rem 1.5rem;
  box-shadow: var(--shadow-sm);
  max-width: 600px;
  margin: 0 auto;
}

.search-bar-lg input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
}

.search-bar-lg input::placeholder { color: var(--text-muted); }

/* ---------- AOS Custom Overrides ---------- */
[data-aos] { transition-duration: 0.6s !important; }

/* ---------- Swiper/Carousel ---------- */
.swiper-pagination-bullet-active { background: var(--rose-gold) !important; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1rem !important; color: var(--rose-gold); }

/* ---------- Rating Stars ---------- */
.star-rating { display: flex; gap: 3px; }
.star-rating i { color: var(--gold); font-size: 0.85rem; cursor: pointer; transition: var(--transition); }
.star-rating i:hover { transform: scale(1.2); }

/* ---------- Progress Bar ---------- */
.rating-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.rating-bar-fill {
  flex: 1;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
}

.rating-bar-fill-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--rose-gold));
  border-radius: 3px;
  transition: width 1s ease;
}

/* ---------- Color Swatches ---------- */
.color-swatches {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.color-swatch:hover, .color-swatch.active { border-color: var(--dark); transform: scale(1.15); }

/* ---------- Size Buttons ---------- */
.size-btn {
  padding: 0.35rem 0.85rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: none;
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.size-btn:hover, .size-btn.active {
  border-color: var(--rose-gold);
  background: var(--rose-gold);
  color: white;
}

/* ---------- Offers Page ---------- */
.offer-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.offer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.offer-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--gold), #b8941e);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0.4rem 1.5rem;
  transform: rotate(45deg) translate(25%, -50%);
  transform-origin: top right;
}

/* ---------- Responsive Utilities ---------- */
@media (max-width: 991px) {
  .hero-section { padding: 6rem 0 4rem; min-height: auto; }
  .hero-img-main { max-width: 320px; }
  .hero-float-card { display: none; }
  .hero-stats { gap: 1rem; }
}

@media (max-width: 767px) {
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.6rem; }
  .offer-banner { padding: 2rem 1.5rem; }
  .countdown-timer { gap: 0.5rem; }
  .auth-card { padding: 2rem 1.5rem; }
}

@media (max-width: 575px) {
  .hero-stats { flex-wrap: wrap; }
  .navbar-icons a { width: 32px; height: 32px; font-size: 0.95rem; }
}

/* ---------- Utility Classes ---------- */
.text-rose { color: var(--rose-gold) !important; }
.text-gold { color: var(--gold) !important; }
.bg-cream { background: var(--cream) !important; }
.bg-rose { background: var(--rose-gold) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.gap-sm { gap: 0.5rem; }

/* Hover underline */
.hover-underline:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Section Padding */
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }
