/* ==========================================================================
   JELODA - Software POS para Licoreras, Estancos y Cigarrerías (p/licorera/dom/index.css)
   Clean Code - Separación estricta de responsabilidades (cero CSS embebido)
   Tema: Dark Whiskey Amber, Gold & Midnight Charcoal (#f59e0b, #d97706, #b45309, #fbbf24)
   ========================================================================== */

/* ── Base layout ── */
.product-page-wrapper.licorera-page {
  padding-top: 160px !important;
  padding-bottom: 120px !important;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

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

.product-bg-wave {
  position: absolute;
  top: 4%;
  right: -240px;
  width: 820px;
  height: auto;
  opacity: 0.25;
  z-index: 1;
  pointer-events: none;
  animation: floatSlowLicor 16s infinite ease-in-out;
}

.product-bg-wave img {
  width: 100%;
  height: auto;
}

@keyframes floatSlowLicor {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(2deg); }
}

/* ── Badge Licorera Neon ── */
.badge-licorera-neon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(217, 119, 6, 0.12) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  color: #fbbf24 !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 22px rgba(245, 158, 11, 0.2) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1rem;
  gap: 8px;
}

.badge-licorera-neon i {
  font-size: 1.15rem;
  color: #f59e0b;
}

/* ── Hero Typography ── */
.licorera-hero-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.text-licorera-gradient {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* ── Botones de Acción ── */
.btn-licorera-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.38);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-licorera-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(245, 158, 11, 0.55);
  color: #ffffff !important;
}

/* ── Hero Stats ── */
.hero-stats-wrapper {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item-premium {
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.stat-item-premium:hover {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-2px);
}

.stat-number-licorera {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1.2;
}

.stat-label-premium {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 4px;
}

/* ── Mockup Interactivo Licorera ── */
.licorera-mockup-card {
  background: #0f141c;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(245, 158, 11, 0.12);
  overflow: hidden;
  margin-top: 2.5rem;
}

.mockup-header-bar {
  background: #1b2332;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-title {
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 600;
}

.mockup-badge-live {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}

.mockup-body {
  padding: 24px;
}

/* ── Fraccionamiento de Licores Demo ── */
.liquor-fraction-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 16px;
  padding: 20px;
}

.liquor-mode-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.liquor-tab-btn {
  flex: 1;
  padding: 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #cbd5e1;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.liquor-tab-btn.active {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  color: #fbbf24;
}

.liquor-bottle-visual {
  height: 120px;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.3) 0%, rgba(217, 119, 6, 0.6) 100%);
  border-radius: 12px;
  border: 2px solid #f59e0b;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.liquor-level-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  transition: height 0.4s ease;
}

/* ── Combo Promo Card ── */
.combo-promo-box {
  background: #1e1b18;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.combo-items-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  font-size: 1.5rem;
}

.combo-price-tag {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fbbf24;
}

.combo-saving-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 6px;
}

/* ── Answer-First Box ── */
.answer-first-box {
  background: rgba(245, 158, 11, 0.05);
  border-left: 4px solid #f59e0b;
  border-radius: 0 14px 14px 0;
  padding: 20px 24px;
  margin-bottom: 2rem;
  color: #e2e8f0;
  font-size: 1.02rem;
  line-height: 1.68;
}

.answer-first-box strong {
  color: #fbbf24;
}

/* ── Feature Cards ── */
.card-licorera-feature {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 30px 26px;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.card-licorera-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.15);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.feature-icon-wrapper i {
  font-size: 28px;
  color: #fbbf24;
}

.card-feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.card-feature-desc {
  font-size: 0.94rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* ── Arqueo Nocturno Box ── */
.night-audit-card {
  background: #0f172a;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 18px;
  padding: 24px;
}

.audit-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fbbf24;
}

/* ── FAQ Accordion ── */
.faq-section-licorera {
  margin-top: 5rem;
}

.faq-licorera-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-licorera-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
}

.faq-licorera-header {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-licorera-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0;
}

.faq-licorera-icon {
  color: #f59e0b;
  transition: transform 0.3s ease;
}

.faq-licorera-body {
  padding: 0 22px 20px 22px;
  display: none;
  color: #94a3b8;
  font-size: 0.96rem;
  line-height: 1.68;
}

.faq-licorera-card.open .faq-licorera-body {
  display: block;
}

.faq-licorera-card.open .faq-licorera-icon {
  transform: rotate(180deg);
}

/* ── CTA Final ── */
.licorera-cta-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.1) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  margin-top: 5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ── Interlinking Retail Especializado ── */
.cluster-link-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  display: block;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.cluster-link-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.15);
}

.cluster-link-card i {
  font-size: 32px;
  color: #f59e0b;
  margin-bottom: 12px;
}

.cluster-link-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.cluster-link-card p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .product-page-wrapper.licorera-page {
    padding-top: 120px !important;
    padding-bottom: 80px !important;
  }
  .licorera-hero-title {
    font-size: 2.1rem !important;
  }
  .btn-licorera-action {
    width: 100%;
    padding: 14px 24px;
  }
  .liquor-mode-tabs {
    flex-direction: column;
  }
}
