/* ============================================================
   MOBILE-FIRST.CSS — 037HD Responsive Redesign
   Strategy: mobile-first, override Bootstrap 4 + style.css
   Breakpoints: 480px | 768px | 992px | 1200px | 1600px
   ============================================================ */

/* ============================================================
   0. CSS VARIABLES & BASE RESET
   ============================================================ */
:root {
  --accent: #ff5c1a;
  --accent-gold: #ffc300;
  --accent-gradient: linear-gradient(180deg, #ffc300 0%, #ff5c1a 100%);
  --accent-hover: #e54e10;
  --nav-active: #ffc300;
  --section-accent: #ffc300;
  --faq-accent: var(--section-accent);
  --pagination-active: #ff5c1a;
  --accent-text: #000;
  --accent-soft: rgba(255, 92, 26, .1);
  --footer-accent: #c8c8c8;
  --secondary-accent: #ffc300;
  --text-silver: #c8c8c8;
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: #1a1a1a;
  --bg-elevated: #141414;
  --nav-bg: #0a0a0a;
  --border: #2a2a2a;
  --text-primary: #e8e8e8;
  --text-secondary: #aaaaaa;
  --text-muted: #666666;
  --badge-hd: #c62828;
  --badge-zoom: #e65100;
  --badge-4k: #1565c0;
  --header-h: 56px;
  --chips-h: 44px;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow: 0 4px 20px rgba(0,0,0,.6);
  --transition: all .25s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
  font-family: 'Prompt', 'Noto Sans Thai', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

img { max-width: 100%; height: auto; }

a { color: var(--text-primary); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: none; }

/* ============================================================
   1. HEADER — STICKY MOBILE-FIRST
   ============================================================ */
.site-header {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  background: var(--bg-secondary) !important;
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  /* iOS safe area */
  padding-top: env(safe-area-inset-top, 0);
}

/* Header info row (logo + search + actions) */
.header-info {
  display: flex;
  align-items: center;
  padding: 0 12px;
  height: var(--header-h);
  gap: 10px;
}

/* Logo */
.header-logo { flex-shrink: 0; }
.header-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

/* Search bar — hidden on mobile, shown on desktop */
.header-search-wrap {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
}
.header-search-form {
  width: 280px;
}
.header-search-form {
  display: flex;
  gap: 0;
}
.header-search-form input[type="search"] {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--text-primary);
  padding: 0 14px;
  height: 40px;
  font-size: 14px;
  outline: none;
}
.header-search-form input[type="search"]::placeholder { color: var(--text-muted); }
.header-search-form button {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0 18px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  height: 40px;
  transition: var(--transition);
  white-space: nowrap;
}
.header-search-form button:hover { background: var(--accent-hover); }

/* Header action icons (right side) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 18px;
}
.header-icon-btn:hover { color: var(--accent); background: var(--bg-elevated); }

/* Hamburger icon lines */
.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
  height: 20px;
}
.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
body.mobile-menu-open .hamburger-icon span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
body.mobile-menu-open .hamburger-icon span:nth-child(2) { opacity: 0; }
body.mobile-menu-open .hamburger-icon span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Desktop nav bar (hidden on mobile) */
#sticky-header.menu-area {
  background: var(--nav-bg, var(--bg-secondary));
  border-bottom: 1px solid var(--border);
  display: none;
}
#sticky-header .navbar-wrap.main-menu {
  display: flex !important;
}
#sticky-header .navigation {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
}
#sticky-header .navigation li a {
  display: block;
  padding: 12px 16px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
}
#sticky-header .navigation li a:hover,
#sticky-header .navigation li.active > a {
  color: var(--nav-active, var(--accent));
  background: var(--accent-soft);
}

/* ============================================================
   2. MOBILE MENU DRAWER
   ============================================================ */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--bg-secondary);
  z-index: 1110;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 0);
}
.mobile-nav-drawer.open { transform: translateX(0); }

.mobile-nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-nav-drawer-logo { height: 28px; width: auto; }
.mobile-nav-close-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-elevated);
  border: none;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-search {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-nav-search form {
  display: flex;
  gap: 0;
}
.mobile-nav-search input[type="search"] {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--text-primary);
  padding: 0 12px;
  height: 44px;
  font-size: 15px;
  outline: none;
}
.mobile-nav-search button {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0 16px;
  font-weight: 600;
  height: 44px;
  cursor: pointer;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  flex: 1;
}
.mobile-nav-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  min-height: 48px;
}
.mobile-nav-menu li a:hover,
.mobile-nav-menu li.active a { color: var(--nav-active, var(--accent)); background: var(--accent-soft); }
.mobile-nav-menu li a i { width: 20px; text-align: center; font-size: 16px; }

/* ============================================================
   3. SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.search-overlay.open {
  opacity: 1;
  visibility: visible;
}
.search-overlay-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  background: var(--bg-elevated);
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-overlay-title {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 12px;
}
.search-overlay form {
  display: flex;
  width: 100%;
  max-width: 640px;
  gap: 0;
}
.search-overlay input[type="search"] {
  flex: 1;
  background: var(--bg-elevated);
  border: 2px solid var(--accent);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--text-primary);
  padding: 0 16px;
  height: 52px;
  font-size: 16px;
  outline: none;
}
.search-overlay button {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  height: 52px;
}

/* ============================================================
   4. CATEGORY CHIPS BAR
   ============================================================ */
.category-chips-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: sticky;
  top: var(--header-h);
  z-index: 990;
}
.category-chips-bar::-webkit-scrollbar { display: none; }

.category-chips {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  flex-wrap: nowrap;
  min-width: max-content;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.category-chip:hover,
.category-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 600;
}

/* ============================================================
   5. SECTION HEADERS
   ============================================================ */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.section-head-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-head-icon {
  width: 4px;
  height: 22px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-head h2,
.section-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.section-head-more {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.section-head-more:hover { color: var(--accent); }

/* ============================================================
   6. MOVIE GRID — MOBILE FIRST
   --mg-cols: desktop column count injected by PHP from site_settings
   ============================================================ */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  --mg-cols: 6; /* default fallback; overridden inline from backend settings */
}

/* Large mobile: 3 cols (always, regardless of setting) */
@media (min-width: 480px) {
  .movie-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet: 4 cols (always) */
@media (min-width: 768px) {
  .movie-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}

/* Desktop: use --mg-cols from backend setting */
@media (min-width: 992px) {
  .movie-grid { grid-template-columns: repeat(var(--mg-cols), 1fr); gap: 14px; }
}

/* Wide desktop: same --mg-cols */
@media (min-width: 1400px) {
  .movie-grid { grid-template-columns: repeat(var(--mg-cols), 1fr); gap: 16px; }
}

/* ============================================================
   7. MOVIE CARD
   ============================================================ */
.movie-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--text-primary);
}
.movie-card:hover { color: var(--accent); text-decoration: none; }

.movie-card-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.movie-card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.movie-card:hover .movie-card-poster img { transform: scale(1.07); }

/* Overlay gradient on hover */
.movie-card-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.movie-card:hover .movie-card-poster::after { opacity: 1; }

/* Badges */
.mc-badge-series-status {
  position: absolute;
  bottom: 6px;
  left: 6px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  line-height: 1.35;
  letter-spacing: .2px;
  color: #fff;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12);
}
.mc-badge-series-status i {
  font-size: 9px;
  opacity: .95;
}
.mc-badge-series-status.ongoing {
  background: rgba(0,0,0,.82);
  border-left: 3px solid var(--badge-zoom);
}
.mc-badge-series-status.completed {
  background: rgba(0,0,0,.82);
  border-left: 3px solid #43a047;
}
.movie-card-poster.has-sound .mc-badge-series-status {
  bottom: 34px;
}

.mc-badge-quality {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--badge-hd);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.mc-badge-quality.zoom { background: var(--badge-zoom); }
.mc-badge-quality.k4   { background: var(--badge-4k);  }

.mc-badge-imdb {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0,0,0,.8);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 3px;
}
.mc-badge-imdb i { font-size: 9px; }

.mc-badge-sound {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  background: rgba(0,0,0,.85);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 3px;
  z-index: 2;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.15);
}

/* Text below card */
.movie-card-info {
  padding: 7px 2px 0;
}
.movie-card-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-primary);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0 0 3px;
  min-height: 36px;
}
.movie-card:hover .movie-card-title { color: var(--accent); }

.movie-card-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Skeleton loading */
.movie-card-skeleton .movie-card-poster {
  background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-card) 50%, var(--bg-elevated) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   8. SECTION WRAPPERS
   ============================================================ */
.content-section {
  padding: 20px 0 10px;
}

/* Ensure container has proper side padding on mobile */
.container, .custom-container {
  padding-left: 12px !important;
  padding-right: 12px !important;
}
@media (min-width: 576px) {
  .container, .custom-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* ============================================================
   9. HERO / INTRO BOX
   ============================================================ */
.hero-intro {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
  text-align: center;
}
.hero-intro h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.hero-intro p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-intro-expanded p { -webkit-line-clamp: unset; }
.hero-intro-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gradient, var(--accent));
  color: var(--accent-text, #000);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  min-height: 44px;
}
.hero-intro-btn-outline {
  background: transparent !important;
  border: 1px solid var(--accent-gold, var(--accent)) !important;
  color: var(--accent-gold, var(--accent)) !important;
}
.hero-intro-btn:hover { filter: brightness(1.08); color: var(--accent-text, #000); }
.hero-intro-btn-outline:hover { background: var(--accent-soft) !important; color: var(--accent-gold, var(--accent)) !important; }

@media (min-width: 768px) {
  .hero-intro {
    padding: 28px 32px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .hero-intro-content { flex: 1; }
  .hero-intro h1 { font-size: 26px; }
  .hero-intro p { font-size: 15px; -webkit-line-clamp: unset; }
}

/* ============================================================
   10. SIDEBAR / ACCORDION
   ============================================================ */

/* On mobile: collapsible accordion */
.sidebar-accordion {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.sidebar-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  cursor: pointer;
  background: var(--bg-elevated);
  user-select: none;
  min-height: 48px;
}
.sidebar-accordion-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.sidebar-accordion-chevron {
  color: var(--text-muted);
  font-size: 12px;
  transition: transform .25s;
  flex-shrink: 0;
}
.sidebar-accordion.open .sidebar-accordion-chevron { transform: rotate(180deg); }

.sidebar-accordion-body {
  display: none;
  padding: 12px 16px;
}
.sidebar-accordion.open .sidebar-accordion-body { display: block; }

/* Sidebar list inside accordion */
.sidebar-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-tag-list li a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text-secondary);
  font-size: 12px;
  transition: var(--transition);
}
.sidebar-tag-list li a:hover { background: var(--accent); border-color: var(--accent); color: #000; }

.sidebar-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-cat-list li { border-bottom: 1px solid var(--border); }
.sidebar-cat-list li:last-child { border-bottom: none; }
.sidebar-cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  color: var(--text-secondary);
  font-size: 13px;
  transition: var(--transition);
  min-height: 44px;
}
.sidebar-cat-list li a:hover { color: var(--accent); padding-left: 8px; }
.sidebar-count-badge {
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
}

/* Year chips horizontal scroll */
.year-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.year-chips::-webkit-scrollbar { display: none; }
.year-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
}
.year-chip:hover, .year-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 600;
}

/* ============================================================
   11. FILTER DRAWER (Bottom Sheet on Mobile)
   ============================================================ */
.filter-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.filter-drawer-overlay.open { opacity: 1; visibility: visible; }

.filter-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  z-index: 1110;
  border-radius: 16px 16px 0 0;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  max-height: 80vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.filter-drawer.open { transform: translateY(0); }

.filter-drawer-handle {
  width: 40px;
  height: 4px;
  background: var(--bg-elevated);
  border-radius: 2px;
  margin: 12px auto 0;
}

.filter-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.filter-drawer-title { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.filter-drawer-close {
  width: 44px;
  height: 44px;
  background: var(--bg-elevated);
  border: none;
  color: var(--text-secondary);
  font-size: 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.filter-drawer-body { padding: 16px 20px; }

.filter-group { margin-bottom: 20px; }
.filter-group-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 8px;
  display: block;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.filter-chip:hover, .filter-chip.active {
  background: var(--accent-gradient, var(--accent));
  border-color: var(--accent);
  color: var(--accent-text, #000);
  font-weight: 600;
}

/* Filter bar (desktop inline) */
.filter-bar {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  flex-wrap: wrap;
}
.filter-bar-select {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  padding: 7px 12px;
  font-size: 13px;
  min-height: 38px;
  cursor: pointer;
  outline: none;
}
.filter-bar-select:focus { border-color: var(--accent); }

/* Mobile filter trigger button */
.filter-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}
.filter-trigger-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   12. PAGINATION
   ============================================================ */
.pagination-row {
  display: flex;
  justify-content: center;
  padding: 20px 0 30px;
}
.pagination-list {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 700;
}
.page-btn:hover { text-decoration: none; }

/* Load More button */
.load-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
  height: 48px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}
.load-more-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   13. MOVIE DETAIL PAGE
   ============================================================ */
.movie-detail-wrap {
  padding: 16px 0;
}

/* Breadcrumb */
.breadcrumb-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 0 14px;
  flex-wrap: wrap;
}
.breadcrumb-wrap a { color: var(--text-muted); }
.breadcrumb-wrap a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border); }

/* Movie detail header */
.movie-detail-header {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.movie-detail-poster {
  flex-shrink: 0;
  width: 110px;
}
.movie-detail-poster img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.movie-detail-info { flex: 1; min-width: 0; }

.movie-detail-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.movie-meta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.movie-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text-secondary);
}
.movie-meta-item i { color: var(--accent-gold, var(--accent)); font-size: 11px; }
.movie-meta-item.imdb { color: var(--accent-gold, var(--accent)); font-weight: 700; }

/* CTA Watch Now button */
.watch-now-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  background: var(--accent-gradient, var(--accent));
  color: var(--accent-text, #000) !important;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none !important;
  transition: var(--transition);
  margin-bottom: 16px;
}
.watch-now-btn:hover { filter: brightness(1.08); transform: translateY(-2px); }

/* Synopsis read-more */
.synopsis-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 16px;
}
.synopsis-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.synopsis-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.synopsis-text.expanded { -webkit-line-clamp: unset; display: block; }
.synopsis-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* Player section */
.player-section {
  margin-bottom: 20px;
}
.player-section-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

/* Server tabs */
.server-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.server-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}
.server-tab-btn:hover { border-color: var(--accent); color: var(--accent); }
.server-tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 600;
}
.server-tab-btn.report-btn {
  background: transparent;
  border-color: #333;
  color: var(--text-muted);
}
.server-tab-btn.report-btn:hover { border-color: #e53935; color: #e53935; }

/* Player embed wrapper — 16:9 */
.player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.player-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   14. SIMILAR MOVIES
   ============================================================ */
.similar-section {
  padding: 20px 0 10px;
}
.similar-section .movie-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 480px) {
  .similar-section .movie-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) {
  .similar-section .movie-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 992px) {
  .similar-section .movie-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ============================================================
   15. SEO CONTENT ACCORDION
   ============================================================ */
.seo-accordion {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0;
}
.seo-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
  background: var(--bg-elevated);
  min-height: 48px;
}
.seo-accordion-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.seo-accordion-chevron {
  color: var(--text-muted);
  font-size: 12px;
  transition: transform .25s;
}
.seo-accordion.open .seo-accordion-chevron { transform: rotate(180deg); }
.seo-accordion-body {
  display: none;
  padding: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.seo-accordion.open .seo-accordion-body { display: block; }
.seo-accordion-body h2,
.seo-accordion-body h3 { font-size: 16px; color: var(--text-primary); margin: 14px 0 8px; }
.seo-accordion-body p { margin-bottom: 10px; }

/* ============================================================
   16. FOOTER
   ============================================================ */
footer {
  background: var(--bg-secondary) !important;
  border-top: 1px solid var(--border);
}

.footer-top-wrap {
  padding: 40px 0 !important;
}

.footer-logo-img {
  height: 36px;
  width: auto;
}

.footer-seo-text {
  color: #888;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.footer-seo-text h1,
.footer-seo-text h2,
.footer-seo-text h3,
.footer-seo-text h4,
.footer-seo-text h5,
.footer-seo-text h6 {
  color: #aaa;
  font-size: 14px;
  font-weight: 600;
  margin: 10px 0 4px;
  border: none;
}
.footer-seo-text p {
  color: #888;
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 6px;
}

/* ============================================================
   FILTER MODAL POPUP
============================================================ */
.filter-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  z-index: 9998;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.filter-modal-overlay.open { display: flex; }

.filter-modal {
  background: var(--bg-card);
  border-radius: 14px;
  width: 100%;
  max-width: 580px;
  max-height: 88vh;
  overflow-y: auto;
  border: 1px solid var(--border);
  animation: filterModalIn .18s ease;
}
@keyframes filterModalIn {
  from { opacity:0; transform: translateY(16px) scale(.97); }
  to   { opacity:1; transform: translateY(0)   scale(1); }
}

.filter-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 1;
  border-radius: 14px 14px 0 0;
}
.filter-modal-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}
.filter-modal-close:hover { background: var(--bg-elevated); color: var(--text-primary); }

.filter-modal-body { padding: 18px 20px 28px; }

.filter-modal-search {
  display: flex;
  gap: 0;
  margin-bottom: 22px;
}
.filter-modal-search input[type="search"] {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--text-primary);
  padding: 0 14px;
  height: 44px;
  font-size: 15px;
  outline: none;
}
.filter-modal-search input[type="search"]::placeholder { color: var(--text-muted); }
.filter-modal-search button {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0 18px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  height: 44px;
  transition: var(--transition);
  white-space: nowrap;
}
.filter-modal-search button:hover { background: var(--accent-hover); }

.filter-modal-section { margin-bottom: 18px; }
.filter-modal-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}
.filter-modal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.filter-chip:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.footer-accordion {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.footer-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  cursor: pointer;
  background: var(--bg-elevated);
  user-select: none;
  min-height: 48px;
}
.footer-accordion-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.footer-accordion-chevron {
  color: var(--text-muted);
  font-size: 12px;
  transition: transform .25s;
}
.footer-accordion.open .footer-accordion-chevron { transform: rotate(180deg); }
.footer-accordion-body {
  display: none;
  padding: 12px 16px;
}
.footer-accordion.open .footer-accordion-body { display: block; }

/* Tags cloud in footer */
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-tags li a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text-secondary);
  font-size: 12px;
  transition: var(--transition);
}
.footer-tags li a:hover { background: var(--accent); border-color: var(--accent); color: #000; }

.footer-copyright {
  background: var(--bg-primary);
  padding: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.footer-copyright a { color: var(--footer-accent, var(--text-silver, var(--accent))); }

/* ============================================================
   17. SCROLL-TO-TOP BUTTON
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--accent-gradient, var(--accent));
  color: var(--accent-text, #000);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 40%, transparent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}
.scroll-top.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ============================================================
   18. ARCHIVE / CATEGORY PAGE
   ============================================================ */
.archive-header {
  padding: 20px 0 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.archive-h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.archive-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

/* Archive filter row */
.archive-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.archive-result-count {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   19. SEARCH PAGE
   ============================================================ */
.search-header {
  padding: 20px 0 14px;
}
.search-form-row {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
}
.search-form-row input[type="search"] {
  flex: 1;
  background: var(--bg-elevated);
  border: 2px solid var(--accent);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--text-primary);
  padding: 0 14px;
  height: 48px;
  font-size: 16px;
  outline: none;
}
.search-form-row button {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0 20px;
  font-weight: 700;
  font-size: 15px;
  height: 48px;
  cursor: pointer;
}

.search-sort-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.sort-btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}
.sort-btn.active, .sort-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 600;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.no-results-icon { font-size: 48px; margin-bottom: 14px; }
.no-results h3 { font-size: 18px; color: var(--text-secondary); margin-bottom: 8px; }
.no-results p { font-size: 14px; margin-bottom: 20px; }
.request-movie-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 20px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
}

/* ============================================================
   20. RESPONSIVE OVERRIDES (Tablet / Desktop)
   ============================================================ */
@media (min-width: 768px) {
  :root { --header-h: 60px; }

  .header-logo-img { height: 46px; }

  .header-search-wrap { display: flex; }

  #sticky-header.menu-area { display: block; }

  .hero-intro h1 { font-size: 28px; }

  .movie-detail-header { gap: 24px; }
  .movie-detail-poster { width: 160px; }
  .movie-detail-title { font-size: 26px; }

  .archive-h1 { font-size: 28px; }

  .filter-bar { display: flex; }
  .filter-trigger-btn { display: none; }
}

@media (min-width: 992px) {
  .category-chips-bar { top: calc(var(--header-h) + 45px); }

  .movie-detail-poster { width: 200px; }
  .movie-detail-title { font-size: 30px; }

  /* sidebar on desktop */
  .sidebar-accordion-header { cursor: default; pointer-events: none; }
  .sidebar-accordion-chevron { display: none; }
  .sidebar-accordion-body { display: block !important; }
  .sidebar-accordion { background: transparent; border: none; }
  .sidebar-accordion-header { background: transparent; padding: 0 0 12px; border-bottom: 2px solid var(--border); }
  .sidebar-accordion-title { font-size: 16px; color: var(--text-primary); }
}

@media (min-width: 1200px) {
  .container, .custom-container { max-width: 1200px; }
}

@media (min-width: 1600px) {
  .container, .custom-container { max-width: 1500px; }
}

/* ============================================================
   21. UTILITY — PREVENT LAYOUT SHIFT
   ============================================================ */
img[width][height] { aspect-ratio: attr(width) / attr(height); }

/* Prevent body scroll when overlays are open */
body.overlay-open { overflow: hidden; }

/* Focus visible for accessibility */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Visually hidden (accessible) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Fix existing Bootstrap grid on mobile */
@media (max-width: 767px) {
  .col-6 { padding-left: 5px !important; padding-right: 5px !important; }
  .row { margin-left: -5px !important; margin-right: -5px !important; }
  .mb-4 { margin-bottom: 10px !important; }
}

/* Override old inline styles for main content area */
.top-rated-movie, .tr-movie-bg2 {
  background-color: var(--bg-primary) !important;
}

/* ============================================================
   SIDEBAR BOX — กรอบ/หัวหมวดหมู่ (sidebar_content.php)
   ใช้คลาส: .sidebar-box, .section-header, .sidebar-list,
             .sidebar-count, .sidebar-year-list
============================================================ */
.sidebar-box {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.section-header {
  background-color: var(--bg-elevated);
  padding: 11px 14px;
  border-bottom: 1px solid #252525;
  font-size: 14px;
  font-weight: 700;
  color: #e0e0e0;
  text-align: center;
  position: relative;
  letter-spacing: .3px;
}
.section-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2px;
  background-color: var(--section-accent, var(--accent));
  border-radius: 2px;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-list li {
  border-bottom: 1px solid #1c1c1c;
}
.sidebar-list li:last-child {
  border-bottom: none;
}
.sidebar-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  color: #aaa;
  text-decoration: none;
  font-size: 13px;
  min-height: 40px;
  transition: background .18s, color .18s;
}
.sidebar-list li a:hover {
  background-color: var(--bg-secondary);
  color: var(--accent);
  padding-left: 18px;
}
.sidebar-count {
  flex-shrink: 0;
  background-color: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
}

/* ปีหนัง — grid 4 คอลัมน์ */
.sidebar-year-list {
  list-style: none;
  padding: 12px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sidebar-year-list li {
  width: calc(25% - 5px);
  border-bottom: none !important;
  margin: 0 !important;
}
.sidebar-year-list li a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-elevated) !important;
  color: var(--text-secondary) !important;
  text-align: center;
  padding: 6px 4px !important;
  border-radius: 5px;
  font-size: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  min-height: 34px;
  transition: all .2s;
}
.sidebar-year-list li a:hover {
  background-color: var(--accent) !important;
  color: #000 !important;
  border-color: var(--accent);
  padding-left: 4px !important;
  transform: translateY(-2px);
}

/* Force sticky header to work on iOS Safari */
@supports (-webkit-overflow-scrolling: touch) {
  .site-header { position: -webkit-sticky; position: sticky; }
  .category-chips-bar { position: -webkit-sticky; position: sticky; }
}
