/* =================================================================
   FÁBS AFRICA — tablet (≤ 1100px)
   ================================================================= */
@media (max-width: 1100px) {
  :root { --gutter: 24px; --header-h: 60px; }

  /* Header: hamburger instead of the full nav */
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; }

  .mega-inner { grid-template-columns: 1fr 1fr; }

  .hero { height: 78vh; min-height: 520px; }
  .hero-copy { left: 28px; right: 28px; bottom: 36px; }

  .stockist-hero { height: 78vh; min-height: 520px; }
  .stockist-partner { padding: 72px 0; }
  .stockist-pillars { grid-template-columns: 1fr 1fr; }
  .about-makers-list { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .about-manifesto { padding: 96px 0; }
  .about-founder-inner { gap: 48px; }
  .bulk-split-inner, .bulk-split-rev .bulk-split-inner { gap: 40px; }
  .bulk-steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .bulk-terms { padding: 88px 0; }
  .bulk-terms-grid-4 { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .bulk-faq-inner { grid-template-columns: 1fr; gap: 32px; }

  .product-slider { grid-auto-columns: calc((100% - var(--gutter) * 2 - 16px * 2.5) / 3.3); }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .perks-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 24px; }

  /* Shop: filters slide in from the left */
  .shop-layout { grid-template-columns: 1fr; padding-top: 20px; }
  .shop-filters {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 95;
    width: 340px; max-width: 88vw; max-height: none; background: var(--white);
    padding: 20px 24px 32px; transform: translateX(-100%); transition: transform .45s var(--ease);
  }
  .shop-filters.open { transform: none; }
  .filters-close { display: inline-flex; }
  .filters-open { display: inline-flex; }
  .filters-backdrop { position: fixed; inset: 0; z-index: 94; background: rgba(13,13,13,.45); }
  .shop-filters.open + .shop-main + .filters-backdrop,
  body.filters-open .filters-backdrop { display: block; }
  .grid-toggle { display: none; }

  /* Product page stacks */
  .product-page { grid-template-columns: 1fr; }
  .product-media, .product-media.has-thumbs { grid-template-columns: 1fr; position: static; padding: 0; gap: 10px; }
  .gallery-main { grid-column: 1; grid-row: 1; }
  .gallery-item { aspect-ratio: 4 / 5; max-height: none; cursor: default; }
  .gallery-arrow { display: none; }
  .gallery-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 0 var(--gutter); }
  .gallery-thumb { width: 64px; }
  .gallery-item.zoomed img { transform: none; }
  .gallery-dots { display: flex; justify-content: center; gap: 6px; padding: 14px 0 0; }
  .gallery-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .3s, width .3s; }
  .gallery-dots span.active { background: var(--black); width: 18px; border-radius: 3px; }
  .product-info { position: static; }
  .product-info-inner { max-width: 720px; margin: 0 auto; padding: 24px var(--gutter) 48px; }

  .cart-layout, .checkout-layout { grid-template-columns: 1fr; gap: 32px; }
  .checkout-summary { position: static; }
  .account-forms { grid-template-columns: 1fr; }
  .order-card { grid-template-columns: 1.4fr 1fr 1fr 1fr 24px; }
  .order-card > div:nth-child(3) { display: none; }

  /* No hover on touch: show quick add only on devices that can hover */
  @media (hover: none) {
    .pc-quick { display: none; }
    .pc-img-hover { display: none; }
  }

  /* Policy pages: drop the side nav column */
  .policy-inner { grid-template-columns: 1fr; gap: 40px; }
  .policy-nav { position: static; }
}
