/* ============================================================
   TAXONOMY ARCHIVE PAGES (destination / deal_type / duration)
   Append to end of style.css
   ============================================================ */

/* ── Page wrapper ── */
.sd-dest-page { min-height: 100vh; }

/* ── Hero ── */
.sd-dest-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 20px 60px;
}
.sd-dest-hero-bg { position: absolute; inset: 0; z-index: 0; }
.sd-dest-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sd-dest-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,17,30,.72) 0%, rgba(8,17,30,.55) 60%, rgba(8,17,30,.82) 100%);
}
.sd-dest-hero-content { position: relative; z-index: 2; max-width: 760px; }
.sd-dest-hero-title {
  font-family: var(--disp);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.sd-dest-hero-title em { font-style: italic; color: var(--gold2); }
.sd-dest-hero-sub { font-size: 1rem; color: rgba(255,255,255,.72); max-width: 600px; margin: 0 auto 28px; line-height: 1.7; }

/* Stats row */
.sd-dest-stats { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; margin-top: 8px; }
.sd-dstat { display: flex; flex-direction: column; align-items: center; padding: 0 24px; }
.sd-dstat-num { font-family: var(--disp); font-size: 1.6rem; font-weight: 700; color: var(--gold2); line-height: 1; }
.sd-dstat-lbl { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.48); margin-top: 4px; }
.sd-dstat-sep { width: 1px; height: 36px; background: rgba(255,255,255,.15); }

/* Breadcrumb */
.sd-dest-breadcrumb {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-top: 28px;
  font-size: .72rem; color: rgba(255,255,255,.5);
}
.sd-dest-breadcrumb a { color: rgba(255,255,255,.6); transition: color .18s; }
.sd-dest-breadcrumb a:hover { color: var(--gold2); }
.sd-bc-sep { color: rgba(255,255,255,.3); }

/* ── Region strip (child terms) ── */
.sd-region-strip { background: var(--ink2); padding: 20px 0; border-bottom: 1px solid rgba(200,169,110,.1); }
.sd-rs-inner { display: flex; gap: 10px; overflow-x: auto; padding: 0 24px; scrollbar-width: none; }
.sd-rs-inner::-webkit-scrollbar { display: none; }
.sd-rs-card {
  flex: 0 0 auto;
  background: rgba(200,169,110,.08);
  border: 1px solid rgba(200,169,110,.18);
  border-radius: var(--r2);
  transition: background .2s, border-color .2s;
  min-width: 120px;
}
.sd-rs-card:hover { background: rgba(200,169,110,.18); border-color: var(--gold); }
.sd-rsc-body { display: flex; flex-direction: column; gap: 4px; }
.sd-rsc-name { font-size: .82rem; font-weight: 700; color: var(--gold2); }
.sd-rsc-count { font-size: .68rem; color: rgba(255,255,255,.4); }

/* ── Filter bar ── */
.sd-filter-wrap {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: calc(var(--nav-h) + var(--sub-h) + var(--ubar-h));
  z-index: 800;
  transition: box-shadow .2s;
}
.sd-filter-wrap.stuck { box-shadow: var(--sh2); }

.sd-filter-mob-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
}
.sd-filter-mob-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  font-size: .78rem; font-weight: 700;
  position: relative;
}
.sd-filter-mob-badge {
  position: absolute; top: -5px; right: -5px;
  background: var(--gold); color: var(--ink);
  font-size: .6rem; font-weight: 800;
  border-radius: 50%; width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
}
.sd-mob-result-count { font-size: .78rem; color: var(--text3); margin-left: auto; white-space: nowrap; }
.sd-sort-sel {
  padding: 7px 10px; border: 1px solid var(--border); border-radius: var(--r);
  font-size: .78rem; color: var(--text); background: #fff; cursor: pointer;
}

.sd-filter-panel { display: none; border-top: 1px solid var(--border); }
.sd-filter-panel.open { display: block; }
.sd-filter-inner { display: flex; flex-wrap: wrap; gap: 20px; padding: 18px 20px; align-items: flex-start; }

.sd-filter-group { flex: 0 0 auto; }
.sd-fg-label { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text3); margin-bottom: 8px; }
.sd-fg-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.sd-chip {
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: .76rem; font-weight: 600;
  color: var(--text2);
  background: #fff;
  transition: all .18s;
  cursor: pointer;
}
.sd-chip:hover { border-color: var(--gold); color: var(--gold3); }
.sd-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.sd-filter-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.sd-sort-desktop { min-width: 160px; }
.sd-filter-clear {
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: .76rem; font-weight: 600;
  color: var(--text3);
  transition: all .18s;
}
.sd-filter-clear:hover { border-color: #e05; color: #e05; }

/* Desktop: show filter panel always */
@media (min-width: 768px) {
  .sd-filter-mob-row { display: none; }
  .sd-filter-panel { display: block; border-top: none; }
}

/* ── Results section ── */
.sd-dest-results { padding: 48px 0 72px; }
.sd-results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.sd-results-info { display: flex; align-items: baseline; gap: 6px; }
.sd-results-label { font-size: .8rem; color: var(--text3); }
.sd-results-count { font-family: var(--disp); font-size: 1.4rem; font-weight: 700; color: var(--text); }

/* Active filter tags */
.sd-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sd-af-tag {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: var(--cream2); border: 1px solid var(--cream3);
  border-radius: 50px;
  font-size: .74rem; font-weight: 600; color: var(--text2);
  cursor: pointer; transition: all .18s;
}
.sd-af-tag:hover { background: #fde; border-color: #e05; color: #e05; }

/* ── Deal cards grid ── */
.sd-dcard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

/* Deal card */
.sd-dcard {
  background: #fff;
  border-radius: var(--r3);
  overflow: hidden;
  box-shadow: var(--sh1);
  position: relative;
  transition: transform .28s var(--e), box-shadow .28s var(--e);
  display: flex;
  flex-direction: column;
}
.sd-dcard:hover { transform: translateY(-4px); box-shadow: var(--sh3); }
.sd-dcard-link { position: absolute; inset: 0; z-index: 1; }
.sd-dcard-img { height: 210px; overflow: hidden; flex-shrink: 0; }
.sd-dcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--e); }
.sd-dcard:hover .sd-dcard-img img { transform: scale(1.04); }

.sd-dcard-badges {
  position: absolute; top: 14px; left: 14px;
  display: flex; flex-wrap: wrap; gap: 6px;
  z-index: 2;
}
.sd-dcbadge {
  font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(8,17,30,.7); color: #fff;
  backdrop-filter: blur(4px);
}
.sd-dcbadge--hot { background: rgba(200,100,30,.9); }
.sd-dcbadge--save { background: rgba(30,140,60,.9); }

.sd-dcard-wish {
  position: absolute; top: 12px; right: 12px;
  z-index: 2;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text3);
  transition: all .18s;
}
.sd-dcard-wish:hover { background: #fff; color: #e05; }
.sd-dcard-wish.loved { background: #e05; color: #fff; }

.sd-dcard-pan { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sd-dcard-region { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold3); }
.sd-dcard-title { font-family: var(--disp); font-size: 1.05rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.sd-dcard-title a { color: inherit; }
.sd-dcard-title a:hover { color: var(--gold3); }
.sd-dcard-route { font-size: .74rem; color: var(--text3); display: flex; align-items: center; gap: 5px; }

.sd-dcard-includes { display: flex; flex-wrap: wrap; gap: 5px; }
.sd-inc-tag {
  font-size: .62rem; font-weight: 600;
  padding: 3px 8px;
  background: var(--cream2); border-radius: 5px;
  color: var(--text2);
}

.sd-dcard-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border2); }
.sd-dcard-pricing { display: flex; flex-direction: column; gap: 2px; }
.sd-dcard-was { font-size: .7rem; color: var(--text3); text-decoration: line-through; }
.sd-dcard-price { font-family: var(--disp); font-size: 1.4rem; font-weight: 700; color: var(--ink); line-height: 1; }
.sd-dcard-pp { font-size: .66rem; color: var(--text3); }
.sd-dcard-cta {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 16px;
  background: var(--ink);
  color: var(--gold2);
  border-radius: var(--r);
  font-size: .76rem; font-weight: 700;
  transition: background .18s, color .18s;
  position: relative; z-index: 2;
  white-space: nowrap;
}
.sd-dcard-cta:hover { background: var(--gold); color: var(--ink); }

/* No results */
.sd-no-results {
  grid-column: 1/-1;
  display: grid;
  place-items: center;
  padding: 60px 20px;
  text-align: center;
}
.sd-nr-icon { font-size: 3rem; margin-bottom: 16px; }
.sd-no-results h3 { font-family: var(--disp); font-size: 1.4rem; color: var(--text); margin-bottom: 8px; }
.sd-no-results p { color: var(--text3); font-size: .88rem; }
.sd-link-btn { background: none; border: none; color: var(--gold3); font-weight: 700; cursor: pointer; text-decoration: underline; }

/* ── CTA strip ── */
.sd-dest-cta-strip {
  background: var(--ink2);
  padding: 72px 0;
  border-top: 1px solid rgba(200,169,110,.1);
}
.sd-dcs-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sd-dcs-left { padding-right: 20px; }
.sd-dcs-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.sd-dcs-phone { display: flex; align-items: center; gap: 8px; }
.sd-dcs-ghost {
  display: flex; align-items: center; gap: 6px;
  padding: 13px 24px;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 10px;
  font-size: .84rem; font-weight: 700;
  color: rgba(255,255,255,.7);
  transition: border-color .18s, color .18s;
}
.sd-dcs-ghost:hover { border-color: var(--gold); color: var(--gold2); }
.sd-dcs-badges-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sd-dcs-badge {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(200,169,110,.12);
  border-radius: var(--r2);
  padding: 20px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.sd-dcs-badge-icon { font-size: 1.4rem; }
.sd-dcs-badge-title { font-size: .82rem; font-weight: 700; color: var(--gold2); }
.sd-dcs-badge-sub { font-size: .72rem; color: rgba(255,255,255,.38); }

/* ── Mobile bottom bar ── */
.sd-mob-bottom-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--ink);
  border-top: 1px solid rgba(200,169,110,.15);
  padding: 0;
}
.sd-mbb-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 12px 8px;
  color: rgba(255,255,255,.6);
  font-size: .62rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: color .18s;
  border: none; background: none;
}
.sd-mbb-item:hover { color: var(--gold2); }
.sd-mbb-main { background: var(--gold); color: var(--ink) !important; }
.sd-mbb-icon { font-size: 1.1rem; }

/* ── Tap to top ── */
.tap-top {
  position: fixed; bottom: 80px; right: 20px;
  width: 42px; height: 42px;
  background: var(--ink);
  border: 1.5px solid rgba(200,169,110,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s, visibility .3s;
  z-index: 850; cursor: pointer;
}
.tap-top.top { opacity: 1; visibility: visible; pointer-events: auto; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .sd-dcs-inner { grid-template-columns: 1fr; gap: 40px; }
  .sd-dcs-left { padding-right: 0; }
}
@media (max-width: 640px) {
  .sd-dest-hero { min-height: 340px; padding: 60px 16px 48px; }
  .sd-dcard-grid { grid-template-columns: 1fr; }
  .sd-mob-bottom-bar { display: flex; }
  .sd-dest-results { padding-bottom: 100px; }
  .tap-top { bottom: 90px; }
  .sd-dcs-badges-grid { grid-template-columns: 1fr 1fr; }
}
/* Yoast breadcrumb — single post hero */
.sd-yoast-bc {
  margin-bottom: 12px;
}
.sd-yoast-bc a,
.sd-yoast-bc span {
  font-size: .72rem;
  color: rgb(11 19 31);
  letter-spacing: .04em;
}
.sd-yoast-bc a { transition: color .18s; }
.sd-yoast-bc a:hover { color: var(--gold2); }
/* Yoast wraps in <p> by default */
.sd-yoast-bc p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
/* The separator between crumbs */
.sd-yoast-bc .breadcrumb_last { color: rgba(255,255,255,.85); font-weight: 600; }