/* ==========================================================================
   Nokande Design System
   Layout & component language modelled on the reference airline homepage:
   restrained 8px geometry, hairline borders, medium-weight type, quiet shadows.
   Brand: deep forest green. Typeface: Estedad.
   ========================================================================== */

/* ---------- Estedad ---------- */
@font-face { font-family: "Estedad"; src: url("../fonts/estedad/Estedad-Thin.98565c7a79a8.woff2") format("woff2"); font-weight: 100; font-display: swap; }
@font-face { font-family: "Estedad"; src: url("../fonts/estedad/Estedad-ExtraLight.059050236e12.woff2") format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Estedad"; src: url("../fonts/estedad/Estedad-Light.461dce3e2564.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Estedad"; src: url("../fonts/estedad/Estedad-Regular.459bc71dc27e.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Estedad"; src: url("../fonts/estedad/Estedad-Medium.a39d89490b90.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Estedad"; src: url("../fonts/estedad/Estedad-SemiBold.e93494cd0918.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Estedad"; src: url("../fonts/estedad/Estedad-Bold.5d83b5481692.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Estedad"; src: url("../fonts/estedad/Estedad-ExtraBold.5eee214b5cd7.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Estedad"; src: url("../fonts/estedad/Estedad-Black.abe68be05d18.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --nk-primary: #0E5A43;
  --nk-primary-hover: #08382C;
  --nk-dark: #08382C;
  --nk-emerald: #2FAE7A;
  --nk-gold: #D8B36A;
  --nk-tint: #EDF4F0;           /* soft green surface */
  --nk-ink: #16201B;            /* body text */
  --nk-ink-2: #4A524E;          /* secondary text */
  --nk-muted: #6D7671;          /* labels */
  --nk-line: #D3D9D4;           /* hairline borders */
  --nk-line-2: #E3E7E2;
  --nk-bg: #F3F5F2;             /* soft light */
  --nk-surface: #E9EDE8;        /* inactive tabs, footer */
  --nk-sea: #2B6474;
  --nk-ochre: #A8781F;
  --nk-rule: rgba(22, 32, 27, .14);
  --nk-card: #FFFFFF;
  --nk-r-sm: 4px;
  --nk-r: 8px;
  --nk-r-lg: 16px;
  --nk-shadow: 0 4px 12px rgba(0, 0, 0, .10);
  --nk-shadow-sm: 1px 1px 10px rgba(0, 0, 0, .06);
  --nk-ease: cubic-bezier(.25, .8, .25, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Estedad", Tahoma, system-ui, sans-serif;
  background: var(--nk-bg);
  color: var(--nk-ink);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--nk-primary); color: #fff; }
[x-cloak] { display: none !important; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.nk-container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .nk-container { padding-inline: 24px; } }

/* ---------- Typography ---------- */
.nk-h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.3; font-weight: 500; letter-spacing: -.005em; }
.nk-h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.4; font-weight: 500; color: var(--nk-ink); }
.nk-h3 { font-size: 1.25rem; line-height: 1.6; font-weight: 500; }
.nk-lead { font-size: 1rem; line-height: 1.9; color: var(--nk-ink-2); }
.nk-eyebrow { display: inline-block; font-size: .875rem; font-weight: 500; color: var(--nk-primary); }
.nk-prose p { line-height: 2; margin-bottom: 1rem; color: var(--nk-ink-2); }
.nk-section { margin-top: 72px; }
@media (min-width: 1024px) { .nk-section { margin-top: 96px; } }
.nk-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.nk-section-head p { margin-top: 4px; color: var(--nk-ink-2); }

/* Text link with chevron — the reference's "Find out more ›" */
.nk-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--nk-primary); }
.nk-link svg { width: 16px; height: 16px; transition: transform .25s var(--nk-ease); }
.nk-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.nk-link:hover svg { transform: translateX(-3px); }

/* ---------- Header ---------- */
.nk-topbar { background: var(--nk-surface); font-size: 13px; color: var(--nk-ink-2); }
.nk-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--nk-line-2); transition: box-shadow .3s; }
.nk-header.is-scrolled { box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.nk-nav-link { position: relative; display: inline-flex; align-items: center; height: 72px; padding: 0 2px; font-size: 15px; white-space: nowrap; font-weight: 400; color: var(--nk-ink); }
.nk-nav-link::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--nk-primary); transform: scaleX(0); transition: transform .3s var(--nk-ease); }
.nk-nav-link:hover::after, .nk-nav-link.is-active::after { transform: scaleX(1); }
.nk-nav-link.is-active { font-weight: 500; }
.nk-icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: var(--nk-ink); transition: background .2s; }
.nk-icon-btn:hover { background: var(--nk-surface); }

/* ---------- Buttons ---------- */
.nk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: var(--nk-r); border: 1px solid transparent;
  font: inherit; font-size: 1rem; font-weight: 500; white-space: nowrap; cursor: pointer;
  background: var(--nk-primary); color: #fff; transition: background .2s, color .2s, border-color .2s;
}
.nk-btn:hover { background: var(--nk-primary-hover); }
.nk-btn:focus-visible { outline: 2px solid var(--nk-ink); outline-offset: 2px; }
.nk-btn[disabled], .nk-btn.is-disabled { opacity: .45; pointer-events: none; }
.nk-btn-ghost { background: #fff; color: var(--nk-primary); border-color: var(--nk-primary); }
.nk-btn-ghost:hover { background: var(--nk-tint); }
.nk-btn-white { background: #fff; color: var(--nk-ink); }
.nk-btn-white:hover { background: var(--nk-surface); }
.nk-btn-gold { background: var(--nk-gold); color: var(--nk-dark); }
.nk-btn-gold:hover { background: #c9a358; }
.nk-btn-danger { background: #B42318; }
.nk-btn-danger:hover { background: #8f1c13; }
.nk-btn-sm { height: 40px; padding: 0 16px; font-size: .9rem; }
.nk-btn-xl { height: 56px; padding: 0 32px; }

/* ---------- Fields (48px, hairline border, 8px) ---------- */
.nk-input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: var(--nk-r);
  background: #fff; border: 1px solid var(--nk-line); color: var(--nk-ink); font: inherit; font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.nk-input::placeholder { color: #9AA29E; }
.nk-input:hover { border-color: #A9B0AC; }
.nk-input:focus { outline: none; border-color: var(--nk-ink); box-shadow: 0 0 0 1px var(--nk-ink); }
.nk-textarea { height: auto; padding: 12px 14px; line-height: 1.9; }
.nk-select {
  appearance: none; -webkit-appearance: none; padding-inline-start: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A524E' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 16px; background-position: left 12px center;
}
.nk-file { width: 100%; font-size: .9rem; }
.nk-file::file-selector-button { margin-inline-end: 12px; height: 40px; padding: 0 16px; border: 1px solid var(--nk-line); border-radius: var(--nk-r); background: #fff; color: var(--nk-ink); font: inherit; cursor: pointer; }
.nk-check { width: 18px; height: 18px; accent-color: var(--nk-primary); }
.nk-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--nk-ink-2); }
.nk-field-error, .errorlist { margin-top: 6px; font-size: 13px; color: #B42318; }

/* Floating-label field (booking panel, newsletter) */
.nk-float { position: relative; display: block; height: 56px; border: 1px solid var(--nk-line); border-radius: var(--nk-r); background: #fff; transition: border-color .15s, box-shadow .15s; }
.nk-float:hover { border-color: #A9B0AC; }
.nk-float:focus-within { border-color: var(--nk-ink); box-shadow: 0 0 0 1px var(--nk-ink); }
.nk-float > span { position: absolute; inset-inline-start: 14px; top: 7px; font-size: 12px; color: var(--nk-muted); pointer-events: none; }
.nk-float input, .nk-float select {
  position: absolute; inset: 0; width: 100%; padding: 22px 14px 6px; border: 0; background: transparent;
  font: inherit; font-size: 15px; font-weight: 500; color: var(--nk-ink); outline: none; appearance: none; -webkit-appearance: none;
}
.nk-float select { padding-inline-start: 36px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A524E' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 12px center / 16px; }
.nk-float .nk-float-icon { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); color: var(--nk-muted); pointer-events: none; }

/* ---------- Booking panel (tabbed, equal columns, 56px tabs) ---------- */
.nk-booking { position: relative; background: #fff; border-radius: var(--nk-r-lg); box-shadow: var(--nk-shadow); }
.nk-booking-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--nk-surface); border-radius: var(--nk-r-lg) var(--nk-r-lg) 0 0; overflow: hidden; }
.nk-booking-tab {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 8px;
  font-size: 15px; color: var(--nk-ink); background: transparent; border: 0; cursor: pointer; position: relative;
}
.nk-booking-tab:hover { background: #E7EAE7; }
.nk-booking-tab.is-active { background: #fff; font-weight: 500; }
.nk-booking-tab.is-active::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; background: var(--nk-primary); }
.nk-booking-body { padding: 20px; }
@media (min-width: 1024px) { .nk-booking-body { padding: 24px 28px 28px; } }

/* ---------- Surfaces & cards ---------- */
.nk-card { background: var(--nk-card); border-radius: var(--nk-r); padding: 24px; box-shadow: var(--nk-shadow-sm); }
.nk-card-flat { background: var(--nk-card); border-radius: var(--nk-r); border: 1px solid var(--nk-line-2); }
.nk-lift { transition: box-shadow .3s var(--nk-ease); }
.nk-lift:hover { box-shadow: var(--nk-shadow); }
.nk-media { position: relative; overflow: hidden; border-radius: var(--nk-r); background: var(--nk-surface); }
.nk-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--nk-ease); }
.group:hover .nk-media img, a.nk-media:hover img { transform: scale(1.04); }

/* Destination/price card — the reference's "Places we think you'll love" tile */
.nk-tile { display: flex; flex-direction: column; background: #fff; border-radius: var(--nk-r); overflow: hidden; box-shadow: var(--nk-shadow-sm); transition: box-shadow .3s var(--nk-ease); height: 100%; }
.nk-tile:hover { box-shadow: var(--nk-shadow); }
.nk-tile .nk-media { border-radius: 0; }
.nk-tile-body { display: flex; flex-direction: column; gap: 2px; padding: 16px 16px 18px; flex: 1; }
.nk-tile-title { font-size: 1.05rem; font-weight: 500; line-height: 1.7; }
.nk-tile-meta { font-size: 13px; color: var(--nk-muted); }
.nk-price { margin-top: auto; padding-top: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.nk-price small { font-size: 12px; color: var(--nk-muted); display: block; }
.nk-price strong { font-size: 1.15rem; font-weight: 600; color: var(--nk-ink); }
.nk-price strong span { font-size: 12px; font-weight: 400; color: var(--nk-muted); }

/* Small labels on media */
.nk-chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: var(--nk-r-sm); font-size: 12px; font-weight: 500; background: #fff; color: var(--nk-ink); }
.nk-fav { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: #fff; color: var(--nk-ink); box-shadow: var(--nk-shadow-sm); transition: color .2s; }
.nk-fav:hover { color: #C0392B; }
.nk-fav.is-active { color: #C0392B; }
.nk-fav.is-active svg { fill: currentColor; }

/* Filter tabs — underline style */
.nk-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 400; border: 1px solid var(--nk-line); background: #fff; color: var(--nk-ink); transition: border-color .2s, background .2s;
}
.nk-pill:hover { border-color: var(--nk-ink); }
.nk-pill.is-active { background: var(--nk-ink); border-color: var(--nk-ink); color: #fff; }
.nk-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--nk-line); overflow-x: auto; scrollbar-width: none; }
.nk-tabs::-webkit-scrollbar { display: none; }
.nk-tabs a, .nk-tabs button { position: relative; padding: 12px 0; font-size: 15px; color: var(--nk-ink-2); white-space: nowrap; background: none; border: 0; cursor: pointer; }
.nk-tabs a:hover, .nk-tabs button:hover { color: var(--nk-ink); }
.nk-tabs .is-active { color: var(--nk-ink); font-weight: 500; }
.nk-tabs .is-active::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 3px; background: var(--nk-primary); }

.nk-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: var(--nk-r-sm); font-size: 12px; font-weight: 500; }
.nk-badge-green { background: #E3F1EA; color: #0B5A41; }
.nk-badge-gold { background: #FBF1DC; color: #7A5A12; }
.nk-badge-red { background: #FCE8E6; color: #A1261A; }
.nk-badge-gray { background: var(--nk-surface); color: var(--nk-ink-2); }
.nk-badge-blue { background: #E6EFFA; color: #1B5A9E; }

/* ---------- Hero ---------- */
.nk-hero { position: relative; height: clamp(420px, 62vh, 600px); overflow: hidden; background: var(--nk-dark); }
.nk-hero-media { position: absolute; inset: 0; }
.nk-hero-media video, .nk-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.nk-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 45%); }

/* ---------- Carousel (scroll-snap) ---------- */
.nk-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.nk-scroller::-webkit-scrollbar { display: none; }
.nk-scroller > * { scroll-snap-align: start; }
@media (min-width: 640px) { .nk-scroller { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (min-width: 1024px) { .nk-scroller { grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; } }
.nk-scroller.is-3 { }
@media (min-width: 1024px) { .nk-scroller.is-3 { grid-auto-columns: calc((100% - 2 * 20px) / 3); } }
.nk-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--nk-line); background: #fff; color: var(--nk-ink); transition: border-color .2s; }
.nk-arrow:hover { border-color: var(--nk-ink); }

/* Feature carousel (full-bleed, tabbed) */
.nk-feature { position: relative; height: clamp(460px, 70vh, 620px); overflow: hidden; background: var(--nk-dark); }
.nk-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nk-feature-caption { position: absolute; bottom: 32px; inset-inline-start: 16px; inset-inline-end: 16px; max-width: 460px; background: #fff; border-radius: var(--nk-r); padding: 28px; box-shadow: var(--nk-shadow); }
@media (min-width: 1024px) { .nk-feature-caption { bottom: 56px; inset-inline-start: max(24px, calc((100vw - 1240px) / 2 + 24px)); } }

/* Content strip (horizontal package cards) */
.nk-strip { display: flex; align-items: stretch; background: #fff; border-radius: var(--nk-r); overflow: hidden; box-shadow: var(--nk-shadow-sm); transition: box-shadow .3s; min-height: 120px; }
.nk-strip:hover { box-shadow: var(--nk-shadow); }
.nk-strip .nk-media { width: 40%; flex-shrink: 0; border-radius: 0; }
.nk-strip-body { padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }

/* Newsletter band */
.nk-newsletter { position: relative; overflow: hidden; border-radius: var(--nk-r-lg); min-height: 360px; display: flex; align-items: center; }
.nk-newsletter > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nk-newsletter-panel { position: relative; margin: 24px; max-width: 560px; background: #fff; border-radius: var(--nk-r); padding: 28px; box-shadow: var(--nk-shadow); }
@media (min-width: 1024px) { .nk-newsletter-panel { margin-inline-start: 56px; padding: 36px; } }

/* ---------- Footer ---------- */
.nk-footer { position: relative; background: var(--nk-surface); color: var(--nk-ink); margin-top: 96px; }
.nk-footer-wave { position: absolute; top: -39px; inset-inline: 0; width: 100%; height: 40px; display: block; color: var(--nk-surface); }
.nk-footer h2 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.nk-footer li a { font-size: 14px; color: var(--nk-ink-2); line-height: 2.3; }
.nk-footer li a:hover { color: var(--nk-primary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Calendar ---------- */
.nk-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.nk-cal-day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: var(--nk-r-sm); font-size: 14px; font-weight: 500; border: 1px solid transparent; }
.nk-cal-day.free { background: #E3F1EA; color: #0B5A41; }
.nk-cal-day.partial { background: #FBEBD3; color: #8A4B06; }
.nk-cal-day.full { background: #FCE8E6; color: #A1261A; }
.nk-cal-day.past { background: #F3F4F3; color: #B5BCB8; }
.nk-cal-day.is-holiday::after { content: ""; position: absolute; top: 5px; inset-inline-end: 5px; width: 5px; height: 5px; border-radius: 99px; background: #C0392B; }
.nk-cal-day small { font-size: 10px; font-weight: 400; opacity: .85; }
button.nk-cal-day:hover:not([disabled]) { border-color: var(--nk-ink); }

/* ---------- Tables ---------- */
.nk-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nk-table th { text-align: start; font-weight: 500; color: var(--nk-muted); font-size: 13px; padding: 12px 16px; background: #FAFBFA; border-bottom: 1px solid var(--nk-line-2); white-space: nowrap; }
.nk-table td { padding: 14px 16px; border-bottom: 1px solid var(--nk-line-2); vertical-align: middle; }
.nk-table tr:last-child td { border-bottom: 0; }
.nk-table tbody tr:hover { background: #FAFBFA; }

/* ---------- Dashboard ---------- */
.nk-side-link { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border-radius: var(--nk-r); font-size: 15px; color: var(--nk-ink-2); transition: background .2s, color .2s; }
.nk-side-link:hover { background: var(--nk-surface); color: var(--nk-ink); }
.nk-side-link.is-active { background: var(--nk-tint); color: var(--nk-primary); font-weight: 500; }
.nk-stat { position: relative; }

/* ---------- Leaflet ---------- */
.leaflet-container { font-family: inherit !important; }
.leaflet-popup-content-wrapper { border-radius: var(--nk-r) !important; box-shadow: var(--nk-shadow) !important; }
.leaflet-popup-content { margin: 12px 14px !important; font-size: 14px; line-height: 1.8; }
.nk-marker { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px 999px 999px 2px; transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(0, 0, 0, .3); border: 2px solid #fff; }
.nk-marker span { transform: rotate(45deg); color: #fff; font-size: 13px; }

/* ---------- Toasts ---------- */
.nk-toast { border-radius: var(--nk-r); padding: 14px 16px; box-shadow: var(--nk-shadow); font-size: 15px; }

/* ---------- Signature pad ---------- */
.nk-sign { touch-action: none; background: #fff; border-radius: var(--nk-r); border: 1px dashed #A9B0AC; cursor: crosshair; }

/* ---------- Motion (subtle) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.htmx-request .nk-when-loading { display: inline-flex; }
.nk-when-loading { display: none; }

/* ==========================================================================
   Destination cards — bento grid modelled on the reference's
   "Places we think you'll love". The authored moment: on hover/focus the card
   opens — photo drifts, veil deepens, title rises, actions unfold.
   ========================================================================== */
.nk-dest-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .nk-dest-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .nk-dest-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
@media (min-width: 1024px) { .nk-dest.is-wide { grid-column: span 2; } }
@media (min-width: 640px) and (max-width: 1023px) { .nk-dest.is-wide { grid-column: span 2; } }

.nk-dest {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  position: relative; isolation: isolate; overflow: hidden;
  height: 380px; border-radius: 24px; background: var(--nk-dark); color: #fff;
  box-shadow: 0 2px 6px rgba(8, 20, 15, .08);
  transition: box-shadow .5s var(--ease-out);
}
@media (min-width: 1024px) { .nk-dest { height: 428px; } }
.nk-dest > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transform: scale(1.001); transition: transform 1.4s var(--ease-out), filter .6s var(--ease-out);
}
/* Two stacked veils: the resting bottom fade, and the full dim the card opens into. */
.nk-dest::before, .nk-dest::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.nk-dest::before { background: linear-gradient(0deg, rgba(10, 18, 14, .78) 0%, rgba(10, 18, 14, .35) 34%, rgba(10, 18, 14, 0) 58%); }
.nk-dest::after { background: linear-gradient(0deg, rgba(10, 18, 14, .72), rgba(10, 18, 14, .38)); opacity: 0; transition: opacity .5s var(--ease-out); }

.nk-dest-body { position: absolute; inset-inline: 0; bottom: 0; padding: 20px 22px 22px; transition: transform .6s var(--ease-out); }
.nk-dest-title { font-size: 1.15rem; font-weight: 500; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nk-dest.is-wide .nk-dest-title { font-size: 1.35rem; }
/* The whole card is the link target; nested controls stay above it. */
.nk-dest-hit::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.nk-dest-hit:focus-visible { outline: none; }
.nk-dest:has(.nk-dest-hit:focus-visible) { outline: 3px solid #fff; outline-offset: -6px; }
.nk-dest-meta { margin-top: 2px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
@media (min-width: 640px) { .nk-dest.is-wide .nk-dest-meta { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; } }
.nk-dest-sub { font-size: 12.5px; color: rgba(255, 255, 255, .82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nk-dest-price { font-size: 15px; font-weight: 600; white-space: nowrap; }
.nk-dest-price small { font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, .8); }

/* Actions unfold with a 0fr → 1fr grid-row reveal (no height animation). */
.nk-dest-actions { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.nk-dest-actions-inner { min-height: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.nk-dest-book, .nk-dest-discover { position: relative; z-index: 1; opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .55s var(--ease-out), background .2s; }
.nk-dest-book {
  margin-top: 16px; width: 100%; max-width: 600px; height: 48px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--nk-primary); color: #fff; font-size: 15px; font-weight: 500;
}
.nk-dest-book:hover { background: #0B4B38; }
.nk-dest-book:focus-visible, .nk-dest-discover:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.nk-dest-discover { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; margin-bottom: 2px; }
.nk-dest-fav { position: absolute; top: 16px; inset-inline-end: 16px; z-index: 2; opacity: 0; transform: translateY(-6px); transition: opacity .35s ease, transform .5s var(--ease-out); }

/* Open state: pointer hover or keyboard focus anywhere in the card. */
.nk-dest:hover, .nk-dest:focus-within { box-shadow: 0 18px 40px -18px rgba(8, 20, 15, .55); }
.nk-dest:hover > img, .nk-dest:focus-within > img { transform: scale(1.06); }
.nk-dest:hover::after, .nk-dest:focus-within::after { opacity: 1; }
.nk-dest:hover .nk-dest-actions, .nk-dest:focus-within .nk-dest-actions { grid-template-rows: 1fr; }
.nk-dest:hover .nk-dest-book, .nk-dest:focus-within .nk-dest-book,
.nk-dest:hover .nk-dest-discover, .nk-dest:focus-within .nk-dest-discover { opacity: 1; transform: none; }
.nk-dest:hover .nk-dest-discover, .nk-dest:focus-within .nk-dest-discover { transition-delay: .06s; }
.nk-dest:hover .nk-dest-fav, .nk-dest:focus-within .nk-dest-fav { opacity: 1; transform: none; }

/* Touch: no hover to discover it, so the favourite is always reachable and the card links through. */
@media (hover: none) {
  .nk-dest-fav { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nk-dest > img, .nk-dest-body, .nk-dest-book, .nk-dest-discover, .nk-dest-fav { transition-property: opacity; transform: none !important; }
  .nk-dest-actions { transition: none; }
}

/* ---------- Browser surfaces ---------- */
html { scrollbar-color: #B9C1BC transparent; scrollbar-width: thin; accent-color: var(--nk-primary); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #C4CBC7; border-radius: 99px; border: 2px solid var(--nk-bg); }
::-webkit-scrollbar-thumb:hover { background: #9FA8A3; }
input, textarea { caret-color: var(--nk-primary); }
:focus-visible { outline: 2px solid var(--nk-ink); outline-offset: 2px; }
.nk-table td, .nk-cal-day { font-variant-numeric: tabular-nums; }

/* Badges overlay icon buttons instead of occupying a grid cell (keeps icons aligned). */
#cart-badge { position: absolute; inset: 0; pointer-events: none; }
