/* Compare Packages page */
.cmp {
  --c-green: #123D32;
  --c-green2: #1b5646;
  --c-gold: #B99552;
  --c-gold-d: #8a6a2c;
  --c-ivory: #F6F2E9;
  --c-line: #e3dccb
}

.cmp-hero {
  position: relative;
  color: #fff;
  padding: 3.6rem 0 3.2rem;
  background: linear-gradient(135deg, #0c2d25 0%, #123D32 55%, #1d5b49 100%);
  overflow: hidden
}

.cmp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23B99552' stroke-width='1'%3E%3Cpath d='M40 4l9 22 23-9-9 23 22 9-22 9 9 23-23-9-9 22-9-22-23 9 9-23-22-9 22-9-9-23 23 9z'/%3E%3C/g%3E%3C/svg%3E")
}

.cmp-hero .container {
  position: relative
}

.cmp-hero .eyebrow {
  color: #e4c982
}

.cmp-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  margin: .2rem 0 .8rem
}

.cmp-hero .lead {
  color: #e6efe9;
  max-width: 46rem;
  font-size: 1.05rem
}

.cmp-body {
  padding-top: 2rem !important;
  padding-bottom: 3rem !important
}

.cmp-tabs {
  display: inline-flex;
  gap: .35rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: .3rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(18, 61, 50, .08);
  max-width: 100%
}

.cmp-tab {
  border: 0;
  background: transparent;
  color: var(--c-green);
  font-weight: 700;
  padding: .65rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
  font-size: .98rem
}

.cmp-tab:hover {
  background: #f1ead8
}

.cmp-tab.is-active {
  background: var(--c-green);
  color: #fff
}

.cmp-panel-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.2rem
}

.cmp-panel-head h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 .3rem
}

.cmp-panel-head p {
  margin: 0;
  color: #55645e
}

.cmp-pick {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center
}

.cmp-pick legend {
  float: none;
  width: auto;
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-gold-d);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 .6rem 0 0;
  padding: 0
}

.cmp-chip {
  position: relative;
  cursor: pointer;
  margin: 0
}

.cmp-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer
}

.cmp-chip span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .9rem;
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  font-size: .9rem;
  color: #55645e;
  transition: all .15s
}

.cmp-chip .cmp-chip-ic {
  width: 15px;
  height: 15px;
  opacity: 0
}

.cmp-chip input:checked+span {
  background: #e8f1ed;
  border-color: var(--c-green2);
  color: var(--c-green)
}

.cmp-chip input:checked+span .cmp-chip-ic {
  opacity: 1
}

.cmp-chip input:focus-visible+span {
  outline: 3px solid var(--c-gold);
  outline-offset: 2px
}

.cmp-ic {
  flex: none;
  color: var(--c-gold-d)
}

.cmp-tier {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--c-green);
  font-size: 1.15rem
}

.cmp-price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--c-green);
  font-size: 1.7rem;
  line-height: 1.2
}

.cmp-price sup {
  font-size: .9rem;
  color: var(--c-gold-d);
  margin-inline-start: 2px
}

.cmp-price small,
.cmp-per {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  color: #66736c;
  margin-inline-start: .4rem
}

.cmp-muted {
  color: #66736c;
  font-size: .9rem
}

.cmp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  background: var(--c-gold);
  color: #17221E !important;
  font-weight: 800;
  border-radius: 10px;
  padding: .65rem 1.1rem;
  text-decoration: none;
  transition: transform .15s, background .15s;
  font-size: .92rem
}

.cmp-btn:hover {
  background: #c9a763;
  transform: translateY(-1px)
}

.cmp-btn .cmp-ic {
  color: #17221E;
  width: 16px;
  height: 16px
}

/* table (≥768px) */
.cmp-cards {
  display: none
}

.cmp-table-wrap {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: 0 8px 26px rgba(18, 61, 50, .08)
}

.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px
}

.cmp-table th,
.cmp-table td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--c-line);
  vertical-align: middle;
  text-align: start
}

.cmp-table thead th {
  background: linear-gradient(180deg, #f7f1e0, #f1e9d3);
  border-bottom: 2px solid var(--c-gold);
  position: sticky;
  top: 0
}

.cmp-table thead th:first-child {
  width: 22%
}

.cmp-table tbody th {
  font-weight: 700;
  color: var(--c-green);
  background: #fbf9f3;
  white-space: nowrap
}

.cmp-table tbody th .cmp-ic {
  margin-inline-end: .5rem;
  vertical-align: -4px
}

.cmp-table tbody th small {
  display: block;
  font-weight: 500;
  color: #66736c;
  font-size: .74rem;
  margin-inline-start: 1.7rem
}

.cmp-table tr:last-child th,
.cmp-table tr:last-child td {
  border-bottom: 0
}

.cmp-row-price td {
  background: #fffaf0
}

.cmp-row-diff td strong {
  color: var(--c-gold-d)
}

.cmp-table tr.cmp-differs th {
  box-shadow: inset 4px 0 0 var(--c-gold)
}

html[dir=rtl] .cmp-table tr.cmp-differs th {
  box-shadow: inset -4px 0 0 var(--c-gold)
}

.cmp-table tr.cmp-differs td {
  background: #fdfaf1
}

.cmp-legend {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .84rem;
  color: #66736c;
  margin: .8rem 0 0
}

.cmp-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--c-gold)
}

.cmp-includes {
  margin-top: 1.4rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-inline-start: 4px solid var(--c-gold);
  border-radius: 12px;
  padding: 1rem 1.2rem
}

.cmp-inc-title {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-weight: 600;
  color: var(--c-green)
}

.cmp-includes ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0;
  margin: .9rem 0 0
}

.cmp-includes li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #f4efe1;
  border-radius: 999px;
  padding: .3rem .8rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--c-green)
}

.cmp-warn {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
  padding: .9rem 1.1rem;
  background: #fff6e5;
  border: 1px solid #ecd49a;
  border-radius: 12px;
  color: #5a4318;
  font-size: .92rem
}

/* hide / show chosen packages */
.cmp-panel.hide-economy [data-tier=economy],
.cmp-panel.hide-standard [data-tier=standard],
.cmp-panel.hide-deluxe [data-tier=deluxe],
.cmp-panel.hide-premium [data-tier=premium] {
  display: none
}

.cmp-dest,
.cmp-help {
  margin-top: 2.5rem
}

.cmp-dest {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 1.6rem
}

.cmp-dest h2 {
  font-size: 1.5rem
}

.cmp-help {
  text-align: center;
  background: linear-gradient(135deg, #123D32, #1b5646);
  color: #fff;
  border-radius: 18px;
  padding: 2.2rem 1.4rem
}

.cmp-help h2 {
  color: #fff;
  font-size: 1.7rem
}

.cmp-help p {
  color: #e6efe9
}

.cmp-help .cmp-small {
  font-size: .82rem;
  margin: 1rem 0 0;
  opacity: .85
}

.cmp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap
}

/* cards (<768px) */
@media (max-width:767.98px) {

  .cmp-table-wrap,
  .cmp-legend {
    display: none
  }

  .cmp-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem
  }

  .cmp-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 6px 18px rgba(18, 61, 50, .08);
    display: flex;
    flex-direction: column;
    gap: .8rem
  }

  .cmp-card header {
    border-bottom: 1px dashed var(--c-line);
    padding-bottom: .8rem
  }

  .cmp-from {
    font-size: .74rem;
    color: #80622b;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: .4rem
  }

  .cmp-delta {
    display: inline-block;
    margin-top: .4rem;
    background: #f4efe1;
    color: var(--c-gold-d);
    font-weight: 700;
    border-radius: 999px;
    padding: .15rem .7rem;
    font-size: .82rem
  }

  .cmp-card dl {
    margin: 0;
    display: grid;
    gap: .6rem
  }

  .cmp-card dt {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    color: #66736c;
    font-weight: 700
  }

  .cmp-card dd {
    margin: .1rem 0 0;
    font-weight: 600;
    color: var(--c-green);
    padding-inline-start: 1.7rem
  }

  .cmp-card .cmp-btn {
    width: 100%
  }

  .cmp-tabs {
    display: flex;
    width: 100%
  }

  .cmp-tab {
    flex: 1;
    padding: .65rem .5rem;
    font-size: .9rem
  }

  .cmp-panel.hide-economy .cmp-card[data-tier=economy],
  .cmp-panel.hide-standard .cmp-card[data-tier=standard],
  .cmp-panel.hide-deluxe .cmp-card[data-tier=deluxe],
  .cmp-panel.hide-premium .cmp-card[data-tier=premium] {
    display: none
  }
}

@media (min-width:768px) and (max-width:991.98px) {

  .cmp-table th,
  .cmp-table td {
    padding: .8rem .7rem
  }

  .cmp-price {
    font-size: 1.4rem
  }
}