/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header{
  position: sticky; top: 0; z-index: 200;
  background: rgba(246,242,233,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--color-line);
  height: var(--header-h);
}
.site-header .container{ max-width: 1500px; padding-left: 24px; padding-right: 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.brand{ display:flex; align-items:center; gap: var(--space-3); }
.brand-mark{ display: inline-flex; align-items: center; gap: 10px; }
.brand-logo{ height: 48px; width: auto; display: block; }
.brand-logo--footer{ height: 40px; filter: brightness(0) invert(1); }
.brand-mark .brand-text{
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  color: var(--color-forest-900); letter-spacing: 0.01em;
}
.brand-mark .brand-text span{ color: var(--color-gold-600); }
.footer-brand .brand-mark .brand-text{ color: #fff; }
.partner-slot{
  border-left: 1px solid var(--color-line-strong); padding-left: var(--space-3);
  margin-left: var(--space-2); display: none; align-items: center;
}
.partner-slot.is-active{ display: flex; }
.partner-company-name{
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.35rem; /* 10% smaller than the 1.5rem MORDEVO wordmark */
  color: var(--color-forest-900); letter-spacing: 0.01em; white-space: nowrap;
}
.partner-company-logo{ height: 32px; width: auto; display: block; } /* ~10% shorter than the 36px MORDEVO mark */

.main-nav{ display: flex; align-items: center; gap: var(--space-6); }
.main-nav ul{ display: flex; gap: var(--space-5); }
.main-nav li{ position: relative; }
.nav-stacked-buttons{ display: flex; flex-direction: column; gap: 3px; justify-content: center; }
.nav-stacked-buttons .btn{ white-space: nowrap; padding: 5px 12px; font-size: 11px; line-height: 1.2; border-radius: 20px; }
.main-nav a{
  display: inline-flex; align-items: center; gap: 4px;
  font-size: var(--text-sm); font-weight: 600; color: var(--color-ink);
  padding: 8px 2px; border-bottom: 2px solid transparent;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.main-nav a:hover, .main-nav a.is-current{ color: var(--color-forest-900); border-color: var(--color-gold-600); }
.main-nav .caret{ font-size: 0.7em; color: var(--color-ink-faint); transition: transform var(--dur-fast); }
.main-nav .has-mega.is-open .caret{ transform: rotate(180deg); }

/* Mega menu dropdown */
.mega-panel{
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-line); padding: var(--space-5);
  min-width: 560px; z-index: 250;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity var(--dur-base), transform var(--dur-base);
}
/* Visibility is controlled entirely by JS (the .is-open class, toggled in
   wireMegaMenus()) rather than CSS :hover/:focus-within — those pseudo-
   classes reflect the browser's live cursor/focus position, which doesn't
   change just because JS closes the menu on click, so combining both
   mechanisms made the panel refuse to close while the mouse sat on it. */
.has-mega.is-open .mega-panel{
  opacity: 1; pointer-events: auto; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mega-heading{
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; color: var(--color-ink-faint);
  text-transform: uppercase; padding: var(--space-3) var(--space-3) 6px;
}
.mega-grid{ display: grid; grid-template-columns: 1fr 1fr; }
.mega-item{
  display: flex; gap: 12px; align-items: flex-start; padding: var(--space-3);
  border-radius: var(--radius-md); transition: background var(--dur-fast);
}
.mega-item:hover{ background: var(--color-ivory); }
.mega-item + .mega-item{ /* visual row divider handled per-column via border on parent row wrap */ }
.mega-grid .mega-item:nth-child(-n+2){ } /* no-op placeholder to keep specificity simple */
.mega-num{ color: var(--color-gold-600); font-weight: 700; font-size: var(--text-sm); flex-shrink: 0; min-width: 20px; }
.mega-title{ display: block; font-weight: 700; color: var(--color-forest-900); font-size: var(--text-sm); }
.mega-desc{ display: block; color: var(--color-ink-faint); font-size: var(--text-xs); margin-top: 2px; }

/* Mobile drawer sub-groups */
.drawer-group-label{ font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-ink-faint); padding: 14px 4px 4px; }
.nav-drawer a.drawer-sub{ font-family: var(--font-body); font-size: var(--text-sm); padding: 10px 4px 10px 14px; font-weight: 500; }

.day-card.is-selected{ border-color: var(--color-gold-600); background: var(--color-gold-100); }

.header-actions{ display: flex; align-items: center; gap: var(--space-3); }
#authButtons{ display: flex; align-items: center; gap: var(--space-3); }
.cart-btn{ position: relative; }
.cart-count{
  position: absolute; top: -6px; right: -6px;
  background: var(--color-gold-600); color: #fff;
  font-size: 10px; font-weight: 700; min-width: 18px; height: 18px;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.nav-toggle{ display: none; }

/* Header profile dropdown (click to open — see wireAccountMenu()) */
.account-menu{ position: relative; }
.account-menu-panel{
  position: absolute; top: 100%; right: 0; transform: translateY(8px);
  background: var(--color-white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-line); padding: var(--space-3);
  min-width: 200px; z-index: 250; display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity var(--dur-base), transform var(--dur-base);
}
.account-menu.is-open .account-menu-panel{
  opacity: 1; pointer-events: auto; visibility: visible; transform: translateY(0);
}
.account-menu-name{
  font-weight: 700; font-size: var(--text-sm); color: var(--color-forest-900);
  padding: 6px 10px 10px;
}
.account-menu-panel a, .account-menu-logout{
  display: block; width: 100%; text-align: left; padding: 9px 10px; border-radius: var(--radius-sm);
  font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); cursor: pointer;
  background: none; border: none; font-family: inherit;
}
.account-menu-panel a:hover, .account-menu-logout:hover{ background: var(--color-ivory); }
.account-menu-panel .divider{ margin: 6px 0; }

/* Centered confirmation dialog (replaces the native browser confirm() popup) */
.modal-scrim{ position:fixed; inset:0; background:rgba(20,38,28,0.5); display:flex; align-items:center; justify-content:center; z-index:400; padding:20px; }
.modal-box{ background:#fff; border-radius: var(--radius-md); padding: var(--space-6); max-width: 420px; width:100%; max-height:88vh; overflow-y:auto; text-align:center; }
.confirm-dialog-box{ padding:0; border-radius:18px; overflow:hidden; max-width:380px; }
.confirm-dialog-art{ background: var(--color-ivory); padding: var(--space-6) var(--space-5) var(--space-4); }
.confirm-dialog-art svg{ display:block; margin:0 auto; }
.confirm-dialog-body{ padding: var(--space-5) var(--space-6) var(--space-6); }
.confirm-dialog-title{ font-size: 23px; font-weight:700; color: var(--color-forest-900); margin:0 0 10px; }
.confirm-dialog-desc{ font-family: var(--font-body); font-size: var(--text-sm); line-height:1.65; color: var(--color-ink-faint); margin:0 0 var(--space-6); }
.confirm-dialog-actions{ display:flex; gap:10px; }
.confirm-dialog-actions .btn{ flex:1; }

@media (max-width: 980px){
  .main-nav{ display: none; }
  .nav-toggle{ display: inline-flex; }
  .site-header{ height: var(--header-h-mobile); }
}

/* Mobile drawer */
.drawer-scrim{
  position: fixed; inset: 0; background: rgba(20,38,28,0.45);
  z-index: 300; opacity: 0; pointer-events: none; transition: opacity var(--dur-base);
}
.drawer-scrim.is-open{ opacity: 1; pointer-events: auto; }
.nav-drawer{
  position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
  background: var(--color-white); z-index: 301;
  transform: translateX(100%); transition: transform var(--dur-base) var(--ease-standard);
  display: flex; flex-direction: column; padding: var(--space-5);
  box-shadow: var(--shadow-lg);
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
.nav-drawer.is-open{ transform: translateX(0); }
.drawer-head{ display:flex; justify-content: space-between; align-items:center; margin-bottom: var(--space-6); }
.nav-drawer ul{ display: flex; flex-direction: column; }
.nav-drawer a{ display:block; padding: 16px 4px; font-size: var(--text-lg); font-family: var(--font-display); border-bottom: 1px solid var(--color-line); color: var(--color-forest-900); }
.drawer-group{ border-bottom: 1px solid var(--color-line); }
.drawer-group-toggle{
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 4px; font-size: var(--text-lg); font-family: var(--font-display);
  color: var(--color-forest-900); background: none; border: none; text-align: left; cursor: pointer;
}
.drawer-group-toggle .plus{ font-size: 1.3rem; color: var(--color-gold-600); font-weight: 300; transition: transform var(--dur-base); }
.drawer-group.is-open .plus{ transform: rotate(45deg); }
.drawer-group-panel{ max-height: 0; overflow: hidden; transition: max-height var(--dur-base) var(--ease-standard); }
.drawer-group-panel-inner{ padding-bottom: 6px; }
.drawer-group-panel-inner li a{ border-bottom: none; }
.drawer-foot{ margin-top: auto; display: flex; flex-direction: column; gap: var(--space-3); padding-top: var(--space-5); }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero{
  position: relative; min-height: 640px; display: flex; align-items: center;
  color: var(--color-white); overflow: hidden;
}
.hero-media{ position: absolute; inset: 0; z-index: 0; }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; }
.hero-media::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(20,38,28,0.82) 0%, rgba(20,38,28,0.5) 55%, rgba(20,38,28,0.25) 100%);
}
.hero-content{ position: relative; z-index: 1; max-width: 620px; }
.hero-content .eyebrow{ color: var(--color-gold-100); }
.hero-content h1{ color: var(--color-white); margin-top: var(--space-3); }
.hero-content p{ color: rgba(255,255,255,0.86); margin-top: var(--space-4); max-width: 500px; }
.hero-actions{ display: flex; gap: var(--space-4); margin-top: var(--space-6); flex-wrap: wrap; justify-content: center; }

.page-hero{
  padding: var(--space-9) 0 var(--space-7);
  background: var(--color-forest-800); color: var(--color-white);
}
.page-hero h1{ color: var(--color-white); }
.page-hero p{ color: rgba(255,255,255,0.82); max-width: 560px; margin-top: var(--space-3); }

/* ==========================================================================
   DAY-STATE / DESTINATION CARDS
   ========================================================================== */

.day-cards{ display: grid; grid-template-columns: repeat(var(--myday-cards-per-row, 4), 1fr); gap: var(--space-4); }
@media (max-width: 620px){
  .day-cards{ grid-template-columns: repeat(2, 1fr); }
}
.day-card{
  background: var(--color-white); border: 1px solid var(--color-line);
  border-radius: var(--radius-md); padding: var(--space-5) var(--space-4);
  cursor: pointer; transition: border-color var(--dur-fast), transform var(--dur-fast);
  text-align: left;
}
.day-card:hover{ border-color: var(--color-gold-600); transform: translateY(-2px); }
.day-card .icon{ font-size: 1.6rem; }
.day-card .thumb{ width: 44px; height: 44px; border-radius: var(--radius-sm); object-fit: cover; display: block; }
.day-card .label{ font-family: var(--font-display); font-size: var(--text-md); margin-top: var(--space-3); color: var(--color-forest-900); }
.day-card .desc{ font-size: var(--text-xs); color: var(--color-ink-faint); margin-top: 4px; }

/* Photo variant: image fills the entire card, label overlaid at the bottom */
.day-card.day-card--photo{
  position: relative; overflow: hidden; padding: 0; aspect-ratio: 1/1;
  display: flex; align-items: flex-end;
}
.day-card--photo .thumb{
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 0; transition: transform 400ms var(--ease-standard);
}
.day-card--photo:hover .thumb{ transform: scale(1.05); }
.day-card--photo::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,38,28,0) 45%, rgba(20,38,28,0.82) 100%);
}
.day-card--photo .label{
  position: relative; z-index: 1; margin-top: 0; width: 100%;
  padding: var(--space-4); color: var(--color-white);
}

.destination-card{
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 4/5; color: #fff; display: flex; align-items: flex-end;
}
.destination-card img{ position: absolute; inset:0; width:100%; height:100%; object-fit: cover; transition: transform 400ms var(--ease-standard); }
.destination-card:hover img{ transform: scale(1.04); }
.destination-card::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(20,38,28,0) 40%, rgba(20,38,28,0.85) 100%); }
.destination-card .dc-body{ position: relative; z-index:1; padding: var(--space-5); }
.destination-card .dc-body h3{ color:#fff; }
.destination-card .dc-body span{ font-size: var(--text-sm); color: var(--color-gold-100); }

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */

.product-card{
  background: var(--color-white); border: 1px solid var(--color-line); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--dur-base), border-color var(--dur-base);
}
.product-card:hover{ box-shadow: var(--shadow-md); border-color: var(--color-line-strong); }
.pc-media{ position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--color-white); }
.pc-media img{ width: 100%; height: 100%; object-fit: contain; }
.pc-fav{
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: none; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 15px; color: var(--color-ink-faint);
}
.pc-fav.is-fav{ color: var(--color-gold-600); }
.pc-body{ background: var(--color-white); padding: var(--space-4); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-cat{ font-size: var(--text-xs); color: var(--color-gold-600); font-weight: 600; }
.pc-name{ font-family: var(--font-display); font-size: var(--text-md); color: var(--color-forest-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-desc{
  font-size: var(--text-sm); color: var(--color-ink-soft); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: calc(var(--text-sm) * 1.4 * 2);
}
@media (min-width: 621px){ body.hide-product-desc-desktop .pc-desc{ display: none; } }
@media (max-width: 620px){ body.hide-product-desc-mobile .pc-desc{ display: none; } }
.pc-foot{ display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-2); }
.pc-price{ font-weight: 700; color: var(--color-forest-900); }
.pc-add{
  width: 38px; height: 38px; border-radius: 50%; background: var(--color-forest-800); color: #fff;
  border: none; cursor: pointer; font-size: 18px; display:flex; align-items:center; justify-content:center;
  transition: background var(--dur-fast);
}
.pc-add:hover{ background: var(--color-gold-600); }
.pc-add.is-added{ background: var(--color-success); }
.pc-qty-stepper{
  display: flex; align-items: center; gap: 10px;
  background: var(--color-forest-800); border-radius: 999px; padding: 6px 8px;
}
.pc-qty-btn{
  width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.15); color: #fff;
  border: none; cursor: pointer; font-size: 15px; line-height: 1; display:flex; align-items:center; justify-content:center;
  transition: background var(--dur-fast);
}
.pc-qty-btn:hover{ background: rgba(255,255,255,0.3); }
.pc-qty-value{ color: #fff; font-weight: 700; font-size: var(--text-sm); min-width: 14px; text-align: center; }

/* ==========================================================================
   FILTER BAR
   ========================================================================== */

.filter-bar{
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  flex-wrap: wrap; margin-bottom: var(--space-6);
}
.search-box{
  position: relative; flex: 1; min-width: 240px; max-width: 380px;
}
.search-box input{ padding-left: 40px; }
.search-box::before{ content:"⌕"; position:absolute; left:14px; top:50%; transform:translateY(-50%); color: var(--color-ink-faint); font-size:1.1rem; }
.tag-row{ display: flex; gap: var(--space-2); flex-wrap: wrap; }
.sort-select{ width: auto; min-width: 170px; }

/* Small status pills (subscription status, etc.) */
.badge{ display:inline-block; padding:4px 10px; border-radius: var(--radius-pill); font-size:11px; font-weight:700; background: var(--color-ivory); color: var(--color-ink-faint); white-space: nowrap; }
.badge-active{ background:#E1EFE5; color:#2E5439; }
.badge-completed{ background:#E1EFE5; color:#2E5439; }
.badge-pending_payment{ background:#F1E4CC; color:#A9782F; }
.badge-forfeited, .badge-cancelled{ background:#F6E2DD; color:#A6402C; }

/* Floating bar shown while a customer is building a subscription's meal plan */
.plan-builder-bar{
  position: sticky; bottom: 0; left: 0; right: 0; z-index: 220;
  background: var(--color-forest-900); color: #fff;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}
.plan-builder-bar .btn-outline{ border-color: rgba(255,255,255,0.4); color: #fff; }
.plan-builder-bar .btn-outline:disabled{ opacity: 0.4; }

/* ==========================================================================
   STEPS
   ========================================================================== */

.steps{ display: flex; gap: var(--space-6); flex-wrap: wrap; }
.step{ flex: 1; min-width: 200px; }
.step .step-num{
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-gold-600); color: var(--color-gold-600);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: var(--text-md);
  margin-bottom: var(--space-3);
}
.step h3{ font-size: var(--text-md); }
.step p{ font-size: var(--text-sm); color: var(--color-ink-soft); margin-top: 6px; }

/* checkout stepper */
.checkout-steps{ display: flex; gap: var(--space-2); margin-bottom: var(--space-7); flex-wrap: wrap; }
.co-step{ display: flex; align-items:center; gap: 8px; font-size: var(--text-xs); font-weight: 600; color: var(--color-ink-faint); }
.co-step .dot{ width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--color-line-strong); display:flex; align-items:center; justify-content:center; font-size: 11px; }
.co-step.is-active{ color: var(--color-forest-900); }
.co-step.is-active .dot{ background: var(--color-forest-800); border-color: var(--color-forest-800); color:#fff; }
.co-step.is-done .dot{ background: var(--color-success); border-color: var(--color-success); color:#fff; }
.co-step:not(:last-child)::after{ content:""; width: 24px; height: 1px; background: var(--color-line-strong); margin-left: 4px; }

/* Single-page checkout: details on the left, order summary pinned on the right */
.checkout-grid{ display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-7); align-items: start; }
.checkout-summary{ position: sticky; top: calc(var(--header-h) + var(--space-5)); }
@media (max-width: 900px){
  .checkout-grid{ grid-template-columns: 1fr; }
  .checkout-summary{ position: static; order: -1; }
}

/* ==========================================================================
   ACCORDION (FAQ)
   ========================================================================== */

.accordion-group{ border-top: 1px solid var(--color-line); }
.accordion-item{ border-bottom: 1px solid var(--color-line); }
.accordion-trigger{
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: var(--space-5) 4px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: var(--text-md); color: var(--color-forest-900);
}
.accordion-trigger .plus{ transition: transform var(--dur-base); font-size: 1.3rem; color: var(--color-gold-600); font-weight: 300; }
.accordion-item.is-open .plus{ transform: rotate(45deg); }
.accordion-panel{ max-height: 0; overflow: hidden; transition: max-height var(--dur-base) var(--ease-standard); }
.accordion-panel-inner{ padding: 0 4px var(--space-5); color: var(--color-ink-soft); font-size: var(--text-sm); max-width: 640px; }

/* ==========================================================================
   TABLE-ish (cart / orders)
   ========================================================================== */

.cart-line{
  display: grid; grid-template-columns: 88px 1fr auto auto; gap: var(--space-4); align-items: center;
  padding: var(--space-5) 0; border-bottom: 1px solid var(--color-line);
}
.cart-line img{ width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-line-name{ font-family: var(--font-display); font-size: var(--text-md); color: var(--color-forest-900); }
.cart-line-meta{ font-size: var(--text-xs); color: var(--color-ink-faint); margin-top: 4px; }
.qty-control{ display: flex; align-items: center; border: 1px solid var(--color-line-strong); border-radius: var(--radius-sm); width: fit-content; }
.qty-control button{ width: 32px; height: 32px; background: none; border: none; cursor: pointer; font-size: 16px; color: var(--color-forest-800); }
.qty-control span{ width: 30px; text-align: center; font-weight: 600; font-size: var(--text-sm); }
.remove-link{ font-size: var(--text-xs); color: var(--color-ink-faint); text-decoration: underline; cursor: pointer; margin-top: 6px; display: inline-block; }
.remove-link:hover{ color: var(--color-error); }

.summary-row{ display: flex; justify-content: space-between; padding: 10px 0; font-size: var(--text-sm); color: var(--color-ink-soft); }
.summary-row.total{ font-size: var(--text-md); font-weight: 700; color: var(--color-forest-900); border-top: 1px solid var(--color-line); margin-top: var(--space-2); padding-top: var(--space-3); }

.order-row{
  display:flex; justify-content: space-between; align-items:center; padding: var(--space-5);
  border: 1px solid var(--color-line); border-radius: var(--radius-md); cursor: pointer; margin-bottom: var(--space-3);
  transition: border-color var(--dur-fast);
}
.order-row:hover{ border-color: var(--color-gold-600); }
.order-id{ font-family: var(--font-display); font-size: var(--text-md); color: var(--color-forest-900); }

/* ==========================================================================
   EMPTY / TOAST / LOADING
   ========================================================================== */

.empty-state{ text-align:center; padding: var(--space-9) var(--space-5); color: var(--color-ink-soft); }
.empty-state .icon{ font-size: 2.4rem; margin-bottom: var(--space-3); }

.toast{
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--color-forest-900); color: #fff; padding: 14px 24px; border-radius: var(--radius-sm);
  font-size: var(--text-sm); z-index: 500; opacity: 0; pointer-events: none;
  transition: opacity var(--dur-base), transform var(--dur-base);
  box-shadow: var(--shadow-lg);
}
.toast.is-visible{ opacity: 1; transform: translateX(-50%) translateY(0); }

.skeleton{ background: linear-gradient(90deg, var(--color-line) 0%, #f0ead9 50%, var(--color-line) 100%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer{ from{ background-position: 200% 0; } to{ background-position: -200% 0; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer{ background: var(--color-forest-900); color: rgba(255,255,255,0.78); padding: var(--space-9) 0 var(--space-6); }
.footer-grid{ display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: var(--space-6); }
.footer-brand .brand-mark{ color: #fff; }
.footer-brand p{ color: rgba(255,255,255,0.6); margin-top: var(--space-3); max-width: 280px; font-size: var(--text-sm); }
.footer-col h4{ font-family: var(--font-body); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-gold-100); margin-bottom: var(--space-3); font-weight: 700; }
.footer-col a{ display:block; padding: 6px 0; font-size: var(--text-sm); color: rgba(255,255,255,0.75); }
.footer-col a:hover{ color: #fff; }
.footer-bottom{ margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,0.12); display:flex; justify-content: space-between; font-size: var(--text-xs); color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: var(--space-3); }

@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
  .cart-line{ grid-template-columns: 64px 1fr; }
  .cart-line img{ width: 64px; height: 64px; }
}

/* ==========================================================================
   MISC PAGE BITS
   ========================================================================== */

.split{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
@media (max-width: 820px){ .split{ grid-template-columns: 1fr; gap: var(--space-6); } }
.media-frame{ border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; }
.media-frame img{ width:100%; height:100%; object-fit:cover; }

.stat-row{ display:flex; gap: var(--space-8); flex-wrap: wrap; margin-top: var(--space-6); }
.stat-row .num{ font-family: var(--font-display); font-size: var(--text-2xl); color: var(--color-forest-900); }
.stat-row .lbl{ font-size: var(--text-xs); color: var(--color-ink-faint); text-transform: uppercase; letter-spacing: 0.05em; }

.route-crumb{ font-size: var(--text-xs); color: var(--color-ink-faint); margin-bottom: var(--space-4); }
.route-crumb a{ color: var(--color-ink-faint); text-decoration: underline; }

.account-layout{ display: grid; grid-template-columns: 220px 1fr; gap: var(--space-7); }
@media (max-width: 800px){ .account-layout{ grid-template-columns: 1fr; } }
.account-nav a{ display:block; padding: 12px 14px; border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-soft); }
.account-nav a.is-current, .account-nav a:hover{ background: var(--color-white); color: var(--color-forest-900); }

.legal-nav{ display:flex; flex-wrap:wrap; gap: var(--space-2); margin-bottom: var(--space-7); }

.banner-notice{ background: var(--color-forest-900); border: none; border-radius: var(--radius-md); padding: 16px 20px; font-size: var(--text-base, 1rem); font-weight: 600; color: #fff; text-align: center; }
.banner-notice--success{ background: var(--color-gold-600); color: var(--color-forest-900); }

/* ==========================================================================
   HEADER — refreshed actions (menu button next to the logo, cleaner buttons)
   ========================================================================== */
.brand{ gap: 14px; }
.hdr-menu-btn{
  margin-left: -8px; /* line the icon up with the page edge */
  width: 42px; height: 42px; border-radius: 12px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--color-forest-900);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.hdr-menu-btn:hover, .hdr-menu-btn[aria-expanded="true"]{ background: rgba(31,61,43,0.08); }

.header-actions{ gap: 10px; }
#authButtons{ gap: 8px; }
.hdr-round{
  width: 42px; height: 42px; border: 0 !important; background: rgba(31,61,43,0.06);
  color: var(--color-forest-900); transition: background var(--dur-fast), transform var(--dur-fast);
}
.hdr-round:hover{ background: rgba(31,61,43,0.12); transform: translateY(-1px); }
.cart-btn .cart-count{ top: -3px; right: -3px; box-shadow: 0 0 0 2px var(--color-cream, #F6F2E9); }

.hdr-signin{
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px;
  border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--color-forest-900);
  transition: background var(--dur-fast);
}
.hdr-signin:hover{ background: rgba(31,61,43,0.08); }
.hdr-signup{
  display: inline-flex; align-items: center; height: 42px; padding: 0 20px;
  border-radius: 999px; font-weight: 700; font-size: 14px; color: #fff;
  background: var(--color-success); box-shadow: 0 4px 12px rgba(31,61,43,0.22);
  transition: transform var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.hdr-signup:hover{ background: #345A3D; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(31,61,43,0.28); color: #fff; }

.hdr-signup, .hdr-signin, .brand-mark .brand-text{ white-space: nowrap; }
.brand{ min-width: 0; flex-shrink: 1; }
.header-actions{ flex-shrink: 0; }

@media (max-width: 560px){
  .site-header .container{ padding-left: 12px; padding-right: 12px; gap: 8px; }
  .brand{ gap: 4px; }
  .brand-mark{ gap: 6px; }
  .brand-logo{ height: 34px; }
  .brand-mark .brand-text{ font-size: 1.1rem; }
  .hdr-menu-btn{ width: 38px; height: 38px; }
  .header-actions, #authButtons{ gap: 6px; }
  .hdr-round{ width: 38px; height: 38px; }
  .hdr-signin span{ display: none; }                 /* icon only on small phones */
  .hdr-signin{ width: 38px; height: 38px; padding: 0; justify-content: center; background: rgba(31,61,43,0.06); }
  .hdr-signup{ height: 38px; padding: 0 14px; font-size: 13px; }
}
@media (max-width: 370px){
  .brand-mark .brand-text{ display: none; }          /* very small phones: logo only */
}

/* The menu button is on the logo side now, so the drawer opens from that side too. */
.nav-drawer{ right: auto; left: 0; transform: translateX(-100%); }
.nav-drawer.is-open{ transform: translateX(0); }
html[dir=rtl] .nav-drawer{ left: auto; right: 0; transform: translateX(100%); }
html[dir=rtl] .nav-drawer.is-open{ transform: translateX(0); }
html[dir=rtl] .cart-btn .cart-count{ right: auto; left: -3px; }

/* ==========================================================================
   MOBILE MENU (drawer) — refreshed design
   ========================================================================== */
.nav-drawer{ padding: 18px 16px 20px; background: #fbf9f4; width: min(360px, 90vw); }
.nav-drawer .drawer-head{ margin-bottom: 18px; }
.nav-drawer .brand-logo{ height: 36px; }
.nav-drawer .brand-text{ font-size: 1.25rem; }
.drawer-close{
  width: 40px; height: 40px; border-radius: 12px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(31,61,43,0.07); color: var(--color-forest-900);
}
.drawer-close:hover{ background: rgba(31,61,43,0.13); }

/* reset the old big serif links */
.nav-drawer a, .nav-drawer .drawer-group{ border-bottom: 0; }
.nav-drawer a{ font-family: var(--font-body); }

/* signed-in card / sign-in buttons */
.nav-drawer .drawer-user{
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 14px;
  background: #fff; border: 1px solid var(--color-line); border-radius: 16px;
  font-size: 1rem; color: var(--color-forest-900);
}
.drawer-avatar{
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-success); color: #fff; font-weight: 800; font-size: 18px;
}
.drawer-user-text{ display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.drawer-user-text strong{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-user-text small{ color: var(--color-ink-muted, #6b6b6b); font-size: 12px; }
.drawer-auth{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.nav-drawer .drawer-auth a{
  display: flex; align-items: center; justify-content: center; height: 46px; padding: 0;
  border-radius: 14px; font-size: 15px; font-weight: 700;
}
.nav-drawer .drawer-auth-in{ background: #fff; border: 1px solid var(--color-line-strong); color: var(--color-forest-900); }
.nav-drawer .drawer-auth-up{ background: var(--color-success); color: #fff; box-shadow: 0 4px 12px rgba(31,61,43,0.2); }

/* main list */
.drawer-list{ display: flex; flex-direction: column; gap: 2px; }
.nav-drawer .drawer-link, .drawer-group-toggle{
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 11px 10px; border-radius: 12px; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-body); font-size: 15.5px; font-weight: 600; color: var(--color-forest-900);
  text-align: start; transition: background var(--dur-fast);
}
.nav-drawer .drawer-link:hover, .drawer-group-toggle:hover{ background: rgba(31,61,43,0.06); }
.nav-drawer .drawer-link.is-current{ background: rgba(31,61,43,0.09); }
.drawer-ico{
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--color-line); color: var(--color-forest-800);
}
.drawer-gl{ flex: 1; }
.drawer-chev{ display: inline-flex; color: var(--color-ink-faint, #9a978d); transition: transform var(--dur-base); }
.drawer-group-toggle .plus{ font-size: inherit; color: var(--color-ink-faint, #9a978d); }
.drawer-group.is-open .plus{ transform: rotate(180deg); }
.drawer-group.is-open .drawer-group-toggle{ background: rgba(31,61,43,0.06); }

/* sub-items */
.drawer-group-panel-inner{ padding: 4px 0 8px 58px; }
.nav-drawer a.drawer-sub{
  position: relative; padding: 9px 8px; font-size: 14.5px; font-weight: 500;
  color: var(--color-ink, #333); border-radius: 8px;
}
.nav-drawer a.drawer-sub::before{
  content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: var(--color-gold-600);
}
.nav-drawer a.drawer-sub:hover{ background: rgba(31,61,43,0.05); }

/* help card at the bottom */
.drawer-foot{ padding-top: 18px; }
.nav-drawer .drawer-contact{
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px;
  background: var(--color-forest-900); color: #fff;
}
.drawer-contact .drawer-ico{ background: rgba(255,255,255,0.12); border-color: transparent; color: #fff; }
.drawer-contact span:nth-child(2){ display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.drawer-contact small{ opacity: 0.75; font-size: 12px; }
.drawer-contact .drawer-chev{ color: rgba(255,255,255,0.7); }

html[dir=rtl] .drawer-group-panel-inner{ padding: 4px 58px 8px 0; }
html[dir=rtl] .nav-drawer a.drawer-sub::before{ left: auto; right: -14px; }
html[dir=rtl] .drawer-chev svg{ transform: scaleX(-1); }
.nav-drawer .drawer-group-toggle{ text-transform: none; letter-spacing: 0; font-size: 15.5px; font-weight: 600; color: var(--color-forest-900); justify-content: flex-start; }
.nav-drawer .drawer-gl{ font: inherit; }
.nav-drawer .drawer-contact strong{ font-size: 15px; font-weight: 700; font-family: var(--font-body); }

/* ==========================================================================
   ACCOUNT MENU (header dropdown) + desktop dropdowns — refreshed
   ========================================================================== */
.hdr-avatar{
  width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-success); color: #fff; font-weight: 800; font-size: 14px;
}
#accountMenuBtn{ background: rgba(31,61,43,0.06); }
.account-menu.is-open #accountMenuBtn{ box-shadow: 0 0 0 3px rgba(61,110,74,0.25); }

.account-menu-panel{
  min-width: 270px; padding: 8px; border-radius: 18px; border: 1px solid var(--color-line);
  box-shadow: 0 18px 40px rgba(20,38,28,0.16), 0 2px 6px rgba(20,38,28,0.06);
  transform: translateY(10px);
}
.am-head{ display: flex; align-items: center; gap: 12px; padding: 12px 10px 10px; }
.am-avatar{
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-success); color: #fff; font-weight: 800; font-size: 19px;
}
.am-who{ display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.am-who strong{ font-size: 15px; color: var(--color-forest-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-who small{ font-size: 12px; color: var(--color-ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-code{
  margin: 0 10px 8px; padding: 7px 10px; border-radius: 10px; background: var(--color-ivory, #f6f2e9);
  font-size: 12px; color: var(--color-ink-faint); display: flex; justify-content: space-between;
}
.am-code b{ color: var(--color-forest-900); letter-spacing: 1px; }
.am-list{ display: flex; flex-direction: column; padding: 4px 0; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.account-menu-panel a.am-item, .account-menu-logout{
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px;
  font-size: 14.5px; font-weight: 600; color: var(--color-forest-900); text-align: start;
}
.account-menu-panel a.am-item:hover{ background: rgba(31,61,43,0.06); }
.am-ico{
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(31,61,43,0.06); color: var(--color-forest-800);
}
.am-ico svg{ width: 18px; height: 18px; }
.am-badge{
  margin-inline-start: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: #b3261e; color: #fff; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.account-menu-logout{ width: 100%; margin-top: 4px; color: #b3261e; }
.account-menu-logout .am-ico{ background: rgba(179,38,30,0.08); color: #b3261e; }
.account-menu-logout:hover{ background: rgba(179,38,30,0.06); }
html[dir=rtl] .account-menu-panel{ right: auto; left: 0; }

/* Desktop dropdowns (My Day / Business / Mordevo Family) */
.mega-panel{
  border-radius: 20px; padding: 14px; border: 1px solid var(--color-line);
  box-shadow: 0 18px 40px rgba(20,38,28,0.16), 0 2px 6px rgba(20,38,28,0.06);
}
.mega-heading{ padding: 10px 12px 6px; }
.mega-item{ align-items: center; padding: 10px 12px; border-radius: 14px; }
.mega-item:hover{ background: rgba(31,61,43,0.05); }
.mega-num{
  width: 34px; height: 34px; min-width: 34px; border-radius: 10px; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(176,137,60,0.12); color: var(--color-gold-600);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.mega-item:hover .mega-num{ background: var(--color-success); color: #fff; }
.mega-title{ font-size: 14.5px; }
.mega-item{ gap: 14px; }

/* ==========================================================================
   INNER PAGES — refreshed look (softer corners, cards, compact mobile spacing)
   ========================================================================== */
:root{ --radius-sm: 10px; --radius-md: 14px; --radius-lg: 18px; }

.btn{ border-radius: 12px; }
.btn-sm{ border-radius: 10px; }
.input, select.input, textarea.input{ border-radius: 12px; border-color: #ddd6c6; min-height: 48px; }
.input:focus{ border-color: var(--color-success); box-shadow: 0 0 0 4px rgba(61,110,74,0.14); }
.input[readonly]{ background: #f7f4ec; color: var(--color-ink-soft); }
.field label{ font-size: 13.5px; }
.card{ border-radius: 18px; box-shadow: 0 1px 2px rgba(20,38,28,0.04), 0 8px 24px rgba(20,38,28,0.05); }

/* less empty space above the content on inner pages */
body:not([data-route="home"]) #main > .section:first-child{ padding-top: 40px; }
@media (max-width: 820px){
  body:not([data-route="home"]) #main > .section:first-child{ padding-top: 22px; }
  body:not([data-route="home"]) #main > .section{ padding-bottom: 48px; }
  .h-1{ font-size: 2rem; }
}
.page-hero{ padding: 56px 0 40px; }
@media (max-width: 820px){ .page-hero{ padding: 34px 0 28px; } }
.route-crumb a{ text-decoration: none; color: var(--color-success); font-weight: 600; }

/* ---------- log in / sign up: one clean card ---------- */
body[data-route="login"] #main .container, body[data-route="register"] #main .container, body[data-route="forgot-password"] #main .container{
  background: #fff; border: 1px solid var(--color-line); border-radius: 22px;
  padding: 30px 26px; box-shadow: 0 10px 34px rgba(20,38,28,0.08); max-width: 440px !important;
}
body[data-route="login"] #main .container .h-1, body[data-route="register"] #main .container .h-1, body[data-route="forgot-password"] #main .container .h-1{ font-size: 1.9rem; margin-bottom: 20px; }
@media (max-width: 560px){
  body[data-route="login"] #main .container, body[data-route="register"] #main .container, body[data-route="forgot-password"] #main .container{ margin: 0 14px; padding: 24px 18px; width: auto; }
}
#crgRef::placeholder{ text-transform: none; letter-spacing: 0; }

/* ---------- account: tabs instead of a stacked list on phones ---------- */
.account-nav a{ border-radius: 12px; }
.account-nav a.is-current{ background: var(--color-success); color: #fff; }
.account-nav a:not(.is-current):hover{ background: rgba(31,61,43,0.06); }
@media (max-width: 800px){
  .account-nav{ display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 6px; scrollbar-width: none; }
  .account-nav::-webkit-scrollbar{ display: none; }
  .account-nav a{ white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--color-line); }
  .account-layout{ gap: 18px; }
}

/* ---------- cart ---------- */
.cart-line{ background: #fff; border: 1px solid var(--color-line); border-radius: 18px; padding: 14px; margin-bottom: 12px; }
.cart-line img{ border-radius: 12px; }
.cart-line-name{ font-family: var(--font-body); font-weight: 700; font-size: 1rem; }
.qty-control{ border-radius: 999px; background: #fff; }
.qty-control button{ width: 34px; height: 34px; }
.remove-link{ text-decoration: none; color: #b3261e; font-weight: 600; }
@media (max-width: 560px){
  .cart-line{ grid-template-columns: 64px 1fr auto; grid-template-areas: "img info info" "img qty price"; row-gap: 10px; align-items: center; }
  .cart-line > img{ grid-area: img; align-self: start; }
  .cart-line > div:nth-of-type(1){ grid-area: info; }
  .cart-line > .qty-control{ grid-area: qty; }
  .cart-line > .pc-price{ grid-area: price; justify-self: end; }
}

/* ---------- my orders ---------- */
.order-card{ background: #fff; border: 1px solid var(--color-line); border-radius: 18px; margin-bottom: 14px; overflow: hidden; transition: box-shadow var(--dur-fast), border-color var(--dur-fast); }
.order-card:hover{ border-color: #d9cfb8; box-shadow: 0 8px 24px rgba(20,38,28,0.07); }
.order-card .order-row{ border: 0; border-radius: 0; margin: 0; padding: 18px; }
.order-id{ font-family: var(--font-body); font-weight: 800; }
.order-card-actions{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--color-line); background: #fbf9f4; }
.order-card-actions .muted{ font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.order-card-actions .btn{ flex-shrink: 0; }

/* ---------- order tracking ---------- */
.track-card{ padding: 22px 16px 16px; }
.track-steps{ position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; }
.track-steps::before, .track-steps::after{ content: ""; position: absolute; top: 19px; left: 8.33%; height: 3px; border-radius: 3px; }
.track-steps::before{ right: 8.33%; background: var(--color-line); }
.track-steps::after{ width: calc((100% - 16.66%) * var(--track-pct) / 100); background: var(--color-success); transition: width .6s; }
.track-step{ position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; opacity: .45; }
.track-step.is-done, .track-step.is-current{ opacity: 1; }
.track-dot{ width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; background: #fff; border: 2px solid var(--color-line); }
.track-step.is-done .track-dot{ background: var(--color-success); border-color: var(--color-success); }
.track-step.is-current .track-dot{ background: #fff; border-color: var(--color-success); box-shadow: 0 0 0 5px rgba(61,110,74,0.15); }
.track-label{ font-size: 12px; font-weight: 600; color: var(--color-forest-900); line-height: 1.2; }
.track-step.is-current .track-label{ font-weight: 800; }
.track-msg{ text-align: center; margin: 16px 0 4px; font-weight: 600; color: var(--color-forest-900); }
@media (max-width: 560px){
  .track-dot{ width: 34px; height: 34px; font-size: 15px; }
  .track-steps::before, .track-steps::after{ top: 16px; }
  .track-label{ font-size: 10.5px; }
}
html[dir=rtl] .track-steps::after{ left: auto; right: 8.33%; }

/* ---------- menu & dish pages ---------- */
.product-card{ border-radius: 18px; overflow: hidden; }
.chip, .filter-chip{ border-radius: 999px; }
body[data-route="product"] .media-frame{ border-radius: 22px; overflow: hidden; }
body[data-route="product"] .qty-control{ height: 44px; }
body[data-route="product"] .hero-actions .btn{ min-height: 48px; }
.account-layout > *{ min-width: 0; }
.order-card .order-row > div{ min-width: 0; }

/* ==========================================================================
   HOME — tighter on phones: swipeable rows instead of very long stacks
   ========================================================================== */
@media (max-width: 640px){
  body[data-route="home"] #main .section{ padding-top: 44px; padding-bottom: 44px; }
  /* dishes and the "ways to work with us" cards become a swipeable row */
  body[data-route="home"] #main .grid:has(> .product-card),
  body[data-route="home"] #main .grid:has(> .destination-card){
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-right: -20px; padding-right: 20px; padding-bottom: 10px; scrollbar-width: none;
  }
  body[data-route="home"] #main .grid:has(> .product-card)::-webkit-scrollbar,
  body[data-route="home"] #main .grid:has(> .destination-card)::-webkit-scrollbar{ display: none; }
  body[data-route="home"] #main .grid > .product-card,
  body[data-route="home"] #main .grid > .destination-card{ flex: 0 0 78%; scroll-snap-align: start; }
  body[data-route="home"] #main .grid > .destination-card{ aspect-ratio: 4 / 5; min-height: 0; }
}
.destination-card{ border-radius: 20px; overflow: hidden; }
