/* =========================================================
   TRENDY PRODUCT STORE — Main Stylesheet
   Color Palette:
     Primary (Gold):    #C9A86A
     Secondary (Teal):  #2F6E6A
     Background:        #F7F5F2
     Card BG:           #FFFFFF
     Text Primary:      #1E1E1E
     Text Secondary:    #6B6B6B
   ========================================================= */

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

:root {
  --primary:        #C9A86A;
  --primary-light:  #E6D3A3;
  --primary-dark:   #a8873d;
  --secondary:      #2F6E6A;
  --secondary-dark: #1d4d4a;
  --bg:             #F7F5F2;
  --card:           #FFFFFF;
  --text:           #1E1E1E;
  --muted:          #6B6B6B;
  --border:         rgba(30,30,30,0.07);
  --gradient:       linear-gradient(90deg, #C9A86A, #E6D3A3);
  --gradient-v:     linear-gradient(160deg, #C9A86A, #E6D3A3);
  --shadow-sm:      8px 8px 20px rgba(25,25,25,0.07), -6px -6px 14px rgba(255,255,255,0.88);
  --shadow-md:      14px 14px 32px rgba(25,25,25,0.09), -10px -10px 22px rgba(255,255,255,0.90);
  --shadow-lg:      20px 20px 50px rgba(25,25,25,0.11), -14px -14px 30px rgba(255,255,255,0.92);
  --shadow-hover:   18px 18px 48px rgba(25,25,25,0.14), -10px -10px 26px rgba(255,255,255,0.92);
  --glass:          rgba(255,255,255,0.55);
  --glass-border:   rgba(255,255,255,0.70);
  --radius-sm:      12px;
  --radius-md:      18px;
  --radius-lg:      24px;
  --radius-xl:      32px;
  --transition:     0.25s cubic-bezier(0.4,0,0.2,1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* ======================== GRADIENT TEXT ======================== */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: var(--gradient);
  color: #1E1E1E;
  box-shadow: 0 14px 38px rgba(201,168,106,0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 52px rgba(201,168,106,0.38);
}

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-gold {
  background: var(--gradient);
  color: #1E1E1E;
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 44px rgba(201,168,106,0.30);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 58px rgba(201,168,106,0.42);
}

.btn-full { width: 100%; justify-content: center; }

/* ======================== SECTION COMMON ======================== */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(201,168,106,0.22);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.section-tag i { color: var(--primary); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.15;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 48ch;
  margin: 0 auto;
}

/* ======================== REVEAL ANIMATION ======================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================== NAVBAR ======================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px) saturate(1.5);
  background: rgba(247,245,242,0.82);
  border-bottom: 1px solid rgba(30,30,30,0.06);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 28px rgba(0,0,0,0.07);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 800;
  color: #1E1E1E;
  box-shadow: 0 8px 22px rgba(201,168,106,0.30);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
}

.brand-name.light { color: rgba(245,240,231,0.92); }

.brand-tagline {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}

.brand-tagline.light { color: rgba(245,240,231,0.65); }

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

.nav-links a {
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover {
  background: rgba(255,255,255,0.70);
  color: var(--text);
}

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

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.60);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 15px;
  color: var(--muted);
  transition: transform var(--transition), box-shadow var(--transition), color var(--transition);
}

.icon-btn:hover {
  transform: translateY(-2px);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.cart-btn {
  position: relative;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: var(--gradient);
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: #1E1E1E;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 8px 22px rgba(201,168,106,0.24);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(201,168,106,0.34);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--secondary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.cart-badge.pop {
  transform: scale(1.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

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

/* Search Bar */
.search-bar {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  border-top: 1px solid transparent;
}

.search-bar.open {
  max-height: 80px;
  border-top-color: var(--border);
  padding: 12px 0;
}

.search-inner {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.70);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.search-icon {
  padding: 0 16px;
  color: var(--muted);
}

.search-input {
  flex: 1;
  padding: 12px 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  font-weight: 500;
}

.search-close {
  padding: 14px 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 16px;
  transition: color var(--transition);
}

.search-close:hover { color: var(--text); }

/* ======================== HERO SECTION ======================== */
.hero {
  padding: 60px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(201,168,106,0.22);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 22px;
}

.label-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 6px 16px rgba(201,168,106,0.40);
  animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.75; }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 46ch;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
}

.badge-item i { color: var(--primary); }

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 18px 22px;
  background: rgba(255,255,255,0.60);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  max-width: fit-content;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 22px;
}

.stat-item:first-child { padding-left: 0; }
.stat-item:last-child  { padding-right: 0; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle at 60% 40%, rgba(201,168,106,0.22), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

.hero-card {
  position: relative;
  background: rgba(255,255,255,0.60);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  backdrop-filter: blur(12px);
  z-index: 1;
}

.hero-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.04);
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(201,168,106,0.10) 0%, transparent 60%);
  pointer-events: none;
}

/* Floating effect on hero card */
.floating {
  animation: floatUpDown 4.5s ease-in-out infinite;
}

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

/* Float badges on image */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.2px;
  z-index: 2;
}

.float-badge i { color: var(--primary); font-size: 11px; }

.top-left {
  top: 22px;
  left: 14px;
  animation: floatUpDown 4.5s ease-in-out infinite;
  animation-delay: 1s;
}

.bottom-right {
  bottom: 22px;
  right: 14px;
  animation: floatUpDown 4.5s ease-in-out infinite;
  animation-delay: 2.2s;
}

/* Side floating cards */
.side-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.90);
  box-shadow: 0 12px 36px rgba(0,0,0,0.10);
  backdrop-filter: blur(14px);
  z-index: 3;
}

.side-card-1 {
  right: -22px;
  top: 30%;
  animation: floatUpDown 5s ease-in-out infinite;
  animation-delay: 0.5s;
}

.side-card-2 {
  left: -22px;
  bottom: 25%;
  animation: floatUpDown 5s ease-in-out infinite;
  animation-delay: 2s;
}

.side-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #1E1E1E;
  box-shadow: 0 6px 16px rgba(201,168,106,0.28);
}

.side-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.side-sub {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

/* Hero blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,106,0.28), transparent 70%);
  top: -120px;
  right: -80px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(47,110,106,0.18), transparent 70%);
  bottom: -80px;
  left: -60px;
}

/* Fade-up text animations */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.14s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.44s; }

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

/* ======================== BEST SELLERS ======================== */
.best-sellers {
  background: radial-gradient(ellipse at top right, rgba(201,168,106,0.08), transparent 55%),
              radial-gradient(ellipse at bottom left, rgba(47,110,106,0.07), transparent 55%),
              var(--bg);
}

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

.product-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease, filter 0.28s ease;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.025);
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(201,168,106,0.12);
  filter: drop-shadow(0 20px 40px rgba(201,168,106,0.16));
}

.product-media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(247,245,242,1), rgba(230,211,163,0.12));
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.07);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,30,30,0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.quick-view-btn {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.88);
  border: none;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transform: translateY(8px);
  transition: transform var(--transition);
}

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

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gradient);
  font-size: 11px;
  font-weight: 800;
  color: #1E1E1E;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(201,168,106,0.30);
}

.new-badge { background: linear-gradient(90deg, #2F6E6A, #3d8f8a); color: #fff; }
.sale-badge { background: linear-gradient(90deg, #c0392b, #e74c3c); color: #fff; }

.product-body {
  padding: 18px 18px 18px;
}

.product-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.product-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars i, .review-stars i {
  color: var(--primary);
  font-size: 13px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-price {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.price-current {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.price-old {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}

.btn-cart {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: var(--radius-md);
  background: var(--gradient);
  border: none;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  color: #1E1E1E;
  box-shadow: 0 8px 22px rgba(201,168,106,0.25);
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(201,168,106,0.34);
}

/* ======================== FLASH SALE ======================== */
.flash-sale {
  padding-top: 0;
}

.flash-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, #0f2f2d, #1d4d4a, #163e3b);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 28px 72px rgba(0,0,0,0.22);
}

.flash-glow {
  position: absolute;
  inset: -100px auto auto -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle at 35% 35%, rgba(201,168,106,0.45), transparent 60%);
  filter: blur(12px);
  pointer-events: none;
}

.flash-content {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 32px;
  padding: 50px 50px 36px;
  align-items: center;
}

.flash-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(201,168,106,0.18);
  border: 1px solid rgba(201,168,106,0.30);
  color: var(--primary-light);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.flash-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  color: #f5f0e7;
  line-height: 1.1;
  margin-bottom: 14px;
}

.flash-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.flash-product {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(245,240,231,0.75);
  font-size: 15px;
  margin-bottom: 28px;
}

.flash-product i { color: var(--primary-light); }

.flash-deal-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.flash-discount {
  padding: 12px 22px;
  border-radius: var(--radius-md);
  background: var(--gradient);
  color: #1E1E1E;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 14px 36px rgba(201,168,106,0.30);
}

/* Countdown timer */
.flash-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  animation: pulseTimer 1.6s ease-in-out infinite;
}

@keyframes pulseTimer {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(201,168,106,0)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 16px rgba(201,168,106,0.35)); }
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 10px 14px;
  backdrop-filter: blur(10px);
  min-width: 58px;
}

.time-val {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.time-label {
  font-size: 10px;
  color: rgba(255,255,255,0.60);
  font-weight: 700;
  letter-spacing: 0.6px;
}

.time-sep {
  font-size: 24px;
  font-weight: 900;
  color: rgba(255,255,255,0.50);
  margin-bottom: 16px;
}

.flash-price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.flash-new-price {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary-light);
}

.flash-old-price {
  font-size: 16px;
  color: rgba(245,240,231,0.50);
  text-decoration: line-through;
}

.flash-save {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(201,168,106,0.18);
  border: 1px solid rgba(201,168,106,0.28);
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 800;
}

/* Flash image */
.flash-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(0,0,0,0.30);
}

.flash-img-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  filter: saturate(1.1);
}

.flash-img-ring {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,106,0.20);
  animation: ringPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.06); opacity: 0.2; }
}

/* Progress bar */
.flash-progress-wrap {
  padding: 0 50px 32px;
}

.flash-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: rgba(245,240,231,0.75);
  margin-bottom: 10px;
}

.flash-progress-label i { color: var(--primary-light); margin-right: 5px; }

.flash-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}

.flash-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: 0 2px 10px rgba(201,168,106,0.40);
  transition: width 1.5s ease;
}

/* ======================== COLLECTIONS ======================== */
.collections {
  background: radial-gradient(ellipse at center top, rgba(201,168,106,0.06), transparent 60%), var(--bg);
}

.collections-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.collection-card {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.30s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.30s ease;
}

.collection-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.collection-large { min-height: 320px; }

.collection-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

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

.collection-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 14px
  );
}

.collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.60) 100%);
}

.collection-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  z-index: 2;
}

.collection-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.20);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--primary-light);
  backdrop-filter: blur(8px);
  margin-bottom: 12px;
}

.collection-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.2;
}

.collection-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.70);
  margin-bottom: 16px;
}

.collection-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background var(--transition), transform var(--transition);
  width: fit-content;
}

.collection-btn:hover {
  background: rgba(255,255,255,0.24);
  transform: translateX(4px);
}

/* ======================== CATEGORIES ======================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px 28px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.80);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease;
  backdrop-filter: blur(10px);
}

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

.category-img-wrap {
  position: relative;
  margin-bottom: 20px;
}

.category-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.90);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

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

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

.cat-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: var(--gradient);
  filter: blur(16px);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
}

.category-card:hover .cat-glow {
  opacity: 0.30;
}

.category-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 5px;
}

.category-count {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 18px;
}

.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.70);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  color: var(--text);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.cat-btn:hover {
  background: var(--gradient);
  color: #1E1E1E;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201,168,106,0.24);
}

/* ======================== TESTIMONIALS ======================== */
.testimonials {
  background: radial-gradient(ellipse at bottom right, rgba(47,110,106,0.07), transparent 55%), var(--bg);
}

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

.review-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(255,255,255,0.80);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(201,168,106,0.22);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviewer-info { flex: 1; }

.reviewer-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.reviewer-meta {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.review-quote {
  color: var(--primary);
  opacity: 0.40;
  font-size: 18px;
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 10px;
}

.review-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.60;
  margin-bottom: 14px;
}

.review-product {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(201,168,106,0.08);
  border: 1px solid rgba(201,168,106,0.16);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary-dark);
}

/* ======================== NEWSLETTER ======================== */
.newsletter {
  background: radial-gradient(ellipse at center, rgba(201,168,106,0.07), transparent 55%), var(--bg);
}

.newsletter-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.newsletter-glow {
  position: absolute;
  inset: -80px auto auto -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at 35% 35%, rgba(47,110,106,0.18), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  padding: 58px 52px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.nl-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #1E1E1E;
  box-shadow: 0 10px 28px rgba(201,168,106,0.28);
  margin-bottom: 18px;
}

.light-tag {
  background: rgba(255,255,255,0.55);
  border-color: rgba(201,168,106,0.20);
}

.nl-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.1;
}

.nl-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.nl-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nl-features span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
}

.nl-features i { color: var(--primary); }

/* Newsletter form */
.nl-form { display: flex; flex-direction: column; gap: 14px; }

.nl-input-group { display: flex; flex-direction: column; gap: 7px; }

.nl-input-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.input-wrap:focus-within {
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(201,168,106,0.14);
  border-color: rgba(201,168,106,0.35);
}

.input-wrap i {
  padding: 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.input-wrap input {
  flex: 1;
  padding: 13px 14px 13px 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.input-wrap input::placeholder { color: var(--muted); }

.nl-privacy {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ======================== FOOTER ======================== */
.footer {
  background: linear-gradient(160deg, #0f2f2d 0%, #1a4a46 40%, #0d2020 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top { padding: 60px 0 48px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
}

.footer-desc {
  color: rgba(245,240,231,0.65);
  font-size: 14px;
  line-height: 1.65;
  margin: 18px 0 24px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  font-size: 16px;
  color: rgba(245,240,231,0.75);
  transition: background var(--transition), transform var(--transition), color var(--transition);
}

.social-icon:hover {
  background: rgba(201,168,106,0.20);
  color: var(--primary-light);
  transform: translateY(-3px);
}

.footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: #f5f0e7;
  margin-bottom: 18px;
}

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

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(245,240,231,0.65);
  font-weight: 500;
  transition: color var(--transition), transform var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

.footer-links i {
  font-size: 10px;
  color: var(--primary);
  opacity: 0.60;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.pay-icon {
  width: 48px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: rgba(245,240,231,0.80);
  transition: background var(--transition), transform var(--transition);
}

.pay-icon:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.footer-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(245,240,231,0.65);
  font-weight: 600;
}

.footer-trust i { color: var(--primary); width: 14px; }

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: rgba(245,240,231,0.50);
  flex-wrap: wrap;
}

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

.footer-bottom-links a {
  color: rgba(245,240,231,0.50);
  font-size: 13px;
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: rgba(245,240,231,0.90); }

/* ======================== SCROLL TO TOP ======================== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--gradient);
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(201,168,106,0.32);
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #1E1E1E;
  z-index: 500;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}

.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  box-shadow: 0 18px 48px rgba(201,168,106,0.44);
  transform: translateY(-3px);
}

/* ======================== TOAST ======================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  padding: 13px 22px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(30,30,30,0.08);
  box-shadow: 0 18px 56px rgba(0,0,0,0.13);
  backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast i { color: var(--secondary); }

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1024px) {
  .hero-container     { grid-template-columns: 1fr; gap: 48px; }
  .hero-content       { max-width: 680px; margin: 0 auto; text-align: center; }
  .hero-badges        { justify-content: center; }
  .hero-buttons       { justify-content: center; }
  .hero-stats         { margin: 0 auto; }
  .hero-visual        { max-width: 560px; margin: 0 auto; }
  .side-card-1        { right: -10px; }
  .side-card-2        { left: -10px; }

  .products-grid      { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .collections-grid   { grid-template-columns: 1fr 1fr; }
  .collection-large   { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    padding: 18px 24px;
    background: rgba(247,245,242,0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(0,0,0,0.10);
    z-index: 999;
    gap: 4px;
  }

  .nav-links.open a {
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
  }

  .hamburger { display: flex; }

  .hero-title { font-size: 36px; }
  .hero-img   { height: 320px; }

  .products-grid      { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .categories-grid    { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .testimonials-grid  { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .collections-grid   { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr; }
  .newsletter-inner   { grid-template-columns: 1fr; padding: 36px 28px; }
  .flash-content      { grid-template-columns: 1fr; padding: 32px 28px 28px; }
  .flash-progress-wrap { padding: 0 28px 28px; }
  .flash-img-wrap img { height: 280px; }

  .side-card-1, .side-card-2 { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 18px; }
}

@media (max-width: 480px) {
  .container    { width: calc(100% - 32px); }
  .section      { padding: 52px 0; }
  .hero         { padding: 40px 0 64px; }
  .hero-title   { font-size: 30px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .flash-deal-row { flex-direction: column; align-items: flex-start; }
  .flash-timer  { flex-wrap: wrap; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}

/* ======================== SCROLLBAR ======================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(201,168,106,0.40);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(201,168,106,0.65);
}

/* ======================== SELECTION ======================== */
::selection {
  background: rgba(201,168,106,0.28);
  color: var(--text);
}
