/*
Theme Name: Sahana Fancy
Theme URI: http://localhost:8080
Author: Antigravity
Author URI: https://google.com
Description: A high-end, minimal, and modern feminine e-commerce theme for Sahana Fancy Store. Features app-like bottom navigation, micro-animations, sliding drawers, and direct WooCommerce integration.
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: sahana-fancy
*/

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

:root {
  /* Color Palette (Nykaa Brand Theme) */
  --nykaa-pink: #FC2779;
  --nykaa-pink-hover: #E01E63;
  --nykaa-pink-light: #FFF0F5;
  --nykaa-pink-ultra-light: #FFF9FA;
  
  --charcoal: #1A1A1A;
  --text-primary: #2C2C2C;
  --text-secondary: #666666;
  --border-color: #ECECEC;
  --border-hover: #D0D0D0;
  --bg-main: #FFFFFF;
  --bg-soft: #FCF8F9;
  --white: #FFFFFF;
  
  /* Font Families */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Layout Constants */
  --header-height: 70px;
  --mobile-nav-height: 60px;
  --max-width: 1440px;
  
  /* System Values */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-medium: 0 8px 30px rgba(252, 39, 121, 0.08);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

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

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

/* Accessibility & Utility styles */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.text-center {
  text-align: center;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--nykaa-pink);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(252, 39, 121, 0.2);
}

.btn-primary:hover {
  background-color: var(--nykaa-pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 39, 121, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}

.btn-secondary:hover {
  background-color: var(--charcoal);
  color: var(--bg-main);
}

.btn-text {
  background: none;
  border: none;
  color: var(--nykaa-pink);
  padding: 0;
  font-weight: 600;
  text-transform: none;
  font-size: 0.9rem;
}

.btn-text:hover {
  color: var(--nykaa-pink-hover);
}

/* Floating Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  z-index: 100;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--nykaa-pink);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--nykaa-pink);
  transition: var(--transition-smooth);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--nykaa-pink);
}

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

.search-bar-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  padding: 8px 16px 8px 36px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  width: 180px;
  transition: var(--transition-smooth);
  background-color: var(--bg-soft);
}

.search-input:focus {
  outline: none;
  width: 260px;
  border-color: var(--nykaa-pink);
  background-color: var(--bg-main);
  box-shadow: 0 2px 10px rgba(252, 39, 121, 0.05);
}

.search-icon-btn {
  position: absolute;
  left: 12px;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: var(--transition-smooth);
}

.action-btn:hover {
  color: var(--nykaa-pink);
}

.action-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--nykaa-pink);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--mobile-nav-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  z-index: 100;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex: 1;
  height: 100%;
  cursor: pointer;
}

.mobile-nav-item svg {
  margin-bottom: 4px;
}

.mobile-nav-item.active {
  color: var(--nykaa-pink);
}

/* SPA Navigation Views */
.view-section {
  display: none;
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: 60px;
  animation: fadeIn 0.4s ease-out forwards;
}

.view-section.active-view {
  display: block;
}

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

/* Hero Section (Feminine Minimalist Banner) */
.hero-slider {
  position: relative;
  height: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 60px;
  background-color: var(--nykaa-pink-ultra-light);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 80px;
  background-size: cover;
  background-position: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
  animation: slideUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.hero-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--nykaa-pink);
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-weight: 300;
  max-width: 420px;
  line-height: 1.6;
}

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

/* Category Grid Section */
.section-title-wrap {
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section-title-wrap h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.section-title-wrap p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-style: italic;
}

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

.category-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 24px;
}

.category-title {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 6px;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.category-explore {
  color: white;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  border-bottom: 1px solid white;
  padding-bottom: 2px;
  transition: var(--transition-smooth);
}

.category-card:hover .category-explore {
  opacity: 1;
  letter-spacing: 0.15em;
}

/* Showcase Banner Section (Feminine & Minimalist) */
.brand-showcase-banner {
  background-color: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 60px 40px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-text {
  max-width: 50%;
}

.showcase-tag {
  color: var(--nykaa-pink);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.showcase-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.showcase-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Product Grid / Listings */
.product-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.filter-tabs {
  display: flex;
  gap: 12px;
  list-style: none;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  background-color: var(--bg-soft);
  border: 1px solid transparent;
}

.filter-tab.active,
.filter-tab:hover {
  background-color: var(--nykaa-pink-light);
  color: var(--nykaa-pink);
  border-color: rgba(252, 39, 121, 0.2);
}

.shop-controls {
  display: flex;
  gap: 16px;
  align-items: center;
}

.sort-select {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  background-color: var(--bg-main);
  outline: none;
  cursor: pointer;
}

.sort-select:focus {
  border-color: var(--nykaa-pink);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 30px;
}

/* Modern Feminine Product Cards */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-main);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid #FAF6F8;
}

.product-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-4px);
  border-color: rgba(252, 39, 121, 0.05);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  overflow: hidden;
  background-color: var(--bg-soft);
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--nykaa-pink) 0%, #e01e63 100%);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 3px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(252, 39, 121, 0.35);
  animation: badgePop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes badgePop {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* Larger offer tag variant used on modal & detail page */
.offer-tag {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.wishlist-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wishlist-toggle:hover {
  background-color: white;
  transform: scale(1.1);
}

.wishlist-toggle svg {
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 2;
  transition: var(--transition-smooth);
}

.wishlist-toggle.active svg {
  fill: var(--nykaa-pink);
  stroke: var(--nykaa-pink);
  animation: heartbeat 0.4s ease-out;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  35% { transform: scale(1.3); }
  65% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.product-name {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.price {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 1rem;
}

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

.discount {
  color: var(--nykaa-pink);
  font-size: 0.8rem;
  font-weight: 500;
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-card-add {
  flex-grow: 1;
  padding: 8px 12px;
  background-color: var(--bg-soft);
  color: var(--charcoal);
  border: 1px solid var(--border-color);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-card-add:hover {
  background-color: var(--nykaa-pink);
  color: white;
  border-color: var(--nykaa-pink);
}

.btn-card-view {
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  color: var(--text-secondary);
}

.btn-card-view:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

/* Sliding Side-Drawer Panel (Cart & Wishlist) */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(2px);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background-color: var(--bg-main);
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

.drawer-title {
  font-size: 1.3rem;
  font-weight: 600;
}

.btn-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--charcoal);
  transition: var(--transition-smooth);
}

.btn-drawer-close:hover {
  transform: rotate(90deg);
  color: var(--nykaa-pink);
}

.drawer-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
}

.drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-soft);
}

/* Cart Items Style */
.cart-empty,
.wishlist-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--text-secondary);
}

.cart-empty svg,
.wishlist-empty svg {
  margin-bottom: 16px;
  color: var(--border-hover);
}

.cart-item {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: var(--bg-soft);
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.cart-item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quantity-picker {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.btn-qty {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-qty:hover {
  background-color: var(--border-color);
}

.qty-val {
  padding: 0 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-item-price {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.btn-cart-remove {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-cart-remove:hover {
  color: var(--nykaa-pink);
}

/* Pricing Breakdown */
.pricing-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.pricing-row.total-row {
  border-top: 1px dashed var(--border-color);
  padding-top: 16px;
  margin-top: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
}

.btn-checkout {
  width: 100%;
  margin-top: 16px;
}

/* Wishlist View / Slide-out Styling */
.wishlist-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.wishlist-item-img-wrap {
  position: relative;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.wishlist-item-img-wrap .product-badge {
  top: 4px;
  left: 4px;
  font-size: 0.55rem;
  padding: 2px 5px;
  letter-spacing: 0.04em;
}

.wishlist-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.wishlist-item-info {
  flex-grow: 1;
}

.wishlist-item-name {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

.wishlist-item-price {
  font-weight: 600;
  font-size: 0.85rem;
}

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

.btn-wishlist-add-cart {
  background-color: var(--nykaa-pink-light);
  color: var(--nykaa-pink);
  border: none;
  padding: 6px 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-wishlist-add-cart:hover {
  background-color: var(--nykaa-pink);
  color: white;
}

/* Quick View Modal styling */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: var(--bg-main);
  width: 90%;
  max-width: 800px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-backdrop.active .modal-container {
  transform: scale(1);
}

.btn-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.btn-modal-close:hover {
  background-color: var(--nykaa-pink-light);
  border-color: var(--nykaa-pink);
  color: var(--nykaa-pink);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-img-wrap {
  width: 100%;
  height: 450px;
  background-color: var(--bg-soft);
  position: relative;  /* needed for offer-tag overlay */
  overflow: hidden;
}

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

.modal-details {
  padding: 36px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 450px;
}

.modal-name {
  font-size: 1.5rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.modal-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.modal-price-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-meta-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.meta-item label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.meta-select {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  background-color: white;
  outline: none;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.modal-actions .btn-primary {
  flex-grow: 1;
}

/* User Account and Login/Register Views */
.account-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-top: 20px;
}

.account-sidebar {
  background-color: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 24px;
}

.user-profile-summary {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.user-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--nykaa-pink-light);
  color: var(--nykaa-pink);
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border: 2px solid var(--nykaa-pink);
}

.user-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.user-email {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.account-menu {
  list-style: none;
}

.account-menu-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.account-menu-item.active button,
.account-menu-item button:hover {
  background-color: var(--nykaa-pink-light);
  color: var(--nykaa-pink);
  font-weight: 500;
}

.account-content-pane {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
}

.pane-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

/* Orders List */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.order-header-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.order-id {
  font-weight: 600;
}

.order-status {
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 20px;
}

.order-status.completed {
  background-color: #E2F9EB;
  color: #178A48;
}

.order-status.processing {
  background-color: #FFF2D6;
  color: #B27000;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.order-date {
  font-weight: normal;
  color: var(--text-secondary);
}

/* Minimalist Login & Register Layout */
.auth-wrapper {
  max-width: 420px;
  margin: 40px auto 60px;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-subtle);
}

.auth-title-wrap {
  text-align: center;
  margin-bottom: 24px;
}

.auth-title-wrap h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.auth-tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-secondary);
  position: relative;
  transition: var(--transition-smooth);
}

.auth-tab-btn.active {
  color: var(--nykaa-pink);
  font-weight: 600;
}

.auth-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--nykaa-pink);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  background-color: var(--bg-soft);
  outline: none;
}

.form-control:focus {
  border-color: var(--nykaa-pink);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(252, 39, 121, 0.08);
}

.btn-auth-submit {
  width: 100%;
  margin-top: 10px;
}

.wordpress-hint {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 16px;
}

.wordpress-hint svg {
  vertical-align: middle;
  margin-right: 4px;
  color: #21759b; /* WordPress Blue */
}

/* Checkout View */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  margin-top: 20px;
}

.checkout-section {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.checkout-section-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--nykaa-pink);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-option {
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.payment-option:hover,
.payment-option.active {
  border-color: var(--nykaa-pink);
  background-color: var(--nykaa-pink-light);
}

.payment-option input {
  accent-color: var(--nykaa-pink);
}

.checkout-order-summary {
  background-color: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  align-self: flex-start;
}

.checkout-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* Success View */
.success-card {
  text-align: center;
  max-width: 500px;
  margin: 60px auto;
  padding: 40px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #E2F9EB;
  color: #178A48;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.success-text {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* Footer Section */
footer {
  background-color: #1a1a1a;
  color: #a0a0a0;
  padding: 80px 0 40px;
  margin-top: 80px;
  font-size: 0.85rem;
  font-family: var(--font-sans);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col a {
  color: #a0a0a0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  display: inline-block;
  letter-spacing: 0.05em;
  text-decoration: none;
}

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

.newsletter-form {
  display: flex;
  margin-top: 20px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.newsletter-input {
  flex-grow: 1;
  background-color: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-right: none;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-input:focus {
  border-color: var(--nykaa-pink);
  background-color: #333333;
}

.newsletter-btn {
  background-color: var(--nykaa-pink);
  color: #ffffff;
  border: none;
  padding: 0 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
  background-color: #e01b65;
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #808080;
}

/* Toast System (Toast Alerts) */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background-color: var(--charcoal);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease-out forwards;
}

.toast.toast-success {
  border-left: 4px solid var(--nykaa-pink);
}

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

/* Responsiveness adjustments */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(2, 2fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }
  
  header {
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-links, 
  .header-actions .search-bar-container,
  .header-actions .action-btn[data-action="wishlist"],
  .header-actions .action-btn[data-action="account"] {
    display: none;
  }
  
  .mobile-bottom-nav {
    display: flex;
  }
  
  .view-section {
    padding-bottom: calc(var(--mobile-nav-height) + 40px);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .categories-grid {
    gap: 12px;
  }
  
  .category-card {
    height: 240px;
  }
  
  .hero-slider {
    height: 380px;
  }
  
  .hero-slide {
    padding: 0 30px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .brand-showcase-banner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 30px 20px;
  }
  
  .showcase-text {
    max-width: 100%;
  }
  
  .modal-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-img-wrap {
    height: 250px;
  }
  
  .modal-details {
    padding: 24px;
    max-height: 350px;
  }
  
  .checkout-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }
  
  .account-sidebar {
    margin-bottom: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .drawer {
    max-width: 100%;
    right: -100%;
  }
}

/* Password Visibility Wrapper */
.password-input-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.password-input-wrapper .form-control {
  padding-right: 44px !important;
  width: 100% !important;
}

button.eye-toggle {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  color: var(--text-secondary) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  z-index: 5 !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  border-radius: 50% !important;
}

button.eye-toggle:hover {
  background-color: rgba(252, 39, 121, 0.05) !important;
  color: var(--nykaa-pink) !important;
}

button.eye-toggle svg {
  stroke: currentColor !important;
  fill: none !important;
  width: 20px !important;
  height: 20px !important;
}

/* Auth View Text Buttons */
button.btn-text,
#btn-trigger-forgot,
#btn-back-to-login {
  background: transparent !important;
  border: none !important;
  color: var(--text-secondary) !important;
  cursor: pointer !important;
  font-size: 0.82rem !important;
  font-weight: normal !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: underline !important;
  display: inline-block !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  font-family: var(--font-sans) !important;
  transition: var(--transition-smooth) !important;
}

button.btn-text:hover,
#btn-trigger-forgot:hover,
#btn-back-to-login:hover {
  color: var(--nykaa-pink) !important;
}

/* Detailed Single Product View Layout */
.product-detail-wrap {
  margin-top: 20px;
}

.detail-breadcrumbs {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
}

.detail-breadcrumbs a {
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.detail-breadcrumbs a:hover {
  color: var(--nykaa-pink);
}

.btn-back-shop {
  margin-bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-back-shop:hover {
  color: var(--nykaa-pink);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

.product-gallery-pane {
  display: flex;
  gap: 16px;
  height: 580px;
}

.product-thumbnails-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 80px;
  flex-shrink: 0;
  overflow-y: auto;
}

.thumb-item {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  cursor: pointer;
  background-color: var(--bg-soft);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.thumb-item:hover,
.thumb-item.active {
  border-color: var(--nykaa-pink);
  box-shadow: 0 0 0 2px rgba(252, 39, 121, 0.15);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-main-img-wrap {
  flex-grow: 1;
  background-color: var(--bg-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
  height: 100%;
}

.product-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.15s ease;
}

.wishlist-toggle-detail {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: white;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 5;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.wishlist-toggle-detail:hover {
  transform: scale(1.05);
}

.wishlist-toggle-detail svg {
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 2;
  transition: var(--transition-smooth);
}

.wishlist-toggle-detail.active svg {
  fill: var(--nykaa-pink) !important;
  stroke: var(--nykaa-pink) !important;
}

/* Coupons Section */
.detail-coupons-section {
  margin: 24px 0;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
  padding: 20px 0;
}

.coupons-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.coupons-list {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  padding-left: 0;
}

.coupons-list li {
  position: relative;
  padding-left: 14px;
}

.coupons-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--nykaa-pink);
}

.coupon-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--nykaa-pink-light);
  border: 1px dashed var(--nykaa-pink);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  gap: 16px;
}

.coupon-info-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coupon-icon-wrap {
  color: var(--nykaa-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.coupon-desc {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.4;
  text-align: left;
}

.coupon-desc span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: block;
  font-weight: normal;
}

.btn-coupon-collect {
  background-color: white;
  color: var(--nykaa-pink);
  border: 1px solid var(--nykaa-pink);
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  outline: none;
  flex-shrink: 0;
}

.btn-coupon-collect:hover {
  background-color: var(--nykaa-pink);
  color: white;
}

.btn-coupon-collect.collected {
  background-color: #178A48 !important;
  color: white !important;
  border-color: #178A48 !important;
}

/* Shades Section */
.detail-shades-section {
  margin-bottom: 24px;
}

.shades-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.shades-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}

.shades-count {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.shades-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.shade-swatch {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
  background-size: cover;
  background-position: center;
}

.shade-swatch:hover,
.shade-swatch.active {
  border-color: var(--nykaa-pink);
  box-shadow: 0 0 0 2px rgba(252, 39, 121, 0.2);
}

.shade-swatch.active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 8px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: translate(-50%, -60%) rotate(-45deg);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.product-details-pane {
  display: flex;
  flex-direction: column;
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #FFB800; /* Gold Rating */
}

.detail-rating-count {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.product-detail-name {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.product-detail-cat {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.product-detail-price-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.product-detail-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--charcoal);
}

.product-detail-orig-price {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: var(--text-secondary);
}

.product-detail-discount {
  background-color: var(--nykaa-pink-light);
  color: var(--nykaa-pink);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.product-detail-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}

.detail-selectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.detail-actions-row {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.detail-actions-row .btn-primary {
  flex-grow: 1;
  font-size: 0.9rem;
  padding: 16px;
}

.btn-detail-wishlist {
  background-color: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.btn-detail-wishlist:hover {
  border-color: var(--nykaa-pink);
  color: var(--nykaa-pink);
  background-color: var(--nykaa-pink-light);
}

.btn-detail-wishlist.active {
  background-color: var(--nykaa-pink);
  color: white;
  border-color: var(--nykaa-pink);
}

.detail-info-specs {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.specs-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(0,0,0,0.02);
}

.specs-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.specs-val {
  color: var(--charcoal);
  font-weight: 600;
}

/* Related Products scroll feed */
.related-feed-container {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Footer accordion styles */
.accordion-arrow {
  display: none;
  transition: var(--transition-smooth);
}

/* Media Query overrides for mobile accordion and spacer cleanups */
@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-gallery-pane {
    height: 380px;
  }
  
  .product-detail-name {
    font-size: 1.8rem;
  }
  
  .detail-selectors {
    grid-template-columns: 1fr 1fr;
  }
  
  .related-feed-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  /* Footer Accordion layouts */
  .footer-grid {
    gap: 10px !important;
  }
  
  .accordion-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
  }
  
  .footer-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 0 !important;
  }
  
  .footer-accordion-header h3,
  .footer-accordion-header span {
    font-size: 0.95rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
  }
  
  .accordion-arrow {
    display: block;
    color: #999;
  }
  
  .footer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
  }
  
  .footer-col.active .footer-accordion-content {
    max-height: 250px;
    padding-top: 12px;
  }
  
  .footer-col.active .accordion-arrow {
    transform: rotate(180deg);
  }
  
  /* Spacer & spacing phone fixes */
  .view-section {
    padding-top: calc(var(--header-height) + 10px);
    padding-bottom: calc(var(--mobile-nav-height) + 20px);
  }
  
  .hero-slider {
    margin-bottom: 30px;
  }
}

/* ============================================
   MODERN QUANTITY COUNTER  (+/-)
   ============================================ */
.qty-counter {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border-color);
  border-radius: 50px;
  overflow: hidden;
  background: var(--bg-main);
  transition: var(--transition-smooth);
  width: fit-content;
}

.qty-counter:focus-within {
  border-color: var(--nykaa-pink);
  box-shadow: 0 0 0 3px rgba(252, 39, 121, 0.08);
}

.qty-counter-btn {
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--charcoal);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.qty-counter-btn:hover:not(:disabled) {
  background-color: var(--nykaa-pink-light);
  color: var(--nykaa-pink);
}

.qty-counter-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.qty-counter-val {
  min-width: 46px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  border-left: 1.5px solid var(--border-color);
  border-right: 1.5px solid var(--border-color);
  line-height: 42px;
  user-select: none;
}

/* ============================================
   DETAIL PAGE RATING ROW
   ============================================ */
.detail-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #178A48;
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.rating-count {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.rating-link {
  font-size: 0.82rem;
  color: var(--nykaa-pink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rating-link:hover {
  color: var(--nykaa-pink-hover);
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-section {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-color);
  margin-top: 60px;
}

.reviews-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 20px;
}

.reviews-title {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.reviews-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
}

.btn-write-review {
  flex-shrink: 0;
  padding: 10px 24px;
  font-size: 0.82rem;
}

/* Rating Summary Bar */
.rating-summary-bar {
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 28px 36px;
  margin-bottom: 40px;
}

.rating-big-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}

.big-score-num {
  font-size: 4rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 8px;
}

.big-score-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.big-score-total {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: center;
}

.rating-bars {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rbar-label {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  min-width: 28px;
}

.rbar-track {
  flex-grow: 1;
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.rbar-fill {
  height: 100%;
  background: linear-gradient(90deg, #F5A623, #f5c623);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.rbar-count {
  font-size: 0.78rem;
  color: var(--text-secondary);
  min-width: 20px;
  text-align: right;
}

/* Review Cards */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.review-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition-smooth);
  animation: fadeIn 0.4s ease-out both;
}

.review-card:hover {
  box-shadow: var(--shadow-subtle);
  border-color: var(--border-hover);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.reviewer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: linear-gradient(135deg, var(--nykaa-pink) 0%, #e01e63 100%);
}

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

.reviewer-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.reviewer-meta {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reviewer-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal);
}

.reviewer-date {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.review-stars {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.review-content {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.no-reviews {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Write Review Form */
.review-form-wrap {
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 20px;
  animation: fadeIn 0.3s ease-out;
}

.review-form-title {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.star-picker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.star-pick-label {
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.star-picker-stars {
  display: flex;
  gap: 4px;
}

.star-pick-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #ccc;
  transition: transform 0.15s ease;
  display: flex;
}

.star-pick-btn:hover {
  transform: scale(1.2);
}

.review-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.review-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .rating-summary-bar {
    flex-direction: column;
    gap: 24px;
    padding: 20px;
  }
  .review-form-row {
    grid-template-columns: 1fr;
  }
  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .star-picker {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .qty-counter-btn { width: 36px; height: 36px; }
  .qty-counter-val { min-width: 40px; line-height: 36px; }
}

/* ============================================
   COMPLEMENTARY PAIRINGS (RELATED PRODUCTS)
   ============================================ */
.complementary-section {
  background: #fbf8f9; /* Soft pinkish/white matching mockup */
  padding: 60px 40px;
  border-radius: 12px;
  margin-top: 60px;
}

.pairings-header {
  text-align: center;
  margin-bottom: 40px;
}

.pairings-title {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 700;
  margin-bottom: 6px;
}

.pairings-subtitle {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pairing-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  text-align: center;
  padding-bottom: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pairing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.pairing-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.pairing-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.pairing-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #c38491; /* Soft mauve/pink */
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.pairing-wishlist {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: white;
  border: 1px solid #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s;
  color: #ccc;
}

.pairing-wishlist:hover {
  border-color: #ddd;
}

.pairing-wishlist.active {
  color: var(--nykaa-pink);
}

.pairing-info {
  padding: 20px 20px 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pairing-category {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.pairing-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 12px;
  flex-grow: 1;
}

.pairing-price {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.pairing-original {
  font-size: 0.8rem;
  color: #aaa;
  text-decoration: line-through;
}

.pairing-current {
  font-size: 0.95rem;
  font-weight: 600;
  color: #c38491;
}

.btn-pairing-add {
  background: transparent;
  border: 1.5px solid #c38491;
  color: #c38491;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 12px 0;
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-pairing-add:hover {
  background: #c38491;
  color: white;
}

@media (max-width: 768px) {
  .complementary-section {
    padding: 40px 20px;
  }
}

/* ============================================
   SHOP SIDEBAR & GRID LAYOUT
   ============================================ */
.shop-mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.btn-mobile-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-mobile-filter:hover {
  background: var(--bg-soft);
}

.shop-layout-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}

.shop-sidebar {
  background: #fffcfd; /* light pinkish */
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.shop-sidebar-header {
  display: none; /* Only visible on mobile drawer */
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.shop-sidebar-header h3 {
  font-size: 1.2rem;
  color: var(--charcoal);
  font-weight: 600;
}

.btn-close-sidebar {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
}

.filter-widget {
  margin-bottom: 30px;
}

.filter-widget:last-child {
  margin-bottom: 0;
}

.filter-widget-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--nykaa-pink);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.search-input-wrap {
  position: relative;
}

.search-input-wrap input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 1px solid #e0d5d8;
  border-radius: 8px;
  font-size: 0.9rem;
  background: white;
}

.search-input-wrap .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
}

.filter-checkbox-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-checkbox-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.custom-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox {
  height: 18px;
  width: 18px;
  background-color: white;
  border: 1.5px solid #dcdcdc;
  border-radius: 4px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.custom-checkbox-label:hover input ~ .custom-checkbox {
  border-color: #c38491;
}

.custom-checkbox-label input:checked ~ .custom-checkbox {
  background-color: #c38491;
  border-color: #c38491;
}

.custom-checkbox::after {
  content: "";
  display: none;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.custom-checkbox-label input:checked ~ .custom-checkbox::after {
  display: block;
}

.filter-count {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.custom-price-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-input {
  position: relative;
  flex: 1;
}

.price-input span {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 0.85rem;
}

.price-input input {
  width: 100%;
  padding: 8px 10px 8px 24px;
  border: 1px solid #e0d5d8;
  border-radius: 6px;
  font-size: 0.9rem;
}

.price-sep {
  color: #999;
}

.shop-sidebar-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s;
}

@media (max-width: 992px) {
  .product-grid-header {
    display: none;
  }
  .shop-mobile-header {
    display: flex;
  }
  .shop-layout-container {
    grid-template-columns: 1fr;
  }
  
  .shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    z-index: 999;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  
  .shop-sidebar.active {
    transform: translateX(0);
  }
  
  .shop-sidebar-backdrop.active {
    display: block;
    opacity: 1;
  }
  
  .shop-sidebar-header {
    display: flex;
  }
}

/* ============================================
   ACCOUNT DASHBOARD: ADDRESS FORM
   ============================================ */
.address-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-top: 16px;
}

@media (max-width: 600px) {
  .address-form-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }
}

/* ============================================
   AWARD-WINNING HOME PAGE SECTIONS
   ============================================ */

/* 1. Value Proposition Bar */
.value-prop-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background-color: var(--pink-light);
  padding: 30px 40px;
  border-radius: var(--radius-md);
  margin-bottom: 60px;
  margin-top: -20px;
  box-shadow: 0 10px 30px rgba(220, 24, 91, 0.05);
  position: relative;
  z-index: 2;
}

.value-prop-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-main);
}

.value-prop-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.value-prop-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.value-prop-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 992px) {
  .value-prop-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .value-prop-bar {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

/* 2. Brand Story / Craftsmanship Section */
.brand-story-section {
  display: flex;
  align-items: center;
  gap: 60px;
  margin: 80px 0;
  background: var(--bg-main);
}

.brand-story-img-col {
  flex: 1;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.brand-story-img-col img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.brand-story-img-col:hover img {
  transform: scale(1.05);
}

.brand-story-text-col {
  flex: 1;
  padding-right: 40px;
}

.brand-story-text-col .showcase-tag {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 16px;
}

.brand-story-text-col .showcase-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-main);
}

.brand-story-text-col .showcase-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

@media (max-width: 992px) {
  .brand-story-section {
    flex-direction: column;
    gap: 40px;
  }
  .brand-story-text-col {
    padding-right: 0;
    text-align: center;
  }
  .brand-story-img-col img {
    height: 400px;
  }
}

/* 3. Testimonials Section */
.testimonials-section {
  margin: 80px 0;
  padding: 60px 0;
  background-color: #fafafa;
  border-radius: var(--radius-lg);
  text-align: center;
}

.testimonials-section .section-title-wrap {
  margin-bottom: 50px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 40px;
}

.testimonial-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-card .stars {
  color: #F5A623;
  font-size: 1.2rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.testimonial-card .review-text {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-card .reviewer-name {
  font-weight: 600;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

/* ============================================
   CATEGORY FLOW SECTIONS (HOME PAGE)
   ============================================ */

.category-flow-section {
  margin-bottom: 80px;
}

.category-banner-image {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
  .category-banner-image {
    height: 200px;
  }
}

/* Custom View All Card in Product Grid */
.view-all-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--nykaa-pink-ultra-light);
  border: 1px solid var(--nykaa-pink-light);
  border-radius: var(--radius-md);
  padding: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 350px;
}

.view-all-card:hover {
  background: var(--nykaa-pink-light);
  border-color: var(--nykaa-pink);
  color: var(--nykaa-pink);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
  .view-all-card {
    grid-column: 1 / -1;
    min-height: 60px;
    flex-direction: row;
    gap: 10px;
    padding: 15px;
  }
  .view-all-card .view-all-subtext {
    margin-top: 0;
  }
}

.view-all-text {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.view-all-subtext {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* NEW: Promo Banner Layout (User Requested) */
.promo-image-wrapper {
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* Gradient overlay to ensure white text is always perfectly readable over busy images */
.promo-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
  z-index: 1;
  pointer-events: none;
}

.promo-banner-img {
  width: 100%;
  aspect-ratio: 21 / 5; /* Creates a beautiful cinematic horizontal banner */
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .promo-banner-img {
    aspect-ratio: 21 / 9; /* Slightly taller on mobile for better text fit */
  }
}

.promo-banner-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  color: #ffffff;
  font-family: 'Inter', system-ui, sans-serif;
  z-index: 2;
}

.promo-banner-content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: #ffffff; /* Explicitly override global h2 color */
  text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.promo-banner-content p {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Ultra Modern WooCommerce Thank You Page */
.woocommerce-order {
  max-width: 800px;
  margin: 40px auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  padding: 40px;
  font-family: 'Inter', system-ui, sans-serif;
}

.woocommerce-order p.woocommerce-notice {
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
}

ul.woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  border: none;
}

ul.woocommerce-order-overview li {
  flex: 1;
  min-width: 150px;
  background: #fafafa;
  padding: 24px !important;
  border-radius: 12px;
  border: 1px solid #eaeaea !important;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #777;
  text-align: center !important;
  word-break: break-word;
  box-sizing: border-box;
}

ul.woocommerce-order-overview li strong {
  display: block;
  font-size: 1.1rem;
  color: #111;
  margin-top: 8px;
  text-transform: none;
  font-weight: 700;
  word-break: break-word;
}

.woocommerce-order-details {
  margin-bottom: 40px;
}

.woocommerce-order h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #111;
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: -0.02em;
  border: none;
}

table.shop_table.order_details {
  display: table !important;
  width: 100%;
  border-collapse: collapse !important;
  border: none !important;
  border-radius: 0;
}

table.shop_table.order_details thead,
table.shop_table.order_details tbody,
table.shop_table.order_details tfoot {
  display: table-row-group !important;
}

table.shop_table.order_details tr {
  display: table-row !important;
}

table.shop_table.order_details thead th {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding-bottom: 16px;
  border-bottom: 2px solid #eaeaea !important;
}

table.shop_table.order_details th,
table.shop_table.order_details td {
  display: table-cell !important;
  vertical-align: middle !important;
  padding: 16px 0;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  background: transparent !important;
}

table.shop_table.order_details th {
  text-align: left;
  font-weight: 600;
  color: #555;
}

table.shop_table.order_details th.product-total,
table.shop_table.order_details td {
  text-align: right;
  font-weight: 600;
  color: #111;
}

table.shop_table.order_details tbody th,
table.shop_table.order_details tbody td {
  border-bottom: 1px solid #f0f0f0 !important;
}

table.shop_table.order_details tbody td.woocommerce-table__product-name {
  text-align: left;
  font-weight: 500;
  color: #444;
}

table.shop_table.order_details tbody td.woocommerce-table__product-name strong.product-quantity {
  color: #111;
  font-weight: 700;
}

table.shop_table.order_details tfoot th {
  text-align: left;
  color: #666;
  border-bottom: 1px solid #f0f0f0 !important;
}

table.shop_table.order_details tfoot td {
  border-bottom: 1px solid #f0f0f0 !important;
}

.woocommerce-customer-details address {
  background: #fafafa;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #eaeaea;
  font-style: normal;
  line-height: 1.7;
  color: #444;
}

@media (max-width: 600px) {
  .woocommerce-order {
    padding: 24px;
  }
}

/* Premium Select Dropdown */
.premium-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.custom-select-wrapper {
  position: relative;
  width: 250px;
  max-width: 100%;
}

.custom-select-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c2c2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.premium-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding: 14px 40px 14px 16px;
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text-primary);
  background-color: var(--bg-soft);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.premium-select:hover {
  border-color: var(--nykaa-pink-light);
  background-color: var(--white);
}

.premium-select:focus {
  outline: none;
  border-color: var(--nykaa-pink);
  box-shadow: 0 0 0 4px rgba(252, 39, 121, 0.1);
  background-color: var(--white);
}

.header-container {
  position: relative;
  z-index: 2;
}

/* --- Background Layer for JS Animations --- */
.nav-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* --- Star Styles --- */
.star-wrapper {
  position: absolute;
  width: 14px;
  height: 14px;
  animation: twinkle 3s infinite ease-in-out alternate;
}
@keyframes twinkle {
  0% { transform: scale(0.6) rotate(0deg); opacity: 0.2; }
  100% { transform: scale(1.3) rotate(45deg); opacity: 0.9; }
}

/* --- Butterfly Styles --- */
.butterfly-wrapper {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 0;
  left: 0;
  will-change: transform; 
}

.wing {
  transform-origin: 0px 0px; 
  transform-box: view-box;
  -webkit-transform-origin: 0px 0px;
}
.left-wing {
  animation: flapLeft 0.35s infinite alternate ease-in-out;
}
.right-wing {
  animation: flapRight 0.35s infinite alternate ease-in-out;
  animation-delay: 0.15s; 
}

@keyframes flapLeft {
  0% { transform: scaleX(1); }
  100% { transform: scaleX(0.2); }
}
@keyframes flapRight {
  0% { transform: scaleX(-1); }
  100% { transform: scaleX(-0.2); }
}
