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

:root {
  --nav-ink: #15222b;
  --nav-muted: #6b7280;
  --nav-accent: #b9a3ff;
  --nav-border: rgba(210, 220, 235, 0.85);
  --nav-shadow: 0 10px 24px rgba(20, 35, 55, 0.08);
  --nav-radius: 18px;
  --nav-font: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ============================================
   SITE HEADER
   ============================================ */
#site-header.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(210, 220, 235, 0.7);
  box-shadow: 0 4px 20px rgba(20, 35, 55, 0.05);
  padding: 0 28px !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* WordPress admin bar offset (desktop only — on mobile the bar is hidden) */
.admin-bar #site-header.site-header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar #site-header.site-header {
    top: 0;
  }
}

#site-header .header-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center;
  padding: 0 !important;
  height: 64px;
  width: 100% !important;
}

/* Logo — text only */
#site-header .byf-logo-text {
  font-family: var(--nav-font);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--nav-ink);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

/* ============================================
   DESKTOP NAV CATEGORIES
   ============================================ */
#site-header .byf-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

#site-header .byf-nav-cat-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--nav-font);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(26, 26, 46, 0.55);
  padding: 8px 16px;
  border-radius: 12px;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  line-height: 1;
}

#site-header .byf-nav-cat-btn:hover {
  color: rgba(26, 26, 46, 0.85);
  background: rgba(185, 163, 255, 0.08);
}

#site-header .byf-nav-cat-btn.is-active {
  color: #6f63f6;
  background: rgba(185, 163, 255, 0.12);
}

#site-header .byf-nav-cat-btn.is-active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: #6f63f6;
  border-radius: 2px;
}

#site-header .byf-nav-cat-ico {
  display: flex;
  align-items: center;
  justify-content: center;
}

#site-header .byf-nav-cat-ico svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke-width: 1.5;
  stroke: rgba(26, 26, 46, 0.35);
}

#site-header .byf-nav-cat-btn:hover .byf-nav-cat-ico svg {
  stroke: rgba(26, 26, 46, 0.55);
}

#site-header .byf-nav-cat-btn.is-active .byf-nav-cat-ico svg {
  stroke: #6f63f6;
  opacity: 0.8;
}

#site-header .byf-nav-chevron {
  width: 12px;
  height: 12px;
  opacity: 0.3;
  transition: transform 0.2s;
}

#site-header .byf-nav-cat-btn.is-active .byf-nav-chevron {
  transform: rotate(180deg);
  opacity: 0.6;
}

/* Desktop avatar */
#site-header .byf-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#site-header .byf-avatar-link {
  display: block;
}

#site-header .byf-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(185, 163, 255, 0.3);
  object-fit: cover;
}

#site-header .byf-avatar-link {
  text-decoration: none !important;
}

#site-header .byf-avatar-link:hover {
  opacity: 1 !important;
  background: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

#site-header .byf-avatar:hover {
  opacity: 1 !important;
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* ============================================
   DESKTOP DROPDOWN PANELS
   ============================================ */
#byf-drop-overlay.byf-drop-overlay {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 46, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 990;
  opacity: 0;
  transition: opacity 0.2s;
}

.admin-bar #byf-drop-overlay.byf-drop-overlay {
  top: 96px;
}
@media (max-width: 782px) {
  .admin-bar #byf-drop-overlay.byf-drop-overlay {
    top: 64px;
  }
}

#byf-drop-overlay.byf-drop-overlay.is-visible {
  opacity: 1;
}

.byf-drop-panel {
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  z-index: 995;
  width: 100%;
  max-width: 840px;
  padding: 12px 20px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

.admin-bar .byf-drop-panel {
  top: 96px;
}
@media (max-width: 782px) {
  .admin-bar .byf-drop-panel {
    top: 64px;
  }
}

.byf-drop-panel.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  animation: byfSlideDown 0.2s ease;
}

@keyframes byfSlideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.byf-drop-panel .byf-drop-inner {
  width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(210, 220, 235, 0.8);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(20, 35, 55, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
  padding: 24px 28px;
}

.byf-drop-panel .byf-drop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.byf-drop-panel .byf-drop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: #1a1a2e;
  transition: all 0.12s;
  cursor: pointer;
}

.byf-drop-panel .byf-drop-item:hover {
  background: rgba(185, 163, 255, 0.08);
}

.byf-drop-panel .byf-drop-item.is-active {
  background: rgba(185, 163, 255, 0.12);
}

.byf-drop-panel .byf-drop-item.is-locked {
  opacity: 0.55;
}

.byf-drop-panel .byf-drop-item.is-locked:hover {
  background: rgba(185, 163, 255, 0.05);
}

.byf-drop-panel .byf-drop-ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(185, 163, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.byf-drop-panel .byf-drop-ico svg {
  width: 18px;
  height: 18px;
  stroke: #6f63f6;
  stroke-width: 1.5;
  fill: none;
}

.byf-drop-panel .is-locked .byf-drop-ico {
  background: rgba(120, 112, 168, 0.06);
}

.byf-drop-panel .is-locked .byf-drop-ico svg {
  stroke: rgba(120, 112, 168, 0.45);
}

.byf-drop-panel .byf-drop-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.byf-drop-panel .byf-drop-label {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

.byf-badge-novo {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .4px;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border-radius: 6px;
  vertical-align: middle;
  line-height: 1;
  text-transform: uppercase;
}

.byf-drop-panel .byf-drop-desc {
  font-size: 11.5px;
  color: rgba(26, 26, 46, 0.45);
  font-weight: 500;
  margin-top: 1px;
}

.byf-drop-panel .byf-drop-lock {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(185, 163, 255, 0.8);
  background: rgba(185, 163, 255, 0.1);
  padding: 3px 8px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.byf-drop-panel .byf-drop-lock svg {
  width: 11px;
  height: 11px;
  stroke: rgba(185, 163, 255, 0.8);
  stroke-width: 2;
  fill: none;
}

/* ============================================
   MOBILE: HIDE DESKTOP, SHOW MOBILE
   ============================================ */
#site-header .byf-mobile-top {
  display: none;
}

@media (max-width: 820px) {
  #site-header .byf-desktop-nav,
  #site-header .byf-header-right,
  #site-header .site-branding {
    display: none !important;
  }

  #site-header.site-header {
    padding: 0 !important;
  }

  #site-header .header-inner {
    display: block !important;
    padding: 0 !important;
    height: auto !important;
    max-width: 100% !important;
  }

  #site-header .byf-mobile-top {
    display: flex !important;
    align-items: center;
    width: 100%;
    padding: 10px 16px;
    gap: 10px;
  }

  #site-header .byf-mobile-left {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
  }

  #site-header .byf-back-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
    padding: 0;
    transition: background 0.15s;
  }

  #site-header .byf-back-btn:active {
    background: rgba(185, 163, 255, 0.12);
    transform: scale(0.94);
  }

  #site-header .byf-back-btn svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    stroke: var(--nav-ink) !important;
    fill: none !important;
  }

  /* Hide back btn on homepage */
  body.home #site-header .byf-back-btn {
    display: none;
  }

  #site-header .byf-burger {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border: none;
    background: rgba(185, 163, 255, 0.08);
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    padding: 0;
    transition: background 0.15s;
  }

  #site-header .byf-burger:active {
    background: rgba(185, 163, 255, 0.18);
    transform: scale(0.94);
  }

  #site-header .byf-burger svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    min-height: 20px;
    stroke: var(--nav-ink) !important;
    stroke-width: 1.8 !important;
    fill: none !important;
  }

  #site-header .byf-mobile-title {
    flex: 1;
    text-align: center;
    min-width: 0;
  }

  #site-header .byf-mobile-name {
    font-family: var(--nav-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--nav-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #site-header .byf-mobile-day {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    font-family: var(--nav-font);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #6f63f6;
    background: rgba(185, 163, 255, 0.1);
    padding: 2px 10px;
    border-radius: 8px;
  }

  #site-header .byf-mobile-top .byf-avatar-link {
    flex-shrink: 0;
  }

  #site-header .byf-mobile-top .byf-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white),
      linear-gradient(135deg, #b9a3ff, #d461a0);
    background-origin: border-box;
    background-clip: padding-box, border-box;
  }

  /* Hide desktop dropdown panels on mobile */
  .byf-drop-overlay,
  .byf-drop-panel {
    display: none !important;
  }
}

/* ============================================
   MOBILE BOTTOM NAV
   ============================================ */
.byf-bottom-nav {
  display: none;
}

@media (max-width: 820px) {
  .byf-bottom-nav {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 999;

    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);

    border: 1px solid rgba(220, 230, 245, 0.95);
    border-radius: 22px;

    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.14),
      0 1px 0 rgba(255, 255, 255, 0.35) inset;
  }

  .byf-bottom-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1.05fr 1fr 1fr;
    gap: 6px;
    align-items: center;
  }

  .byf-bottom-menu > li {
    margin: 0;
    padding: 0;
  }

  .byf-bottom-menu > li > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 4px;
    text-decoration: none;
    font-family: var(--nav-font);
    font-weight: 650;
    font-size: 11px;
    line-height: 1.05;
    letter-spacing: -0.2px;
    color: rgba(25, 35, 45, 0.62);
    border-radius: 16px;
    transition: background-color 0.12s ease, transform 0.12s ease,
      color 0.12s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .byf-nav-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
  }

  .byf-nav-ico svg {
    width: 22px;
    height: 22px;
  }

  .byf-nav-label {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 64px;
    text-align: center;
  }

  .byf-bottom-menu > li.current-menu-item > a {
    background: rgba(206, 190, 255, 0.27);
    color: rgba(25, 35, 45, 0.95);
    border-radius: 18px;
    box-shadow: 0 16px 35px rgba(185, 163, 255, 0.22);
    border: 1px solid rgba(111, 99, 246, 0.15);
  }

  .byf-bottom-menu > li.is-tapped > a {
    transform: scale(0.92);
  }
}

/* ============================================
   MOBILE DRAWER OVERLAY
   ============================================ */
.byf-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 46, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9995;
  opacity: 0;
  transition: opacity 0.25s;
}

.byf-drawer-overlay.is-visible {
  opacity: 1;
}

/* ============================================
   MOBILE DRAWER
   ============================================ */
.byf-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 310px;
  max-width: 85vw;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 20px 0 60px rgba(20, 35, 55, 0.15);
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.byf-mobile-drawer.is-open {
  transform: translateX(0);
}

/* Drawer header */
.byf-drawer-header {
  padding: 24px 20px 16px;
  border-bottom: 1px solid rgba(210, 220, 235, 0.5);
  display: flex;
  align-items: center;
  gap: 14px;
}

.byf-drawer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(185, 163, 255, 0.25);
}

.byf-drawer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.byf-drawer-info {
  flex: 1;
  min-width: 0;
}

.byf-drawer-name {
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--nav-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.byf-drawer-nick {
  font-family: var(--nav-font);
  font-size: 11.5px;
  color: rgba(26, 26, 46, 0.4);
  font-weight: 600;
  margin-top: 1px;
}

.byf-drawer-tier {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-family: var(--nav-font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 3px 10px;
  border-radius: 8px;
}

.byf-drawer-tier.is-challenge {
  background: rgba(251, 191, 36, 0.12);
  color: #d97706;
}

.byf-drawer-tier.is-bundle {
  background: rgba(185, 163, 255, 0.15);
  color: #6f63f6;
}

.byf-drawer-close {
  height: 34px;
  border: none;
  background: rgba(210, 220, 235, 0.3);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.byf-drawer-close svg {
  width: 18px !important;
  height: 18px !important;
  stroke: rgba(16, 24, 40, 0.5);
}

/* Drawer search */
.byf-drawer-search {
  margin: 16px 16px 8px;
  position: relative;
}

.byf-drawer-search input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(210, 220, 235, 0.8);
  border-radius: 14px;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 500;
  background: rgba(248, 250, 253, 0.8);
  color: var(--nav-ink);
  outline: none;
  transition: border-color 0.15s;
}

.byf-drawer-search input:focus {
  border-color: rgba(185, 163, 255, 0.5);
}

.byf-drawer-search input::placeholder {
  color: rgba(26, 26, 46, 0.3);
}

/* Drawer categories */
.byf-drawer-cats {
  padding: 8px 0 100px;
}

.byf-drawer-cat {
  border-bottom: 1px solid rgba(210, 220, 235, 0.35);
}

.byf-drawer-cat-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--nav-font);
  transition: background 0.12s;
  -webkit-tap-highlight-color: transparent;
}

.byf-drawer-cat-btn:hover {
  background: rgba(185, 163, 255, 0.04);
}

.byf-drawer-cat-ico {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.byf-drawer-cat-ico svg {
  width: 16px;
  height: 16px;
}

.byf-drawer-cat-title {
  flex: 1;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--nav-ink);
}

.byf-drawer-cat-count {
  font-size: 11px;
  font-weight: 600;
  color: rgba(26, 26, 46, 0.3);
  margin-right: 8px;
}

.byf-drawer-cat-arrow {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.byf-drawer-cat-arrow svg {
  width: 18px;
  height: 18px;
  stroke: rgba(26, 26, 46, 0.3);
}

.byf-drawer-cat-btn[aria-expanded="true"] .byf-drawer-cat-arrow {
  transform: rotate(180deg);
}

/* Drawer items */
.byf-drawer-items {
  display: none;
  padding: 4px 16px 12px;
}

.byf-drawer-items.is-open {
  display: block;
}

.byf-drawer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--nav-ink);
  transition: background 0.1s;
  -webkit-tap-highlight-color: transparent;
}

.byf-drawer-item:hover {
  background: rgba(185, 163, 255, 0.06);
}

.byf-drawer-item.is-active {
  background: rgba(185, 163, 255, 0.1);
}

.byf-drawer-item.is-locked {
  opacity: 0.5;
}

.byf-drawer-item-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(185, 163, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.byf-drawer-item-ico svg {
  width: 15px;
  height: 15px;
  stroke: #6f63f6;
}

.is-locked .byf-drawer-item-ico {
  background: rgba(120, 112, 168, 0.05);
}

.is-locked .byf-drawer-item-ico svg {
  stroke: rgba(120, 112, 168, 0.35);
}

.byf-drawer-item-label {
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.byf-drawer-item-lock {
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: var(--nav-font);
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(185, 163, 255, 0.75);
  background: rgba(185, 163, 255, 0.08);
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
}

.byf-drawer-item-lock svg {
  width: 10px;
  height: 10px;
  stroke: rgba(185, 163, 255, 0.75);
}

/* Drawer footer */
.byf-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(210, 220, 235, 0.35);
}

.byf-drawer-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  color: rgba(26, 26, 46, 0.5);
  transition: background 0.1s;
}

.byf-drawer-logout:hover {
  background: rgba(239, 68, 68, 0.06);
  color: #dc2626;
}

.byf-drawer-logout svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* Drawer search: hide non-matching items */
.byf-drawer-item.is-search-hidden {
  display: none;
}

.byf-drawer-cat.is-search-hidden {
  display: none;
}

/* Override pwaforwp-scrollbar.css: it locks html/body to viewport
   height and adds scrollbar-width padding that causes 17px overflow
   on mobile, shifting the page right on input focus. */
html {
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}
body {
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Body padding for fixed header */
html {
  scroll-padding-top: 72px;
}
body {
  padding-top: 64px;
}

/* Prevent horizontal scroll drift on mobile (iOS input focus pan fix) */
@media (max-width: 820px) {
  html, body {
    overflow-x: clip !important;
    overscroll-behavior-x: none;
    scrollbar-width: none !important;
  }
  /* Kill PWA plugin scrollbar compensation — mobile has no scrollbar */
  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }
}
