/* ==========================================================================
   CASA D'CUESTA - OFFICIAL WEB STYLES
   100% Mobile Optimized & Desktop Fidelity
   ========================================================================== */

:root {
  --bg-primary: #FBF9F5;
  --bg-secondary: #F3EFEA;
  --bg-card: #FFFFFF;
  --bg-dark: #14110F;
  --bg-dark-card: #1F1B18;
  --bg-green: #63755C;
  --bg-green-light: #98A78F;
  --bg-terracotta: #A64E33;  /* antes #BD5B3E: oscurecido para cumplir contraste 4.5:1 */
  --bg-terracotta-hover: #8F4229;
  --text-primary: #181513;
  --text-secondary: #655E57;
  --text-muted: #9C9389;
  --text-light: #FBF9F5;
  --border-light: #E7E1D8;
  --border-dark: rgba(255, 255, 255, 0.15);
  --shadow-sm: 0 2px 8px rgba(24, 21, 19, 0.05);
  --shadow-md: 0 8px 24px rgba(24, 21, 19, 0.08);
  --shadow-lg: 0 16px 40px rgba(24, 21, 19, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

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

/* Prevent auto-zoom on mobile Safari */
button, input, textarea, select {
  font-family: inherit;
  font-size: 16px;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2.5rem;
  }
}

/* Typography Utility */
.font-serif {
  font-family: var(--font-serif);
  font-size-adjust: 0.46;
}

.section-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size-adjust: 0.46;
  font-size: 1.95rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.85rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.65rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  min-height: 46px;
}

.btn-terracotta {
  background-color: var(--bg-terracotta);
  color: #FFFFFF;
}

.btn-terracotta:hover, .btn-terracotta:active {
  background-color: var(--bg-terracotta-hover);
  transform: translateY(-1px);
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--text-primary);
}

.btn-white:hover, .btn-white:active {
  background-color: #F3EFEA;
  transform: translateY(-1px);
}

.btn-dark {
  background-color: var(--bg-dark);
  color: #FFFFFF;
}

.btn-dark:hover, .btn-dark:active {
  background-color: #2D2723;
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  background-color: transparent;
}

.btn-outline:hover, .btn-outline:active {
  background-color: var(--bg-secondary);
  border-color: var(--text-primary);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
  min-height: 38px;
}

/* ==========================================================================
   NAVIGATION & HEADER (PROMINENT LOGO & MOBILE OPTIMIZED)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition);
  padding: 0.65rem 0; /* igual en todas las páginas y al hacer scroll: el menú no cambia de lugar */
}

.site-header.scrolled {
  background: rgba(20, 17, 15, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

/* Big, Clear, High-Res Logo */
.nav-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

@media (min-width: 768px) {
  .nav-logo-img {
    height: 83px;
  }
}

.nav-logo-img:hover {
  opacity: 0.92;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--bg-terracotta);
  transition: var(--transition);
}

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

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

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  min-height: 40px;
}

.cart-btn:hover, .cart-btn:active {
  background: rgba(255, 255, 255, 0.25);
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: var(--bg-terracotta);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  margin-left: 0.15rem;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

@media (min-width: 860px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 15, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size-adjust: 0.46;
  font-size: 1.85rem;
  transition: var(--transition);
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  color: var(--bg-terracotta);
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #FFFFFF;
  font-size: 2.25rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  color: #FFFFFF;
  overflow: hidden;
  padding-top: 5.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .hero-section {
    min-height: 100vh;
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.68) contrast(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 17, 15, 0.45) 0%,
    rgba(20, 17, 15, 0.25) 45%,
    rgba(20, 17, 15, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-tag {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size-adjust: 0.46;
  font-size: 37.5px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 55px;
  }
}

.hero-title em {
  font-style: italic;
  font-family: var(--font-serif);
  font-size-adjust: 0.46;
  font-weight: 300;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #fff;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}

.hero-actions .btn {
  padding: 0.6rem 0.9rem;
  min-height: 40px;
  font-size: 0.875rem;
}

@media (max-width: 479px) {
  .hero-actions {
    align-items: flex-start;
  }
  .hero-actions .btn {
    width: auto;
  }
}

/* ==========================================================================
   HISTORIA Y ORIGEN ARTESANAL
   ========================================================================== */
.story-section {
  padding-block: 4.5rem 4rem;
  background-color: var(--bg-primary);
}

@media (min-width: 768px) {
  .story-section {
    padding-block: 7rem 6rem;
  }
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.story-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3.2;
}

@media (min-width: 768px) {
  .story-image-card {
    aspect-ratio: 4 / 3.8;
  }
}

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

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

.story-tag {
  color: var(--bg-terracotta);
}

.story-title {
  margin-bottom: 1.25rem;
}

.story-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .story-desc {
    font-size: 1.05rem;
  }
}

.story-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 560px) {
  .story-features {
    flex-direction: row;
    align-items: center;
    gap: 1.85rem;
  }
}

.story-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.story-feature-item .star-icon {
  color: var(--bg-terracotta);
  font-size: 1.1rem;
}

/* ==========================================================================
   TIENDA CASA D'CUESTA - CAFÉ PARA TU RITUAL
   ========================================================================== */
.shop-section {
  padding-block: 4rem 5rem;
  background-color: var(--bg-primary);
}

@media (min-width: 768px) {
  .shop-section {
    padding-block: 5rem 6rem;
  }
}

.shop-header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .shop-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3.5rem;
  }
}

.shop-tag {
  color: var(--bg-terracotta);
}

.shop-tabs {
  display: inline-flex;
  align-items: center;
  background-color: #EFE8DF;
  padding: 4px;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

@media (max-width: 480px) {
  .shop-tabs {
    width: 100%;
    justify-content: space-between;
  }
}

.shop-tab-btn {
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-align: center;
}

@media (max-width: 480px) {
  .shop-tab-btn {
    flex: 1;
  }
}

.shop-tab-btn.active {
  background-color: var(--bg-dark);
  color: #FFFFFF;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: transform 0.3s ease;
}

.product-img-box {
  background-color: #EDE7DE;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  position: relative;
}

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

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

.product-info-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.product-name {
  font-family: var(--font-serif);
  font-size-adjust: 0.46;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-primary);
}

.product-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.product-notes {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
}

.product-card .btn-outline {
  width: 100%;
  border-color: var(--border-light);
  border-radius: var(--radius-full);
}

/* Shop Bottom Sticky / Floating Cart Card */
.cart-summary-bar {
  background-color: #EFE7DE;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  justify-content: space-between;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .cart-summary-bar {
    flex-direction: row;
    align-items: center;
    padding: 1.25rem 2rem;
  }
}

.cart-summary-left {
  display: flex;
  flex-direction: column;
}

.cart-summary-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-terracotta);
  margin-bottom: 0.2rem;
}

.cart-summary-desc {
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* ==========================================================================
   MEMBRESÍAS & SUSCRIPCIONES
   ========================================================================== */
.experiences-section {
  padding-block: 4.5rem 5rem;
  background-color: var(--bg-secondary);
}

@media (min-width: 768px) {
  .experiences-section {
    padding-block: 6rem 6rem;
  }
}

.experiences-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 860px) {
  .experiences-header {
    grid-template-columns: 1.3fr 1fr;
    align-items: flex-end;
    margin-bottom: 3.5rem;
  }
}

.experiences-tag {
  color: var(--bg-terracotta);
}

.experiences-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.experiences-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .experiences-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .experiences-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.experience-card {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
}

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

.experience-card.selected {
  border-color: var(--bg-terracotta);
  box-shadow: 0 0 0 2px rgba(189, 91, 62, 0.2);
}

.experience-img-box {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.15rem;
}

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

.experience-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-terracotta);
  margin-bottom: 0.35rem;
}

.experience-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.experience-gift-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #F6EDE7;
  color: var(--bg-terracotta);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  border: 1px dashed rgba(189, 91, 62, 0.35);
  line-height: 1.4;
}

.experience-title {
  font-family: var(--font-serif);
  font-size-adjust: 0.46;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.experience-meta {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.experience-card .btn {
  margin-top: auto;
  width: 100%;
}

/* Active Membership Banner */
.reservation-active-banner {
  background-color: var(--bg-dark);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  justify-content: space-between;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .reservation-active-banner {
    flex-direction: row;
    align-items: center;
    padding: 1.25rem 2rem;
  }
  .reservation-active-banner .btn {
    width: auto;
  }
}

.reservation-active-left {
  display: flex;
  flex-direction: column;
}

.reservation-active-tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.reservation-active-info {
  font-size: 0.95rem;
  color: #FFFFFF;
}

/* ==========================================================================
   TU LUGAR, A TU RITMO - AMBIENTE Y COWORK
   ========================================================================== */
.place-section {
  background-color: var(--bg-green);
  color: #FFFFFF;
  padding-block: 4.5rem 4.5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .place-section {
    padding-block: 6rem 6rem;
  }
}

.place-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .place-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4.5rem;
  }
}

.place-tag {
  color: rgba(255, 255, 255, 0.75);
}

.place-title {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.place-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 300;
}

.place-features {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.place-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: #FFFFFF;
  font-weight: 400;
}

.place-feature-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.place-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  aspect-ratio: 16 / 11;
}

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

/* ==========================================================================
   MOMENTOS CASA D'CUESTA - SOCIAL FEED
   ========================================================================== */
.moments-section {
  padding-block: 4.5rem 4.5rem;
  background-color: var(--bg-primary);
}

@media (min-width: 768px) {
  .moments-section {
    padding-block: 6rem 6rem;
  }
}

.moments-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 640px) {
  .moments-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.moments-tag {
  color: var(--bg-terracotta);
}

.moments-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.moments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .moments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .moments-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
  }
}

.moment-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.moment-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.moment-card.tall {
  height: 100%;
  min-height: 280px;
}

@media (min-width: 768px) {
  .moment-card.tall {
    min-height: 420px;
  }
}

.moment-card.stacked {
  height: auto;
  aspect-ratio: 16 / 10;
}

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

/* ==========================================================================
   LO QUE SE COMPARTE - TESTIMONIALS SLIDER
   ========================================================================== */
.testimonials-section {
  background-color: var(--bg-terracotta);
  color: #FFFFFF;
  padding-block: 4.5rem 4.5rem;
}

@media (min-width: 768px) {
  .testimonials-section {
    padding-block: 6rem 6rem;
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1.6fr;
    gap: 4.5rem;
  }
}

.testimonials-tag {
  color: rgba(255, 255, 255, 0.75);
}

.testimonials-title {
  color: #FFFFFF;
  margin-bottom: 1.75rem;
}

.carousel-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.carousel-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.testimonial-quote-box {
  position: relative;
}

.quote-icon {
  font-family: var(--font-serif);
  font-size-adjust: 0.46;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.25rem;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size-adjust: 0.46;
  font-size: 1.35rem;
  line-height: 1.45;
  font-weight: 400;
  margin-bottom: 1.5rem;
  min-height: 100px;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .testimonial-text {
    font-size: 1.95rem;
  }
}

.testimonial-author {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
}

/* ==========================================================================
   VISÍTANOS & CONTACTO
   ========================================================================== */
.visit-section {
  padding-block: 4.5rem 4.5rem;
  background-color: var(--bg-primary);
}

@media (min-width: 768px) {
  .visit-section {
    padding-block: 6rem 6rem;
  }
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .visit-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 4.5rem;
  }
}

.visit-tag {
  color: var(--bg-terracotta);
}

.visit-title {
  margin-bottom: 1rem;
}

.visit-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.visit-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.visit-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.visit-info-item svg {
  color: var(--bg-terracotta);
  flex-shrink: 0;
}

.map-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background-color: #FAF6EF;
}

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

/* Contact Form Card */
.contact-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .contact-form-card {
    padding: 2.5rem;
  }
}

.contact-form-title {
  font-family: var(--font-serif);
  font-size-adjust: 0.46;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 560px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #FAFAFA;
  font-size: 16px;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--text-primary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(24, 21, 19, 0.08);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-disclaimer {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 1rem;
}

/* ==========================================================================
   NEWSLETTER - CÍRCULO CASA D'CUESTA
   ========================================================================== */
.newsletter-section {
  background-color: var(--bg-green-light);
  padding-block: 3.5rem;
}

@media (min-width: 768px) {
  .newsletter-section {
    padding-block: 4.5rem;
  }
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 860px) {
  .newsletter-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}

.newsletter-tag {
  color: rgba(24, 21, 19, 0.85);
}

.newsletter-title {
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.newsletter-desc {
  font-size: 0.95rem;
  color: rgba(24, 21, 19, 0.85);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .newsletter-form {
    flex-direction: row;
    background-color: #FFFFFF;
    border-radius: var(--radius-full);
    padding: 6px;
    box-shadow: var(--shadow-sm);
  }
}

.newsletter-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  outline: none;
  font-size: 16px;
}

@media (min-width: 560px) {
  .newsletter-input {
    border: none;
    background: transparent;
  }
}

/* ==========================================================================
   FOOTER (PROMINENT LOGO & COMPACT MOBILE)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: #FFFFFF;
  padding-top: 4rem;
  padding-bottom: 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 560px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.footer-brand-logo {
  height: 200px;
  border-radius: 0;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
  display: block;
}

.footer-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 1.15rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   SLIDE-OVER CART DRAWER & MODALS
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background-color: var(--bg-primary);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.25);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title {
  font-family: var(--font-serif);
  font-size-adjust: 0.46;
  font-size: 1.45rem;
  font-weight: 500;
}

.cart-close-btn {
  font-size: 1.75rem;
  color: var(--text-secondary);
  line-height: 1;
  padding: 8px;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 65px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background-color: #EDE7DE;
}

.cart-item-details h4 {
  font-family: var(--font-serif);
  font-size-adjust: 0.46;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-primary);
  background-color: #FFFFFF;
}

.qty-count {
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
}

.cart-item-remove {
  color: var(--text-muted);
  font-size: 1.25rem;
  padding: 8px;
}

.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background-color: #FFFFFF;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

@media (min-width: 640px) {
  .modal-box {
    padding: 2.25rem;
  }
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.75rem;
  color: var(--text-secondary);
  line-height: 1;
  padding: 6px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size-adjust: 0.46;
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2000;
  pointer-events: none;
  align-items: center;
}

@media (min-width: 640px) {
  .toast-container {
    left: auto;
    align-items: flex-end;
  }
}

.toast {
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  max-width: 100%;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-left: 4px solid #4CAF50;
}

/* ==========================================================================
   PAYMENT METHODS & CHECKOUT STYLING (CONTRA ENTREGA, BRE-B, WHATSAPP)
   ========================================================================== */
.cart-payment-methods {
  background: #FDFBF8;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.85rem;
}

.cart-payment-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.cart-payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cart-pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  color: var(--text-primary);
}

/* Payment Option Cards in Modal */
.payment-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.25rem;
}

@media (max-width: 520px) {
  .payment-options-grid {
    grid-template-columns: 1fr;
  }
}

.payment-option-card {
  position: relative;
  display: block;
  cursor: pointer;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.6rem;
  background: #FFFFFF;
  transition: all 0.2s ease;
  text-align: center;
}

.payment-option-card input[type="radio"] {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  accent-color: var(--bg-terracotta);
}

.payment-option-card:hover {
  border-color: var(--bg-terracotta);
  background: #FAF7F4;
}

.payment-option-card.active,
.payment-option-card:has(input[type="radio"]:checked) {
  border-color: var(--bg-terracotta);
  background: #FFF9F5;
  box-shadow: 0 0 0 1px var(--bg-terracotta);
}

.payment-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.payment-card-content .payment-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.payment-card-content .payment-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.payment-card-content .payment-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.payment-help-note {
  background-color: #F8F5F0;
  border-left: 3px solid var(--bg-terracotta);
  padding: 0.7rem 0.9rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
  transition: all 0.2s ease;
}

/* Shop Trust Bar */
.shop-trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.trust-item .trust-icon {
  font-size: 1.15rem;
}


/* Aviso de apertura en el hero -> /proximamente */
.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}
.launch-pill:hover { background: rgba(255, 255, 255, 0.24); }
/* Checkout: resumen con envío y 4 medios de pago */
.payment-options-grid.has-online { grid-template-columns: repeat(2, 1fr); }
.order-summary-box {
  background: #F8F5F0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.88rem;
}
.order-summary-row { display: flex; justify-content: space-between; gap: 1rem; color: var(--text-secondary); }
.order-summary-row.total { border-top: 1px solid var(--border-light); padding-top: 0.35rem; margin-top: 0.15rem; font-weight: 700; color: var(--text-primary); font-size: 0.98rem; }
@media (max-width: 480px) { .payment-options-grid.has-online { grid-template-columns: 1fr; } }


/* ===== Logo del menú: emblema + "Casa d'Cuesta" y eslogan (misma medida en todas las páginas) ===== */
.nav-brand { gap: 0.45rem; flex-shrink: 0; }
.nav-brand img { flex-shrink: 0; }
.nav-logo-img { height: 46px; }
.nav-logo-text {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}
.cart-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* en celular: solo ícono + número (el texto queda para lectores de pantalla) */
@media (min-width: 560px) {
  .cart-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: inline; }
  .nav-brand { gap: 0.55rem; }
  .nav-logo-img { height: 58px; }
  .nav-logo-text { height: 44px; }
}
@media (max-width: 420px) {
  .nav-logo-img { height: 40px; }
  .nav-logo-text { height: 33px; }
  .cart-btn { padding: 0.45rem 0.7rem; }
}
@media (max-width: 340px) {
  .nav-logo-img { height: 34px; }
  .nav-logo-text { height: 30px; }
}
@media (min-width: 860px) {
  .nav-logo-img { height: 54px; }
  .nav-logo-text { height: 39px; }
  .nav-links { gap: 1.1rem; }
}
@media (min-width: 1024px) {
  .nav-logo-img { height: 64px; }
  .nav-logo-text { height: 46px; }
  .nav-links { gap: 1.5rem; }
}
@media (min-width: 1200px) {
  .nav-logo-img { height: 80px; }
  .nav-logo-text { height: 58px; }
  .nav-links { gap: 2.1rem; }
}

.wompi-methods { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.45rem 0; }
.wompi-methods span { background: #FFFFFF; border: 1px solid var(--border-light); border-radius: 999px; padding: 0.15rem 0.55rem; font-size: 0.72rem; font-weight: 600; color: var(--text-primary); }
.wompi-test-flag { margin-top: 0.45rem; background: #EDE9FE; color: #5B21B6; border: 1px solid #8B5CF6; border-radius: 6px; padding: 0.35rem 0.55rem; font-size: 0.75rem; font-weight: 600; }

/* =====================================================================
   FORMULARIO DE COMPRA: pasos, celular +57, buscador de municipios y medios de pago con logo
   ===================================================================== */
.checkout-form { display: flex; flex-direction: column; gap: 1rem; }
.checkout-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--text-primary); }
.checkout-step { border: 1px solid var(--border-light); border-radius: 14px; padding: 0.9rem 1rem 1rem; margin: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.checkout-step legend { display: flex; align-items: center; gap: 0.5rem; padding: 0 0.4rem; font-weight: 700; font-size: 0.92rem; color: var(--text-primary); }
.checkout-step legend span { width: 22px; height: 22px; border-radius: 50%; background: var(--bg-terracotta); color: #fff; display: inline-grid; place-items: center; font-size: 0.75rem; }
.checkout-fields { display: flex; flex-direction: column; gap: 0.8rem; }
.checkout-fields[hidden], .pickup-info[hidden], .checkout-warning[hidden] { display: none; }
.checkout-hint { font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.checkout-warning { font-size: 0.82rem; color: #9A3412; background: #FFF7ED; border: 1px solid #FDBA74; border-radius: 8px; padding: 0.55rem 0.7rem; margin: 0; }
.pickup-info { font-size: 0.85rem; color: var(--text-secondary); background: #F4F1EA; border-radius: 10px; padding: 0.7rem 0.85rem; margin: 0; line-height: 1.5; }
.checkout-submit { width: 100%; min-height: 52px; font-size: 1rem; }

/* Domicilio / retiro */
.delivery-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.delivery-toggle label { margin: 0; cursor: pointer; }
.delivery-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.delivery-toggle span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 46px; padding: 0.5rem; border: 1.5px solid var(--border-light); border-radius: 12px; font-size: 0.85rem; font-weight: 600; transition: var(--transition); }
.delivery-toggle input:checked + span { border-color: var(--bg-terracotta); background: #FBEFEA; color: var(--bg-terracotta); }
.delivery-toggle input:focus-visible + span { outline: 2px solid var(--bg-terracotta); outline-offset: 2px; }

/* Celular con +57 fijo */
.phone-field { display: flex; align-items: stretch; border: 1px solid var(--border-color, var(--border-light)); border-radius: var(--radius-sm); background: #fff; overflow: hidden; transition: var(--transition); }
.phone-field:focus-within { border-color: var(--bg-terracotta); box-shadow: 0 0 0 3px rgba(189, 91, 62, 0.12); }
.phone-field.invalid { border-color: #DC2626; }
.phone-field.valid { border-color: #16A34A; }
.phone-prefix { display: flex; align-items: center; padding: 0 0.7rem; background: #F4F1EA; border-right: 1px solid var(--border-light); font-size: 0.88rem; font-weight: 700; color: var(--text-primary); white-space: nowrap; }
.phone-field .form-control { border: 0 !important; box-shadow: none !important; border-radius: 0; flex: 1; min-width: 0; letter-spacing: 0.04em; }
.phone-hint { display: block; min-height: 1em; font-size: 0.75rem; color: #DC2626; margin-top: 0.25rem; }

/* Buscador de municipios */
.city-picker { position: relative; }
.city-picker-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; list-style: none; margin: 0; padding: 0.3rem; background: #fff; border: 1px solid var(--border-light); border-radius: 12px; box-shadow: 0 12px 30px rgba(20, 17, 15, 0.16); max-height: 260px; overflow-y: auto; }
.city-picker-list[hidden] { display: none; }
.city-picker-list li { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.55rem 0.65rem; border-radius: 8px; cursor: pointer; font-size: 0.9rem; }
.city-picker-list li span { color: var(--text-muted); font-size: 0.8rem; text-align: right; }
.city-picker-list li.active, .city-picker-list li:hover { background: #FBEFEA; }
.city-picker-list li.empty { cursor: default; color: var(--text-muted); font-size: 0.85rem; }

/* Medios de pago con logo */
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.pay-option { margin: 0 !important; cursor: pointer; }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option-box { position: relative; display: flex; align-items: center; gap: 0.65rem; height: 100%; padding: 0.7rem 2rem 0.7rem 0.7rem; border: 1.5px solid var(--border-light); border-radius: 14px; background: #fff; transition: var(--transition); }
.pay-option-logo { width: 40px; height: 40px; flex-shrink: 0; object-fit: contain; }
.pay-option-text { display: flex; flex-direction: column; line-height: 1.25; }
.pay-option-text strong { font-size: 0.9rem; color: var(--text-primary); }
.pay-option-text small { font-size: 0.72rem; color: var(--text-muted); }
.pay-option-check { position: absolute; top: 50%; right: 0.7rem; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid var(--border-light); }
.pay-option:hover .pay-option-box { border-color: #D6C4B1; }
.pay-option input:checked + .pay-option-box { border-color: var(--bg-terracotta); background: #FBF4F0; box-shadow: 0 0 0 3px rgba(189, 91, 62, 0.1); }
.pay-option input:checked + .pay-option-box .pay-option-check { border-color: var(--bg-terracotta); background: radial-gradient(circle, var(--bg-terracotta) 45%, transparent 50%); }
.pay-option input:focus-visible + .pay-option-box { outline: 2px solid var(--bg-terracotta); outline-offset: 2px; }

/* Panel de pago en línea */
.payment-help-note.is-online { background: #F5F9F4; border-left-color: #2E3D2B; }
.online-pay-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.45rem; }
.online-pay-lock { width: 34px; height: 34px; border-radius: 50%; background: #2E3D2B; display: grid; place-items: center; font-size: 0.95rem; flex-shrink: 0; }
.online-pay-head strong { display: block; font-size: 0.9rem; color: var(--text-primary); }
.online-pay-head small { font-size: 0.72rem; color: var(--text-muted); }
.online-pay-lead { margin: 0.2rem 0 0.35rem; font-size: 0.8rem; }
.online-pay-foot { margin: 0.45rem 0 0; font-size: 0.72rem; color: var(--text-muted); }
.payment-help-note.is-online .wompi-methods span { background: #FFFFFF; border-color: #CFE0CC; color: #2E3D2B; }

@media (max-width: 520px) {
  .pay-options, .delivery-toggle { grid-template-columns: 1fr; }
}

/* Mapa de Google en la portada */
.map-embed { display: block; width: 100%; height: 320px; border: 0; }
@media (max-width: 640px) { .map-embed { height: 260px; } }

/* =====================================================================
   RENDIMIENTO EN CELULARES
   ===================================================================== */
/* Capas de pantalla completa (menú, fondo del carrito y de ventanas): cerradas no se dibujan */
.mobile-nav, .drawer-backdrop, .modal-overlay { visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
.mobile-nav.open, .drawer-backdrop.active, .modal-overlay.active { visibility: visible; transition: opacity 0.3s ease, visibility 0s; }
.mobile-nav { backdrop-filter: none; -webkit-backdrop-filter: none; } /* su fondo ya es casi opaco */
.drawer-backdrop, .modal-overlay { backdrop-filter: none; -webkit-backdrop-filter: none; }
.drawer-backdrop.active, .modal-overlay.active { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cart-drawer { visibility: hidden; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.35s; }
.cart-drawer.active { visibility: visible; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s; }
/* El menú ya es 94 % opaco: el desenfoque no se nota y cuesta mucho al hacer scroll */
.site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (max-width: 768px) {
  .cart-btn, .launch-pill { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-logo-img, .nav-logo-text { filter: none; }
}
/* Secciones bajo el pliegue: el navegador las prepara solo cuando el visitante se acerca */
.story-section, .shop-section, .experiences-section, .place-section, .moments-section, .testimonials-section, .visit-section, .newsletter-section, .site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

/* Estrellas de reseñas en las tarjetas de producto */
.product-rating { min-height: 1.2em; margin: -0.2rem 0 0.35rem; font-size: 0.85rem; color: var(--text-secondary); }
.stars { color: #E0A526; letter-spacing: 1px; }
.stars-off { color: #D8D0C4; }
.rating-num { font-weight: 700; color: var(--text-primary); }
.rating-count { color: var(--text-muted); }

/* =====================================================================
   SISTEMA TIPOGRÁFICO (2 familias)
   Títulos: Cormorant Garamond (la misma letra del logo) · peso 600
   Texto, botones y formularios: Plus Jakarta Sans · 400 / 600
   Sin cursivas en títulos, sin emojis en títulos y una sola etiqueta en mayúsculas.
   ===================================================================== */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.005em; }
.hero-title, .section-title, .page-hero h1 { font-weight: 600; }
/* La palabra destacada de la portada: mismo estilo, solo cambia el color */
.hero-title em { font-style: normal; font-weight: 600; color: #e0a526; }
/* Etiquetas en mayúsculas: un solo estilo en toda la web */
.section-tag, .hero-tag, .shop-tag, .aside-kicker, .experience-badge, .review-product, .footer-title {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
/* Precios y números: siempre la letra del texto (más legible) */
.product-price, .experience-price, .cart-total-row, .order-summary-row { font-family: var(--font-sans); }

/* =====================================================================
   COMPRA RÁPIDA (botón flotante + ventana)
   ===================================================================== */
.qb-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 900;
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 52px; padding: 0 1.15rem 0 0.95rem; border: 0; border-radius: 999px;
  background: var(--bg-terracotta, #A64E33); color: #fff;
  font-family: var(--font-sans); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(20, 17, 15, 0.32); cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.qb-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(20, 17, 15, 0.38); }
.qb-fab:focus-visible { outline: 3px solid #e0a526; outline-offset: 3px; }
.qb-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html.qb-open .qb-fab { opacity: 0; pointer-events: none; }
@media (max-width: 480px) { .qb-fab { right: 14px; bottom: 14px; min-height: 50px; } }

.qb-overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(20, 17, 15, 0.55); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity 0.2s ease; }
.qb-overlay.is-visible { opacity: 1; }
.qb-overlay[hidden] { display: none; }
.qb-sheet {
  width: 100%; max-width: 480px; max-height: 88vh; max-height: 88dvh; display: flex; flex-direction: column;
  background: var(--bg-primary, #faf6ef); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(24px); transition: transform 0.25s ease;
}
.qb-overlay.is-visible .qb-sheet { transform: none; }
@media (min-width: 640px) { .qb-overlay { align-items: center; } .qb-sheet { border-radius: 22px; } }
.qb-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.2rem 1.25rem 0.6rem; }
.qb-kicker { margin: 0 0 0.2rem; font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bg-terracotta, #A64E33); }
.qb-head h2 { margin: 0; font-family: var(--font-serif); font-size-adjust: 0.46; font-size: 1.6rem; font-weight: 600; line-height: 1.15; color: var(--text-primary); }
.qb-close { width: 40px; height: 40px; flex-shrink: 0; border: 0; border-radius: 50%; background: rgba(20, 17, 15, 0.06); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--text-primary); }
.qb-list { overflow-y: auto; padding: 0.4rem 1.25rem; display: grid; gap: 0.6rem; }
.qb-loading { color: var(--text-muted); font-size: 0.9rem; }
.qb-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 0.8rem; padding: 0.6rem; border: 1.5px solid var(--border-light, #e7ded2); border-radius: 16px; background: #fff; transition: border-color 0.15s ease; }
.qb-item.is-on { border-color: var(--bg-terracotta, #A64E33); }
.qb-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.qb-info { display: flex; flex-direction: column; min-width: 0; font-family: var(--font-sans); }
.qb-info strong { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); }
.qb-info span { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qb-info em { font-style: normal; font-size: 0.88rem; font-weight: 600; color: var(--text-primary); margin-top: 0.15rem; }
.qb-stepper { display: inline-flex; align-items: center; gap: 0.35rem; }
.qb-stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border-light, #e7ded2); background: #fff; font-size: 1.15rem; font-weight: 600; line-height: 1; cursor: pointer; color: var(--text-primary); }
.qb-stepper button[data-qb="+"] { background: var(--text-primary, #14110f); border-color: var(--text-primary, #14110f); color: #fff; }
.qb-stepper button:disabled { opacity: 0.35; cursor: default; }
.qb-stepper output { min-width: 1.4ch; text-align: center; font-family: var(--font-sans); font-weight: 600; }
.qb-foot { padding: 0.9rem 1.25rem 1.2rem; border-top: 1px solid var(--border-light, #e7ded2); display: grid; gap: 0.6rem; }
.qb-total { display: flex; justify-content: space-between; font-family: var(--font-sans); font-size: 0.95rem; }
.qb-pay { min-height: 54px; border: 0; border-radius: 14px; background: var(--bg-terracotta, #A64E33); color: #fff; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; cursor: pointer; }
.qb-pay:disabled { background: #cfc4b6; cursor: default; }
.qb-note { margin: 0; text-align: center; font-family: var(--font-sans); font-size: 0.75rem; color: var(--text-muted); }

/* =====================================================================
   CHECKOUT 2026-10 · hoja de pago: pedido plegable, pasos con ✓, ciudad con
   atajos, tarjeta de envío con tiempo de entrega, barra de envío gratis y
   total + botón siempre visibles
   ===================================================================== */
.modal--checkout .modal-box { max-width: 560px; padding: 1.5rem 1.5rem 0; }
.modal--checkout .modal-box > div > form:not(.co) { padding-bottom: 1.5rem; }
.modal--checkout .modal-title { font-size: 1.75rem; margin: 0 2.5rem 0.2rem 0; line-height: 1.1; }
.modal--checkout .modal-subtitle { font-size: 0.85rem; margin-bottom: 1.1rem; }
.co { gap: 0.9rem; }
.co label { font-size: 0.8rem; font-weight: 600; margin-bottom: 0.35rem; }
.co label small { font-weight: 400; color: var(--text-muted); }
.co .form-control { min-height: 48px; font-size: 16px; border-radius: 12px; background-color: #fff; }
.co .form-control:focus { border-color: var(--bg-terracotta); box-shadow: 0 0 0 3px rgba(189, 91, 62, 0.12); outline: none; }
.co .phone-field { border-radius: 12px; min-height: 48px; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.co-field { min-width: 0; }

/* Pedido plegable */
.co-cart { border: 1px solid var(--border-light); border-radius: 16px; background: var(--bg-primary); }
.co-cart summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 1rem; cursor: pointer; list-style: none; font-weight: 600; min-height: 48px; }
.co-cart summary::-webkit-details-marker { display: none; }
.co-cart-title { display: flex; align-items: baseline; gap: 0.5rem; }
.co-cart-title small { font-weight: 400; color: var(--text-muted); font-size: 0.8rem; }
.co-cart-title::before { content: '▸'; color: var(--bg-terracotta); transition: transform 0.2s ease; display: inline-block; }
.co-cart[open] .co-cart-title::before { transform: rotate(90deg); }
.co-cart-list { list-style: none; margin: 0; padding: 0 1rem 0.8rem; display: flex; flex-direction: column; gap: 0.6rem; }
.co-cart-list li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.85rem; }
.co-cart-list img, .co-cart-ph { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--bg-secondary); display: grid; place-items: center; }
.co-cart-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.co-cart-name strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-cart-name small { color: var(--text-muted); font-size: 0.75rem; }
.co-cart-price { font-weight: 600; white-space: nowrap; }

/* Pasos */
.co-step { border: 1px solid var(--border-light); border-radius: 18px; padding: 1rem; gap: 0.85rem; background: #fff; transition: border-color 0.2s ease; }
.co-step-head { display: flex; align-items: center; gap: 0.6rem; margin: 0; font-family: var(--font-sans); font-size: 0.98rem; font-weight: 700; color: var(--text-primary); }
.co-step-num { position: relative; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bg-secondary); color: var(--text-primary); font-size: 0.78rem; font-weight: 700; flex-shrink: 0; transition: background 0.2s ease, color 0.2s ease; }
.co-step.is-done { border-color: #B9CDB4; }
.co-step.is-done .co-step-num { background: #2E7D4F; color: transparent; }
.co-step.is-done .co-step-num::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 0.85rem; }

/* Ciudad: ícono de ubicación + atajos */
.co-city .city-picker .form-control { padding-left: 2.5rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23BD5B3E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") no-repeat 0.85rem center; }
.co-chips { display: flex; gap: 0.4rem; margin-top: 0.55rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.co-chips::-webkit-scrollbar { display: none; }
.co-chip { flex-shrink: 0; border: 1px solid var(--border-light); background: var(--bg-primary); color: var(--text-secondary); border-radius: 999px; padding: 0.4rem 0.85rem; font: 600 0.78rem var(--font-sans); cursor: pointer; transition: var(--transition); min-height: 36px; }
.co-chip:hover { border-color: var(--bg-terracotta); color: var(--bg-terracotta); }
.co-chip.is-active { background: var(--bg-terracotta); border-color: var(--bg-terracotta); color: #fff; }
.city-picker-list li { min-height: 44px; align-items: center; }

/* Tarjeta de envío */
.co-ship { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0.9rem; border-radius: 14px; background: #F3F7F1; border: 1px solid #CFE0CC; animation: coIn 0.25s ease; }
.co-ship[hidden] { display: none; }
.co-ship-icon { font-size: 1.3rem; }
.co-ship-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.co-ship-text strong { font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-ship-text small { font-size: 0.76rem; color: #3D5A38; }
.co-ship-price { font-weight: 700; font-size: 0.92rem; white-space: nowrap; }
.co-ship-price.is-free { color: #2E7D4F; }
@keyframes coIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Barra de envío gratis */
.co-free { display: flex; flex-direction: column; gap: 0.4rem; }
.co-free-text { font-size: 0.78rem; color: var(--text-secondary); font-weight: 600; }
.co-free-track { height: 6px; border-radius: 99px; background: var(--bg-secondary); overflow: hidden; }
.co-free-track span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #E0A526, var(--bg-terracotta)); border-radius: inherit; transition: width 0.4s ease; }
.co-free.is-done .co-free-track span { background: #2E7D4F; }
.co-free.is-done .co-free-text { color: #2E7D4F; }

/* Medios de pago: lista de una columna, fácil de tocar */
.co .pay-options { grid-template-columns: 1fr; gap: 0.5rem; }
.co .pay-option-box { padding: 0.8rem 2.6rem 0.8rem 0.8rem; min-height: 64px; border-radius: 14px; }
.co .pay-option-check { right: 0.9rem; width: 20px; height: 20px; margin-top: -10px; }
.co .payment-help-note { border-radius: 12px; border: 1px solid var(--border-light); }
.co .payment-help-note.is-online { border-color: #CFE0CC; }
.co .payment-help-note:empty { display: none; }

/* Pie fijo: total + botón */
.co-footer { position: sticky; bottom: 0; z-index: 5; margin: 0 -1.5rem; padding: 0.85rem 1.5rem calc(0.85rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--border-light); box-shadow: 0 -10px 24px rgba(24, 21, 19, 0.06); display: flex; flex-direction: column; gap: 0.6rem; }
.co-footer .order-summary-box { background: transparent; border: 0; padding: 0; gap: 0.15rem; }
.co-footer .order-summary-row { font-size: 0.82rem; }
.co-footer .order-summary-row.total { font-size: 1.02rem; border-top: 0; padding-top: 0.15rem; margin-top: 0; }
.co-footer .order-summary-row.total span:last-child { font-size: 1.2rem; }
.co-footer .checkout-submit { min-height: 54px; border-radius: 14px; font-weight: 700; }
.co-secure { margin: 0; text-align: center; font-size: 0.72rem; color: var(--text-muted); }

@media (max-width: 640px) {
  /* En el celular la ventana sube desde abajo como una hoja */
  .modal--checkout.modal-overlay { align-items: flex-end; padding: 0; }
  .modal--checkout .modal-box { max-height: 94vh; max-height: 94dvh; border-radius: 22px 22px 0 0; padding: 1.1rem 1rem 0; transform: translateY(40px); }
  .modal--checkout.active .modal-box { transform: none; }
  .modal--checkout .modal-box::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 99px; background: var(--border-light); margin: -0.35rem auto 0.8rem; }
  .modal--checkout .modal-close-btn { top: 0.75rem; right: 0.6rem; }
  .modal--checkout .modal-title { font-size: 1.5rem; }
  .co-footer { margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
  .co-step { padding: 0.9rem 0.85rem; }
}
@media (max-width: 420px) {
  .co-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .co-ship, .co-free-track span { animation: none; transition: none; }
}

body:has(.modal-overlay.active) .qb-fab { opacity: 0; pointer-events: none; }
@media (max-width: 640px) {
  /* Pie más compacto en el celular: solo envío + total y el botón */
  .co-footer { gap: 0.45rem; padding-top: 0.65rem; }
  .co-footer .order-summary-row:first-child { display: none; }
  .co-secure { font-size: 0.68rem; }
}

/* =====================================================================
   TARJETAS DE PRODUCTO 2026-10 · marca pequeña + título corto + tueste en la foto,
   precio en su propia línea y botones alineados entre tarjetas
   ===================================================================== */
.product-card { height: 100%; }
.product-img-box { margin-bottom: 1rem; }
.product-roast { position: absolute; left: 0.75rem; bottom: 0.75rem; background: rgba(20, 17, 15, 0.78); color: #F6EEE2; font: 600 0.7rem/1 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; padding: 0.45rem 0.7rem; border-radius: 999px; }
.product-info-top { display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; margin-bottom: 0.35rem; }
.product-brand { font: 600 0.68rem/1 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bg-terracotta); }
.product-name { font-size: 1.5rem; font-weight: 600; line-height: 1.15; text-wrap: balance; margin: 0; }
.product-notes { margin-bottom: 0.75rem; line-height: 1.45; }
.product-card .product-price { margin: auto 0 0.85rem; font-family: var(--font-sans); font-size: 1.25rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em; }
.product-card .product-price small { font-size: 0.72rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.06em; }
.product-info-top .product-price { margin: 0.25rem 0 0; font-size: 1.1rem; }
@media (max-width: 640px) { .product-name { font-size: 1.35rem; } }

/* Texto solo para lectores de pantalla (accesibilidad) */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ===== 2026-10-20 · Testimonios más compactos y letra más pequeña ===== */
.testimonials-section { padding-block: 3rem; }
@media (min-width: 768px) { .testimonials-section { padding-block: 3.75rem; } }
@media (min-width: 860px) { .testimonials-grid { gap: 3rem; } }
.testimonials-title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.15; margin-bottom: 1.25rem; }
.quote-icon { font-size: 2.4rem; }
.testimonial-text { font-size: 1.1rem; line-height: 1.5; min-height: 0; margin-bottom: 1rem; }
@media (min-width: 768px) { .testimonial-text { font-size: 1.4rem; } }
.testimonial-author { font-size: 0.82rem; }
.carousel-nav-btn { width: 38px; height: 38px; font-size: 1rem; }

/* Logo del pie: solo blanco y más pequeño */
.footer-brand-logo { height: 130px; }

/* ===== Pago con código QR (2026-10-20) ===== */
.qr-pay { display: flex; flex-direction: column; gap: 0.9rem; align-items: stretch; text-align: center; }
.qr-pay-img { display: block; width: min(260px, 72vw); height: auto; margin: 0 auto; padding: 10px; background: #fff; border: 1px solid var(--border-light); border-radius: 16px; image-rendering: pixelated; }
.qr-pay-amount { display: flex; justify-content: space-between; align-items: center; background: #FFF9E6; border: 1px dashed #F59E0B; border-radius: 10px; padding: 0.7rem 0.9rem; font-size: 0.85rem; color: #92400E; }
.qr-pay-amount strong { font-size: 1.25rem; }
.qr-pay-steps { text-align: left; margin: 0; padding-left: 1.2rem; font-size: 0.85rem; color: var(--text-secondary); display: grid; gap: 0.25rem; }
.qr-pay-tip { margin: 0; font-size: 0.75rem; color: var(--text-muted); }
.qr-pay-alt { font-size: 0.82rem; color: var(--text-secondary); }
.qr-pay-alt summary { cursor: pointer; font-weight: 600; color: var(--bg-terracotta); }
.qr-pay-alt .qr-pay-img { margin-top: 0.7rem; }
.qr-pay-alt { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; padding-top: 0.25rem; border-top: 1px solid var(--border-light); }
.qr-pay-or { margin: 0.6rem 0 0; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.qr-pay-download { font-size: 0.82rem; font-weight: 600; color: var(--bg-terracotta); text-decoration: none; }

/* ===== Video de bienvenida en la portada (2026-10-21): encima de la foto, aparece al empezar y se reproduce una sola vez ===== */
.hero-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(0.62) contrast(1.05); opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.hero-bg-video.is-playing, .hero-bg-video.is-ended { opacity: 1; }
.hero-bg-wrapper .hero-bg-img { position: absolute; inset: 0; }

/* ===== Portada con video: el texto aparece poco a poco (2026-10-21) ===== */
.hero--intro .hero-content > * { opacity: 0; transform: translateY(18px); filter: blur(4px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s ease; }
.hero--intro.hero--texto .hero-content > * { opacity: 1; transform: none; filter: none; }
.hero--intro.hero--texto .hero-content > :nth-child(1) { transition-delay: 0s; }
.hero--intro.hero--texto .hero-content > :nth-child(2) { transition-delay: 0.25s; }
.hero--intro.hero--texto .hero-content > :nth-child(3) { transition-delay: 0.55s; }
.hero--intro.hero--texto .hero-content > :nth-child(4) { transition-delay: 0.8s; }
.hero--intro.hero--texto .hero-content > :nth-child(5) { transition-delay: 1.05s; }
/* mientras corre el video se ve con su color; al aparecer el texto se oscurece para que se lea */
.hero--intro .hero-overlay { opacity: 0.25; transition: opacity 1.2s ease; }
.hero--intro .hero-bg-video { filter: brightness(0.95) contrast(1.02); transition: opacity 0.8s ease, filter 1.2s ease; }
.hero--intro.hero--texto .hero-overlay { opacity: 1; }
.hero--intro.hero--texto .hero-bg-video { filter: brightness(0.62) contrast(1.05); }
@media (prefers-reduced-motion: reduce) {
  .hero--intro .hero-content > * { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ===== Portada con video en CELULAR vertical (2026-10-21) =====
   El video es horizontal: en vez de recortarlo para llenar la pantalla, se muestra COMPLETO en una franja
   debajo del menú y el texto va debajo (así no tapa el video y no hay que esperar para leerlo). */
@keyframes heroTextoEntra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) and (orientation: portrait) {
  .hero-section.hero--con-video { flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 0; padding-top: 4.4rem; padding-bottom: 2.5rem; }
  .hero--con-video .hero-bg-wrapper { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 9; flex: none; margin-bottom: 1.6rem; overflow: hidden; }
  .hero--con-video .hero-bg-video, .hero--intro.hero--texto.hero--con-video .hero-bg-video { filter: none; }
  .hero--con-video .hero-overlay, .hero--intro.hero--texto.hero--con-video .hero-overlay { opacity: 1; background: linear-gradient(to bottom, rgba(20,17,15,0) 70%, rgba(20,17,15,0.9) 100%); }
  .hero--con-video .hero-content > * { animation: heroTextoEntra 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; transition: none; filter: none; }
  .hero--con-video .hero-content > :nth-child(2) { animation-delay: 0.15s; }
  .hero--con-video .hero-content > :nth-child(3) { animation-delay: 0.3s; }
  .hero--con-video .hero-content > :nth-child(4) { animation-delay: 0.45s; }
  .hero--con-video .hero-content > :nth-child(5) { animation-delay: 0.6s; }
  .hero--con-video .hero-title { font-size: 2.1rem; }
  /* versión con scroll: la pantalla fija muestra la franja del video arriba y el texto abajo */
  .hero-section--scroll.hero--con-video { height: 100vh; height: 100svh; padding-bottom: 1rem; }
  .hero-section--scroll.hero--con-video .hero-bg-wrapper { margin-bottom: 1.25rem; }
}
@media (max-width: 760px) and (orientation: portrait) and (prefers-reduced-motion: reduce) {
  .hero--con-video .hero-content > * { animation: none; opacity: 1; transform: none; }
}

/* Enlaces dentro de un texto: subrayados para distinguirlos sin depender del color (accesibilidad) */
main p a:not([class]), main li a:not([class]), main td a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

/* "Saltar al contenido": oculto hasta que se usa el teclado (Tab) */
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 10000; padding: 0.7rem 1.1rem; border-radius: 10px; background: var(--bg-dark); color: #fff; font: 600 0.9rem var(--font-sans); text-decoration: none; }
.skip-link:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); outline: 2px solid var(--bg-terracotta); outline-offset: 2px; }
main#contenido:focus { outline: none; }

/* Nombre del producto enlazado a su página (2026-10-24) */
.product-name a.product-link, .page-wrap .product-name a.product-link { color: inherit; text-decoration: none; }
.product-name a.product-link:hover { color: var(--bg-terracotta); }

/* Aviso de envío gratis en la cabecera de la tienda (2026-10-28) */
.envio-promo {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #E0A526;
  color: #14110F;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
