@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');
@import './variables.css';

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--purple-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

button {
  cursor: pointer;
  font-family: var(--font-primary);
  border: none;
  background: none;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Sections */
.section-padding {
  padding: 5rem 0;
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-primary);
  margin-bottom: 1rem;
}

.section-bubble {
  display: inline-block;
  background-color: var(--purple-100);
  color: var(--purple-primary);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

/* Generic Buttons */
.btn-primary {
  background: var(--gold-gradient-bright);
  color: var(--text-light); /* Dark text */
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-primary:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

/* Top Notification Bar */
.top-notification {
  background-color: var(--gold-50);
  color: var(--gold-900);
  text-align: center;
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.top-notification img {
  height: 16px;
}

/* Top Header */
.main-header {
  /* Local variables linked to global palette for easy editing in :root */
  --header-stripe-1: #f8f5d4;
  --header-stripe-2: #fbf0a2;

  background: rgb(142, 65, 118);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

.main-header.header-hidden {
  transform: translateY(-100%);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 2rem;
  color: #ffffff;
  font-weight: 300;
  letter-spacing: 1px;
}

.main-nav ul {
  display: flex;
  gap: 0.6rem;
  list-style: none;
  align-items: center;
}

.main-nav a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  padding: 0.5rem 0;
  border: none;
  position: relative;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.main-nav a i {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.3s;
}

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

.main-nav a:hover i {
  transform: translateY(2px);
  color: var(--gold-bright);
}

/* Elegant underline animation */
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient-bright);
  transition: width 0.3s ease;
}

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

.header-icons {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.header-icons > a, .header-icons > i, .cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: #ffffff;
}

.header-icons i {
  font-size: 1.3rem;
}

.header-icons > a:hover, .header-icons > i:hover, .cart-icon:hover {
  color: var(--gold-bright);
  transform: translateY(-2px);
  border-color: transparent;
}

.cart-icon {
  position: relative;
}

.cart-icon span {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--gold-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  height: 18px;
  width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Secondary Nav */
.secondary-nav {
  background-color: var(--purple-primary);
  padding: 15px 0;
  color: white;
  text-align: center;
}

.secondary-nav ul {
  display: flex;
  justify-content: center;
  gap: 3rem;
  list-style: none;
}

.secondary-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.secondary-nav a:hover {
  color: var(--gold-primary);
}

/* Hero Section - Banner Only */
.hero.banner-only {
  padding: 0;
  display: block;
  width: 100%;
  background: none;
  max-height: 75vh;
  aspect-ratio: 16/9;
}

.hero-banner-img {
  width: 100%;
  height: 100% !important;
  max-height: 75vh;
  object-fit: cover;
  display: block;
}

.hero-content {
  flex: 1;
  max-width: 500px;
  margin-left: 10%;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: #F5C024; /* Bright golden yellow matching the exact Masterpiece image */
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  text-shadow: 0 0 30px rgba(245, 192, 36, 0.5); /* Perfect soft yellow glow */
}

.hero-content p {
  font-size: 1.5rem;
  color: var(--purple-primary);
  margin-bottom: 2rem;
  font-weight: 500;
  text-shadow: 1px 1px 0 rgba(74, 26, 91, 0.2), 2px 2px 4px rgba(0,0,0,0.1);
}

.trust-badges {
  display: flex;
  gap: 2rem;
  color: var(--purple-primary);
  font-size: 0.85rem;
  text-align: center;
  font-weight: 600;
}

.trust-badge i {
  color: var(--purple-primary);
  text-shadow: 1px 1px 0 rgba(74, 26, 91, 0.3), 2px 2px 5px rgba(0,0,0,0.15);
}

.trust-badge img {
  height: 40px;
  margin-bottom: 0.5rem;
}

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

.hero-product-img {
  max-height: 500px;
  z-index: 2;
  object-fit: cover;
}

.discount-badge {
  position: absolute;
  right: 10%;
  top: 30%;
  text-align: right;
  color: white;
  z-index: 3;
}

.discount-badge .num {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  font-family: var(--font-secondary);
}

.discount-badge .off {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 2px;
}

/* Bottom Feature Strip */
.feature-strip {
  background: rgb(142, 65, 118);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.4);
  border-top: 1px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.feature-strip-inner {
  display: flex;
  gap: 4rem;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  animation: scroll-marquee 30s linear infinite;
  width: max-content;
}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #FFE55C;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.strip-item i {
  color: #FFDF00;
  font-size: 1.2rem;
}

/* Best Sellers Tabs */
.tabs-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.6rem 2rem;
  border: 1px solid var(--purple-primary);
  border-radius: 4px;
  background: transparent;
  color: var(--purple-primary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--purple-primary);
  color: white;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { 
  .product-grid { 
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 1.5rem;
    padding: 1rem 1.5rem 2rem;
    margin: 0 -1.5rem; /* Break out of container */
    scrollbar-width: none; /* Firefox */
  }
  .product-grid::-webkit-scrollbar {
    display: none; /* Safari/Chrome */
  }
  .product-card {
    flex: 0 0 75%; /* Cards take up 75% of screen width */
    scroll-snap-align: center;
  }
}
@media (max-width: 480px) { 
  .product-card {
    flex: 0 0 85%;
  }
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 2px 12px rgba(107, 26, 122, 0.07);
  border: 1px solid var(--gold-primary);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(107, 26, 122, 0.18);
  border-color: rgba(245, 192, 36, 0.4);
}

/* Image Area */
.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.product-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: stretch;
}

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

/* Quick Add Overlay */
.product-quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(58, 10, 74, 0.95), rgba(107, 26, 122, 0.7));
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.product-card:hover .product-quick-add {
  opacity: 1;
  transform: translateY(0);
}

/* Badge */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #1c1c1c;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
}

.product-badge.bestseller {
  right: 12px;
  left: auto;
  background: linear-gradient(90deg, #F5C024, #e8a000);
  color: #3a0a4a;
}

.product-badge.sold-out {
  background: #888;
  color: white;
}

/* Card Body */
.product-card-body {
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
}

.product-title {
  font-size: 0.95rem;
  color: #1a1a1a;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.product-subtitle {
  font-size: 0.78rem;
  color: #6b1a7a;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.03em;
}

.rating {
  color: #F5C024;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0.2rem 0;
}

.rating span {
  color: #888;
  margin-left: 4px;
  font-size: 0.8rem;
}

.price {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: auto;
  padding-top: 0.4rem;
}

.price .mrp {
  color: #aaa;
  text-decoration: line-through;
  font-size: 0.82rem;
  font-weight: 400;
  margin-left: 6px;
}

.price .discount-pct {
  color: #2ecc71;
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 6px;
}

/* Video Section */
.video-carousel-wrapper {
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.video-carousel-inner {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scroll-videos 30s linear infinite;
}

.video-carousel-inner:hover {
  animation-play-state: paused;
}

@keyframes scroll-videos {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 0.75rem)); }
}

.video-carousel {
  /* Deprecated layout class - kept in case it's used elsewhere */
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: none;
}

.video-carousel::-webkit-scrollbar {
  display: none;
}

@keyframes gold-glow-pulse {
  0% { box-shadow: 0 0 8px rgba(245, 192, 36, 0.3), inset 0 0 5px rgba(245, 192, 36, 0.2); }
  50% { box-shadow: 0 0 20px rgba(245, 192, 36, 0.7), inset 0 0 10px rgba(245, 192, 36, 0.4); }
  100% { box-shadow: 0 0 8px rgba(245, 192, 36, 0.3), inset 0 0 5px rgba(245, 192, 36, 0.2); }
}

.video-card {
  min-width: 260px;
  height: 400px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--bg-secondary);
  border: 2px solid #F5C024;
  animation: gold-glow-pulse 2.5s infinite ease-in-out;
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px) scale(1.02);
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  text-align: center;
}

.video-product-inset {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.video-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 2rem 1rem;
    text-align: center;
  }
  .hero-content {
    margin-left: 0;
  }
  .trust-badges {
    justify-content: center;
  }
  .discount-badge {
    position: static;
    margin-top: 2rem;
    text-align: center;
  }
  .secondary-nav ul {
    gap: 1rem;
    flex-wrap: wrap;
  }
  .main-nav {
    display: none;
  }
}

/* Static Flat Bubble Background */
.bubbles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(to bottom, #ffffff, #fffde7); /* White to light yellow */
}

.bubble {
  position: absolute;
  background-color: rgba(255, 215, 0, 0.15); /* Flat, subtle golden color */
  border-radius: 50%;
}

.bubble:nth-child(1) { width: 120px; height: 120px; left: 10%; top: 15%; }
.bubble:nth-child(2) { width: 250px; height: 250px; left: -5%; top: 60%; }
.bubble:nth-child(3) { width: 80px; height: 80px; left: 35%; top: 40%; }
.bubble:nth-child(4) { width: 300px; height: 300px; right: -10%; top: 10%; }
.bubble:nth-child(5) { width: 150px; height: 150px; right: 20%; top: 70%; }
.bubble:nth-child(6) { width: 90px; height: 90px; right: 40%; top: 20%; }
.bubble:nth-child(7) { width: 200px; height: 200px; left: 45%; top: 80%; }

/* Hero Slider Styles */
.hero-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-slider img.active {
  opacity: 1;
}

/* ================================ */
/* ANNOUNCEMENT BAR                 */
/* ================================ */
.announcement-bar {
  background: #5c236e;
  color: #F5C024;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(245, 192, 36, 0.3);
}

.announcement-inner {
  display: flex;
  white-space: nowrap;
  animation: announce-scroll 30s linear infinite;
  gap: 0;
}

.announcement-inner span {
  padding: 0 3rem;
  flex-shrink: 0;
}

@keyframes announce-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================================ */
/* SECTION HELPERS                  */
/* ================================ */
.text-center { text-align: center; }
.gold-text { color: #F5C024; }
.section-subtext {
  color: #7a5f8a;
  font-size: 1.05rem;
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

/* ================================ */
/* SHOP BY CONCERN SECTION          */
/* ================================ */
.concern-section {
  background: #fdf9ff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.category-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.concern-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.concern-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #3a0a4a;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.concern-item:hover {
  transform: translateY(-6px);
  color: #6b1a7a;
}

.concern-icon-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #F5C024;
  box-shadow: 0 4px 15px rgba(107, 26, 122, 0.2);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.concern-item:hover .concern-icon-wrap {
  box-shadow: 0 8px 25px rgba(245, 192, 36, 0.5);
  border-color: #6b1a7a;
}

.concern-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) { .concern-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { 
  .concern-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    margin: 0;
  } 
  .concern-item {
    scroll-snap-align: none;
  }
  .concern-icon-wrap { width: 70px; height: 70px; } 
}

/* ================================ */
/* BRAND STORY SECTION              */
/* ================================ */
.brand-story-section {
  background: linear-gradient(135deg, #3a0a4a 0%, #6b1a7a 50%, #3a0a4a 100%);
  color: white;
}

.brand-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.brand-story-image {
  overflow: hidden;
}

.brand-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.brand-story-section:hover .brand-story-image img {
  transform: scale(1.03);
}

.brand-story-content {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.brand-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #F5C024;
  text-transform: uppercase;
}

.brand-story-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: white;
}

.brand-story-content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: 1.05rem;
}

.brand-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0.5rem 0;
}

.brand-stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(245, 192, 36, 0.3);
  border-radius: 12px;
  padding: 1rem 0.5rem;
}

.brand-stat strong {
  display: block;
  font-size: 1.5rem;
  color: #F5C024;
  font-weight: 800;
}

.brand-stat span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

.btn-brand-story {
  display: inline-block;
  background: #F5C024;
  color: #3a0a4a;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.btn-brand-story:hover {
  background: white;
  color: #6b1a7a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 192, 36, 0.4);
}

@media (max-width: 768px) {
  .brand-story-inner { grid-template-columns: 1fr; }
  .brand-story-image { height: auto; }
  .brand-story-image img { height: auto; object-fit: contain; }
  .brand-story-content { padding: 2.5rem 1.5rem; }
  .brand-story-content h2 { font-size: 1.8rem; }
  .brand-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ================================ */
/* CUSTOMER REVIEWS SECTION         */
/* ================================ */
.reviews-section {
  background: linear-gradient(to bottom, #fdf9ff, #f5eeff);
}

.reviews-carousel-wrapper {
  overflow: hidden;
  padding: 1rem 0 2rem;
}

.reviews-carousel-inner {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scroll-reviews 35s linear infinite;
}

.reviews-carousel-inner:hover {
  animation-play-state: paused;
}

@keyframes scroll-reviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 0.75rem)); }
}

.review-card {
  min-width: 320px;
  max-width: 320px;
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(107, 26, 122, 0.1);
  border: 1px solid rgba(245, 192, 36, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(107, 26, 122, 0.15);
}

.review-stars {
  color: #F5C024;
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-text {
  color: #444;
  font-size: 0.92rem;
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #F5C024;
}

.review-author strong {
  display: block;
  color: #3a0a4a;
  font-size: 0.9rem;
}

.review-author span {
  color: #888;
  font-size: 0.78rem;
}

.review-product-tag {
  background: linear-gradient(90deg, #3a0a4a, #6b1a7a);
  color: #F5C024;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  align-self: flex-start;
}

/* ================================ */
/* INSTAGRAM FEED SECTION           */
/* ================================ */
.insta-section {
  background: white;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.insta-post {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
  display: block;
}

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

.insta-post:hover img {
  transform: scale(1.08);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(107, 26, 122, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  font-size: 2rem;
}

.insta-post:hover .insta-overlay {
  opacity: 1;
}

.btn-insta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: white;
  padding: 0.85rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(131, 58, 180, 0.3);
}

.btn-insta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(131, 58, 180, 0.5);
}

@media (max-width: 768px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .insta-grid { grid-template-columns: repeat(2, 1fr); } }

/* ================================ */
/* NEWSLETTER SECTION               */
/* ================================ */
.newsletter-section {
  background: linear-gradient(135deg, #2a0838 0%, #4a1a5b 40%, #6b1a7a 70%, #2a0838 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F5C024' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.newsletter-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.newsletter-badge {
  background: rgba(245, 192, 36, 0.2);
  border: 1px solid rgba(245, 192, 36, 0.5);
  color: #F5C024;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
}

.newsletter-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 480px;
}

.newsletter-form-big {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 480px;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.newsletter-form-big input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  outline: none;
  font-size: 0.95rem;
  background: white;
  color: #333;
}

.btn-newsletter {
  background: linear-gradient(90deg, #F5C024, #e8a000);
  color: #3a0a4a;
  border: none;
  padding: 1rem 1.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.btn-newsletter:hover {
  background: linear-gradient(90deg, #ffe066, #F5C024);
}

.newsletter-content small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

@media (max-width: 576px) {
  .newsletter-form-big { flex-direction: column; border-radius: 12px; }
  .newsletter-form-big input, .btn-newsletter { border-radius: 0; }
  .newsletter-content h2 { font-size: 1.8rem; }
}

/* ================================ */
/* ENHANCED FOOTER STYLES           */
/* ================================ */
.footer-container {
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
}

.app-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(245, 192, 36, 0.3);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.app-badge:hover {
  background: rgba(245, 192, 36, 0.15);
  border-color: rgba(245, 192, 36, 0.6);
  color: #F5C024;
}

.app-badge i {
  font-size: 1.4rem;
  color: #F5C024;
}

.app-badge div small {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
}

.app-badge div strong {
  font-size: 0.85rem;
  color: white;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.trust-cert-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.7;
}

.trust-logos small {
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.payment-icons {
  display: flex;
  gap: 0.75rem;
  font-size: 1.8rem;
  color: rgba(255,255,255,0.5);
}

.payment-icons i:hover {
  color: #F5C024;
  transition: color 0.2s ease;
}

@media (max-width: 1100px) {
  .footer-container { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer-container { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 480px) {
  .footer-container { grid-template-columns: 1fr; }
}

/* ================================ */
/* MOBILE OPTIMIZATIONS & SIDEBAR   */
/* ================================ */
@media (min-width: 769px) {
    .mobile-menu-toggle, .mobile-sidebar, .mobile-overlay { display: none !important; }
}

@media (max-width: 768px) {
    body { font-size: 14px; }
    h1 { font-size: 2rem !important; }
    .section-header h2 { font-size: 1.8rem !important; }
    .section-padding { padding: 0rem 0; }
    
    .main-nav { display: none; }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: #ffffff;
        cursor: pointer;
    }
    
    .header-container {
        justify-content: space-between;
    }
    
    .hero-content h1 { font-size: 2.2rem !important; }
    .hero-content p { font-size: 1rem; }
    .hero-section { padding: 4rem 0; }
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: rgb(142, 65, 118);
    z-index: 2000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active { left: 0; }

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.close-sidebar {
    font-size: 1.5rem;
    color: #ffffff;
    background: none;
    border: none;
}

.mobile-sidebar-content {
    padding: 1.5rem;
    overflow-y: auto;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
}

.mobile-nav-list li {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.mobile-nav-list a,
.mobile-accordion-header {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    text-decoration: none;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ================================ */
/* DEDICATED MOBILE APP STYLES      */
/* ================================ */

.mobile-header-content {
    display: none;
}

@media (max-width: 768px) {
    /* Header Replacements */
    .desktop-header-content {
        display: none !important;
    }
    
    .mobile-header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 60px;
        padding: 0 1rem;
    }
    
    .mobile-header-left, .mobile-header-right {
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        color: #ffffff;
        cursor: pointer;
    }
    
    .logo.mobile-logo {
        font-size: 1.6rem;
        margin: 0;
    }
    
    .mobile-icon {
        font-size: 1.05rem;
        color: #ffffff;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
    }
    
    .mobile-cart-icon {
        position: relative;
    }
    
    .mobile-cart-badge {
        position: absolute;
        top: -5px;
        right: -8px;
        background: var(--gold-primary);
        color: white;
        font-size: 0.65rem;
        font-weight: bold;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Polished Sidebar Drawer */
    .mobile-sidebar {
        width: 85%;
        max-width: 320px;
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
    }
    .mobile-sidebar-header {
        padding: 1.5rem;
        background: transparent;
        border-bottom: 2px solid var(--gold-primary);
    }
    .mobile-nav-list li {
        margin-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .mobile-nav-list a,
    .mobile-accordion-header {
        padding: 0.75rem 0;
        font-weight: 500;
        color: #ffffff !important;
    }
    .mobile-nav-list li strong {
        color: #ffffff;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        display: block;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }
    
    /* Product Grid Standard View (2-Column) - When NOT in a carousel */
    /* The welcome.blade.php uses .product-grid for carousel, but category.blade.php uses it for grid. */
    /* Wait, the existing media queries for category grid are inline or in styles.css? */
    /* Standard Grid View (Category Pages) */
    .category-product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .category-product-grid .product-card .product-title {
        font-size: 0.9rem;
    }
    
    .category-product-grid .product-card .price {
        font-size: 0.95rem;
    }
}

/* ================================ */
/* PRODUCT PAGE SPECIFICS           */
/* ================================ */
.product-actions-container {
    display: flex;
    gap: 1rem;
}

.btn-add-to-cart {
    flex: 1;
    background: white;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add-to-cart:hover {
    background: #f9f9f9;
}

.btn-buy-now {
    flex: 1;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 20px rgba(212,175,55,0.2);
}

.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(212,175,55,0.3);
}

.product-details-accordion {
    margin-top: 3rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.accordion-item {
    border-bottom: 1px dashed #ddd;
    padding: 1rem 0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none; /* Hide default arrow */
    outline: none;
}

.accordion-header::-webkit-details-marker {
    display: none; /* Hide default arrow in webkit */
}

.accordion-header::after {
    content: '\002B'; /* Plus icon */
    margin-left: auto;
    font-size: 1.5rem;
    font-family: var(--font-primary);
    color: #d4af37;
    transition: transform 0.3s;
}

details[open] .accordion-header::after {
    content: '\2212'; /* Minus icon */
    transform: rotate(180deg);
}

.accordion-content {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .product-actions-container {
        position: fixed;
        bottom: 65px; /* Above bottom nav */
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
        z-index: 990;
        gap: 0.5rem;
    }

    .btn-add-to-cart, .btn-buy-now {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* ================================ */
/* MOBILE APP LAYOUT & NAV BAR      */
/* ================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    border-top: 1px solid #eaeaea;
    justify-content: space-around;
    align-items: center;
    height: 65px;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    width: 25%;
    gap: 4px;
    transition: color 0.2s ease;
}

.bottom-nav-item i {
    font-size: 1.4rem;
    margin-bottom: 3px;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--purple-primary);
}

.bottom-nav-cart-icon {
    position: relative;
    display: inline-flex;
}

.bottom-nav-cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--gold-primary);
    color: white;
    font-size: 0.6rem;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    .page-wrapper {
        padding-bottom: calc(65px + env(safe-area-inset-bottom));
    }
    .hero-banner-img {
        height: 100% !important;
        max-height: 50vh;
        object-fit: cover;
    }
    .strip-item {
        font-size: 0.75rem;
        gap: 0.5rem;
    }
    .strip-item i {
        font-size: 0.9rem;
    }
    .video-card {
        min-width: 150px;
        height: 250px;
    }
    .video-product-inset {
        width: 45px;
        height: 45px;
        bottom: 30px;
    }
    .video-title {
        font-size: 0.75rem;
    }
    .tabs-container {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -15px 2rem -15px; /* Negative margin to span full width */
        padding: 0 15px;
    }
    .tabs-container::-webkit-scrollbar {
        display: none;
    }
    .tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }
    .product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        overflow-x: visible !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .product-card-actions {
        flex-direction: column;
    }
    .product-card {
        min-width: 0 !important; /* allow shrinking */
        flex: unset !important;
    }
    .product-card-body {
        padding: 0.5rem 0.5rem 0.75rem;
        gap: 0.25rem;
    }
    .product-title {
        font-size: 0.8rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .product-subtitle {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .price {
        font-size: 0.95rem;
        flex-wrap: wrap; /* allow wrapping if needed */
        gap: 4px;
    }
    .price .mrp {
        font-size: 0.7rem;
    }
    .price .discount-pct {
        background: #2ecc71;
        color: white;
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 0.6rem;
        margin-left: 6px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .product-grid:not(.show-all) .product-card:nth-child(n+7) {
        display: none !important;
    }
    .view-all-mobile {
        display: block !important;
    }
    .concern-section {
        padding: 1.5rem 0 !important;
    }
    .concern-section .section-header {
        margin-bottom: 1rem !important;
    }
    .concern-grid {
        padding-top: 0 !important;
    }
    .reviews-section {
        padding: 1rem 0 !important;
    }
    .reviews-section .section-header {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
    .review-card {
        min-width: 220px !important;
        max-width: 220px !important;
        padding: 1rem !important;
        gap: 0.5rem !important;
    }
    .review-text {
        font-size: 0.75rem !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 5 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .video-carousel-wrapper {
        padding: 1rem 0 !important;
    }
    .review-avatar {
        width: 32px !important;
        height: 32px !important;
    }
    .review-author strong {
        font-size: 0.8rem !important;
    }
    .product-img-wrap, .product-img {
        height: 170px !important;
    }
    .rating {
        margin-bottom: 0.3rem;
    }
    .product-card-body > a:last-child {
        margin-top: 0.5rem !important;
        padding: 0.4rem !important;
        font-size: 0.75rem !important;
    }
}


