/* ═══════════════════════════════════════════════
   ONRIZO SHOP — styles.css
   Font : Plus Jakarta Sans (Google Fonts)
   Theme: Deep navy · Orange accent · White cards
═══════════════════════════════════════════════ */

:root {
  --ink:       #111318;
  --ink-2:     #3c404f;
  --muted:     #8891a8;
  --border:    #e5e7ef;
  --bg:        #f4f5f9;
  --white:     #ffffff;
  --accent:    #ff6b00;
  --nav-bg:    #0f1729;
  --nav-txt:   #b8c4da;
  --blue:      #1a56db;
  --blue-lt:   #eff3ff;
  --green:     #0c9f5a;
  --green-lt:  #edfbf4;
  --orange-lt: #fff4eb;
  --r:         10px;
  --sh-sm:     0 1px 4px rgba(0,0,0,.07);
  --sh-md:     0 4px 18px rgba(0,0,0,.11);
  --sh-lg:     0 14px 44px rgba(0,0,0,.17);
  --font:      'Plus Jakarta Sans', sans-serif;
  --ease:      0.18s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  display: flex; flex-direction: column; min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a   { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
#siteHeader {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
#siteHeader.scrolled { box-shadow: var(--sh-md); }

.header-row {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 18px;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.site-logo .logo { height: 36px; width: auto; object-fit: contain; }
.logo-name { font-size: 1.18rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.logo-name span { color: var(--accent); }

/* Desktop search */
.header-search-wrap {
  flex: 1; max-width: 480px;
  position: relative; display: flex; align-items: center;
}
.hs-icon { position: absolute; left: 13px; width: 17px; height: 17px; stroke: var(--muted); pointer-events: none; }
#searchInput {
  width: 100%; padding: 9px 14px 9px 40px;
  border: 1.5px solid var(--border); border-radius: 999px;
  font: 500 .875rem/1 var(--font); background: var(--bg); color: var(--ink);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
#searchInput:focus {
  border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}

/* Right side */
.header-right { display: flex; align-items: center; gap: 7px; margin-left: auto; flex-shrink: 0; }

.hdr-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; border-radius: 999px;
  border: 1.5px solid var(--border); background: var(--bg);
  color: var(--ink); font-size: .81rem; font-weight: 600;
  white-space: nowrap; position: relative;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.hdr-btn svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; flex-shrink: 0; }
.hdr-btn:hover { background: var(--white); border-color: #999; transform: translateY(-1px); }
.hdr-label { display: none; }
@media (min-width: 860px) { .hdr-label { display: inline; } }

/* Cart badge */
.cart-badge {
  position: absolute; top: -5px; right: -5px;
  background: var(--accent); color: #fff;
  font-size: .6rem; font-weight: 800;
  min-width: 17px; height: 17px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; border: 2px solid var(--white);
}

/* Account button */
.account-wrap { position: relative; }
.acct-btn { background: var(--nav-bg) !important; border-color: var(--nav-bg) !important; color: #fff !important; }
.acct-btn svg { stroke: #fff !important; }
.acct-btn:hover { background: #1a2742 !important; border-color: #1a2742 !important; }
.chevron { width: 14px !important; height: 14px !important; transition: transform var(--ease); }
.account-wrap.open .chevron { transform: rotate(180deg); }

/* Dropdown */
.acct-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 298px; background: var(--white);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--sh-lg); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  z-index: 1100;
}
.account-wrap.open .acct-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-hero {
  display: flex; align-items: center; gap: 12px; padding: 17px 16px;
  background: linear-gradient(130deg, #0f1729 0%, #1e3256 100%);
}
.dh-avatar {
  width: 42px; height: 42px; border-radius: 999px; flex-shrink: 0;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
}
.dh-avatar svg { width: 21px; height: 21px; stroke: #fff; fill: none; }
.dh-title { font-size: .9rem; font-weight: 700; color: #fff; line-height: 1.2; }
.dh-sub   { font-size: .73rem; color: var(--nav-txt); margin-top: 3px; }

.dropdown-items { padding: 4px 0; }
.dd-item {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 15px; border-bottom: 1px solid var(--border);
  transition: background var(--ease);
}
.dd-item:last-child { border-bottom: none; }
.dd-item:hover { background: var(--bg); }

.dd-icon { width: 37px; height: 37px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.dd-icon svg { width: 17px; height: 17px; fill: none; }
.dd-icon--blue   { background: var(--blue-lt);   } .dd-icon--blue svg   { stroke: var(--blue);  }
.dd-icon--green  { background: var(--green-lt);  } .dd-icon--green svg  { stroke: var(--green); }
.dd-icon--orange { background: var(--orange-lt); } .dd-icon--orange svg { stroke: var(--accent);}

.dd-text { flex: 1; }
.dd-text strong { display: block; font-size: .84rem; font-weight: 700; color: var(--ink); }
.dd-text span   { display: block; font-size: .72rem; color: var(--muted); margin-top: 2px; }
.dd-arrow { width: 14px; height: 14px; flex-shrink: 0; stroke: var(--muted); fill: none; }

.dropdown-footer { padding: 9px 13px 13px; }
.dd-cta {
  display: block; padding: 11px 13px;
  background: linear-gradient(130deg, var(--accent) 0%, #ff9200 100%);
  color: #fff; border-radius: 9px;
  font-size: .79rem; font-weight: 700; text-align: center;
  transition: opacity var(--ease);
}
.dd-cta:hover { opacity: .88; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px;
}
.hamburger span {
  display: block; width: 22px; height: 2.5px;
  background: var(--ink); border-radius: 2px;
  transition: all .28s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile search bar */
.mobile-search-row {
  display: none; padding: 7px 14px 10px;
  position: relative; align-items: center;
  border-top: 1px solid var(--border);
}
.mobile-search-row svg { position: absolute; left: 26px; width: 16px; height: 16px; stroke: var(--muted); pointer-events: none; }
.mobile-search-row input {
  width: 100%; padding: 9px 14px 9px 38px;
  border: 1.5px solid var(--border); border-radius: 999px;
  font: 500 .875rem/1 var(--font); background: var(--bg);
  color: var(--ink); outline: none;
}
.mobile-search-row input:focus { border-color: var(--blue); background: var(--white); }

/* ═══════════════════════════════════════════════
   MEGA-MENU NAV — desktop
═══════════════════════════════════════════════ */
nav#nav {
  background: var(--nav-bg);
  position: relative; z-index: 1001;
  display: block !important;
  overflow: visible;
}

.nav-root {
  display: flex; align-items: stretch;
  flex-wrap: nowrap;
  padding: 0 10px; margin: 0; list-style: none;
  overflow: visible;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-root::-webkit-scrollbar { display: none; }

.nav-item { position: relative; display: flex; align-items: stretch; }

.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 13px;
  font-size: .78rem; font-weight: 600; color: var(--nav-txt);
  white-space: nowrap; cursor: pointer; position: relative;
  transition: color var(--ease), background var(--ease);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 13px; right: 13px;
  height: 2.5px; background: var(--accent); border-radius: 2px 2px 0 0;
  transform: scaleX(0); transition: transform var(--ease);
}
.nav-link:hover,
.nav-item.mega-open > .nav-link { color: #fff; background: rgba(255,255,255,.07); }
.nav-link.active { color: #fff; }
.nav-link.active::after { transform: scaleX(1); }

.nav-chev {
  width: 12px; height: 12px; flex-shrink: 0; stroke: var(--nav-txt);
  transition: transform var(--ease), stroke var(--ease);
}
.nav-item.mega-open > .nav-link .nav-chev { transform: rotate(180deg); stroke: #fff; }

/* Mega panel */
.mega-panel {
  display: flex; flex-wrap: wrap;
  position: absolute; top: 100%; left: 0;
  background: var(--white);
  border: 1px solid var(--border); border-radius: 0 0 14px 14px;
  box-shadow: var(--sh-lg);
  min-width: 460px; max-width: 900px;
  padding: 16px 8px 12px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  z-index: 1500; pointer-events: none;
}
.nav-item:nth-last-child(-n+4) .mega-panel { left: auto; right: 0; }
.nav-item.mega-open > .mega-panel {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}

.mega-col {
  min-width: 130px; flex: 1;
  padding: 0 10px 6px; border-right: 1px solid var(--border);
}
.mega-col:last-child { border-right: none; }

.mega-heading {
  font-size: .71rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink); margin-bottom: 8px; padding-bottom: 5px; border-bottom: 1.5px solid var(--border);
}
.mega-heading a { color: var(--ink); }
.mega-heading a:hover { color: var(--accent); }

.mega-sub {
  display: block; font-size: .77rem; font-weight: 500; color: var(--ink-2); padding: 4px 0;
  transition: color var(--ease), padding-left var(--ease);
}
.mega-sub:hover { color: var(--accent); padding-left: 5px; }

/* ═══════════════════════════════════════════════
   BANNER
═══════════════════════════════════════════════ */
.advertisement-section {
  position: relative; width: 100%; height: 380px;
  overflow: hidden; background: var(--nav-bg); margin-bottom: 0;
}
.advertisement-section img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .85s ease; z-index: 0;
}
.advertisement-section img.active { opacity: 1; z-index: 1; }

.banner-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 5;
}
.bdot {
  width: 8px; height: 8px; border-radius: 999px; border: none;
  background: rgba(255,255,255,.35); padding: 0; cursor: pointer;
  transition: background var(--ease), width var(--ease);
}
.bdot.active { background: #fff; width: 22px; }

.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  background: rgba(0,0,0,.28); color: #fff; border: none;
  width: 38px; height: 38px; border-radius: 999px;
  font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: background var(--ease);
}
.banner-arrow:hover { background: rgba(0,0,0,.6); }
.banner-arrow.prev { left: 14px; }
.banner-arrow.next { right: 14px; }

/* ── Tagline bar ─────────────────────────── */
.tagline-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  padding: 12px 16px;
  max-width: 1440px; margin: 0 auto;
}
.tagline-text {
  font-size: .98rem; font-weight: 700; color: var(--ink);
  font-family: var(--font); border: none; white-space: nowrap; overflow: visible;
}
.tagline-text span#text { color: var(--accent); }
.cursor { display: inline-block; color: var(--ink); animation: blink .7s steps(2,start) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.trust-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.trust-pills span {
  font-size: .71rem; font-weight: 700;
  color: var(--green); background: var(--green-lt);
  padding: 4px 10px; border-radius: 999px;
}

/* ═══════════════════════════════════════════════
   PRODUCTS — tight, full-width images, natural height
═══════════════════════════════════════════════ */
#products,
.products-section {
  columns: 2; column-gap: 8px;
  padding: 8px 6px 40px;          /* minimal left/right */
  max-width: 1440px; margin: 0 auto;
}
@media (min-width: 600px)  { #products, .products-section { columns: 3; } }
@media (min-width: 900px)  { #products, .products-section { columns: 4; } }
@media (min-width: 1200px) { #products, .products-section { columns: 5; column-gap: 10px; } }
@media (min-width: 1440px) { #products, .products-section { columns: 6; } }

.product {
  break-inside: avoid; display: inline-block; width: 100%;
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--border); overflow: hidden;
  cursor: pointer; margin-bottom: 8px;
  /* no padding — image goes edge to edge */
  padding: 0;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  text-align: left;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: #cdd0df; }

/* Full-width, natural height image */
.product img,
.product img.product-img {
  width: 100%;
  height: auto;          /* natural aspect ratio — no crop */
  object-fit: contain;   /* show full image */
  display: block;
  background: var(--bg); /* subtle bg while loading */
  transition: transform .35s ease;
}
.product:hover img { transform: scale(1.03); }

.product h2 {
  font-size: .8rem; font-weight: 600; color: var(--ink);
  line-height: 1.4; padding: 7px 9px 1px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  /* reset old styles */
  margin: 0; text-align: left; border: none;
}

.product p {
  font-size: .85rem; font-weight: 800;
  color: var(--accent); padding: 2px 9px 9px;
  margin: 0;
}

/* Skeleton loader */
.product.skeleton { pointer-events: none; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:.55} 50%{opacity:1} }
.skeleton-block { background: #e6e8f0; border-radius: 5px; }
.skeleton-img   { width: 100%; aspect-ratio: 1; border-radius: 0; display: block; }
.skeleton-line  { height: 11px; width: 80%; margin: 8px 9px 0; }
.skeleton-line.short { width: 46%; margin-bottom: 9px; }

.product-desc { display: none !important; }

/* ═══════════════════════════════════════════════
   FLOATING CART
═══════════════════════════════════════════════ */
#floatingCart {
  position: fixed; bottom: 22px; right: 18px;
  background: var(--nav-bg); color: #fff;
  padding: 11px 20px; border-radius: 999px;
  font-size: .84rem; font-weight: 700;
  display: none; align-items: center; gap: 6px;
  box-shadow: var(--sh-lg); z-index: 800;
  transition: transform var(--ease);
}
/* script.js sets display:block — we keep flex via inline */
#floatingCart[style*="block"] { display: flex !important; }
#floatingCart:hover { transform: scale(1.04); }

/* ═══════════════════════════════════════════════
   MODAL
═══════════════════════════════════════════════ */
.modal {
  display: none; position: fixed; inset: 0; z-index: 1200;
  background: rgba(10,12,20,.58); backdrop-filter: blur(4px);
  overflow: auto;
}
.modal-content {
  background: var(--white); margin: 4% auto;
  width: 92%; max-width: 570px;
  max-height: calc(100vh - 60px); overflow-y: auto;
  border-radius: 18px; box-shadow: var(--sh-lg);
  position: relative; padding: 14px;
  animation: modalUp .25s cubic-bezier(.22,1,.36,1);
}
@keyframes modalUp { from{transform:translateY(24px);opacity:0} to{transform:translateY(0);opacity:1} }

.close {
  float: right; font-size: 1.5rem; font-weight: 700;
  cursor: pointer; color: var(--muted);
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--ease), color var(--ease);
  margin: -2px -2px 4px 0;
}
.close:hover { background: var(--border); color: var(--ink); }

.modal-content h2 {
  font-size: 1.05rem; font-weight: 700; color: var(--ink);
  margin-top: 6px; padding-left: 4px; line-height: 1.4;
}
.modal-content p {
  font-size: .86rem; color: var(--ink-2);
  line-height: 1.7; padding: 4px 4px;
}
.modal-content img {
  width: 100%; border-radius: 8px; margin: 8px 0;
}

.main-image {
  width: 100%; max-width: 100%;
  display: block; margin: 6px auto;
  border-radius: 8px;
}
.extra-images { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.extra-images img.thumb {
  width: 62px; height: 62px; object-fit: cover;
  border-radius: 7px; border: 2px solid var(--border);
  cursor: pointer; transition: border-color var(--ease), transform var(--ease);
}
.extra-images img.thumb:hover { border-color: var(--accent); transform: scale(1.07); }

.modal-content .btns {
  display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap;
}
.modal-content button {
  flex: 1; min-width: 110px; padding: 11px 14px;
  border: none; border-radius: 9px;
  font-weight: 700; font-size: .83rem; font-family: var(--font);
  cursor: pointer; transition: opacity var(--ease), transform var(--ease);
}
.modal-content button:hover { opacity: .87; transform: translateY(-1px); }
.whatsapp-btn { background: #25D366; color: #fff; }
.add-to-cart  { background: var(--blue); color: #fff; }
.sell-btn     { background: #667eea; color: #fff; }

/* description expand */
.modal-desc {
  font-size: .86rem; color: var(--ink-2); line-height: 1.75;
  margin: 10px 0 4px; overflow: hidden;
  transition: max-height .35s ease;
}
.modal-desc.collapsed {
  max-height: 90px;
  -webkit-mask-image: linear-gradient(to bottom,black 50%,transparent 100%);
  mask-image: linear-gradient(to bottom,black 50%,transparent 100%);
  opacity: .9;
}
.modal-desc:not(.collapsed) { max-height: 2000px; opacity: 1; }
.modal-desc-toggle {
  display: inline-block; margin-bottom: 10px;
  font-size: .78rem; font-weight: 700; color: var(--blue);
  cursor: pointer; transition: color var(--ease);
}
.modal-desc-toggle:hover { color: #003fb3; text-decoration: underline; }

/* Toast */
#toastContainer { pointer-events: none; }
.onrizo-toast   { pointer-events: auto; font-family: var(--font); }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
footer {
  background: var(--nav-bg); color: var(--nav-txt);
  padding: 46px 18px 0; margin-top: auto; font-family: var(--font);
}
.footer-grid {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 34px; padding-bottom: 38px;
}
.footer-brand-name {
  font-size: 1.2rem; font-weight: 800; color: #fff;
  margin-bottom: 11px; letter-spacing: -.02em;
}
.footer-brand-name span { color: var(--accent); }
.footer-brand p { font-size: .83rem; line-height: 1.7; color: #7a8ba8; max-width: 270px; }

.social-icons { display: flex; gap: 10px; margin-top: 14px; }
.social-icons a img {
  width: 26px; height: 26px;
  filter: brightness(10) saturate(0); opacity: .5;
  transition: opacity var(--ease), transform var(--ease);
}
.social-icons a:hover img { opacity: 1; transform: scale(1.1); }

.footer-col h4 {
  font-size: .76rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .09em;
  color: #fff; margin-bottom: 13px;
}
.footer-col ul li + li { margin-top: 8px; }
.footer-col ul li a { font-size: .83rem; color: #7a8ba8; transition: color var(--ease); }
.footer-col ul li a:hover { color: #fff; }
.footer-col p { font-size: .83rem; color: #7a8ba8; margin-bottom: 7px; }

.footer-nl { margin-top: 18px; }
.footer-nl h4 { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: #fff; margin-bottom: 9px; }
.nl-row { display: flex; gap: 6px; }
.nl-row input {
  flex: 1; padding: 9px 11px;
  border: 1px solid #1e2e4a; border-radius: 7px;
  background: #18243d; color: #fff;
  font-size: .82rem; outline: none; font-family: var(--font);
}
.nl-row input:focus { border-color: var(--accent); }
.nl-row button {
  padding: 9px 13px; background: var(--accent); color: #fff;
  border: none; border-radius: 7px;
  font-size: .82rem; font-weight: 700;
  transition: opacity var(--ease);
}
.nl-row button:hover { opacity: .87; }

.footer-bottom {
  border-top: 1px solid #1a2640; text-align: center;
  padding: 15px; font-size: .76rem; color: #4b5d7a;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════
   MOBILE DRAWER
═══════════════════════════════════════════════ */
.mnd-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 1000;
  backdrop-filter: blur(2px);
}
.mnd-overlay.show { display: block; }

.mobile-nav-drawer {
  position: fixed; top: 0; left: -100%;
  width: min(82vw, 310px); height: 100%;
  background: var(--white); z-index: 1010;
  display: flex; flex-direction: column;
  box-shadow: var(--sh-lg);
  transition: left .26s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.mobile-nav-drawer.open { left: 0; }

#mndInner { display: flex; flex-direction: column; height: 100%; overflow: hidden; }

.mnd-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 15px; background: var(--nav-bg); flex-shrink: 0;
}
.mnd-title { font-size: .88rem; font-weight: 800; color: #fff; }
.mnd-close {
  background: rgba(255,255,255,.13); border: none; color: #fff;
  width: 28px; height: 28px; border-radius: 999px;
  font-size: .9rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

.mnd-scroll {
  flex: 1; overflow-y: auto; padding-bottom: 20px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}

.mnd-direct {
  display: flex; align-items: center; padding: 12px 15px;
  font-size: .84rem; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--border); background: var(--bg);
}
.mnd-direct:hover { color: var(--accent); }

.mnd-sec { border-bottom: 1px solid var(--border); }
.mnd-sec-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 11px 15px; background: none; border: none;
  font-size: .82rem; font-weight: 700; color: var(--ink); text-align: left; cursor: pointer;
  transition: background var(--ease);
}
.mnd-sec-btn:hover { background: var(--bg); }
.mnd-sec-btn svg { width: 13px; height: 13px; flex-shrink: 0; stroke: var(--muted); transition: transform var(--ease); }
.mnd-sec.open > .mnd-sec-btn { color: var(--accent); background: var(--bg); }
.mnd-sec.open > .mnd-sec-btn svg { transform: rotate(180deg); stroke: var(--accent); }

.mnd-sec-body { display: none; padding: 4px 0 8px; background: var(--bg); }
.mnd-sec.open > .mnd-sec-body { display: flex; flex-direction: column; }

.mnd-group-head {
  display: block; padding: 7px 18px 3px;
  font-size: .74rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-2); margin-top: 4px;
}
.mnd-group-head:hover { color: var(--accent); }

.mnd-sub {
  display: block; padding: 5px 18px 5px 26px;
  font-size: .8rem; font-weight: 500; color: var(--ink-2);
  transition: color var(--ease), padding-left var(--ease);
}
.mnd-sub:hover { color: var(--accent); padding-left: 30px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .header-search-wrap { display: none; }
  .mobile-search-row  { display: flex; }
  .hamburger { display: flex; }

  /* On mobile: hide the desktop mega nav completely */
  nav#nav { display: none !important; }

  .advertisement-section { height: 170px; }
  .banner-arrow { width: 30px; height: 30px; font-size: 1rem; }
  .tagline-bar { padding: 10px 12px; }
  .trust-pills span { font-size: .68rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand p { max-width: 100%; }
  .acct-dropdown { width: 280px; right: -4px; }
}

@media (max-width: 480px) {
  .header-row { padding: 0 10px; }
  .advertisement-section { height: 145px; }
  #products, .products-section { columns: 2; column-gap: 6px; padding: 6px 4px 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hdr-label { display: none !important; }
  .hdr-btn { padding: 7px 10px; }
}

/* Desktop: always hide mobile drawer */
@media (min-width: 769px) {
  .mobile-nav-drawer,
  .mnd-overlay { display: none !important; }
  .hamburger { display: none !important; }
}

/* ═══════════════════════════════════════════════
   PROMOTED PRODUCT BADGES
═══════════════════════════════════════════════ */
.product { position: relative; }

.promo-badge {
  position: absolute; top: 7px; left: 7px;
  font-size: .62rem; font-weight: 800;
  padding: 3px 8px; border-radius: 20px;
  letter-spacing: .04em; z-index: 3;
  pointer-events: none; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.badge-gold   { background: linear-gradient(135deg,#f59e0b,#d97706); color: #fff; }
.badge-silver { background: linear-gradient(135deg,#94a3b8,#64748b); color: #fff; }
.badge-bronze { background: linear-gradient(135deg,#c2855a,#a0603a); color: #fff; }

.is-promoted { box-shadow: 0 0 0 2px rgba(245,158,11,.35), var(--sh-sm) !important; }
.promo-tier-3 { box-shadow: 0 0 0 2.5px #f59e0b, 0 4px 18px rgba(245,158,11,.25) !important; }
.promo-tier-2 { box-shadow: 0 0 0 2px #94a3b8, 0 4px 14px rgba(148,163,184,.2) !important; }
.promo-tier-1 { box-shadow: 0 0 0 2px #c2855a, 0 4px 12px rgba(194,133,90,.18) !important; }

/* This makes the navigation line animate */
.flowing-line {
    stroke-dasharray: 10, 10;
    animation: flow 20s linear infinite;
}

@keyframes flow {
    from { stroke-dashoffset: 200; }
    to { stroke-dashoffset: 0; }
}

/* Style for the moving Rider Icon */
.rider-emoji {
    font-size: 24px;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.3));
}