/* ==========================================================================
   WOW Hotels — modern front-end theme
   Loaded after assets/style.css. All new components use the `wh-` prefix so
   they never collide with the legacy styles still used by inner pages.
   Note: legacy CSS sets html { font-size: 62.5% }, so sizes here are in px.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --wh-yellow: #FFD200;
  --wh-yellow-600: #F0C000;
  --wh-yellow-50: #FFF9DB;
  --wh-ink: #111318;
  --wh-ink-2: #2B2F38;
  --wh-muted: #6B7280;
  --wh-line: #E9E9EE;
  --wh-bg: #FAFAF7;
  --wh-surface: #FFFFFF;
  --wh-success: #16A34A;
  --wh-radius: 18px;
  --wh-radius-sm: 12px;
  --wh-shadow-sm: 0 1px 2px rgba(17, 19, 24, .06), 0 2px 8px rgba(17, 19, 24, .04);
  --wh-shadow: 0 10px 30px -12px rgba(17, 19, 24, .18), 0 4px 10px -6px rgba(17, 19, 24, .08);
  --wh-shadow-lg: 0 30px 60px -20px rgba(17, 19, 24, .35);
  --wh-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wh-header-h: 72px;
}

body {
  font-family: var(--wh-font);
  background: var(--wh-bg);
  color: var(--wh-ink);
  -webkit-font-smoothing: antialiased;
}

.wh-page { font-size: 16px; line-height: 1.55; }
.wh-page h1, .wh-page h2, .wh-page h3, .wh-page h4 { font-family: var(--wh-font); color: var(--wh-ink); letter-spacing: -.02em; margin: 0; }
.wh-page p { margin: 0; }
.wh-page .container { max-width: 1240px; padding-left: 20px; padding-right: 20px; }

/* ---------- Buttons ---------- */
.wh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 700 15px/1 var(--wh-font); cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.wh-btn:active { transform: translateY(1px); }
.wh-btn:disabled, .wh-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.wh-btn--primary { background: var(--wh-yellow); color: var(--wh-ink) !important; box-shadow: 0 8px 20px -8px rgba(240, 192, 0, .9); }
.wh-btn--primary:hover { background: var(--wh-yellow-600); }
.wh-btn--dark { background: var(--wh-ink); color: #fff !important; }
.wh-btn--dark:hover { background: #000; }
.wh-btn--ghost { background: transparent; color: var(--wh-ink) !important; border: 1.5px solid var(--wh-line); }
.wh-btn--ghost:hover { border-color: var(--wh-ink); }
.wh-btn--sm { height: 38px; padding: 0 16px; font-size: 13.5px; }

.wh-icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--wh-line);
  background: var(--wh-surface); color: var(--wh-ink) !important;
  display: inline-flex; align-items: center; justify-content: center; font-size: 17px;
  cursor: pointer; transition: background-color .2s, border-color .2s;
}
.wh-icon-btn:hover { background: var(--wh-yellow-50); border-color: var(--wh-yellow); }

/* ---------- Header ---------- */
.wh-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.wh-header.is-scrolled { border-bottom-color: var(--wh-line); box-shadow: var(--wh-shadow-sm); }
.wh-header__inner { height: var(--wh-header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wh-header__left, .wh-header__right { display: flex; align-items: center; gap: 12px; }
.wh-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--wh-ink) !important; }
.wh-brand img { width: 46px; height: 46px; border-radius: 50%; }
.wh-brand span { font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.wh-nav { display: flex; gap: 6px; }
.wh-nav a {
  font-weight: 600; font-size: 15px; color: var(--wh-ink-2) !important;
  padding: 8px 14px; border-radius: 999px; transition: background-color .2s;
}
.wh-nav a:hover, .wh-nav a.is-active { background: var(--wh-yellow-50); color: var(--wh-ink) !important; }
.wh-wallet {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  border-radius: 999px; background: var(--wh-ink); color: #fff; font-weight: 700; font-size: 14.5px;
}
.wh-wallet i { color: var(--wh-yellow); }

/* ---------- Drawer (Bootstrap offcanvas) ---------- */
.wh-drawer.offcanvas { width: 360px; max-width: 88vw; border: 0 !important; background: var(--wh-bg); font-family: var(--wh-font); }
.wh-drawer__profile {
  margin: 16px; padding: 18px; border-radius: var(--wh-radius);
  background: linear-gradient(135deg, var(--wh-yellow) 0%, #FFE45C 100%);
  display: flex; align-items: center; gap: 14px; position: relative;
}
.wh-drawer__profile img { width: 54px; height: 54px; border-radius: 50%; }
.wh-drawer__profile h4 { font-size: 18px; font-weight: 800; margin: 0; color: var(--wh-ink); }
.wh-drawer__profile small { display: block; font-size: 13px; color: var(--wh-ink-2); font-weight: 500; }
.wh-drawer__close {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: rgba(17, 19, 24, .08); color: var(--wh-ink); font-size: 14px;
}
.wh-drawer__body { padding: 0 16px 16px; overflow-y: auto; flex: 1; }
.wh-drawer__quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.wh-drawer__quick a {
  background: var(--wh-surface); border: 1px solid var(--wh-line); border-radius: var(--wh-radius-sm);
  padding: 14px 6px; text-align: center; color: var(--wh-ink) !important; font-size: 13px; font-weight: 600;
  transition: border-color .2s, transform .15s; cursor: pointer;
}
.wh-drawer__quick a:hover { border-color: var(--wh-yellow); transform: translateY(-1px); }
.wh-drawer__quick i { display: block; font-size: 20px; margin-bottom: 6px; }
.wh-drawer__group { margin-bottom: 18px; }
.wh-drawer__label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wh-muted); margin: 0 6px 8px; }
.wh-drawer__list { background: var(--wh-surface); border: 1px solid var(--wh-line); border-radius: var(--wh-radius-sm); overflow: hidden; padding: 0; margin: 0; }
.wh-drawer__list a {
  display: flex; align-items: center; gap: 14px; padding: 13px 16px; color: var(--wh-ink) !important;
  font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .15s;
}
.wh-drawer__list li + li a { border-top: 1px solid var(--wh-line); }
.wh-drawer__list a:hover { background: var(--wh-yellow-50); }
.wh-drawer__list a > i:first-child { width: 20px; text-align: center; color: var(--wh-ink-2); }
.wh-drawer__list a > span { flex: 1; }
.wh-drawer__list a > i:last-child { font-size: 12px; color: var(--wh-muted); }
.wh-drawer__footer { padding: 14px 22px; display: flex; justify-content: space-between; font-size: 12.5px; color: var(--wh-muted); border-top: 1px solid var(--wh-line); }

/* ---------- Hero ---------- */
.wh-hero { position: relative; min-height: 520px; display: flex; align-items: center; padding: 72px 0 88px; color: #fff; overflow: hidden; }
.wh-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.wh-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 18, .35) 0%, rgba(10, 12, 18, .55) 55%, rgba(10, 12, 18, .8) 100%);
}
.wh-hero .container { position: relative; z-index: 1; }
.wh-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px); font-size: 13.5px; font-weight: 600; color: #fff; margin-bottom: 18px;
}
.wh-eyebrow i { color: var(--wh-yellow); }
.wh-hero h1 { color: #fff !important; font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; line-height: 1.05; max-width: 760px; letter-spacing: -.035em; }
.wh-hero h1 .wh-highlight { color: var(--wh-yellow); }
.wh-hero__lead { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .85); max-width: 560px; margin-top: 16px !important; }

/* Search card */
.wh-search {
  margin-top: 32px; background: var(--wh-surface); border-radius: 22px; padding: 10px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr .9fr auto; gap: 4px; box-shadow: var(--wh-shadow-lg); max-width: 1040px;
}
.wh-search__field { display: flex; flex-direction: column; justify-content: center; padding: 8px 16px; border-radius: 14px; transition: background-color .15s; position: relative; }
.wh-search__field:hover, .wh-search__field:focus-within { background: #F5F5F2; }
.wh-search__field + .wh-search__field::before { content: ''; position: absolute; left: -2px; top: 22%; bottom: 22%; width: 1px; background: var(--wh-line); }
.wh-search__field label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--wh-muted); margin: 0 0 2px; }
.wh-search__field input, .wh-search__field select {
  border: 0; outline: 0; background: transparent; padding: 0; width: 100%;
  font: 600 16px/1.4 var(--wh-font); color: var(--wh-ink); appearance: none; -webkit-appearance: none;
}
.wh-search__field input::placeholder { color: #9CA3AF; font-weight: 500; }
.wh-search .wh-btn { height: auto; min-height: 58px; border-radius: 14px; padding: 0 28px; font-size: 16px; }

/* ---------- Categories (overlap hero) ---------- */
.wh-categories { position: relative; z-index: 2; margin-top: -84px; }
.wh-cat-card { background: var(--wh-surface); border-radius: 24px; padding: 18px; box-shadow: var(--wh-shadow); }
.wh-cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.wh-cat {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 8px 14px;
  border-radius: 16px; color: var(--wh-ink) !important; cursor: pointer; position: relative;
  transition: background-color .2s, transform .2s;
}
.wh-cat:hover { background: var(--wh-yellow-50); transform: translateY(-2px); }
.wh-cat__img { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--wh-line); transition: box-shadow .2s; }
.wh-cat:hover .wh-cat__img, .wh-cat.is-active .wh-cat__img { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--wh-yellow); }
.wh-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.wh-cat__label { font-weight: 700; font-size: 14.5px; text-align: center; line-height: 1.2; }
.wh-cat__badge {
  position: absolute; top: 6px; right: 10px; font-size: 10px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; padding: 3px 7px; border-radius: 999px; background: var(--wh-ink); color: #fff;
}

/* ---------- Sections ---------- */
.wh-section { padding: 72px 0 0; }
.wh-section:last-of-type { padding-bottom: 72px; }
.wh-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.wh-section__head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.wh-section__head p { color: var(--wh-muted); margin-top: 6px !important; font-size: 16px; }
.wh-link { font-weight: 700; font-size: 15px; color: var(--wh-ink) !important; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.wh-link i { transition: transform .2s; }
.wh-link:hover i { transform: translateX(3px); }

/* Horizontal scroller */
.wh-scroller {
  display: grid; grid-auto-flow: column; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 18px; margin: -4px -4px 0; scrollbar-width: thin;
}
.wh-scroller > * { scroll-snap-align: start; }
.wh-scroller--dest { grid-auto-columns: minmax(220px, 1fr); }
.wh-scroller--hotels { grid-auto-columns: minmax(290px, calc((100% - 40px) / 3)); }

/* Destination card */
.wh-dest {
  position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--wh-radius); overflow: hidden;
  color: #fff !important; box-shadow: var(--wh-shadow-sm);
}
.wh-dest img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.wh-dest:hover img { transform: scale(1.06); }
.wh-dest::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 12, 18, .78) 100%); }
.wh-dest__text { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.wh-dest__text strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.wh-dest__text span { font-size: 13.5px; opacity: .85; display: inline-flex; align-items: center; gap: 6px; }

/* Hotel card */
.wh-hotel {
  background: var(--wh-surface); border-radius: var(--wh-radius); overflow: hidden; border: 1px solid var(--wh-line);
  display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; position: relative;
}
.wh-hotel:hover { box-shadow: var(--wh-shadow); transform: translateY(-3px); }
.wh-hotel__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; display: block; background: #EEEEE8; }
.wh-hotel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.wh-hotel:hover .wh-hotel__media img { transform: scale(1.05); }
.wh-rating {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255, 255, 255, .95); color: var(--wh-ink); font-weight: 800; font-size: 13px;
  padding: 5px 10px; border-radius: 999px;
}
.wh-rating i { color: #F5A400; font-size: 12px; }
.wh-share {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: #25D366 !important; display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
}
.wh-hotel__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.wh-hotel__body h3 { font-size: 17.5px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.wh-hotel__loc { font-size: 14px; color: var(--wh-muted); display: flex; align-items: center; gap: 6px; }
.wh-hotel__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.wh-price small { display: block; font-size: 12px; color: var(--wh-muted); font-weight: 500; }
.wh-price strong { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.wh-price strong span { font-size: 13px; color: var(--wh-muted); font-weight: 500; }

/* Pills (Bootstrap tabs restyled) */
.wh-pills { display: inline-flex; padding: 4px; border-radius: 999px; background: #EFEFEA; border: 0 !important; gap: 2px; }
.wh-pills .nav-link {
  border: 0 !important; border-radius: 999px !important; padding: 8px 18px; font: 700 14px/1.2 var(--wh-font);
  color: var(--wh-ink-2) !important; background: transparent;
}
.wh-pills .nav-link.active { background: var(--wh-surface) !important; color: var(--wh-ink) !important; box-shadow: var(--wh-shadow-sm); }

/* Empty state */
.wh-empty {
  border: 1.5px dashed #DADAD3; border-radius: var(--wh-radius); padding: 44px 24px; text-align: center; background: var(--wh-surface);
}
.wh-empty i { font-size: 30px; color: var(--wh-yellow-600); margin-bottom: 12px; }
.wh-empty h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px !important; }
.wh-empty p { color: var(--wh-muted); font-size: 15px; }

/* Why WOW */
.wh-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.wh-feature { background: var(--wh-surface); border: 1px solid var(--wh-line); border-radius: var(--wh-radius); padding: 26px 22px; }
.wh-feature__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--wh-yellow-50); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.wh-feature__icon img { width: 32px; height: 32px; }
.wh-feature h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px !important; }
.wh-feature p { font-size: 14.5px; color: var(--wh-muted); }

/* App CTA */
.wh-cta {
  border-radius: 28px; background: var(--wh-ink); color: #fff; padding: 48px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 32px;
}
.wh-cta::before {
  content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 0, .55) 0%, rgba(255, 210, 0, 0) 70%);
}
.wh-cta h2 { color: #fff !important; font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; line-height: 1.1; }
.wh-cta h2 span { color: var(--wh-yellow); }
.wh-cta p { color: rgba(255, 255, 255, .75); margin-top: 12px !important; font-size: 16px; max-width: 480px; }
.wh-cta__perks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding: 0; }
.wh-cta__perks li { font-size: 13.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.wh-cta__perks li i { color: var(--wh-yellow); margin-right: 6px; }
.wh-cta__actions { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-self: end; }
.wh-cta__actions img { height: 56px; width: auto; }
.wh-cta__logo { width: 92px; height: 92px; border-radius: 24px; background: var(--wh-yellow); display: flex; align-items: center; justify-content: center; }
.wh-cta__logo img { width: 72px; height: 72px; border-radius: 50%; }

/* ---------- Footer ---------- */
.wh-footer { background: #0C0D11; color: rgba(255, 255, 255, .7); font-size: 15px; padding: 64px 0 0; margin-top: 0; }
.wh-footer .container { max-width: 1240px; padding-left: 20px; padding-right: 20px; }
.wh-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.wh-footer__brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.wh-footer__brand img { width: 50px; height: 50px; border-radius: 50%; }
.wh-footer p { color: rgba(255, 255, 255, .6); max-width: 320px; font-size: 14.5px; margin: 0; }
.wh-footer h4 { color: #fff; font: 700 13px/1 var(--wh-font); text-transform: uppercase; letter-spacing: .08em; margin: 6px 0 18px; }
.wh-footer ul { padding: 0; margin: 0; display: grid; gap: 12px; }
.wh-footer ul a { color: rgba(255, 255, 255, .7) !important; transition: color .2s; }
.wh-footer ul a:hover { color: var(--wh-yellow) !important; }
.wh-footer__store img { height: 48px; width: auto; margin-top: 4px; }
.wh-footer__bottom {
  margin-top: 48px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255, 255, 255, .5);
}
.wh-footer__bottom strong { color: var(--wh-yellow); font-weight: 700; }

/* ---------- Mobile bottom nav ---------- */
.wh-bottomnav { display: none; }

/* ---------- Coming soon modal ---------- */
.wh-modal .modal-content { border: 0; border-radius: 24px; padding: 28px 24px 22px; text-align: center; font-family: var(--wh-font); }
.wh-modal__art { width: 120px; margin: 0 auto 14px; display: block; }
.wh-modal .wh-btn--ghost { margin-top: 4px; }
.wh-modal h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.wh-modal p { font-size: 15px; color: var(--wh-muted); margin-bottom: 20px; }
.wh-modal .wh-btn { width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .wh-search { grid-template-columns: 1fr 1fr; }
  .wh-search__field:first-child { grid-column: 1 / -1; }
  .wh-search__field + .wh-search__field::before { display: none; }
  .wh-search .wh-btn { grid-column: 1 / -1; }
  .wh-features { grid-template-columns: repeat(2, 1fr); }
  .wh-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991.98px) {
  .wh-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .wh-scroller--hotels { grid-auto-columns: minmax(270px, 46%); }
  .wh-cta { grid-template-columns: 1fr; padding: 36px 28px; }
  .wh-cta__actions { justify-self: start; flex-direction: row; align-items: center; }
}
@media (max-width: 767.98px) {
  :root { --wh-header-h: 64px; }
  .wh-brand span, .wh-wallet span { display: none; }
  .wh-wallet { width: 44px; padding: 0; justify-content: center; }
  .wh-hero { min-height: 0; padding: 40px 0 48px; }
  .wh-search { border-radius: 18px; }
  .wh-categories { margin-top: -96px; }
  .wh-cat-card { padding: 10px; border-radius: 20px; }
  .wh-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .wh-cat__img { width: 64px; height: 64px; }
  .wh-cat__label { font-size: 13px; }
  .wh-section { padding-top: 52px; }
  .wh-section__head { flex-direction: column; align-items: flex-start; }
  .wh-section__head--row { flex-direction: row; align-items: center; }
  .wh-scroller--dest { grid-auto-columns: 42%; gap: 12px; }
  .wh-dest__text strong { font-size: 18px; }
  .wh-scroller--hotels { grid-auto-columns: 84%; }
  .wh-features { grid-template-columns: 1fr; }
  .wh-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .wh-footer { padding-bottom: 76px; }
  .wh-footer__bottom { justify-content: center; text-align: center; }

  .wh-bottomnav {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--wh-line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); font-family: var(--wh-font);
  }
  .wh-bottomnav a {
    display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 11.5px; font-weight: 600;
    color: var(--wh-muted) !important; cursor: pointer;
  }
  .wh-bottomnav a i { font-size: 18px; }
  .wh-bottomnav a.is-active { color: var(--wh-ink) !important; }
  .wh-bottomnav a.is-active i { color: var(--wh-ink); background: var(--wh-yellow); padding: 4px 14px; border-radius: 999px; }
}

@media (prefers-reduced-motion: reduce) {
  .wh-page *, .wh-header, .wh-footer * { transition: none !important; }
}

/* ==========================================================================
   Accounts, forms & feedback (login, user menu, toasts, form fields)
   ========================================================================== */
[hidden] { display: none !important; }

.wh-login-btn { gap: 8px; }
.wh-user-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 4px; border-radius: 999px;
  border: 1px solid var(--wh-line); background: var(--wh-surface); font: 700 14.5px var(--wh-font); color: var(--wh-ink);
}
.wh-user-btn:hover { border-color: var(--wh-yellow); }
.wh-user-btn i { font-size: 11px; color: var(--wh-muted); }
.wh-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--wh-yellow); color: var(--wh-ink);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
}
.wh-menu { border: 1px solid var(--wh-line); border-radius: 16px; box-shadow: var(--wh-shadow); padding: 8px; min-width: 240px; font: 500 14.5px var(--wh-font); }
.wh-menu .dropdown-item { border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; gap: 12px; color: var(--wh-ink); font-size: 14.5px; }
.wh-menu .dropdown-item i { width: 18px; text-align: center; color: var(--wh-ink-2); }
.wh-menu .dropdown-item:hover, .wh-menu .dropdown-item:focus { background: var(--wh-yellow-50); color: var(--wh-ink); }
.wh-menu__head { padding: 8px 12px 10px; border-bottom: 1px solid var(--wh-line); margin-bottom: 6px; }
.wh-menu__head strong { display: block; font-size: 15px; }
.wh-menu__head small { color: var(--wh-muted); font-size: 13px; }

/* Login modal */
.wh-login { text-align: left !important; padding: 32px 28px 24px !important; position: relative; }
.wh-login .wh-drawer__close { position: absolute; top: 14px; right: 14px; }
.wh-login h3 { text-align: center; font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.wh-login p { text-align: center; color: var(--wh-muted); font-size: 15px; margin-bottom: 20px !important; }
.wh-login p a, .wh-login__legal a { color: var(--wh-ink) !important; font-weight: 700; text-decoration: underline !important; }
.wh-login__legal { display: block; text-align: center; color: var(--wh-muted); font-size: 12.5px; margin-top: 16px; }
.wh-link-btn { display: block; margin: 14px auto 0; background: none; border: 0; font: 700 14px var(--wh-font); color: var(--wh-ink); text-decoration: underline; }
.wh-link-btn:disabled { color: var(--wh-muted); text-decoration: none; }

/* Fields */
.wh-field { display: block; margin-bottom: 16px; }
.wh-field > span { display: block; font-size: 13px; font-weight: 700; color: var(--wh-ink-2); margin-bottom: 6px; }
.wh-field input, .wh-field select, .wh-field textarea, .wh-phone {
  width: 100%; min-height: 50px; border: 1.5px solid var(--wh-line); border-radius: 12px; padding: 12px 14px;
  font: 500 16px var(--wh-font); color: var(--wh-ink); background: var(--wh-surface); outline: 0; transition: border-color .15s, box-shadow .15s;
}
.wh-field textarea { min-height: 120px; resize: vertical; }
.wh-field input:focus, .wh-field select:focus, .wh-field textarea:focus, .wh-phone:focus-within {
  border-color: var(--wh-ink); box-shadow: 0 0 0 4px rgba(255, 210, 0, .35);
}
.wh-phone { display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.wh-phone b { font-weight: 700; color: var(--wh-ink-2); padding-right: 10px; border-right: 1px solid var(--wh-line); }
.wh-phone input { border: 0 !important; box-shadow: none !important; padding: 12px 0; min-height: 0; }
.wh-otp { text-align: center; letter-spacing: .6em; font-size: 22px !important; font-weight: 800 !important; }
.wh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 575.98px) { .wh-form-grid { grid-template-columns: 1fr; } }

.wh-alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; margin-top: 14px; }
.wh-alert--error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.wh-alert--info { background: var(--wh-yellow-50); color: var(--wh-ink-2); border: 1px solid #F5E08A; }

/* Toasts */
.wh-toasts { position: fixed; z-index: 2000; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: min(92vw, 420px); }
.wh-toast {
  background: var(--wh-ink); color: #fff; border-radius: 14px; padding: 13px 16px; font: 600 14.5px var(--wh-font);
  box-shadow: var(--wh-shadow-lg); animation: wh-toast-in .25s ease;
}
.wh-toast--success { border-left: 4px solid var(--wh-yellow); }
.wh-toast--error { background: #B91C1C; }
.wh-toast.is-leaving { opacity: 0; transform: translateY(6px); transition: all .3s; }
@keyframes wh-toast-in { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 767.98px) {
  .wh-toasts { bottom: 84px; }
  .wh-login-btn span, .wh-user-btn__name { display: none; }
  .wh-login-btn { width: 44px; padding: 0; }
  .wh-user-btn { padding: 0 4px; }
  .wh-user-btn i { display: none; }
}

/* Wishlist heart (cards + details) */
.wh-heart {
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--wh-ink);
  display: inline-flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: var(--wh-shadow-sm); cursor: pointer;
}
.wh-heart.is-on { color: #E11D48; }
.wh-heart:disabled { opacity: .6; }

/* Generic page scaffolding for inner pages */
.wh-pagehead { padding: 40px 0 8px; }
.wh-pagehead h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.wh-pagehead p { color: var(--wh-muted); margin-top: 6px !important; font-size: 16px; }
.wh-panel { background: var(--wh-surface); border: 1px solid var(--wh-line); border-radius: var(--wh-radius); padding: 24px; }
.wh-panel + .wh-panel { margin-top: 20px; }
.wh-panel h2 { font-size: 20px; font-weight: 800; margin-bottom: 16px !important; }
.wh-skeleton { background: linear-gradient(90deg, #EEE 25%, #F6F6F2 37%, #EEE 63%); background-size: 400% 100%; animation: wh-shimmer 1.3s ease infinite; border-radius: 12px; }
@keyframes wh-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.wh-inner { padding-bottom: 72px; min-height: 60vh; }
.wh-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.wh-tabs button {
  border: 1.5px solid var(--wh-line); background: var(--wh-surface); border-radius: 999px; padding: 9px 18px;
  font: 700 14px var(--wh-font); color: var(--wh-ink-2);
}
.wh-tabs button.is-active { background: var(--wh-ink); border-color: var(--wh-ink); color: #fff; }
.wh-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.wh-badge--green { background: #DCFCE7; color: #166534; }
.wh-badge--red { background: #FEE2E2; color: #991B1B; }
.wh-badge--amber { background: #FEF3C7; color: #92400E; }
.wh-badge--grey { background: #F3F4F6; color: #374151; }
