/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Full mobile-first, app-like feel
   Breakpoints: 480 · 640 · 768 · 1024 · 1280
   ═══════════════════════════════════════════════════════ */

/* ── GLOBAL ──────────────────────────────────────── */
/* Prevent all horizontal scroll on every device */
html, body { overflow-x: hidden !important; }
/* Navbar itself never scrolls and never creates a scrollbar */
.navbar {
  overflow: visible !important;  /* allow dropdowns to show */
  /* Do NOT use contain:layout — breaks position:fixed dropdowns */
}
/* All navbar children constrained to viewport width */
.navbar__inner,
.navbar__center-nav,
.navbar__menu,
.navbar__menu-inner,
.navbar__actions {
  max-width: 100vw !important;
  box-sizing: border-box !important;
  overflow: visible !important;   /* no scrollbars anywhere in nav */
}
/* Only the horizontal menu row itself can scroll (touch scroll for overflow items) */
.navbar__menu-inner {
  overflow-x: auto !important;
  overflow-y: visible !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.navbar__menu-inner::-webkit-scrollbar { display: none !important; }
@media (max-width: 768px) {
  /* Update navbar height variable for mobile */
  :root { --navbar-h: 56px; }

  /* ── CRITICAL: push ALL content below the 56px fixed navbar ── */
  /* The hero section is fullscreen so it gets negative margin to start at 0 */
  body { padding-top: 56px !important; }

  /* Hero is fullscreen — pulls up to fill viewport including navbar area */
  .hero  { margin-top: -56px !important; padding-top: 0 !important; }

  /* Non-hero pages: content starts below navbar with breathing room */
  .plp  { padding-top: 16px !important; }
  .pd   { padding-top: 72px !important; }
  .vs   { padding-top: 72px !important; }
  .blp  { padding-top: 72px !important; }
  /* Sections after body padding: no extra top needed */
  .stats-banner { margin-top: 0 !important; }
}
.container  { width: 100%; max-width: 1440px; overflow-x: hidden; }
img, video, svg, iframe { max-width: 100%; }

/* Hide on mobile, show on desktop */
.hide-mobile  { display: none !important; }
.show-mobile  { display: block !important; }
@media (min-width: 769px) {
  .hide-mobile  { display: unset !important; }
  .show-mobile  { display: none !important; }
}

/* ── TOPBAR ──────────────────────────────────────── */
@media (max-width: 768px) { .topbar { display: none; } }

/* ── NAVBAR ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .navbar__search { max-width: 100%; }
  .search-box__category { min-width: 100px; font-size: .78rem; }
  .navbar__inner { gap: 16px; }
}

@media (max-width: 768px) {
  /* ── NAVBAR: single fixed row, no wrap, no scroll ── */
  .navbar {
    position: fixed !important; top: 0; left: 0; right: 0;
    overflow: visible !important;
    background: var(--surface-lowest, #0e0e0e) !important;
    border-bottom: 1px solid rgba(77,70,53,.35);
    /* Fixed height — prevents any vertical growth */
    height: 56px !important;
    z-index: var(--z-sticky, 200);
  }
  .navbar__inner {
    height: 56px !important;
    padding: 0 14px !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;    /* CRITICAL — no wrapping */
    overflow: visible !important;
    align-items: center !important;
    display: flex !important;
    justify-content: space-between !important;
  }
  .navbar__logo { flex-shrink: 0; }
  .navbar__logo-text { font-size: .9rem; }
  .navbar__logo-icon { width: 30px; height: 30px; font-size: .9rem; }

  /* Hide inline search box — use search trigger overlay instead */
  .navbar__search { display: none !important; }

  /* Actions — compact, single row */
  .navbar__actions {
    gap: 8px !important; margin-left: auto;
    flex-shrink: 0 !important; flex-wrap: nowrap !important;
    display: flex !important; align-items: center !important;
  }
  .navbar__action-label { display: none; }
  .navbar__badge { top: -4px; right: -6px; min-width: 16px; height: 16px; font-size: 9px; }
  .navbar__actions .btn--sm { padding: 5px 10px; font-size: .68rem; white-space: nowrap; }
  .navbar__actions .btn--primary { display: none !important; }

  /* Search trigger — always visible on mobile */
  .navbar__search-trigger { display: flex !important; flex-shrink: 0; }

  /* Nav menu row — horizontal scroll, no vertical overflow */
  .navbar__menu {
    overflow: hidden !important;
    width: 100%; max-width: 100vw;
  }
  .navbar__menu-inner {
    overflow-x: auto !important; overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important; flex-wrap: nowrap !important;
    padding: 0 4px; max-width: 100vw;
  }
  .navbar__menu-inner::-webkit-scrollbar { display: none; }
  .navbar__menu-item { padding: 8px 12px; font-size: .73rem; white-space: nowrap !important; flex-shrink: 0; }

  /* Dropdown full-width */
  .dropdown-panel {
    position: fixed; top: auto;
    left: 0 !important; right: 0 !important;
    width: 100vw !important; max-width: 100vw !important; min-width: 0 !important;
    border-radius: 0 0 16px 16px;
    max-height: 60vh; overflow-y: auto; overflow-x: hidden;
  }
  .dropdown-panel__grid { grid-template-columns: 1fr 1fr; gap: 6px; }
}

/* ── HERO ────────────────────────────────────────── */
.hero, .hero__carousel { max-width: 100%; overflow: hidden; }

@media (max-width: 1024px) {
  .hero__title { font-size: clamp(2.2rem, 5vw, 3.5rem); }
  .hero__counter { left: 40px; }
}

@media (max-width: 768px) {
  /* Override to 50% viewport on mobile */
  .hero              { height: 50vh !important; height: 50dvh !important; min-height: 320px !important; }
  .hero__carousel    { height: 100% !important; min-height: 0 !important; }
  .hero__slide       { height: 100% !important; min-height: 0 !important; }

  /* Fix image crop — show top of image, prevent head cut-off */
  .hero__bg-img,
  .hero__bg-video {
    object-position: center 20% !important;
  }

  .hero__content   {
    padding: 90px 20px 60px; /* 56px navbar + 34px breathing room */
    text-align: center; align-items: center;
  }
  .hero__text { max-width: 100%; }
  .hero__title { font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1.15; }
  .hero__tag   { display: none !important; }
  .hero__desc  { display: none !important; } /* hide description on mobile — title + CTA only */
  .hero__actions { flex-direction: column; align-items: center; gap: 10px; margin-bottom: 32px; }
  .hero__actions .btn { width: 100%; max-width: 260px; text-align: center; justify-content: center; padding: 13px 20px; }
  /* Hide secondary CTA on mobile */
  .hero__actions .btn:nth-child(2) { display: none; }
  /* HIDE: arrows, counter, progress bar, stats — all clutter on mobile */
  .hero__prev, .hero__next { display: none !important; }
  .hero__counter { display: none !important; }
  .hero__progress { display: none !important; }
  .hero__stats { display: none !important; }
  .hero__prev  { left: 10px;  width: 36px; height: 36px; }
  .hero__next  { right: 10px; width: 36px; height: 36px; }
  .hero__counter { display: none; }
  .hero__progress { height: 2px; }
}

/* ── FEATURED PRODUCTS (.pc) ─────────────────────── */
@media (max-width: 1024px) {
  .fp-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 768px) {
  .fp-section { padding: 48px 0; }
  .fp-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
  /* Hide tabs on mobile — space is precious */
  .fp-tabs { display: none; }
  .fp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
  .fp-eyebrow { font-size: .72rem; }
  .fp-title { font-size: 1.5rem; }
  .pc__img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #fff;
  }
  .pc__img-wrap > a {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
  }
  .pc__img {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
    padding: 8px;
    background: #fff;
  }
  .pc__avatar {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .pc__body { padding: 10px 12px 12px; gap: 4px; }
  .pc__title { font-size: .84rem; }
  .pc__desc  { display: none; } /* hide desc on mobile */
  .pc__price { font-size: .95rem; }
  .pc__vendor { font-size: .55rem; }
  .pc__moq    { display: none; }
  .pc__hover-bar { transform: translateY(0); opacity: 1; } /* always show on mobile */
  .pc__add-cart { font-size: .72rem; padding: 8px; }
}
@media (max-width: 400px) {
  .fp-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ── CTA SPLIT ───────────────────────────────────── */
@media (max-width: 768px) {
  .cta-split { grid-template-columns: 1fr; }
  .cta-card  { padding: 40px 24px; min-height: 220px; }
  .cta-card__title { font-size: 1.3rem; }
  .cta-card__desc  { font-size: .84rem; }
  .cta-card__icon  { display: none; }
}

/* ── STATS BANNER ────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-banner__inner { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
  .stats-banner__item { border-right: none; border-bottom: 1px solid rgba(77,70,53,.2); }
  .stats-banner__item:nth-child(3),
  .stats-banner__item:nth-child(4) { border-bottom: none; }
}
@media (max-width: 480px) {
  .stats-banner { padding: 32px 0; }
  .stats-banner__inner { grid-template-columns: 1fr 1fr; padding: 0 16px; gap: 0; }
  .stats-banner__icon { width: 36px; height: 36px; }
  .stats-banner__number { font-size: 1.3rem; }
  .stats-banner__text span { font-size: .72rem; }
}

/* ── CATEGORIES ──────────────────────────────────── */
@media (max-width: 1024px) { .categories-grid { grid-template-columns: repeat(5, 1fr) !important; } }
@media (max-width: 768px)  {
  .categories-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 8px !important; }
  .category-card { padding: 12px 6px; }
  .category-card__img { width: 44px; height: 44px; }
  .category-card__body h3 { font-size: .65rem; }
  /* Hide sub-label on mobile */
  .category-card__body span { display: none; }
}
@media (max-width: 480px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 6px !important; }
  .category-card__img { width: 36px; height: 36px; }
}

/* ── REGIONS (Shop by State) ─────────────────────── */
@media (max-width: 1024px) {
  .rg-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .rg-section { padding: 48px 0; }
  .rg-head {
    flex-direction: column; gap: 10px;
    margin-bottom: 20px;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .rg-title   { font-size: 1.5rem; text-align: left !important; }
  .rg-eyebrow { text-align: left !important; }
  .rg-more    { align-self: flex-start; }
  .rg-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .rg-card--wide, .rg-card--tall,
  .rg-card--wide.rg-card--tall { grid-column: span 1; grid-row: span 1; min-height: 110px; }
  .rg-card--wide { grid-column: span 2; min-height: 140px; }
  .rg-card__name { font-size: .82rem; }
  .rg-card__desc { display: none; }
}

/* ── TESTIMONIALS ────────────────────────────────── */
.testimonials-carousel { overflow: hidden !important; max-width: 100%; }
.testimonials-track { max-width: 100%; }
@media (max-width: 768px) {
  .testimonial-card {
    min-width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px);
    padding: 20px 16px !important;
  }
  .testimonial-card__text { font-size: .88rem; }
  .testimonials-prev { left: -2px; }
  .testimonials-next { right: -2px; }
}

/* ── JOURNAL / BLOG ──────────────────────────────── */
@media (max-width: 768px) {
  .journal-section { padding: 48px 0; }
  .journal-head {
    flex-direction: column; gap: 10px;
    margin-bottom: 20px;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .journal-title { font-size: 1.5rem; text-align: left !important; }
  .journal-eyebrow { text-align: left !important; }
  .journal-more { align-self: flex-start; }
  .journal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }
  .journal-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
  }
  .journal-card--feat { grid-row: span 1; }
  .journal-card__img {
    position: relative;
    display: block;
    height: 160px;
    overflow: hidden;
    background: #1f1f21;
  }
  .journal-card__real-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .journal-card__cat {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 7px;
    background: rgba(14,14,14,.78);
    color: #f2ca50;
    font-size: .56rem;
  }
  .journal-card__body { padding: 16px; }
  .journal-card__title { font-size: .95rem; }
  .journal-card__excerpt { display: none; }
}
@media (min-width: 481px) and (max-width: 768px) {
  .journal-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ── NEWSLETTER ──────────────────────────────────── */
@media (max-width: 768px) {
  .newsletter__inner {
    flex-direction: column !important; text-align: center; gap: 20px !important;
    padding: 48px 16px !important;
  }
  .newsletter__form {
    flex-direction: column !important; min-width: 0 !important; width: 100% !important;
  }
  .newsletter__form input  { padding: 14px 16px !important; font-size: 16px !important; }
  .newsletter__form .btn   { width: 100% !important; padding: 14px !important; justify-content: center; }
  /* Hide verbose newsletter text on mobile */
  .newsletter__text p { display: none; }
  .newsletter__text h2 { font-size: 1.3rem; }
}

/* ── FOOTER ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr !important; gap: 28px !important; padding: 0 24px 60px; }
  .footer__col--brand { grid-column: span 3; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr 1fr !important; gap: 24px !important; padding: 0 16px 48px; }
  .footer__col--brand { grid-column: span 2; }
  /* Hide some footer link columns on mobile to reduce clutter */
  .footer__col:nth-child(4) { display: none; }
}
@media (max-width: 480px) {
  .footer { padding-top: 40px !important; }
  .footer__grid {
    grid-template-columns: 1fr !important; gap: 20px !important;
    padding: 0 16px 40px;
  }
  .footer__col--brand { grid-column: span 1; }
  .footer__col:nth-child(3),
  .footer__col:nth-child(4) { display: none; }
  .footer__bottom {
    flex-direction: column !important; gap: 10px !important;
    text-align: center; padding: 16px 16px !important;
    font-size: .72rem;
  }
  .footer__bottom-links { justify-content: center; flex-wrap: wrap; gap: 8px; }
  .footer__desc { font-size: .8rem; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ── MOBILE BOTTOM NAV ───────────────────────────── */
.mobile-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(14,14,14,.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(77,70,53,.35);
  z-index: 500;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(0,0,0,.4);
  max-width: 100vw; overflow: hidden;
}
@media (max-width: 768px) {
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}
.mobile-bottom-nav__item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 2px; padding: 5px 0;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: rgba(153,144,124,.7); text-decoration: none;
  transition: color .15s; position: relative;
  -webkit-tap-highlight-color: transparent;
}
.mobile-bottom-nav__item svg { transition: transform .2s; }
.mobile-bottom-nav__item:active svg { transform: scale(.88); }
.mobile-bottom-nav__item.active { color: #f2ca50; }
.mobile-bottom-nav__item.active svg { color: #f2ca50; }
.mobile-bottom-nav__badge {
  position: absolute; top: 2px; right: calc(50% - 18px);
  min-width: 16px; height: 16px;
  background: #f2ca50; color: #131313;
  font-size: 9px; font-weight: 800;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}

/* ── GENERAL SECTION PADDING ON MOBILE ───────────── */
@media (max-width: 768px) {
  section, .section { padding: 40px 0 !important; }
  .container { padding-left: 16px; padding-right: 16px; }

  /* Section headers — force left align on mobile */
  .section__header, .rg-head, .fp-head, .journal-head,
  .states-header, .cta-split .cta-card__body {
    margin-bottom: 18px;
    text-align: left !important;
    align-items: flex-start !important;
  }
  .section__title, .rg-title, .fp-title, .journal-title,
  .rg-eyebrow, .fp-eyebrow, .journal-eyebrow,
  .section__tag {
    font-size: 1.4rem;
    text-align: left !important;
  }
  /* Eyebrow labels */
  .rg-eyebrow, .fp-eyebrow, .journal-eyebrow, .section__tag {
    font-size: .72rem;
    text-align: left !important;
    display: block;
  }
  /* Hide secondary section subtitles on mobile */
  .section__header p { display: none; }

  /* Horizontal scrollable filter tabs */
  .fp-tabs, .filter-tabs, .section__tabs {
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; flex-wrap: nowrap !important;
  }
  .fp-tabs::-webkit-scrollbar,
  .filter-tabs::-webkit-scrollbar { display: none; }

  /* Touch targets */
  .btn { min-height: 44px; }

  /* iOS input zoom prevention */
  input:not([type=checkbox]):not([type=radio]),
  select, textarea { font-size: 16px !important; }
}

/* ── TABLET ───────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  .container { padding: 0 24px; }
  .fp-section, .rg-section, .cta-split,
  .journal-section, .stats-banner { padding: 64px 0; }
}

/* ── LARGE ────────────────────────────────────────── */
@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}