.venture-ashore {
  --acent-50: #e16754;

  --blue-90: #293358;
  --blue-80: #16468c;
  --blue-70: #0066b3;
  --blue-50: #008fd4;
  --blue-40: #1ab1eb;
  --blue-05: #f2f6ff;

  --red-50: #ff0000;

  --second-A50: #57c1a6;
  --second-B50: #c2e76b;
  --second-C50: #ffa168;

  --light-20: #d8dadf;
  --light-15: #dee0e6;
  --light-10: #eeeff1;
  --light-00: #ffffff;
  --dark-100: #09090a;
  --dark-90: #1e2022;
  --dark-80: #393b3f;
  --dark-70: #53555a;
  --dark-30: #9aa0ac;

  --xl: 1440px;
  --lg: 1280px;
  --md: 720px;
  --sm: 640px;
  --main-font: "Work Sans";
  --control-border-width: 1px;

  font-family: var(--main-font);
}

.flex-shrink-0 {
  flex-shrink: 0;
}

/* LAYOUT */

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.rounded-05 {
  border-radius: 4px;
}

.rounded {
  border-radius: 8px;
}

.rounded-2 {
  border-radius: 16px;
}

.rounded-full {
  border-radius: 100%;
}

.sticky {
  position: fixed !important;
  bottom: 16px;
  margin-left: auto;
  margin-right: auto;
  z-index: 2;
  left: 50%;
  transform: translate(-50%, 0);
}

.sticky-top {
  position: fixed !important;
  top: 0px;
  margin-left: auto;
  margin-right: auto;
  z-index: 2;
  left: 50%;
  transform: translate(-50%, 0);
}

.wrap {
  display: flex;
  flex-wrap: wrap;
}

.none {
  display: none !important;
}

.dsk-none {
  display: none !important;
}

.flex-to-none {
  display: flex !important;
}

.none-to-flex {
  display: none !important;
}

.block {
  display: block;
}

.scroll {
  overflow: scroll;
}

.scroll-x-auto {
  overflow-x: auto;
}

.hidden {
  overflow: hidden;
}

.pointer {
  cursor: pointer;
}

.width-full,
.w-full {
  width: 100%;
}

.w-2f3 {
  width: 66.66%;
}

.w-48 {
  width: 48px;
}

.w-32 {
  width: 32px;
}

.width-auto,
.w-auto {
  width: auto;
}

.height-full,
.h-full {
  height: 100vh;
}

.h-100 {
  height: 100%;
}

.dsk-h-220 {
  height: 220px;
}

.min-h-480 {
  min-height: 480px;
}

.min-h-72 {
  min-height: 72px;
}

.min-w-0 {
  min-width: 0px;
}

.min-w-320 {
  min-width: 320px;
}

.min-w-340 {
  min-width: 340px;
}

.dsk-min-w-460 {
  min-width: 460px;
}

.max-w-360 {
  max-width: 360px;
}

.dsk-max-w-416 {
  max-width: 410px;
}

.flex-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.block-container {
  display: block;
  width: 100%;
  overflow: hidden;
  height: 100vh;
}

.flex-content {
  position: relative;
  max-width: var(--lg);
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  width: 100%;
  padding: 0 32px;
}

.block-content {
  position: relative;
  max-width: var(--lg);
  display: block;
  width: 100%;
  padding: 0 32px;
  height: 100vh;
}

.flex-content-xl-mod {
  max-width: var(--xl);
}

.flex-contet-card-mod {
  background-color: var(--light-10);
  border-radius: 8px;
}

.flex-contet-card-white-mod {
  background-color: var(--light-00);
  border-radius: 8px;
}

.content-padding-mod {
  padding: 0 32px;
}

.content-lage-mod {
  max-width: var(--xl);
}

.content-medium-mod {
  max-width: var(--lg);
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-column-to-row {
  display: flex;
  flex-direction: column;
}

.flex-row-to-column,
.flex-row-to-column-rev {
  display: flex;
  flex-direction: row;
}

.flex-rev-row-to-column {
  display: flex;
  flex-direction: row-reverse;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.self-start {
  align-self: flex-start;
}

.self-center {
  align-self: center;
}

.self-end {
  align-self: flex-end;
}

.align-end {
  display: flex;
  align-items: flex-end;
}

.justify-center {
  display: flex;
  justify-content: center;
}

.justify-start {
  display: flex;
  justify-content: start;
}

.justify-end {
  display: flex;
  justify-content: flex-end;
}

.justify-between {
  display: flex;
  justify-content: space-between;
}

.justify-around {
  display: flex;
  justify-content: space-around;
}

.items-start {
  display: flex;
  align-items: start;
}

.items-center {
  display: flex;
  align-items: center;
}

.items-end {
  display: flex;
  align-items: flex-end;
}

.items-stretch {
  display: flex;
  align-items: stretch;
}

.flex-cover {
  display: flex;
  flex: 1;
}

.flex-s {
  display: flex;
  flex: 0.25;
}

.flex-m {
  display: flex;
  flex: 0.5;
}

.flex-1 {
  display: flex;
  flex: 1;
}

.flex-2 {
  display: flex;
  flex: 2;
}

.flex-3 {
  display: flex;
  flex: 3;
}

.flex-4 {
  display: flex;
  flex: 4;
}

.flex-5 {
  display: flex;
  flex: 5;
}

.flex-6 {
  display: flex;
  flex: 6;
}

.flex-7 {
  display: flex;
  flex: 7;
}

.flex-8 {
  display: flex;
  flex: 8;
}

.flex-9 {
  display: flex;
  flex: 9;
}

.flex-10 {
  display: flex;
  flex: 10;
}

.flex-15 {
  display: flex;
  flex: 1.5;
}

.gap-2 {
  gap: 2px;
}

.gap-4 {
  gap: 4px;
}

.gap-8 {
  gap: 8px;
}

.gap-12 {
  gap: 12px;
}

.gap-16 {
  gap: 16px;
}

.gap-24 {
  gap: 24px;
}

.gap-32 {
  gap: 32px;
}

.gap-48 {
  gap: 48px;
}

.gap-64 {
  gap: 64px;
}

.margin-l-16 {
  margin-left: 16px;
}

.padding-0 {
  padding: 0px;
}

.padding-4 {
  padding: 4px;
}

.padding-8 {
  padding: 8px;
}

.padding-12 {
  padding: 12px;
}

.padding-16 {
  padding: 16px;
}

.padding-24 {
  padding: 24px;
}

.padding-32 {
  padding: 32px;
}

.padding-32-16 {
  padding: 32px;
}

.padding-b-8 {
  padding-bottom: 8px;
}

.padding-b-12 {
  padding-bottom: 12px;
}

.padding-b-16 {
  padding-bottom: 16px;
}

.padding-t-32 {
  padding-top: 32px;
}

.padding-xl {
  padding: 96px 32px 96px 32px;
}

.padding-x-4 {
  padding: 0px 4px;
}

.padding-x-8 {
  padding: 0px 8px;
}

.padding-x-12 {
  padding: 0px 12px;
}

.padding-x-16 {
  padding: 0px 16px;
}

.padding-x-24 {
  padding: 0px 24px;
}

.padding-y-4 {
  padding: 4px 0px;
}

.padding-y-8 {
  padding-top: 8px;
  padding-bottom: 8px;
}

.padding-y-12 {
  padding: 12px 0px;
}

.padding-y-16 {
  padding: 12px 0px;
}

.padding-y-24 {
  padding: 24px 0px;
}

.padding-y-32,
.padding-y-32-to-padding-x-16 {
  padding-top: 32px;
  padding-bottom: 32px;
}

.padding-y-48 {
  padding: 48px 0px;
}

.padding-y-64 {
  padding: 64px 0px;
}

.spacing-1 {
  border-right: 1px solid var(--dark-30);
}

.hover-underlined hover {
  text-decoration: underline;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.w-50 {
  width: 50%;
}

.w-100 {
  width: 100%;
}

.box-1 {
  padding: 32px 16px;
  max-width: 420px;
  display: flex;
  width: 100%;
  flex-direction: column;
}

.box-2 {
  padding: 32px 16px;
  max-width: 640px;
  display: flex;
  width: 100%;
  flex-direction: column;
}

/* BUTTONS */

.main-button,
.second-button,
.blue-button,
.border-button,
.pill-button,
.outline-button,
.ghost-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 28px;
  font-family: "Work Sans", var(--main-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: 2px solid transparent;
  border-radius: 8px;
  margin-top: auto;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.2s, box-shadow 200ms ease, transform 200ms ease;
}

.main-button {
  background-color: var(--acent-50);
  color: var(--light-00);
}

.main-button:hover {
  opacity: 0.88;
  color: var(--light-00);
}

.second-button {
  background-color: var(--blue-05);
  color: var(--blue-80);
}

.second-button:hover {
  opacity: 0.88;
}

.blue-button {
  background-color: var(--blue-80);
  color: var(--blue-05);
}

.blue-button:hover {
  opacity: 0.88;
  color: var(--blue-05);
}

.border-button {
  background-color: transparent;
  color: var(--blue-80);
  border-color: var(--blue-80);
  border-width: var(--control-border-width);
  border-style: solid;
}

.border-button:hover {
  opacity: 0.88;
}

.pill-button {
  background-color: transparent;
  color: var(--blue-80);
  border-color: var(--blue-80);
  border-width: var(--control-border-width);
  border-style: solid;
  border-radius: 32px;
}

.pill-button:hover {
  opacity: 0.88;
}

.outline-button {
  background-color: transparent;
  color: var(--blue-90);
  border-color: var(--blue-90);
  border-width: 2px;
  border-style: solid;
}

.outline-button:hover {
  background-color: var(--blue-90);
  color: var(--light-00);
}

.ghost-button {
  background-color: transparent;
  color: var(--light-00);
  border-color: rgba(255, 255, 255, 0.35);
  border-width: 2px;
  border-style: solid;
}

.ghost-button:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--light-00);
}

.pill-button-primary-mod {
  background-color: var(--blue-80);
  border-color: var(--blue-80);
  color: var(--light-00);
}

.pill-button-orange-mod {
  border-color: var(--acent-50);
  background-color: var(--acent-50);
  color: var(--light-00);
}

.pill-button-small-mod {
  padding: 12px;
}

.admin-button-mod {
  position: relative;
  z-index: 2;
  color: var(--blue-05);
  background-color: var(--second-A50);
}

.disabled-button-mod {
  color: var(--dark-70);
  background-color: var(--light-20);
  cursor: auto;
}

.small-button-mod {
  border-radius: 6px;
  padding: 8px 12px;
}

.big-button-mod {
  padding: 16px 36px;
}

.pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid var(--light-20);
  background-color: var(--light-00);
  white-space: nowrap;
}

.pill-icon-sm {
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.pill-icon-sm img {
  width: 18px;
  height: 18px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  font-family: "Work Sans";
  font-size: 12px;
  font-weight: 600;
  background-color: var(--blue-70);
  color: var(--light-00);
  white-space: nowrap;
}

.pill-tag-green {
  background-color: #88e5a4;
  color: #1f6831;
}

.pill-tag-orange {
  background-color: #ff8b5b;
}

.pill-tag-soft {
  background-color: #ffd9aa;
  color: #8b4a16;
}

.pill-tag-red {
  background-color: #ffd6d6;
  color: #b3261e;
}


.over-input-text {
  position: absolute;
  top: 10px;
  right: 8px;
  color: var(--dark-70);
}

.list-inside {
  list-style: inside;
}

.dot {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  width: 32px;
  height: 32px;
  background-color: var(--light-20);
  color: var(--dark-70);
}

.dot-line-mod {
  background-color: transparent;
  border-color: var(--dark-30);
  border-width: 1px;
  border-style: solid;
}

.border-grey {
  border-color: var(--dark-30);
  border-width: 1px;
  border-style: solid;
}

.border-blue {
  border-color: var(--blue-70);
  border-width: 1px;
  border-style: solid;
}

.w-1 {
  width: 1px;
}

.h-1 {
  height: 1px;
}

.sep {
  width: 12px;
  height: 4px;
  background-color: var(--light-20);
  color: var(--dark-70);
}

.blue-dot-mod,
.blue-sep-mod,
.blue-back-mod {
  background-color: var(--blue-80);
  color: var(--light-00);
}

/* INPUT TEXT */
.input-check {
  display: flex;
  position: relative;
  gap: 16px;
  margin-top: 38px;
}

input[type="checkbox"] {
  /* Double-sized Checkboxes */
  -ms-transform: scale(2);
  /* IE */
  -moz-transform: scale(2);
  /* FF */
  -webkit-transform: scale(2);
  /* Safari and Chrome */
  -o-transform: scale(2);
  /* Opera */
  transform: scale(2);
  padding: 0;
}

/* INPUT TEXT */
.input-text {
  width: 100%;
  display: flex;
  background-color: var(--light-00);
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
  border-color: var(--light-20);
  padding: 12px;
  font-size: 16px;
  position: relative;
}

/* SELECTS */
.main-select {
  background-image: url("/content/new/icons/chevron-select.svg");
  background-position: calc(100% - 8px) 50%;
  background-repeat: no-repeat;
  background-size: 32px;
  width: 100%;
  font-size: 16px;
  display: flex;
  background-color: var(--light-00);
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
  border-color: var(--light-20);
  padding: 12px;
}

.date-select-mod {
  background-image: url("/content/new/icons/calendar.svg");
  background-size: 28px;
  cursor: pointer;
}

/* TEXTS */
.h1 {
  display: inline-block;
  font-family: "Urbanist", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2em;
  letter-spacing: 0.02em;
  color: var(--dark-70);
}

.h2 {
  display: inline-block;
  font-family: "Urbanist", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2em;
  letter-spacing: 0.02em;
  color: var(--dark-70);
}

.h3 {
  display: inline-block;
  font-family: "Urbanist", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2em;
  letter-spacing: 0.04em;
  color: var(--dark-70);
}

.h4 {
  display: inline-block;
  font-family: "Urbanist", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2em;
  letter-spacing: 0.04em;
  color: var(--dark-70);
}

.h5 {
  display: inline-block;
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2em;
  color: var(--dark-70);
}

.h6 {
  display: inline-block;
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2em;
  color: var(--dark-70);
}

.b0 {
  display: inline-block;
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2em;
  color: var(--dark-70);
}

.b1 {
  display: inline-block;
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: var(--dark-70);
}

.n2 {
  display: inline-block;
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  color: var(--dark-80);
}

.f1 {
  display: inline-block;
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 140%;
  color: var(--dark-70);
  letter-spacing: 0;
}

.l1 {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: var(--dark-70);
}

.b1 a {
  text-decoration: underline;
  color: var(--blue-70);
}

.d1 {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark-70);
}

.t1 {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 12px;
  color: var(--dark-70);
}

.a1 {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 120%;
  text-decoration-line: underline;
  color: var(--dark-70);
}

small {
  font-size: 12px;
}

/* SIMPLE MODS */
.upper {
  text-transform: uppercase;
}

.lower {
  text-transform: lowercase;
}

.transform-none {
  text-transform: none;
}

.word-break {
  overflow-wrap: break-word;
}

.underline {
  text-decoration-line: underline;
}

.line-through {
  text-decoration: line-through;
}

/* Tour old price: grey and struck through, on its own line above the real price and smaller than it.
   Grey, not red, so it does not compete with the real price; the saving is said in green next to it. */
.old-price {
  display: block;
  margin: 0;
  color: #6b7280;
  font-weight: 400;
  font-size: 0.85em;
  line-height: 1.2;
  text-decoration: line-through;
}

/* display: block above beats the browser's [hidden] rule; the group select line toggles hidden. */
.old-price[hidden] {
  display: none;
}

/* On the listing card the old price sits on the price line, before the price. */
.old-price.old-price-inline {
  display: inline;
  margin-right: 8px;
  font-size: 16px;
}

/* The saving against the old price, in green: a pill on the listing card and a strip at the foot of
   the tour price box, above the add-to-cart Total and under a cart item's total. */
.saving-pill {
  align-self: flex-start;
  display: inline-block;
  margin: 4px 0 0;
  padding: 2px 9px;
  border-radius: 999px;
  background-color: #dcf3e3;
  color: #1f6831;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.saving-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 16px;
  border-top: 1px solid #c6e8d0;
  background-color: #e8f6ec;
  color: #1f6831;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

/* A price tag, drawn in the strip's own green. */
.saving-strip::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6831' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8Z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* A strip that stands alone (add-to-cart modal, cart item) rather than closing the price box. */
.saving-strip-boxed {
  border: 1px solid #c6e8d0;
  border-radius: 8px;
}

.saving-strip[hidden] {
  display: none;
}

.no-wrap {
  white-space: nowrap;
}

.link {
  text-decoration-line: underline;
  color: var(--blue-70);
  word-break: break-all;
}

.link-2 {
  text-decoration-line: underline;
  color: var(--blue-70);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: "Work Sans";
}

.list {
  list-style: inside;
}

bold,
.bold {
  font-weight: 600;
}

.medium {
  font-weight: 500;
}

.light {
  font-weight: 300;
}

.white-text {
  color: var(--light-00) !important;
}

.soft-text {
  color: var(--dark-30);
}

.dark-text {
  color: var(--dark-70);
}

.blue-text {
  color: var(--blue-70);
}

.mid-blue-text {
  color: var(--blue-80);
}

.dark-blue-text {
  color: var(--blue-90);
}

.red-text {
  color: var(--red-50);
}

.text-center {
  text-align: center;
}

.opacity-6 {
  opacity: 0.6;
}

.icon {
  width: 42px;
  margin-right: 4px;
}

.icon-2 {
  height: 24px;
}

.icon-3 {
  height: 60px;
}

.shade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, #030d23 0%, rgba(5, 12, 29, 0) 100%);
}

.back-blue {
  background-color: var(--blue-80);
}

.back-blue-2 {
  background-color: var(--blue-70);
}

.back-skyblue {
  background-color: #bae5f7;
}

.back-soft-blue {
  background-color: var(--blue-40);
}

.back-orange {
  background-color: var(--acent-50);
}

.back-grey {
  background-color: var(--light-20);
}

.back-soft-grey {
  background-color: var(--light-10);
}

.back-white {
  background-color: var(--light-00);
}

.shadow {
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.06),
    0 6px 14px rgba(0, 102, 179, 0.1);
  transition:
    box-shadow 200ms ease,
    transform 200ms ease,
    filter 200ms ease;
  transform: translateY(0);
  z-index: 1;
}

.shadow:hover,
.shadow:focus-visible {
  box-shadow:
    0 0 0 2px rgba(0, 102, 179, 0.25),
    0 8px 20px rgba(0, 102, 179, 0.25),
    0 2px 10px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px) scale(1.01);
  z-index: 2;
}

/* Opcional: accesibilidad para quien reduce animaciones */
@media (prefers-reduced-motion: reduce) {
  .shadow,
  .shadow:hover,
  .shadow:focus-visible {
    transition: none;
    transform: none;
  }
}

.img-stack {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-in {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Opt-in gallery styles. Apply `gallery-contained` to the gallery
   container to make the gallery behave like the example HTML:
   - carousel cells fill the gallery area
   - images are absolutely positioned and cover the cell
   - thumbnails match expected sizes and active state */
.gallery.gallery-contained,
.tour-gallery-main.gallery-contained {
  position: relative;
  overflow: hidden;
  /* ensure rounded corners clip children */
}

.gallery.gallery-contained .carousel-cell.img-stack,
.tour-gallery-main.gallery-contained .carousel-cell.img-stack {
  /* keep Flickity's positioning (absolute) but ensure sizing */
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery.gallery-contained .img-in,
.tour-gallery-main.gallery-contained .img-in {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Make sure Flickity viewport inherits the rounded corners */
.gallery.gallery-contained .flickity-viewport,
.tour-gallery-main.gallery-contained .flickity-viewport {
  border-radius: inherit;
  overflow: hidden;
  height: 100% !important;
}

/* Thumbnails container and buttons */
.gallery-thumb {
  display: flex;
  gap: 8px;
  align-items: center;
}

.gallery-thumb .tour-thumb {
  width: 128px;
  height: 128px;
  border: 1px solid var(--light-20);
  background-color: var(--light-00);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumb .tour-thumb.is-active {
  border-color: var(--blue-70);
  box-shadow: 0 0 0 1px var(--blue-70);
}

.gallery-thumb .tour-thumb .img-cover,
.gallery-thumb .tour-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

@media screen and (max-width: 964px) {
  .gallery-thumb .tour-thumb {
    width: 72px;
    height: 72px;
  }
}

/* Show prev/next buttons only on hover or keyboard focus for
   opt-in galleries (`.gallery-contained`). On touch devices (no hover)
   buttons remain visible for usability. */
.gallery.gallery-contained .flickity-prev-next-button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
  z-index: 3;
}

.gallery.gallery-contained:hover .flickity-prev-next-button,
.gallery.gallery-contained:focus-within .flickity-prev-next-button {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* On devices that don't support hover, keep buttons visible */
@media (hover: none) {
  .gallery.gallery-contained .flickity-prev-next-button {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.z1 {
  z-index: 1 !important;
}

.z2 {
  z-index: 2 !important;
}

.z3 {
  z-index: 3 !important;
}

/* Navbar dropdown menus z-index layering */
.dsk-account-select-options,
.currencyOptions,
#dskDestinationsOptions,
#dskGroupsOptions,
#dskPackagesOptions,
#dskAgentsOptions {
  position: absolute;
  z-index: 1101;
}

.dsk-sub-menu-open {
  position: absolute;
  top: 100%;
}

#dskPackagesOptions.dsk-sub-menu-open {
  z-index: 1202;
}

.pop-up-open {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
}

.pop-up-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
}

.pop-up-container-lg {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
}

.pop-up-content {
  z-index: 10;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--light-00);
  border-radius: 8px;
  padding: 24px;
  justify-content: start;
}

.pop-up-content .content-main {
  padding: 1px !important;
  display: inline !important;
}

.pop-up-mod-10 {
  gap: 16px;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  align-items: flex-start;
  overflow-y: auto;
  display: inline !important;
}

.pop-up-footer {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.pop-up-back {
  z-index: 5;
  position: absolute;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.5);
}

.pop-up-close {
  display: flex;
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 15;
}

.pop-up-mod-0 {
  gap: 16px;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  min-height: 400px;
  align-items: flex-start;
  overflow-y: auto;
}

.pop-up-mod-1 {
  gap: 16px;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  align-items: flex-start;
  overflow-y: auto;
}

.pop-up-mod-2 {
  gap: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  align-items: flex-start;
  overflow-y: auto;
}

.popup-h-full {
  max-height: 100vh;
}

.pop-up-mod-3 {
  gap: 16px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  align-items: flex-start;
  overflow-y: auto;
}

.pop-up-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
  max-height: 60vh;
  overflow: auto;
}

.ui-datepicker {
  z-index: 99 !important;
}

.plusminus {
  position: relative;
  width: 16px;
  height: 16px;
  cursor: pointer;
  color: var(--blue-80);
}

.plusminus:before,
.plusminus:after {
  content: "";
  display: block;
  background-color: var(--blue-80);
  position: absolute;
  top: 50%;
  left: 0;
  transition: 0.35s;
  width: 100%;
  height: 2px;
}

.plusminus:before {
  transform: translatey(-50%);
}

.plusminus:after {
  transform: translatey(-50%) rotate(90deg);
}

.open .plusminus:before {
  transform: translatey(-50%) rotate(-90deg);
  opacity: 0;
}

.open .plusminus:after {
  transform: translatey(-50%);
}

[data-tip] {
  position: relative;
}

[data-tip]:before {
  content: "";
  /* hides the tooltip when not hovered */
  display: none;
  content: "";
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #1a1a1a;
  position: absolute;
  top: 30px;
  left: 35px;
  z-index: 8;
  font-size: 0;
  line-height: 0;
  width: 0;
  height: 0;
}

[data-tip]:after {
  display: none;
  content: attr(data-tip);
  position: absolute;
  top: 35px;
  left: 0px;
  padding: 5px 8px;
  background: #1a1a1a;
  color: #fff;
  z-index: 9;
  font-size: 0.75em;
  height: 18px;
  line-height: 18px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  white-space: nowrap;
  word-wrap: normal;
}

[data-tip]:hover:before,
[data-tip]:hover:after {
  display: block;
}

@media screen and (max-width: 1280px) {
  .tab-none {
    display: none !important;
  }
}

@media screen and (max-width: 964px) {
  .padding-32-16 {
    padding: 16px;
  }

  .dsk-min-w-460 {
    min-width: 0;
  }

  .dsk-max-w-416 {
    max-width: 1280px;
  }

  .dsk-h-220 {
    height: auto;
  }

  .mob-justify-between {
    display: flex;
    justify-content: space-between;
  }

  .mob-none {
    display: none !important;
  }

  .mob-wrap {
    display: flex;
    flex-wrap: wrap;
  }

  .mob-flex-1 {
    flex: 1;
  }

  .mob-w-full {
    width: 100%;
  }

  .mob-w-mid {
    width: 50%;
  }

  .mob-w-170 {
    width: 170px;
  }

  .mob-padding-8 {
    padding: 8px;
  }

  .mob-padding-x-16 {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mob-padding-x-8 {
    padding-left: 8px;
    padding-right: 8px;
  }

  .mob-padding-x-0 {
    padding-left: 0px;
    padding-right: 0px;
  }

  .mob-gap-8 {
    gap: 8px;
  }

  .content-padding-mod {
    padding: 0;
  }

  .flex-column-to-row {
    display: flex;
    flex-direction: row;
  }

  .flex-row-to-column,
  .flex-rev-row-to-column {
    display: flex;
    flex-direction: column;
  }

  .flex-row-to-column-rev {
    display: flex;
    flex-direction: column-reverse;
  }

  .padding-y-32-to-padding-x-16 {
    padding-left: 16px;
    padding-right: 16px;
  }

  .flex-to-none {
    display: none !important;
  }

  .dsk-none {
    display: flex !important;
  }

  .none-to-flex {
    display: flex !important;
  }

  .mob-min-h-320 {
    min-height: 320px;
  }

  .mob-justify-center {
    justify-content: center;
  }
}

@media screen and (max-width: 640px) {
  .h1 {
    font-size: 32px;
  }

  .h2 {
    font-size: 28px;
  }

  .h3 {
    font-size: 24px;
  }

  .h4 {
    font-size: 20px;
  }

  .h5 {
    font-size: 18px;
  }

  .h6 {
    font-size: 14px;
  }

  .main-button {
    padding: 12px;
  }

  .blue-button {
    padding: 12px;
  }

  .second-button {
    padding: 12px;
  }

  .pop-up-mod-1 {
    width: 100%;
    max-width: 640px;
    justify-content: flex-start;
  }

  .pop-up-mod-1 form {
    flex: 1;
  }

  .pop-up-mod-1 .pop-up-footer {
    display: flex;
    margin-top: auto;
    justify-content: space-between;
  }

  .pop-up-mod-1 .pop-up-footer * {
    flex: 1;
  }

  .pop-up-footer-2 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}

/* Validation code Control */

.input-container-code {
  margin-bottom: 15px;
  /* Add bottom margin to separate input fields */
}

.validation-message-code {
  font-weight: bold;
  color: red;
  display: none;
  margin-top: 5px;
  /* Add top margin for spacing above validation messages */
}

.cf-buttons-row {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* WebKit (Chrome, Edge, Safari) */
.ports-scroll::-webkit-scrollbar {
  height: 10px;
  /* altura de la barra horizontal */
}

.ports-scroll::-webkit-scrollbar-track {
  background: transparent;
  /* color celeste clarito (fondo) */
  border-radius: 9999px;
}

.ports-scroll::-webkit-scrollbar-thumb {
  background: #d86a4a;
  /* color del “píldora” (thumb) */
  border-radius: 9999px;
}

/* Opcional: al hacer hover */
.ports-scroll::-webkit-scrollbar-thumb:hover {
  background: #c55739;
}

/* Firefox: más limitado, pero algo se puede */
.ports-scroll {
  /* scrollbar-width: thin;                   */
  scrollbar-color: #d86a4a transparent;
  /* thumb track */
  width: 100%;
  max-width: 100%;
  min-width: 0;
  /* allow flex children to shrink instead of forcing page overflow */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.refined-hover {
  transition:
    box-shadow 200ms ease,
    transform 200ms ease,
    filter 200ms ease;
}

.refined-hover:hover,
.refined-hover:focus-visible {
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.08),
    0 0 12px rgba(0, 102, 179, 0.15);
  transform: translateY(-1px);
  filter: brightness(1.15);
}

.refined-hover-white {
  transition:
    box-shadow 200ms ease,
    transform 200ms ease,
    filter 200ms ease;
}

.refined-hover-white:hover,
.refined-hover-white:focus-visible {
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
  filter: brightness(1.15);
}

/* Hover / keyboard-focus effects (skip disabled) */
.main-button:not(.disabled-button-mod):hover,
.main-button:not(.disabled-button-mod):focus-visible,
.second-button:not(.disabled-button-mod):hover,
.second-button:not(.disabled-button-mod):focus-visible,
.blue-button:not(.disabled-button-mod):hover,
.blue-button:not(.disabled-button-mod):focus-visible,
.border-button:not(.disabled-button-mod):hover,
.border-button:not(.disabled-button-mod):focus-visible,
.pill-button:not(.disabled-button-mod):hover,
.pill-button:not(.disabled-button-mod):focus-visible,
.outline-button:not(.disabled-button-mod):hover,
.outline-button:not(.disabled-button-mod):focus-visible,
.ghost-button:not(.disabled-button-mod):hover,
.ghost-button:not(.disabled-button-mod):focus-visible,
.pill-button-primary-mod:not(.disabled-button-mod):hover,
.pill-button-primary-mod:not(.disabled-button-mod):focus-visible,
.admin-button-mod:not(.disabled-button-mod):hover,
.admin-button-mod:not(.disabled-button-mod):focus-visible,
.small-button-mod:not(.disabled-button-mod):hover,
.small-button-mod:not(.disabled-button-mod):focus-visible,
.big-button-mod:not(.disabled-button-mod):hover,
.big-button-mod:not(.disabled-button-mod):focus-visible {
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.08),
    0 0 12px rgba(0, 102, 179, 0.15);
  transform: translateY(-1px);
  filter: brightness(1.15);
}

/* Blocking-condition banner. Lives here because three places need the same look
   for "you cannot buy this": the cart (a tour that went unavailable), the checkout
   (an expired cruise selection) and the Book Now modal (a sold-out departure). This
   is the standalone form variant; cart.css overrides it with a full-width, left-ruled
   version for the banner that spans a trip card. Kept under its original ct- name so
   the existing markup in cart.js and Checkout.cshtml keeps working. */
.ct-unavailable-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  background-color: #fdecea;
  border: 1px solid #f3c2bd;
  border-radius: 8px;
}

.ct-unavailable-badge {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #c62828;
}

/* display:flex would otherwise beat the hidden attribute. */
.ct-unavailable-banner[hidden] {
  display: none;
}

/* Phone-only cutoff note under the Book Now datepicker: the calendar greys out the
   next few days and this line says why. Same modal on listing and tour detail. */
.ct-cutoff-note {
  margin: 0;
  color: var(--dark-70);
}

.ct-cutoff-note .link {
  white-space: nowrap;
}

/* SOLD OUT corner ribbon — shared by the tour card in the listing and the hero
   image on the tour detail page, so the same state does not get two looks. The
   host must be position:relative and clip overflow: the band is deliberately
   wider than its corner and runs off the right edge. */
.soldout-ribbon {
  position: absolute;
  top: 20px;
  right: -38px;
  z-index: 10;
  padding: 8px 40px;
  transform: rotate(45deg);
  background-color: #ff4444;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.soldout-ribbon > span {
  color: #ffffff;
}

/* position:absolute would otherwise beat the hidden attribute. */
.soldout-ribbon[hidden] {
  display: none;
}
