/* ==========================================================================
   NEKO STORE v2.0 — Modern Refined Neumorphism & Motion Design System
   Brand Primary: #86D3FF | Deep Navy: #0B1F3A | Accent: #1B75BC | Ice: #ECF2F8
   Mobile-First (360px -> 1440px), WCAG AA, Smooth Micro-Interactions
   ========================================================================== */

:root {
  --brand: #86D3FF;
  --brand-deep: #0B1F3A;
  --brand-mid: #163C63;
  --brand-ink: #0D223B;
  --brand-accent: #1B75BC;
  --surface-bg: #ECF2F8;
  --surface-card: #F3F7FB;
  --surface-raised: #F9FCFF;
  --surface-inset: #E4ECF4;
  --ink-primary: #0F1D2E;
  --ink-secondary: #41556C;
  --ink-muted: #5C7088;
  --border-subtle: rgba(15, 29, 46, 0.08);
  --border-brand: rgba(134, 211, 255, 0.62);

  /* Selective Refined Neumorphism Elevation */
  --neu-raise: 6px 6px 16px rgba(15, 29, 46, 0.08), -5px -5px 14px rgba(255, 255, 255, 0.92);
  --neu-raise-sm: 3px 3px 9px rgba(15, 29, 46, 0.07), -3px -3px 8px rgba(255, 255, 255, 0.88);
  --neu-inset: inset 2px 2px 5px rgba(15, 29, 46, 0.09), inset -2px -2px 5px rgba(255, 255, 255, 0.82);

  /* Status tokens (WCAG AA compliant) */
  --ok-bg: #E3F6EC;
  --ok-ink: #115E38;
  --warn-bg: #FEF3DC;
  --warn-ink: #8A4B08;
  --err-bg: #FDE8E8;
  --err-ink: #9B1C1C;

  /* Geometry & Motion Curves */
  --radius-card: 16px;
  --radius-ctrl: 11px;
  --radius-pill: 999px;
  --radius-badge: 7px;
  --container-max: 1220px;
  --header-h: 64px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-sans: "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  font-size: 15px;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--surface-bg);
  color: var(--ink-primary);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-accent); text-decoration: none; transition: color 0.18s var(--ease-out); }
a:hover { text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 14px;
}

:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

/* ================= Motion & Scroll Reveal System ================= */
.page-fade-in {
  animation: nekoPageIn 0.38s var(--ease-out) both;
}
@keyframes nekoPageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal-on-scroll {
  opacity: 1;
  transform: none;
  transition: opacity 0.48s var(--ease-out), transform 0.48s var(--ease-out);
}
.js-anim .reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
}
.js-anim .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.badge-bounce {
  animation: badgePop 0.38s var(--ease-spring);
}
@keyframes badgePop {
  0% { transform: scale(1); }
  45% { transform: scale(1.38); }
  100% { transform: scale(1); }
}

@keyframes spinLoader {
  to { transform: rotate(360deg); }
}
.btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
}
.btn.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinLoader 0.65s linear infinite;
}

/* ================= Header (Ref Image 1 Inspired, NEKO STORE Branded) ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(243, 247, 251, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.22s var(--ease-out), background-color 0.22s var(--ease-out);
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
  background: rgba(248, 251, 254, 0.97);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-stack {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-deep);
  text-decoration: none;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-deep);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.03em;
}
.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(11, 31, 58, 0.14);
}
.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.brand-greeting {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
}
.brand-title {
  font-size: 1.04rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--brand-deep);
}

.icon-circle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-raised);
  box-shadow: var(--neu-raise-sm);
  color: var(--brand-deep);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-out), border-color 0.2s ease, background-color 0.2s ease;
}
.icon-circle-btn:hover {
  transform: translateY(-2px);
  border-color: var(--border-brand);
  color: var(--brand-accent);
  box-shadow: var(--neu-raise);
}
.icon-circle-btn:active {
  transform: scale(0.95);
}

.badge-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--brand-deep);
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface-raised);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-ctrl);
  color: var(--ink-secondary);
  font-size: 0.87rem;
  font-weight: 600;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s var(--ease-out), box-shadow 0.18s ease;
}
.nav-link:hover {
  color: var(--brand-deep);
  background: var(--surface-raised);
  transform: translateY(-1px);
}
.nav-link.active {
  color: var(--brand-deep);
  background: var(--surface-card);
  box-shadow: var(--neu-inset);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mobile Slide Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(11, 31, 58, 0.42);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out);
}
.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer-panel {
  width: min(300px, 84vw);
  height: 100%;
  background: var(--surface-card);
  padding: 18px 16px;
  box-shadow: 12px 0 32px rgba(11, 31, 58, 0.2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(-100%);
  transition: transform 0.3s var(--ease-out);
}
.mobile-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

/* ================= Search Bar & Filter Circle (Ref Image 1) ================= */
.store-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.search-pill-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.search-pill-icon {
  position: absolute;
  left: 15px;
  color: var(--ink-muted);
  display: inline-flex;
  pointer-events: none;
}
.search-pill-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--surface-raised);
  box-shadow: var(--neu-raise-sm);
  color: var(--ink-primary);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.search-pill-input:focus {
  outline: none;
  border-color: var(--brand-accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(134, 211, 255, 0.32);
}
.filter-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

/* ================= Surfaces, Buttons & Inputs ================= */
.neu-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--neu-raise);
  transition: box-shadow 0.24s var(--ease-out), border-color 0.24s ease, transform 0.24s var(--ease-out);
}
.flat-card {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: var(--radius-ctrl);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s var(--ease-spring), background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-mid) 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(11, 31, 58, 0.22);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #102B4F 0%, #1B4E7F 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.28);
}

.btn-brand {
  background: var(--brand);
  color: var(--brand-deep);
  border-color: rgba(11, 31, 58, 0.12);
}
.btn-brand:hover { background: #6ec7fb; color: var(--brand-deep); }

.btn-secondary {
  background: var(--surface-raised);
  color: var(--brand-deep);
  border-color: var(--border-subtle);
  box-shadow: var(--neu-raise-sm);
}
.btn-secondary:hover { background: #FFFFFF; border-color: var(--border-brand); }

.btn-danger {
  background: var(--err-bg);
  color: var(--err-ink);
  border-color: rgba(155, 28, 28, 0.2);
}

.btn-sm { padding: 7px 12px; font-size: 0.81rem; }
.btn-block { width: 100%; }

.field-label {
  display: block;
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--ink-secondary);
  margin: 0 0 5px;
}
.req-star { color: #C81E1E; }
.opt-tag { font-weight: 500; color: var(--ink-muted); font-size: 0.76rem; }

.input, .select, .textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: var(--radius-ctrl);
  border: 1px solid rgba(15, 29, 46, 0.12);
  background: var(--surface-inset);
  box-shadow: var(--neu-inset);
  color: var(--ink-primary);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(134, 211, 255, 0.35);
}
.textarea { min-height: 86px; resize: vertical; }

/* ================= Hero Carousel (Ref Image 1 Inspired) ================= */
.hero-carousel {
  margin-top: 14px;
  border-radius: 20px;
  background: radial-gradient(circle at 85% 20%, rgba(134, 211, 255, 0.24) 0%, transparent 48%),
              linear-gradient(135deg, #071529 0%, #0B1F3A 46%, #143B64 100%);
  color: #F4F9FD;
  border: 1px solid rgba(134, 211, 255, 0.32);
  box-shadow: 0 14px 32px rgba(11, 31, 58, 0.22);
  overflow: hidden;
  position: relative;
}
.hero-slide {
  display: none;
  padding: 22px 20px 14px;
  gap: 16px;
  align-items: center;
  animation: heroSlideIn 0.42s var(--ease-out);
}
.hero-slide.is-active {
  display: grid;
  grid-template-columns: 1fr;
}
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: var(--brand);
  text-transform: uppercase;
}
.hero-title {
  margin: 6px 0 8px;
  font-size: 1.55rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.hero-sub {
  margin: 0;
  font-size: 0.89rem;
  color: #CFE3F5;
  max-width: 54ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.btn-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: var(--brand-deep);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(134, 211, 255, 0.32);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn-hero-pill:hover {
  transform: translateY(-2px);
  background: #A0DEFF;
  color: var(--brand-deep);
  box-shadow: 0 10px 24px rgba(134, 211, 255, 0.42);
}
.pill-arrow-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--brand-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease-spring);
}
.btn-hero-pill:hover .pill-arrow-circle,
.btn-offer-pill:hover .pill-arrow-circle {
  transform: translateX(2px);
}
.pill-arrow-circle.dark {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.hero-slide-visual {
  display: none;
  justify-content: center;
  align-items: center;
}
.hero-emblem-ring {
  padding: 10px;
  border-radius: 26px;
  background: rgba(134, 211, 255, 0.12);
  border: 1px solid rgba(134, 211, 255, 0.38);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.hero-emblem {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 18px;
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 14px;
  gap: 8px;
}
.carousel-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(134, 211, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.18s ease, transform 0.18s var(--ease-spring);
}
.carousel-btn:hover { background: rgba(134, 211, 255, 0.28); transform: scale(1.06); }
.carousel-dots { display: flex; align-items: center; gap: 6px; }
.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: var(--radius-pill);
  border: none;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: width 0.26s var(--ease-out), background-color 0.26s ease;
}
.carousel-dot.is-active { width: 24px; background: var(--brand); }

/* ================= Circular Category Rail (Ref Image 1) ================= */
.category-rail-section {
  padding: 18px 0 6px;
}
.category-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}
.category-rail::-webkit-scrollbar { display: none; }

.cat-rail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 72px;
  color: var(--ink-secondary);
  text-align: center;
  transition: transform 0.22s var(--ease-spring), color 0.18s ease;
}
.cat-rail-item:hover {
  transform: translateY(-3px);
  color: var(--brand-deep);
}
.cat-rail-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--neu-raise-sm);
  display: grid;
  place-items: center;
  color: var(--brand-accent);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.cat-rail-item.is-active .cat-rail-circle,
.cat-rail-item:hover .cat-rail-circle {
  background: linear-gradient(135deg, rgba(134, 211, 255, 0.36), rgba(27, 117, 188, 0.14));
  border-color: var(--brand-accent);
  color: var(--brand-deep);
  box-shadow: 0 6px 16px rgba(27, 117, 188, 0.18);
}
.cat-rail-label {
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ================= Sections & Ref Image 1 Product Cards ================= */
.section { padding: 18px 0; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.section-title {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--brand-deep);
  letter-spacing: -0.015em;
}
.section-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.section-link:hover { color: var(--brand-deep); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-card {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  box-shadow: var(--neu-raise-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.26s var(--ease-out), box-shadow 0.26s var(--ease-out), border-color 0.26s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(11, 31, 58, 0.11);
  border-color: var(--border-brand);
}

.product-thumb-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0B1F3A;
  overflow: hidden;
}
.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s var(--ease-out);
}
.product-card:hover .product-thumb { transform: scale(1.05); }

.card-pill-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-navy { background: var(--brand-deep); color: #FFFFFF; }
.badge-electric { background: var(--brand); color: var(--brand-deep); }
.badge-blue { background: var(--brand-accent); color: #FFFFFF; }

.delivery-pill {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(11, 31, 58, 0.84);
  color: #EAF5FF;
  font-size: 0.66rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.delivery-pill.out-pill { background: var(--err-ink); color: #fff; }

.product-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.product-name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--brand-deep);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-title-link { color: inherit; }
.product-title-link:hover { color: var(--brand-accent); }
.product-sub-meta {
  margin: 0;
  font-size: 0.74rem;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-rating-line {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--ink-primary);
}
.star-gold { color: #F59E0B; }
.rating-count-muted { color: var(--ink-muted); }

.product-card-footer {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.product-price-stack {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.price-now {
  font-size: 1.04rem;
  font-weight: 900;
  color: var(--brand-deep);
}
.price-old {
  font-size: 0.75rem;
  color: var(--ink-muted);
  text-decoration: line-through;
}

.quick-add-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--brand-deep);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(11, 31, 58, 0.22);
  transition: transform 0.2s var(--ease-spring), background-color 0.2s ease, color 0.2s ease;
}
.quick-add-circle:hover {
  transform: scale(1.1);
  background: var(--brand-accent);
  color: #FFFFFF;
}
.quick-add-circle:active { transform: scale(0.92); }
.quick-add-circle.is-disabled { background: var(--surface-inset); color: var(--ink-muted); box-shadow: none; }

/* ================= Exclusive Offer Banner (Ref Image 1) ================= */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.exclusive-offer-card {
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #DDEFFA 0%, #EFF7FD 60%, #E1F2FE 100%);
  border: 1px solid var(--border-brand);
  box-shadow: var(--neu-raise-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out);
}
.exclusive-offer-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--neu-raise);
}
.offer-eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-accent);
  text-transform: uppercase;
}
.offer-title {
  margin: 4px 0 4px;
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--brand-deep);
}
.offer-sub {
  margin: 0 0 12px;
  font-size: 0.83rem;
  color: var(--ink-secondary);
}
.btn-offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 15px;
  border-radius: var(--radius-pill);
  background: var(--brand-deep);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 0.2s var(--ease-spring), background-color 0.2s ease;
}
.btn-offer-pill:hover { background: var(--brand-mid); color: #FFFFFF; transform: translateY(-1px); }

.offer-badge-orb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-accent));
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(11, 31, 58, 0.22);
  text-align: center;
  line-height: 1.1;
}
.offer-badge-orb strong { font-size: 1.08rem; font-weight: 900; color: var(--brand); }
.offer-badge-orb span { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; }

/* ================= Verified TrustSpot Reviews Grid ================= */
.trustspot-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--ok-bg);
  color: var(--ok-ink);
  font-size: 0.76rem;
  font-weight: 700;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.review-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-stars { color: #F59E0B; font-size: 0.95rem; letter-spacing: 1px; }
.review-title { margin: 0; font-size: 0.92rem; color: var(--brand-deep); }
.review-body { margin: 0; font-size: 0.84rem; color: var(--ink-secondary); flex: 1; }
.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}
.verified-buyer-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ok-ink);
  font-weight: 700;
}

/* ================= Checkout Page (Reference Image 2 Customized) ================= */
.checkout-page-wrap {
  padding-top: 16px;
  padding-bottom: 40px;
}
.checkout-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.checkout-topbar-title {
  flex: 1;
  min-width: 0;
}
.checkout-topbar-title h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brand-deep);
}
.checkout-trust-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  line-height: 1.3;
  color: var(--ok-ink);
  font-weight: 600;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.checkout-main-col {
  display: grid;
  gap: 14px;
}
.checkout-card {
  padding: 18px;
}
.checkout-card-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.checkout-card-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-deep);
}
.checkout-card-sub {
  margin: 1px 0 0;
  font-size: 0.77rem;
  color: var(--ink-muted);
}
.step-pill {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-deep);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-fields-stack {
  display: grid;
  gap: 12px;
}
.guest-delivery-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 13px;
  border-radius: var(--radius-ctrl);
  background: #E5F4FF;
  border: 1px solid rgba(27, 117, 188, 0.25);
  color: #0B3B66;
  font-size: 0.81rem;
  line-height: 1.45;
}
.guest-delivery-note svg { flex-shrink: 0; margin-top: 2px; color: var(--brand-accent); }

.checkout-auth-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
}
.auth-strip-label {
  font-size: 0.8rem;
  color: var(--ink-secondary);
  font-weight: 600;
}
.auth-strip-btns {
  display: flex;
  gap: 8px;
}
.checkout-signed-in-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: var(--radius-ctrl);
  background: var(--ok-bg);
  color: var(--ok-ink);
  font-size: 0.81rem;
}

.checkout-assurance-strip {
  padding: 13px 16px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, #0B1F3A 0%, #153A61 100%);
  color: #EAF5FF;
}
.assurance-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.assurance-row svg { color: var(--brand); flex-shrink: 0; }
.assurance-row strong { display: block; font-size: 0.88rem; }
.assurance-row span { font-size: 0.76rem; color: #BED9F0; }

.checkout-items-list {
  display: grid;
  gap: 12px;
}
.checkout-item-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.checkout-item-row:last-child { border-bottom: none; padding-bottom: 0; }
.checkout-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0B1F3A;
}
.checkout-item-info { flex: 1; min-width: 0; }
.checkout-item-info strong { display: block; font-size: 0.9rem; color: var(--brand-deep); }
.checkout-item-unit { font-size: 0.76rem; color: var(--ink-muted); }
.checkout-item-bottom {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.checkout-line-price { font-size: 0.96rem; font-weight: 800; color: var(--brand-deep); }

.seller-note-wrap { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border-subtle); }
.seller-note-toggle {
  background: none;
  border: none;
  padding: 0;
  color: var(--brand-accent);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.seller-note-box { margin-top: 8px; animation: nekoPageIn 0.22s var(--ease-out); }

/* Payment Methods with Official Logos */
.payment-methods-list {
  display: grid;
  gap: 10px;
}
.payment-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1.5px solid var(--border-subtle);
  background: var(--surface-raised);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}
.payment-option:hover {
  border-color: var(--border-brand);
  transform: translateY(-1px);
}
.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.payment-option.selected {
  border-color: var(--brand-accent);
  background: #EAF6FF;
  box-shadow: 0 4px 14px rgba(27, 117, 188, 0.14);
}
.payment-brand-logo {
  width: 96px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 7px;
}
.payment-option-meta { flex: 1; min-width: 0; }
.payment-option-meta strong { display: block; font-size: 0.92rem; color: var(--brand-deep); }
.payment-option-meta span { display: block; font-size: 0.76rem; color: var(--ink-muted); }
.payment-radio-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #9FB3C8;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s ease;
}
.payment-option.selected .payment-radio-indicator {
  border-color: var(--brand-accent);
}
.payment-option.selected .payment-radio-indicator::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--brand-accent);
  animation: badgePop 0.25s var(--ease-spring);
}

.payment-detail-panel {
  margin-top: 14px;
  padding: 14px;
  border-radius: 13px;
  background: #E9F5FF;
  border: 1px solid rgba(27, 117, 188, 0.26);
  display: grid;
  gap: 12px;
  animation: nekoPageIn 0.26s var(--ease-out);
}
.payment-detail-panel.binance-panel {
  background: #FFFBEB;
  border-color: rgba(240, 185, 11, 0.45);
}
.payment-number-banner, .binance-summary-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.pay-label-sm { font-size: 0.78rem; color: var(--ink-secondary); display: block; }
.pay-number-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.pay-number-big { font-size: 1.15rem; font-weight: 900; color: var(--brand-deep); letter-spacing: 0.02em; }
.pay-type-pill {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--brand-deep);
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 700;
}
.pay-pra-sub { display: block; font-size: 0.78rem; color: var(--brand-mid); font-weight: 600; margin-top: 3px; }
.pay-instructions-text {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-primary);
  white-space: pre-line;
  line-height: 1.5;
}
.pay-inputs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.pay-security-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.summary-rows { display: grid; gap: 9px; font-size: 0.88rem; }
.summary-row { display: flex; justify-content: space-between; color: var(--ink-secondary); }
.summary-row.is-discount { color: var(--ok-ink); }
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid var(--border-subtle);
  font-size: 1.14rem;
  font-weight: 900;
  color: var(--brand-deep);
}
.checkout-cta-btn { margin-top: 14px; padding: 12px 18px; font-size: 0.94rem; }
.checkout-fineprint {
  margin: 10px 0 0;
  font-size: 0.75rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Mobile Sticky Bottom Checkout Bar (Ref Image 2) */
.mobile-checkout-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 75;
  background: rgba(249, 252, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 -6px 22px rgba(11, 31, 58, 0.1);
}
.mobile-checkout-total { display: flex; flex-direction: column; line-height: 1.15; }
.m-total-label { font-size: 0.72rem; color: var(--ink-muted); font-weight: 600; }
.mobile-checkout-total strong { font-size: 1.12rem; font-weight: 900; color: var(--brand-deep); }
.mobile-checkout-cta { border-radius: var(--radius-pill); padding: 11px 22px; font-size: 0.85rem; letter-spacing: 0.03em; }

/* ================= Mobile Bottom Nav Bar (Ref Image 1) ================= */
.mobile-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 65;
  height: 64px;
  background: rgba(249, 252, 255, 0.95);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -6px 24px rgba(11, 31, 58, 0.08);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 0 6px;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--ink-muted);
  font-size: 0.68rem;
  font-weight: 700;
  transition: color 0.18s ease, transform 0.18s var(--ease-spring);
}
.bottom-nav-item.is-active,
.bottom-nav-item:hover { color: var(--brand-deep); }
.bottom-nav-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -22px;
  color: var(--brand-deep);
}
.bottom-nav-orb {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-accent));
  color: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.28);
  border: 3px solid var(--surface-raised);
  transition: transform 0.22s var(--ease-spring);
}
.bottom-nav-center:hover .bottom-nav-orb { transform: scale(1.07); }
.bottom-orb-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-deep);
  font-size: 0.66rem;
  font-weight: 900;
  display: grid;
  place-items: center;
}
.bottom-nav-center-label {
  font-size: 0.68rem;
  font-weight: 800;
  margin-top: 2px;
}

/* ================= Floating Circular Social Media Button (Expands LEFT) ================= */
.social-fab-wrap {
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-fab-main {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(134, 211, 255, 0.55);
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-accent) 100%);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(11, 31, 58, 0.3);
  transition: transform 0.28s var(--ease-spring), box-shadow 0.24s ease;
  position: relative;
  z-index: 2;
}
.social-fab-main:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.38);
}
.social-fab-main .fab-icon-close { display: none; }
.social-fab-wrap.is-open .social-fab-main {
  transform: rotate(90deg);
}
.social-fab-wrap.is-open .social-fab-main .fab-icon-open { display: none; }
.social-fab-wrap.is-open .social-fab-main .fab-icon-close { display: inline-flex; }

.social-fab-items {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.social-fab-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #FFFFFF;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.22);
  opacity: 0;
  transform: translateX(24px) scale(0.6);
  transition: opacity 0.28s var(--ease-out), transform 0.34s var(--ease-spring), box-shadow 0.2s ease;
  position: relative;
}
.social-fab-wrap.is-open .social-fab-items { pointer-events: auto; }
.social-fab-wrap.is-open .social-fab-item {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.social-fab-wrap.is-open .social-fab-item:nth-child(3) { transition-delay: 0.03s; }
.social-fab-wrap.is-open .social-fab-item:nth-child(2) { transition-delay: 0.08s; }
.social-fab-wrap.is-open .social-fab-item:nth-child(1) { transition-delay: 0.13s; }

.social-fab-item:hover {
  transform: translateY(-3px) scale(1.08);
  color: #FFFFFF;
}
.social-dc { background: #5865F2; }
.social-wa { background: #25D366; }
.social-fb { background: #1877F2; }

.social-fab-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--brand-deep);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.social-fab-item:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ================= Preserved Core Utility & Page Styles ================= */
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cat-card { display: flex; align-items: center; gap: 10px; padding: 13px; color: var(--ink-primary); transition: transform 0.2s var(--ease-out), border-color 0.2s ease; }
.cat-card:hover { transform: translateY(-2px); border-color: var(--border-brand); }
.cat-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--surface-inset); box-shadow: var(--neu-inset); color: var(--brand-accent); display: grid; place-items: center; flex-shrink: 0; }
.cat-name { font-size: 0.88rem; font-weight: 700; margin: 0; }
.cat-count { font-size: 0.76rem; color: var(--ink-muted); }

.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.trust-item { padding: 14px; display: flex; gap: 10px; align-items: flex-start; }
.trust-item h3 { margin: 0 0 2px; font-size: 0.86rem; font-weight: 700; color: var(--brand-deep); }
.trust-item p { margin: 0; font-size: 0.78rem; color: var(--ink-secondary); }

.filter-bar { padding: 14px; margin-bottom: 14px; display: grid; grid-template-columns: 1fr; gap: 8px; }
.alert { padding: 11px 14px; border-radius: var(--radius-ctrl); font-size: 0.86rem; font-weight: 600; margin-bottom: 12px; }
.alert-ok { background: var(--ok-bg); color: var(--ok-ink); border: 1px solid rgba(17,94,56,.2); }
.alert-err { background: var(--err-bg); color: var(--err-ink); border: 1px solid rgba(155,28,28,.2); }
.alert-info { background: #E1F2FE; color: #0B3B66; border: 1px solid rgba(27,117,188,.25); }

.detail-grid, .cart-layout, .account-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.spec-table th, .spec-table td { padding: 8px 10px; border-bottom: 1px solid var(--border-subtle); text-align: left; }
.spec-table th { width: 38%; color: var(--ink-secondary); font-weight: 600; }

.cart-item-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px; border-bottom: 1px solid var(--border-subtle); align-items: center; }
.cart-item-row:last-child { border-bottom: none; }
.cart-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 9px; }

.qty-stepper { display: inline-flex; align-items: center; border-radius: var(--radius-pill); background: var(--surface-inset); box-shadow: var(--neu-inset); padding: 2px; }
.qty-btn { width: 28px; height: 28px; border: none; background: var(--surface-raised); color: var(--brand-deep); border-radius: 50%; font-weight: 800; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease; }
.qty-btn:hover { background: var(--brand); }
.qty-val { min-width: 28px; text-align: center; font-size: 0.85rem; font-weight: 800; }

.avail-badge { display: inline-flex; align-items: center; width: fit-content; padding: 3px 8px; border-radius: var(--radius-badge); font-size: 0.7rem; font-weight: 700; }
.avail-in_stock { background: var(--ok-bg); color: var(--ok-ink); }
.avail-low_stock { background: var(--warn-bg); color: var(--warn-ink); }
.avail-out_of_stock { background: var(--err-bg); color: var(--err-ink); }
.avail-pre_order { background: #E1F1FC; color: #0E4D82; }

.delivery-box { padding: 14px; border-radius: var(--radius-ctrl); background: #0B1F3A; color: #EAF5FF; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86rem; word-break: break-all; }

/* ================= Footer ================= */
.site-footer { margin-top: 34px; background: var(--brand-deep); color: #CFE2F3; padding: 28px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.footer-grid h4 { margin: 0 0 8px; color: #fff; font-size: 0.9rem; }
.footer-grid a { color: #A9CBE8; font-size: 0.84rem; display: block; margin-bottom: 5px; }
.footer-grid a:hover { color: var(--brand); }
.footer-bottom { margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(134, 211, 255, 0.16); font-size: 0.78rem; color: #8FB2D1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ================= Responsive Breakpoints ================= */
@media (min-width: 640px) {
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pay-inputs-grid { grid-template-columns: 1fr 1fr; }
  .filter-bar { grid-template-columns: 1.5fr 1fr 1fr auto; align-items: end; }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .container { padding: 0 22px; }
  .desktop-nav { display: flex; }
  .mobile-menu-btn { display: none; }
  .mobile-bottom-nav { display: none; }
  .mobile-checkout-bar { display: none; }
  .social-fab-wrap { bottom: 24px; right: 24px; }
  .hero-slide.is-active { grid-template-columns: 1.45fr auto; padding: 28px 30px 16px; }
  .hero-slide-visual { display: flex; }
  .hero-title { font-size: 1.95rem; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: 1fr 1.15fr; align-items: start; }
  .cart-layout { grid-template-columns: 1.55fr 1fr; align-items: start; }
  .checkout-layout { grid-template-columns: 1.45fr 1fr; align-items: start; }
  .checkout-sticky-desktop { position: sticky; top: calc(var(--header-h) + 18px); }
  .account-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll { opacity: 1; transform: none; }
}


/* ================= Mobile Polish, Checkout Clearance & Offline Banner ================= */
body.is-checkout-page {
  padding-bottom: 84px;
}
body.is-checkout-page .mobile-bottom-nav {
  display: none !important;
}
.social-fab-wrap {
  z-index: 95 !important;
  bottom: 82px;
  right: 16px;
}
body.is-checkout-page .social-fab-wrap {
  bottom: 84px;
}

.offline-banner {
  background: var(--warn-bg);
  color: var(--warn-ink);
  border-bottom: 1px solid rgba(138, 75, 8, 0.22);
  padding: 9px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.offline-banner[hidden] { display: none !important; }
.offline-banner-link {
  color: var(--brand-deep);
  text-decoration: underline;
  white-space: nowrap;
}

/* Mobile-First Hero Visual (shows compact NEKO emblem on mobile too, matching Ref Image 1) */
@media (max-width: 767px) {
  .hero-slide.is-active {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 18px 16px 12px;
    gap: 12px;
  }
  .hero-slide-visual {
    display: flex !important;
  }
  .hero-emblem-ring {
    padding: 6px;
    border-radius: 18px;
  }
  .hero-emblem {
    width: 72px;
    height: 72px;
    border-radius: 13px;
  }
  .hero-title {
    font-size: 1.24rem;
    line-height: 1.18;
  }
  .hero-sub {
    font-size: 0.8rem;
  }
  .brand-title {
    font-size: 0.94rem;
  }
  .brand-logo {
    width: 34px;
    height: 34px;
  }
  .icon-circle-btn {
    width: 37px;
    height: 37px;
  }
  .exclusive-offer-card {
    padding: 16px;
    gap: 12px;
  }
  .offer-title {
    font-size: 1.02rem;
  }
  .offer-badge-orb {
    width: 60px;
    height: 60px;
  }
  .offer-badge-orb strong {
    font-size: 0.94rem;
  }
  .product-grid {
    gap: 10px;
  }
  .product-body {
    padding: 10px;
  }
  .product-name {
    font-size: 0.84rem;
  }
  .price-now {
    font-size: 0.94rem;
  }
  .checkout-card {
    padding: 14px;
  }
  .payment-brand-logo {
    width: 78px;
    height: 28px;
  }
}

@media (min-width: 768px) {
  body.is-checkout-page {
    padding-bottom: 0;
  }
  .social-fab-wrap,
  body.is-checkout-page .social-fab-wrap {
    bottom: 24px;
    right: 24px;
  }
}


/* ================= Custom Banner Image & Category Thumbnail Support ================= */
.hero-slide.has-banner-img {
  position: relative;
  background-image: linear-gradient(95deg, rgba(7, 21, 41, 0.88) 0%, rgba(11, 31, 58, 0.72) 55%, rgba(11, 31, 58, 0.35) 100%), var(--banner-img);
  background-size: cover;
  background-position: center;
  min-height: 210px;
}
.cat-rail-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 50%;
}

/* ================= OAuth Buttons (Google & Discord) ================= */
.oauth-btn-stack { display: grid; gap: 8px; }
.oauth-btn { width: 100%; justify-content: center; font-weight: 700; }
.oauth-google {
  background: #FFFFFF;
  color: #1F2937;
  border: 1px solid rgba(15, 29, 46, 0.16);
  box-shadow: 0 2px 6px rgba(15, 29, 46, 0.06);
}
.oauth-google:hover { background: #F8FAFC; color: #111827; }
.oauth-discord {
  background: #5865F2;
  color: #FFFFFF;
  border-color: #5865F2;
}
.oauth-discord:hover { background: #4752C4; color: #FFFFFF; }
.oauth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin: 4px 0;
}
.oauth-divider::before, .oauth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

/* ================= Theme Toggle Icon State ================= */
.theme-toggle-btn .theme-icon-sun { display: none; }
.theme-toggle-btn .theme-icon-moon { display: inline-flex; }
[data-theme="dark"] .theme-toggle-btn .theme-icon-sun { display: inline-flex; color: #FBBF24; }
[data-theme="dark"] .theme-toggle-btn .theme-icon-moon { display: none; }

/* ==========================================================================
   NEKO STORE v3.1 — Three-Color Gradient System (#2078CF / #0E4EB2 / #011F65),
   Natural Good Shadows (Ref 2), Auth Card (Ref 1), Cookie & Terms Modals,
   and True Light / Dark Mode Architecture (Ref 3)
   ========================================================================== */

:root {
  /* NEKO STORE Core Brand + Reference Image 4 Top-3 Gradient Palette */
  --brand: #86D3FF;
  --grad-c1: #2078CF;
  --grad-c2: #0E4EB2;
  --grad-c3: #011F65;
  --grad-brand: linear-gradient(135deg, var(--grad-c1) 0%, var(--grad-c2) 52%, var(--grad-c3) 100%);
  --grad-brand-hover: linear-gradient(135deg, #2B86DF 0%, #155BC4 52%, #06297A 100%);
  --grad-hero: radial-gradient(circle at 86% 14%, rgba(134, 211, 255, 0.26) 0%, transparent 46%),
               linear-gradient(135deg, var(--grad-c3) 0%, var(--grad-c2) 55%, var(--grad-c1) 100%);

  --brand-deep: #011F65;
  --brand-mid: #0E4EB2;
  --brand-accent: #2078CF;
  --brand-50: #F4F9FF;
  --brand-100: #E6F2FE;
  --brand-200: #CBE5FF;

  /* True Light Mode Surfaces (Reference Image 3 — Frosted Pale Ice Canvas + Crisp White Cards) */
  --surface-bg: #EBF3FA;
  --surface-card: #FFFFFF;
  --surface-raised: #F6FAFE;
  --surface-inset: #E5EFF8;
  --ink-primary: #0B1726;
  --ink-secondary: #43576E;
  --ink-muted: #647A92;
  --border-subtle: rgba(1, 31, 101, 0.08);
  --border-brand: rgba(32, 120, 207, 0.36);

  /* Reference Image 2 — Calibrated Soft, Natural "Good Shadow" Elevation Scale */
  --shadow-xs: 0 2px 8px rgba(14, 47, 80, 0.045);
  --shadow-sm: 0 6px 20px rgba(14, 47, 80, 0.055), 0 1px 3px rgba(14, 47, 80, 0.025);
  --shadow-md: 0 12px 32px rgba(14, 47, 80, 0.075), 0 2px 8px rgba(14, 47, 80, 0.03);
  --shadow-lg: 0 20px 48px rgba(1, 31, 101, 0.11), 0 4px 14px rgba(14, 47, 80, 0.04);

  /* Replace heavy neumorphic shadows with clean Good Shadows */
  --neu-raise: var(--shadow-sm);
  --neu-raise-sm: var(--shadow-xs);
  --neu-inset: inset 0 1px 2px rgba(1, 31, 101, 0.05);

  /* Auth Card Surface Token */
  --auth-card-bg: #FFFFFF;
}

/* Smooth theme transition without jank */
body,
.site-header,
.neu-card,
.product-card,
.checkout-card,
.mobile-bottom-nav,
.mobile-checkout-bar,
.cookie-banner,
.neko-modal-card,
.auth-card,
.input,
.select,
.textarea {
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.18s ease, box-shadow 0.22s ease;
}

/* Component-Calibrated Good Shadows & Three-Color Gradients */
.site-header {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}
.brand-logo {
  box-shadow: var(--shadow-xs);
  object-fit: contain;
}
.icon-circle-btn {
  background: var(--surface-card);
  box-shadow: var(--shadow-xs);
}
.icon-circle-btn:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-brand);
}

.neu-card,
.product-card,
.checkout-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-brand);
}

.hero-carousel {
  background: var(--grad-hero);
  border: 1px solid rgba(134, 211, 255, 0.28);
  box-shadow: var(--shadow-md);
}
.exclusive-offer-card {
  background: linear-gradient(135deg, var(--brand-100) 0%, #FFFFFF 55%, var(--brand-200) 100%);
  border: 1px solid rgba(32, 120, 207, 0.22);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--grad-brand);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(14, 78, 178, 0.22);
}
.btn-primary:hover {
  background: var(--grad-brand-hover);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(14, 78, 178, 0.28);
}
.btn-brand {
  background: var(--brand);
  color: var(--grad-c3);
  box-shadow: var(--shadow-xs);
}
.step-pill {
  background: var(--grad-brand);
  color: #FFFFFF;
}
.bottom-nav-orb,
.social-fab-main {
  background: var(--grad-brand);
  box-shadow: 0 10px 24px rgba(1, 31, 101, 0.22);
}
.social-fab-main:hover {
  background: var(--grad-brand-hover);
  box-shadow: 0 14px 30px rgba(1, 31, 101, 0.28);
}
.social-fab-item {
  box-shadow: 0 6px 16px rgba(1, 31, 101, 0.16);
}
.mobile-bottom-nav,
.mobile-checkout-bar {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -8px 24px rgba(14, 47, 80, 0.06);
}

/* Official Payment Logo Clear-Space Container */
.payment-brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 40px;
  padding: 5px 10px;
  border-radius: 9px;
  background: #FFFFFF;
  border: 1px solid rgba(1, 31, 101, 0.08);
  flex-shrink: 0;
}
.payment-brand-logo-wrap .payment-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

/* Checkout Coupon Box & Assisted Purchase Card */
.checkout-coupon-box {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-subtle);
}
.assisted-purchase-card {
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-100) 0%, #FFFFFF 100%);
  border: 1px solid var(--border-brand);
  box-shadow: var(--shadow-xs);
  display: grid;
  gap: 12px;
}
.assisted-head { display: flex; align-items: flex-start; gap: 10px; }
.assisted-head svg { color: var(--brand-accent); flex-shrink: 0; margin-top: 2px; }
.assisted-head strong { display: block; font-size: 0.94rem; color: var(--brand-deep); }
.assisted-head p { margin: 3px 0 0; font-size: 0.8rem; color: var(--ink-secondary); }
.assisted-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.assisted-btn-wa { flex: 1; min-width: 180px; background: #1E9E52; color: #FFFFFF; }
.assisted-btn-wa:hover { background: #188344; color: #FFFFFF; }
.assisted-btn-fb { flex: 1; min-width: 180px; background: #1877F2; color: #FFFFFF; }
.assisted-btn-fb:hover { background: #1362C9; color: #FFFFFF; }
.assisted-preview-box { padding: 10px 12px; border-radius: 10px; background: var(--surface-raised); border: 1px solid var(--border-subtle); }
.assisted-msg-pre { margin: 0; font-family: inherit; font-size: 0.78rem; color: var(--ink-secondary); white-space: pre-wrap; word-break: break-word; line-height: 1.45; }

/* ================= Reference Image 1 — Sleek Auth Card (Login & Register) ================= */
.auth-shell {
  min-height: calc(100vh - var(--header-h) - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 14px 40px;
}
.auth-card {
  width: 100%;
  max-width: 410px;
  background: var(--auth-card-bg);
  border-radius: 28px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: nekoPageIn 0.36s var(--ease-out) both;
}
.auth-hero-banner {
  position: relative;
  height: 215px;
  width: 100%;
  background: var(--grad-hero);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.auth-hero-banner.has-custom-img {
  background-size: cover;
  background-position: center;
}
.auth-default-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 36px;
}
.auth-default-logo {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px;
  border: 1px solid rgba(134, 211, 255, 0.35);
  box-shadow: 0 12px 28px rgba(1, 31, 101, 0.25);
}
.auth-banner-fade {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 58px 24px 16px;
  text-align: center;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.58) 54%,
    var(--auth-card-bg) 100%
  );
}
.auth-heading {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}
.auth-body {
  padding: 12px 24px 28px;
}
.auth-form {
  display: grid;
  gap: 12px;
}
.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.auth-input-wrap:focus-within {
  border-color: var(--grad-c1);
  background: var(--surface-card);
  box-shadow: 0 0 0 3px rgba(32, 120, 207, 0.14);
}
.auth-input-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 14px;
  color: var(--ink-muted);
  flex-shrink: 0;
}
.auth-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 13px 14px 13px 10px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink-primary);
  outline: none;
}
.auth-input::placeholder {
  color: var(--ink-muted);
}
.auth-cta-pill {
  width: 100%;
  margin-top: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  border: none;
  background: var(--grad-brand);
  color: #FFFFFF;
  font-size: 0.94rem;
  font-weight: 700;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(14, 78, 178, 0.24);
  transition: transform 0.18s var(--ease-out), box-shadow 0.2s ease, background 0.2s ease;
}
.auth-cta-pill:hover {
  background: var(--grad-brand-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(14, 78, 178, 0.30);
}
.auth-oauth-stack {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.auth-oauth-pill {
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--ink-primary);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  font-weight: 700;
  justify-content: center;
  gap: 9px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s var(--ease-out), border-color 0.18s ease, background-color 0.18s ease;
}
.auth-oauth-pill:hover {
  border-color: var(--border-brand);
  background: var(--surface-card);
  color: var(--ink-primary);
  transform: translateY(-1px);
}
.auth-oauth-discord {
  background: #5865F2;
  color: #FFFFFF;
  border-color: #5865F2;
}
.auth-oauth-discord:hover {
  background: #4752C4;
  color: #FFFFFF;
  border-color: #4752C4;
}
.auth-footer-note {
  margin: 22px 0 0;
  text-align: center;
  font-size: 0.84rem;
  color: var(--ink-muted);
}
.auth-footer-note a {
  color: var(--grad-c1);
  font-weight: 700;
}

/* ================= Checkout Mandatory Terms & Conditions Box ================= */
.checkout-terms-box {
  margin-top: 14px;
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.checkout-terms-box.is-error {
  border-color: var(--err-ink);
  box-shadow: 0 0 0 3px rgba(155, 28, 28, 0.14);
}
.terms-check-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.8rem;
  color: var(--ink-secondary);
  line-height: 1.45;
  cursor: pointer;
}
.terms-check-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--grad-c2);
  flex-shrink: 0;
  cursor: pointer;
}
.terms-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--grad-c1);
  text-decoration: underline;
  cursor: pointer;
}
.terms-link-btn:hover { color: var(--grad-c2); }

/* ================= Cookie Consent Banner & Shared Modals ================= */
.cookie-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 74px;
  z-index: 105;
  max-width: 980px;
  margin: 0 auto;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 16px 18px;
  animation: nekoPageIn 0.3s var(--ease-out) both;
}
.cookie-banner[hidden] { display: none !important; }
@media (min-width: 768px) {
  .cookie-banner { bottom: 20px; left: 20px; right: 20px; }
}
.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cookie-banner-copy { flex: 1; min-width: 240px; }
.cookie-banner-copy strong { display: block; font-size: 0.92rem; color: var(--ink-primary); margin-bottom: 3px; }
.cookie-banner-copy p { margin: 0; font-size: 0.8rem; color: var(--ink-secondary); line-height: 1.45; }
.cookie-banner-copy a { color: var(--grad-c1); font-weight: 700; text-decoration: underline; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.neko-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(5, 12, 24, 0.56);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.neko-modal-backdrop[hidden] { display: none !important; }
.neko-modal-card {
  width: 100%;
  max-width: 520px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: nekoPageIn 0.24s var(--ease-out) both;
}
.neko-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.neko-modal-head h2 { margin: 0; font-size: 1.04rem; font-weight: 800; color: var(--ink-primary); }
.neko-modal-body { padding: 16px 20px; }
.neko-modal-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-raised);
}
.cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
}
.cookie-pref-row strong { display: block; font-size: 0.86rem; color: var(--ink-primary); }
.cookie-pref-row span { display: block; font-size: 0.76rem; color: var(--ink-muted); }
.cookie-pref-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--grad-c2); cursor: pointer; flex-shrink: 0; }

/* Legal Prose Page */
.legal-prose h2, .legal-prose h3 { color: var(--ink-primary); margin-top: 20px; margin-bottom: 8px; }
.legal-prose p, .legal-prose li { color: var(--ink-secondary); line-height: 1.65; font-size: 0.92rem; }
.footer-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  color: #A9CBE8;
  font-family: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  display: block;
  margin-bottom: 5px;
  text-align: left;
}
.footer-cookie-btn:hover { color: var(--brand); }

/* ==========================================================================
   TRUE DARK MODE (Reference Image 3 — Obsidian Charcoal Surfaces & Crisp Text)
   MUST REMAIN AT THE VERY BOTTOM OF THIS FILE SO IT ALWAYS WINS THE CASCADE
   ========================================================================== */
html[data-theme="dark"] {
  --surface-bg: #0B1018;
  --surface-card: #121923;
  --surface-raised: #192230;
  --surface-inset: #0E1520;
  --ink-primary: #F3F7FC;
  --ink-secondary: #B4C3D6;
  --ink-muted: #7F93AC;
  --brand-deep: #F3F7FC;
  --brand-mid: #86D3FF;
  --brand-accent: #4DA6FF;
  --border-subtle: rgba(148, 179, 214, 0.14);
  --border-brand: rgba(77, 166, 255, 0.42);
  --shadow-xs: 0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 22px 52px rgba(0, 0, 0, 0.55);
  --neu-raise: var(--shadow-sm);
  --neu-raise-sm: var(--shadow-xs);
  --neu-inset: inset 0 1px 3px rgba(0, 0, 0, 0.42);
  --ok-bg: rgba(16, 185, 129, 0.16);
  --ok-ink: #6EE7B7;
  --warn-bg: rgba(245, 158, 11, 0.16);
  --warn-ink: #FCD34D;
  --err-bg: rgba(239, 68, 68, 0.18);
  --err-ink: #FCA5A5;
  --auth-card-bg: #0F151F;
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background: var(--surface-bg);
  color: var(--ink-primary);
}
html[data-theme="dark"] .site-header {
  background: rgba(11, 16, 24, 0.88);
  border-bottom-color: var(--border-subtle);
}
html[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(18, 25, 35, 0.96);
  box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .brand-title,
html[data-theme="dark"] .brand-link,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .product-name,
html[data-theme="dark"] .price-now,
html[data-theme="dark"] .checkout-topbar-title h1,
html[data-theme="dark"] .checkout-card-head h2,
html[data-theme="dark"] .checkout-item-info strong,
html[data-theme="dark"] .checkout-line-price,
html[data-theme="dark"] .payment-option-meta strong,
html[data-theme="dark"] .summary-total-row,
html[data-theme="dark"] .mobile-checkout-total strong,
html[data-theme="dark"] .trust-item h3,
html[data-theme="dark"] .review-title,
html[data-theme="dark"] .assisted-head strong,
html[data-theme="dark"] .auth-heading,
html[data-theme="dark"] .err-title,
html[data-theme="dark"] .err-brand-head {
  color: #F3F7FC;
}
html[data-theme="dark"] .icon-circle-btn,
html[data-theme="dark"] .btn-secondary {
  background: var(--surface-raised);
  color: #E2EEF9;
  border-color: var(--border-subtle);
}
html[data-theme="dark"] .icon-circle-btn:hover,
html[data-theme="dark"] .btn-secondary:hover {
  background: #222F42;
  color: var(--brand);
  border-color: var(--border-brand);
}
html[data-theme="dark"] .nav-link {
  color: #B4C3D6;
}
html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link.active {
  color: #FFFFFF;
  background: rgba(32, 120, 207, 0.22);
}
html[data-theme="dark"] .search-pill-input,
html[data-theme="dark"] .input,
html[data-theme="dark"] .select,
html[data-theme="dark"] .textarea {
  background: var(--surface-inset);
  color: #F3F7FC;
  border-color: var(--border-subtle);
}
html[data-theme="dark"] .search-pill-input:focus,
html[data-theme="dark"] .input:focus,
html[data-theme="dark"] .select:focus,
html[data-theme="dark"] .textarea:focus {
  background: #131D2B;
  border-color: var(--grad-c1);
}
html[data-theme="dark"] .cat-rail-pill,
html[data-theme="dark"] .cat-card,
html[data-theme="dark"] .trust-item,
html[data-theme="dark"] .review-card {
  background: var(--surface-card);
  border-color: var(--border-subtle);
}
html[data-theme="dark"] .exclusive-offer-card {
  background: linear-gradient(135deg, #0D1E38 0%, #122848 100%);
  border-color: rgba(77, 166, 255, 0.28);
}
html[data-theme="dark"] .offer-title { color: #FFFFFF; }
html[data-theme="dark"] .offer-sub { color: #B4C3D6; }
html[data-theme="dark"] .quick-add-circle {
  background: var(--grad-c1);
  color: #FFFFFF;
}
html[data-theme="dark"] .quick-add-circle:hover {
  background: var(--brand);
  color: #011F65;
}
html[data-theme="dark"] .mobile-bottom-nav,
html[data-theme="dark"] .mobile-checkout-bar {
  background: rgba(15, 22, 32, 0.96);
  border-top-color: var(--border-subtle);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .bottom-nav-item.is-active,
html[data-theme="dark"] .bottom-nav-center {
  color: var(--brand);
}
html[data-theme="dark"] .mobile-drawer-panel {
  background: var(--surface-card);
  border-right-color: var(--border-subtle);
}
html[data-theme="dark"] .guest-delivery-note,
html[data-theme="dark"] .payment-detail-panel,
html[data-theme="dark"] .checkout-assurance-strip {
  background: rgba(32, 120, 207, 0.14);
  border-color: rgba(77, 166, 255, 0.28);
  color: #D7ECFF;
}
html[data-theme="dark"] .payment-detail-panel.binance-panel {
  background: rgba(240, 185, 11, 0.12);
  border-color: rgba(240, 185, 11, 0.34);
}
html[data-theme="dark"] .pay-number-big,
html[data-theme="dark"] .pay-instructions-text {
  color: #F3F7FC;
}
html[data-theme="dark"] .payment-option {
  background: var(--surface-raised);
  border-color: var(--border-subtle);
}
html[data-theme="dark"] .payment-option.selected {
  background: rgba(32, 120, 207, 0.18);
  border-color: #4DA6FF;
}
html[data-theme="dark"] .assisted-purchase-card {
  background: linear-gradient(135deg, rgba(14, 78, 178, 0.22) 0%, rgba(18, 25, 35, 0.92) 100%);
  border-color: rgba(77, 166, 255, 0.3);
}
html[data-theme="dark"] .auth-banner-fade {
  background: linear-gradient(
    to bottom,
    rgba(15, 21, 31, 0) 0%,
    rgba(15, 21, 31, 0.65) 54%,
    var(--auth-card-bg) 100%
  );
}
html[data-theme="dark"] .auth-input-wrap {
  background: #171E2A;
  border-color: rgba(148, 179, 214, 0.18);
}
html[data-theme="dark"] .auth-input-wrap:focus-within {
  background: #1C2535;
  border-color: #4DA6FF;
}
html[data-theme="dark"] .auth-oauth-pill {
  background: #161E2B;
  border-color: rgba(148, 179, 214, 0.2);
  color: #F3F7FC;
}
html[data-theme="dark"] .auth-oauth-pill:hover {
  background: #1E293B;
}
html[data-theme="dark"] .site-footer {
  background: #060A10;
  border-top: 1px solid var(--border-subtle);
}
html[data-theme="dark"] .alert-info {
  background: rgba(32, 120, 207, 0.18);
  color: #CBE5FF;
  border-color: rgba(77, 166, 255, 0.3);
}
html[data-theme="dark"] .qty-btn {
  background: var(--surface-raised);
  color: #F3F7FC;
}
html[data-theme="dark"] .badge-dot {
  background: var(--grad-c1);
  color: #FFFFFF;
  border-color: var(--surface-card);
}

@media (max-width: 640px) { .auth-hero-banner[style*="--auth-banner-mobile"] { background-image: var(--auth-banner-mobile) !important; } }


/* === NEKO STORE v5.3: Standardized Banners & Animated Logo === */
.brand-logo-animated {
  image-rendering: auto;
  will-change: auto;
  flex-shrink: 0;
  display: block;
}
.brand-logo-mobile-only { display: none; }
.brand-logo-desktop-only { display: block; }
@media (max-width: 767px) {
  .brand-logo-desktop-only { display: none !important; }
  .brand-logo-mobile-only { display: block !important; }
}

/* Standardized Zero-Layout-Shift Hero Carousel (Grid-Stacked — Never Collapses to 0px) */
.hero-carousel {
  display: block !important;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin-top: 14px;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.hero-carousel .hero-track {
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  width: 100%;
  height: var(--banner-h-mobile, 220px);
  min-height: 200px;
  overflow: hidden;
}
.hero-carousel.hero-carousel--aspect_ratio .hero-track {
  height: auto;
  aspect-ratio: var(--banner-aspect-mobile, 16 / 9);
  min-height: var(--banner-h-mobile, 220px);
  max-height: 440px;
}
.hero-carousel.hero-carousel--fixed_height .hero-track {
  height: var(--banner-h-mobile, 220px);
}
@media (min-width: 640px) {
  .hero-carousel .hero-track {
    height: var(--banner-h-tablet, 260px);
    min-height: 240px;
  }
  .hero-carousel.hero-carousel--aspect_ratio .hero-track {
    height: auto;
    aspect-ratio: var(--banner-aspect-tablet, 16 / 6);
    min-height: var(--banner-h-tablet, 260px);
    max-height: 460px;
  }
  .hero-carousel.hero-carousel--fixed_height .hero-track {
    height: var(--banner-h-tablet, 260px);
  }
}
@media (min-width: 1024px) {
  .hero-carousel .hero-track {
    height: var(--banner-h-desktop, 320px);
    min-height: 280px;
  }
  .hero-carousel.hero-carousel--aspect_ratio .hero-track {
    height: auto;
    aspect-ratio: var(--banner-aspect-desktop, 16 / 5);
    min-height: var(--banner-h-desktop, 320px);
    max-height: 520px;
  }
  .hero-carousel.hero-carousel--fixed_height .hero-track {
    height: var(--banner-h-desktop, 320px);
  }
}

.hero-carousel .hero-slide {
  grid-area: 1 / 1 !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.42s ease, transform 0.42s ease, visibility 0.42s ease;
  animation: none !important;
}
.hero-transition--slide .hero-slide {
  transform: translateX(24px);
}
.hero-carousel .hero-slide.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  z-index: 2;
  transform: translateX(0);
}
.hero-banner-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: var(--banner-fit, cover);
  object-position: var(--banner-pos, center center);
  z-index: 0;
  display: block;
}
.hero-banner-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    95deg,
    rgba(7, 21, 41, var(--banner-scrim-alpha, 0.72)) 0%,
    rgba(11, 31, 58, calc(var(--banner-scrim-alpha, 0.72) * 0.78)) 55%,
    rgba(11, 31, 58, calc(var(--banner-scrim-alpha, 0.72) * 0.35)) 100%
  );
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 16px;
  padding: 20px 22px 46px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero-slide-content {
    grid-template-columns: 1.45fr auto;
    padding: 26px 34px 50px;
  }
}
.hero-slide-copy {
  min-width: 0;
}
.hero-slide-copy .hero-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-slide-copy .hero-sub {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-carousel .hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 4;
  padding: 0 18px;
}

/* Standardized Promo / Exclusive Offer Banners */
.promo-grid {
  align-items: stretch;
}
.exclusive-offer-card {
  position: relative;
  overflow: hidden;
  min-height: var(--banner-promo-h, 176px);
  height: 100%;
}
.promo-banner-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.promo-banner-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg, rgba(7, 21, 41, 0.84) 0%, rgba(11, 31, 58, 0.56) 100%);
}
.exclusive-offer-card.has-promo-img .offer-copy,
.exclusive-offer-card.has-promo-img .offer-badge-orb {
  position: relative;
  z-index: 2;
}
.exclusive-offer-card.has-promo-img .offer-title,
.exclusive-offer-card.has-promo-img .offer-sub,
.exclusive-offer-card.has-promo-img .offer-eyebrow {
  color: #FFFFFF;
}


/* === NEKO STORE v5.4: Mobile Compact Product Grid & Complete Dark Mode System === */
:root {
  --navy-fixed: #011F65;
  --navy-ink: #071936;
  --brand-blue: #0E4EB2;
  --surface-soft: #F1F6FB;
  --info-bg: #E1F2FE;
  --info-ink: #0B3B66;
  --bkash-ink: #B60D55;
  --star-ink: #D97706;
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.quick-add-circle.wishlist-btn.is-wished {
  background: #E11D48;
  color: #FFFFFF;
}
.upload-guideline-box {
  background: var(--info-bg);
  border: 1px solid var(--border-brand);
  color: var(--info-ink);
}

/* ---------- Mobile-Only Compact Product Listing Optimization (Preserves Desktop >= 768px) ---------- */
@media (max-width: 767px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .section-head {
    margin-bottom: 10px;
  }
  .section-title {
    font-size: 1.04rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .product-card {
    border-radius: 13px;
  }
  .product-card:hover {
    transform: none;
  }
  .product-thumb-wrap {
    aspect-ratio: 16 / 10;
  }
  .card-pill-badge {
    top: 6px;
    left: 6px;
    padding: 2px 6px;
    font-size: 0.58rem;
    letter-spacing: 0.03em;
  }
  .delivery-pill {
    bottom: 6px;
    right: 6px;
    padding: 2px 6px;
    font-size: 0.58rem;
  }
  .product-body {
    padding: 8px 8px 9px;
    gap: 3px;
  }
  .product-name {
    font-size: 0.8rem;
    line-height: 1.22;
    -webkit-line-clamp: 2;
  }
  .product-sub-meta {
    font-size: 0.68rem;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .product-rating-line {
    font-size: 0.68rem;
    gap: 3px;
  }
  .product-card-footer {
    padding-top: 5px;
    gap: 4px;
  }
  .product-price-stack {
    gap: 4px;
    min-width: 0;
  }
  .price-now {
    font-size: 0.88rem;
    line-height: 1.1;
  }
  .price-old {
    font-size: 0.66rem;
  }
  .product-card-actions {
    gap: 4px;
  }
  .quick-add-circle {
    width: 28px;
    height: 28px;
  }
  .quick-add-circle svg {
    width: 13px;
    height: 13px;
  }
}

/* Wider phones / landscape mobile: fit 3 crisp compact cards per row */
@media (min-width: 480px) and (max-width: 767px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }
}

/* Very narrow mobile devices (<= 359px) */
@media (max-width: 359px) {
  .product-grid {
    gap: 6px;
  }
  .product-body {
    padding: 7px 6px 8px;
  }
  .product-name {
    font-size: 0.76rem;
  }
  .price-now {
    font-size: 0.82rem;
  }
  .quick-add-circle {
    width: 26px;
    height: 26px;
  }
}

/* ---------- Comprehensive Centralized Dark Mode Token & Component Overhaul ---------- */
html[data-theme="dark"] {
  --surface-bg: #0B1018;
  --surface-card: #121923;
  --surface-raised: #192332;
  --surface-soft: #152030;
  --surface-inset: #0E1520;
  --ink-primary: #F3F7FC;
  --ink-secondary: #C1D1E4;
  --ink-muted: #8CA2BC;
  --brand-deep: #F3F7FC;
  --brand-blue: #6BB8FF;
  --brand-mid: #86D3FF;
  --brand-accent: #52ACFF;
  --info-bg: rgba(32, 120, 207, 0.2);
  --info-ink: #CBE6FF;
  --ok-bg: rgba(16, 185, 129, 0.18);
  --ok-ink: #6EE7B7;
  --warn-bg: rgba(245, 158, 11, 0.18);
  --warn-ink: #FCD34D;
  --err-bg: rgba(239, 68, 68, 0.2);
  --err-ink: #FCA5A5;
  --bkash-ink: #FF6FA8;
  --star-ink: #FBBF24;
  --border-subtle: rgba(148, 179, 214, 0.16);
  --border-brand: rgba(82, 172, 255, 0.42);
  color-scheme: dark;
}

/* Fix ALL dark-mode brand-deep button, badge & pill contrast collisions */
html[data-theme="dark"] .btn-primary {
  background: var(--grad-brand);
  color: #FFFFFF;
  border-color: rgba(134, 211, 255, 0.25);
}
html[data-theme="dark"] .btn-primary:hover {
  background: var(--grad-brand-hover);
  color: #FFFFFF;
}
html[data-theme="dark"] .btn-brand {
  background: var(--brand);
  color: var(--navy-ink);
  border-color: rgba(134, 211, 255, 0.4);
}
html[data-theme="dark"] .btn-brand:hover {
  background: #A0DEFF;
  color: var(--navy-ink);
}
html[data-theme="dark"] .btn-danger {
  background: rgba(239, 68, 68, 0.22);
  color: #FECACA;
  border-color: rgba(248, 113, 113, 0.36);
}
html[data-theme="dark"] .btn-danger:hover {
  background: #DC2626;
  color: #FFFFFF;
}
html[data-theme="dark"] .btn:disabled,
html[data-theme="dark"] button:disabled,
html[data-theme="dark"] .input:disabled,
html[data-theme="dark"] .select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
html[data-theme="dark"] .btn-hero-pill {
  background: var(--brand);
  color: var(--navy-ink);
}
html[data-theme="dark"] .btn-hero-pill:hover {
  background: #A0DEFF;
  color: var(--navy-ink);
}
html[data-theme="dark"] .pill-arrow-circle {
  background: #FFFFFF;
  color: var(--navy-fixed);
}
html[data-theme="dark"] .pill-arrow-circle.dark {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}
html[data-theme="dark"] .btn-offer-pill {
  background: var(--grad-c1);
  color: #FFFFFF;
}
html[data-theme="dark"] .btn-offer-pill:hover {
  background: #2B86DF;
  color: #FFFFFF;
}
html[data-theme="dark"] .offer-badge-orb {
  background: linear-gradient(135deg, var(--grad-c3), var(--grad-c1));
  color: #FFFFFF;
  border: 1px solid rgba(134, 211, 255, 0.35);
}
html[data-theme="dark"] .badge-navy {
  background: var(--navy-fixed);
  color: #FFFFFF;
  border: 1px solid rgba(134, 211, 255, 0.28);
}
html[data-theme="dark"] .badge-electric {
  background: var(--brand);
  color: var(--navy-ink);
}
html[data-theme="dark"] .badge-blue {
  background: var(--grad-c1);
  color: #FFFFFF;
}
html[data-theme="dark"] .copy-chip,
html[data-theme="dark"] .cat-icon {
  background: rgba(32, 120, 207, 0.24);
  color: var(--brand);
  border: 1px solid rgba(134, 211, 255, 0.26);
}
html[data-theme="dark"] .bottom-nav-orb,
html[data-theme="dark"] .social-fab-main {
  background: linear-gradient(135deg, var(--grad-c3) 0%, var(--grad-c1) 100%);
  color: #FFFFFF;
}
html[data-theme="dark"] .bottom-orb-badge {
  background: var(--brand);
  color: var(--navy-ink);
}
html[data-theme="dark"] .toast {
  background: #1B283B;
  color: #F3F7FC;
  border: 1px solid rgba(134, 211, 255, 0.28);
}
html[data-theme="dark"] .qty-btn:hover {
  background: var(--grad-c1);
  color: #FFFFFF;
}

/* Typography, Links, Headings, Code, Details & Tables in Dark Mode */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] .product-title-link,
html[data-theme="dark"] .cat-rail-label {
  color: var(--ink-primary);
}
html[data-theme="dark"] a {
  color: var(--brand-accent);
}
html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .product-title-link,
html[data-theme="dark"] .cat-rail-item,
html[data-theme="dark"] .bottom-nav-item,
html[data-theme="dark"] .brand-stack {
  color: var(--ink-secondary);
}
html[data-theme="dark"] .product-title-link:hover,
html[data-theme="dark"] .cat-rail-item:hover,
html[data-theme="dark"] .cat-rail-item.is-active {
  color: var(--brand);
}
html[data-theme="dark"] .field-label,
html[data-theme="dark"] label {
  color: var(--ink-secondary);
}
html[data-theme="dark"] .field-hint,
html[data-theme="dark"] .opt-tag,
html[data-theme="dark"] .product-sub-meta,
html[data-theme="dark"] .rating-count-muted {
  color: var(--ink-muted);
}
html[data-theme="dark"] code,
html[data-theme="dark"] pre {
  background: #182334;
  color: #93D5FF;
  border-radius: 5px;
  padding: 1px 5px;
}
html[data-theme="dark"] details summary {
  color: var(--brand-blue);
}

/* Forms, Dropdown Options, Placeholders & Focus States in Dark Mode */
html[data-theme="dark"] .input::placeholder,
html[data-theme="dark"] .textarea::placeholder,
html[data-theme="dark"] .search-pill-input::placeholder {
  color: var(--ink-muted);
  opacity: 1;
}
html[data-theme="dark"] select option,
html[data-theme="dark"] .select option {
  background-color: #121923;
  color: #F3F7FC;
}
html[data-theme="dark"] input[type="file"].input {
  color: var(--ink-secondary);
}
html[data-theme="dark"] .input:focus,
html[data-theme="dark"] .select:focus,
html[data-theme="dark"] .textarea:focus {
  box-shadow: 0 0 0 3px rgba(82, 172, 255, 0.28);
}

/* Cards, Status Pills, Alerts, Modals, Cookie Banner, Spec Tables & OAuth Buttons */
html[data-theme="dark"] .neu-card,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .checkout-card,
html[data-theme="dark"] .auth-card {
  background: var(--surface-card);
  border-color: var(--border-subtle);
  color: var(--ink-primary);
}
html[data-theme="dark"] .flat-card {
  background: var(--surface-raised);
  border-color: var(--border-subtle);
  color: var(--ink-primary);
}
html[data-theme="dark"] .spec-table th {
  color: var(--ink-secondary);
  background: rgba(255, 255, 255, 0.03);
}
html[data-theme="dark"] .spec-table td {
  color: var(--ink-primary);
  border-bottom-color: var(--border-subtle);
}
html[data-theme="dark"] .status-pill.pill-ok {
  background: var(--ok-bg);
  color: var(--ok-ink);
}
html[data-theme="dark"] .status-pill.pill-warn {
  background: var(--warn-bg);
  color: var(--warn-ink);
}
html[data-theme="dark"] .status-pill.pill-err {
  background: var(--err-bg);
  color: var(--err-ink);
}
html[data-theme="dark"] .status-pill.pill-info {
  background: var(--info-bg);
  color: var(--info-ink);
}
html[data-theme="dark"] .status-pill.pill-muted {
  background: rgba(148, 179, 214, 0.14);
  color: var(--ink-secondary);
}
html[data-theme="dark"] .alert-ok {
  background: var(--ok-bg);
  color: var(--ok-ink);
  border-color: rgba(110, 231, 183, 0.28);
}
html[data-theme="dark"] .alert-warn {
  background: var(--warn-bg);
  color: var(--warn-ink);
  border-color: rgba(252, 211, 77, 0.28);
}
html[data-theme="dark"] .alert-err {
  background: var(--err-bg);
  color: var(--err-ink);
  border-color: rgba(252, 165, 165, 0.28);
}
html[data-theme="dark"] .avail-pre_order,
html[data-theme="dark"] .delivery-badge,
html[data-theme="dark"] .trustspot-meta-pill,
html[data-theme="dark"] .verified-buyer-tag {
  background: var(--info-bg);
  color: var(--info-ink);
  border-color: rgba(82, 172, 255, 0.3);
}
html[data-theme="dark"] .cookie-banner,
html[data-theme="dark"] .neko-modal-card {
  background: var(--surface-card);
  color: var(--ink-primary);
  border-color: var(--border-subtle);
}
html[data-theme="dark"] .cookie-pref-row {
  background: var(--surface-raised);
  border-color: var(--border-subtle);
  color: var(--ink-primary);
}
html[data-theme="dark"] .cookie-pref-row span {
  color: var(--ink-muted);
}
html[data-theme="dark"] .offline-banner {
  background: #2A1F0B;
  color: var(--warn-ink);
  border-bottom-color: rgba(252, 211, 77, 0.3);
}
html[data-theme="dark"] .offline-banner-link {
  color: var(--brand);
}
html[data-theme="dark"] .oauth-google {
  background: #1A2434;
  color: #F3F7FC;
  border-color: var(--border-subtle);
}
html[data-theme="dark"] .oauth-google:hover {
  background: #233147;
  color: #FFFFFF;
}
html[data-theme="dark"] .search-pill-wrap {
  background: var(--surface-card);
  border-color: var(--border-subtle);
}
html[data-theme="dark"] .search-pill-icon {
  color: var(--ink-muted);
}
html[data-theme="dark"] .cat-rail-circle {
  background: var(--surface-card);
  border-color: var(--border-subtle);
  color: var(--brand);
}


/* === NEKO STORE v5.4.4: Flush Mobile Footer Clearance (Zero Gap Above Bottom Nav) === */
@media (max-width: 767px) {
  body.neko-body:not(.is-checkout-page) {
    padding-bottom: 0;
  }
  body.neko-body:not(.is-checkout-page) .site-footer {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    margin-bottom: 0;
  }
}
