/* ============================================
   WIGLAND - Premium Wig Website Styles
   Modern, Elegant, Responsive Design
   ============================================ */

/* ========== CSS Variables ========== */
:root {
    --primary-color: #e91e63;
    --secondary-color: #f06292;
    --accent-color: #fce4ec;
    --rose-gold: #e8b4a0;
    --pink-light: #fff0f5;
    --pink-dark: #c2185b;
    --dark-color: #2c2c2c;
    --light-color: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --gradient-1: linear-gradient(135deg, #e91e63 0%, #f06292 50%, #e8b4a0 100%);
    --gradient-2: linear-gradient(135deg, #fff0f5 0%, #ffffff 50%, #fce4ec 100%);
    --gradient-rose: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 50%, #f48fb1 100%);
    --shadow-sm: 0 2px 10px rgba(233, 30, 99, 0.1);
    --shadow-md: 0 4px 20px rgba(233, 30, 99, 0.15);
    --shadow-lg: 0 10px 40px rgba(233, 30, 99, 0.2);
    --shadow-pink: 0 8px 30px rgba(233, 30, 99, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(180deg, #fff0f5 0%, #ffffff 50%, #fce4ec 100%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

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

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

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

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

/* ============================
   NAVIGATION BAR
============================ */

.navbar {
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 999;
  overflow: visible;
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo img {
  height: 60px;
}

/* Main nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-dropdown {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
}

.nav-menu a:hover {
  color: #c38b5f;
}

/* Dropdown toggle */
.nav-dropdown > a::after {
  content: " ▼";
  font-size: 11px;
}

.dropdown-arrow {
  font-size: 0.7rem;
}

/* Dropdown menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 520px;
  max-height: 80vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
  padding: 1.5rem 1.75rem;
  border-radius: 14px;
  list-style: none;
  z-index: 1000;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  pointer-events: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(195, 139, 95, 0.3) transparent;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  opacity: 0;
  visibility: hidden;
}

.dropdown-menu[style*="display: grid"],
.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover,
.nav-dropdown.dropdown-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu-single {
  grid-template-columns: 1fr;
  min-width: 220px;
}

.dropdown-category {
  list-style: none;
}

.dropdown-category > span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9a7a52;
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.dropdown-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-category ul li {
  margin-bottom: 0.5rem;
}

.dropdown-category ul li + li {
  margin-top: 0.25rem;
}

.dropdown-category ul li a {
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.9rem;
  padding: 0.5rem 0.8rem;
  display: block;
  transition: var(--transition);
  border-radius: 6px;
  cursor: pointer;
}

.dropdown-category ul li a:hover {
  color: #c38b5f;
  background: rgba(195, 139, 95, 0.1);
  padding-left: 1rem;
}

.dropdown-menu-single li a {
  color: var(--text-dark);
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.6rem 0.8rem;
  display: block;
  transition: var(--transition);
  border-radius: 6px;
  cursor: pointer;
}

.dropdown-menu-single li a:hover {
  color: #c38b5f;
  background: rgba(195, 139, 95, 0.1);
}

/* Submenu */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.submenu-arrow {
  font-size: 0.7rem;
}

.dropdown-submenu .submenu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 0.75rem;
  background: #fff;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  min-width: 180px;
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
  list-style: none;
  z-index: 1001;
  pointer-events: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(195, 139, 95, 0.3) transparent;
}

.dropdown-submenu:hover .submenu,
.dropdown-submenu .submenu:hover {
  display: block;
}

/* Bridge to keep submenu open when moving mouse */
.dropdown-submenu::after {
  content: '';
  position: absolute;
  top: 0;
  right: -0.75rem;
  width: 0.75rem;
  height: 100%;
  background: transparent;
  z-index: 1000;
}

.submenu li {
  margin-bottom: 0.4rem;
}

.submenu li a {
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.9rem;
  padding: 0.5rem 0.8rem;
  display: block;
  transition: var(--transition);
  border-radius: 6px;
}

.submenu li a:hover {
  color: #c38b5f;
  background: rgba(195, 139, 95, 0.1);
  padding-left: 1rem;
}

/* Hover behavior - keep dropdown open when hovering over nav item or dropdown */
.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover,
.nav-dropdown.dropdown-open .dropdown-menu {
  display: grid !important;
  opacity: 1;
  visibility: visible;
}

/* Custom scrollbar for dropdown */
.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(195, 139, 95, 0.3);
  border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(195, 139, 95, 0.5);
}

/* Bridge to prevent gap between nav item and dropdown */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.5rem;
  background: transparent;
  z-index: 999;
  pointer-events: none;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-icon,
.menu-toggle {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================
   MOBILE MENU
============================ */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #333;
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 900px) {
  .navbar {
    padding: 15px 20px;
  }

  .nav-container {
    padding: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 15px;
    width: 260px;
    padding: 25px;
    border-left: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: none;
  }

  .nav-menu.active,
  .nav-menu.open {
    display: flex;
  }

  .dropdown-menu,
  .dropdown-submenu .submenu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0 0.75rem;
    margin: 0;
    grid-template-columns: 1fr;
    display: none;
    min-width: auto;
  }

  .nav-dropdown.open > .dropdown-menu {
    display: block;
  }

  .nav-dropdown > a::after {
    content: "";
  }
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, #fff0f5 0%, #ffffff 30%, #fce4ec 70%, #fff0f5 100%);
    overflow: hidden;
    background-attachment: fixed;
}

.sparkle {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.sparkle-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.sparkle-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-title {
    font-size: 4rem;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 30%, #ff1493 60%, #ff69b4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(255, 20, 147, 0.2);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff1493 50%, #ff69b4 100%);
    color: var(--light-color);
    box-shadow: 0 6px 25px rgba(255, 20, 147, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 35px rgba(255, 20, 147, 0.5);
}

.btn-secondary {
    background: var(--light-color);
    color: #ff1493;
    border: 3px solid #ff1493;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff1493 100%);
    color: var(--light-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.4);
    border-color: transparent;
}

.hero-image {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(255, 20, 147, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
    background: linear-gradient(135deg, #fff0f5 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    border: 3px solid rgba(255, 182, 193, 0.3);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.03);
    box-shadow: 0 20px 60px rgba(255, 20, 147, 0.4);
}

.hero-image img {
    width: auto;
    height: 100%;
    max-width: 100%;
    min-height: 600px;
    object-fit: contain;
    object-position: center top;
    display: block;
    margin: 0 auto;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
}

/* ========== Section Styles ========== */
section {
    padding: 60px 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding: 2rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

.section-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.decoration-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #ff6b9d 50%, transparent 100%);
    border-radius: 2px;
}

.decoration-icon {
    font-size: 1.5rem;
}

/* ========== Model Showcase ========== */
.model-showcase {
    padding: 60px 2rem 180px;
    background: var(--light-color);
    position: relative;
    z-index: 10;
    margin-bottom: 0;
}

.model-slideshow-container {
    margin-top: 2rem;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-pink);
    z-index: 11;
}

.slideshow-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: var(--dark-color);
    z-index: 11;
}

.slideshow-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 85vh;
    min-height: 700px;
    max-height: 1000px;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: none;
}

.slide.active {
    display: block;
}

.slide-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #f5f5f5;
    padding: 2rem;
}

.slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

.slideshow-thumbnails {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.95);
    margin-top: -100px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 12;
}

.thumbnail {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    opacity: 0.7;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--primary-color);
    border-width: 4px;
    opacity: 1;
    box-shadow: var(--shadow-pink);
    transform: scale(1.1);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    background: #f5f5f5;
}

/* ========== Wigs Section ========== */
.wigs-section {
    padding: 60px 2rem;
    background: var(--light-color);
}

.selection-interface {
    margin-bottom: 3rem;
}

.search-sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.clear-search {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-select {
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-title {
    font-size: 1.5rem;
    color: var(--dark-color);
}

.results-counter {
    color: var(--text-light);
    font-weight: 500;
}

.wig-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    background: var(--light-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gradient-1);
    color: var(--light-color);
    border-color: transparent;
}

.filter-icon {
    font-size: 1.2rem;
}

.filter-count {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.3);
}

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

.wig-card {
    background: var(--light-color);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    position: relative;
    border: 2px solid transparent;
}

.wig-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-pink);
    border-color: var(--primary-color);
}

.wig-image {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
}

.wig-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transition: var(--transition);
}

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

.wig-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.9) 0%, rgba(240, 98, 146, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: var(--transition-slow);
    backdrop-filter: blur(5px);
    z-index: 2;
}

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

.quick-view,
.try-on-btn {
    padding: 0.8rem 1.5rem;
    background: var(--light-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.quick-view:hover,
.try-on-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.wig-info {
    padding: 1.5rem;
}

.wig-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.wig-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.add-to-cart {
    width: 100%;
    padding: 0.8rem;
    background: var(--gradient-1);
    color: var(--light-color);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========== Accessories Section ========== */
.accessories-section {
    padding: 60px 2rem;
    background: var(--light-color);
}

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

.accessory-card {
    background: var(--light-color);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    position: relative;
    border: 2px solid transparent;
}

.accessory-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-pink);
    border-color: var(--primary-color);
}

.accessory-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.accessory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.accessory-card:hover .accessory-image img {
    transform: scale(1.1);
}

.accessory-info {
    padding: 1.5rem;
}

.accessory-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.accessory-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ========== AI Try-On Section ========== */
.ai-tryon-section {
    padding: 60px 2rem;
    background: var(--gradient-2);
}

.tryon-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.tryon-controls {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.wig-selector select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.camera-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tryon-preview {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.video-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
}

#video, #canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tryon-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* ========== Featured Section ========== */
.featured-section {
    padding: 60px 2rem;
    background: var(--light-color);
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 240, 245, 0.95) 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid rgba(255, 182, 193, 0.2);
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.featured-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.featured-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.featured-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.1) 0%, rgba(255, 20, 147, 0.1) 100%);
    animation: float 6s ease-in-out infinite;
}

.deco-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.deco-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.deco-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

/* ========== Blog Section ========== */
.blog-section {
    padding: 60px 2rem;
    background: var(--light-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--light-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-card a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Full Blog Articles */
.blog-full-articles {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 182, 193, 0.3);
}

.blog-full-article {
    background: var(--light-color);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.blog-full-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 182, 193, 0.2);
}

.blog-full-header .blog-date {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-full-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.3;
}

.blog-full-content {
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.blog-full-content h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-full-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.blog-close-btn {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.blog-close-btn:hover {
    background: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========== TikTok Feed Section ========== */
.tiktok-feed-section {
    padding: 60px 2rem;
    background: var(--light-color);
}

.social-feed-container {
    margin-top: 2rem;
}

.social-embeds-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: start;
}

.tiktok-embed-wrapper,
.instagram-embed-wrapper {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

.embed-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    text-align: center;
}

.tiktok-embed-wrapper iframe,
.tiktok-embed-wrapper blockquote {
    max-width: 100%;
    width: 100%;
}

.instagram-embed-wrapper .instagram-media {
    max-width: 100%;
    width: 100%;
}

/* ========== Testimonials Section ========== */
.testimonials-section {
    padding: 60px 2rem;
    background: var(--gradient-2);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.testimonial-product {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ========== FAQ Section ========== */
.faq-section {
    padding: 60px 2rem;
    background: var(--light-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 2rem;
}

.faq-item {
    background: var(--light-color);
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(233, 30, 99, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== Contact Section ========== */
.contact-section {
    padding: 60px 2rem;
    background: var(--light-color);
}

.contact-grid {
    max-width: 800px;
    margin: 1.5rem auto 0;
}

.contact-info {
    text-align: center;
    background: var(--light-color);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-details {
    margin: 2rem 0;
}

.contact-details p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

/* ========== Newsletter Section ========== */
.newsletter-section {
    padding: 60px 2rem;
    background: var(--gradient-rose);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ========== Footer ========== */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.footer-section h3 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var(--transition);
    font-size: 0.95rem;
}

.social-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* ========== Modal ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--light-color);
    padding: 3rem;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

/* ========== WhatsApp Float ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-text {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ========== Animations ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInNotification {
    from {
        transform: translateX(400px) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideOutNotification {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateX(400px) scale(0.8);
        opacity: 0;
    }
}

@keyframes cardHover {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.03); }
    100% { transform: translateY(-10px) scale(1.02); }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Animation pause on scroll */
body.scrolling *,
body.scrolling *::before,
body.scrolling *::after {
    animation-play-state: paused !important;
}

body.scrolling .wig-card,
body.scrolling .accessory-card,
body.scrolling .featured-card {
    animation-play-state: paused !important;
}

body.scrolling .hero,
body.scrolling .model-showcase,
body.scrolling .wigs-section,
body.scrolling .accessories-section,
body.scrolling .parallax,
body.scrolling .floating {
    animation-play-state: paused !important;
}

/* ========== Responsive Design ========== */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .tryon-container {
        grid-template-columns: 1fr;
    }
}

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

    .hero {
        padding: 100px 1rem 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .wigs-grid,
    .accessories-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .wig-image {
        height: 400px;
    }

    .search-sort-bar {
        flex-direction: column;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .tryon-features {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .social-embeds-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        padding: 0.5rem;
    }

    .whatsapp-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .slideshow-track {
        height: 65vh;
        min-height: 550px;
        max-height: 750px;
    }
    
    .slide-image-wrapper {
        padding: 1rem;
    }

    .thumbnail {
        width: 80px;
        height: 80px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .wig-image {
        height: 350px;
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}
