/* ==========================================================================
   DESIGN SYSTEM - LUZ DE PAPEL
   Premium Vintage Editorial / Magazine Style
   Colors: Silk Champagne, Rose Gold, Warm Parchment, Dark Leather, Sepia
   ========================================================================== */

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

:root {
  /* Color Palette (Refined Champagne & Rose Gold, Minimal Yellow Gold) */
  --bg-light: #FAF6F0;        /* Silk Champagne Light Background */
  --bg-parchment: #F5ECE1;    /* Warm Vintage Parchment */
  --bg-dark: #1E1713;         /* Deep Aged Leather Background */
  --bg-dark-sepia: #2D231E;   /* Moody Dark Sepia */
  
  --text-dark: #2D231E;       /* Main Sepia text */
  --text-muted: #6B5B52;      /* Muted Warm Brown */
  --text-light: #FAF6F0;      /* Muted light text */
  
  --coral-accent: #E07A5F;    /* Warm Coral highlight from manual */
  --botanical-accent: #81B29A;/* Soft Ancient Aqua/Green from manual */
  
  /* Gradients */
  --rose-gold: linear-gradient(135deg, #ECC8BE 0%, #D8A090 50%, #B8796B 100%);
  --champagne-gold: linear-gradient(135deg, #F3E7DC 0%, #D5C2B1 50%, #B9A593 100%);
  
  /* Shadows & Borders */
  --border-champagne: 1px solid rgba(213, 194, 177, 0.4);
  --border-rose-gold: 1px solid rgba(216, 160, 144, 0.4);
  --shadow-premium: 0 15px 35px rgba(45, 35, 30, 0.08);
  --shadow-dark: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-dark);
}

p {
  font-weight: 300;
  font-size: 0.95rem;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: #D8A090;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B8796B;
}

/* ==========================================================================
   UTILITY CLASSES & TYPOGRAPHY
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.rose-gold-text {
  background: var(--rose-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.champagne-text {
  background: var(--champagne-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.editorial-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #D8A090;
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.serif-italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
}

/* Premium Buttons - Resized (Small) & Soft Rounded Borders (4px) */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 4px;
}

.btn-rose-gold {
  background: var(--rose-gold);
  color: #fff;
  box-shadow: 0 4px 12px rgba(216, 160, 144, 0.2);
}

.btn-rose-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(216, 160, 144, 0.4);
}

.btn-rose-gold::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: none;
}

.btn-rose-gold:hover::after {
  left: 150%;
  transition: left 0.8s ease;
}

.btn-outline-champagne {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid #D5C2B1;
}

.btn-outline-champagne:hover {
  background: rgba(213, 194, 177, 0.15);
  border-color: #B9A593;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-champagne);
  transition: all 0.4s ease;
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-premium);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: height 0.4s ease;
}

header.scrolled .nav-container {
  height: 60px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.nav-brand img {
  height: 50px;
  object-fit: contain;
  transition: height 0.4s ease;
  mix-blend-mode: multiply;
}

header.scrolled .nav-brand img {
  height: 40px;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--rose-gold);
  transition: width 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-trigger {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon-svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--text-dark);
  stroke-width: 1.5;
  transition: stroke 0.3s ease;
}

.cart-trigger:hover .cart-icon-svg {
  stroke: #D8A090;
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--rose-gold);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 90vh;
  padding-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(245, 236, 225, 0.4) 0%, rgba(250, 246, 240, 0.8) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.hero-logo {
  max-width: 380px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 10px 20px rgba(45,35,30,0.06));
}

.hero-tagline {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-subtag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 5.5rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.7;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-arrow {
  stroke: var(--text-muted);
  animation: bounce 2s infinite ease-in-out;
}


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

/* ==========================================================================
   BIOGRAPHY SECTION ("La Luz en el Papel")
   ========================================================================== */
.biography {
  padding: 8rem 0;
  background-color: var(--bg-parchment);
  position: relative;
  border-bottom: var(--border-champagne);
}

.biography-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}

.biography-image-wrapper {
  position: relative;
}

.biography-image-frame {
  border: 1px solid rgba(216, 160, 144, 0.4);
  padding: 15px;
  background: #fff;
  box-shadow: var(--shadow-premium);
  position: relative;
}

.biography-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  filter: sepia(10%) contrast(98%);
  transition: transform 0.8s ease;
}

.biography-image-wrapper:hover .biography-img {
  transform: scale(1.02);
}

.biography-frame-accent {
  position: absolute;
  border: 1px solid rgba(213, 194, 177, 0.6);
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  pointer-events: none;
  z-index: 1;
}

.biography-content {
  display: flex;
  flex-direction: column;
}

.biography-title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.biography-text {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.biography-quote {
  font-size: 1.35rem;
  line-height: 1.6;
  border-left: 2px solid #D8A090;
  padding-left: 1.5rem;
  margin: 1.5rem 0 2rem 0;
  color: var(--text-dark);
}

/* ==========================================================================
   MUSEUM SECTION (Stacked Deck Gallery)
   ========================================================================== */
.museum {
  padding: 8rem 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-bottom: var(--border-champagne);
}

.museum h2, .museum h3 {
  color: var(--text-light);
}

.museum-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.museum-deck-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 520px;
}

.museum-deck {
  position: relative;
  width: 360px;
  height: 480px;
  perspective: 1200px;
}

.museum-card {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  border: 10px solid #fff;
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  border-radius: 2px;
}

.museum-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Interactive stacked position classes applied via JS */
.museum-card.stack-1 {
  transform: translateZ(0) rotate(-4deg);
  z-index: 10;
  opacity: 1;
}

.museum-card.stack-2 {
  transform: translateZ(-30px) translateY(-15px) rotate(3deg);
  z-index: 9;
  opacity: 0.8;
}

.museum-card.stack-3 {
  transform: translateZ(-60px) translateY(-30px) rotate(-1deg);
  z-index: 8;
  opacity: 0.6;
}

.museum-card.stack-4 {
  transform: translateZ(-90px) translateY(-45px) rotate(2deg);
  z-index: 7;
  opacity: 0.4;
}

.museum-card:hover.stack-1 {
  transform: translateZ(20px) translateY(-10px) rotate(-2deg);
}


.museum-desc-box {
  background: var(--bg-dark-sepia);
  border: var(--border-champagne);
  padding: 3rem;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  position: relative;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.museum-desc-box::before {
  content: '';
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  border: 1px solid rgba(213, 194, 177, 0.15);
  pointer-events: none;
}

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

.museum-desc-meta {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #D8A090;
  margin-bottom: 1.5rem;
  display: block;
}

.museum-desc-text {
  color: #c9bcaf;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.museum-desc-spec {
  list-style: none;
  font-size: 0.85rem;
  border-top: 1px solid rgba(213, 194, 177, 0.15);
  padding-top: 1.5rem;
}

.museum-desc-spec li {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.museum-desc-spec span {
  font-weight: 500;
  color: var(--text-light);
}

/* ==========================================================================
   ATELIER STORE SECTION
   ========================================================================== */
.store {
  padding: 8rem 0;
  background-color: var(--bg-light);
}

.store-header {
  max-width: 700px;
  margin: 0 auto 5rem auto;
  text-align: center;
}

.store-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.product-card {
  background: #fff;
  border: var(--border-champagne);
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: #D8A090;
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background-color: var(--bg-parchment);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Borderless radial fade effect option */
.fade-blend {
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  filter: contrast(102%) brightness(98%);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--bg-light);
  border: 1px solid #D5C2B1;
  padding: 4px 10px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  z-index: 10;
}

.product-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 500;
  color: #D8A090;
  margin-bottom: 1rem;
}

.product-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Product configuration options */
.product-options {
  border-top: 1px solid rgba(213, 194, 177, 0.2);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
}

.option-group {
  margin-bottom: 0.75rem;
}

.option-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.35rem;
}

.option-select {
  width: 100%;
  padding: 8px 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  background-color: var(--bg-light);
  border: 1px solid #D5C2B1;
  border-radius: 0;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.option-select:focus {
  border-color: #D8A090;
}

/* ==========================================================================
   EVENTS SECTION
   ========================================================================== */
.events {
  padding: 8rem 0;
  background-color: var(--bg-parchment);
  border-top: var(--border-champagne);
  border-bottom: var(--border-champagne);
}

.events-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.events-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.event-article {
  background: #fff;
  border: var(--border-champagne);
  padding: 3rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.event-article::before {
  content: '';
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  border: 1px solid rgba(213, 194, 177, 0.2);
  pointer-events: none;
}

.event-img-wrapper {
  width: 100%;
  height: 280px;
  overflow: hidden;
  margin-bottom: 2rem;
  position: relative;
}

.event-double-images {
  display: flex;
  gap: 10px;
}

.event-double-images .event-img {
  width: calc(50% - 5px) !important;
  height: 100%;
  object-fit: cover;
}

.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.event-article:hover .event-img {
  transform: scale(1.03);
}

.event-date {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #D8A090;
  margin-bottom: 0.75rem;
  display: block;
}

.event-title {
  font-size: 1.8rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.event-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   PORTFOLIO GALLERY
   ========================================================================== */
.gallery-section {
  padding: 8rem 0;
  background-color: var(--bg-light);
}

.gallery-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.gallery-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(213, 194, 177, 0.3);
  background: var(--bg-parchment);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  filter: grayscale(15%) sepia(5%);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) sepia(0%);
}

.gallery-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(45, 35, 30, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gallery-overlay-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover .gallery-overlay-icon {
  transform: scale(1);
}

.gallery-actions {
  text-align: center;
  margin-top: 4rem;
}

/* ==========================================================================
   LIGHTBOX VISOR
   ========================================================================== */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(30, 23, 19, 0.97);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(5px);
}

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

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80vh;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  border: 4px solid #fff;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 2rem; right: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.lightbox-close-svg {
  width: 30px;
  height: 30px;
  stroke: #FAF6F0;
  stroke-width: 1.5;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

.lightbox-nav-svg {
  width: 40px;
  height: 40px;
  stroke: #FAF6F0;
  stroke-width: 1.5;
}

/* ==========================================================================
   SHOPPING CART SIDEBAR
   ========================================================================== */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -460px;
  width: 440px;
  height: 100%;
  background: #fff;
  box-shadow: -10px 0 40px rgba(45, 35, 30, 0.15);
  z-index: 1000;
  transition: right 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

@media(max-width: 480px) {
  .cart-sidebar {
    width: 100%;
    right: -100%;
  }
}

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

.cart-header {
  padding: 2rem;
  border-bottom: var(--border-champagne);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-size: 1.5rem;
}

.cart-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-close-svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-dark);
  stroke-width: 1.5;
}

.cart-body {
  padding: 2rem;
  flex-grow: 1;
  overflow-y: auto;
}

.cart-empty-msg {
  text-align: center;
  color: var(--text-muted);
  margin-top: 5rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(213, 194, 177, 0.2);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 1px solid #D5C2B1;
}

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

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.cart-item-options {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #D8A090;
}

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

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #D5C2B1;
}

.qty-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
}

.qty-num {
  padding: 0 10px;
  font-size: 0.75rem;
  font-weight: 500;
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #c0392b;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.cart-item-remove:hover {
  text-decoration: underline;
}

/* Checkout Form styling */
.checkout-form-section {
  border-top: 1px solid rgba(213, 194, 177, 0.3);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.checkout-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

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

.form-group label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  background-color: var(--bg-light);
  border: 1px solid #D5C2B1;
  outline: none;
}

.form-input:focus {
  border-color: #D8A090;
}

.cart-footer {
  padding: 2rem;
  border-top: var(--border-champagne);
  background: var(--bg-light);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.cart-total-val {
  color: #D8A090;
}

.cart-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(30, 23, 19, 0.4);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(2px);
}

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

.btn-premium:disabled {
  background: #dcd7d1;
  color: #9c9792;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.btn-premium:disabled::after {
  display: none;
}

/* ==========================================================================
   WHATSAPP FLOAT WIDGET
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999; /* Increased to keep it always on top */
  width: 50px;
  height: 50px;
  background: var(--rose-gold);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(216, 160, 144, 0.4);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.whatsapp-widget:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(216, 160, 144, 0.6);
}

.whatsapp-widget-svg {
  width: 25px;
  height: 25px;
  fill: #fff;
}

/* ==========================================================================
   FOOTER SECTION - Light Clean Style to Blend Logos perfectly
   ========================================================================== */
footer {
  background-color: var(--bg-parchment);
  color: var(--text-dark);
  padding: 5rem 0 3rem 0;
  border-top: var(--border-champagne);
}

footer h3, footer h4 {
  color: var(--text-dark);
}

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

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  max-width: 220px;
  margin-bottom: 1.5rem;
  mix-blend-mode: multiply;
}

.footer-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
  color: var(--text-dark);
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 1px;
  background: #D8A090;
}

.footer-contacts {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contacts li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  stroke: #D8A090;
  stroke-width: 1.5;
  fill: none;
}

.footer-bottom {
  border-top: 1px solid rgba(45, 35, 30, 0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.developer-credits {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.developer-credits a {
  color: #B8796B;
  font-weight: 500;
}

.developer-credits a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   RECETARIO MAGICO SECTION
   ========================================================================== */
.recetario {
  padding: 8rem 0;
  background-color: var(--bg-parchment);
  border-top: var(--border-champagne);
  border-bottom: var(--border-champagne);
}

.recetario-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem auto;
}

.recetario-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.recipe-card {
  background: #fff;
  border: var(--border-champagne);
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: #D8A090;
}

.recipe-img-wrapper {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background-color: var(--bg-parchment);
  cursor: pointer;
}

.recipe-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.recipe-card:hover .recipe-img {
  transform: scale(1.04);
}

.recipe-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(45, 35, 30, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-img-wrapper:hover .recipe-overlay {
  opacity: 1;
}

.recipe-overlay-text {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid #fff;
  padding: 8px 16px;
  background: rgba(30, 23, 19, 0.6);
}

.recipe-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.recipe-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: var(--text-dark);
}

.recipe-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: #D8A090;
  margin-bottom: 0.75rem;
}

.recipe-desc-short {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  flex-grow: 1;
}

.recipe-actions {
  display: flex;
  gap: 0.75rem;
}

.recipe-actions .btn-premium {
  flex: 1;
  padding: 0.5rem 0.5rem;
  font-size: 0.6rem;
}

@media(max-width: 1200px) {
  .recetario-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(max-width: 900px) {
  .recetario-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 576px) {
  .recetario-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   SCROLL TRIGGERS & FAIL-SAFE ANIMATIONS
   Visible by default, only animated when JS loads and adds .js-enabled class
   ========================================================================== */
.scroll-animate {
  opacity: 1;
  transform: none;
}

.js-enabled .scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.js-enabled .scroll-animate.animated {
  opacity: 1;
  transform: translateY(0);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */
@media(max-width: 1024px) {
  html { font-size: 15px; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .biography-grid, .museum-grid, .events-grid { gap: 3rem; }
}

@media(max-width: 768px) {
  html { font-size: 14px; }
  .mobile-toggle { display: block; }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-light);
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    transition: left 0.4s ease;
    border-top: var(--border-champagne);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .biography-grid, .museum-grid, .events-grid, .footer-grid, .store-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .product-img-wrapper {
    height: 420px;
  }

  
  .biography-image-wrapper {
    order: -1;
  }
  
  .museum-deck-wrapper {
    height: 420px;
  }
  
  .museum-deck {
    width: 280px;
    height: 380px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .developer-credits {
    align-items: center;
  }
}

@media(max-width: 576px) {
  .store-grid { grid-template-columns: 1fr; }
}

.prod-thumb:hover {
  opacity: 1 !important;
  border-color: #D8A090 !important;
}

/* Guest Artist Section */
.artistas-section {
  padding: 8rem 0;
  background-color: var(--bg-light);
  border-top: var(--border-champagne);
}
.artistas-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}
.artistas-image-wrapper {
  position: relative;
}
.artistas-image-frame {
  border: 1px solid rgba(216, 160, 144, 0.4);
  padding: 15px;
  background: #fff;
  box-shadow: var(--shadow-premium);
  position: relative;
}
.artistas-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  filter: sepia(5%) contrast(98%);
  transition: transform 0.8s ease;
}
.artistas-image-wrapper:hover .artistas-img {
  transform: scale(1.02);
}
.artistas-frame-accent {
  position: absolute;
  border: 1px solid rgba(213, 194, 177, 0.6);
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  pointer-events: none;
  z-index: 1;
}
.artistas-content {
  display: flex;
  flex-direction: column;
}
.artistas-title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}
.artistas-text {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* Mobile Read-More Collapse */
.mobile-collapse {
  display: block;
}
.btn-read-more {
  display: none;
}

/* Collection Card Image Padding */
.collection-product-img {
  object-fit: contain !important;
  background-color: var(--bg-parchment);
  padding: 15px;
}

@media (max-width: 768px) {
  .mobile-collapse {
    display: none;
  }
  .mobile-collapse.show {
    display: block;
    animation: fadeInUp 0.4s ease;
  }
  .btn-read-more {
    display: inline-block;
    background: none;
    border: none;
    color: #B8796B;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    outline: none;
    transition: color 0.3s ease;
  }
  .btn-read-more:hover {
    color: #D8A090;
  }
  .artistas-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .artistas-image-wrapper {
    order: -1;
  }
  .artistas-img {
    height: 400px;
  }
  .hero {
    min-height: 95vh;
    padding-bottom: 6rem;
  }
}

/* Digital Kit Card Layout */
.digital-kit-card {
  grid-column: span 3;
  max-width: 700px;
  margin: 3rem auto 0 auto;
  display: flex;
  flex-direction: row;
}

.digital-kit-img-wrapper {
  width: 40% !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  padding: 10px !important;
  background: #fff !important;
  border-right: 1px solid rgba(213, 194, 177, 0.2) !important;
  border-bottom: none !important;
}

.digital-kit-info {
  width: 60% !important;
}

/* Mobile Centering & Stacking for Store Cards */
@media (max-width: 768px) {
  .product-card {
    align-items: center;
    text-align: center;
  }
  .product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem !important;
    width: 100% !important;
  }
  .product-description {
    text-align: center;
  }
  .product-options {
    width: 100%;
  }
  .option-group {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .option-select {
    max-width: 280px;
    margin: 0 auto;
  }
  .digital-kit-card {
    grid-column: span 1 !important;
    flex-direction: column !important;
    max-width: 100% !important;
    margin: 2rem 0 0 0 !important;
  }
  .digital-kit-img-wrapper {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(213, 194, 177, 0.2) !important;
  }
  .digital-kit-info {
    width: 100% !important;
  }
}



