/* =============================================================================
   Responsive — Tablet & Mobile Layout
   Mobile-first enhancements layered on top of the base CSS.

   Strategy (Facebook / YouTube mobile pattern):
   ─ ≤ 768px  (mobile): sidebar hidden, bottom nav bar, full-width content,
                         hamburger opens a full overlay drawer
   ─ 769–1024px (tablet): sidebar stays as 64px icon rail,
                           content takes remaining width
   ─ ≥ 1025px (desktop): unchanged from base CSS
   ============================================================================= */

/* ===========================================================================
   SECTION 1 — Mobile (≤ 768px)
   =========================================================================== */
@media (max-width: 768px) {

  /* Increase header height on mobile for more visual presence */
  :root {
    --header-height: 60px;
  }

  /* ── 1.1  DESKTOP SIDEBAR — completely hidden on mobile ─────────────────── */
  /* The sidebar is a desktop-only element. On mobile the mob-nav-overlay     */
  /* handles navigation. We hide the sidebar with zero size and no visibility. */
  .sidebar {
    display: none !important;
  }

  /* ── 1.2  CONTENT — full width, no left margin ──────────────────────────── */
  .page-content-wrap,
  .page-body.sidebar-open .page-content-wrap,
  .community-overlay-sidebar .page-content-wrap,
  .community-overlay-sidebar.sidebar-open .page-content-wrap {
    margin-left: 0 !important;
    max-width: 100vw !important;
    width: 100% !important;
    padding-bottom: 68px; /* clear the 60px bottom nav + a little breathing room */
  }

  /* Generic page-content class — same mobile resets */
  main.page-content {
    padding-bottom: 68px;
  }

  html, body { overflow-x: hidden; }

  /* ── 1.3  MOBILE NAV OVERLAY ────────────────────────────────────────────── */
  /* Full-screen overlay — hidden by default, toggled by hamburger            */
  /* Prevent scroll when mobile nav is open */
  body.mobile-nav-open {
    overflow: hidden;
  }

  .mob-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: #1a1a2e;         /* dark brand colour */
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Use opacity + visibility for smooth transitions */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    will-change: opacity, visibility;
    /* GPU acceleration for smooth animations */
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  /* Use class-based toggle instead of [hidden] attribute for better performance */
  .mob-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  /* Header row */
  .mob-nav-overlay__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    flex-shrink: 0;
    background: rgba(0,0,0,.2); /* slightly darker header band */
  }
  .mob-nav-overlay__title {
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: .02em;
    text-transform: uppercase;
  }
  /* Accent bar under the brand name */
  .mob-nav-overlay__title span {
    color: #e94560;
  }
  .mob-nav-overlay__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: none;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: background, transform;
  }
  .mob-nav-overlay__close:hover {
    background: rgba(255,255,255,.2);
    transform: rotate(90deg);
  }

  /* ── Overlay body: scrollable container for grouped sections ─────────────── */
  .mob-nav-overlay__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    will-change: scroll-position;
  }
  .mob-nav-overlay__section {
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .mob-nav-overlay__section-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.35);
    padding: 12px 20px 4px;
    margin: 0;
  }

  /* 2-column grid of nav tiles */
  .mob-nav-overlay__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,.07);
  }

  .mob-nav-overlay__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #1a1a2e;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    transition: background 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 54px;
    position: relative;
    border-left: 3px solid transparent; /* reserve space for active border */
    will-change: background-color;
  }
  .mob-nav-overlay__item i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    color: rgba(255,255,255,.45);
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .mob-nav-overlay__item:hover {
    background: rgba(255,255,255,.07);
    color: #fff;
  }
  .mob-nav-overlay__item:hover i { color: #e94560; }

  /* Active tile — solid left border + highlight bg, matching your reference */
  .mob-nav-overlay__item.is-active {
    background: rgba(107,15,43,.55);  /* dark maroon tint, matches brand */
    color: #fff;
    border-left-color: #e94560;
  }
  .mob-nav-overlay__item.is-active i { color: #e94560; }

  /* Auth footer */
  .mob-nav-overlay__auth {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255,255,255,.1);
    flex-shrink: 0;
  }
  .mob-nav-overlay__auth-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: .9375rem;
    font-weight: 600;
    transition: background .15s, color .15s;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .mob-nav-overlay__auth-link i { font-size: 1rem; width: 22px; text-align: center; }
  .mob-nav-overlay__auth-link:hover { background: rgba(255,255,255,.07); color: #fff; }
  .mob-nav-overlay__auth-link--signin { color: #e94560; }
  .mob-nav-overlay__auth-link--signin i { color: #e94560; }
  .mob-nav-overlay__auth-link--logout  { color: rgba(233,100,100,.8); }
  .mob-nav-overlay__auth-link--logout i { color: rgba(233,100,100,.8); }

  /* ── 1.4  HERO ──────────────────────────────────────────────────────────── */
  .hero {
    width: 100vw !important;
    margin-left: 0 !important;
  }
  .hero__content,
  .page-body.sidebar-open .hero__content {
    left: var(--space-5) !important;
    right: var(--space-5) !important;
    max-width: 100% !important;
    bottom: var(--space-10) !important;
  }
  .hero__arrow--prev,
  .page-body.sidebar-open .hero__arrow--prev {
    left: var(--space-3) !important;
  }

  /* ── 1.5  HEADER ─────────────────────────────────────────────────────────  */

  /* The inner wrapper just needs to fill the header — the mob-row handles layout */
  .header__inner {
    padding: 0;
    gap: 0;
    width: 100%;
  }

  /* Hide the desktop left/center/right structure on mobile */
  .header__left,
  .header__center--desktop,
  .header__right,
  .header__mob-search-btn {
    display: none !important;
  }

  /* Hide currency entirely */
  .header__currency { display: none !important; }

  /* ── MOBILE NAV ROW ──────────────────────────────────────────────────────
   * Full-width row across the 60px header.
   * Logo takes ~32% of width (up to 140px); 7 icon slots share the rest equally.
   * Order: Logo | ☰ | Events | Artists | Search | Cart | Bell/Login | Avatar
   * ─────────────────────────────────────────────────────────────────────── */
  .header__mob-row {
    display: flex !important;
    align-items: center;           /* vertically centre everything */
    width: 100%;
    height: 60px;                  /* match header height exactly */
    gap: 0;
    padding: 0 2px;
    margin: 0;
    list-style: none;
    overflow: hidden;
  }

  /* ── Logo slot — dominant, left-anchored ─────────────────────────────── */
  .header__mob-slot--logo {
    flex: 0 0 auto;                /* don't flex — size to content */
    width: 22%;                    /* tighter slot — logo is small now */
    min-width: 60px;
    max-width: 90px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 4px 0 6px;
    text-decoration: none;
  }
  .header__mob-slot--logo img,
  .header__mob-slot--logo .site-logo--header {
    height: 18px !important;
    max-height: 18px !important;
    width: auto !important;
    max-width: 100%;
    display: block;
    object-fit: contain;
  }

  /* ── All icon slots — equal share of remaining 72% ───────────────────── */
  .header__mob-slot {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    color: #555;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    position: relative;
    font-size: inherit;
    transition: color .15s, transform .1s;
    min-height: unset;
    min-width: 0;
  }

  /* Icon size — bigger, bolder strokes */
  .header__mob-slot svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    display: block;
    flex-shrink: 0;
  }
  .header__mob-slot i {
    font-size: 1.2rem;
    display: block;
  }

  /* Hover — highlight colour + slight scale */
  .header__mob-slot:hover {
    color: var(--color-highlight, #e94560);
    transform: scale(1.12);
  }

  /* Active state — filled highlight colour + indicator dot */
  .header__mob-slot.is-active {
    color: var(--color-highlight, #e94560);
  }
  .header__mob-slot.is-active svg {
    stroke: var(--color-highlight, #e94560);
    filter: drop-shadow(0 0 4px rgba(233,69,96,.35));
  }
  /* Active dot indicator below the icon */
  .header__mob-slot.is-active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-highlight, #e94560);
  }

  /* Avatar slot — coloured circle */
  .header__mob-slot--avatar {
    flex: 1 1 0;
    width: 30px;
    height: 30px;
    max-width: 36px;
    border-radius: 50%;
    background: var(--color-highlight, #e94560);
    color: #fff;
    font-size: .85rem;
    font-weight: 800;
    line-height: 1;
    margin: auto;
    padding: 0;
    transform: none !important;   /* no scale on avatar */
  }

  /* Cart / bell badge */
  .header__mob-badge {
    position: absolute;
    top: 9px;
    right: calc(50% - 16px);
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    background: var(--color-highlight, #e94560);
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
    z-index: 2;
    min-height: unset;
    border: 1.5px solid #fff;     /* white border so badge pops off icon */
  }
  .header__mob-badge--hidden { display: none !important; }

  /* Mobile search panel */
  .mob-search-panel {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    z-index: 299;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    padding: 10px 12px;
    transform: translateY(-6px);
    opacity: 0;
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
  }
  .mob-search-panel:not([hidden]) {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .mob-search-panel__inner { position: relative; }
  .search-wrapper--mob { width: 100%; border-radius: var(--radius-full, 999px); }
  #mob-search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-radius: var(--radius-full, 999px) 0 0 var(--radius-full, 999px);
    color: var(--header-icon, #0f0f0f);
    padding: 0 16px;
    height: 44px;
    font-size: 1rem;
    outline: none;
  }
  .mob-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    max-height: 60vh;
    overflow-y: auto;
    border: 1px solid #e5e5e5;
    z-index: 500;
  }

  /* ── 1.6  BOTTOM NAV BAR ─────────────────────────────────────────────────  */
  .bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: #fff;
    border-top: 1px solid #ececec;
    z-index: 400;
    align-items: stretch;
    box-shadow: 0 -4px 20px rgba(0,0,0,.09);
  }
  .bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #888;
    text-decoration: none;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 8px 0 6px;
    transition: color .15s;
    position: relative;
    min-height: unset;
  }

  /* Icon container — the pill that fills on active */
  .bottom-nav__item::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 28px;
    border-radius: 14px;
    background: transparent;
    transition: background .2s;
    z-index: 0;
  }
  .bottom-nav__item.active::before {
    background: rgba(233,69,96,.12);
  }

  /* Icon sits above the pill */
  .bottom-nav__item i {
    font-size: 1.2rem;
    line-height: 1;
    position: relative;
    z-index: 1;
  }
  /* Label */
  .bottom-nav__item span {
    position: relative;
    z-index: 1;
  }

  .bottom-nav__item.active,
  .bottom-nav__item:hover { color: var(--color-highlight, #e94560); }

  /* Remove old top-border indicator */
  .bottom-nav__item.active::after { display: none; }

  .bottom-nav__badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 20px);
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    background: var(--color-highlight, #e94560);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    min-height: unset;
    z-index: 2;
  }

  /* ── 1.7  SECTION LAYOUT ─────────────────────────────────────────────────  */
  .section    { padding-block-start: var(--space-2); padding-block-end: var(--space-10); }
  .section-sm { padding-block-start: var(--space-2); padding-block-end: var(--space-8); }
  .container  { padding-inline: var(--space-4); }

  /* ── 1.8  GRIDS ──────────────────────────────────────────────────────────  */
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }

  /* ── 1.9  FEATURED SECTION ───────────────────────────────────────────────  */
  .featured-section { grid-template-columns: 1fr; }
  .featured-section__right { min-height: 56vw; background-attachment: scroll; }
  .featured-section__left  { padding: var(--space-10) var(--space-5); }
  .featured-section__video-card { right: var(--space-3); bottom: var(--space-3); max-width: 200px; }

  /* ── 1.10  ARTIST PROFILE ────────────────────────────────────────────────  */
  .artist-hero__inner { flex-direction: column; text-align: center; gap: var(--space-5); }
  .artist-hero__photo, .artist-hero__photo-placeholder { width: 160px; height: 160px; }
  .artist-hero__social, .artist-hero__tags, .artist-hero__follow-row { justify-content: center; }
  /* Keep social icons in a horizontal row, never a column */
  .artist-hero__social { flex-direction: row !important; flex-wrap: wrap !important; }
  /* Discography grid 2-up on mobile — tight gap to prevent overflow */
  .discog-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  /* Streaming icons — wrap so nothing gets clipped */
  .streaming-icons { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; overflow: visible !important; }

  /* ── 1.11  EVENTS ────────────────────────────────────────────────────────  */
  .event-row {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-3);
    padding: var(--space-4);
  }
  .event-row__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .event-row__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
    background: var(--color-bg-light, #f5f5f5);
    border-radius: var(--radius-sm, 6px);
    padding: 6px 10px;
  }
  .event-row__date-day { font-size: var(--font-size-2xl); line-height: 1; }
  .event-row__date-month { font-size: .7rem; }
  .event-row__date-year  { font-size: .65rem; }

  /* ── 1.12  MERCH ─────────────────────────────────────────────────────────  */
  .merch-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  /* Wishlist always visible on touch screens */
  .merch-card__wishlist { opacity: 1 !important; }

  /* ── 1.13  SHOP PRODUCT ──────────────────────────────────────────────────  */
  .shop-product__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .shop-product__trust { flex-direction: column; gap: var(--space-3); }

  /* ── 1.14  CART ──────────────────────────────────────────────────────────  */
  .shop-cart__layout { grid-template-columns: 1fr; gap: var(--space-5); }
  .shop-cart__summary { position: static; }
  /* Cart table — hide quantity column on very small screens to prevent overflow */
  .shop-cart-table th:nth-child(3), .shop-cart-table td:nth-child(3) { display: none; }
  /* New cart layout */
  .cart-layout { grid-template-columns: 1fr; gap: var(--space-4); }
  .cart-items-panel { overflow-x: auto; }

  /* ── 1.15  CHECKOUT ──────────────────────────────────────────────────────  */
  .checkout-page {
    padding: 20px 0 80px;
    /* Remove the extra top margin — header height is already accounted for
       by page-content-wrap padding-top from the fixed header */
    margin-top: 0;
  }
  /* On mobile: show order summary ABOVE the form (reverse DOM order visually) */
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    /* Reverse so summary shows first on mobile */
    display: flex;
    flex-direction: column;
  }
  .checkout-form-col  { order: 2; }
  .checkout-summary   { order: 1; position: static; }
  /* All form rows collapse to single column */
  .checkout-row,
  .checkout-row--3    { grid-template-columns: 1fr; }
  /* City / ZIP / Country: 2 columns on mobile (city gets full width) */
  .checkout-row--3    { grid-template-columns: 1fr 1fr; }
  .checkout-row--3 .form-group:first-child { grid-column: 1 / -1; }
  .checkout-step span { width: 24px; height: 24px; font-size: .7rem; }
  .checkout-section   { padding: var(--space-5) var(--space-4); }
  /* Progress steps: shrink text on mobile */
  .checkout-steps     { gap: 0; margin-bottom: 24px; }
  .checkout-step      { font-size: .75rem; gap: 4px; }
  .checkout-step-sep  { margin: 0 6px; }

  /* ── 1.16  BOOKING ───────────────────────────────────────────────────────  */
  .booking-section { grid-template-columns: 1fr; gap: var(--space-6); }

  /* ── 1.17  SOCIAL FEED ───────────────────────────────────────────────────  */
  .social-layout { grid-template-columns: 1fr; padding: calc(var(--header-height) + 12px) 12px 80px; gap: 10px; }
  .social-sidebar--left { position: static; width: 100%; }
  .social-sidebar--right { display: none; }
  .social-sidebar__inner { max-height: none; overflow: visible; }
  .social-sidebar--left .social-sidebar__card:first-child:not(:last-child) { display: none; }
  .social-profile-header { flex-direction: column; gap: var(--space-4); }

  /* ── 1.18  FOOTER ────────────────────────────────────────────────────────  */
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer__bottom { flex-direction: column; text-align: center; gap: var(--space-3); }
  .newsletter-widget__form { flex-direction: column; }

  /* ── 1.19  NEWS & EVENTS STRIP ───────────────────────────────────────────  */
  .nec-card { flex: 0 0 200px; height: 140px; }
  .news-events-section__title { font-size: var(--font-size-2xl); }

  /* ── 1.20  MISC GRIDS ────────────────────────────────────────────────────  */
  .news-layout, .news-grid,
  .services-grid,
  .ir-grid, .investor-grid,
  .video-grid     { grid-template-columns: 1fr !important; }
  .streaming-grid,
  .stats-grid,
  .home-merch-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* ── 1.21  HEADER-HEIGHT MARGIN FIXES ────────────────────────────────────
   * Several full-bleed hero sections use margin-top: var(--header-height)
   * to clear the fixed header. On mobile the header shrinks to 60px but the
   * variable still resolves to 72px, creating a 12px orphan gap.
   * Nullifying these margins here is safe because .page-content-wrap already
   * handles header clearance via padding-top on all pages.
   * ─────────────────────────────────────────────────────────────────────── */
  .svc-slider,
  .sd-hero,
  .tix-hero,
  .ne-hero,
  .pj-parallax-hero,
  .psd-hero,
  .shop-cart,
  .shop-breadcrumb {
    margin-top: 0;
  }
  /* Services slider: shrink height on mobile so it doesn't dominate the screen */
  .svc-slider {
    height: 56vw;
    max-height: 380px;
    min-height: 240px;
  }
  /* Also recalc the svc-hero padding that eats too much space on mobile */
  .svc-hero {
    padding-bottom: var(--space-10);
  }

  /* ── 1.21  SEARCH ────────────────────────────────────────────────────────  */
  #search-input, #search-input::placeholder { font-size: var(--font-size-xs); }

  /* ── 1.22  MODAL ─────────────────────────────────────────────────────────  */
  .modal-overlay { padding: var(--space-4); align-items: flex-end; }
  .modal { border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 85vh; }

  /* ── 1.23  DROPDOWNS — full width ────────────────────────────────────────  */
  /* The notif-dropdown is hidden on mobile via JS (bottom sheet used instead).
     Profile dropdown shows full-width when opened on mobile. */
  .header__notif-dropdown {
    display: none !important;
  }
  .header__profile-dropdown {
    position: fixed;
    top: var(--header-height); left: 0; right: 0;
    max-width: 100%; min-width: unset;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    max-height: 70vh; overflow-y: auto;
  }

  /* ── 1.24  TYPOGRAPHY ────────────────────────────────────────────────────  */
  h1 { font-size: var(--font-size-2xl); }
  h2 { font-size: var(--font-size-xl); }
  .section-title { font-size: var(--font-size-2xl); }

  /* ── 1.25  TOUCH TARGETS ─────────────────────────────────────────────────  */
  button, .btn { min-height: 44px; }
  .form-control { padding: var(--space-4); font-size: var(--font-size-base); }

  /* Hero slider dots — must NOT get the 44px treatment */
  .hero__dot {
    width: 8px !important;
    height: 8px !important;
    min-width: unset !important;
    min-height: unset !important;
    padding: 0 !important;
  }

  /* Arrow buttons on hero — allow natural sizing */
  .hero__arrow {
    min-height: unset !important;
    min-width: unset !important;
  }

  /* ── 1.26  BOOKING ───────────────────────────────────────────────────────  */
  .booking-section { grid-template-columns: 1fr; gap: var(--space-5); }
  /* Booking form fields: full width on mobile */
  .booking-form__row { grid-template-columns: 1fr !important; }

  /* ── 1.27  SERVICES PAGES ───────────────────────────────────────────────  */
  /* Service cards grid */
  .service-cards  { grid-template-columns: 1fr; }
  /* Service detail alternating blocks */
  .services-detail__block { grid-template-columns: 1fr; gap: var(--space-8); }
  .sd-features__list { grid-template-columns: 1fr; }
  .svc-feature-list  { grid-template-columns: 1fr; }
  /* Highlights bar: collapse to single column on very small screens */
  .svc-highlights__inner { grid-template-columns: 1fr !important; }
  /* Consultation hero: reduce padding on mobile */
  .consult-hero  { padding: var(--space-10) 0 var(--space-8); }
  /* Shop body/product padding */
  .shop-body, .shop-product { padding: 20px 0 60px; }
  /* Artist stats hero */
  .ast-hero  { padding: var(--space-8) 0 var(--space-6); }
  .ast-body  { padding: var(--space-6) 0 var(--space-10); }

  /* ── 1.28  INVESTOR RELATIONS ───────────────────────────────────────────  */
  .ir-why__grid { grid-template-columns: 1fr; }
  .investor-grid { grid-template-columns: 1fr; }

  /* ── 1.29  MUSIC PAGE ───────────────────────────────────────────────────  */
  /* Release listing: already handled by ads.css @media 900px — no override needed here */

  /* ── 1.30  VIDEO GRID ───────────────────────────────────────────────────  */
  .videos-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 10px; padding: 8px 12px 24px; }
  /* Videos filter bar: scrollable chips on mobile */
  .videos-filter-bar { overflow-x: auto; }
  .videos-filter-bar__inner { flex-wrap: nowrap; white-space: nowrap; }

  /* ── 1.31  SOCIAL FEED COMPOSE ──────────────────────────────────────────  */
  .social-compose__toolbar { flex-direction: column; align-items: stretch; }
  .social-compose__submit  { width: 100%; }
  .social-compose__type-btns { flex-wrap: wrap; }

  /* ── 1.32  FAN PROFILE ──────────────────────────────────────────────────  */
  /* Profile page — two-column account details grid stacks on mobile */
  .fan-profile-dl { grid-template-columns: 1fr !important; }

  /* ── 1.33  SEARCH PAGE ──────────────────────────────────────────────────  */
  .search-card-grid { grid-template-columns: repeat(2, 1fr); }
  .search-page__form input[type="search"] { font-size: .9375rem; padding: 10px 14px; }

  /* ── 1.34  GLOBAL FORM IMPROVEMENTS ─────────────────────────────────────  */
  /* Prevent iOS zoom on form inputs (font-size < 16px triggers zoom) */
  select, textarea, input[type="text"], input[type="email"],
  input[type="password"], input[type="number"], input[type="tel"],
  input[type="search"], input[type="url"] {
    font-size: 16px !important;
  }
  /* Except very small decorative inputs */
  .merch-qty-input, .shop-qty__input,
  .tix-qty-input, .cart-qty { font-size: 15px !important; }
}

/* Extra-small phones (≤ 400px) */
@media (max-width: 400px) {
  .merch-grid { grid-template-columns: 1fr; }
  .stats-grid, .streaming-grid, .home-merch-grid { grid-template-columns: 1fr !important; }
  /* Hide merch pill — merch is in the bottom nav */
  .header__merch-pill { display: none !important; }
  /* Tighten header padding — slots are already equal width, just remove outer padding */
  .header__inner { padding-inline: 2px; }
}


/* ===========================================================================
   SECTION 2 — Tablet only (769px – 1024px)
   =========================================================================== */
@media (min-width: 769px) and (max-width: 1024px) {

  /* ── 2.1  SIDEBAR — stays as 64px icon rail ─────────────────────────────── */
  /* No changes needed — base CSS handles this correctly */

  /* ── 2.2  GRIDS — 2 columns where base has 4 ───────────────────────────── */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Merch stays 2 cols on tablet */
  .merch-grid { grid-template-columns: repeat(2, 1fr); }
  .merch-card__wishlist { opacity: 1 !important; }

  /* ── 2.3  FEATURED ──────────────────────────────────────────────────────── */
  .featured-section__right { background-attachment: scroll; }
  .featured-section__left { padding: var(--space-12) var(--space-8); }

  /* ── 2.4  SHOP ──────────────────────────────────────────────────────────── */
  .shop-product__grid { gap: var(--space-8); }
  /* Checkout 3-col row: City + ZIP side by side, Country below on tablet */
  .checkout-row--3 { grid-template-columns: 1fr 1fr; }
  .checkout-row--3 .form-group:first-child { grid-column: 1 / -1; }

  /* ── 2.5  SOCIAL ─────────────────────────────────────────────────────────── */
  .social-layout { grid-template-columns: 200px 1fr; }
  .social-sidebar--right { display: none; }

  /* ── 2.6  BOOKING ───────────────────────────────────────────────────────── */
  .booking-section { grid-template-columns: 1fr 340px; }

  /* ── 2.7  HERO ──────────────────────────────────────────────────────────── */
  .hero__content {
    left: calc(var(--sidebar-width-collapsed, 64px) + var(--space-6));
    max-width: 72%;
  }
}


/* ===========================================================================
   SECTION 3 — Bottom Nav Bar (hidden by default, shown on mobile)
   =========================================================================== */

/* Hidden on desktop/tablet — JS or the media query above enables it */
.bottom-nav {
  display: none;
}


/* ===========================================================================
   SECTION 4 — Sidebar overlay backdrop
   =========================================================================== */

/* The backdrop sits behind the open drawer on mobile */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 590;
}


/* ===========================================================================
   SECTION 5 — Small utility tweaks that apply across breakpoints
   =========================================================================== */

/* Prevent content overflow on all screens */
img, video, iframe, table {
  max-width: 100%;
}

/* Tables — horizontal scroll wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Make all admin tables scrollable on tablet/mobile */
@media (max-width: 1024px) {
  .sa-table,
  .shop-cart-table,
  .admin-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

/* Touch target minimum size */
@media (max-width: 768px) {
  a, button {
    min-height: 44px;
    min-width: 44px;
  }
  /* But don't enlarge inline text links */
  p a, li a, .footer__links a, .sidebar__nav a {
    min-height: unset;
    min-width: unset;
  }
  /* Hero slider dots — tiny by design */
  .hero__dot,
  .hero__arrow {
    min-height: unset !important;
    min-width: unset !important;
  }
  /* Bottom nav items — managed separately */
  .bottom-nav__item {
    min-height: unset;
    min-width: unset;
  }
  /* Small decorative/icon elements that must NOT grow to 44px */
  .hero__dot,
  .hm-dot,
  .svc-slider__dot,
  .streaming-dot,
  .header__notif-dot,
  .ast-bar-row__dot,
  .ast-legend-dot,
  .merch-scroll-btn,
  .merch-card__wishlist,
  .home-merch-nav,
  .social-share-btn,
  .header__search-btn,
  .header__mob-search-btn,
  .mob-nav-overlay__close,
  .notif-mob-panel__close,
  .profile-mob-panel__close,
  .header__menu,
  .notif-mark-all,
  .header__currency-btn {
    min-height: unset !important;
    min-width: unset !important;
  }
  /* Bigger form inputs on mobile for fat fingers */
  .form-control {
    padding: var(--space-4);
    font-size: var(--font-size-base);
  }
}
