/* ══════════════════════════════════════════════
   GFP 2027 — Header v2 Styles
   All inline styles from index8.html → CSS classes
   Colors use CSS custom properties from design-tokens.css
   ══════════════════════════════════════════════ */

/* ── BOOTSTRAP / TAILWIND OVERRIDES ── */
.site-header button,
.site-header a,
.hero-slider button,
.hero-slider a {
  text-decoration: none;
  outline: none;
  box-shadow: none;
}
.site-header button:focus,
.hero-slider button:focus {
  outline: none;
  box-shadow: none;
}
.site-header svg,
.hero-slider svg {
  vertical-align: middle;
}

/* ── PROMO TOPBAR ── */
.promo-topbar {
  position: relative;
  z-index: 60;
  padding: 10px 16px;
}
.promo-topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.promo-topbar-content {
  flex: 1;
  min-width: 0;
}
.promo-topbar-content strong {
  font-size: 14px;
}
.promo-topbar-desc {
  font-size: 12px;
  opacity: 0.9;
  margin-left: 8px;
}
.promo-topbar-date {
  font-size: 11px;
  opacity: 0.7;
  margin-left: 8px;
}
.promo-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.promo-topbar-code {
  background: rgba(255,255,255,0.9);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}
.promo-topbar-copy {
  background: rgba(255,255,255,0.9);
  border: none;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.promo-topbar-dismiss {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  opacity: 0.7;
  padding: 4px;
}
/* Phones: title + code on one compact row; the long description and
   date wrapped into a ~190px tall bar. */
@media (max-width: 639px) {
  .promo-topbar { padding: 8px 12px; }
  .promo-topbar-inner { flex-wrap: nowrap; }
  .promo-topbar-content strong { font-size: 12px; line-height: 1.3; display: block; }
  .promo-topbar-desc,
  .promo-topbar-date { display: none; }
  .promo-topbar-code { font-size: 11px; padding: 3px 8px; }
  .promo-topbar-copy { font-size: 11px; padding: 3px 8px; }
}

/* ── SITE HEADER ── */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.0) 100%);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* ── HEADER INNER CONTAINER ── */
.hdr-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  position: relative;
}

/* ── HAMBURGER BUTTON ── */
.hdr-hamburger {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(255,255,255,0.07) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.8) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.15s ease;
  flex-shrink: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}
.hdr-hamburger svg {
  width: 18px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}
.hdr-hamburger:hover {
  background: rgba(255,255,255,0.14);
}

/* ── LOGO ── */
/* The logo has white lettering; light mode shows the dark-lettered copy. */
.logo-for-light { display: none !important; }
html:not(.dark) .logo-for-dark { display: none !important; }
html:not(.dark) .logo-for-light { display: block !important; }
.hdr-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.hdr-logo img {
  height: 40px;
  width: auto;
}
@media (max-width: 639px) {
  .hdr-logo img { height: 34px; }
}
.hdr-logo-fallback {
  display: none;
  align-items: center;
  gap: 7px;
}
.hdr-logo-fallback-icon {
  width: 30px;
  height: 30px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: var(--btn-text);
}
.hdr-logo-fallback-text {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
}

/* ── NAV LINKS (center) ── */
.hdr-nav {
  position: absolute;
  left: 43%;
  transform: translateX(-50%);
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* Nav link style */
.nav-link-c {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  padding: 6px 14px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-link-c:hover {
  color: #fff;
  border-bottom-color: rgba(var(--blue-rgb),0.9);
}

/* Nav dropdown arrow */
.nav-link-c .nav-arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

/* ── HEADER ACTION BUTTONS (shared) ── */
.hdr-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.hdr-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12) !important;
  background: rgba(255,255,255,0.06) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.6) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.15s ease;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  position: relative;
  padding: 0;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  box-shadow: none;
}
.hdr-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: block;
}
.hdr-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.hdr-btn--search:hover,
.hdr-btn--lang:hover {
  background: rgba(var(--blue-rgb),0.15);
  color: var(--blue);
  border-color: rgba(var(--blue-rgb),0.4);
}

/* ── SIGN IN BUTTON ── */
.hdr-signin-btn {
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15) !important;
  background: rgba(255,255,255,0.06) !important;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8) !important;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  transition: all 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.hdr-signin-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}
.hdr-signin-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

/* ── USER DROPDOWN ── */
.hdr-user-dropdown {
  position: absolute;
  right: 0;
  top: 44px;
  width: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  z-index: 200;
  overflow: hidden;
  transform-origin: top right;
}
.hdr-user-dropdown__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
}
.hdr-user-dropdown__avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.hdr-user-dropdown__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.hdr-user-dropdown__divider {
  height: 1px;
  background: var(--border);
}
.hdr-user-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary) !important;
  text-decoration: none;
  transition: all 0.12s;
}
.hdr-user-dropdown__item:hover {
  background: var(--surface-2);
  color: var(--text) !important;
}
.hdr-user-dropdown__item svg {
  flex-shrink: 0;
  opacity: 0.6;
}
.hdr-user-dropdown__item:hover svg {
  opacity: 1;
}
.hdr-user-dropdown__item--danger {
  color: var(--red) !important;
}
.hdr-user-dropdown__item--danger:hover {
  background: rgba(239, 68, 68, 0.08);
  color: var(--red) !important;
}
.hdr-user-dropdown__item--danger svg {
  opacity: 0.8;
}
.hdr-user-dropdown__badge {
  font-size: 10px;
  font-weight: 800;
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 1px 7px;
  border-radius: 6px;
  margin-left: auto;
}

/* ── CART BUTTON ── */
.hdr-cart-btn {
  height: 38px;
  padding: 0 18px;
  border-radius: 8px;
  border: none !important;
  background: var(--btn-bg) !important;
  font-size: 13px;
  font-weight: 700;
  color: var(--btn-text);
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 3px 16px rgba(var(--btn-rgb),0.4);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.hdr-cart-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}
.hdr-cart-btn:hover {
  background: var(--btn-bg-hover) !important;
  color: var(--btn-text-hover);
  box-shadow: 0 6px 22px rgba(var(--btn-rgb),0.6);
}
.hdr-cart-badge {
  background: rgba(255,255,255,0.22);
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 5px;
  line-height: 1.5;
}

/* ── PC GAMES MEGA MENU ── */
.pc-mega-wrapper {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 10px;
  z-index: 999;
}
.pc-mega {
  width: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.pc-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.pc-dd-item svg {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.15s;
}
.pc-dd-item:hover {
  background: var(--blue-subtle);
  color: var(--blue);
}
.pc-dd-item:hover svg {
  color: var(--blue);
}

/* ── LANGUAGE / CURRENCY DROPDOWN ── */
.hdr-lang-dropdown {
  position: absolute;
  right: 0;
  top: 44px;
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(var(--blue-rgb),0.06);
  z-index: 200;
  overflow: hidden;
  transform-origin: top right;
}

/* Current selection banner */
.ldd-current {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--blue-subtle);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}
.ldd-current svg { opacity: 0.7; }

/* Tabs */
.ldd-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.ldd-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 12px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.ldd-tab:hover { color: var(--text-secondary); }
.ldd-tab.is-active { color: var(--blue); }
.ldd-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
  transition: background 0.2s;
}
.ldd-tab.is-active::after {
  background: var(--blue);
}

/* Content area */
.ldd-content {
  padding: 10px;
  max-height: 280px;
  overflow-y: auto;
}

/* Scrollbar */
.ldd-content::-webkit-scrollbar { width: 4px; }
.ldd-content::-webkit-scrollbar-track { background: transparent; }
.ldd-content::-webkit-scrollbar-thumb { background: rgba(var(--blue-rgb),0.25); border-radius: 2px; }
.ldd-content::-webkit-scrollbar-thumb:hover { background: rgba(var(--blue-rgb),0.4); }

/* Grids */
.ldd-grid--lang {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.ldd-grid--curr {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
}

/* Option items */
.ldd-option {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.ldd-option:hover {
  background: var(--surface-2);
  color: var(--text);
  transform: translateX(2px);
}
.ldd-option.is-active {
  background: var(--blue-subtle);
  color: var(--blue);
  font-weight: 700;
}
.ldd-option__symbol {
  font-weight: 800;
  font-size: 14px;
  min-width: 18px;
  text-align: center;
  color: var(--text-muted);
}
.ldd-option.is-active .ldd-option__symbol {
  color: var(--blue);
}
.ldd-option__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ldd-option__check {
  flex-shrink: 0;
  color: var(--blue);
}

/* ══════════════════════════════════════════════
   STICKY HEADER
   ══════════════════════════════════════════════ */
.site-header.is-sticky {
  position: fixed !important;
  background: rgba(10,12,14,0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(var(--blue-rgb),0.2) !important;
  box-shadow: 0 4px 28px rgba(0,0,0,0.55) !important;
}

/* Light mode sticky */
html:not(.dark) .site-header.is-sticky {
  background: rgba(248,250,252,0.97) !important;
  border-bottom: 1px solid rgba(var(--blue-rgb),0.22) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1) !important;
}
html:not(.dark) .site-header.is-sticky .nav-link-c {
  color: rgba(15,23,42,0.72) !important;
}
html:not(.dark) .site-header.is-sticky .nav-link-c:hover {
  color: #0F172A !important;
  border-bottom-color: rgba(var(--blue-rgb),0.7) !important;
}
html:not(.dark) .site-header.is-sticky .hdr-btn {
  border-color: rgba(15,23,42,0.18) !important;
  color: rgba(15,23,42,0.6) !important;
  background: rgba(15,23,42,0.05) !important;
}
html:not(.dark) .site-header.is-sticky .hdr-signin-btn {
  border-color: rgba(15,23,42,0.18) !important;
  color: rgba(15,23,42,0.6) !important;
  background: rgba(15,23,42,0.05) !important;
}

/* ══════════════════════════════════════════════
   LIGHT MODE — Normal (non-sticky) Header
   Header always starts with dark gradient over hero,
   same as dark mode. Only sticky state gets light bg.
   ══════════════════════════════════════════════ */
/* The header logo follows the header's background, not the theme:
   over a hero it is dark, so it keeps the white-lettered logo. */
html:not(.dark) .site-header .hdr-logo .logo-for-light { display: none !important; }
html:not(.dark) .site-header .hdr-logo .logo-for-dark  { display: block !important; }

/* Light header surfaces: sticky in light mode, and the pages whose
   header is always light (category, cart, account). Dark logo and
   dark controls so nothing is white-on-white. */
html:not(.dark) .site-header.is-sticky .hdr-logo .logo-for-light,
html:not(.dark) .page-category .site-header .hdr-logo .logo-for-light,
html:not(.dark) .page-cart .site-header .hdr-logo .logo-for-light,
html:not(.dark) .page-account .site-header .hdr-logo .logo-for-light { display: block !important; }
html:not(.dark) .site-header.is-sticky .hdr-logo .logo-for-dark,
html:not(.dark) .page-category .site-header .hdr-logo .logo-for-dark,
html:not(.dark) .page-cart .site-header .hdr-logo .logo-for-dark,
html:not(.dark) .page-account .site-header .hdr-logo .logo-for-dark { display: none !important; }
html:not(.dark) .site-header.is-sticky .nav-link-c,
html:not(.dark) .page-category .site-header .nav-link-c,
html:not(.dark) .page-cart .site-header .nav-link-c,
html:not(.dark) .page-account .site-header .nav-link-c {
  color: rgba(15,23,42,0.72) !important;
}
html:not(.dark) .site-header.is-sticky .nav-link-c:hover,
html:not(.dark) .page-category .site-header .nav-link-c:hover,
html:not(.dark) .page-cart .site-header .nav-link-c:hover,
html:not(.dark) .page-account .site-header .nav-link-c:hover {
  color: #0F172A !important;
}
html:not(.dark) .site-header.is-sticky .hdr-btn,
html:not(.dark) .page-category .site-header .hdr-btn,
html:not(.dark) .page-cart .site-header .hdr-btn,
html:not(.dark) .page-account .site-header .hdr-btn,
html:not(.dark) .site-header.is-sticky .hdr-signin-btn,
html:not(.dark) .page-category .site-header .hdr-signin-btn,
html:not(.dark) .page-cart .site-header .hdr-signin-btn,
html:not(.dark) .page-account .site-header .hdr-signin-btn,
html:not(.dark) .site-header.is-sticky .hdr-hamburger,
html:not(.dark) .page-category .site-header .hdr-hamburger,
html:not(.dark) .page-cart .site-header .hdr-hamburger,
html:not(.dark) .page-account .site-header .hdr-hamburger {
  border-color: rgba(15,23,42,0.16) !important;
  background: rgba(15,23,42,0.04) !important;
  color: rgba(15,23,42,0.72) !important;
}
html:not(.dark) .site-header.is-sticky .hdr-btn:hover,
html:not(.dark) .page-category .site-header .hdr-btn:hover,
html:not(.dark) .page-cart .site-header .hdr-btn:hover,
html:not(.dark) .page-account .site-header .hdr-btn:hover,
html:not(.dark) .site-header.is-sticky .hdr-signin-btn:hover,
html:not(.dark) .page-category .site-header .hdr-signin-btn:hover,
html:not(.dark) .page-cart .site-header .hdr-signin-btn:hover,
html:not(.dark) .page-account .site-header .hdr-signin-btn:hover,
html:not(.dark) .site-header.is-sticky .hdr-hamburger:hover,
html:not(.dark) .page-category .site-header .hdr-hamburger:hover,
html:not(.dark) .page-cart .site-header .hdr-hamburger:hover,
html:not(.dark) .page-account .site-header .hdr-hamburger:hover {
  border-color: rgba(15,23,42,0.28) !important;
  background: rgba(15,23,42,0.08) !important;
  color: #0F172A !important;
}

/* ── LIGHT MODE — Scrollbar ── */
html:not(.dark) ::-webkit-scrollbar-track {
  background: #F1F5F9;
}
html:not(.dark) ::-webkit-scrollbar-thumb {
  background: var(--blue);
  border: 2px solid #F1F5F9;
  box-shadow: none;
}
html:not(.dark) ::-webkit-scrollbar-thumb:hover {
  background: var(--blue-hover);
  box-shadow: 0 2px 8px rgba(var(--blue-rgb),0.3);
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Header
   Desktop-first: her şey varsayılan olarak görünür,
   sadece küçük ekranlarda gizlenir.
   ══════════════════════════════════════════════ */

/* Desktop defaults — tüm elemanlar görünür */
.site-header .hdr-nav        { display: flex; }
.site-header .hdr-search     { display: flex; }
.site-header .hdr-theme      { display: flex; }
.site-header .hdr-signin     { display: flex; }
.site-header .hdr-lang-wrap  { display: block; }
.site-header .hdr-hamburger  { display: none; }
.site-header .hdr-cart-label { display: inline; }

/* Tablet (< 1024px): nav ve signin gizle, hamburger göster */
@media (max-width: 1023px) {
  .site-header .hdr-nav       { display: none !important; }
  .site-header .hdr-signin    { display: none !important; }
  .site-header .hdr-hamburger { display: flex !important; }
  .site-header .hdr-inner {
    display: flex;
  }
  .site-header .hdr-logo {
    flex: 1;
    justify-content: center;
  }
}

/* Mobil (< 640px): search, theme, lang, cart label da gizle */
@media (max-width: 639px) {
  .site-header .hdr-search     { display: none !important; }
  .site-header .hdr-theme      { display: none !important; }
  .site-header .hdr-lang-wrap  { display: none !important; }
  .site-header .hdr-cart-label { display: none !important; }
  .site-header .hdr-inner      { padding: 0 16px; }
}

/* ══════════════════════════════════════════════
   MOBILE NAV DRAWER
   ══════════════════════════════════════════════ */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 149;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--surface);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  z-index: 150;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
}
.mobile-nav-header img {
  height: 30px;
  width: auto;
}
.mobile-nav-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
}

/* Mobile nav links */
.mobile-nav-links {
  padding: 8px 12px 12px;
}
.mobile-nav-link {
  display: block;
  padding: 13px 14px;
  border-radius: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s ease;
}
.mobile-nav-link:hover {
  background: var(--surface-2);
}
.mobile-nav-link--highlight {
  color: var(--gold);
}

/* Mobile PC Games sub-panel trigger */
.mobile-nav-pc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.15s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.mobile-nav-pc-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mobile PC Games sub-panel */
.mobile-nav-pc-panel {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--surface);
  z-index: 5;
  border-radius: 10px;
  padding-bottom: 4px;
}
.mobile-nav-pc-back {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 14px;
  border-radius: 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  margin-bottom: 2px;
}
.mobile-nav-pc-divider {
  height: 1px;
  background: var(--border);
  margin: 0 14px 6px;
}

/* Mobile PC item */
.mob-pc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.12s ease;
}
.mob-pc-item:active {
  background: var(--blue-subtle);
  color: var(--blue);
}
.mob-ic {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.12s ease;
}
.mob-pc-item:active .mob-ic {
  background: var(--blue-subtle);
  border-color: var(--blue);
  color: var(--blue);
}

/* Mobile drawer divider */
.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 20px 16px;
}

/* Mobile drawer actions */
.mobile-nav-actions {
  padding: 0 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav-action-btn {
  width: 100%;
  height: 44px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-nav-action-btn--ghost {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-secondary);
}
.mobile-nav-action-btn--primary {
  border: none;
  background: var(--btn-bg);
  font-weight: 700;
  color: var(--btn-text);
  box-shadow: 0 4px 18px rgba(var(--btn-rgb),0.4);
}
.mobile-nav-action-btn--primary .hdr-cart-badge {
  background: rgba(255,255,255,0.2);
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 5px;
}

/* ══════════════════════════════════════════════
   CART SIDE PANEL
   ══════════════════════════════════════════════ */
.cart-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--surface);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,0.3);
}
.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-panel-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.12s ease;
}
.cart-panel-close:hover {
  border-color: var(--border-hover);
  color: var(--text);
}
.cart-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-panel-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  background: var(--surface-2);
}
.cart-panel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.15s ease;
  margin-bottom: 8px;
}
.cart-panel-btn--ghost {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
}
.cart-panel-btn--ghost:hover {
  border-color: var(--border-hover);
  background: var(--surface-2);
  color: var(--text);
}
.cart-panel-btn--primary {
  border: none;
  background: var(--btn-bg);
  color: var(--btn-text);
  box-shadow: 0 4px 20px rgba(var(--btn-rgb),0.4);
}
.cart-panel-btn--primary:hover {
  background: var(--btn-bg-hover);
  box-shadow: 0 6px 28px rgba(var(--btn-rgb),0.55);
  color: var(--btn-text-hover);
}
.cart-item-delete-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.12s ease;
}
.cart-item-delete-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(239,68,68,0.06);
}

/* ══════════════════════════════════════════════
   ALPINE.JS TRANSITIONS (utility classes)
   ══════════════════════════════════════════════ */
.transition-fade-enter { transition: opacity 0.2s ease-out; }
.transition-fade-enter-start { opacity: 0; }
.transition-fade-enter-end { opacity: 1; }
.transition-fade-leave { transition: opacity 0.15s ease-in; }
.transition-fade-leave-start { opacity: 1; }
.transition-fade-leave-end { opacity: 0; }
