/* ===========================
   Be You - Main Styles
   Boho Chic Design System
   =========================== */

/* Root Variables */
:root {
  /* Rosa Nude Palette */
  --rosa-nude: #FAE8E0;
  --rosa-blush: #F5D5CC;
  --rosa-light: #FFF0E8;
  
  /* Gold Foil Metallic */
  --gold-base: #D4A574;
  --gold-bright: #E8C4A0;
  --gold-shadow: #B8935F;
  --gold-dark: #9B7B4A;
  
  /* Neutral Colors */
  --ivory: #FFF8F3;
  --sand: #E8D5C4;
  --white: #FFFFFF;
  
  /* Text Colors */
  --text-dark: #5A4A42;
  --text-medium: #8B7A72;
  --text-light: #A69B95;
  
  /* Fonts */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  --font-script: 'Dancing Script', cursive;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 5rem;
  
  /* Transitions */
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(250, 232, 224, 0.3);
  --shadow-md: 0 8px 16px rgba(212, 165, 116, 0.15);
  --shadow-lg: 0 12px 24px rgba(250, 232, 224, 0.8);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--rosa-nude);
  position: relative;
  overflow-x: hidden;
}

/* Background Texture */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at top right, transparent 30%, rgba(212, 165, 116, 0.03) 70%),
    radial-gradient(ellipse at bottom left, rgba(245, 213, 204, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--gold-bright);
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--rosa-nude);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

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

.loading-logo {
  width: 200px;
  height: 80px;
  margin-bottom: 2rem;
}

.logo-text-loading {
  font-family: var(--font-script);
  font-size: 48px;
  fill: url(#goldGradient);
  animation: shimmer 2s infinite;
}

.loading-bar {
  width: 120px;
  height: 2px;
  background: var(--sand);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-base), var(--gold-bright));
  animation: loadingBar 1.5s infinite;
}

@keyframes loadingBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100px; /* Reduciendo altura para mejor proporción */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(250, 232, 224, 0.5);
  z-index: 1000;
  transition: var(--transition-base);
}

.navbar.scrolled {
  height: 90px; /* Ajustado proporcionalmente */
  box-shadow: 0 4px 30px rgba(212, 165, 116, 0.15);
}

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

.nav-logo {
  height: 100%; /* Usar altura completa del navbar */
  display: flex;
  align-items: center;
}

/* Logo con imagen PNG */
.logo-png {
  height: 45px; /* Tamaño optimizado para alineación */
  width: auto;
  display: block;
  cursor: pointer;
  transition: var(--transition-base);
  margin-top: 0;
  vertical-align: middle;
}

.logo-png:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Logo SVG como fallback */
.logo-svg {
  height: 100%;
  width: 120px;
}

.logo-text {
  font-family: var(--font-script);
  font-size: 32px;
  fill: var(--gold-base);
  filter: drop-shadow(0 2px 4px rgba(212, 165, 116, 0.2));
}

/* SVG Gradient Definition */
svg {
  overflow: visible;
}

svg defs {
  position: absolute;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-base), var(--gold-bright));
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

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

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

/* Navigation Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--sand);
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
}

.nav-icon-btn:hover {
  border-color: var(--gold-base);
  background: var(--rosa-light);
  transform: translateY(-2px);
}

.nav-icon-btn .icon {
  width: 20px;
  height: 20px;
  stroke: var(--text-medium);
  stroke-width: 1.5;
  transition: var(--transition-base);
}

.nav-icon-btn:hover .icon {
  stroke: var(--gold-base);
}

.cart-btn .cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--gold-base);
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: var(--transition-base);
}

.cart-btn .cart-count.active {
  opacity: 1;
  transform: scale(1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--sand);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: var(--transition-base);
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 100px; /* Ajustado a nueva altura navbar */
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: calc(100vh - 100px); /* Ajustado a nueva altura navbar */
  background: var(--rosa-nude);
  border-left: 1px solid var(--gold-base);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  padding: 2rem;
}

.mobile-link {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(212, 165, 116, 0.2);
  font-size: 1rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-base);
}

.mobile-link:hover {
  color: var(--gold-base);
  padding-left: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px; /* Ajustado para navbar de 100px */
  overflow: hidden;
  background: var(--rosa-nude);
}

.hero-texture {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, transparent 30%, rgba(245, 213, 204, 0.3) 70%),
    radial-gradient(circle at 80% 20%, rgba(212, 165, 116, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero-content {
  padding: 2rem 0;
}

.hero-logo {
  margin-bottom: 2.5rem;
}

/* Logo PNG en Hero */
.hero-logo-png {
  width: 200px;
  height: auto;
  display: block;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(212, 165, 116, 0.3));
}

/* Logo SVG como fallback */
.hero-logo-svg {
  width: 200px;
  height: 80px;
}

.hero-logo-text {
  font-family: var(--font-script);
  font-size: 56px;
  fill: url(#heroGradient);
  filter: drop-shadow(0 4px 8px rgba(212, 165, 116, 0.3));
  animation: float 6s ease-in-out infinite;
}

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

.hero-phrase {
  display: flex;
  flex-direction: column;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.phrase-top {
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.phrase-bottom {
  font-family: var(--font-script);
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--gold-base), var(--gold-bright), var(--gold-base));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s ease infinite;
}

@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-description {
  font-size: 1rem;
  color: var(--text-medium);
  margin-bottom: 3rem;
  max-width: 450px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-image-container {
  position: relative;
  border-radius: 200px 200px 0 200px;
  overflow: hidden;
  animation: morphShape 15s ease-in-out infinite;
}

@keyframes morphShape {
  0%, 100% { border-radius: 200px 200px 0 200px; }
  33% { border-radius: 200px 0 200px 200px; }
  66% { border-radius: 0 200px 200px 200px; }
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(245, 213, 204, 0.2), transparent);
  z-index: 1;
}

.hero-image-frame {
  position: relative;
  padding: 1rem;
}

.hero-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center top;
  filter: brightness(1.05) contrast(0.95);
  border-radius: inherit;
}

.frame-decoration {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid var(--gold-base);
}

.frame-decoration.top-left {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.frame-decoration.top-right {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.frame-decoration.bottom-left {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.frame-decoration.bottom-right {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-text {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.5rem;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  border-right: 2px solid var(--gold-base);
  border-bottom: 2px solid var(--gold-base);
  transform: rotate(45deg);
  animation: scrollArrow 1.5s infinite;
}

@keyframes scrollArrow {
  0% { opacity: 0; transform: rotate(45deg) translateY(-10px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: rotate(45deg) translateY(10px); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: transparent;
  border: 1px solid var(--gold-base);
  color: var(--gold-base);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gold-base), var(--gold-bright));
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(212, 165, 116, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold-base);
  color: var(--gold-base);
  margin: 3rem auto 0;
  display: flex;
}

.btn-outline:hover {
  background: rgba(212, 165, 116, 0.1);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

/* WhatsApp Button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 14px 32px;
  margin-top: 1.5rem;
  background: white;
  color: #25d366;
  border: 2px solid #25d366;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp:hover {
  background: #25d366;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover .whatsapp-icon {
  fill: white;
}

.btn-whatsapp .whatsapp-icon {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
  min-width: 20px !important;
  max-width: 20px !important;
  fill: #25d366;
  vertical-align: middle;
  margin: 0;
  display: inline-block;
}

.btn-whatsapp span {
  color: #25d366;
  text-transform: uppercase;
  font-size: 0.875rem;
  line-height: 20px;
  font-weight: 500;
  vertical-align: middle;
  letter-spacing: 0.1em;
}

.btn-whatsapp:hover span {
  color: white;
}

@media (max-width: 768px) {
  .btn-whatsapp {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
  }
  
  .btn-whatsapp span {
    font-size: 0.85rem;
    line-height: 18px;
  }
  
  .btn-whatsapp .whatsapp-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
  }
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-base), var(--gold-bright));
  border: none;
  color: white;
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.section:nth-child(even) {
  background: var(--ivory);
}

.section:nth-child(odd) {
  background: var(--rosa-nude);
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.section-title {
  font-size: 2.625rem;
  color: var(--text-dark);
  position: relative;
  text-align: center;
  margin: 0 auto;
  display: block;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--text-medium);
  margin: 0.5rem auto 2rem;
  display: block;
  width: 100%;
}

.decorative-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-base), transparent);
}

.ornament {
  font-size: 1.5rem;
  color: var(--gold-base);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-base);
  position: relative;
}

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

.product-card.featured {
  border: 1px solid var(--gold-base);
  transform: scale(1.05);
}

.product-image-container {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: var(--rosa-light);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 4px 12px;
  background: rgba(250, 232, 224, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-base);
  border-radius: 20px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-base);
  z-index: 2;
}

.product-badge.gold {
  background: linear-gradient(135deg, var(--gold-base), var(--gold-bright));
  border: none;
  color: white;
}

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

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

.product-card:hover .product-image {
  transform: scale(1.05);
  opacity: 0;
}

.product-card:hover .product-image-hover {
  opacity: 1;
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.product-card:hover .product-overlay {
  transform: translateY(0);
}

.product-action {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold-base);
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
}

.product-action:hover {
  background: var(--gold-base);
  transform: scale(1.1);
}

.product-action svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold-base);
  stroke-width: 1.5;
  fill: none;
}

.product-action:hover svg {
  stroke: white;
}

.product-info {
  padding: 1.25rem;
  text-align: center;
}

.product-category {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-base);
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0.5rem 0;
  color: var(--text-dark);
}

.product-price {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-medium);
  margin-bottom: 1rem;
}

.product-line {
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-base), transparent);
  margin: 0 auto;
}

/* Accessories Section */
.accesorios {
  position: relative;
  overflow: hidden;
}

.accessories-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-base);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--gold-base);
}

.tab-btn.active::after {
  transform: scaleX(1);
}

.tab-icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

/* Accessories Slider */
.accessories-slider {
  position: relative;
  overflow: hidden;
  padding: 0 3rem;
  margin-bottom: 2rem;
  max-width: 100%;
}

.slider-container {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 1;
}

.accessory-card {
  flex: 0 0 calc(25% - 1.125rem);
  background: white;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-base);
}

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

.accessory-image-container {
  position: relative;
  height: 280px;
  background: var(--rosa-light);
  overflow: hidden;
}

.material-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 2px 8px;
  background: var(--gold-base);
  color: white;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  z-index: 2;
}

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

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

.accessory-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.accessory-action {
  padding: 0.75rem 1.5rem;
  background: white;
  border: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-base);
}

.accessory-action:hover {
  background: var(--gold-base);
  color: white;
}

.accessory-info {
  padding: 1rem;
  text-align: center;
}

.accessory-category {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-base);
}

.accessory-name {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0.25rem 0;
  color: var(--text-dark);
}

.accessory-price {
  font-size: 0.875rem;
  color: var(--text-medium);
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold-base);
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  z-index: 2;
}

.slider-btn:hover {
  background: var(--gold-base);
  transform: translateY(-50%) scale(1.1);
}

.slider-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold-base);
  stroke-width: 2;
}

.slider-btn:hover svg {
  stroke: white;
}

.slider-btn.prev {
  left: 0;
}

.slider-btn.next {
  right: 0;
}

/* Estilo Be You Section */
.estilo-beyou {
  position: relative;
  overflow: hidden;
}

.estilo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.estilo-text {
  position: relative;
  z-index: 2;
}

.estilo-title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.estilo-paragraph {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.estilo-values {
  margin: 2rem 0;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.value-icon {
  color: var(--gold-base);
  font-size: 1.25rem;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.5; transform: rotate(0deg); }
  50% { opacity: 1; transform: rotate(180deg); }
}

.value-text {
  font-size: 0.9375rem;
  color: var(--text-dark);
}

.estilo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-base);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  transition: var(--transition-base);
}

.estilo-link:hover {
  gap: 1rem;
}

.link-arrow {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.estilo-visual {
  position: relative;
  z-index: 1;
  overflow: hidden; /* IMPORTANTE: Evita que la imagen se salga del contenedor */
  max-height: 600px; /* Limita la altura máxima */
}

.estilo-image-container {
  position: relative;
  padding: 2rem;
  background: transparent;
  height: 100%;
  overflow: hidden; /* Doble seguridad contra overflow */
}

.estilo-image {
  width: 100%;
  height: 500px;
  max-height: 500px; /* Altura máxima fija */
  object-fit: cover;
  border-radius: 8px;
  filter: brightness(1.05);
  position: relative;
  z-index: 1;
  display: block; /* Asegura que no haya espacios fantasma */
}

.estilo-frame {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 2;
}

.frame-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--gold-base);
}

.frame-corner.top-left {
  top: 1rem;
  left: 1rem;
  border-right: none;
  border-bottom: none;
}

.frame-corner.top-right {
  top: 1rem;
  right: 1rem;
  border-left: none;
  border-bottom: none;
}

.frame-corner.bottom-left {
  bottom: 1rem;
  left: 1rem;
  border-right: none;
  border-top: none;
}

.frame-corner.bottom-right {
  bottom: 1rem;
  right: 1rem;
  border-left: none;
  border-top: none;
}

/* Lookbook Section */
.lookbook-title {
  font-family: var(--font-script);
  font-size: 2.25rem;
  text-align: center;
  background: linear-gradient(135deg, var(--gold-base), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 auto 0.5rem;
  display: block;
}

.lookbook-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--text-medium);
  margin: 0 auto 3rem;
  display: block;
}

.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 250px);
  gap: 1rem;
  margin-bottom: 3rem;
}

.lookbook-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.lookbook-item[data-area="a"] {
  grid-column: span 2;
  grid-row: span 2;
}

.lookbook-item[data-area="c"] {
  grid-row: span 2;
}

.lookbook-item[data-area="d"] {
  grid-row: span 2;
}

.lookbook-item[data-area="e"] {
  grid-column: span 2;
}

.lookbook-item[data-area="g"] {
  grid-column: span 2;
}

.lookbook-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.lookbook-item.tall {
  grid-row: span 2;
}

.lookbook-item.wide {
  grid-column: span 2;
}

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

.lookbook-item:hover .lookbook-image {
  transform: scale(1.1);
}

.lookbook-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lookbook-item:hover .lookbook-overlay {
  opacity: 1;
}

.lookbook-text {
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.share-btn {
  width: 32px;
  height: 32px;
  border: 1px solid white;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
}

.share-btn:hover {
  background: white;
  transform: scale(1.1);
}

.share-btn svg {
  width: 16px;
  height: 16px;
  stroke: white;
  stroke-width: 1.5;
}

.share-btn:hover svg {
  stroke: var(--text-dark);
}

/* Gallery Section */
.gallery {
  padding: 4rem 0;
  background: var(--rosa-nude);
}

/* Gallery Section Titles */
.gallery .section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.gallery .section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.gallery .section-subtitle {
  text-align: center;
  margin-top: 0;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

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

/* Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, var(--rosa-nude), var(--ivory));
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.newsletter-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.newsletter-content {
  text-align: center;
  background: white;
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 8px;
  padding: 4rem 3rem;
  position: relative;
}

.newsletter-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter-subtitle {
  font-size: 1rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--sand);
  border-radius: 4px;
  font-size: 0.875rem;
  transition: var(--transition-base);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--gold-base);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.newsletter-disclaimer {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 1rem;
}

.newsletter-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--rosa-light);
  border-radius: 4px;
  margin-top: 2rem;
}

.newsletter-success.active {
  display: flex;
}

.success-icon {
  width: 24px;
  height: 24px;
  stroke: var(--gold-base);
  stroke-width: 2;
}

.newsletter-decoration {
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  pointer-events: none;
}

.decoration-circle {
  width: 200px;
  height: 200px;
  border: 1px solid rgba(212, 165, 116, 0.1);
  border-radius: 50%;
  position: absolute;
}

.decoration-circle:nth-child(2) {
  width: 150px;
  height: 150px;
  top: 25px;
  left: 25px;
}

.decoration-circle:nth-child(3) {
  width: 100px;
  height: 100px;
  top: 50px;
  left: 50px;
  background: rgba(212, 165, 116, 0.03);
}

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

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo-svg {
  width: 120px;
  height: 40px;
  margin-bottom: 1rem;
}

.footer-logo-text {
  font-family: var(--font-script);
  font-size: 32px;
  fill: var(--gold-base);
}

.footer-phrase {
  font-family: var(--font-script);
  font-size: 1rem;
  color: var(--gold-bright);
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold-base);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.social-link:hover {
  background: var(--gold-base);
  transform: translateY(-4px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-bright);
  stroke-width: 1.5;
  fill: none;
}

.social-link:hover svg {
  stroke: white;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--gold-bright);
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--rosa-light);
  font-size: 0.875rem;
  transition: var(--transition-base);
}

.footer-links a:hover {
  color: var(--gold-bright);
  padding-left: 0.5rem;
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--rosa-light);
}

.contact-icon {
  width: 16px;
  height: 16px;
  stroke: var(--gold-bright);
  stroke-width: 1.5;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 165, 116, 0.2);
  padding: 1.5rem 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .accessory-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-visual {
    margin-top: 2rem;
  }
  
  .hero-image {
    height: 400px;
    object-position: center 25%;
  }
  
  .estilo-content {
    grid-template-columns: 1fr;
  }
  
  .lookbook-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(auto-fit, 200px);
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .nav-menu {
    display: none;
  }
  
  .nav-actions .nav-icon-btn:not(.cart-btn) {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.375rem; }
  
  /* Hero */
  .hero-logo-text {
    font-size: 40px;
  }
  
  .phrase-bottom {
    font-size: 2rem;
  }
  
  /* Products */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .accessory-card {
    flex: 0 0 calc(50% - 0.5rem);
  }
  
  /* Sections */
  .section {
    padding: 3rem 0;
  }
  
  .section-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .accessory-card {
    flex: 0 0 100%;
  }
  
  /* Newsletter */
  .form-group {
    flex-direction: column;
  }
  
  .newsletter-input,
  .btn-gold {
    width: 100%;
  }
  
  /* Lookbook */
  .lookbook-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(auto-fit, 250px);
  }
  
  .lookbook-item[data-area="a"],
  .lookbook-item[data-area="c"],
  .lookbook-item[data-area="d"],
  .lookbook-item[data-area="e"],
  .lookbook-item[data-area="g"] {
    grid-column: 1;
    grid-row: span 1;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .mobile-menu,
  .hero-scroll-indicator,
  .newsletter,
  .footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}