/* Fresh Navigation (brand-aligned) */

.shax-header { position: sticky; top: 0; z-index: 1002; background: transparent; margin-top: 0; border-top: 0; padding: 0; }
/* Force glass on raffle template too */
body.raffle-page .shax-header { background: transparent !important; }
/* Remove seam masks since there's no background */
.shax-header::before { display: none; }
.shax-header::after { display: none; }
.shax-header, html, body, #page { margin-top: 0; padding-top: 0; }
#page { overflow: visible; }
.shax-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 10px 24px; position: relative; border-radius: 0; background: rgba(255,255,255,0.85); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 8px 28px rgba(16, 110, 60, 0.12); border: none; border-bottom: 1px solid rgba(16, 110, 60, 0.15); width: 100%; margin: 0; }

/* subtle light sheen */
.shax-header__inner::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 30%, rgba(255,255,255,0.0) 60%); mix-blend-mode: overlay; }
.shax-left { display: flex; align-items: center; }
.shax-center { display: flex; justify-content: center; }
.shax-right { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }

.shax-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16,110,60,0.1);
  color: var(--raffle-primary);
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.shax-cart-link:hover,
.shax-cart-link:focus-visible {
  background: rgba(16,110,60,0.2);
  transform: translateY(-1px);
}

.shax-cart-link .dashicons {
  font-size: 20px;
  line-height: 1;
}

.shax-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #f4a236;
  color: #ffffff;
  font-size: 0.75rem;
  line-height: 18px;
  text-align: center;
  font-weight: 700;
  padding: 0 4px;
}

.shax-cart-link--drawer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--raffle-primary-dark);
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  font-family: var(--font-family-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 52px;
  position: relative;
  background: rgba(16,110,60,0.05);
  border: 1px solid rgba(16,110,60,0.1);
  text-decoration: none;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shax-cart-link--drawer:hover {
  background: rgba(16,110,60,0.1);
  transform: translateY(-2px);
  border-color: rgba(16,110,60,0.2);
  box-shadow: 0 4px 12px rgba(16, 110, 60, 0.15);
  color: var(--raffle-primary-dark);
}

.shax-cart-link--drawer .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
  color: var(--raffle-primary);
  flex-shrink: 0;
}

.shax-cart-link--drawer .shax-cart-link__text {
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.shax-cart-link--drawer .shax-cart-count {
  position: static;
  background: #f4a236;
  color: #ffffff;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 4px;
}

.shax-cart-link--drawer::after {
  display: none;
}

.shax-account-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16,110,60,0.1);
  color: var(--raffle-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background 0.25s ease, transform 0.25s ease;
  min-height: 44px;
}

.shax-account-link:hover,
.shax-account-link:focus-visible {
  background: rgba(16,110,60,0.2);
  transform: translateY(-1px);
  color: var(--raffle-primary-dark);
}

/* Enhanced styling when logged in */
.shax-account-link--logged-in {
  background: rgba(16,110,60,0.15);
  border: 1px solid rgba(16,110,60,0.2);
  font-weight: 700;
}

.shax-account-link--logged-in:hover,
.shax-account-link--logged-in:focus-visible {
  background: rgba(16,110,60,0.25);
  border-color: rgba(16,110,60,0.3);
  box-shadow: 0 2px 8px rgba(16, 110, 60, 0.2);
}

.shax-account-link .dashicons {
  font-size: 18px;
  line-height: 1;
  width: 18px;
  height: 18px;
}

.shax-account-link__text {
  display: inline-block;
}

/* Show text when logged in, even on mobile */
.shax-account-link--logged-in .shax-account-link__text {
  display: inline-block !important;
}

.shax-account-link--drawer .shax-account-link__text {
  display: inline-block;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* Show text in drawer when logged in */
.shax-account-link--drawer.shax-account-link--logged-in .shax-account-link__text {
  display: inline-block !important;
}

.shax-cart-link__text {
  display: none;
}

.shax-cart-link--drawer .shax-cart-link__text {
  display: inline-block;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.shax-account-link--drawer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--raffle-primary-dark);
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  font-family: var(--font-family-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 52px;
  position: relative;
  background: rgba(16,110,60,0.05);
  border: 1px solid rgba(16,110,60,0.1);
  text-decoration: none;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shax-account-link--drawer:hover {
  background: rgba(16,110,60,0.1);
  transform: translateY(-2px);
  border-color: rgba(16,110,60,0.2);
  box-shadow: 0 4px 12px rgba(16, 110, 60, 0.15);
  color: var(--raffle-primary-dark);
}

/* Enhanced drawer styling when logged in */
.shax-account-link--drawer.shax-account-link--logged-in {
  background: rgba(16,110,60,0.1);
  border-color: rgba(16,110,60,0.25);
  font-weight: 700;
}

.shax-account-link--drawer.shax-account-link--logged-in:hover {
  background: rgba(16,110,60,0.15);
  border-color: rgba(16,110,60,0.35);
  box-shadow: 0 4px 16px rgba(16, 110, 60, 0.2);
}

.shax-account-link--drawer .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
  color: var(--raffle-primary);
  flex-shrink: 0;
}

.shax-account-link--drawer .shax-account-link__text {
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.shax-account-link--drawer::after {
  display: none;
}

/* Brand */
.shax-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--raffle-primary-dark); text-decoration: none; }
.shax-brand__img { height: 40px; width: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1)); }
.shax-brand__title { font-weight: 700; font-size: 1.125rem; color: var(--raffle-primary-dark); }

/* Desktop Nav */
.shax-nav { display: flex; align-items: center; }
.shax-nav__list { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; overflow: visible; }
.shax-nav__list--center a { font-weight: 700; letter-spacing: 0.01em; }
.shax-nav__list--right a { padding: 8px 14px; border-radius: 999px; border: 2px solid var(--raffle-primary); background: var(--raffle-primary-light); backdrop-filter: blur(8px) saturate(140%); color: var(--raffle-primary-dark); font-weight: 600; }
.shax-nav__list--right a:hover { background: var(--raffle-primary); color: #ffffff; box-shadow: 0 6px 20px rgba(16, 110, 60, 0.25); transform: translateY(-2px); }
.shax-nav__list a { color: var(--raffle-text); font-weight: 600; padding: 10px 16px; border-radius: 999px; position: relative; overflow: hidden; transition: all 0.3s ease; z-index: 1; }
.shax-nav__list a::before { content: ''; position: absolute; inset: 0; left: -100%; background: linear-gradient(90deg, transparent, rgba(16,110,60,0.1), transparent); transition: left 0.5s ease; z-index: 0; pointer-events: none; }
.shax-nav__list a:hover::before { left: 100%; }
.shax-nav__list a:hover { background: var(--raffle-primary-light); color: var(--raffle-primary-dark); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(16, 110, 60, 0.15); }
.shax-nav__list .current-menu-item > a,
.shax-nav__list .current_page_item > a { background: var(--raffle-primary); color: #ffffff; box-shadow: 0 4px 15px rgba(16, 110, 60, 0.3); }

/* Sub-menu styling for nested items */
.shax-nav__list .menu-item-has-children {
    position: relative;
}

.shax-nav__list .menu-item-has-children > .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(16, 110, 60, 0.15);
    padding: 8px 0;
    min-width: 200px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid rgba(16, 110, 60, 0.1);
}

.shax-nav__list .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.shax-nav__list .sub-menu li {
    margin: 0;
    padding: 0;
}

.shax-nav__list .sub-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--raffle-text);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 0;
    margin: 0;
}

.shax-nav__list .sub-menu a:hover {
    background: var(--raffle-primary-light);
    color: var(--raffle-primary-dark);
    transform: none;
    box-shadow: none;
}

.shax-nav__list .sub-menu .current-menu-item > a,
.shax-nav__list .sub-menu .current_page_item > a {
    background: var(--raffle-primary-light);
    color: var(--raffle-primary-dark);
    box-shadow: none;
}

/* Mobile drawer sub-menu */
.shax-drawer__list .sub-menu-item {
    padding-left: 2rem;
    font-size: 0.9375rem;
    opacity: 0.9;
}

.shax-drawer__list .sub-menu-item a {
    color: var(--raffle-text-light);
}

/* Per-item text colors - using raffle colors */
.shax-center .shax-nav__list--center > li:nth-child(1) > a { color: var(--raffle-primary-dark); font-weight: 700; } /* Donate */
.shax-center .shax-nav__list--center > li:nth-child(2) > a { color: var(--raffle-primary-dark); font-weight: 700; } /* Home */
.shax-center .shax-nav__list--center > li:nth-child(3) > a { color: var(--raffle-primary-dark); font-weight: 700; } /* Raffle */
.shax-right .shax-nav__list--right > li:nth-child(1) > a { color: var(--raffle-primary-dark); } /* About */
.shax-right .shax-nav__list--right > li:nth-child(2) > a { color: var(--raffle-primary-dark); } /* Contact */

.shax-free-games-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(120deg, #f6b243, #e9850b 70%);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 25px rgba(233, 133, 11, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.shax-free-games-link__icon {
  font-size: 0.95em;
  line-height: 1;
  transform: translateY(-1px);
}

.shax-free-games-link:hover,
.shax-free-games-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(233, 133, 11, 0.45);
  filter: saturate(1.05);
  color: #ffffff;
}

.shax-free-games-link:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(233, 133, 11, 0.35);
}

/* Toggle - Enhanced */
.shax-nav-toggle { 
  display: none; 
  width: 48px; 
  height: 48px; 
  min-width: 48px;
  min-height: 48px;
  border: none; 
  background: rgba(255,255,255,0.7); 
  backdrop-filter: blur(10px);
  cursor: pointer; 
  border-radius: 12px; 
  padding: 0;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.shax-nav-toggle:hover {
  background: rgba(255,255,255,0.9);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.shax-nav-toggle:active {
  transform: scale(0.95);
}
.shax-nav-toggle__bar { 
  display: block; 
  width: 22px; 
  height: 2.5px; 
  background: #106e3c; 
  margin: 5.5px auto; 
  border-radius: 2px; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.shax-nav-toggle[aria-expanded="true"] {
  background: rgba(16,110,60,0.1);
}
.shax-nav-toggle[aria-expanded="true"] .shax-nav-toggle__bar {
  background: #106e3c;
}
.shax-nav-toggle[aria-expanded="true"] .shax-nav-toggle__bar:nth-child(1) { 
  transform: translateY(8px) rotate(45deg); 
  width: 22px;
}
.shax-nav-toggle[aria-expanded="true"] .shax-nav-toggle__bar:nth-child(2) { 
  opacity: 0; 
  transform: translateX(-10px);
}
.shax-nav-toggle[aria-expanded="true"] .shax-nav-toggle__bar:nth-child(3) { 
  transform: translateY(-8px) rotate(-45deg); 
  width: 22px;
}

/* Overlay & Drawer - Enhanced */
.shax-overlay { 
  position: fixed; 
  inset: 0; 
  background: rgba(0,0,0,0.6); 
  opacity: 0; 
  visibility: hidden; 
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  z-index: 999; 
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.shax-overlay[hidden] { display: none; }
.shax-overlay.is-active { opacity: 1; visibility: visible; }

.shax-drawer { 
  position: fixed; 
  top: 0; 
  right: 0; 
  height: 100vh; 
  width: 85vw; 
  max-width: 380px; 
  background: rgba(255,255,255,0.98); 
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: var(--raffle-primary-dark); 
  transform: translateX(100%); 
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  z-index: 1000; 
  display: flex; 
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(16, 110, 60, 0.15);
  border-left: 1px solid rgba(16, 110, 60, 0.1);
  overflow-y: auto;
  overflow-x: hidden;
}
.shax-drawer.is-active { transform: translateX(0); }
.shax-drawer__header { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 20px 20px 16px; 
  border-bottom: 1px solid rgba(16, 110, 60, 0.15);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.shax-drawer__header .shax-brand {
    color: var(--raffle-primary-dark);
}
.shax-drawer__header .shax-brand__title {
    color: var(--raffle-primary-dark) !important;
    text-shadow: none;
}
.shax-drawer__header .shax-brand__img {
    filter: none;
    -webkit-filter: none;
}
.shax-drawer__close { 
  width: 44px; 
  height: 44px; 
  min-width: 44px;
  min-height: 44px;
  border: none; 
  border-radius: 12px; 
  background: rgba(16,110,60,0.1); 
  backdrop-filter: blur(10px);
  color: var(--raffle-primary-dark); 
  font-size: 20px; 
  line-height: 1; 
  cursor: pointer; 
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.shax-drawer__close:hover {
  background: rgba(16,110,60,0.2);
  transform: rotate(90deg) scale(1.1);
  color: var(--raffle-primary-dark);
}
.shax-drawer__close:active {
  transform: rotate(90deg) scale(0.95);
}
.shax-drawer__close::before {
  content: '✕';
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  color: var(--raffle-primary-dark);
}

.shax-drawer__nav { 
  padding: 20px 16px 24px; 
  flex: 1;
  overflow-y: auto;
}

.shax-drawer__quick-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.shax-drawer__free-games-link {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(120deg, #f6b243, #e9850b 70%);
  color: #ffffff;
  font-weight: 700;
  font-family: var(--font-family-primary);
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(233, 133, 11, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.shax-drawer__free-games-link span {
  font-size: 1rem;
  opacity: 0.9;
  transform: translateY(-1px);
}
.shax-drawer__free-games-link:hover,
.shax-drawer__free-games-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(233, 133, 11, 0.45);
  filter: saturate(1.05);
  color: #ffffff;
}
.shax-drawer__free-games-link:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(233, 133, 11, 0.35);
}
.shax-drawer__list { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
  display: flex; 
  flex-direction: column;
  gap: 8px; 
}
.shax-drawer__list a { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  color: var(--raffle-primary-dark); 
  padding: 16px 18px; 
  border-radius: 14px; 
  font-weight: 600; 
  font-size: 1.0625rem;
  letter-spacing: 0.01em; 
  font-family: var(--font-family-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  min-height: 52px;
  position: relative;
  background: rgba(16,110,60,0.05);
  border: 1px solid rgba(16,110,60,0.1);
  text-decoration: none;
}
.shax-drawer__list a::after {
  content: '→';
  font-size: 18px;
  opacity: 0.6;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-4px);
  color: var(--raffle-primary);
}
.shax-drawer__list a:hover { 
  background: rgba(16,110,60,0.1); 
  transform: translateX(6px);
  border-color: rgba(16,110,60,0.2);
  box-shadow: 0 4px 12px rgba(16, 110, 60, 0.15);
  color: var(--raffle-primary-dark);
}
.shax-drawer__list a:hover::after {
  opacity: 1;
  transform: translateX(0);
  color: var(--raffle-primary);
}
.shax-drawer__list a:active {
  transform: translateX(4px) scale(0.98);
  background: rgba(16,110,60,0.15);
}
.shax-drawer__list .current-menu-item > a,
.shax-drawer__list .current_page_item > a { 
  background: var(--raffle-primary); 
  border-color: var(--raffle-primary-dark);
  box-shadow: 0 4px 16px rgba(16, 110, 60, 0.25), inset 0 0 0 1px rgba(255,255,255,0.2);
  font-weight: 700;
  color: #ffffff;
}
.shax-drawer__list .current-menu-item > a::after,
.shax-drawer__list .current_page_item > a::after {
  opacity: 1;
  transform: translateX(0);
  color: #ffffff;
}

/* Focus styles */
body.keyboard-navigation .shax-nav__list a:focus,
body.keyboard-navigation .shax-drawer__list a:focus,
body.keyboard-navigation .shax-nav-toggle:focus,
body.keyboard-navigation .shax-drawer__close:focus { outline: 3px solid #ffffff; outline-offset: 2px; }

/* Responsive - Mobile and Tablet */
@media (max-width: 1024px) {
  .shax-nav { display: none; }
  .shax-free-games-link { display: none; }
  /* Hide text on mobile when NOT logged in, but show when logged in */
  .shax-account-link:not(.shax-account-link--logged-in) .shax-account-link__text { 
    display: none; 
  }
  .shax-account-link--logged-in .shax-account-link__text {
    display: inline-block !important;
    margin-left: 4px;
  }
  .shax-account-link:not(.shax-account-link--logged-in) {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
  }
  .shax-account-link--logged-in {
    padding: 8px 14px;
    min-width: auto;
  }
  .shax-nav-toggle { display: inline-block; }
  .shax-header__inner { 
    width: 100%; 
    margin: 0;
    padding: 10px 16px;
    display: flex; /* Switch to flexbox on mobile/tablet */
    justify-content: space-between; /* Push logo left, hamburger right */
    align-items: center;
  }
  .shax-center { 
    display: none !important; /* Hide center nav completely */
  }
  .shax-right { 
    margin-left: auto; /* Push hamburger to the right */
  }
}

@media (max-width: 480px) {
  .shax-header__inner {
    width: 100%;
    padding: 8px 12px;
  }
  
  .shax-brand__img {
    height: 32px;
  }
  
  .shax-brand__title {
    font-size: 1rem;
  }
  
  .shax-nav-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  
  .shax-drawer {
    width: 90vw;
    max-width: 100%;
  }
  
  .shax-drawer__header {
    padding: 16px 16px 12px;
  }
  
  .shax-drawer__nav {
    padding: 16px 12px 20px;
  }
  
  .shax-drawer__list a {
    padding: 14px 16px;
    font-size: 1rem;
    min-height: 48px;
  }
  
  .shax-account-link--drawer {
    padding: 14px 16px;
    font-size: 1rem;
    min-height: 48px;
  }
}

@media (max-width: 360px) {
  .shax-drawer {
    width: 100vw;
  }
  
  .shax-drawer__list a {
    padding: 12px 14px;
    font-size: 0.9375rem;
  }
}

/* Eliminate gaps below header and align first section */
html { scroll-padding-top: 64px; }
.shax-header + .site-main { padding-top: 0; }
.hero-section { margin-top: 0; }

/* Prevent body scroll when drawer is open */
body.drawer-open {
  overflow: hidden;
}

/* Smooth scroll behavior for menu items */
.shax-drawer__list a {
  scroll-behavior: smooth;
}

/* Add subtle animation to menu items on open */
.shax-drawer.is-active .shax-drawer__list a {
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.shax-drawer.is-active .shax-drawer__list a:nth-child(1) { animation-delay: 0.05s; }
.shax-drawer.is-active .shax-drawer__list a:nth-child(2) { animation-delay: 0.1s; }
.shax-drawer.is-active .shax-drawer__list a:nth-child(3) { animation-delay: 0.15s; }
.shax-drawer.is-active .shax-drawer__list a:nth-child(4) { animation-delay: 0.2s; }
.shax-drawer.is-active .shax-drawer__list a:nth-child(5) { animation-delay: 0.25s; }
.shax-drawer.is-active .shax-drawer__list a:nth-child(6) { animation-delay: 0.3s; }
.shax-drawer.is-active .shax-drawer__list a:nth-child(7) { animation-delay: 0.35s; }
.shax-drawer.is-active .shax-drawer__list a:nth-child(8) { animation-delay: 0.4s; }

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


