/* compra.css — Checkout UI/UX (DEMO)
   - Solo estilos (no toca tu JS / lógica).
   - Diseñado para compra/index.php (incluido en este zip).
*/

:root{
  /* hereda de custom.css si existe */
  --lev-accent: var(--btn, #3f95df);
  --lev-title:  var(--title, #0c3b4f);
  --lev-sub:    var(--sub, #2f5667);

  --lev-bg:     #f5f7fb;
  --lev-card:   #ffffff;
  --lev-soft:   #f2f4f7;
  --lev-line:   rgba(15,23,42,.10);
  --lev-ink:    #012E41;
  --lev-muted:  rgba(11,18,32,.62);

  --lev-radius: 14px;
  --lev-radius2: 18px;

  --lev-shadow: 0 18px 40px rgba(0,0,0,.10);
  --lev-shadow2: 0 10px 22px rgba(0,0,0,.10);

  /* tiers */
  --tier-standard: #f5c542; /* amarillo */
  --tier-mid:      #20c157; /* verde */
  --tier-final:    #ff4d4d; /* rojo */
}



/* base */
body{
  background: var(--lev-bg);
  color: var(--lev-ink);
  font-family: 'Inter', sans-serif;
}

.regular {
  font-weight: 400;
}

.semibold {
  font-weight: 600;
}

.bold {
  font-weight: 700;
}

.lev-buy{
  padding: 34px 0 70px;
}

.lev-buy__title{
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--lev-title);
  font-size: 34px;
  line-height: 1.12;
}

.lev-buy__hint{
  margin: 10px 0 0;
  color: var(--lev-sub);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  opacity: .92;
}

/* =========
   MEDIA (banner)
   ========= */
.lev-buy__media{
  border-radius: var(--lev-radius2);
  overflow: hidden;
  background: #0b1220;
  box-shadow: var(--lev-shadow);
  border: 1px solid rgba(255,255,255,.35);
}

.lev-buy__media img{
  width: 100%;
  height: auto;
  display:block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* =========
   OPTIONS (accordion custom)
   ========= */
.lev-buy__opts{
  display:flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.lev-opt{
  background: var(--lev-soft);
  border-radius: var(--lev-radius);
  border: 1px solid rgba(15,23,42,.06);
  overflow: hidden;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.lev-opt:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,.08);
}

.lev-opt.is-selected{
  border-color: rgba(63,149,223,.35);
  box-shadow: 0 0 0 3px rgba(63,149,223,.10);
}

.lev-opt__btn{
  width:100%;
  border:0;
  background: #e9e9e9;
  padding: 16px 16px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  cursor:pointer;
  text-align:left;
}

.lev-opt__btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(63,149,223,.22);
  border-radius: 10px;
}

.lev-opt__left{
  min-width:0;
}

.lev-opt__name{
  font-weight: 600;
  color: var(--lev-ink);
  font-size: 24px;
  letter-spacing: .01em;
}

.lev-opt__meta{
  margin-top: 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--lev-ink);
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
  line-height: normal;
}

.lev-opt__chev{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(15,23,42,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}

.lev-opt__chev::before{
  content:"";
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(11,18,32,.65);
  border-bottom: 2px solid rgba(11,18,32,.65);
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.lev-opt.is-open .lev-opt__chev::before{
  transform: rotate(-135deg);
}

.lev-opt__panel{
  max-height: 0;
  overflow: hidden;
  /*background: rgba(255,255,255,.55);*/
  background: #e9e9e9;
  border-top: 1px solid rgba(15,23,42,.06);
  transition: max-height .22s ease;
}

.lev-opt__inner{
  padding: 14px 16px 16px;
}

.lev-opt__row{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.lev-opt__label{
  font-weight: 900;
  color: rgba(11,18,32,.92);
  font-size: 12px;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.lev-opt__help{
  margin-top: 6px;

  color: var(--lev-ink);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
}

.lev-opt__link{
  border: 0;
  background: transparent;
  color: rgba(11,18,32,.70);
  font-weight: 800;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 10px;
  cursor: pointer;
}
.lev-opt__link:hover{
  background: rgba(15,23,42,.06);
  color: rgba(11,18,32,.86);
}

/* =========
   BADGES / PILLS
   ========= */
.lev-badges{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.lev-badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.72);
  color: rgba(11,18,32,.86);
}

.lev-badge--standard{ border-color: rgba(245,197,66,.70); box-shadow: 0 0 0 2px rgba(245,197,66,.10) inset; }
.lev-badge--mid{      border-color: rgba(32,193,87,.70);  box-shadow: 0 0 0 2px rgba(32,193,87,.10) inset; }
.lev-badge--final{    border-color: rgba(255,77,77,.70);  box-shadow: 0 0 0 2px rgba(255,77,77,.10) inset; }

.lev-pill{
  display:inline-flex;
  align-items:center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.72);
  margin-left: 6px;
}

.lev-pill--standard{ border-color: rgba(245,197,66,.75); }
.lev-pill--mid{ border-color: rgba(32,193,87,.75); }
.lev-pill--final{ border-color: rgba(255,77,77,.75); }

/* =========
   QTY control
   ========= */
.lev-qty{
  display:flex;
  align-items:center;
  gap: 8px;
}

.lev-qty__btn{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.85);
  font-weight: 900;
  color: rgba(11,18,32,.80);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: background .12s ease, transform .06s ease;
}

.lev-qty__btn:hover{
  background: #fff;
}

.lev-qty__btn:active{
  transform: translateY(1px);
}

.lev-qty__input{
  width: 96px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,.14);
  background:#fff;
  text-align:center;
  font-weight: 900;
  color: rgba(11,18,32,.88);
  outline: none;
}

.lev-qty--sm .lev-qty__btn{ width: 32px; height: 32px; border-radius: 10px; }
.lev-qty--sm .lev-qty__input{ width: 70px; height: 32px; }

/* =========
   PRIMARY / SECONDARY CTA inside panels
   ========= */
.lev-opt__primary{
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--lev-accent);
  color: #fff;
  font-weight: 900;
  letter-spacing: .01em;
  box-shadow: var(--lev-shadow2);
  cursor:pointer;
  transition: filter .12s ease, transform .06s ease;
}
.lev-opt__primary:hover{ filter: brightness(.98); }
.lev-opt__primary:active{ transform: translateY(1px); }

.lev-opt__secondary{
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.16);
  background: rgba(255,255,255,.80);
  color: rgba(11,18,32,.88);
  font-weight: 900;
  cursor:pointer;
}
.lev-opt__secondary:hover{
  background:#fff;
}

/* =========
   WEEK selector
   ========= */
.lev-week{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lev-week__opt{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(15,23,42,.12);
  cursor:pointer;
  font-weight: 900;
  font-size: 12px;
  color: rgba(11,18,32,.82);
}

.lev-week__opt input{
  accent-color: var(--lev-accent);
  transform: translateY(1px);
}

.lev-week__opt:has(input:checked){
  border-color: rgba(63,149,223,.35);
  box-shadow: 0 0 0 3px rgba(63,149,223,.10);
}

/* =========
   CALENDAR
   ========= */
.lev-cal{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  padding: 12px;
}

.lev-cal__head{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 8px;
  color: rgba(11,18,32,.55);
  font-weight: 900;
  font-size: 11px;
  text-align:center;
}

.lev-cal__grid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.lev-cal__day{
  height: 40px;
  border-radius: 12px;
  border: 2px solid rgba(15,23,42,.10);
  background: #fff;
  font-weight: 900;
  font-size: 13px;
  color: rgba(11,18,32,.86);
  cursor:pointer;
  user-select:none;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .06s ease, background .12s ease, box-shadow .12s ease;
}

.lev-cal__day:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}

.lev-cal__day.is-other{
  opacity: .30;
  cursor: default;
  transform: none !important;
  box-shadow: none !important;
}

.lev-cal__day.is-disabled{
  opacity: .35;
  cursor: not-allowed;
  background: rgba(15,23,42,.05);
  border-color: rgba(15,23,42,.08);
  transform: none !important;
  box-shadow: none !important;
}

/* tier borders like your screenshot */
.lev-cal__day.is-tier-standard{ border-color: rgba(245,197,66,.85); }
.lev-cal__day.is-tier-mid{ border-color: rgba(32,193,87,.85); }
.lev-cal__day.is-tier-final{ border-color: rgba(255,77,77,.85); }

.lev-cal__day.is-selected{
  background: rgba(63,149,223,.12);
  box-shadow: 0 0 0 3px rgba(63,149,223,.12) inset;
}

/* =========
   DAYPASS LIST
   ========= */
.lev-daypass{
  margin-top: 14px;
}

.lev-daypass__list{
  margin-top: 10px;
  display:flex;
  flex-direction: column;
  gap: 10px;

  /* si el listado crece, permití scroll sin “comerse” los controles */
  max-height: 420px;
  overflow: auto;
  padding-right: 6px;
}

.lev-daypass__list::-webkit-scrollbar{ width: 10px; }
.lev-daypass__list::-webkit-scrollbar-thumb{ background: rgba(15,23,42,.18); border-radius: 999px; }
.lev-daypass__list::-webkit-scrollbar-track{ background: rgba(15,23,42,.05); border-radius: 999px; }

.lev-dayrow{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  padding: 10px 12px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}

.lev-dayrow__left{
  min-width:0;
}

.lev-dayrow__title{
  font-weight: 900;
  color: rgba(11,18,32,.92);
  font-size: 13px;
  display:flex;
  align-items:center;
  gap: 8px;
}

.lev-dayrow__sub{
  margin-top: 4px;
  font-size: 12px;
  color: var(--lev-muted);
  font-weight: 600;
}

.lev-dayrow__right{
  display:flex;
  align-items:center;
  gap: 10px;
}

.lev-dayrow__rm{
  border: 0;
  background: rgba(15,23,42,.06);
  color: rgba(11,18,32,.68);
  width: 34px;
  height: 34px;
  border-radius: 12px;
  cursor:pointer;
  font-weight: 900;
}
.lev-dayrow__rm:hover{
  background: rgba(15,23,42,.10);
  color: rgba(11,18,32,.85);
}

.lev-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid transparent;
}
.lev-dot--standard{ border-color: var(--tier-standard); }
.lev-dot--mid{ border-color: var(--tier-mid); }
.lev-dot--final{ border-color: var(--tier-final); }

.lev-empty{
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15,23,42,.04);
  color: rgba(11,18,32,.62);
  font-weight: 700;
  font-size: 12px;
}

/* =========
   PREMIUM CHECK
   ========= */
.lev-check{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(15,23,42,.10);
  cursor:pointer;
}

.lev-check input{
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--lev-accent);
}

.lev-check__sub{
  display:block;
  margin-top: 6px;
  color: var(--lev-muted);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.3;
}

/* =========
   SUMMARY (right)
   ========= */
.lev-sum__card{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: var(--lev-radius2);
  padding: 18px 18px 16px;
  box-shadow: 0 14px 28px rgba(0,0,0,.08);
}

.lev-sum__title{
  font-weight: 900;
  color: rgba(11,18,32,.92);
  font-size: 13px;
  margin-bottom: 12px;
  letter-spacing: .01em;
}

.lev-sum__lines{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.lev-line{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
}

.lev-line__left{
  min-width:0;
}

.lev-line__name{
  font-weight: 900;
  font-size: 13px;
  color: rgba(11,18,32,.90);
  line-height: 1.12;
}

.lev-line__qty{
  margin-top: 4px;
  font-weight: 800;
  font-size: 12px;
  color: rgba(11,18,32,.58);
}

.lev-line__price{
  font-weight: 900;
  font-size: 13px;
  color: rgba(11,18,32,.88);
  white-space: nowrap;
}

.lev-sum__hr{
  height: 1px;
  background: rgba(15,23,42,.10);
  margin: 12px 0;
}

.lev-sum__meta{
  font-size: 12px;
  color: rgba(11,18,32,.72);
  font-weight: 700;
}

.lev-sum__row{
  display:flex;
  justify-content: space-between;
  align-items:center;
  margin: 8px 0;
}

.lev-sum__row--total{
  margin-top: 12px;
  font-size: 14px;
  font-weight: 900;
  color: rgba(11,18,32,.92);
  letter-spacing: .01em;
}

.lev-sum__btn{
  margin-top: 14px;
  width: 100%;
  height: 54px;
  border-radius: 14px;
  border: 0;
  background: var(--lev-accent);
  color:#fff;
  font-weight: 900;
  letter-spacing: .01em;
  box-shadow: var(--lev-shadow2);
  cursor:pointer;
  transition: filter .12s ease, transform .06s ease;
}
.lev-sum__btn:hover{ filter: brightness(.98); }
.lev-sum__btn:active{ transform: translateY(1px); }

.lev-sum__btn.is-disabled,
.lev-sum__btn:disabled{
  background: rgba(148,163,184,.65);
  box-shadow: none;
  cursor: not-allowed;
}

.lev-sum__note{
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(11,18,32,.60);
}

.lev-form{
  display:grid;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15,23,42,.10);
}

.lev-field label{
  font-size: 12px;
  font-weight: 900;
  color: rgba(11,18,32,.70);
  margin-bottom: 6px;
  display:block;
}

.lev-field input, .lev-field select{
  width:100%;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.90);
  padding: 0 12px;
  font-weight: 700;
  color: rgba(11,18,32,.90);
  outline:none;
}

.lev-field input:focus, .lev-field select:focus{
  box-shadow: 0 0 0 3px rgba(63,149,223,.18);
  border-color: rgba(63,149,223,.35);
}

.lev-gw-note{
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(11,18,32,.62);
}

/* =========
   Sidebar (desktop)
   - Sticky simple (sin JS)
   ========= */
.lev-col-right{ position: relative; }

@media (min-width: 992px){
  .lev-sticky{
    position: sticky;
    top: 88px; /* ajustá según altura del header */
    align-self: flex-start;
  }
}

@media (max-width: 991.98px){
  .lev-sticky{
    position: static;
    top: auto;
  }
}


.lev-sticky{
  width: 100%;
  max-width: 100%;
}

/* separación entre “País / datos” y el detalle de precios */
.lev-sum__buyer{
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15,23,42,.10);
}
.lev-sum__buyer .lev-field{ margin-bottom: 10px; }
.lev-sum__buyer .lev-field:last-child{ margin-bottom: 0; }


/* TOPBAR */
.lev-topbar{
  background:#fff;
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.lev-topbar__inner{
  height: 78px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.lev-topbar__brand{
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: .28em !important;
  color:#0b1220 !important;
  /*font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;*/
  font-family: 'Inter', sans-serif;
}


    /* “Incluido” azulcito como el mock (sin tocar tu css base) */
    .lev-included{
      background:#a8dbff;
      border-radius:12px;
      padding: 25px 24px;
      display:flex;
      gap:10px;
      align-items:flex-start;
    }
    .lev-included input{ margin-top:3px; }
    .lev-included__title{ font-weight:800; font-size:20px; }
    .lev-included__sub{ font-size:12px; opacity:.85; }
    .lev-muted-note{ font-size:12px; opacity:.8; margin-top:8px; }

    .city-wrapper {
    background-color: #f1f3f5; /* gris claro */
    border-radius: 20px;
    padding: 20px 25px;
    min-height: 90px;
}

.custom-check {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #22c55e; /* verde bonito */
}

#full_city {
    background: transparent !important;
    font-size: 20px;
    font-weight: 500;
    color: #6c757d;
}

#full_city::placeholder {
    color: #adb5bd;
    font-weight: 500;
    font-size: 20px;
}

#full_city:focus {
    outline: none;
    box-shadow: none;
}

.hotel-info {
    margin-left: 20px;
    text-align: right;
}

.hotel-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 15px;
}

.hotel-distance {
    font-size: 13px;
    color: #6c757d;
}

.hotel-stars {
    color: #f5b301;
    font-size: 14px;
    letter-spacing: 2px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

/* Hover */
.custom-checkbox input[type="checkbox"]:hover {
    border-color: #16a34a;
}

/* Checked */
.custom-checkbox input[type="checkbox"]:checked {
   background-color: var(--lev-accent);
    border-color: var(--lev-line);
}

/* Check blanco */
.custom-checkbox input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.disablear .lev-badge:nth-child(4), .disablear .lev-badge:nth-child(3){
  opacity: .35;
}

/* =========================
   FOOTER
   ========================= */
.lev-footer{
  background: #ffffff;
  border-top: 1px solid rgba(12, 47, 60, 0.10);
  padding: 16px 0;
}

.lev-footer__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #1f4a5b;
  font-size: 13px;
  line-height: 1.4;
}

.lev-footer__left,
.lev-footer__right{
  white-space: nowrap;
}

.lev-footer__link{
  color: #2f7dbd;            /* mismo feeling que tus botones */
  text-decoration: none;
  font-weight: 700;
}

.lev-footer__link:hover{
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 575.98px){
  .lev-footer{
    padding: 14px 0;
  }

  .lev-footer__row{
    flex-direction: column;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .lev-footer__left,
  .lev-footer__right{
    white-space: normal;
  }
}