/* ============================================================
   Tu Transfer RD — Excursions Theme
   Caribbean turquoise + coral/sand, layered over style.css
   Applied on <body class="exc-theme">
   ============================================================ */

.exc-theme {
  --teal:       #0ea5a4;
  --teal-dark:  #0d7377;
  --teal-deep:  #0a4d4f;
  --teal-light: #5eead4;
  --teal-pale:  #e6fffb;
  --coral:      #ff6b57;
  --coral-dark: #e6533f;
  --sand:       #f5e6c8;
  --sand-deep:  #e8d3a0;
}

/* Accent overrides so shared components pick up the tropical look */
.exc-theme a:hover { color: var(--teal); }

/* ── Hero header ── */
.exc-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: linear-gradient(120deg, #0d7377 0%, #0ea5a4 60%, #14b8a6 100%);
  overflow: hidden;
}
.exc-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,40,42,.82) 0%, rgba(4,40,42,.25) 55%, rgba(4,40,42,.15) 100%);
}
.exc-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.exc-hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 40px 24px; width: 100%; }
.exc-hero h1 { color: #fff; font-size: 2.4rem; font-weight: 800; line-height: 1.15; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.exc-hero .exc-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; font-size: .95rem; font-weight: 600; }
.exc-hero .exc-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ── Filters bar ── */
.exc-filters {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 32px;
}
.exc-filters .fg { display: flex; flex-direction: column; gap: 4px; }
.exc-filters label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); }
.exc-filters select, .exc-filters input {
  padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-input); color: var(--text); font-size: .88rem; font-family: inherit;
}
.exc-filters select:focus, .exc-filters input:focus { outline: none; border-color: var(--teal); }

/* ── Excursion grid ── */
.exc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }

.exc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.exc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.exc-card-img { position: relative; height: 200px; background: linear-gradient(120deg, #0d7377, #14b8a6); overflow: hidden; }
.exc-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.exc-card-img .placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.exc-card-tag { position: absolute; top: 12px; left: 12px; z-index: 2; }
.exc-card-zone {
  position: absolute; bottom: 12px; left: 12px; z-index: 2;
  background: rgba(4,40,42,.72); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 5px 12px; border-radius: 20px; backdrop-filter: blur(4px);
}
.exc-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.exc-card-body h3 { font-size: 1.12rem; font-weight: 800; color: var(--text); margin-bottom: 6px; line-height: 1.25; }
.exc-card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--text-muted); margin-bottom: 14px; }
.exc-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.exc-card-days { font-size: .72rem; color: var(--teal-dark); font-weight: 700; letter-spacing: .5px; margin-bottom: 14px; }
.exc-card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.exc-price .amount { font-size: 1.5rem; font-weight: 900; color: var(--teal-dark); }
.exc-price .from { font-size: .72rem; color: var(--text-light); display: block; text-transform: uppercase; letter-spacing: .5px; }

/* ── Buttons ── */
.btn-teal {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff; font-weight: 700; font-size: .92rem; padding: 12px 22px;
  border: none; border-radius: 10px; cursor: pointer; text-align: center;
  box-shadow: 0 6px 20px rgba(14,165,164,.32); transition: transform .15s, box-shadow .15s;
}
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(14,165,164,.42); color: #fff; }
.btn-teal:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-coral { background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%); box-shadow: 0 6px 20px rgba(255,107,87,.32); }

/* ── Detail layout ── */
.exc-detail { display: grid; grid-template-columns: 1fr 380px; gap: 32px; max-width: 1200px; margin: 0 auto; padding: 36px 24px; align-items: start; }
.exc-desc { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.exc-desc h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 14px; color: var(--teal-dark); }
.exc-desc .rte { color: var(--text); line-height: 1.75; font-size: .96rem; }
.exc-desc .rte h2, .exc-desc .rte h3, .exc-desc .rte h4 { color: var(--teal-dark); margin: 16px 0 8px; }
.exc-desc .rte ul, .exc-desc .rte ol { margin: 10px 0 10px 22px; }
.exc-desc .rte li { margin-bottom: 6px; }
.exc-desc .rte p { margin-bottom: 12px; }
.exc-desc .rte a { color: var(--teal); text-decoration: underline; }

/* ── Gallery ── */
.exc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 4px; }
.exc-gallery-item {
  position: relative; border: none; padding: 0; cursor: pointer;
  border-radius: 14px; overflow: hidden; display: block; background: var(--teal-pale);
  box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3;
  transition: transform .25s ease, box-shadow .25s ease;
}
.exc-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.exc-gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,40,42,.55), rgba(4,40,42,0) 45%);
  opacity: 0; transition: opacity .25s;
}
.exc-gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.exc-gallery-item:hover img { transform: scale(1.1); }
.exc-gallery-item:hover::after { opacity: 1; }
.exc-gallery-zoom {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.6);
  z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.9); color: var(--teal-dark);
  opacity: 0; transition: opacity .25s, transform .25s; box-shadow: 0 6px 18px rgba(0,0,0,.28);
}
.exc-gallery-item:hover .exc-gallery-zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Hero "view photos" button */
.exc-hero-expand {
  position: absolute; z-index: 3; right: 24px; bottom: 24px;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 10px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
  background: rgba(4,40,42,.4); color: #fff; font-size: .85rem; font-weight: 700;
  backdrop-filter: blur(6px); transition: background .2s, transform .15s;
}
.exc-hero-expand:hover { background: rgba(14,165,164,.85); transform: translateY(-2px); }

/* ── Lightbox ── */
.exc-lb {
  position: fixed; inset: 0; z-index: 3000; display: none;
  align-items: center; justify-content: center;
}
.exc-lb.open { display: flex; animation: excLbFade .3s ease; }
.exc-lb-backdrop {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(10,60,62,.92), rgba(3,20,21,.97));
  backdrop-filter: blur(8px); cursor: zoom-out;
}
.exc-lb-stage {
  position: relative; z-index: 2; margin: 0;
  max-width: 92vw; max-height: 78vh; display: flex; flex-direction: column; align-items: center;
}
.exc-lb-img {
  max-width: 92vw; max-height: 72vh; border-radius: 12px; display: block;
  box-shadow: 0 30px 80px rgba(0,0,0,.6); background: rgba(255,255,255,.05);
  opacity: 0; transform: scale(.94); transition: opacity .32s ease, transform .32s cubic-bezier(.2,.8,.25,1);
}
.exc-lb-img.is-in { opacity: 1; transform: scale(1); }
.exc-lb-cap {
  margin-top: 14px; color: #eafcfb; font-size: .9rem; font-weight: 600;
  text-align: center; text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.exc-lb-spinner {
  position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px;
  border: 3px solid rgba(255,255,255,.25); border-top-color: var(--teal-light);
  border-radius: 50%; animation: excLbSpin .8s linear infinite; z-index: 1; display: none;
}
.exc-lb-close {
  position: absolute; top: 18px; right: 22px; z-index: 4;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.9rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s;
}
.exc-lb-close:hover { background: var(--coral); transform: rotate(90deg); }
.exc-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 54px; height: 54px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; font-size: 2rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s;
}
.exc-lb-nav:hover { background: var(--teal); }
.exc-lb-prev { left: 20px; } .exc-lb-next { right: 20px; }
.exc-lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.exc-lb-next:hover { transform: translateY(-50%) translateX(3px); }
.exc-lb-counter {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%); z-index: 4;
  color: #eafcfb; font-size: .82rem; font-weight: 700; letter-spacing: 1px;
  background: rgba(0,0,0,.3); padding: 5px 14px; border-radius: 999px;
}
.exc-lb-thumbs {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; gap: 8px; max-width: 92vw; overflow-x: auto; padding: 6px;
  scrollbar-width: none;
}
.exc-lb-thumbs::-webkit-scrollbar { display: none; }
.exc-lb-thumb {
  flex: 0 0 auto; width: 62px; height: 44px; border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; background-size: cover; background-position: center;
  opacity: .55; transition: opacity .2s, border-color .2s, transform .2s;
}
.exc-lb-thumb:hover { opacity: .9; transform: translateY(-2px); }
.exc-lb-thumb.active { opacity: 1; border-color: var(--teal-light); }

@keyframes excLbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes excLbSpin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .exc-lb-nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .exc-lb-img { max-height: 64vh; }
  .exc-lb-thumbs { display: none; }
  .exc-hero-expand { right: 16px; bottom: 16px; padding: 8px 13px; font-size: .8rem; }
}

/* ── Booking module (sticky) ── */
.exc-booking {
  position: sticky; top: 90px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  overflow: hidden;
}
.exc-booking-head { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); color: #fff; padding: 18px 22px; }
.exc-booking-head .price { font-size: 1.9rem; font-weight: 900; }
.exc-booking-head .price small { font-size: .8rem; font-weight: 600; opacity: .85; }
.exc-booking-body { padding: 20px 22px; }
.exc-booking-body label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--text-muted); margin-bottom: 6px; }
.exc-booking-body .form-control,
.exc-booking-body input[type=date],
.exc-booking-body input[type=text],
.exc-booking-body input[type=email],
.exc-booking-body input[type=tel],
.exc-booking-body select,
.exc-booking-body textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--border);
  border-radius: 9px; background: var(--bg-input); color: var(--text);
  font-size: .92rem; font-family: inherit;
}
.exc-booking-body .form-control:focus, .exc-booking-body input:focus,
.exc-booking-body select:focus, .exc-booking-body textarea:focus { outline: none; border-color: var(--teal); }
.exc-field { margin-bottom: 16px; }

/* Remove native number spinners for a cleaner, modern look */
.exc-theme input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.exc-theme input[type=number]::-webkit-outer-spin-button,
.exc-theme input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Modern stepper: pill container + circular buttons */
.exc-counter {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px;
}
.exc-counter button {
  width: 36px; height: 36px; border-radius: 50%; border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700; line-height: 1;
  color: var(--teal-dark); background: #fff;
  box-shadow: 0 1px 4px rgba(13,45,107,.14);
  transition: transform .12s ease, background .18s, color .18s, box-shadow .18s;
}
.exc-counter button:hover {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(14,165,164,.36);
}
.exc-counter button:active { transform: scale(.9); }
.exc-counter input {
  width: 46px; text-align: center; border: none; background: transparent;
  font-size: 1.1rem; font-weight: 800; color: var(--text); padding: 0;
}

.exc-addon { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border-light); }
.exc-addon:first-child { border-top: none; }
.exc-addon .a-info { flex: 1; }
.exc-addon .a-name { font-size: .88rem; font-weight: 600; color: var(--text); }
.exc-addon .a-price { font-size: .78rem; color: var(--teal-dark); font-weight: 700; }
.exc-addon .exc-counter { padding: 3px; gap: 2px; }
.exc-addon .exc-counter button { width: 28px; height: 28px; font-size: 1.05rem; }
.exc-addon .exc-counter input { width: 34px; font-size: .98rem; }

.exc-summary { border-top: 2px dashed var(--border); margin-top: 12px; padding-top: 14px; }
.exc-summary .row { display: flex; justify-content: space-between; font-size: .88rem; padding: 4px 0; color: var(--text-muted); }
.exc-summary .row.total { font-size: 1.15rem; font-weight: 900; color: var(--text); border-top: 1px solid var(--border); margin-top: 8px; padding-top: 10px; }
.exc-summary .row.total .amt { color: var(--teal-dark); }

.exc-days-note { font-size: .76rem; color: var(--text-muted); background: var(--teal-pale); border-radius: 8px; padding: 8px 10px; margin-bottom: 14px; }

/* ── Custom date picker ── */
.exc-datepick { position: relative; }
.exc-dp-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 12px; border: 1px solid var(--border); border-radius: 9px;
  background: var(--bg-input); color: var(--text); font-size: .92rem; font-family: inherit;
  cursor: pointer; text-align: left; transition: border-color .15s;
}
.exc-dp-trigger:hover { border-color: var(--teal); }
.exc-dp-trigger.active { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,165,164,.14); }
.exc-dp-trigger svg { color: var(--teal-dark); flex-shrink: 0; }
.exc-dp-label.placeholder { color: var(--text-light); }

.exc-dp-pop {
  position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 14px; animation: excDpIn .18s ease;
}
@keyframes excDpIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.exc-dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.exc-dp-title { font-weight: 800; color: var(--teal-dark); font-size: .95rem; }
.exc-dp-prev, .exc-dp-next {
  width: 32px; height: 32px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--teal-pale); color: var(--teal-dark); font-size: 1.15rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s;
}
.exc-dp-prev:hover, .exc-dp-next:hover { background: var(--teal); color: #fff; }

.exc-dp-weekdays, .exc-dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.exc-dp-weekdays { margin-bottom: 4px; }
.exc-dp-weekdays span {
  text-align: center; font-size: .68rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .3px; padding: 4px 0;
}
.exc-dp-weekdays span.off { color: var(--text-light); opacity: .45; }

.exc-dp-cell {
  aspect-ratio: 1 / 1; border: none; background: transparent; border-radius: 9px;
  font-size: .85rem; font-weight: 600; color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .12s, color .12s, transform .1s;
}
.exc-dp-cell.empty { pointer-events: none; }
.exc-dp-cell.avail { background: var(--teal-pale); color: var(--teal-dark); }
.exc-dp-cell.avail:hover { background: var(--teal); color: #fff; transform: translateY(-1px); }
.exc-dp-cell.disabled {
  color: var(--text-light); opacity: .4; cursor: not-allowed;
  text-decoration: line-through; background: transparent;
}
.exc-dp-cell.today { box-shadow: inset 0 0 0 1.5px var(--teal); }
.exc-dp-cell.selected { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; box-shadow: 0 4px 12px rgba(14,165,164,.4); }

@media (max-width: 900px) {
  .exc-detail { grid-template-columns: 1fr; }
  .exc-booking { position: static; }
  .exc-hero h1 { font-size: 1.7rem; }
}
