/* ==========================================================================
   CAFETERÍA BREW - COMPONENT STYLES & LUXURY EFFECTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. PRELOADER & CUSTOM CURSOR
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  background-color: #070606;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.preloader-svg {
  width: 108px;
  height: 108px;
  color: var(--gold-light);
  overflow: visible;
}

.preloader-logo-path {
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* El café: dos ondas que se desplazan en bucle dentro del recorte de la taza.
   El grupo entero sube para simular que se va llenando. */
.preloader-liquid {
  transform: translateY(72px);
}

.liquid-wave {
  fill: url(#brewLiquidGrad);
}

.wave-back  { opacity: 0.45; }
.wave-front { opacity: 0.92; }

/* Brillo cálido bajo la taza, como reflejo en el platillo */
.preloader-svg .cup-saucer {
  filter: drop-shadow(0 2px 10px rgba(229, 172, 88, 0.45));
}

.steam-wisp {
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.8;
  stroke-linecap: round;
  opacity: 0;
}

/* Barra de progreso fina bajo el nombre */
.preloader-bar {
  width: 132px;
  height: 2px;
  border-radius: 2px;
  background: rgba(229, 172, 88, 0.16);
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  border-radius: 2px;
  background: linear-gradient(90deg, #8f5a1d, #e5ac58 55%, #f3be7a);
  box-shadow: 0 0 10px rgba(229, 172, 88, 0.6);
}

/* Sin animación: taza ya servida, nada se mueve */
@media (prefers-reduced-motion: reduce) {
  .preloader-liquid { transform: translateY(34px); }
  .steam-wisp { opacity: 0.5; }
  .preloader-bar span { transform: scaleX(1); }
}

.preloader-text {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--gold-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
  mix-blend-mode: difference;
}

.custom-cursor.is-active {
  width: 40px;
  height: 40px;
  background-color: rgba(229, 172, 88, 0.15);
  border-color: #ffffff;
}

/* --------------------------------------------------------------------------
   1. TOP ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: #070605;
  border-bottom: 1px solid rgba(229, 172, 88, 0.1);
  font-size: 0.78rem;
  color: var(--text-secondary);
  padding: 7px 0;
  position: relative;
  z-index: 100;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-center {
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  font-size: 0.8rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-label {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.social-icons-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.social-link:hover {
  color: var(--gold-light);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   2. MAIN NAVIGATION
   -------------------------------------------------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(12, 11, 10, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 172, 88, 0.1);
  z-index: 999;
  transition: all var(--transition-smooth);
}

.main-header.is-scrolled {
  background: rgba(8, 7, 6, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  border-bottom-color: rgba(229, 172, 88, 0.22);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-text {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.12em;
  color: var(--text-pure);
}

.logo-dot {
  color: var(--gold-primary);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-pure);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
}

.cart-btn:hover {
  background: rgba(229, 172, 88, 0.12);
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.cart-count {
  color: var(--gold-light);
  font-weight: 600;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  height: 20px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   3. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 40px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 10%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 155, 75, 0.16) 0%, rgba(212, 155, 75, 0.02) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 540px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 28px;
  border-top: 1px solid rgba(229, 172, 88, 0.12);
  padding-top: 24px;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 155, 75, 0.08);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(212, 155, 75, 0.15);
}

.badge-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  text-transform: uppercase;
  line-height: 1.2;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
}

.hero-main-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 155, 75, 0.15);
  display: block;
}

.hero-canvas-steam {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.hero-dust-canvas {
  position: absolute;
  inset: -100px;
  width: calc(100% + 200px);
  height: calc(100% + 200px);
  pointer-events: none;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   4. NUESTRO MENÚ SECTION & CAROUSEL
   -------------------------------------------------------------------------- */
.menu-section {
  background: radial-gradient(circle at 50% 30%, rgba(25, 20, 16, 0.7) 0%, transparent 70%);
  position: relative;
}

.menu-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 35px;
}

.menu-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 16, 14, 0.85);
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(229, 172, 88, 0.15);
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
}

.tab-btn:hover {
  color: var(--text-pure);
}

.tab-btn.active {
  background: var(--gold-gradient);
  color: #120e09;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212, 155, 75, 0.35);
}

/* Menu Rail & Carousel Wrapper */
.menu-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(18, 16, 14, 0.9);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.8), 0 0 12px rgba(229, 172, 88, 0.2);
}

.carousel-arrow.prev {
  left: -16px;
}

.carousel-arrow.next {
  right: -16px;
}

.carousel-arrow:hover {
  background: var(--gold-gradient);
  color: #120e09;
  transform: translateY(-50%) scale(1.14);
  box-shadow: 0 6px 22px rgba(212, 155, 75, 0.5);
}

.menu-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 6px 28px 6px;
  -webkit-overflow-scrolling: touch;
}

.menu-grid::-webkit-scrollbar {
  height: 6px;
}

.menu-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
}

.menu-grid::-webkit-scrollbar-thumb {
  background: var(--gold-gradient);
  border-radius: 3px;
}

.menu-card {
  flex: 0 0 250px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid rgba(229, 172, 88, 0.14);
  border-radius: var(--radius-md);
  padding: 18px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  box-shadow: var(--shadow-card);
}

.menu-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-border-subtle);
  background: var(--bg-card-hover);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.7), 0 0 24px rgba(212, 155, 75, 0.2);
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  background: #090807;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.card-title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 4px;
}

.card-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.card-add-btn {
  width: 100%;
  padding: 8px 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(229, 172, 88, 0.25);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.card-add-btn:hover {
  background: var(--gold-gradient);
  color: #120e09;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(212, 155, 75, 0.35);
}

.menu-footer-cta {
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   5. CARTA DE MENÚ 3D / FLIPPING FOLIO BOOK ("VER MENÚ COMPLETO")
   -------------------------------------------------------------------------- */
.menu-book-3d-scene {
  position: relative;
  width: 100%;
  max-width: 1050px;
  max-height: 92vh;
  perspective: 1600px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-book-close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 20;
}

.modal.is-active .menu-book-folio {
  animation: openBook3D 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes openBook3D {
  0% {
    opacity: 0;
    transform: perspective(1600px) rotateX(20deg) scale(0.82);
  }
  60% {
    opacity: 1;
    transform: perspective(1600px) rotateX(0deg) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: perspective(1600px) rotateX(0deg) scale(1);
  }
}

.menu-book-ribbons {
  display: flex;
  gap: 8px;
  margin-bottom: -2px;
  z-index: 5;
  width: 100%;
  padding-left: 18px;
  overflow-x: auto;
}

.book-ribbon-btn {
  background: #191410;
  border: 1.5px solid rgba(229, 172, 88, 0.3);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  color: var(--text-secondary);
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.book-ribbon-btn.active, .book-ribbon-btn:hover {
  background: #271f18;
  color: #e5ac58;
  border-color: #e5ac58;
  transform: translateY(-3px);
  box-shadow: 0 -4px 14px rgba(229, 172, 88, 0.2);
}

.menu-book-folio {
  display: flex;
  width: 100%;
  min-height: 560px;
  max-height: calc(85vh - 70px);
  background: #14100c;
  border-radius: 12px;
  border: 2px solid rgba(229, 172, 88, 0.45);
  box-shadow: 
    0 30px 90px rgba(0, 0, 0, 0.95), 
    0 0 50px rgba(229, 172, 88, 0.12),
    inset 0 0 40px rgba(0, 0, 0, 0.85);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.book-page {
  flex: 1;
  padding: 24px 22px;
  overflow-y: auto;
  position: relative;
  background: linear-gradient(135deg, rgba(24, 19, 15, 0.99), rgba(16, 12, 10, 0.99));
}

.book-page-left {
  border-right: 1px solid rgba(229, 172, 88, 0.15);
  box-shadow: inset -15px 0 25px rgba(0, 0, 0, 0.6);
}

.book-page-right {
  border-left: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: inset 15px 0 25px rgba(0, 0, 0, 0.6);
}

.book-page::-webkit-scrollbar {
  width: 5px;
}

.book-page::-webkit-scrollbar-thumb {
  background: rgba(229, 172, 88, 0.3);
  border-radius: 2px;
}

.book-spine-line {
  width: 8px;
  background: linear-gradient(to right, #090706, #30241b, #090706);
  box-shadow: 0 0 12px rgba(0,0,0,0.9);
  flex-shrink: 0;
}

.book-header {
  text-align: center;
  margin-bottom: 20px;
}

.book-badge {
  font-size: 0.68rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
}

.book-chapter-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #fff;
  margin-top: 4px;
}

.book-gold-divider {
  font-size: 0.75rem;
  color: #e5ac58;
  letter-spacing: 4px;
  margin-top: 6px;
  opacity: 0.6;
}

.book-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-book-item {
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(229, 172, 88, 0.14);
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.menu-book-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(229, 172, 88, 0.35);
  transform: translateY(-2px);
}

.menu-book-img {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(229, 172, 88, 0.2);
}

.menu-book-info {
  flex-grow: 1;
}

.menu-book-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.menu-book-name {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  color: var(--text-pure);
}

.menu-book-price {
  font-weight: 700;
  color: var(--gold-light);
  font-size: 0.9rem;
}

.menu-book-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin-bottom: 6px;
}

.menu-book-notes {
  font-size: 0.72rem;
  color: #e5ac58;
  margin-bottom: 8px;
}

.taste-meter-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 10px;
  margin-bottom: 10px;
}

.taste-meter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.66rem;
  color: var(--text-muted);
}

.meter-bar {
  width: 55px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.meter-bar div {
  height: 100%;
  background: var(--gold-gradient);
}

.menu-book-add-btn {
  width: 100%;
  padding: 6px 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold-light);
  border-color: rgba(229, 172, 88, 0.3);
  cursor: pointer;
}

.menu-book-add-btn:hover {
  background: var(--gold-gradient);
  color: #120e09;
}

.menu-book-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 16px 0 16px;
}

.book-footer-note {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   6. PERSONALIZADOR BARISTA EXPRESS ("PEDIR AHORA")
   -------------------------------------------------------------------------- */
.modal-express-order {
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
}

.express-service-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

/* .checkout-service-btn comparte el mismo look que .service-type-btn
   (selector de entrega del personalizador) pero NO comparte clase real:
   selectServiceType() y selectCheckoutServiceType() consultan cada uno su
   propio selector, para que el carrito y "Pedir Ahora" no se pisen el estado. */
.service-type-btn,
.checkout-service-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.service-type-btn.active,
.checkout-service-btn.active {
  background: rgba(229, 172, 88, 0.15);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.drink-selector-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.drink-select-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xs);
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.drink-select-card.active {
  border-color: var(--gold-light);
  background: rgba(229, 172, 88, 0.15);
}

.drink-select-card img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 4px;
}

.drink-select-card span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-pure);
}

.option-group-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.options-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.chip-btn.active {
  background: var(--gold-gradient);
  color: #120e09;
  font-weight: 700;
  border-color: transparent;
}

.express-summary-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(229, 172, 88, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.express-summary-img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-xs);
  object-fit: cover;
}

.express-summary-info {
  flex-grow: 1;
}

.express-summary-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   7. NUESTRA HISTORIA & BOTANICAL SVG
   -------------------------------------------------------------------------- */
.story-card {
  background: linear-gradient(135deg, #171411 0%, #110f0d 100%);
  border: 1px solid rgba(229, 172, 88, 0.15);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.story-media {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
}

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

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(12, 10, 8, 0.8);
  border: 2px solid var(--gold-light);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(229, 172, 88, 0.4);
  transition: all var(--transition-smooth);
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold-gradient);
  color: #120e09;
}

.story-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.story-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.story-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.story-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

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

.check-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(212, 155, 75, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-watermark {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  pointer-events: none;
  color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   8. ¿POR QUÉ BREW? SECTION
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-item {
  background: rgba(20, 18, 16, 0.6);
  border: 1px solid rgba(229, 172, 88, 0.1);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  transition: all var(--transition-smooth);
}

.why-item:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  background: rgba(28, 24, 20, 0.85);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 155, 75, 0.1);
}

.why-icon {
  color: var(--gold-light);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.why-item:hover .why-icon {
  transform: scale(1.1);
}

.why-item-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.why-item-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. CAFÉ DE ORIGEN SECTION
   -------------------------------------------------------------------------- */
.origen-card {
  background: linear-gradient(135deg, #161310 0%, #0d0b09 100%);
  border: 1px solid rgba(229, 172, 88, 0.18);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  padding: 20px 48px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  position: relative;
}

.origen-content {
  padding-right: 20px;
}

.origen-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  line-height: 1.18;
  margin-bottom: 12px;
}

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

.origen-media {
  display: flex;
  justify-content: center;
}

.origen-img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   10. TESTIMONIOS SECTION
   -------------------------------------------------------------------------- */
/* 4 reseñas: se reparten 4 / 2x2 / 1 para que nunca quede una huérfana
   (antes eran 3 columnas fijas y la 4ª colgaba sola en una fila) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(229, 172, 88, 0.12);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--gold-primary);
}

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

.author-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 2px;
}

/* Ahora contiene <svg> (no caracteres ★), así que se alinea como fila flex */
.stars {
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   11. VISÍTANOS & MAP SECTION
   -------------------------------------------------------------------------- */
.visit-card {
  background: var(--bg-card);
  border: 1px solid rgba(229, 172, 88, 0.15);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.stores-info {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.store-item {
  display: flex;
  gap: 16px;
  padding: 10px;
  margin: -10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.store-item:hover,
.store-item.is-active {
  background: rgba(229, 172, 88, 0.06);
}

.store-pin-icon {
  color: var(--gold-light);
  margin-top: 2px;
  flex-shrink: 0;
}

.store-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.store-address {
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.store-hours {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.4;
}

.map-container {
  position: relative;
  background: #090807;
  min-height: 420px;
  overflow: hidden;
}

#visitMap {
  position: absolute;
  inset: 0;
}

/* Turn free OpenStreetMap tiles into a dark/gold BREW map, no API key required */
#visitMap .leaflet-tile-pane {
  filter: invert(1) hue-rotate(190deg) brightness(0.85) contrast(0.95) saturate(0.55) sepia(0.25);
}
#visitMap .leaflet-control-attribution {
  background: rgba(7, 6, 6, 0.75) !important;
  color: var(--text-muted) !important;
  font-size: 9px !important;
}
#visitMap .leaflet-control-attribution a { color: var(--gold-light) !important; }
#visitMap .leaflet-control-zoom a {
  background: var(--bg-card) !important;
  color: var(--gold-light) !important;
  border-color: var(--gold-border) !important;
}
#visitMap .leaflet-control-zoom a:hover {
  background: var(--gold-light) !important;
  color: var(--bg-darkest) !important;
}

/* Vignette so the map tiles blend into the card */
.map-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 400;
  box-shadow: inset 0 0 90px 30px rgba(7, 6, 6, 0.85);
}

.map-pin {
  position: relative;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.pin-marker {
  color: var(--gold-light);
  filter: drop-shadow(0 0 10px rgba(229, 172, 88, 0.8));
  transition: transform var(--transition-fast);
}

.map-pin:hover .pin-marker {
  transform: scale(1.2) translateY(-4px);
}

.pin-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-light);
  animation: radarRipple 2s infinite ease-out;
  pointer-events: none;
}

@keyframes radarRipple {
  0% { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}

/* Leaflet-managed tooltips (positioned by Leaflet itself, not by .map-pin) */
.brew-tooltip.leaflet-tooltip {
  background: rgba(18, 15, 12, 0.95);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-xs);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}
.brew-tooltip.leaflet-tooltip::before { border-top-color: rgba(18, 15, 12, 0.95); }

.distance-badge.leaflet-tooltip {
  background: var(--bg-darkest);
  border: 1px solid var(--gold-light);
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 14px rgba(229, 172, 88, 0.35);
}
.distance-badge.leaflet-tooltip::before { display: none; }

.store-distance {
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.5;
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   12. BLOG & RECETAS + NEWSLETTER
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid rgba(229, 172, 88, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.blog-img-wrap {
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.blog-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--text-pure);
  margin-bottom: 12px;
  flex-grow: 1;
}

.blog-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-link:hover {
  color: var(--text-pure);
  text-decoration: underline;
}

.newsletter-card {
  background: linear-gradient(135deg, #1d1813 0%, #120f0d 100%);
  border: 1px solid rgba(229, 172, 88, 0.25);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.newsletter-icon-wrap {
  color: var(--gold-light);
  margin-bottom: 12px;
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.newsletter-subtitle {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 16px;
}

.newsletter-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(229, 172, 88, 0.2);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-family: var(--font-sans);
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 10px rgba(229, 172, 88, 0.25);
}

/* --------------------------------------------------------------------------
   13. BOTTOM CTA BANNER
   -------------------------------------------------------------------------- */
.bottom-cta-section {
  padding: 40px 0 70px 0;
}

.cta-banner-card {
  background: linear-gradient(135deg, #181512 0%, #0e0c0a 100%);
  border: 1px solid rgba(229, 172, 88, 0.2);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.4fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 24px 44px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  position: relative;
}

.cta-banner-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 6px;
}

.cta-banner-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.cta-banner-media {
  display: flex;
  justify-content: flex-end;
}

.cta-cup-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 155, 75, 0.2);
}

.cta-dust-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   14. MAIN FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
  background-color: #060505;
  border-top: 1px solid rgba(229, 172, 88, 0.12);
  padding: 70px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 14px 0 20px 0;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
}

.social-circle:hover {
  background: var(--gold-gradient);
  color: #120e09;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(212, 155, 75, 0.3);
}

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-pure);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.84rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.contact-icon {
  color: var(--gold-light);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   15. SLIDE-OVER CART DRAWER
   -------------------------------------------------------------------------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  z-index: 99990;
}

.cart-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #110f0d;
  border-left: 1px solid rgba(229, 172, 88, 0.2);
  z-index: 99991;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

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

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-light);
}

.cart-close-btn {
  font-size: 1.2rem;
  color: var(--text-secondary);
  padding: 4px;
}

.cart-close-btn:hover {
  color: var(--text-pure);
}

.cart-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.empty-cart-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto 0;
  text-align: center;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 10px;
  opacity: 0.5;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.cart-item-img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-xs);
  object-fit: cover;
}

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

.cart-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-pure);
}

.cart-item-price {
  font-size: 0.82rem;
  color: var(--gold-light);
}

/* Chips editables de variante (solo en líneas de bebida: calientes/frios/especiales).
   Postres y extras no tienen variante, así que su línea no gana esta fila. */
.cart-item-variant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 6px 0;
}

.chip-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 22px 3px 10px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5ac58' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 10px;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.chip-select:hover,
.chip-select:focus {
  border-color: var(--gold-light);
  color: var(--gold-light);
  outline: none;
}

.cart-item-qty-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.qty-btn:hover {
  background: var(--gold-primary);
  color: #120e09;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0b09;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.cart-total-price {
  font-weight: 700;
  color: var(--gold-light);
  font-size: 1.1rem;
}

.free-badge {
  color: #4ade80;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   16. MODALS & TOASTS
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 99995;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: #141210;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  z-index: 2;
  animation: modalScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-video-dialog {
  max-width: 700px;
  padding: 16px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.2rem;
  color: var(--text-secondary);
}

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

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}

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

.video-container-mock {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.video-mock-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay-player {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.coffee-story-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.video-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin-top: 14px;
  overflow: hidden;
}

.progress-fill {
  width: 60%;
  height: 100%;
  background: var(--gold-gradient);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100000;
  pointer-events: none;
}

.toast {
  background: rgba(18, 15, 12, 0.96);
  border: 1px solid var(--gold-border);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

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