/* ═══════════════════════════════════════════════════════════════
   CAFÉ SIGLO DE ORO — Premium Mobile Experience v1
   Engineered mobile-first. Every px intentional.
   Target: iPhone SE (375px) → iPhone Pro Max (430px) → Tablet (768px)
═══════════════════════════════════════════════════════════════ */

/* ── System utilities ───────────────────────────────────────── */
:root {
  /* Safe areas for notched devices */
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left,  0px);
  --safe-right:  env(safe-area-inset-right, 0px);
  /* Touch-safe minimum tap size */
  --tap-min: 44px;
  /* Mobile font scale */
  --fs-xs:  .72rem;
  --fs-sm:  .82rem;
  --fs-md:  .9rem;
  --fs-base: 1rem;
  --fs-lg:  1.15rem;
  --fs-xl:  1.4rem;
  --fs-2xl: 1.75rem;
  /* Spacing rhythm */
  --sp-xs: .5rem;
  --sp-sm: .75rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  /* Mobile header height — used everywhere */
  --mob-header: 62px;
}

/* Prevent horizontal overflow globally */
html, body { overflow-x: hidden; max-width: 100vw; }

/* ══════════════════════════════════════════════════════════════
   HEADER — Premium mobile with animated hamburger
══════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .header {
    height: var(--mob-header);
    padding: 0 max(1rem, var(--safe-left)) 0 max(1rem, var(--safe-right));
    --header-h: var(--mob-header);
  }

  .logo img { height: 36px; }

  .header-actions {
    gap: .6rem;
  }

  /* Cart button — bigger tap target */
  .cart-btn {
    width: var(--tap-min);
    height: var(--tap-min);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
  }
  .cart-btn svg { width: 20px; height: 20px; }

  /* Language switcher — compact */
  .lang-switcher {
    font-size: .7rem;
    letter-spacing: .04em;
    gap: .2rem;
  }

  /* Hamburger — bigger, smoother */
  .menu-toggle {
    width: var(--tap-min);
    height: var(--tap-min);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border-radius: 8px;
    transition: background .2s;
    -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle:active { background: rgba(212,168,48,.08); }
  .menu-toggle span { width: 20px; height: 1.5px; }

  main { padding-top: var(--mob-header); }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE NAV — Full-screen drawer with smooth animation
══════════════════════════════════════════════════════════════ */
.mobile-nav {
  /* Override existing styles completely */
  display: block !important;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,8,6,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 998;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(var(--mob-header) + 1.5rem) 1.5rem 2rem;
  padding-bottom: max(2rem, var(--safe-bottom));
  /* Slide-in animation */
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .38s cubic-bezier(.32,0,.67,0),
              opacity .28s ease,
              visibility .38s;
  /* Layout */
  display: flex !important;
  flex-direction: column;
  gap: 0;
}
.mobile-nav.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  transition: transform .38s cubic-bezier(.33,1,.68,1),
              opacity .25s ease,
              visibility 0s;
}
@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}

/* Nav links */
.mobile-nav a {
  display: flex;
  align-items: center;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 5vw, 1.6rem);
  font-weight: 600;
  color: rgba(245,236,215,.85);
  padding: .85rem 0;
  border-bottom: 1px solid rgba(212,168,48,.08);
  text-decoration: none;
  letter-spacing: -.01em;
  transition: color .2s, padding-left .2s, border-color .2s;
  /* Stagger animation support */
  opacity: 0;
  transform: translateX(20px);
}
.mobile-nav.open a {
  opacity: 1;
  transform: translateX(0);
  transition: color .2s, padding-left .2s,
    opacity .35s cubic-bezier(.33,1,.68,1),
    transform .35s cubic-bezier(.33,1,.68,1);
}
/* Stagger delays */
.mobile-nav.open a:nth-child(1) { transition-delay: .06s; }
.mobile-nav.open a:nth-child(2) { transition-delay: .10s; }
.mobile-nav.open a:nth-child(3) { transition-delay: .14s; }
.mobile-nav.open a:nth-child(4) { transition-delay: .18s; }
.mobile-nav.open a:nth-child(5) { transition-delay: .22s; }
.mobile-nav.open a:nth-child(6) { transition-delay: .26s; }
.mobile-nav.open a:nth-child(7) { transition-delay: .30s; }

.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a:active { color: var(--gold); }

/* Haptic-feel active state */
.mobile-nav a::after {
  content: '→';
  margin-left: auto;
  color: var(--gold-dark);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: transform .2s, color .2s;
  opacity: 0;
  transform: translateX(-8px);
}
.mobile-nav a:active::after { opacity: 1; transform: translateX(0); color: var(--gold); }

/* Mobile nav footer actions */
.mobile-nav-actions {
  margin-top: auto;
  padding-top: 1.5rem;
  padding-bottom: var(--safe-bottom);
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s .35s ease, transform .3s .35s ease;
}
.mobile-nav.open .mobile-nav-actions {
  opacity: 1;
  transform: translateY(0);
}
/* CTA button inside nav */
.mobile-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: var(--black);
  border-radius: 4px;
  padding: .75rem 1.5rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-cta:active { background: var(--gold-light); color: var(--black); }

/* Body scroll lock when nav open */
body.nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ══════════════════════════════════════════════════════════════
   HERO — Perfect mobile sizing
══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .hero {
    min-height: calc(100svh - var(--mob-header));
    padding: 2.5rem 0 3rem;
    align-items: center;
  }
  .hero-content {
    padding: 0 1.25rem;
  }
  .hero-badge {
    font-size: .65rem;
    padding: .3rem .8rem;
    margin-bottom: 1.25rem;
  }
  .hero h1 {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 1rem;
  }
  .hero-sub {
    font-size: .88rem;
    margin-bottom: 1.75rem;
    line-height: 1.65;
  }
  .hero-ctas {
    flex-direction: column;
    gap: .75rem;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: .875rem;
  }
  .hero-scroll { bottom: 1.25rem; }
}

/* ══════════════════════════════════════════════════════════════
   TRUST BAR — 2×2 grid on mobile
══════════════════════════════════════════════════════════════ */
@media (max-width: 639px) {
  .trust-bar { padding: 1rem 0; }
  .trust-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem 1rem;
    padding: 0 1.25rem;
  }
  .trust-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .35rem;
    font-size: .72rem;
  }
  .trust-item svg { width: 18px; height: 18px; }
}
@media (min-width: 640px) and (max-width: 767px) {
  .trust-bar-inner { gap: 1rem 1.5rem; }
  .trust-item { font-size: .75rem; }
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT GRID & CARDS — Touch-optimised
══════════════════════════════════════════════════════════════ */
@media (max-width: 479px) {
  .products-grid { grid-template-columns: 1fr; gap: 1rem; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

@media (max-width: 767px) {
  .product-card-body { padding: 1rem; }
  .product-card-body h3, .product-card-body h2 { font-size: .9rem; }
  .product-subtitle { font-size: .75rem; margin-bottom: .35rem; }
  .product-flavor { font-size: .75rem; margin-bottom: .6rem; -webkit-line-clamp: 2; }
  .product-price { font-size: 1.2rem; margin-bottom: .65rem; }
  .product-card-actions {
    flex-direction: column;
    gap: .5rem;
  }
  .product-card-actions .btn {
    width: 100%;
    min-height: var(--tap-min);
    justify-content: center;
  }
  /* Keep view button as row on tiny screens */
  .product-card-actions .btn-sm {
    width: auto;
    align-self: flex-end;
  }
}

/* ══════════════════════════════════════════════════════════════
   HOME SUBSCRIPTION CTA — Fix broken inline 2-col grid
══════════════════════════════════════════════════════════════ */
.home-sub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .home-sub-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Plan cards in subscription CTA */
.home-plan-card {
  background: var(--roast);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
@media (max-width: 479px) {
  .home-plan-card { padding: .85rem 1rem; }
}

/* ══════════════════════════════════════════════════════════════
   PROCESS STEPS — Mobile optimised
══════════════════════════════════════════════════════════════ */
@media (max-width: 539px) {
  .process-steps {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
    gap: 1.25rem;
  }
  .process-step { text-align: left; display: flex; gap: 1rem; align-items: flex-start; }
  .step-num { margin: 0; flex-shrink: 0; width: 40px; height: 40px; font-size: .9rem; }
  .process-step h3 { font-size: .9rem; margin-bottom: .25rem; }
  .process-step p { font-size: .78rem; }
}
@media (min-width: 540px) and (max-width: 767px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

/* ══════════════════════════════════════════════════════════════
   ABOUT SECTION — Mobile
══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .about-grid { gap: 1.75rem; }
  .about-img img { max-height: 320px; object-fit: cover; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: .85rem; margin-top: 1.25rem; }
  .about-stat-number { font-size: 1.25rem; }
}

/* ══════════════════════════════════════════════════════════════
   SECTION TYPOGRAPHY — Mobile scales
══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .section { padding: 3rem 0; }
  .section-title { margin-bottom: 1.75rem; }
  .section-title h2 { font-size: clamp(1.3rem, 6vw, 1.85rem); }
  .section-title p { font-size: .875rem; }
}

/* ══════════════════════════════════════════════════════════════
   SUBSCRIPTIONS PAGE — Mobile carousel
══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .subs-hero { padding: 2.5rem 0 1.5rem; }
  .subs-hero h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .subs-hero p { font-size: .875rem; padding: 0 .5rem; }

  .subs-carousel-wrap {
    margin: 0 -1rem;
    padding: 0 1rem;
  }
  .subs-track { gap: .85rem; padding-bottom: 1.25rem; }

  .sub-card {
    width: min(calc(100vw - 3.5rem), 300px);
    padding: 1.35rem;
  }
  .sub-card h3 { font-size: 1rem; }
  .sub-quantity { font-size: 1.2rem; }
  .sub-price { font-size: 1.65rem; }
  .sub-cta .btn {
    font-size: .8rem;
    padding: .85rem 1rem;
    min-height: var(--tap-min);
  }

  .subs-dots { padding-top: .65rem; }
}

/* ══════════════════════════════════════════════════════════════
   SHOP PAGE — Mobile
══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .shop-header { padding: 1.75rem 0 1.25rem; }
  .shop-header h1 { font-size: clamp(1.4rem, 7vw, 2rem); }

  /* Category filter as horizontal scroll */
  .category-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 1.25rem .5rem;
    margin: 0 -1.25rem 1.75rem;
    gap: .5rem;
    scrollbar-width: none;
  }
  .category-filters::-webkit-scrollbar { display: none; }
  .filter-btn {
    flex-shrink: 0;
    min-height: 36px;
    padding: .4rem 1rem;
    font-size: .72rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE — Mobile
══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .product-detail {
    gap: 1.5rem;
    padding: 1.25rem 0 3rem;
  }

  /* Sticky gallery image on mobile — scrolls with content */
  .product-gallery { position: static; }

  .product-main-img img { padding: 1rem; }
  .product-thumbs { gap: .5rem; }
  .product-thumb { width: 60px; height: 60px; }

  .product-info h1 { font-size: clamp(1.35rem, 6vw, 1.75rem); }
  .product-price-lg { font-size: 1.65rem; }

  .product-specs { gap: .5rem; }
  .spec-item { padding: .6rem .8rem; }
  .spec-label { font-size: .62rem; }
  .spec-value { font-size: .82rem; }

  /* Sticky CTA bar at bottom */
  .product-cta {
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    padding: .85rem 1.25rem;
    padding-bottom: max(.85rem, var(--safe-bottom));
    background: rgba(12,10,7,.97);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    z-index: 100;
    margin: 0;
    gap: .65rem;
    flex-wrap: nowrap;
  }
  .product-cta .btn { min-height: var(--tap-min); }
  .product-cta .btn-primary { flex: 1; }

  /* Space for sticky CTA */
  .product-detail-wrap { padding-bottom: 80px; }

  .qty-btn { width: var(--tap-min); height: var(--tap-min); }
  .qty-input { width: 50px; height: var(--tap-min); }
}

/* ══════════════════════════════════════════════════════════════
   CART PAGE — Mobile
══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .cart-layout {
    gap: 1.5rem;
    padding: 1.25rem 0 6rem;
    grid-template-columns: 1fr;
  }
  .cart-item { gap: 1rem; padding: 1rem 0; }
  .cart-item-img { width: 70px; height: 70px; }
  .cart-item-name { font-size: .85rem; }

  /* Sticky cart summary on mobile */
  .cart-summary {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    border-radius: 16px 16px 0 0;
    padding: 1.25rem;
    padding-bottom: max(1.25rem, var(--safe-bottom));
    border: none;
    border-top: 1px solid var(--border-md);
    box-shadow: 0 -8px 32px rgba(0,0,0,.5);
    z-index: 100;
    background: var(--espresso);
  }
  .cart-summary h3 { font-size: .9rem; }
}

/* ══════════════════════════════════════════════════════════════
   CONTACT FORM — Mobile
══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .contact-grid { padding: 1.5rem 0 3rem; gap: 2rem; }
  .contact-form-card { padding: 1.25rem; border-radius: var(--r); }
  .form-group input, .form-group textarea, .form-group select {
    min-height: var(--tap-min);
    font-size: 1rem; /* prevent iOS zoom on focus */
    padding: .75rem 1rem;
  }
  .form-group textarea { min-height: 120px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   FAQ — Mobile
══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .faq-question {
    padding: .9rem 0;
    font-size: .875rem;
    min-height: var(--tap-min);
  }
  .faq-icon { width: 24px; height: 24px; font-size: .9rem; flex-shrink: 0; }
  .faq-answer p { font-size: .83rem; }
}

/* ══════════════════════════════════════════════════════════════
   BLOG PAGE — Mobile
══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Hero section */
  .blog-hero-section {
    min-height: 80svh;
  }
  .blog-hero-content {
    padding: 2rem 1.25rem 2.5rem;
  }
  .blog-hero-content h1 { font-size: clamp(1.55rem, 7vw, 2.2rem); line-height: 1.15; }
  .blog-hero-excerpt { font-size: .85rem; line-height: 1.6; margin-bottom: 1.35rem; }
  .blog-hero-read {
    padding: .85rem 1.35rem;
    font-size: .78rem;
  }

  /* Category nav */
  .blog-cats-nav { padding: .6rem 0; }
  .blog-cats-inner { padding: 0 1rem; gap: .5rem; }
  .blog-cat-filter-btn {
    padding: .38rem .85rem;
    font-size: .68rem;
    min-height: 34px;
  }

  /* Blog layout */
  .blog-layout {
    padding: 2rem 1rem 3.5rem;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Secondary cards */
  .blog-secondary { grid-template-columns: 1fr; gap: 1rem; }
  .blog-card-sec-body { padding: 1rem 1.1rem 1.25rem; }
  .blog-card-sec-body h2 { font-size: 1rem; }
  .blog-card-sec-body p { -webkit-line-clamp: 2; }

  /* Main grid */
  .blog-grid { grid-template-columns: 1fr; gap: 1rem; }
  .blog-card-body { padding: .9rem 1rem 1rem; }
  .blog-card-body h3 { font-size: .9rem; }
  .blog-card-excerpt { -webkit-line-clamp: 2; font-size: .77rem; }

  /* Newsletter */
  .blog-newsletter { padding: 1.75rem 1.25rem; }
  .blog-newsletter h2 { font-size: 1.2rem; }
  .blog-newsletter p { font-size: .82rem; }
  .blog-newsletter-form {
    flex-direction: column;
    gap: .6rem;
  }
  .blog-newsletter-input, .blog-newsletter-btn {
    width: 100%;
    min-height: var(--tap-min);
  }

  /* Sidebar — moves below content on mobile */
  .blog-sidebar { gap: 1.5rem; }
  .sidebar-widget-body { padding: .9rem 1rem; }
  .trending-item { gap: .65rem; }
  .trending-img { width: 52px; height: 40px; }

  /* Product strip */
  .blog-product-strip { padding: 1.5rem 1.25rem; }
  .blog-product-mini-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }

  /* Sidebar hidden on mobile — show only trending and shop cta */
  .blog-sidebar .sidebar-widget:nth-child(3),
  .blog-sidebar .sidebar-widget:nth-child(4) { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   BLOG POST — Mobile reader
══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .blog-post-content { padding: 1rem 0; }
  .blog-post-content h2 { font-size: 1.15rem; }
  .blog-post-content p { font-size: .9rem; line-height: 1.75; }
}

/* ══════════════════════════════════════════════════════════════
   GLOBAL TOUCH & BUTTON POLISH
══════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  /* All buttons get tap-safe minimum height */
  .btn {
    min-height: var(--tap-min);
    -webkit-tap-highlight-color: transparent;
  }
  .btn:active { transform: scale(.97); }
  .btn-primary:active { background: var(--gold-light); }
  .btn-outline:active { background: rgba(212,168,48,.12); }

  /* Inputs — prevent iOS auto-zoom (font-size must be ≥16px) */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  input[type="password"],
  textarea,
  select {
    font-size: 1rem !important;
  }

  /* Remove hover effects on touch (prevents sticky hover states) */
  @media (hover: none) {
    .product-card:hover { transform: none; box-shadow: none; }
    .blog-card:hover { transform: none; box-shadow: none; }
    .blog-card-sec:hover { transform: none; box-shadow: none; }
    .sub-card:hover { transform: none; }
    .btn:hover { transform: none; box-shadow: none; }
  }
}

/* ══════════════════════════════════════════════════════════════
   ADMIN PANEL — Mobile responsive
══════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  /* Shell */
  .adm-shell { flex-direction: column; }
  .adm-main { min-height: auto; }

  /* Sidebar on mobile */
  .adm-sidebar {
    width: 280px;
    box-shadow: none;
  }

  /* Topbar */
  .adm-topbar {
    padding: 0 1rem;
    height: 60px;
  }
  .adm-topbar-title { font-size: 1rem; }
  .adm-topbar-right { gap: .4rem; }
  .adm-topbar-right .adm-btn { display: none; }
  .adm-topbar-right .adm-btn:last-child { display: inline-flex; }

  /* Content */
  .adm-content {
    padding: 1.25rem 1rem;
  }

  /* Stats grid */
  .adm-stats { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
  .adm-stats .adm-stat:last-child { grid-column: 1 / -1; }
  .adm-stat { padding: .85rem 1rem; }
  .adm-stat-val { font-size: 1.5rem; }

  /* Quick links */
  .adm-quick-links { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
  .adm-quick-link { padding: 1rem; }
  .adm-quick-icon { font-size: 1.4rem; }
  .adm-quick-title { font-size: .82rem; }
  .adm-quick-desc { font-size: .7rem; }

  /* Tables */
  .adm-table thead th { font-size: .58rem; padding: .5rem .75rem; }
  .adm-table tbody td { padding: .75rem .75rem; font-size: .78rem; }

  /* Cards */
  .adm-card-header { padding: .85rem 1rem; flex-wrap: wrap; }
  .adm-card-header h2 { font-size: .88rem; }
  .adm-card-body { padding: 1rem; }

  /* Modals */
  .adm-modal {
    padding: 1.25rem;
    max-height: calc(100svh - 2rem);
    border-radius: 12px;
  }
  .adm-form-row { grid-template-columns: 1fr; }

  /* Admin SEO layout */
  .seo-layout { grid-template-columns: 1fr; }
  .seo-nav { display: none; }
  .seo-body { padding: 1.25rem 1rem; }

  /* Leads CRM */
  .adm-toolbar { flex-wrap: wrap; }
  .adm-search { min-width: 100%; flex: none; }
  .adm-filter-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .25rem; scrollbar-width: none; }
  .adm-filter-tabs::-webkit-scrollbar { display: none; }
}

@media (max-width: 479px) {
  .adm-stats { grid-template-columns: 1fr 1fr; }
  .adm-quick-links { grid-template-columns: 1fr 1fr; }

  .adm-table-wrap { font-size: .72rem; }
  .adm-actions { gap: .2rem; }
  .adm-action-btn { width: 26px; height: 26px; font-size: .75rem; }

  /* SEO page nav as horizontal scroll */
  .seo-nav { display: block; position: static; height: auto; border-right: none; border-bottom: 1px solid rgba(212,168,48,.1); }
  .seo-nav > div { display: none; }
  .seo-nav { display: flex; overflow-x: auto; padding: .5rem; gap: .25rem; scrollbar-width: none; }
  .seo-nav::-webkit-scrollbar { display: none; }
  .seo-nav-item { white-space: nowrap; padding: .45rem .85rem; border-left: none; border-bottom: 2px solid transparent; font-size: .7rem; }
  .seo-nav-item.active { border-bottom-color: #D4A830; border-left: none; }
}

/* ══════════════════════════════════════════════════════════════
   TABLET (768–1023px) — Fine-tuning
══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1023px) {
  .header { padding: 0 1.5rem; }
  .logo img { height: 42px; }

  .hero h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
  .hero-ctas .btn { padding: .9rem 1.85rem; }

  .trust-bar-inner { gap: 1.5rem; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }

  .home-sub-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  .blog-layout { grid-template-columns: 1fr; }
  .blog-secondary { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .blog-sidebar > .sidebar-widget:nth-child(3) { display: block; }

  .adm-stats { grid-template-columns: repeat(3, 1fr); }
  .adm-quick-links { grid-template-columns: repeat(4, 1fr); }
}

/* ══════════════════════════════════════════════════════════════
   BREADCRUMB — Mobile
══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .breadcrumb {
    font-size: .72rem;
    padding-top: 1rem;
    gap: .3rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   TOAST NOTIFICATION — Mobile
══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .toast {
    left: 1rem;
    right: 1rem;
    bottom: max(1rem, var(--safe-bottom));
    max-width: none;
  }
}

/* ══════════════════════════════════════════════════════════════
   SCROLLBAR — Hide on mobile globally
══════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  ::-webkit-scrollbar { display: none; }
  * { scrollbar-width: none; }
}

/* ══════════════════════════════════════════════════════════════
   ACCESSIBILITY — Focus states for keyboard / screen readers
══════════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}
.btn:focus-visible { outline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--gold); border-radius: 2px; }
button:focus-visible { outline: 2px solid var(--gold); }

