/* 
   alSur de Granada  Tienda pblica  style.css
    */

/*  Variables  */
:root {
  --olive:      #20634A;
  --olive-d:    #20634A;
  --gold:       #B89055;
  --gold-l:     #D4AD72;
  --terra:      #B8623A;
  --cream:      #FAF7F2;
  --cream-d:    #F0EBE2;
  --ink:        #1B1F15;
  --ink-2:      #3D4235;
  --muted:      #7A7567;
  --line:       #E4DDD4;
  --surface:    #FFFFFF;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(27,31,21,.08);
  --shadow-lg:  0 16px 64px rgba(27,31,21,.14);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;
  --trans:      .28s cubic-bezier(.4,0,.2,1);
}

/*  Reset  */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100dvh;
}
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
  background: var(--surface);
  color: var(--ink);
  transition: border-color var(--trans);
}
input:focus, select:focus, textarea:focus { border-color: var(--olive); }
a { color: inherit; text-decoration: none; }

/*  Header  */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--olive-d);
  border-bottom: none;
  padding: 0 40px;
  display: flex; align-items: center; gap: 20px;
  height: 60px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 300;
  letter-spacing: .06em; color: var(--cream);
  cursor: pointer; display: flex; align-items: center;
  flex-shrink: 0;
}
.logo img { height: 36px; width: auto; object-fit: contain; display: block; }
.logo em { font-style: italic; color: var(--gold-l); }
.header-spacer { flex: 1; }
.header-icons { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
/* Orden fijo de iconos: 1=idioma 2=burger 3=usuario */
.lang-wrap      { order: 1; }
.nav-burger     { order: 2; }
.user-icon-wrap { order: 3; }
.back-btn {
  display: none; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.7);
  font-weight: 500; letter-spacing: .04em;
  padding: 8px 0; transition: color var(--trans); white-space: nowrap;
}
.back-btn:hover { color: var(--cream); }
.back-btn.visible { display: flex; }
.header-icon-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; color: rgba(255,255,255,.65);
  transition: color var(--trans), background var(--trans);
}
.header-icon-btn:hover { color: var(--cream); background: rgba(255,255,255,.12); }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px; font-size: 13px; font-weight: 500;
  color: var(--cream); cursor: pointer; background: transparent;
  transition: border-color var(--trans), background var(--trans);
  white-space: nowrap;
}
.lang-btn:hover { border-color: var(--gold-l); background: rgba(255,255,255,.1); }

/*  Idioma dropdown  */
.lang-wrap { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 13px; font-weight: 500;
  color: var(--ink); cursor: pointer; background: var(--surface);
  transition: border-color var(--trans);
  white-space: nowrap;
}
.lang-btn:hover { border-color: var(--olive); color: var(--olive); }
.lang-dropdown {
  display: none;
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-lg);
  min-width: 140px; z-index: 1050; overflow: hidden;
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: block; width: 100%;
  padding: 10px 16px; font-size: 13.5px; text-align: left;
  cursor: pointer; transition: background var(--trans);
  border: none; background: none; font-family: inherit; color: var(--ink);
}
.lang-option:hover { background: var(--cream); }
.lang-option.active { color: var(--olive); font-weight: 600; }

/*  Vistas  */
.view { display: none; }
.view.active { display: block; }

/*  Catlogo  */
.catalog-hero {
  text-align: center; padding: 28px 24px 28px;
  max-width: 720px; margin: 0 auto;
}
.catalog-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  font-weight: 300; line-height: 1.15;
  letter-spacing: -.01em; margin-bottom: 14px;
  color: var(--ink);
}
.catalog-hero h1 em { font-style: italic; color: var(--olive); }
.catalog-hero h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 300; font-style: italic;
  color: var(--muted); letter-spacing: .01em;
  margin-bottom: 0; line-height: 1.5;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px; max-width: 1200px;
  margin: 0 auto; padding: 0 40px 80px;
}
.exp-card {
  background: var(--surface); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow);
  cursor: pointer; transition: transform var(--trans), box-shadow var(--trans);
  display: flex; flex-direction: column;
}
.exp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.exp-card-img { width: 100%; height: 240px; object-fit: cover; background: var(--cream-d); }
.exp-card-img-ph {
  width: 100%; height: 240px;
  background: linear-gradient(135deg,var(--cream-d) 0%,var(--marca-crema-grad,#E8DDD0) 100%);
  display: flex; align-items: center; justify-content: center; color: var(--line);
}
.exp-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.exp-card-cat { font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.exp-card-name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 400; line-height: 1.2; margin-bottom: 8px; }
.exp-card-tagline { font-size: 13.5px; color: var(--muted); font-weight: 300; flex: 1; margin-bottom: 20px; }
.exp-card-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }
.exp-card-price { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--olive-d); }
.exp-card-price small { font-size: .7em; font-weight: 300; color: var(--muted); }
.exp-card-meta { display: flex; gap: 10px; font-size: 11.5px; color: var(--muted); }
.exp-card-meta span { display: flex; align-items: center; gap: 4px; }
.tag-langs { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
.tag-lang { font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; background: var(--cream-d); color: var(--muted); padding: 2px 7px; border-radius: 99px; }

/*  Detail  */
.detail-page {
  max-width: 1200px; margin: 0 auto;
  padding: 40px 40px 60px;
}
.detail-cols {
  display: grid; grid-template-columns: 1fr 400px;
  gap: 56px; align-items: start;
}
.detail-col-img { position: sticky; top: 80px; }

/* Imagen principal */
.detail-main-wrap { position: relative; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--cream-d); }
.detail-main-wrap::after {
  content: '';
  position: absolute; bottom: 12px; right: 14px;
  background: rgba(255,255,255,.85); border-radius: 99px;
  padding: 4px 10px; font-size: 14px; pointer-events: none;
  opacity: 0; transition: opacity var(--trans);
}
.detail-main-wrap:hover::after { opacity: 1; }
.detail-main-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.detail-main-ph { width: 100%; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--line); }

/* Thumbnails */
.detail-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.detail-thumb-wrap {
  position: relative; border-radius: 10px; overflow: hidden;
  cursor: zoom-in; background: var(--cream-d);
  aspect-ratio: 1;
}
.detail-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity var(--trans); }
.detail-thumb-wrap:hover .detail-thumb { opacity: .85; }

/* Vdeo */
.detail-video { margin-top: 16px; border-radius: 16px; overflow: hidden; }
.detail-video > div { border-radius: 16px; overflow: hidden; }

/* Columna info */
.detail-cat { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.detail-title { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 16px; }
.detail-desc { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 300; line-height: 1.85; color: var(--ink-2); margin-bottom: 24px; }
.detail-meta-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); min-height: 60px; }
.detail-meta-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.detail-meta-item strong { color: var(--ink); font-weight: 500; }

/* Variantes */
.variants-title { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 400; margin-bottom: 12px; }
.variant-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.variant-card { border: 2px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; transition: border-color var(--trans), background var(--trans); display: flex; align-items: center; justify-content: space-between; }
.variant-card:hover { border-color: var(--olive); }
.variant-card.selected { border-color: var(--olive); background: rgba(74,93,58,.05); }
.variant-card-name { font-weight: 500; font-size: 13.5px; }
.variant-card-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }
.variant-card-price { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; color: var(--olive-d); white-space: nowrap; margin-left: 12px; }

/*  Widget reserva  */
.booking-widget { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 24px; border: 1px solid var(--line); }
.widget-price { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 300; color: var(--olive-d); margin-bottom: 4px; min-height: 44px; }
.widget-price span { font-size: .9rem; font-weight: 300; color: var(--muted); }
.widget-sep { height: 1px; background: var(--line); margin: 18px 0; }
.widget-label { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.widget-date-input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; color: var(--ink); background: var(--surface); cursor: pointer; margin-bottom: 16px; }
.widget-date-input:focus { border-color: var(--olive); outline: none; }
.slots-loading { text-align: center; color: var(--muted); font-size: 13px; padding: 16px 0; }
.slot-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.slot-pill { padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 99px; font-size: 13px; font-weight: 500; cursor: pointer; transition: all var(--trans); color: var(--ink-2); }
.slot-pill:hover { border-color: var(--olive); color: var(--olive); }
.slot-pill.selected { border-color: var(--olive); background: var(--olive); color: white; }
.slot-pill small { font-size: 10px; color: inherit; opacity: .7; }
.slot-pill.demo { border-style: dashed; }
.people-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.people-btn { width: 36px; height: 36px; border: 1.5px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--ink); transition: all var(--trans); flex-shrink: 0; }
.people-btn:hover { border-color: var(--olive); color: var(--olive); }
.people-count { font-size: 18px; font-weight: 500; min-width: 32px; text-align: center; }
.people-label { font-size: 13px; color: var(--muted); }
.widget-total { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.widget-total strong { font-family: var(--font-serif); font-size: 1.4rem; color: var(--olive-d); }

/*  Popup / Lightbox  */
.lb-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.75);
  align-items: center; justify-content: center;
  padding: 24px;
}
.lb-backdrop.open { display: flex; }
.lb-box {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
  max-width: min(900px, 92vw);
  max-height: 90vh;
  overflow: hidden;
  animation: lbPop .22s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes lbPop { from { opacity:0; transform:scale(.94); } to { opacity:1; transform:scale(1); } }
.lb-box img { display: block; max-width: 100%; max-height: 80vh; object-fit: contain; }
.lb-close {
  position: absolute; top: 12px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1;
  color: var(--ink); cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: background var(--trans), transform var(--trans);
  border: none; font-family: inherit; z-index: 2;
}
.lb-close:hover { background: white; transform: scale(1.1); }

/*  Ms experiencias  */
.related-section { padding: 40px 40px 80px; max-width: 1200px; margin: 0 auto; }
.related-title { font-family: var(--font-serif); font-size: 2rem; font-weight: 300; margin-bottom: 24px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* Mobile: carrusel horizontal */
@media (max-width: 700px) {
  .related-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .related-grid::-webkit-scrollbar { display: none; }
  .related-grid .exp-card {
    flex-shrink: 0;
    width: 82vw;
    max-width: 320px;
    scroll-snap-align: start;
  }
}

/*  Botones  */
.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px; background: var(--olive); color: white;
  border-radius: 12px; font-size: 15px; font-weight: 500;
  letter-spacing: .04em; transition: background var(--trans), transform var(--trans);
}
.btn-primary:hover { background: var(--olive-d); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-outline {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px; border: 1.5px solid var(--olive);
  color: var(--olive); border-radius: 12px; font-size: 14px; font-weight: 500;
  letter-spacing: .04em; transition: all var(--trans); margin-top: 10px;
}
.btn-outline:hover { background: var(--olive); color: white; }

/*  Formulario de reserva  */
.booking-form-wrap { max-width: 760px; margin: 0 auto; padding: 48px 40px 80px; }
.booking-form-head { margin-bottom: 40px; }
.booking-form-head h2 { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 300; margin-bottom: 8px; }
.booking-form-head p { color: var(--muted); font-size: 14px; }
.booking-summary { background: var(--cream-d); border-radius: 16px; padding: 20px 24px; margin-bottom: 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.booking-summary-title { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 400; flex: 1; }
.booking-summary-detail { font-size: 13px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.booking-summary-price { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--olive-d); white-space: nowrap; }
.form-section { margin-bottom: 32px; }
.form-section-title { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 400; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.one { grid-template-columns: 1fr; }
.form-group label { display: block; font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.coupon-row { display: flex; gap: 10px; }
.coupon-row input { flex: 1; }
.coupon-apply { padding: 12px 20px; background: var(--cream-d); border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap; transition: all var(--trans); }
.coupon-apply:hover { border-color: var(--olive); color: var(--olive); }
.coupon-msg { font-size: 12.5px; margin-top: 6px; }
.coupon-msg.ok { color: var(--olive); }
.coupon-msg.err { color: var(--terra); }
.order-totals { background: var(--cream-d); border-radius: 12px; padding: 20px 24px; margin-bottom: 24px; }
.order-line { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); padding: 4px 0; }
.order-line.total { font-size: 17px; color: var(--ink); font-weight: 500; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.order-line.total strong { font-family: var(--font-serif); font-size: 1.5rem; color: var(--olive-d); }

/*  Confirmacin  */
.confirm-wrap { max-width: 560px; margin: 0 auto; padding: 80px 40px; text-align: center; }
.confirm-icon { width: 80px; height: 80px; background: var(--olive); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; animation: popIn .5s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes popIn { from { transform:scale(0); opacity:0; } to { transform:scale(1); opacity:1; } }
.confirm-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(74,93,58,.1); color: var(--olive); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: 99px; margin-bottom: 20px; }
.confirm-h { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 300; line-height: 1.15; margin-bottom: 12px; }
.confirm-sub { font-size: 15px; color: var(--muted); font-weight: 300; margin-bottom: 36px; }
.confirm-card { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 28px; text-align: left; margin-bottom: 28px; }
.confirm-ref { font-family: 'Courier New', monospace; font-size: 1.6rem; font-weight: 700; color: var(--olive); letter-spacing: .12em; margin-bottom: 20px; text-align: center; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.confirm-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.confirm-row:last-child { border-bottom: none; }
.confirm-row strong { color: var(--ink); }
.confirm-note { font-size: 13px; color: var(--muted); font-weight: 300; line-height: 1.7; margin-bottom: 28px; }
.btn-back-catalog { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border: 1.5px solid var(--olive); border-radius: 12px; color: var(--olive); font-size: 14px; font-weight: 500; transition: all var(--trans); }
.btn-back-catalog:hover { background: var(--olive); color: white; }

/*  Toast  */
.toast-wrap { position: fixed; bottom: 28px; right: 28px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--ink); color: white; padding: 12px 20px; border-radius: 10px; font-size: 13.5px; box-shadow: 0 8px 32px rgba(0,0,0,.2); animation: slideUp .25s ease both; max-width: 340px; }
.toast.ok  { background: var(--olive); }
.toast.err { background: var(--terra); }
@keyframes slideUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/*  Skeleton  */
.skeleton {
  background: linear-gradient(90deg, var(--cream-d) 25%, var(--line) 50%, var(--cream-d) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 8px;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/*  Ttulo mobile del detalle (se muestra ANTES de la imagen en mvil)  */
.detail-title-mobile {
  display: none; /* solo se activa en mvil */
  padding: 20px 20px 4px;
}
.detail-title-mobile .detail-cat { margin-bottom: 6px; }
.detail-title-mobile .detail-title { font-size: clamp(1.6rem, 6vw, 2.2rem); margin-bottom: 0; }

@media (max-width: 960px) {
  .detail-title-mobile { display: block; }
  /* Ocultar categora y ttulo de la columna info en mvil (ya aparecen arriba) */
  .detail-col-info > .detail-cat,
  .detail-col-info > .detail-title { display: none; }
}
@media (max-width: 960px) {
  .detail-cols { grid-template-columns: 1fr; gap: 32px; }
  .detail-page { padding: 0 0 40px; }
  .detail-col-img { position: static; }
  .site-header { padding: 0 20px; }
  .related-section { padding: 24px 20px 60px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .catalog-grid { padding: 0 20px 60px; }
}
@media (max-width: 700px) {
  .catalog-grid { grid-template-columns: 1fr; gap: 18px; }
  .catalog-hero { padding: 48px 20px 36px; }
  .form-row { grid-template-columns: 1fr; }
  .booking-form-wrap { padding: 32px 20px 60px; }
  .booking-summary { flex-direction: column; gap: 10px; }
  .confirm-wrap { padding: 60px 20px; }
  .related-section { padding: 24px 16px 60px; }
}

/*  Footer  */
.site-footer {
  background: var(--olive-d);
  color: rgba(255,255,255,.75);
  margin-top: 60px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 56px 40px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 300;
  color: var(--cream); letter-spacing: .04em;
  margin-bottom: 10px;
}
.footer-brand em { font-style: italic; color: var(--gold-l); }
.footer-tagline { font-size: 13px; line-height: 1.6; margin-bottom: 20px; }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.footer-contact a { color: rgba(255,255,255,.75); transition: color var(--trans); }
.footer-contact a:hover { color: var(--gold-l); }
.footer-contact svg { flex-shrink: 0; color: var(--gold-l); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.2); border-radius: 8px;
  color: rgba(255,255,255,.65);
  transition: color var(--trans), border-color var(--trans), background var(--trans);
}
.footer-social a:hover { color: var(--cream); border-color: var(--gold-l); background: rgba(255,255,255,.08); }

.footer-col-title {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-l); margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.7); transition: color var(--trans); }
.footer-links a:hover { color: var(--cream); }

.footer-payment { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.footer-payment-badge {
  font-size: 11px; font-weight: 500;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 99px; color: rgba(255,255,255,.65);
}

.footer-proposal-text { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.footer-proposal-btn {
  display: inline-flex; align-items: center;
  padding: 10px 20px;
  background: var(--gold); color: var(--ink);
  border-radius: 8px; font-size: 13px; font-weight: 600;
  transition: background var(--trans), transform var(--trans);
  margin-bottom: 14px;
}
.footer-proposal-btn:hover { background: var(--gold-l); transform: translateY(-1px); }
.footer-proposal-note { font-size: 11.5px; color: rgba(255,255,255,.5); line-height: 1.6; }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding: 18px 40px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: rgba(255,255,255,.45);
  flex-wrap: wrap;
}
.footer-bottom-sep { opacity: .4; }

@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 20px 32px; }
  .footer-bottom { padding: 16px 20px; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px; }
}
/*  Category filters  dropdown  */
.category-filters {
  padding: 4px 40px 24px;
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  min-height: 52px;
}
.cat-filter-count {
  font-size: 13px; color: var(--muted);
}

.cat-dropdown { position: relative; display: inline-block; }

.cat-dropdown-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  cursor: pointer; font-family: var(--font-sans);
  transition: border-color .2s, color .2s; white-space: nowrap;
}
.cat-dropdown-btn:hover       { border-color: var(--olive); color: var(--olive); }
.cat-dropdown.open .cat-dropdown-btn { border-color: var(--olive); color: var(--olive); }
.cat-dropdown-btn svg         { transition: transform .2s; flex-shrink: 0; }
.cat-dropdown.open .cat-dropdown-btn svg { transform: rotate(180deg); }

.cat-dropdown-list {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 220px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,.1); z-index: 200; overflow: hidden;
}
.cat-dropdown-list.open { display: block; }

.cat-dropdown-item {
  display: block; width: 100%; text-align: left;
  padding: 12px 18px; border: none; background: none;
  font-size: 13px; color: var(--ink-2); cursor: pointer;
  font-family: var(--font-sans); transition: background .15s;
}
.cat-dropdown-item + .cat-dropdown-item { border-top: 1px solid var(--line); }
.cat-dropdown-item:hover  { background: var(--cream-d); color: var(--ink); }
.cat-dropdown-item.active { color: var(--olive); font-weight: 500; }
.cat-dropdown-item.active::after { content: ' '; }

/*  Category filters  responsive  */
@media (max-width: 960px) {
  .category-filters { padding: 4px 20px 20px; } /* alinear con catalog-grid en tablet */
}

/*  Mobile usability  */

/* Cards horizontales en mvil: imagen a la izquierda, texto a la derecha */
@media (max-width: 700px) {
  .category-filters { padding: 4px 16px 20px; }

  .catalog-hero { padding: 28px 20px 20px; }
  .catalog-hero h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); margin-bottom: 8px; }
  .catalog-hero h2 { font-size: 1rem; }

  .catalog-grid { grid-template-columns: 1fr; gap: 12px; padding: 0 16px 60px; }

  .exp-card { flex-direction: row; border-radius: 14px; min-height: 130px; overflow: hidden; }
  .exp-card-img {
    width: 120px; min-width: 120px; height: auto; min-height: 130px;
    border-radius: 0; flex-shrink: 0;
  }
  .exp-card-img-ph { width: 120px; min-width: 120px; height: 100%; }
  .exp-card-body { padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; }
  .exp-card-cat  { font-size: 9.5px; margin-bottom: 4px; }
  .exp-card-name { font-size: 1.15rem; margin-bottom: 4px; line-height: 1.2; }
  .exp-card-tagline { font-size: 12px; margin-bottom: 10px; }
  .exp-card-foot { padding-top: 10px; }
  .exp-card-price { font-size: 1.1rem; }
  .exp-card-price small { font-size: .68em; }
  .exp-card-meta { font-size: 10.5px; gap: 6px; }
  .tag-langs { display: none; } /* en mvil las etiquetas de idioma ocupan demasiado */
}

/*  Detail page  mobile redesign  */

/*  Tablet (960px): imagen acotada, padding lateral  */
@media (max-width: 960px) {
  .detail-page { padding: 0 0 60px; }

  /* Imagen principal: altura mxima, sin aspect-ratio forzado */
  .detail-main-img,
  .detail-main-ph {
    aspect-ratio: unset;
    height: 260px;
    max-height: 260px;
  }

  /* Thumbnails: fila horizontal compacta */
  .detail-thumbs {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 6px;
  }
  .detail-thumb-wrap { aspect-ratio: 4/3; }

  /* Vdeo: altura reducida */
  .detail-video { margin-top: 8px; }
  .detail-video iframe,
  .detail-video video { max-height: 180px; }

  /* Columna de info: padding lateral */
  .detail-col-info { padding: 0 20px; }

  /* Meta row ms compacto */
  .detail-meta-row { gap: 8px 14px; margin-bottom: 18px; padding-bottom: 18px; }

  /* Booking widget: bordes redondeados menores */
  .booking-widget { border-radius: 16px; padding: 18px; }
}

/*  Mvil (700px): diseo conversin-first  */
@media (max-width: 700px) {

  /* Imagen hero: 220px, sin bordes redondeados (full bleed) */
  .detail-main-wrap { border-radius: 0; }
  .detail-main-img,
  .detail-main-ph { height: 220px; max-height: 220px; }

  /* Thumbnails: altura compacta */
  .detail-thumbs { gap: 5px; margin-top: 5px; }
  .detail-thumb-wrap { aspect-ratio: 4/3; border-radius: 6px; }

  /* Vdeo: ms pequeo en mvil */
  .detail-video iframe,
  .detail-video video { max-height: 140px; }

  /* Columna de info: padding 16px */
  .detail-col-info { padding: 0 16px; }

  /* Ttulo ms compacto */
  .detail-col-info .detail-cat { margin-bottom: 4px; }

  /* Meta row: chips en lnea, compactos */
  .detail-meta-row {
    gap: 6px 12px;
    font-size: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
  }
  .detail-meta-item { font-size: 12px; gap: 5px; }

  /* Widget de reserva: ocupa el ancho completo sin mrgenes extra */
  .booking-widget {
    padding: 16px;
    border-radius: 14px;
    box-shadow: none;
    border: 1.5px solid var(--line);
  }

  /* Precio del widget ms grande */
  .widget-price { font-size: 1.7rem; }

  /* Separadores menos espaciados */
  .widget-sep { margin: 14px 0; }

  /* Botn principal: tap target grande */
  .btn-primary {
    padding: 17px;
    font-size: 15px;
    border-radius: 12px;
  }

  /* Info title mobile: padding lateral con el contenido */
  .detail-title-mobile { padding: 14px 16px 0; }

  /* Gap entre imagen y contenido ms ajustado */
  .detail-cols { gap: 16px; }

  /* Slot pills: ms compactos */
  .slot-pills { gap: 6px; }
  .slot-pill { padding: 7px 13px; font-size: 12px; }
}
/* === Mobile price bar === */
.mobile-price-bar { display: none; }
@media (max-width: 700px) {
  .mobile-price-bar { display: block; padding: 10px 16px; background: var(--cream); border-bottom: 1px solid var(--line); }
  .mobile-price-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
  .mobile-price-num { font-family: var(--font-serif); font-size: 1.55rem; color: var(--olive-d); line-height: 1; }
  .mobile-price-num strong { font-weight: 600; }
  .mobile-price-num small { font-size: .62em; font-weight: 300; color: var(--muted); }
  .mobile-cta-btn { display: flex; align-items: center; gap: 7px; background: var(--olive); color: #fff; border: none; border-radius: 10px; padding: 11px 16px; font-size: 13px; font-weight: 500; font-family: var(--font-sans); cursor: pointer; white-space: nowrap; flex-shrink: 0; }
  .mobile-cta-btn:active { background: var(--olive-d); }
  .mobile-meta-chips { display: flex; gap: 6px; flex-wrap: wrap; }
  .mpb-chip { font-size: 11px; color: var(--muted); font-family: var(--font-sans); background: var(--cream-d); padding: 3px 8px; border-radius: 99px; }
  .booking-widget .widget-price { display: none; }
  .booking-widget .widget-price + .widget-sep { display: none; }
}
/* === Video trigger === */
.video-trigger { margin-top: 10px; cursor: pointer; }
.video-trigger-inner { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 13.5px; font-weight: 500; color: var(--ink-2); font-family: var(--font-sans); }
.video-trigger-inner:hover { border-color: var(--olive); color: var(--olive); }
.video-play-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--olive); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.video-embed-wrap { margin-top: 10px; border-radius: 12px; overflow: hidden; }

/* === Mobile fixes v7 === */
@media (max-width: 700px) {
  body { max-width: 100vw; overflow-x: hidden; }
  .detail-page { overflow-x: hidden; }

  /* Title: smaller on mobile */
  .detail-title-mobile .detail-title {
    font-size: clamp(1.25rem, 5.5vw, 1.65rem);
    line-height: 1.2;
  }

  /* Price bar: wrap on narrow screens */
  .mobile-price-bar-inner { flex-wrap: wrap; }
  .mobile-price-num { flex: 1 1 auto; min-width: 0; }
  .mobile-cta-btn { flex-shrink: 0; }

  /* Related: single column */
  .related-grid { grid-template-columns: 1fr; gap: 12px; }
  .related-section { padding: 20px 16px 40px; }
  .related-section .exp-card { flex-direction: row; border-radius: 12px; min-height: 110px; }
  .related-section .exp-card-img { width: 110px; min-width: 110px; height: auto; flex-shrink: 0; border-radius: 0; }
  .related-section .exp-card-body { padding: 10px 12px; }
  .related-section .exp-card-name { font-size: 1rem; margin-bottom: 2px; }
  .related-section .exp-card-tagline { font-size: 11.5px; margin-bottom: 6px; }
  .related-section .exp-card-foot { padding-top: 6px; }
  .related-section .exp-card-price { font-size: 1rem; }
}

/* === Mobile layout v8 === */
@media (max-width: 700px) {

  /* Separacin entre ttulo y foto */
  .detail-title-mobile { padding: 14px 16px 12px; }

  /* Imagen principal: con margen lateral y bordes redondeados */
  .detail-main-wrap {
    border-radius: 14px;
    max-height: 240px;
    overflow: hidden;
    margin: 0 16px;
  }
  /* Cancelar el border-radius:0 anterior */
  .detail-main-img { border-radius: 0; }

  /* Thumbnails con padding lateral */
  .detail-thumbs { padding: 0 16px; gap: 5px; margin-top: 6px; }

  /* Video con padding lateral */
  .detail-video { padding: 0 16px; margin-top: 6px; }
  .video-trigger { margin-top: 0; }
  .video-trigger-inner { width: 100%; box-sizing: border-box; }

  /* Price bar: quitar padding extra (ya lo tienen los elementos) */
  .mobile-price-bar { padding: 10px 16px 10px; }
}

/* === Header mobile fix + price bar padding === */
@media (max-width: 700px) {
  /* Ocultar iconos cuenta/carrito en movil para que quepan logo y volver */
  .header-icon-btn { display: none; }

  /* Header: mas compacto en movil */
  .site-header { padding: 0 14px; gap: 8px; }
  .back-btn span { font-size: 13px; }

  /* Chips meta: mas separacion vertical */
  .mobile-meta-chips { margin-top: 6px; padding-bottom: 4px; gap: 8px; }
  .mpb-chip { padding: 5px 10px; font-size: 11.5px; }
}

/* === Extras opcionales en formulario de reserva === */
.extras-list { display: flex; flex-direction: column; gap: 8px; }
.extra-opt { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.extra-opt input[type="radio"] { width: 18px; height: 18px; accent-color: var(--olive); flex-shrink: 0; cursor: pointer; }
.extra-opt-inner { display: flex; justify-content: space-between; align-items: center;
  flex: 1; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--surface); transition: border-color .15s, background .15s; }
.extra-opt:has(input:checked) .extra-opt-inner { border-color: var(--olive); background: var(--marca-seleccion,#F2F5EE); }
.extra-opt-name { font-size: 13.5px; color: var(--ink); font-weight: 500; }
.extra-opt-price { font-size: 13px; color: var(--olive-d); font-weight: 600; white-space: nowrap; }

/* === Extras (actualizacion checkbox) === */
.extras-divider { height: 1px; background: var(--line); margin: 4px 0; }
.extra-opt-muted { color: var(--muted) !important; font-weight: 400 !important; }
.extra-opt input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--olive); flex-shrink: 0; cursor: pointer; border-radius: 4px; }
.extra-opt:has(input[type="checkbox"]:checked) .extra-opt-inner { border-color: var(--olive); background: var(--marca-seleccion,#F2F5EE); }

/* ===== MOBILE DETAIL REDESIGN ===== */
@media (max-width: 700px) {

  /* 1. Header: mostrar todos los iconos */
  .header-icon-btn { display: flex !important; }
  .site-header { padding: 0 8px; gap: 4px; }
  .back-btn { gap: 4px; padding: 6px 8px; }
  .back-btn span { font-size: 12px; max-width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lang-btn { padding: 5px 8px; font-size: 12px; gap: 4px; }

  /* 2. Video trigger */
  .video-trigger {
    display: flex; align-items: center; gap: 10px;
    width: calc(100% - 32px); margin: 6px 16px 0;
    padding: 12px 16px; border: 1.5px solid var(--line);
    border-radius: 12px; background: var(--surface);
    font-size: 13.5px; font-weight: 500; color: var(--ink-2);
    cursor: pointer; font-family: var(--font-sans);
    transition: border-color .2s;
  }
  .video-trigger:hover { border-color: var(--olive); color: var(--olive); }
  .video-play-icon {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--olive); color: #fff;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .video-embed-wrap { margin: 6px 16px 0; border-radius: 12px; overflow: hidden; }

  /* 3+4. Mobile price bar: precio + boton reservar */
  .mobile-price-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    gap: 12px;
    margin: 4px 0 0;
  }
  .mobile-price-bar-inner {
    display: flex; align-items: center;
    justify-content: space-between; gap: 12px;
    width: 100%; margin-bottom: 0;
  }
  .mobile-meta-chips { display: none; }
  .mobile-price-num { font-family: var(--font-serif); font-size: 1.4rem; color: var(--olive-d); line-height: 1; }
  .mobile-price-num strong { font-weight: 600; }
  .mobile-price-num small { font-size: .58em; font-weight: 400; color: var(--muted); margin-left: 2px; }
  .mobile-cta-btn {
    display: flex; align-items: center; gap: 6px;
    background: var(--olive); color: #fff; border: none;
    border-radius: 10px; padding: 11px 14px;
    font-size: 13px; font-weight: 500;
    font-family: var(--font-sans); cursor: pointer;
    white-space: nowrap; flex-shrink: 0;
  }

  /* 5. Related: carrusel horizontal en movil */
  .related-section { padding: 24px 0 32px; }
  .related-title { padding: 0 16px 12px; }
  .related-grid {
    display: flex !important;
    flex-direction: row !important;
    grid-template-columns: unset !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 4px 16px 16px;
  }
  .related-grid::-webkit-scrollbar { display: none; }
  .related-grid .exp-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    flex-direction: column !important;
    min-height: unset;
  }
  .related-grid .exp-card-img { width: 100% !important; height: 160px; min-width: unset !important; }
  .related-grid .tag-langs { display: flex; }
}

/* PC: related grid mas atractivo */
@media (min-width: 701px) {
  .related-section { background: var(--cream-d, #EFE8E4); padding: 48px 40px; }
  .related-title { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 24px; color: var(--ink); }
  .related-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .related-grid .exp-card { transition: transform .2s, box-shadow .2s; }
  .related-grid .exp-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
}

/* ===== VIDEO EMBED UNIFORME + RELATED CAROUSEL ===== */

/* Video: trigger y embed con mismo ancho y margen */
.video-trigger {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: border-color .2s, color .2s;
  margin-top: 10px;
}
.video-trigger:hover { border-color: var(--olive); color: var(--olive); }
.video-play-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--olive); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.video-embed-wrap {
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  background: #000;
}
.video-embed-wrap > div {
  position: relative;
  padding-top: 56.25%;
}
.video-embed-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Related: PC  mas atractivo */
@media (min-width: 701px) {
  .related-section {
    background: var(--cream-d, #EFE8E4);
    padding: 56px 40px;
    margin-top: 40px;
  }
  .related-title {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 28px;
    text-align: center;
  }
  .related-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
  }
  .related-grid .exp-card {
    border-radius: 16px;
    transition: transform .22s, box-shadow .22s;
    overflow: hidden;
  }
  .related-grid .exp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,.13);
  }
  .related-grid .exp-card-img { height: 220px; }
}

/* Related: movil  carrusel snap */
@media (max-width: 700px) {
  .related-section { padding: 28px 0 32px; margin-top: 8px; }
  .related-title { font-family: var(--font-serif); font-size: 1.25rem; padding: 0 16px 14px; margin: 0; }
  .related-grid {
    display: flex !important;
    flex-direction: row !important;
    grid-template-columns: unset !important;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 4px 16px 16px;
    scrollbar-width: none;
  }
  .related-grid::-webkit-scrollbar { display: none; }
  .related-grid .exp-card {
    flex: 0 0 240px !important;
    scroll-snap-align: start;
    flex-direction: column !important;
    min-height: unset;
    border-radius: 14px;
  }
  .related-grid .exp-card-img {
    width: 100% !important;
    min-width: unset !important;
    height: 150px;
    border-radius: 0;
  }
  .related-grid .exp-card-body { padding: 10px 12px; }
  .related-grid .exp-card-name { font-size: 1rem; }
  .related-grid .tag-langs { display: flex; }
  /* Video con padding lateral en movil */
  .detail-video { padding: 0 16px; box-sizing: border-box; }
  .video-trigger { border-radius: 10px; }
}

/* ===== VIDEO + RELATED FIXES ===== */
/* Video: trigger y embed centrados en movil */
@media (max-width: 700px) {
  .detail-video {
    padding: 0 16px;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .video-trigger { margin-top: 0; border-radius: 10px; width: 100%; }
  .video-embed-wrap {
    margin-top: 8px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }
}
/* Video en PC: padding normal */
@media (min-width: 701px) {
  .video-trigger { margin-top: 12px; }
  .video-embed-wrap { margin-top: 10px; }
}

/* Video trigger button: forzar ancho completo en movil */
@media (max-width: 700px) {
  .detail-video .video-trigger {
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
  }
}
/* ============================================================
   Fase 5 - Menu principal, pagina de categoria, contenido
   WYSIWYG y pagina de contacto (v19)
   Comentarios solo ASCII (regla del proyecto)
   ============================================================ */

/* ── Menu principal (desktop: inline) ── */
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: 28px; }
.site-nav a {
  font-family: var(--font-sans); font-size: 13.5px; letter-spacing: .02em;
  color: var(--ink-2); text-decoration: none; padding: 6px 2px;
  border-bottom: 1.5px solid transparent;
  transition: color var(--trans), border-color var(--trans);
  white-space: nowrap;
}
.site-nav a:hover { color: var(--olive); border-bottom-color: var(--gold); }
.nav-burger {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 9px; color: var(--ink);
  border: 1px solid var(--line); background: var(--surface);
}

/* Movil: hamburguesa + desplegable */
@media (max-width: 900px) {
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); z-index: 60;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 14px 24px; border-bottom: 1px solid var(--line); font-size: 14.5px;
  }
  .site-nav a:hover { background: var(--cream); border-bottom-color: var(--line); }
  .nav-burger { display: flex; }
  .site-header { position: relative; }
}

/* ── Pagina de categoria: titulo + contenido ── */
.cat-page-header { max-width: 860px; margin: 0 auto; padding: 40px 24px 8px; text-align: center; }
.cat-page-title {
  font-family: var(--font-serif); font-weight: 300; font-size: 2.5rem;
  color: var(--ink); margin-bottom: 18px;
}
.cat-page-header .wysiwyg-content { text-align: left; }

/* ── Contenido libre WYSIWYG (categorias y detalle de experiencia) ── */
.wysiwyg-content { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.wysiwyg-content h1, .wysiwyg-content h2, .wysiwyg-content h3 {
  font-family: var(--font-serif); font-weight: 600; color: var(--ink);
  margin: 1.4em 0 .5em; line-height: 1.25;
}
.wysiwyg-content h1 { font-size: 1.7rem; }
.wysiwyg-content h2 { font-size: 1.45rem; }
.wysiwyg-content h3 { font-size: 1.2rem; }
.wysiwyg-content p { margin: 0 0 1em; }
.wysiwyg-content ul, .wysiwyg-content ol { margin: 0 0 1em; padding-left: 1.4em; }
.wysiwyg-content li { margin-bottom: .35em; }
.wysiwyg-content a { color: var(--olive); }
.wysiwyg-content blockquote {
  border-left: 3px solid var(--gold); margin: 1.2em 0; padding: .3em 0 .3em 1em;
  color: var(--muted); font-style: italic;
}
.wysiwyg-content img { border-radius: var(--radius); margin: 1em 0; }
.detail-content { margin: 26px 0 6px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ── Pagina de contacto ── */
.contact-page { max-width: 560px; margin: 0 auto; padding: 64px 24px 90px; text-align: center; }
.contact-title {
  font-family: var(--font-serif); font-weight: 300; font-size: 2.6rem;
  color: var(--ink); margin-bottom: 30px;
}
.contact-name { font-family: var(--font-serif); font-size: 1.6rem; color: var(--ink); margin-bottom: 6px; }
.contact-tagline { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.contact-rows { display: flex; flex-direction: column; gap: 14px; align-items: center; margin-bottom: 30px; }
.contact-row { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.contact-row svg { color: var(--gold); flex-shrink: 0; }
.contact-row a { color: var(--ink-2); text-decoration: none; }
.contact-row a:hover { color: var(--olive); }
.contact-social { display: flex; gap: 12px; justify-content: center; }
.contact-social a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--line); color: var(--gold);
  transition: border-color var(--trans), transform var(--trans);
}
.contact-social a:hover { border-color: var(--gold); transform: translateY(-2px); }

/* ── Detalle v20: con el contenido largo bajo las imagenes, la columna
   anclada pasa a ser la del widget (info), siempre visible al hacer
   scroll. En movil (1 columna) vuelve al flujo normal. ── */
.detail-col-img  { position: static; }
.detail-col-info { position: sticky; top: 80px; }
@media (max-width: 960px) {
  .detail-col-info { position: static; }
}

/* ── Menu del header v21: texto blanco mas grande, centrado,
   hover verde oscuro de marca. Solo barra de escritorio: el
   desplegable movil mantiene texto oscuro sobre fondo claro. ── */
@media (min-width: 901px) {
  .site-nav { flex: 1; justify-content: center; margin-left: 12px; gap: 26px; }
  .site-nav + .header-spacer { display: none; }
  .site-nav a {
    color: #fff; font-size: 15px; font-weight: 400; letter-spacing: .03em;
  }
  .site-nav a:hover {
    color: var(--marca-verde-oscuro);
    border-bottom-color: var(--marca-verde-oscuro);
  }
}

/* ── SSR v22: intro de categoria + contenido largo bajo el grid ── */
.cat-page-intro {
  max-width: 760px; margin: 0 auto 8px; text-align: center;
  color: var(--muted); font-size: 16px; line-height: 1.6;
}
.catalog-content {
  max-width: 860px; margin: 56px auto 0; padding-top: 40px;
  border-top: 1px solid var(--line);
}
.catalog-content:empty { display: none; }

/* ── Detalle v23: orden DOM invertido para jerarquía H1/H2 limpia ──
   Col-img visualmente a la izquierda (order:1), col-info a la derecha (order:2).
   En movil (1 col) el order no aplica: el flujo es info -> imagenes porque
   col-info llega primero en el DOM y es el contenido principal. */
@media (min-width: 961px) {
  .detail-col-info { order: 2; }
  .detail-col-img  { order: 1; }
}

/* ── Panel de cliente (auth / mi cuenta) ────────────────────────────────── */
/* ── Modal centrado de cliente (login / registro / cuenta) ── */
#customerOverlay {
  position: fixed; inset: 0;
  background: rgba(37,32,32,.55);
  z-index: 1100; backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.customer-panel {
  background: var(--crema, #f8f4f0);
  border-radius: 20px;
  width: 100%; max-width: 440px;
  max-height: 90vh;
  box-shadow: 0 20px 60px rgba(37,32,32,.25);
  position: relative;
  display: flex; flex-direction: column;
}
.customer-panel-inner {
  padding: 40px 36px 36px;
  overflow-y: auto; flex: 1;
  display: flex; flex-direction: column;
}
.customer-panel-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; cursor: pointer;
  color: var(--muted, #81546b); padding: 6px;
  border-radius: 50%; transition: background .15s;
}
.customer-panel-close:hover {
  background: rgba(37,32,32,.08);
  color: var(--ink, #252020);
}
.cp-tabs {
  display: flex; gap: 0; border-bottom: 2px solid var(--line, #e6ddda);
  margin-bottom: 24px; margin-top: 8px;
}
.cp-tab {
  flex: 1; background: none; border: none; cursor: pointer;
  padding: 10px 0; font-size: 14px; font-weight: 500;
  color: var(--muted, #81546b); border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: color .15s, border-color .15s;
}
.cp-tab.active { color: var(--vino, #634159); border-color: var(--vino, #634159); }
.cp-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; color: var(--ink, #252020); }
.cp-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cp-field label { font-size: 12px; font-weight: 500; color: var(--muted, #81546b); text-transform: uppercase; letter-spacing: .04em; }
.cp-field input {
  padding: 10px 12px; border: 1.5px solid var(--line, #e6ddda);
  border-radius: 8px; font-size: 14px; background: #fff;
  color: var(--ink, #252020); outline: none;
  transition: border-color .15s;
}
.cp-field input:focus { border-color: var(--vino, #634159); }
.cp-btn { width: 100%; margin-top: 8px; }
.cp-err { font-size: 12px; color: #b22; background: #fdf0f0; border-radius: 6px; padding: 8px 10px; }
.cp-ok  { font-size: 12px; color: #155724; background: #d4edda; border-radius: 6px; padding: 8px 10px; }
.cp-link { display: block; text-align: center; font-size: 12px; color: var(--muted, #81546b); margin-top: 12px; text-decoration: underline; cursor: pointer; }

/* Cuenta: estado logueado */
.cp-account-head { display: flex; gap: 14px; align-items: center; padding: 16px 0 20px; border-bottom: 1px solid var(--line, #e6ddda); margin-bottom: 16px; }
.cp-account-name  { font-weight: 600; font-size: 15px; color: var(--ink, #252020); }
.cp-account-email { font-size: 12px; color: var(--muted, #81546b); }
.cp-menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0; font-size: 14px; color: var(--ink, #252020);
  background: none; border: none; width: 100%; text-align: left;
  cursor: pointer; border-bottom: 1px solid var(--line, #e6ddda);
  text-decoration: none;
}
.cp-menu-item:hover { color: var(--vino, #634159); }
.cp-logout { color: var(--muted, #81546b); border-bottom: none; margin-top: 8px; }

/* Indicador de sesión activa en el botón */
#customerBtn.cp-logged { position: relative; }
#customerBtn.cp-logged::after {
  content: ''; position: absolute; top: 4px; right: 4px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--vino, #634159); border: 1.5px solid var(--crema, #f8f4f0);
}

/* Modal: en mobile ocupa toda la pantalla */
@media (max-width: 500px) {
  #customerOverlay { padding: 0; align-items: flex-end; }
  .customer-panel { max-width: 100%; border-radius: 20px 20px 0 0; max-height: 92vh; }
  .customer-panel-inner { padding: 32px 24px 28px; }
}

/* ── Turnstile widget dentro del modal de registro ── */
#cpTurnstileWidget { margin: 8px 0 4px; min-height: 65px; }
#cpTurnstileWidget iframe { border-radius: 6px; }

/* ── Ticket digital ──────────────────────────────────────────────────────── */
.ticket-wrap { max-width: 560px; margin: 40px auto; padding: 0 20px 60px; }
.ticket-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 24px rgba(37,32,32,.10); }
.ticket-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px 0; }
.ticket-ref  { font-size: 13px; color: var(--muted, #81546b); }
.ticket-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.badge-ok   { background: #d4edda; color: #155724; }
.badge-warn { background: #fff3cd; color: #856404; }
.badge-err  { background: #f8d7da; color: #721c24; }
.ticket-img  { width: 100%; height: 180px; object-fit: cover; margin-top: 16px; }
.ticket-body { padding: 20px 24px 28px; }
.ticket-exp  { font-size: 1.2rem; font-weight: 600; margin-bottom: 16px; line-height: 1.3; }
.ticket-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 20px; }
.ticket-table th { text-align: left; color: var(--muted, #81546b); font-weight: 500; padding: 6px 0; width: 40%; }
.ticket-table td { padding: 6px 0; border-bottom: 1px solid var(--line, #e6ddda); }
.ticket-qr   { display: flex; justify-content: center; margin-top: 16px; }
.ticket-qr-link { font-size: 11px; color: var(--muted); word-break: break-all; }
.ticket-loading { text-align: center; padding: 60px; color: var(--muted); }
.ticket-err     { text-align: center; padding: 60px; color: var(--muted); }
/* Vista 404 */
.not-found { text-align: center; padding: 60px 24px; max-width: 480px; margin: 0 auto; }
.not-found-img { display: block; width: 100%; max-width: 260px; height: auto; margin: 0 auto 28px; }
.not-found-title { font-family: var(--font-serif); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 400; color: var(--olive-d); margin: 0 0 12px; }
.not-found-sub   { color: var(--muted); font-size: 15px; margin: 0 0 32px; line-height: 1.6; }
.not-found-btn   { display: inline-flex; width: auto; padding-left: 40px; padding-right: 40px; }
.ticket-success-banner { display: flex; align-items: center; gap: 10px; background: #d4edda; color: #155724; border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; font-weight: 500; }
.ticket-success-icon   { font-size: 18px; flex-shrink: 0; }
.ticket-share--guest .btn-outline { margin-top: 4px; }
/* Vista pay-result */
#view-pay-result.active { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.pay-result         { text-align: center; padding: 40px 24px; max-width: 480px; width: 100%; }
.pay-result-icon    { font-size: 56px; line-height: 1; margin-bottom: 16px; }
.pay-result--fail .pay-result-icon { color: #c0392b; }
.pay-result-title   { font-family: var(--font-serif); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 400; color: var(--olive-d); margin: 0 0 12px; }
.pay-result-sub     { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 28px; }
.pay-result-retry   { margin-bottom: 12px; }
.pay-result-home    { margin-top: 4px; }
.ticket-pay-block { border-top: 1px solid var(--line, #e6ddda); margin-top: 20px; padding-top: 20px; }
.ticket-pay-note { font-size: 14px; color: var(--muted); margin: 0 0 14px; line-height: 1.5; }
.ticket-pay-btn  { width: 100%; }
.ticket-share-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.ticket-share-label { font-size: 12px; color: var(--muted); margin: 6px 0 12px; }
.ticket-share-input { width: 100%; padding: 10px 12px; border: 1px solid var(--line, #e6ddda); border-radius: 8px; font-size: 13px; font-family: inherit; resize: vertical; box-sizing: border-box; }
.ticket-share-input:focus { outline: none; border-color: var(--olive); }
.ticket-share-btn { margin-top: 4px; }
.ticket-share-msg { font-size: 13px; margin-top: 10px; padding: 8px 12px; border-radius: 8px; }
.ticket-share-msg.ok  { background: #d4edda; color: #155724; }
.ticket-share-msg.err { background: #f8d7da; color: #721c24; }

/* ── Área de cuenta ─────────────────────────────────────────────────────── */
.account-wrap-inner { max-width: 700px; margin: 40px auto; padding: 0 20px 60px; }
.account-title  { font-size: 1.5rem; margin-bottom: 24px; }
.account-bookings { display: flex; flex-direction: column; gap: 12px; }
.account-booking-card { display: flex; gap: 16px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(37,32,32,.07); text-decoration: none; color: inherit; transition: box-shadow .15s; }
.account-booking-card:hover { box-shadow: 0 4px 20px rgba(37,32,32,.13); }
.account-booking-img  { width: 90px; min-width: 90px; height: 90px; object-fit: cover; }
.account-booking-info { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; }
.account-booking-name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.account-booking-meta { font-size: 12px; color: var(--muted, #81546b); margin: 4px 0; }
.account-booking-foot { display: flex; align-items: center; justify-content: space-between; }

/* ── Reset de contraseña ─────────────────────────────────────────────────── */
.reset-pw-wrap { max-width: 420px; margin: 80px auto; padding: 0 24px 60px; }
.reset-pw-title { font-size: 1.4rem; font-weight: 600; margin-bottom: 28px; }

/* ── Inicial del usuario en el botón del header ──────────────────────────── */
#customerBtn.cp-logged[data-initial]::after {
  content: attr(data-initial);
  position: absolute; top: 2px; right: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--vino, #634159); color: #fff;
  font-size: 8px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--crema, #f8f4f0);
}

/* ── Pantalla de perfil dentro del modal ─────────────────────────────────── */
.cp-back-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  color: var(--muted, #81546b); font-size: 13px;
  padding: 0 0 20px; margin-top: -4px;
}
.cp-back-btn:hover { color: var(--ink, #252020); }

/* ── Auth inline en formulario de reserva ────────────────────────────────── */
.booking-auth-block {
  background: #fff; border: 1.5px solid var(--line, #e6ddda);
  border-radius: 12px; padding: 14px 18px; margin-bottom: 20px;
  font-size: 14px;
}
.booking-auth-logged {
  display: flex; align-items: center; gap: 8px;
  color: var(--vino, #634159); font-weight: 500;
}
.booking-auth-guest { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.booking-auth-login-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--vino, #634159); color: #fff;
  border: none; border-radius: 8px; padding: 8px 14px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: background .15s;
}
.booking-auth-login-btn:hover { background: var(--vino-medio, #81546b); }
.booking-auth-sep { color: var(--muted, #81546b); }
.booking-auth-skip-btn {
  background: none; border: none; cursor: pointer;
  color: var(--muted, #81546b); font-size: 13px; text-decoration: underline;
  padding: 0;
}
.booking-auth-skip-btn:hover { color: var(--ink, #252020); }

/* ── Checkbox política de privacidad ─────────────────────────────────────── */
.privacy-check {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 20px 0 16px; cursor: pointer; font-size: 13px;
  color: var(--muted, #81546b); line-height: 1.5;
}
.privacy-check input[type="checkbox"] {
  margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0;
  accent-color: var(--vino, #634159); cursor: pointer;
}
.privacy-check a { color: var(--vino, #634159); text-decoration: underline; }

/* ── Dropdown de usuario logueado (desde el icono del header) ────────────── */
.user-icon-wrap { position: relative; }
.user-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 220px; background: #fff;
  border-radius: 14px; box-shadow: 0 8px 32px rgba(37,32,32,.15);
  z-index: 900; overflow: hidden;
}
.user-dd-head {
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--line, #e6ddda);
}
.user-dd-name  { font-weight: 600; font-size: 14px; color: var(--ink, #252020); }
.user-dd-email { font-size: 12px; color: var(--muted, #81546b); margin-top: 2px; }
.user-dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; font-size: 14px; color: var(--ink, #252020);
  background: none; border: none; width: 100%; text-align: left;
  cursor: pointer; text-decoration: none;
  border-bottom: 1px solid var(--line, #e6ddda);
  transition: background .12s;
}
.user-dd-item:last-child { border-bottom: none; }
.user-dd-item:hover { background: var(--crema, #f8f4f0); }
.user-dd-logout { color: var(--muted, #81546b); }

/* Badge pagado */
.badge-paid { background: #cce5ff; color: #004085; }