/*
Theme Name: DIVIElegence by MrJp
Theme URI: https://example.com/divi-elegance
Author: MrJp
Author URI: https://example.com
Description: An ultra-premium, $10,000-grade custom WordPress theme designed for high-end boutique e-commerce shops specializing in sarees, kurtis, and traditional Indian designer wear. Features full WooCommerce support, mobile-first responsiveness, and elegant rose-gold aesthetics.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: divi-elegance
Tags: e-commerce, two-columns, custom-header, custom-menu, featured-images, flexible-header, full-width-template, translation-ready

================================================================================
DESIGN SYSTEM & VARIABLE TOKENS
================================================================================
*/

:root {
  /* Color Palette */
  --color-primary: #ec4899;      /* Brand Pink */
  --color-primary-light: #fbcfe8;/* Soft Light Pink */
  --color-primary-dark: #be185d; /* Deep Crimson/Rose */
  --color-accent: #d4af37;       /* Gold Accent */
  --color-accent-dark: #b59023;  /* Deep Gold */
  --color-bg-light: #faf5f6;     /* Warm Cream/Blossom */
  --color-text-dark: #2d1d22;    /* Deep Charcoal/Wine */
  --color-text-muted: #6b5a60;   /* Muted Wine-grey */
  --color-white: #ffffff;
  --color-border: #f0e2e5;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #b8860b 100%);
  --gradient-pink: linear-gradient(135deg, #fbcfe8 0%, #ec4899 50%, #db2777 100%);
  --gradient-soft: linear-gradient(180deg, #ffffff 0%, #faf5f6 100%);
  --gradient-dark-overlay: linear-gradient(to right, rgba(45, 29, 34, 0.8) 0%, rgba(45, 29, 34, 0.2) 100%);

  /* Typography */
  --font-headings: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(236, 72, 153, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(236, 72, 153, 0.08), 0 4px 6px -2px rgba(236, 72, 153, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(45, 29, 34, 0.1), 0 10px 10px -5px rgba(45, 29, 34, 0.04);
  --shadow-gold: 0 4px 14px rgba(212, 175, 55, 0.3);

  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-width: 1280px;
  --header-height: 100px;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================================================================
   HEADER & NAVIGATION
   ================================================================================ */
.top-bar {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 15px;
}

.top-bar-right {
  display: flex;
  gap: 15px;
  align-items: center;
}

.top-bar-right a:hover {
  color: var(--color-accent);
}

.main-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.main-header.scrolled {
  padding: 5px 0;
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  transition: var(--transition-normal);
}

.main-header.scrolled .header-container {
  height: 70px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px dashed var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-headings);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  background-color: var(--color-bg-light);
}

.logo-text h1 {
  font-size: 22px;
  color: var(--color-primary-dark);
  font-weight: 700;
}

.logo-text span {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: block;
}

/* Nav Menu */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-menu a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-dark);
  padding: 10px 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-normal);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
  color: var(--color-primary);
}

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

.header-btn {
  background: none;
  border: none;
  color: var(--color-text-dark);
  font-size: 18px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.header-btn:hover {
  color: var(--color-primary);
}

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

/* Search Bar overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(45, 29, 34, 0.95);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.search-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.search-overlay-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 30px;
  cursor: pointer;
}

.search-form-wrap {
  width: 600px;
  max-width: 90%;
  text-align: center;
}

.search-form-wrap input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 3px solid var(--color-primary);
  color: var(--color-white);
  font-size: 28px;
  padding: 10px 0;
  text-align: center;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-text-dark);
  cursor: pointer;
}

/* ================================================================================
   HERO BANNER
   ================================================================================ */
.hero-section {
  background-color: #fff0f5;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(236, 72, 153, 0.05);
  filter: blur(50px);
}

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

.hero-content {
  z-index: 2;
  position: relative;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: block;
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--color-text-dark);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 35px;
}

.btn-premium {
  display: inline-block;
  background: var(--gradient-pink);
  color: var(--color-white);
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
  transition: var(--transition-normal);
  border: none;
  cursor: pointer;
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

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

.hero-image-bg {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,72,153,0.15) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-image {
  z-index: 1;
  position: relative;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  max-width: 85%;
  animation: floatAnim 6s ease-in-out infinite;
}

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

/* ================================================================================
   FEATURES BAR
   ================================================================================ */
.features-bar {
  background-color: var(--color-white);
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 10px;
  transition: var(--transition-normal);
}

.feature-item:hover {
  background-color: var(--color-bg-light);
  transform: translateY(-2px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.feature-item:hover .feature-icon {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.feature-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.feature-info p {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ================================================================================
   SHOP BY COLLECTION
   ================================================================================ */
.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 32px;
  color: var(--color-text-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
}

.section-title::before {
  content: '♦';
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-accent);
  background-color: var(--color-white);
  padding: 0 10px;
  font-size: 14px;
}

.collections-section {
  padding: 80px 0;
  background-color: var(--color-bg-light);
}

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

.collection-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 400px;
  display: flex;
  align-items: flex-end;
  transition: var(--transition-normal);
}

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

.collection-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.collection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(45, 29, 34, 0.85) 0%, rgba(45, 29, 34, 0) 60%);
  z-index: 1;
}

.collection-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  width: 100%;
  text-align: center;
}

.collection-name {
  color: var(--color-white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.btn-collection {
  color: var(--color-white);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  border: 1px solid var(--color-white);
  padding: 8px 20px;
  border-radius: 20px;
  background-color: rgba(255,255,255,0.1);
  display: inline-block;
  transition: var(--transition-normal);
}

.collection-card:hover .btn-collection {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

/* ================================================================================
   PRODUCT LISTINGS (NEW ARRIVALS)
   ================================================================================ */
.products-section {
  padding: 80px 0;
  background-color: var(--color-white);
}

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

.product-card {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.product-thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-thumb {
  transform: scale(1.05);
}

.product-badge-new {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.product-actions {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  transition: var(--transition-normal);
  z-index: 2;
}

.product-card:hover .product-actions {
  bottom: 20px;
}

.prod-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-text-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.prod-action-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.product-info {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-category {
  font-size: 10px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.product-name {
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.product-rating {
  color: var(--color-accent);
  font-size: 12px;
  margin-bottom: 8px;
}

.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.product-price del {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-right: 8px;
  font-weight: 400;
}

/* ================================================================================
   SPECIAL OFFERS BANNER
   ================================================================================ */
.offers-section {
  background-color: var(--color-bg-light);
  padding: 60px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.offers-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, 1fr);
  gap: 20px;
  align-items: center;
}

.offers-intro {
  text-align: left;
}

.offers-intro h3 {
  font-size: 32px;
  color: var(--color-primary-dark);
  margin-bottom: 5px;
}

.offers-intro p {
  color: var(--color-text-muted);
  font-size: 14px;
}

.offer-card {
  background-color: var(--color-white);
  border-radius: 12px;
  border: 1px dashed var(--color-primary);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
}

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

.offer-pct {
  font-size: 40px;
  color: var(--color-primary);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-headings);
}

.offer-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-dark);
  margin-bottom: 5px;
}

.offer-code {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent-dark);
}

/* ================================================================================
   TESTIMONIALS (OUR HAPPY CUSTOMERS)
   ================================================================================ */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--color-white);
}

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
}

.testimonial-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
  border: 3px solid var(--color-primary-light);
}

.testimonial-stars {
  color: var(--color-accent);
  margin-bottom: 15px;
  font-size: 14px;
}

.testimonial-text {
  font-family: var(--font-headings);
  font-size: 18px;
  font-style: italic;
  color: var(--color-text-dark);
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-border);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background-color: var(--color-primary);
  width: 25px;
  border-radius: 10px;
}

/* ================================================================================
   FOOTER SECTION
   ================================================================================ */
.main-footer {
  background-color: #2d1d22;
  color: #f0e2e5;
  padding: 80px 0 30px;
  border-top: 4px solid var(--color-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h3 {
  color: var(--color-white);
  font-size: 18px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-about-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-about-logo .logo-circle {
  border-color: var(--color-white);
  background-color: transparent;
  color: var(--color-white);
}

.footer-about-logo h1 {
  color: var(--color-white);
}

.footer-about p {
  font-size: 13px;
  line-height: 1.7;
  color: #c9b9bd;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 13px;
  color: #c9b9bd;
  display: inline-block;
  transition: var(--transition-fast);
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 15px;
  color: #c9b9bd;
}

.footer-contact i {
  color: var(--color-primary);
  font-size: 16px;
  width: 20px;
}

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

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.05);
  color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  transition: var(--transition-normal);
}

.social-icon:hover {
  background-color: var(--color-primary);
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #9c8a8e;
}

/* ================================================================================
   DYNAMIC SLIDE-OUT CART DRAWER & QUICK VIEW MODAL
   ================================================================================ */
/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background-color: var(--color-white);
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(45, 29, 34, 0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h3 {
  font-size: 18px;
  color: var(--color-text-dark);
}

.close-cart-drawer {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--color-text-dark);
}

.cart-drawer-body {
  padding: 20px;
  flex-grow: 1;
  overflow-y: auto;
}

.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--color-border);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.btn-checkout {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--gradient-pink);
  color: var(--color-white);
  padding: 12px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Quick View Modal */
.quickview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(45, 29, 34, 0.7);
  z-index: 2100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.quickview-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.quickview-content {
  background-color: var(--color-white);
  border-radius: 15px;
  width: 800px;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.close-quickview {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-text-dark);
}

.quickview-left img {
  border-radius: 10px;
  width: 100%;
}

.quickview-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.qv-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.qv-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.qv-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 25px;
}

.qv-add-to-cart {
  background: var(--gradient-pink);
  color: var(--color-white);
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
  align-self: flex-start;
}

/* ================================================================================
   WOOCOMMERCE INTEGRATION OVERRIDES
   ================================================================================ */
/* Woo Buttons */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--gradient-pink);
  color: var(--color-white);
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 35px;
  border: none;
  font-size: 13px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--gradient-pink);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Woo checkout fields and inputs */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  border: 1px solid var(--color-border);
  padding: 12px;
  border-radius: 8px;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition-fast);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(236,72,153,0.1);
}

/* Woo breadcrumb */
.woocommerce-breadcrumb {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 25px;
}

.woocommerce-breadcrumb a {
  color: var(--color-primary);
}

/* Single product summary */
.woocommerce div.product .product_title {
  font-family: var(--font-headings);
  font-size: 32px;
  color: var(--color-text-dark);
  margin-bottom: 15px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--color-primary-dark);
  font-size: 24px;
  font-weight: 700;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

/* WooCommerce Cart Table */
.woocommerce table.shop_table {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.woocommerce table.shop_table th {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 15px;
}

/* ================================================================================
   RESPONSIVE MEDIA QUERIES
   ================================================================================ */
@media (max-width: 1200px) {
  .product-grid,
  .collections-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Header scaling to prevent overlap on laptops & tablets */
  .header-container {
    height: 80px;
  }
  .logo-circle {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .logo-text h1 {
    font-size: 18px;
  }
  .logo-text span {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .main-nav ul {
    gap: 12px;
  }
  .main-nav ul a {
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 6px 0;
  }
  .header-actions {
    gap: 12px;
  }
  .header-btn {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 40px;
  }
  .hero-image-wrap {
    margin-top: 30px;
  }
  .main-nav {
    display: none; /* Handled by custom JS side-drawer on mobile */
  }
  .mobile-nav-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .offers-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .offers-intro {
    text-align: center;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  /* Slim top bar on mobile */
  .top-bar-left,
  .top-bar-right {
    display: none !important;
  }
  .top-bar {
    padding: 6px 0;
  }
  .top-bar .container {
    justify-content: center;
  }
  .top-bar-center {
    font-size: 10px;
    letter-spacing: 1px;
  }

  /* Slim header on mobile to prevent layout overlapping */
  .header-container {
    height: 60px !important;
  }
  .logo-circle {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
    border-width: 1px !important;
  }
  .logo-text h1 {
    font-size: 16px !important;
  }
  .logo-text span {
    display: none !important; /* Hide sub-slogan to save space */
  }
  .header-actions {
    gap: 10px !important;
  }
  .header-btn {
    font-size: 15px !important;
  }
  .header-actions a[aria-label="My Account"] {
    display: none !important; /* Hide account icon to free up space (available in side drawer) */
  }

  .product-grid,
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quickview-content {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
}

@media (max-width: 480px) {
  .product-grid,
  .collections-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 32px;
  }
  .btn-premium {
    width: 100%;
    text-align: center;
  }
}

/* ================================================================================
   ACCORDION FAQ SECTION
   ================================================================================ */
.faq-section {
  padding: 80px 0;
  background-color: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.faq-accordion {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.faq-item details {
  width: 100%;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: none;
  border: none;
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-dark);
  text-align: left;
  cursor: pointer;
  outline: none;
  list-style: none; /* Hide default summary arrow in Firefox/Safari */
  transition: var(--transition-normal);
}

.faq-question::-webkit-details-marker {
  display: none; /* Hide default summary arrow in Chrome/Edge */
}

.faq-question i {
  font-size: 14px;
  color: var(--color-primary);
  transition: var(--transition-normal);
}

.faq-item details[open] .faq-question {
  color: var(--color-primary);
}

.faq-item details[open] .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  background-color: #faf5f6;
  border-top: 1px solid var(--color-border);
}

.faq-answer p {
  padding: 20px 25px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

/* ================================================================================
   STICKY FLOATING WHATSAPP BUTTON
   ================================================================================ */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-normal);
}

.whatsapp-floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.whatsapp-floating-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  top: 0;
  left: 0;
  animation: whatsapp-ripple 2s infinite;
  opacity: 0;
}

@keyframes whatsapp-ripple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .whatsapp-floating-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}
