/*
Theme Name: Andea Turismo
Template: storefront
Version: 2.0.0
Description: Plataforma de turismo moderna, inmersiva y de alta conversión sobre Storefront y WooCommerce.
Author: Antigravity AI
*/

/* ==========================================================================
   1. DESIGN TOKENS & SYSTEM VARIABLES
   ========================================================================== */
:root {
  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Colors: Andean Forest & Inca Terracotta Sunset */
  --primary: #0b3328;
  --primary-dark: #07221b;
  --primary-light: #164a3b;
  --primary-subtle: #edf5f1;
  --accent: #e06738;
  --accent-hover: #c85427;
  --accent-light: #fff3ec;
  --gold: #f59e0b;
  --gold-light: #fef3c7;
  
  /* Neutrals & Surfaces */
  --bg-page: #faf9f5;
  --bg-surface: #ffffff;
  --bg-muted: #f3f4f0;
  --ink: #111827;
  --ink-muted: #596a62;
  --ink-light: #8e9c95;
  --border: #e6ebe7;
  --border-focus: #164a3b;
  
  /* Elevation & Shadows */
  --shadow-xs: 0 1px 3px rgba(11, 51, 40, 0.05);
  --shadow-sm: 0 4px 12px rgba(11, 51, 40, 0.06);
  --shadow-card: 0 12px 32px -4px rgba(11, 51, 40, 0.08);
  --shadow-hover: 0 24px 48px -6px rgba(11, 51, 40, 0.16);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.08);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Layout */
  --max-w: 1240px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. BASE & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-top: 0;
}

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

a:hover {
  color: var(--accent);
}

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

.col-full {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Remove default storefront floats & sidebar clutter */
.content-area {
  width: 100% !important;
  float: none !important;
  margin-right: 0 !important;
}

.widget-area {
  display: none !important;
}

.site-content {
  padding-top: 32px;
  padding-bottom: 60px;
}

.home .site-content {
  padding-top: 20px;
}

/* ==========================================================================
   3. TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-announcement-bar {
  background: var(--primary-dark);
  color: #e5ede8;
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(224, 103, 56, 0.2);
  color: #ff9d77;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 11px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.top-bar-message {
  font-weight: 400;
  color: #cfdad3;
}

.top-bar-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #9cb3a6;
}

/* ==========================================================================
   4. STICKY MODERN HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  transition: var(--transition);
}

.brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

/* Brand Logo */
.andea-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(11, 51, 40, 0.2);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--primary-dark);
}

.logo-country {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 7px;
  border-radius: var(--radius-full);
}

/* Nav links */
.andea-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.andea-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 8px 0;
}

.andea-nav a:hover,
.andea-nav a.is-active {
  color: var(--primary);
}

.andea-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.andea-nav a:hover::after,
.andea-nav a.is-active::after {
  width: 100%;
}

/* Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-reserve-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-surface);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.nav-reserve-btn:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  color: var(--primary-dark);
}

.nav-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary);
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(11, 51, 40, 0.2);
  transition: var(--transition);
}

.nav-whatsapp-btn:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11, 51, 40, 0.28);
}

.live-indicator {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
}

.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 9px;
  cursor: pointer;
}

.mobile-toggle-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: 0.2s;
}

/* ==========================================================================
   5. MOBILE DRAWER MENU
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 51, 40, 0.5);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: var(--bg-surface);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-overlay.is-open .mobile-drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.drawer-close-btn {
  background: var(--bg-muted);
  border: none;
  font-size: 26px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0 auto;
}

.drawer-nav a {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary-dark);
  padding: 8px 0;
}

.drawer-nav a.drawer-highlight {
  color: var(--accent);
  background: var(--accent-light);
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

.drawer-contact-card {
  background: var(--primary-subtle);
  border: 1px solid rgba(11, 51, 40, 0.1);
  padding: 18px;
  border-radius: var(--radius-md);
  text-align: center;
}

.drawer-contact-card p {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
}

.drawer-wa-btn {
  display: block;
  background: var(--accent);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   6. HERO SECTION & CINEMATIC SEARCH WIDGET
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 6%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: #ffffff;
  background: #133a30;
  margin: 0 0 65px;
  box-shadow: var(--shadow-card);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.02);
  transition: transform 8s ease;
}

.hero:hover > img {
  transform: scale(1.07);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7, 34, 27, 0.90) 0%, rgba(7, 34, 27, 0.72) 48%, rgba(7, 34, 27, 0.25) 100%);
  z-index: -1;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--accent);
  background: rgba(224, 103, 56, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: #ffd89b;
}

.hero p {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.55;
  color: #e5ede7;
  margin: 0 0 32px;
}

/* Floating Multi-Segment Search Bar */
.tour-search {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 8px 10px 8px 18px;
  border-radius: var(--radius-full);
  max-width: 600px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  gap: 12px;
}

.tour-search-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.tour-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  padding: 10px 0;
}

.tour-search input::placeholder {
  color: #8c9c93;
}

.tour-search button {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #ffffff;
  border: none;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(224, 103, 56, 0.35);
  transition: var(--transition);
  white-space: nowrap;
}

.tour-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(224, 103, 56, 0.45);
}

/* Trust Badges in Hero */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #e5ede7;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   7. SECTION HEADINGS & BUTTONS
   ========================================================================== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 40px 0 28px;
}

.section-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  margin: 0;
  color: var(--primary-dark);
}

.section-head p {
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-size: 15px;
}

.section-head-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.section-head-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateX(3px);
}

.button, 
button, 
.added_to_cart, 
input[type="submit"] {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-weight: 600;
  padding: 12px 22px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  color: #ffffff;
}

/* ==========================================================================
   8. DESTINATIONS CARDS (DESTINOS)
   ========================================================================== */
.destinations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 75px;
}

.destination {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--primary-dark);
  color: #ffffff;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.destination:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.destination img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.destination:hover img {
  transform: scale(1.08);
}

.destination::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 34, 27, 0.05) 30%, rgba(7, 34, 27, 0.85) 90%);
  transition: opacity 0.3s ease;
}

.destination .caption {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  z-index: 2;
}

.destination h3 {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 4px;
}

.destination small {
  color: #e5ede7;
  font-size: 13px;
  display: block;
}

.destination .dest-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: var(--transition);
}

.destination:hover .dest-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   9. MODERN TOUR CARDS (PRODUCT LOOP)
   ========================================================================== */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 30px !important;
  margin: 0 0 65px !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

ul.products li.product {
  position: relative !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  text-align: left !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  padding: 0 0 24px !important;
  box-shadow: var(--shadow-card) !important;
  transition: var(--transition) !important;
  display: flex !important;
  flex-direction: column !important;
}

ul.products li.product:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-hover) !important;
  border-color: rgba(11, 51, 40, 0.16) !important;
}

/* Image container */
ul.products li.product a.woocommerce-LoopProduct-link {
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
  text-decoration: none !important;
}

ul.products li.product img {
  width: 100% !important;
  height: 240px !important;
  object-fit: cover !important;
  margin: 0 !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

ul.products li.product:hover img {
  transform: scale(1.06) !important;
}

/* Floating Tour Badge on Thumbnail */
.tour-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 51, 40, 0.88);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

/* Card Content Elements */
ul.products li.product .tour-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 22px 8px !important;
}

.tour-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.tour-pill-loc {
  background: var(--primary-subtle);
  color: var(--primary);
}

.tour-pill-dur {
  background: var(--bg-muted);
  color: var(--ink-muted);
}

.tour-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 22px 10px !important;
  font-size: 13px;
}

.tour-stars {
  color: var(--gold);
  letter-spacing: 1px;
}

.tour-score {
  color: var(--ink);
  font-weight: 700;
}

.tour-reviews {
  color: var(--ink-light);
  font-size: 12px;
}

/* Card Title */
ul.products li.product h2,
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display) !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  color: var(--primary-dark) !important;
  line-height: 1.3 !important;
  margin: 0 22px 14px !important;
  min-height: 50px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Price */
ul.products li.product .price {
  margin: auto 22px 16px !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 4px !important;
}

ul.products li.product .price::before {
  content: 'Desde ';
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-light);
  text-transform: uppercase;
}

ul.products li.product .price::after {
  content: ' / pers.';
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
}

/* Card CTA Button */
ul.products li.product .button {
  margin: 0 22px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 11px 18px !important;
  border-radius: var(--radius-md) !important;
  background: var(--primary-subtle) !important;
  color: var(--primary) !important;
  border: 1px solid rgba(11, 51, 40, 0.12) !important;
  box-shadow: none !important;
  text-align: center !important;
  display: block !important;
}

ul.products li.product .button:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
}

/* ==========================================================================
   10. EDITORIAL & VALUE PROPOSITION SECTIONS
   ========================================================================== */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
  padding: 55px;
  background: linear-gradient(135deg, #eaf2ec, #f3f6f1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin: 75px 0;
  box-shadow: var(--shadow-sm);
}

.editorial img {
  height: 360px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.editorial h2 {
  font-size: clamp(32px, 3.5vw, 44px);
  margin: 0 0 16px;
  color: var(--primary-dark);
}

.editorial p {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
}

/* 3-Step Process / Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 40px 0;
  border-block: 1px solid var(--border);
  margin: 65px 0;
}

.benefits > div {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.benefits > div:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
}

.benefits h3 {
  font-size: 18px;
  color: var(--primary);
  margin: 0 0 8px;
}

.benefits p {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0;
}

/* ==========================================================================
   11. TESTIMONIALS & FAQ ACCORDION
   ========================================================================== */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 30px 0 70px;
}

.quote {
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  font-size: 14px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.quote:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(11, 51, 40, 0.18);
}

.quote span[aria-label] {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.quote p {
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin: 0 0 18px;
}

.quote strong {
  display: block;
  color: var(--primary-dark);
  font-size: 15px;
}

.quote small {
  color: var(--ink-light);
  font-size: 12px;
}

/* FAQ Accordion */
.faq {
  max-width: 860px;
  margin: 25px auto 75px;
}

details {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  padding: 18px 24px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

details[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--primary-dark);
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

details p {
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   12. SINGLE TOUR PAGE (PRODUCT DETAIL)
   ========================================================================== */
.single-product .site-content {
  padding-top: 24px;
}

.woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 24px;
}

.woocommerce-breadcrumb a {
  color: var(--ink-muted);
}

/* Layout 2 columns */
.single-product div.product {
  display: grid !important;
  grid-template-columns: 1fr 420px !important;
  gap: 40px !important;
  align-items: start !important;
}

.single-product div.product .woocommerce-product-gallery {
  grid-column: 1;
  width: 100% !important;
  float: none !important;
  margin: 0 0 30px !important;
}

.single-product div.product .woocommerce-product-gallery img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

/* Sticky Booking Box (Summary) */
.single-product .summary {
  grid-column: 2;
  position: sticky;
  top: 100px;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-xl) !important;
  padding: 32px !important;
  box-shadow: var(--shadow-card) !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.single-product h1.product_title {
  font-family: var(--font-display) !important;
  font-size: 32px !important;
  line-height: 1.2 !important;
  color: var(--primary-dark) !important;
  margin-bottom: 14px !important;
}

/* Trust & Feature Strip */
.single-tour-meta-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--primary-subtle);
  border: 1px solid rgba(11, 51, 40, 0.1);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 13px;
}

.single-tour-meta-strip .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-dark);
}

.single-product .price {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
  margin-bottom: 20px !important;
  display: block;
}

/* Booking widget fields (MWB & Andea) */
.participant-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 18px 0;
}

.participant-fields label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.participant-fields input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  background: var(--bg-muted);
}

.participant-total {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--ink-muted);
  background: #fdfaf2;
  border: 1px solid #fae8c3;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.participant-total strong {
  color: var(--accent);
  display: block;
  font-size: 15px;
  margin-top: 4px;
}

.single_add_to_cart_button {
  width: 100% !important;
  padding: 16px 24px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  border-radius: var(--radius-md) !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover)) !important;
  box-shadow: 0 8px 20px rgba(224, 103, 56, 0.35) !important;
  margin-top: 10px !important;
}

.single_add_to_cart_button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(224, 103, 56, 0.45) !important;
}

/* Tour Description & Itinerary on Left Column */
.woocommerce-tabs {
  grid-column: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
}

.woocommerce-tabs h2 {
  font-size: 26px;
  margin: 0 0 16px;
  color: var(--primary-dark);
}

.woocommerce-tabs h3 {
  font-size: 20px;
  margin: 28px 0 10px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Demo Notice Alert */
.demo-alert {
  padding: 16px 20px;
  background: #fef7ed;
  border: 1px solid #fed7aa;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  margin: 20px 0;
  font-size: 14px;
  color: #9a3412;
}

/* Hide raw MWB redundant counter */
.mbfw-additionl-detail-listing-section__wrapper:has(#mwb_mbfw_people_number) {
  display: none !important;
}

/* ==========================================================================
   12.1 ITINERARY TIMELINE & INCLUDES/EXCLUDES COMPONENTS
   ========================================================================== */
.itinerary-timeline {
  position: relative;
  margin: 25px 0 35px;
  padding-left: 32px;
}

.itinerary-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  border-radius: 2px;
}

.itinerary-step {
  position: relative;
  margin-bottom: 24px;
}

.itinerary-step:last-child {
  margin-bottom: 0;
}

.itinerary-dot {
  position: absolute;
  left: -32px;
  top: 2px;
  width: 24px;
  height: 24px;
  background: var(--bg-surface);
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--bg-page);
}

.itinerary-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 6px;
}

.itinerary-step p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* Features Comparison (Incluye / No Incluye) */
.features-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 25px 0 35px;
}

.compare-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.compare-card-included {
  background: #f4faf6;
  border-color: #d1ead9;
}

.compare-card-excluded {
  background: #fafafa;
  border-color: #e5e5e5;
}

.compare-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-card-included h4 {
  color: #166534;
}

.compare-card-excluded h4 {
  color: #525252;
}

.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-list li {
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.compare-card-included li {
  color: #14532d;
}

.compare-card-excluded li {
  color: #525252;
}

.compare-list .check-icon {
  color: #16a34a;
  font-weight: 800;
}

.compare-list .cross-icon {
  color: #dc2626;
  font-weight: 800;
}

/* Travel Tips Box */
.travel-tips-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 25px 0 35px;
}

.travel-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.tip-item {
  background: var(--bg-muted);
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--ink);
}

.tip-item strong {
  display: block;
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 4px;
}

@media (max-width: 680px) {
  .features-comparison {
    grid-template-columns: 1fr;
  }
  .travel-tips-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   13. CHECKOUT & RECEIPT (FACTURACIÓN PERÚ)
   ========================================================================== */
.woocommerce-checkout .woocommerce {
  max-width: 1080px;
  margin: 0 auto;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: none;
  background: var(--bg-surface);
  min-height: 48px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 51, 40, 0.12);
}

#order_review {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

#order_review_heading {
  font-size: 24px;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.demo-receipt {
  background: var(--primary-subtle);
  border: 2px dashed var(--primary);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin: 30px 0;
  text-align: center;
}

.demo-receipt h2 {
  font-size: 28px;
  color: var(--primary-dark);
  margin: 10px 0;
}

/* ==========================================================================
   14. FLOATING WHATSAPP & MOBILE STICKY BAR
   ========================================================================== */
.wa-float-container {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1500;
}

.wa-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 22px 12px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.wa-float-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.wa-float-dot {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

/* Pop-up Chat Card */
.wa-chat-card {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 330px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: card-appear 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes card-appear {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-chat-header {
  background: var(--primary);
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.wa-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border: 2px solid var(--primary);
  border-radius: 50%;
}

.wa-agent-info strong {
  display: block;
  font-size: 14px;
}

.wa-agent-info small {
  color: #9cb3a6;
  font-size: 11px;
}

.wa-close-card {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  padding: 0;
}

.wa-chat-body {
  padding: 20px;
  background: #f7f9f7;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-bubble {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 14px 14px 14px 2px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.45;
  box-shadow: var(--shadow-xs);
}

.wa-bubble-sub {
  color: var(--ink-muted);
}

.wa-chat-footer {
  padding: 14px 20px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.wa-start-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Mobile Sticky Booking Bar */
.mobile-sticky-booking {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  z-index: 1200;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  align-items: center;
  justify-content: space-between;
}

.mobile-booking-info small {
  display: block;
  font-size: 11px;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.mobile-booking-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.mobile-booking-cta {
  background: var(--accent);
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
}

/* ==========================================================================
   15. MODERN MULTI-COLUMN FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: #d1ded7;
  padding: 70px 0 30px;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-col .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-brand-col .logo-text {
  color: #ffffff;
}

.footer-tagline {
  color: #9cb3a6;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

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

.guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #b5c7bd;
}

.footer-col-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #9cb3a6;
  font-size: 14px;
}

.footer-links-list a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pay-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 13px;
  color: #7b9487;
}

.footer-bottom-bar p {
  margin: 0;
}

/* ==========================================================================
   16. RESPONSIVE DESIGN (TABLETS & PHONES)
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .destinations {
    grid-template-columns: repeat(2, 1fr);
  }
  .single-product div.product {
    grid-template-columns: 1fr !important;
  }
  .single-product .summary {
    position: static !important;
  }
}

@media (max-width: 820px) {
  .andea-nav,
  .header-actions .nav-reserve-btn {
    display: none;
  }
  .mobile-toggle-btn {
    display: flex;
  }
  .hero {
    min-height: 520px;
    padding: 50px 24px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .tour-search {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 12px;
  }
  .tour-search input {
    width: 100%;
    text-align: center;
  }
  .tour-search button {
    width: 100%;
  }
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
  .editorial {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 30px;
  }
  .editorial img {
    height: 240px;
  }
  .benefits {
    grid-template-columns: 1fr;
  }
  .quotes {
    grid-template-columns: 1fr;
  }
  .mobile-sticky-booking {
    display: flex;
  }
  .site-footer {
    padding-bottom: 90px;
  }
}

@media (max-width: 540px) {
  .top-bar-message,
  .top-bar-secure {
    display: none;
  }
  .hero h1 {
    font-size: 34px;
  }
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }
  .destinations {
    grid-template-columns: 1fr;
  }
  .destination {
    min-height: 220px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
