/* ShopTV header and bottom navigation — user-requested mobile refinement, 2026-10-25 */
@media (max-width: 760px) {
  /* Header order from left to right: profile, official ShopTV logo, side menu. */
  .marketing-header.stv-global-header {
    height: auto !important;
    min-height: 68px !important;
  }
  .marketing-header.stv-global-header .stv-global-nav-wrap,
  .marketing-header .nav-wrap.stv-global-nav-wrap {
    display: flex !important;
    flex-direction: row !important;
    direction: ltr !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-height: 68px !important;
    padding-inline: 12px !important;
    box-sizing: border-box !important;
  }
  .marketing-header .stv-header-account-brand { display: contents !important; }
  .marketing-header .stv-global-nav-wrap > .stv-sidebar-trigger {
    order: 3 !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dce7f3 !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #203a56 !important;
    box-shadow: 0 4px 14px rgba(10, 35, 68, .07) !important;
  }
  .marketing-header .stv-header-account-brand .stv-account-menu {
    order: 1 !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    margin: 0 !important;
  }
  .marketing-header .stv-header-account-brand .brand-official {
    order: 2 !important;
    display: inline-flex !important;
    flex: 0 1 auto !important;
    width: clamp(88px, 35vw, 145px) !important;
    min-width: 0 !important;
    max-width: clamp(88px, 35vw, 145px) !important;
    margin: 0 !important;
    justify-content: flex-start !important;
    overflow: visible !important;
  }
  .marketing-header .stv-header-account-brand .brand-logo {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 43px !important;
    object-fit: contain !important;
    object-position: left center !important;
    background: transparent !important;
  }
  .marketing-header .stv-header-account-brand .notification-menu,
  .marketing-header .stv-header-account-brand [data-notification-menu],
  .marketing-header .stv-global-nav-wrap > .marketing-nav {
    display: none !important;
  }
  .marketing-header .stv-account-trigger {
    display: grid !important;
    place-items: center !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 2px !important;
    border-radius: 50% !important;
  }
  .marketing-header .stv-account-avatar {
    width: 35px !important;
    height: 35px !important;
    flex-basis: 35px !important;
    border-radius: 50% !important;
  }
  .marketing-header .stv-account-panel {
    position: fixed !important;
    top: calc(76px + env(safe-area-inset-top)) !important;
    left: 8px !important;
    right: auto !important;
    inset-inline-start: auto !important;
    inset-inline-end: auto !important;
    width: min(290px, calc(100vw - 16px)) !important;
    max-height: calc(100dvh - 94px) !important;
    overflow-y: auto !important;
    z-index: 2101 !important;
  }

  /* Full-width rectangular dock sits flush with the bottom edge and safe-area background. */
  .shop-bottom-nav,
  .dashboard-shop-bottom-nav,
  .mobile-bottom-nav,
  .store-mobile-nav {
    position: fixed !important;
    z-index: 1500 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    inset-inline: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 68px !important;
    margin: 0 !important;
    padding: 5px 7px calc(5px + env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-top: 1px solid #dce6f3 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 -5px 18px rgba(7, 28, 56, .09) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
  }
  .shop-bottom-nav,
  .dashboard-shop-bottom-nav {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) 50px minmax(0,1fr) minmax(0,1fr) !important;
    align-items: center !important;
    gap: 0 !important;
  }
  .shop-bottom-nav .bottom-nav-item,
  .dashboard-shop-bottom-nav .bottom-nav-item {
    display: flex !important;
    min-width: 0 !important;
    min-height: 52px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 4px 1px !important;
    border-radius: 8px !important;
  }
  .shop-bottom-nav .bottom-nav-icon,
  .dashboard-shop-bottom-nav .bottom-nav-icon {
    width: 27px !important;
    height: 25px !important;
    font-size: 20px !important;
  }
  .shop-bottom-nav .bottom-nav-item small,
  .dashboard-shop-bottom-nav .bottom-nav-item small {
    font-size: clamp(8px, 2.35vw, 10px) !important;
    line-height: 1.15 !important;
  }
  .shop-bottom-nav .bottom-nav-logo.bottom-nav-reels,
  .dashboard-shop-bottom-nav .bottom-nav-logo.bottom-nav-reels,
  .mobile-bottom-nav .bottom-nav-logo.bottom-nav-reels,
  .store-mobile-nav .bottom-nav-logo.bottom-nav-reels {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    flex-direction: row !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    transform: none !important;
  }
  .shop-bottom-nav .bottom-nav-logo.bottom-nav-reels::before,
  .shop-bottom-nav .bottom-nav-logo.bottom-nav-reels::after,
  .dashboard-shop-bottom-nav .bottom-nav-logo.bottom-nav-reels::before,
  .dashboard-shop-bottom-nav .bottom-nav-logo.bottom-nav-reels::after,
  .mobile-bottom-nav .bottom-nav-logo.bottom-nav-reels::before,
  .mobile-bottom-nav .bottom-nav-logo.bottom-nav-reels::after,
  .store-mobile-nav .bottom-nav-logo.bottom-nav-reels::before,
  .store-mobile-nav .bottom-nav-logo.bottom-nav-reels::after,
  .bottom-nav-reels-play,
  .bottom-nav-logo-label,
  .bottom-nav-logo.bottom-nav-reels i {
    display: none !important;
    content: none !important;
    animation: none !important;
  }
  .shop-bottom-nav .bottom-nav-reels-logo,
  .dashboard-shop-bottom-nav .bottom-nav-reels-logo,
  .mobile-bottom-nav .bottom-nav-reels-logo,
  .store-mobile-nav .bottom-nav-reels-logo {
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    object-fit: contain !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .shop-bottom-nav .bottom-nav-logo.bottom-nav-reels.is-active,
  .dashboard-shop-bottom-nav .bottom-nav-logo.bottom-nav-reels.is-active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  .marketing-body { padding-bottom: calc(82px + env(safe-area-inset-bottom)) !important; }
  .app-body, .store-body { padding-bottom: calc(82px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 370px) {
  .marketing-header .stv-global-nav-wrap,
  .marketing-header .nav-wrap.stv-global-nav-wrap { gap: 6px !important; padding-inline: 9px !important; }
  .marketing-header .stv-header-account-brand .brand-official {
    width: clamp(82px, 31vw, 110px) !important;
    max-width: clamp(82px, 31vw, 110px) !important;
  }
  .shop-bottom-nav, .dashboard-shop-bottom-nav {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) 46px minmax(0,1fr) minmax(0,1fr) !important;
    padding-inline: 3px !important;
  }
  .shop-bottom-nav .bottom-nav-logo.bottom-nav-reels,
  .dashboard-shop-bottom-nav .bottom-nav-logo.bottom-nav-reels,
  .shop-bottom-nav .bottom-nav-reels-logo,
  .dashboard-shop-bottom-nav .bottom-nav-reels-logo {
    width: 40px !important; min-width: 40px !important; height: 40px !important; min-height: 40px !important; max-width: 40px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shop-bottom-nav *, .dashboard-shop-bottom-nav *, .mobile-bottom-nav *, .store-mobile-nav * { transition: none !important; }
}

/* Reels centre action: slightly larger with a crisp premium frame. */
@media (max-width: 760px) {
  .shop-bottom-nav,
  .dashboard-shop-bottom-nav {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) 62px minmax(0,1fr) minmax(0,1fr) !important;
  }
  .shop-bottom-nav .bottom-nav-logo.bottom-nav-reels,
  .dashboard-shop-bottom-nav .bottom-nav-logo.bottom-nav-reels,
  .mobile-bottom-nav .bottom-nav-logo.bottom-nav-reels,
  .store-mobile-nav .bottom-nav-logo.bottom-nav-reels {
    position: relative !important;
    display: flex !important;
    justify-self: center !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 auto !important;
    padding: 3px !important;
    border: 2px solid #ffffff !important;
    border-radius: 18px !important;
    background: linear-gradient(145deg,#ffffff,#edf6ff) !important;
    box-shadow: 0 0 0 1px #cfe2f8, 0 6px 16px rgba(5,54,125,.20) !important;
    overflow: visible !important;
    transform: none !important;
  }
  .shop-bottom-nav .bottom-nav-logo.bottom-nav-reels::before,
  .dashboard-shop-bottom-nav .bottom-nav-logo.bottom-nav-reels::before,
  .mobile-bottom-nav .bottom-nav-logo.bottom-nav-reels::before,
  .store-mobile-nav .bottom-nav-logo.bottom-nav-reels::before {
    content: none !important;
    display: none !important;
    animation: none !important;
  }
  .shop-bottom-nav .bottom-nav-reels-logo,
  .dashboard-shop-bottom-nav .bottom-nav-reels-logo,
  .mobile-bottom-nav .bottom-nav-reels-logo,
  .store-mobile-nav .bottom-nav-reels-logo {
    display: block !important;
    width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}
@media (max-width: 370px) {
  .shop-bottom-nav,
  .dashboard-shop-bottom-nav {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) 56px minmax(0,1fr) minmax(0,1fr) !important;
  }
  .shop-bottom-nav .bottom-nav-logo.bottom-nav-reels,
  .dashboard-shop-bottom-nav .bottom-nav-logo.bottom-nav-reels,
  .mobile-bottom-nav .bottom-nav-logo.bottom-nav-reels,
  .store-mobile-nav .bottom-nav-logo.bottom-nav-reels {
    width: 50px !important;
    min-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
  }
  .shop-bottom-nav .bottom-nav-reels-logo,
  .dashboard-shop-bottom-nav .bottom-nav-reels-logo,
  .mobile-bottom-nav .bottom-nav-reels-logo,
  .store-mobile-nav .bottom-nav-reels-logo {
    width: 43px !important;
    max-width: 43px !important;
    height: 43px !important;
  }
}

