/* =============================================
   LUXURY JEWELS — Global Stylesheet
   ============================================= */

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

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

:root {
  --gold: #c9a84c;
  --gold-light: #e8c97e;
  --gold-dark: #a07830;
  --cream: #faf7f2;
  --charcoal: #1a1a1a;
  --mid: #555;
  --light-gray: #f5f5f5;
  --border: #e8e0d0;
  --white: #ffffff;
  --red: #e03030;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.18);
  --radius: 12px;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ---- Loading States ---- */
.loading-placeholder {
  background-color: #f0f0f0;
  position: relative;
  overflow: hidden;
}

.loading-placeholder::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.page-banner.loading-placeholder {
  background-color: #222; /* Darker placeholder for banners */
}

/* Skeleton Elements */
.skeleton-text {
  height: 14px;
  width: 80%;
  border-radius: 4px;
  margin-bottom: 8px;
  background: #eee;
}

.skeleton-card {
  border-radius: var(--radius);
  background: var(--white);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: var(--shadow);
}

.skeleton-img {
  height: 200px;
  width: 100%;
  border-radius: 8px;
  background: #eee;
}

.skeleton-nav-item {
  width: 80px;
  height: 18px;
  border-radius: 4px;
  background: #eee;
}

/* =============================================
   TOP ANNOUNCEMENT BAR
   ============================================= */
.announcement-bar {
  background: var(--charcoal);
  color: var(--gold-light);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 2px;
  padding: 8px 20px;
  font-weight: 500;
  text-transform: uppercase;
}

/* =============================================
   HEADER / NAVBAR
   ============================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 224, 208, 0.5);
  transition: var(--transition);
}

.header.scrolled {
  padding: 5px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 70px;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--charcoal);
}

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

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

.nav-link {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--charcoal);
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

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

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

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

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

.header-actions .icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--charcoal);
  transition: var(--transition);
  position: relative;
}

.header-actions .icon-btn:hover { background: var(--light-gray); color: var(--gold); }

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gold);
  color: white;
  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;
}

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: var(--transition); }

/* =============================================
   HERO SLIDER
   ============================================= */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.1) 70%);
}

.hero-slide.active img {
  animation: zoomHero 10s ease infinite alternate;
}

@keyframes zoomHero {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.hero-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: white;
  width: 90%;
  max-width: 800px;
  text-align: center;
  animation: fadeInUp 1s ease-out;
  z-index: 5;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 30px)); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  font-weight: 400;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 0.9;
  margin-bottom: 30px;
}

.hero-script {
  font-family: 'Great Vibes', cursive;
  color: var(--white);
  font-size: 1.2em;
  display: block;
  margin-top: -10px;
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 34px;
  font-weight: 300;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.btn-gold {
  padding: 13px 30px;
  background: var(--gold);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: var(--transition);
}

.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.4); }

.btn-outline-white {
  padding: 13px 30px;
  border: 1.5px solid rgba(255,255,255,0.7);
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: var(--transition);
}

.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

.hero-nav {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: var(--transition);
  cursor: pointer;
}

.hero-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: var(--transition);
  cursor: pointer;
}

.hero-arrow:hover { background: rgba(255,255,255,0.35); }
.hero-arrow.left { left: 24px; }
.hero-arrow.right { right: 24px; }

/* =============================================
   SECTION HEADER
   ============================================= */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 42px; }
.section-header-center { flex-direction: column; align-items: center; text-align: center; gap: 12px; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--charcoal);
}

.section-title span { color: var(--gold); }

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  margin: 10px auto 0;
  border-radius: 2px;
}

.view-all {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.view-all:hover { gap: 10px; }

/* =============================================
   SMALL BANNERS
   ============================================= */
.small-banners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.small-banner-card {
  display: flex;
  align-items: stretch;
  background: var(--card-bg, #f4f3ef);
  border-radius: 12px;
  overflow: hidden;
  height: 160px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.small-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.small-banner-card.alt { flex-direction: row-reverse; }

.small-banner-img {
  flex: 0 0 45%;
  height: 100%;
  overflow: hidden;
}

.small-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.small-banner-card:hover .small-banner-img img {
  transform: scale(1.05);
}

.small-banner-content {
  flex: 1;
  padding: 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.small-banner-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.2;
}

.small-banner-subtitle {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: #777;
  text-transform: uppercase;
}

/* =============================================
   CATEGORIES
   ============================================= */
.categories-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.categories-scroll::-webkit-scrollbar { display: none; }
.categories-scroll { -ms-overflow-style: none; scrollbar-width: none; }

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 120px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: var(--transition);
}

.category-item:hover { transform: translateY(-4px); }

.category-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--light-gray);
  border: 2px solid var(--border);
  transition: var(--transition);
}

.category-item:hover .category-circle { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,168,76,0.15); }

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

.category-item:hover .category-circle img { transform: scale(1.08); }

.category-name {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  color: var(--charcoal);
}

/* =============================================
   PRODUCT CARDS
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.products-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 0 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

@media (max-width: 768px) {
  .products-carousel { gap: 16px !important; }
}

.products-carousel::-webkit-scrollbar { 
  display: none; /* Chrome, Safari and Opera */
}

.products-carousel .product-card {
  min-width: 280px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

@media (max-width: 1024px) {
  .products-carousel .product-card {
    min-width: 85vw !important;
    width: 85vw !important;
    scroll-snap-align: center;
  }
}

.products-carousel-wrap {
  position: relative;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  color: var(--charcoal);
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0.9;
}

.carousel-arrow:hover {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
  opacity: 1;
}

.carousel-arrow.left { left: 10px; }
.carousel-arrow.right { right: 10px; }

@media (max-width: 1024px) {
  .carousel-arrow { display: none !important; } /* Hide arrows on mobile/tablet, use swipe */
}

.product-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.4s ease;
  position: relative;
  text-align: left;
  border: none;
}

.product-card:hover { 
  transform: translateY(-6px); 
}

.card-image-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #eef1f4; /* Light grey base replacing white */
  border-radius: 12px;
  margin-bottom: 16px;
}

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

@media (max-width: 900px) {
  .card-image-wrap img {
    object-fit: cover;
  }
}

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

.badge-sale {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--red);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-new {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: white;
  color: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: var(--transition);
  cursor: pointer;
  opacity: 0;
}

.product-card:hover .card-wishlist { opacity: 1; }
.card-wishlist:hover { color: var(--red); transform: scale(1.1); }

.card-body { padding: 0 4px; }

.card-category {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #bfa15f;
  font-weight: 600;
  margin-bottom: 6px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
  line-height: 1.3;
}

.card-stars { display: flex; gap: 3px; margin-bottom: 12px; }
.star { color: #d4af37; font-size: 0.75rem; }

.card-footer { display: flex; align-items: center; justify-content: space-between; }
.card-price { font-size: 1.05rem; font-weight: 700; color: var(--charcoal); }
.card-price-old { font-size: 0.85rem; color: #aaa; text-decoration: line-through; margin-left: 6px; font-weight: 400; }

.add-cart-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--charcoal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.add-cart-btn:hover { background: var(--gold); transform: scale(1.1); }

/* =============================================
   GALLERY SECTION
   ============================================= */
.gallery-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--charcoal);
  margin-bottom: 50px;
  position: relative;
  font-weight: 600;
  letter-spacing: 1px;
}

.gallery-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 280px;
  grid-auto-flow: dense;
  gap: 20px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background: #eee;
}
.gallery-item img, .gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.gallery-item:hover img, .gallery-item:hover video {
  transform: scale(1.08);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-auto-rows: 180px;
  }
}

/* =============================================
   SMALL BANNERS (responsive overrides)
   ============================================= */
.small-banners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.small-banner-card {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  background: var(--light-gray);
  height: 160px;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.small-banner-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.06); transform: translateY(-3px); }

.small-banner-card.alt { flex-direction: row-reverse; }

.small-banner-img {
  flex: 0 0 45%;
  height: 100%;
  overflow: hidden;
}

.small-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.small-banner-card:hover .small-banner-img img { transform: scale(1.05); }

.small-banner-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
  gap: 8px;
}

.small-banner-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: 1px;
}

.small-banner-subtitle {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 500;
}

@media (max-width: 600px) {
  .small-banner-card { 
    flex-direction: row !important; 
    height: 120px !important;
    min-height: auto;
  }
  .small-banner-card.alt { flex-direction: row-reverse !important; }
  .small-banner-img { flex: 0 0 38% !important; height: 120px !important; }
  .small-banner-img img { height: 100% !important; width: 100% !important; }
  .small-banner-content { padding: 10px 15px !important; text-align: center; }
  .small-banner-title { font-size: 0.95rem !important; margin-bottom: 2px; }
  .small-banner-subtitle { font-size: 0.65rem !important; }
}

/* =============================================
   PROMO BANNERS
   ============================================= */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 600px) {
  .promo-grid { grid-template-columns: 1fr; }
  .promo-card { height: 260px; }
}

.promo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
}

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

.promo-card:hover img { transform: scale(1.05); }

.promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 40%, transparent 80%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

@media (max-width: 768px) {
  .promo-overlay {
    align-items: center;
    text-align: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
  }
  .promo-title { font-size: 1.5rem !important; }
  .promo-btn { align-self: center !important; }
}

.promo-tag {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
  font-weight: 500;
}

.promo-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: white;
  padding: 10px 22px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  align-self: flex-start;
  transition: var(--transition);
}

.promo-btn:hover { background: white; color: var(--charcoal); }

/* =============================================
   FEEDS MARQUEE (PREMIUM COLLECTIONS)
   ============================================= */
.feed-card {
  position: relative;
  width: 320px;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  scroll-snap-align: start;
  cursor: pointer;
}

@media (max-width: 768px) {
  .feed-card {
    width: 85vw !important;
    scroll-snap-align: center;
  }
}

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

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

.feed-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 20px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feed-card-overlay h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 4px;
  letter-spacing: 1px;
  line-height: 1;
}

.feed-card-overlay p {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .feed-card { width: 260px; height: 340px; }
}

/* =============================================
   FEATURES BAR
   ============================================= */
.features-bar {
  background: var(--charcoal);
  padding: 40px 0;
}

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

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  color: white;
  padding: 16px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201,168,76,0.2);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-light);
}

.feature-title { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.5px; }
.feature-desc { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

/* =============================================
   NEWSLETTER
   ============================================= */
.newsletter {
  background: linear-gradient(135deg, #f9f3e8, #fdf8ef);
  padding: 70px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 10px;
}

.newsletter-sub {
  color: var(--mid);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  background: white;
}

.newsletter-form button {
  padding: 14px 28px;
  background: var(--gold);
  color: white;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}

.newsletter-form button:hover { background: var(--gold-dark); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
}

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

.footer-desc { font-size: 0.88rem; line-height: 1.7; margin-bottom: 22px; max-width: 280px; }

.footer-socials { display: flex; gap: 10px; }

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

.footer-col-title {
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.footer-contact-item i { color: var(--gold); margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--gold-light); }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-4px); background: var(--gold-dark); }

/* =============================================
   TOAST NOTIFICATION
   ============================================= */
.toast {
  position: fixed;
  bottom: 90px;
  right: 30px;
  background: var(--charcoal);
  color: white;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.35s ease;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 300px;
}

.toast.show { opacity: 1; transform: translateY(0); }
.toast i { color: var(--gold); font-size: 1rem; }

/* =============================================
   HOMEPAGE POPUP
   ============================================= */
.hp-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.hp-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.hp-popup-content {
  background: white;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 12px;
  position: relative;
  display: flex;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transform: translateY(20px) scale(0.98);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hp-popup-overlay.show .hp-popup-content {
  transform: translateY(0) scale(1);
}

.hp-popup-img {
  width: 45%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: none;
}

.hp-popup-content.has-img .hp-popup-img {
  display: block;
}

.hp-popup-body {
  padding: 50px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  overflow-y: auto;
}

.hp-popup-body h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--charcoal);
  margin-bottom: 15px;
  line-height: 1.2;
}

.hp-popup-body p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.hp-popup-btn {
  display: inline-flex;
  background: #d4a373; /* A warm, luxurious terracotta/gold color */
  color: white;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  justify-content: center;
  align-self: flex-start;
  transition: var(--transition);
}

.hp-popup-btn:hover {
  background: #c38c5b;
  transform: translateY(-2px);
}

.hp-subscribe-form {
  margin-top: 15px;
}

.hp-sub-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.hp-sub-input-group {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: var(--transition);
}

.hp-sub-input-group:focus-within {
  border-color: #d4a373;
  box-shadow: 0 0 0 3px rgba(212,163,115,0.15);
}

.hp-sub-prefix {
  background: #f8f8f8;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
  border-right: 1px solid #ddd;
}

#hpSubscribePhone {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 0.95rem;
  outline: none;
  width: 100%;
}

.hp-sub-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 25px;
  cursor: pointer;
}

.hp-sub-terms input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.hp-sub-terms span {
  font-size: 0.75rem;
  color: #888;
  line-height: 1.5;
}

.hp-sub-terms a {
  color: var(--charcoal);
  text-decoration: underline;
}

.hp-sub-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #666;
}

.hp-sub-footer a {
  color: #d4a373;
  font-weight: 600;
  text-decoration: none;
}

.hp-sub-footer a:hover {
  text-decoration: underline;
}

.hp-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hp-popup-close:hover {
  background: white;
  color: var(--red);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .hp-popup-content {
    flex-direction: column;
    max-width: 400px;
  }
  .hp-popup-img {
    width: 100%;
    height: 200px;
  }
  .hp-popup-body {
    padding: 30px 20px;
    text-align: center;
  }
  .hp-popup-body h2 {
    font-size: 1.8rem;
  }
  .hp-popup-btn {
    align-self: stretch;
  }
}

/* =============================================
   MOBILE NAV OVERLAY
   ============================================= */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  flex-direction: column;
  padding: 24px;
}

.mobile-nav.open { display: flex; }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.mobile-nav-links { display: flex; flex-direction: column; gap: 6px; }

.mobile-nav-link {
  padding: 14px 16px;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
  transition: var(--transition);
}

.mobile-nav-link:hover { color: var(--gold); padding-left: 24px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
  .gallery-grid { grid-template-rows: repeat(2, 200px); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header-inner { padding: 0 20px; }
  .nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 180px); }
  .gallery-item.tall { grid-row: span 1; }
  .promo-grid { grid-template-columns: 1fr; }
  .announcement-bar { font-size: 0.68rem; letter-spacing: 1px; padding: 8px 10px; }
  .hero-arrow { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 10px; }
  .section { padding: 50px 0; }
  .hero { height: 420px; }
  .hero-title { font-size: 2.4rem; }
  .hero-content { left: 50%; max-width: 90%; }
  .hero-arrow { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .products-carousel .product-card { 
    min-width: 88vw !important; 
    width: 88vw !important; 
    background: #fff; 
    border-radius: 15px; 
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 20px;
  }
  .card-image-wrap { 
    height: auto !important;
    aspect-ratio: 1 / 1;
    max-height: none; 
    border-radius: 8px !important;
    background: #fff !important;
  }
  .card-title { font-size: 1.2rem !important; font-weight: 600 !important; }
  .card-price { font-size: 1.1rem !important; }
  .card-body { padding: 8px 4px 0; }
  .card-footer { margin-top: 10px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 160px); }
  .gallery-item.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form { flex-direction: column; border-radius: 8px; }
  .announcement-bar { font-size: 0.62rem; letter-spacing: 0.5px; padding: 6px 10px; }
  
  /* Category Size Boost (Mainly for iPhone) */
  .category-circle { width: 155px; height: 155px; }
  .category-item { min-width: 175px; }
  .category-name { font-size: 1.1rem; font-weight: 600; }

  /* Specific Revert for Android - Users find larger icons too big */
  .is-android .category-circle { width: 110px !important; height: 110px !important; }
  .is-android .category-item { min-width: 125px !important; }
  .is-android .category-name { font-size: 0.8rem !important; font-weight: 500 !important; }
}

/* =============================================
   VISIBILITY UTILITIES
   ============================================= */
@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}

@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   HOMEPAGE POPUP
   ============================================= */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-inner {
  background: #fff;
  max-width: 850px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  animation: popupFadeIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 25px 80px rgba(0,0,0,0.4);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: rgba(255,255,255,0.9);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: #333;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.popup-close:hover {
  background: var(--gold);
  color: white;
  transform: rotate(90deg);
}

.popup-body {
  display: flex;
  min-height: 450px;
}

.popup-img-wrap {
  width: 45%;
  background: #fdfaf5;
  position: relative;
}

.popup-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.popup-content-wrap {
  width: 55%;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.2;
}

.popup-desc {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #eaeaea;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}

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

.popup-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.popup-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,168,76,0.35);
}

.popup-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 5px;
  text-align: left;
}

.popup-checkbox-wrap input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.popup-checkbox-text {
  font-size: 0.78rem;
  color: #888;
  line-height: 1.4;
}

.popup-checkbox-text a {
  color: var(--gold);
  text-decoration: underline;
}

@keyframes popupFadeIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.popup-overlay.fade-out {
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

@media (max-width: 850px) {
  .popup-inner { max-width: 90%; }
}

@media (max-width: 768px) {
  .popup-body { flex-direction: column; }
  .popup-img-wrap { width: 100%; height: 220px; }
  .popup-content-wrap { width: 100%; padding: 40px 25px; text-align: center; }
  .popup-checkbox-wrap { justify-content: center; }
}
