/* ============================================
   PHOTOSERIES — Main Stylesheet v3
   Font: Oskari G2 Medium (primary) + Poppins (body)
   Theme: Dark Purple (default) + Light toggle
   Brand: #6B38FB Royal Purple
   Domain: app.photoseries.in
============================================ */

/* ── Global Reset: prevent horizontal overflow on all devices ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}


/* ── Oskari G2 Medium (local TTF) ── */
@font-face {
  font-family: 'OskariG2';
  src: url('Oskari G2 Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── Oskari G2 Regular (for Product Titles) ── */
@font-face {
  font-family: 'OskariG2Title';
  src: url('oskari-g2-regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── Poppins from Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ─── CSS VARIABLES ─── */
:root {
  --purple: #6B38FB;
  --purple-light: #8B5CF6;
  --purple-dark: #4F46E5;
  --purple-glow: rgba(107, 56, 251, 0.35);
  --purple-glow-strong: rgba(107, 56, 251, 0.65);

  --red: #6B38FB;
  --red-light: #8B5CF6;
  --red-dark: #4F46E5;
  --red-glow: rgba(107, 56, 251, 0.35);
  --red-glow-strong: rgba(107, 56, 251, 0.65);

  /* Dark Purple Theme */
  --bg-primary: #080711;
  --bg-secondary: #0f0c20;
  --bg-card: #141029;
  --bg-card-hover: #1c1738;
  --bg-nav: rgba(8, 7, 17, 0.96);
  --bg-glass: rgba(20, 16, 41, 0.85);
  --bg-input: #191433;
  --bg-overlay: rgba(5, 4, 10, 0.85);

  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --text-accent: #6B38FB;

  --border: rgba(107, 56, 251, 0.18);
  --border-accent: rgba(107, 56, 251, 0.5);
  --border-hover: rgba(139, 92, 246, 0.8);

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  --shadow-red: 0 6px 32px rgba(107, 56, 251, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);

  --scrollbar-track: #080711;
  --scrollbar-thumb: #6B38FB;

  --font-primary: 'OskariG2', 'Poppins', sans-serif;
  --font-body: 'Poppins', 'OskariG2', sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

[data-theme="light"] {
  --bg-primary: #f4f5f8;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-nav: rgba(255, 255, 255, 0.96);
  --bg-glass: rgba(255, 255, 255, 0.94);
  --bg-input: #eef2f6;
  --bg-overlay: rgba(15, 23, 42, 0.6);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-accent: #E50914;

  --border: rgba(0, 0, 0, 0.1);
  --border-accent: rgba(229, 9, 20, 0.35);
  --border-hover: rgba(229, 9, 20, 0.7);

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-red: 0 6px 32px rgba(229, 9, 20, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.06);

  --scrollbar-track: #f1f5f9;
}

/* ─── Light Mode Component Overrides ─── */
[data-theme="light"] body {
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  color: var(--text-primary);
}

[data-theme="light"] .navbar {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .nav-links a {
  color: var(--text-secondary);
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
  color: var(--red);
}

[data-theme="light"] .hamburger span {
  background: var(--text-primary);
}

[data-theme="light"] .mobile-nav {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

[data-theme="light"] .hero-slide {
  background: #0f172a;
}

[data-theme="light"] .hero-title {
  color: #ffffff;
}

[data-theme="light"] .hero-desc {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .hero-price .original {
  color: rgba(255, 255, 255, 0.55);
}

[data-theme="light"] .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

[data-theme="light"] .hero-arrow {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

[data-theme="light"] .cat-card {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  color: var(--text-primary);
}

[data-theme="light"] .cat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--red);
}

[data-theme="light"] .cat-title {
  color: var(--text-primary);
}

[data-theme="light"] .product-card {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .product-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.15);
}

[data-theme="light"] .product-info {
  background: var(--bg-card);
}

[data-theme="light"] .product-name {
  color: var(--text-primary);
}

[data-theme="light"] .product-delivery {
  color: var(--text-muted);
}

[data-theme="light"] .price-original {
  color: var(--text-muted);
}

[data-theme="light"] .cat-chip {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

[data-theme="light"] .cat-chip:hover {
  background: var(--bg-input);
  color: var(--text-primary);
}

[data-theme="light"] .cat-chip.active {
  background: var(--red);
  color: #ffffff;
  border-color: var(--red);
}

[data-theme="light"] .sort-select,
[data-theme="light"] .price-input,
[data-theme="light"] .filter-box,
[data-theme="light"] .filter-group,
[data-theme="light"] .shop-sidebar {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border);
}

[data-theme="light"] .results-count {
  color: var(--text-secondary);
}

[data-theme="light"] .page-btn {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

[data-theme="light"] .page-btn.active {
  background: var(--red);
  color: #ffffff;
  border-color: var(--red);
}

[data-theme="light"] .detail-features-grid-custom,
[data-theme="light"] .sidebar-box {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .feat-title {
  color: var(--text-primary);
}

[data-theme="light"] .feat-desc {
  color: var(--text-secondary);
}

[data-theme="light"] .product-detail-title {
  color: var(--text-primary);
}

[data-theme="light"] .product-detail-tagline {
  color: var(--text-secondary);
}

[data-theme="light"] .recent-card {
  background: var(--bg-input);
  border-color: var(--border);
}

[data-theme="light"] .recent-title {
  color: var(--text-primary);
}

[data-theme="light"] .qty-btn,
[data-theme="light"] .qty-input {
  background: var(--bg-input);
  color: var(--text-primary);
  border-color: var(--border);
}



[data-theme="light"] .search-overlay,
[data-theme="light"] .cart-overlay {
  background: var(--bg-overlay);
}

[data-theme="light"] .search-modal,
[data-theme="light"] .cart-panel {
  background: var(--bg-card);
  color: var(--text-primary);
}

[data-theme="light"] .search-input {
  background: var(--bg-input);
  color: var(--text-primary);
  border-color: var(--border);
}

[data-theme="light"] .search-result-item,
[data-theme="light"] .cart-item {
  background: var(--bg-input);
  border-color: var(--border);
}

[data-theme="light"] .search-result-name,
[data-theme="light"] .cart-item-name {
  color: var(--text-primary);
}

[data-theme="light"] footer {
  background: #0f172a;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .footer-brand-title,
[data-theme="light"] .footer-col-title {
  color: #ffffff;
}

[data-theme="light"] .footer-links a {
  color: #94a3b8;
}

[data-theme="light"] .footer-links a:hover {
  color: #ffffff;
}

/* ─── RESET & CANVAS ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ─── GLOBAL BOLD TYPOGRAPHY & LETTER SPACING ─── */
h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0.04em;
}

strong,
b,
.bold,
.fw-bold,
[style*="font-weight: 700"],
[style*="font-weight:700"],
[style*="font-weight: 800"],
[style*="font-weight:800"],
[style*="font-weight: 900"],
[style*="font-weight:900"],
[style*="font-weight: bold"],
[style*="font-weight:bold"] {
  letter-spacing: 0.035em;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: #ffffff;
}

body {
  font-family: var(--font-primary);
  font-weight: 500;
  letter-spacing: 0.015em;
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(rgba(107, 56, 251, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 56, 251, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  color: var(--text-primary);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.3s ease;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 3px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: transparent;
  color: inherit;
  font-family: var(--font-primary);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input,
select,
textarea {
  font-family: var(--font-primary);
}

/* ─── LAYOUT ─── */
.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;

  position: relative;
  display: inline-block;
  color: var(--text-primary);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.section-title span {
  color: var(--red);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 14px;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border: 1px solid var(--border-accent);
  color: var(--red);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
}

.view-all-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}

/* ─── ANNOUNCEMENT BAR ─── */
.announcement-bar {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  z-index: 999;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  width: 100%;
}

.navbar.scrolled {
  border-bottom-color: var(--border-accent);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
  width: 100%;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  min-width: 0;
}

.nav-logo img {
  height: 44px;
  max-width: 260px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text .brand {
  font-size: 1.55rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--purple);
  text-shadow: 0 0 20px var(--purple-glow);
  white-space: nowrap;
}

.logo-text .tagline {
  font-size: 0.58rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  flex-wrap: nowrap;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-radius: 4px;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: calc(100% - 28px);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.search-open-btn,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #1c1c1c !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 50%;
  color: #ffffff !important;
  font-size: 0.95rem;
  transition: var(--transition);
  flex-shrink: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.search-open-btn:hover,
.theme-toggle:hover {
  background: var(--red) !important;
  color: #ffffff !important;
  border-color: var(--red) !important;
  box-shadow: 0 0 16px var(--red-glow-strong);
  transform: translateY(-1px);
}

/* ── Nav Auth Button (Premium PhotoSeries Look) ── */
.nav-auth-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  padding: 0 14px;
  height: 38px !important;
  max-height: 38px !important;
  overflow: hidden !important;
  background: var(--bg-input) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px;
  color: #ffffff !important;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
  cursor: pointer !important;
  pointer-events: auto !important;
  user-select: none;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  box-sizing: border-box !important;
}

.nav-auth-btn:hover {
  background: var(--purple) !important;
  border-color: var(--purple) !important;
  color: #ffffff !important;
  box-shadow: 0 0 18px var(--purple-glow);
  transform: translateY(-1px);
}

.nav-auth-btn:active {
  transform: translateY(0);
}

/* ── 🌟 HERO SECTION & SLIDER ── */
.hero {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 20px auto 30px;
  padding: 0 16px;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(107, 56, 251, 0.2);
  border: 1px solid rgba(107, 56, 251, 0.3);
}

.hero-slide {
  min-width: 100%;
  width: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(20, 12, 45, 0.98) 0%, rgba(107, 56, 251, 0.25) 50%, rgba(8, 7, 17, 0.98) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(107, 56, 251, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(107, 56, 251, 0.2);
  border: 1px solid rgba(107, 56, 251, 0.4);
  color: #A78BFA;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 0 14px var(--purple-glow);
}

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  word-spacing: 0.06em;
}

.hero-title span {
  background: linear-gradient(135deg, #A78BFA, #6B38FB, #38BDF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.04em;
}

.hero-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  max-width: 540px;
}

.hero-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-price .original {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
  letter-spacing: 0.03em;
}

.hero-price .sale {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.03em;
}

.hero-price .save-badge {
  padding: 5px 12px;
  background: #10B981;
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  border-radius: 6px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  padding: 12px 26px;
  background: linear-gradient(135deg, var(--purple), #4F46E5);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(107, 56, 251, 0.4);
  transition: var(--transition);
}

.hero-actions .btn-secondary {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.hero-product-preview {
  position: relative;
  z-index: 2;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(8, 7, 17, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }
.hero-arrow:hover { background: var(--purple); border-color: var(--purple); box-shadow: 0 0 16px var(--purple-glow); }

.hero-nav {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple-glow);
}

@media (max-width: 768px) {
  .hero {
    height: auto !important;
    min-height: auto !important;
  }
  .hero-slider {
    height: auto !important;
    min-height: auto !important;
  }
  .hero-slide {
    height: auto !important;
    min-height: auto !important;
    padding: 24px 16px 56px !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .hero-title { font-size: 1.45rem; }
  .hero-actions { justify-content: center; }
  .hero-arrow { display: none; }

  /* ── Mobile product image: shown inline at top of slide ── */
  .hero-product-preview {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    animation: none !important;
    order: -1;
    width: 100% !important;
    max-width: 340px !important;
    aspect-ratio: 3 / 2 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1.5px solid rgba(107, 56, 251, 0.35) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 18px rgba(107, 56, 251, 0.25) !important;
    background: rgba(13, 11, 24, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin: 0 auto !important;
    z-index: 3 !important;
  }
  .hero-product-preview img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 3 / 2 !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 14px !important;
    max-height: unset !important;
  }
  .hero-product-preview:hover {
    transform: none !important;
  }
  .hero-content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 14px auto 24px !important;
    width: 100% !important;
    max-width: 440px !important;
  }
}

.nav-auth-btn .auth-icon {
  font-size: 0.95rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.nav-auth-btn .auth-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: inherit;
  line-height: 1;
}

.nav-auth-btn.logged-in {
  background: rgba(229, 9, 20, 0.18) !important;
  border-color: rgba(229, 9, 20, 0.5) !important;
  color: #ffffff !important;
}

.nav-auth-btn img,
.nav-user-photo,
.nav-auth-btn .auth-icon,
.nav-auth-btn div,
.nav-auth-btn span:not(.auth-label) {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  font-size: 0.85rem !important;
  margin: 0 !important;
}

.nav-auth-btn.logged-in:hover {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #ffffff !important;
  box-shadow: 0 0 18px var(--red-glow-strong);
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  height: 38px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  border-radius: 8px;
  border: none;
  transition: var(--transition);
  flex-shrink: 0;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.35);
}

.cart-btn:hover {
  background: var(--red-light);
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: #fff;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 10px;
  line-height: 1;
}

/* ── Hamburger Menu Button ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.hamburger:hover {
  border-color: var(--red);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.hamburger.active {
  background: rgba(229, 9, 20, 0.12);
  border-color: var(--red);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--red);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--red);
}

/* ── Mobile Nav Drawer ── */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border-accent);
  padding: 0 16px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, transform 0.25s ease, padding 0.3s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.mobile-nav.open {
  max-height: 580px;
  opacity: 1;
  overflow-y: auto;
  pointer-events: auto;
  transform: translateY(0);
  padding: 14px 16px 18px;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: var(--transition-fast);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: #fff;
  border-left-color: var(--red);
  background: rgba(229, 9, 20, 0.1);
  border-color: var(--border-accent);
  border-left-color: var(--red);
  transform: translateX(3px);
}

.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.mobile-nav-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 11px 14px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border-radius: 6px !important;
  text-align: center !important;
  border-left-width: 1px !important;
  transform: none !important;
  transition: var(--transition-fast) !important;
}

.mobile-nav-btn.btn-login {
  background: var(--red) !important;
  color: #fff !important;
  border-color: var(--red) !important;
}

.mobile-nav-btn.btn-login:hover {
  background: var(--red-light) !important;
  box-shadow: var(--shadow-red);
}

.mobile-nav-btn.btn-wa {
  background: #25D366 !important;
  color: #fff !important;
  border-color: #25D366 !important;
}

.mobile-nav-btn.btn-wa:hover {
  background: #20ba5a !important;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 20px auto 30px;
  padding: 0 16px;
  box-sizing: border-box;
}

.hero-slider {
  display: flex;
  height: clamp(460px, 58vh, 560px);
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(107, 56, 251, 0.2);
  border: 1px solid rgba(107, 56, 251, 0.3);
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(20, 12, 45, 0.98) 0%, rgba(107, 56, 251, 0.25) 50%, rgba(8, 7, 17, 0.98) 100%);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.78) 0%, rgba(5, 5, 5, 0.5) 45%, rgba(5, 5, 5, 0.2) 75%, rgba(5, 5, 5, 0.1) 100%);
  z-index: 2;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  max-width: 580px;
  z-index: 4;
  padding: 32px 36px;
  background: rgba(15, 15, 20, 0.38);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 18px;
  animation: slideInLeft 0.6s ease forwards;
}

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.04em;
  word-spacing: 0.06em;
  margin-bottom: 14px;
  animation: slideInLeft 0.7s ease 0.1s both;
}

.hero-title span {
  color: var(--red);
  letter-spacing: 0.04em;
  text-shadow: 0 0 28px var(--red-glow-strong);
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
  line-height: 1.6;
  font-family: var(--font-body);
  animation: slideInLeft 0.8s ease 0.2s both;
}

.hero-price {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  animation: slideInLeft 0.8s ease 0.25s both;
}

.hero-price .original {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
}

.hero-price .sale {
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  background: var(--red);
  padding: 2px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 18px var(--red-glow-strong);
  display: inline-flex;
  align-items: center;
}

.hero-price .save-badge {
  padding: 4px 10px;
  background: rgb(255, 255, 255);
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 2px;
}

/* ─── Hero Floating Product Image Card (3:2 Aspect Ratio) ─── */
.hero-product-preview {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 30vw, 420px);
  aspect-ratio: 3 / 2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(107, 56, 251, 0.35);
  border: 1.5px solid rgba(107, 56, 251, 0.35);
  z-index: 3;
  background: rgba(13, 11, 24, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: floatHeroCard 6s ease-in-out infinite;
  box-sizing: border-box;
}

@keyframes floatHeroCard {
  0%,
  100% {
    transform: translateY(-50%) translateY(0px) rotate(0.8deg);
  }
  50% {
    transform: translateY(-50%) translateY(-10px) rotate(-0.8deg);
  }
}

.hero-product-preview img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: 3 / 2 !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: inherit;
  transition: transform 0.4s ease;
}

.hero-product-preview:hover {
  transform: translateY(-50%) scale(1.03) rotate(0deg);
  border-color: var(--purple);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 50px rgba(107, 56, 251, 0.55);
}

.hero-product-preview:hover img {
  transform: scale(1.03);
}

@media (max-width: 992px) and (min-width: 769px) {
  .hero-product-preview {
    right: 4%;
    width: clamp(220px, 25vw, 300px);
  }
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: slideInLeft 0.9s ease 0.3s both;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.83rem;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid var(--red);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.12);
  transition: left 0.3s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--red-light);
  box-shadow: 0 6px 25px var(--red-glow-strong);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 0.83rem;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

/* Hero Nav */
.hero-nav {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 10;
  padding: 0;
  margin: 0 auto;
}

.hero-dot {
  width: 10px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-dot.active {
  background: var(--purple);
  width: 32px;
  border-radius: 4px;
  box-shadow: 0 0 14px var(--purple-glow);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(8, 7, 17, 0.75);
  border: 1px solid rgba(107, 56, 251, 0.35);
  color: #fff;
  font-size: 1.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.hero-arrow:hover {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 0 18px var(--purple-glow);
}

.hero-arrow.prev {
  left: 20px;
}

.hero-arrow.next {
  right: 20px;
}

/* ─── CATEGORY STRIP ─── */
.categories-strip {
  padding: 28px 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.cat-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

.cat-icon {
  font-size: 1.9rem;
  line-height: 1;
}

.cat-name {
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.cat-card:hover .cat-name {
  color: var(--red);
}

/* ─── PRODUCT GRID — 4 COLUMNS ─── */
.products-section {
  padding: 56px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ─── PRODUCT CARD (matching reference style) ─── */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-red);
}

/* Product Image — 3:2 ratio */
.product-img,
.product-main-img {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: rgba(10, 6, 22, 0.8);
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}

.product-img img,
.product-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.04);
}

.product-img .placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #161616 0%, #1e1e1e 100%);
  color: var(--text-muted);
  font-size: 3rem;
}

.product-img .placeholder-img .ph-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Save Badge — top right of image */
.save-badge-img {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 10px;
  border-bottom-left-radius: 6px;
}

/* Wishlist button */
.wishlist-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  transition: var(--transition-fast);
}

.wishlist-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* Product Info */
.product-info {
  padding: 12px 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-card);
}

.product-name {
  font-family: 'OskariG2Title', sans-serif;
  font-size: 1.12rem;
  font-weight: normal;

  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-delivery {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-delivery::before {
  content: '⚡';
}

/* Platform thumbnails row */
.product-platforms {
  display: flex;
  align-items: center;
  gap: 4px;
}

.platform-thumb {
  font-family: 'Poppins', sans-serif;
  width: 22px;
  height: 22px;
  border-radius: 3px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-family: var(--font-primary);
}

.platform-thumb.pc {
  background: #1b2838;
  color: #c7d5e0;
  border-color: #2a475e;
}

.platform-thumb.sub {
  background: #107c10;
  color: #fff;
  border-color: #0e6b0e;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.price-original {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

.price-sale {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* Add to Cart Button */
.add-to-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  border-radius: 4px;
  margin-top: 8px;
  border: none;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.add-to-cart-btn:hover {
  background: var(--red-light);
  box-shadow: 0 4px 16px var(--red-glow);
}

.product-card-actions {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}

.view-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.view-btn:hover {
  background: var(--red-light);
  box-shadow: 0 4px 16px var(--red-glow);
}

.cart-icon-btn {
  width: 44px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-input);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}

.cart-icon-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 4px 16px var(--red-glow);
}

/* ─── FEATURED BANNERS ─── */
.featured-section {
  padding: 56px 0;
  background: var(--bg-secondary);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.featured-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/7;
  background: linear-gradient(135deg, #1a0000, #0a0a0a);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: transform 0.4s ease;
}

.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, transparent 70%);
  z-index: 1;
}

.featured-card-content {
  position: relative;
  z-index: 2;
  padding: 30px;
}

.featured-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.featured-card-title {
  font-size: clamp(1.1rem, 2.3vw, 1.7rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}

.featured-card:hover {
  transform: scale(1.01);
}

/* ─── STATS BAR ─── */
.stats-bar {
  padding: 36px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 18px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── TESTIMONIALS ─── */
.testimonials-section {
  padding: 56px 0;
  background: var(--bg-secondary);
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  animation: scrollLeft 45s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  min-width: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}

.testimonial-card:hover {
  border-color: var(--border-accent);
}

.testimonial-stars {
  color: #FFD700;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.testimonial-text {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
  font-family: var(--font-body);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-primary);
}

.author-location {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ─── WHY US ─── */
.why-us-section {
  padding: 56px 0;
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 28px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-family: var(--font-body);
}

/* ─── NEWSLETTER ─── */
.newsletter-section {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--red-dark) 0%, #1a0000 50%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(229, 9, 20, 0.14) 0%, transparent 70%);
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

.newsletter-title {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}

.newsletter-sub {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 26px;
  font-size: 0.88rem;
  font-family: var(--font-body);
}

.newsletter-form {
  display: flex;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.newsletter-form input {
  flex: 1;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.14);
}

.newsletter-form button {
  padding: 13px 26px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  transition: var(--transition-fast);
  font-family: var(--font-primary);
}

.newsletter-form button:hover {
  background: var(--red-light);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  padding-bottom: 36px;
}

.footer-brand .logo-text .brand {
  font-size: 1.7rem;
}

.footer-about {
  color: var(--text-secondary);
  font-size: 0.83rem;
  line-height: 1.7;
  margin: 14px 0 18px;
  font-family: var(--font-body);
}

.footer-social {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 4px 12px var(--red-glow);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links li a {
  font-size: 0.83rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition-fast);
  font-family: var(--font-body);
}

.footer-links li a::before {
  content: '›';
  color: var(--red);
  font-weight: bold;
}

.footer-links li a:hover {
  color: var(--red);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.contact-icon {
  width: 34px;
  height: 34px;
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid rgba(229, 9, 20, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
  color: var(--red);
}

.contact-text {
  flex: 1;
}

.contact-label {
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
  font-family: var(--font-body);
}

.contact-value a {
  color: var(--text-secondary);
}

.contact-value a:hover {
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copyright {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.footer-copyright span {
  color: var(--red);
}

.footer-payment {
  display: flex;
  gap: 7px;
  align-items: center;
}

.payment-icon {
  padding: 4px 9px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ─── SHOP PAGE ─── */
.shop-page-header {
  margin-top: 68px;
  padding: 44px 0;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.shop-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(229, 9, 20, 0.07) 0%, transparent 70%);
}

.shop-page-header .page-title {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
}

.page-title span {
  color: var(--red);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 7px;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  max-width: 100%;
  overflow: hidden;
}

.breadcrumb a {
  color: var(--text-muted);
  white-space: nowrap;
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb .current {
  color: var(--red);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

/* Shop Layout */
.shop-layout {
  display: block;
  padding: 20px 0 56px;
}

/* Sidebar */
.shop-sidebar {
  position: sticky;
  top: 88px;
  height: fit-content;
}

.filter-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 14px;
}

.filter-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 0.83rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  font-family: var(--font-body);
}

.filter-option:hover {
  color: var(--red);
}

.filter-option input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--red);
  cursor: pointer;
}

.price-range-inputs {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}

.price-input {
  flex: 1;
  padding: 8px 11px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-family: var(--font-primary);
}

.price-input:focus {
  outline: none;
  border-color: var(--border-accent);
}

/* Shop Toolbar */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  flex-wrap: wrap;
  gap: 10px;
}

.results-count {
  font-size: 0.83rem;
  color: var(--text-secondary);
  font-family: var(--font-body);
}

.results-count strong {
  color: var(--text-primary);
}

.sort-select {
  padding: 8px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.83rem;
  cursor: pointer;
  appearance: none;
  padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
}

.sort-select:focus {
  outline: none;
  border-color: var(--border-accent);
}

/* Pagination & Load More */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 36px 0 18px;
}

.page-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.83rem;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.page-btn:hover,
.page-btn.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ─── LOAD MORE BUTTON ─── */
.load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 32px auto 16px;
  width: 100%;
  text-align: center;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 36px;
  background: var(--bg-card);
  border: 1.5px solid var(--red);
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.16);
  transition: var(--transition);
}

.load-more-btn:hover {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 6px 28px rgba(229, 9, 20, 0.45);
  transform: translateY(-2px);
}

.load-more-btn:active {
  transform: translateY(0);
}

.load-more-btn.loading {
  pointer-events: none;
  opacity: 0.85;
}

.load-more-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 500;
}

[data-theme="light"] .load-more-btn {
  background: #ffffff;
  color: var(--text-primary);
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .load-more-btn:hover {
  background: var(--red);
  color: #ffffff;
}

/* Filter chips */
.filter-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.chip {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.73rem;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-primary);
}

.chip:hover,
.chip.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ─── CART SIDEBAR ─── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 390px;
  max-width: 100vw;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  border-bottom: 1px solid var(--border);
}

.cart-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cart-close {
  width: 34px;
  height: 34px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.cart-close:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.cart-item-img {
  width: 52px;
  height: 69px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--bg-input);
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-name {
  font-family: 'OskariG2Title', sans-serif;
  font-size: 0.88rem;
  font-weight: normal;
  color: var(--text-primary);
  line-height: 1.3;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--red);
}

.cart-item-remove {
  background: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 3px;
  transition: var(--transition-fast);
}

.cart-item-remove:hover {
  color: var(--red);
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.cart-empty-icon {
  font-size: 3rem;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cart-total-label {
  font-size: 0.83rem;
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
}

.cart-total-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--red);
}

.checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 15px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.83rem;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.checkout-btn:hover {
  background: var(--red-light);
  box-shadow: var(--shadow-red);
}

/* ─── SEARCH OVERLAY ─── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.87);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 90px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-box {
  width: 100%;
  max-width: 580px;
  margin: 0 20px;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  padding: 0 14px;
  box-shadow: var(--shadow-red);
}

.search-input-wrap input {
  flex: 1;
  padding: 18px 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-family: var(--font-primary);
}

.search-input-wrap input::placeholder {
  color: var(--text-muted);
}

.search-input-wrap input:focus {
  outline: none;
}

.search-input-wrap button {
  background: none;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.search-input-wrap button:hover {
  color: var(--red);
}

.search-results {
  margin-top: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  max-height: 380px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-result-item:hover {
  background: var(--bg-card-hover);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-img {
  width: 38px;
  height: 51px;
  object-fit: cover;
  border-radius: 3px;
  background: var(--bg-input);
  flex-shrink: 0;
}

.search-result-name {
  font-family: 'OskariG2Title', sans-serif;
  font-size: 0.92rem;
  font-weight: normal;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.search-result-price {
  font-size: 0.83rem;
  color: var(--red);
  font-weight: 700;
}

/* ─── TOAST ─── */
.toast-container {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  min-width: 268px;
  animation: slideInRight 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.success {
  border-left: 4px solid #00c851;
}

.toast.error {
  border-left: 4px solid var(--red);
}

.toast.info {
  border-left: 4px solid #2979ff;
}

.toast-icon {
  font-size: 1rem;
}

.toast-msg {
  font-size: 0.83rem;
  color: var(--text-primary);
  font-weight: 500;
  font-family: var(--font-body);
}

.toast.fade-out {
  opacity: 0;
  transform: translateX(18px);
}

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  animation: pulseGreen 2s infinite;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* ─── PRODUCT DETAIL PAGE ─── */
.product-detail-wrap {
  margin-top: 68px;
  padding: 28px 0 60px;
  overflow-x: hidden;
  width: 100%;
}

.product-detail-wrap .container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
  overflow-x: hidden;
}

/* Product layout — Centered 2 Columns */
.product-layout {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 44px;
  align-items: start;
  margin: 0 auto;
  max-width: 1240px;
  width: 100%;
  overflow: hidden;
}

/* Product image 3:2 Aspect Ratio */
.product-main-img {
  position: sticky;
  top: 88px;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #111;
  border: 1px solid var(--border);
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.product-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Product info */
.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-detail-title {
  font-family: 'OskariG2', sans-serif;
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  word-spacing: 0.08em;
}

.product-detail-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
  font-style: italic;
  font-family: var(--font-body);
}

/* Feature badges */
.detail-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.detail-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.detail-feature-badge .badge-icon {
  font-size: 0.95rem;
}

.detail-feature-sep {
  color: var(--border);
  font-size: 0.8rem;
}

/* Price block */
.detail-price-block {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  border-left: 3px solid var(--red);
}

.detail-original {
  font-size: 1.15rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

.detail-sale {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
}

.detail-save {
  padding: 6px 14px;
  background: var(--red);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 3px;
}

/* Platform tags */
.detail-platforms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-platform-tag {
  padding: 5px 14px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
}

.detail-platform-tag.pc {
  background: #1b2838;
  border-color: #2a475e;
  color: #c7d5e0;
}

.detail-platform-tag.sub {
  background: #107c10;
  border-color: #0e6b0e;
  color: #fff;
}

/* Quantity + Add to cart */
.detail-atc-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.qty-btn {
  width: 38px;
  height: 46px;
  background: var(--bg-input);
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-primary);
}

.qty-btn:hover {
  background: var(--red);
  color: #fff;
}

/* Remove browser native number input spin buttons */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  appearance: textfield;
}

.qty-input {
  width: 44px;
  height: 46px;
  text-align: center;
  background: var(--bg-input);
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-primary);
  appearance: textfield;
  -webkit-appearance: textfield;
}

.qty-input:focus {
  outline: none;
}

.detail-atc-btn {
  flex: 1;
  height: 46px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.detail-atc-btn:hover {
  background: var(--red-light);
  box-shadow: var(--shadow-red);
}

.detail-buy-now {
  display: block;
  text-align: center;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.detail-buy-now:hover {
  color: var(--red);
}

/* 6-feature grid */
.detail-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.detail-feat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-feat-icon {
  font-size: 1.3rem;
}

.detail-feat-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.detail-feat-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  line-height: 1.4;
}

/* Bundle deal */
.bundle-section {
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  border-top: 3px solid var(--red);
}

.bundle-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.bundle-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--bg-input);
  border-radius: 6px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.bundle-item:last-child {
  margin-bottom: 0;
}

.bundle-item:hover {
  border: 1px solid var(--border-accent);
}

.bundle-item img,
.bundle-item .bi-ph {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.bundle-item .bi-ph {
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.bundle-item-info {
  flex: 1;
}

.bundle-item-name {
  font-family: 'OskariG2Title', sans-serif;
  font-size: 0.85rem;
  font-weight: normal;
  color: var(--text-primary);
  line-height: 1.3;
  display: -webkit-box;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bundle-item-price {
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 800;
}

.bundle-item-original {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

/* Responsive breakpoints for product detail layout */
@media (max-width: 1200px) {
  .product-layout {
    grid-template-columns: 460px 1fr;
  }

  .product-right-sidebar {
    display: none;
  }
}

@media (max-width: 850px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-main-img {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* Top pill badges row on product page */
.product-top-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
  max-width: 100%;
  overflow: hidden;
}

.detail-top-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
  max-width: 100%;
  overflow: hidden;
}

.pill-blue-badge,
.pill-green-badge {
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.4);
  color: #00e676;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.pill-red-badge {
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.4);
  color: #ff3344;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.detail-feature-pills-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
  max-width: 100%;
  overflow: hidden;
}

.detail-feature-pills-row .pill-green-badge,
.detail-feature-pills-row .pill-red-badge {
  font-size: 0.62rem;
  padding: 2px 7px;
  gap: 3px;
}

.detail-save-blue,
.detail-save-red {
  font-family: 'Poppins', sans-serif;
  padding: 4px 10px;
  background: #E50914;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(229, 9, 20, 0.4);
  white-space: nowrap;
  flex-shrink: 0;
}

.detail-platform-pills {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-top: 10px;
}

.detail-platform-pills::-webkit-scrollbar {
  display: none;
}

.tag-pill-blue,
.tag-pill-green {
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 16px;
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid rgba(0, 230, 118, 0.45);
  color: #00e676;
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.tag-pill-red {
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 16px;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.45);
  color: #ff3344;
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.detail-atc-btn-blue,
.detail-atc-btn-red {
  flex: 1;
  height: 46px;
  background: #E50914;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-atc-btn-blue:hover,
.detail-atc-btn-red:hover {
  background: #ff1e27;
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.5);
}

.buy-it-now-btn {
  position: relative;
  width: 100%;
  height: 54px;
  background: #0d0e12;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.18rem;
  border-radius: 6px;
  border: 1.5px solid #09ff00;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.buy-it-now-btn:hover {
  background: #c40101;
  border: 2px solid #ffffff;

  color: #ffffff;

}

/* Water / Liquid Flow Overlay */
.buy-it-now-btn .water-ripple {
  position: absolute;
  inset: 0;
  border-radius: 5px;
  background: linear-gradient(90deg,
      rgba(168, 85, 247, 0) 0%,
      rgba(168, 85, 247, 0.08) 25%,
      rgba(59, 130, 246, 0.15) 50%,
      rgba(168, 85, 247, 0.08) 75%,
      rgba(168, 85, 247, 0) 100%);
  background-size: 200% 100%;
  animation: liquidFlow 6s linear infinite;
  opacity: 0.8;
  mix-blend-mode: screen;
  z-index: 2;
  pointer-events: none;
}

@keyframes liquidFlow {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Text above layers */
.buy-it-now-btn .btn-text {
  position: relative;
  z-index: 3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.detail-features-grid-custom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .detail-features-grid-custom {
    grid-template-columns: 1fr 1fr;
  }
}

.detail-feat-item-custom {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feat-blue-icon,
.feat-green-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #00e676;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  font-weight: 700;
}

.feat-red-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #E50914;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  font-weight: 700;
}

.feat-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.feat-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
}

/* Bundle Section Custom */
.bundle-section-custom {
  margin-top: 24px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.bundle-title-custom {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.bundle-card-white {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #ffffff;
  color: #000000;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid #e0e0e0;
}

.bundle-card-white .bc-check {
  width: 18px;
  height: 18px;
  accent-color: #E50914;
  cursor: pointer;
}

.bundle-card-white .bc-img {
  width: 44px;
  height: 58px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #f0f0f0;
}

.bundle-card-white .bc-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #000000;
  line-height: 1.3;
  font-family: 'OskariG2Title', sans-serif;
}

.bundle-card-white .bc-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: #E50914;
}

.bundle-card-white .bc-original {
  font-size: 0.78rem;
  color: #888888;
  text-decoration: line-through;
  margin-left: 6px;
}

.bundle-card-white .bc-original {
  font-size: 0.78rem;
  color: #888888;
  text-decoration: line-through;
  margin-left: 6px;
}

/* Right Sidebar */
.product-right-sidebar {
  position: sticky;
  top: 88px;
}

.sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
}

.sidebar-box-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.product-right-sidebar .products-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  grid-template-columns: none !important;
}

.recent-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--bg-input);
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: var(--transition-fast);
}

.recent-card:hover {
  border-color: var(--border-accent);
  transform: translateX(3px);
}

.recent-thumb {
  width: 44px;
  height: 58px;
  border-radius: 4px;
  object-fit: cover;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  overflow: hidden;
}

.recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-info {
  flex: 1;
  overflow: hidden;
}

.recent-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'OskariG2Title', sans-serif;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-prices {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.recent-orig {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.recent-sale {
  font-size: 0.8rem;
  font-weight: 800;
  color: #00e676;
}

.recent-time {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-family: 'Poppins', sans-serif;
}

.remove-all-btn {
  width: 100%;
  padding: 8px;
  margin-top: 10px;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: #00e676;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.remove-all-btn:hover {
  background: rgba(0, 230, 118, 0.18);
}

/* ─── SPINNER ─── */
.spinner {
  width: 38px;
  height: 38px;
  border: 3px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 36px auto;
}

/* ─── ANIMATIONS ─── */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-28px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(26px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

@keyframes pulseGreen {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4)
  }

  50% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0)
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width:1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-layout {
    grid-template-columns: 320px 1fr;
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
}

@media (max-width:1024px) {
  .shop-layout {
    grid-template-columns: 230px 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-right: 1px solid var(--border);
  }
}

@media (max-width:900px) {
  .nav-links {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-main-img {
    position: static;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 3 / 2;
    margin: 0 auto;
  }

  .detail-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:768px) {
  .navbar .container {
    padding: 0 14px;
  }

  .nav-inner {
    height: 60px;
    gap: 10px;
  }

  .nav-logo {
    gap: 8px;
  }

  .nav-logo img {
    height: 34px;
  }

  .logo-text .brand {
    font-size: 1.25rem;
  }

  .logo-text .tagline {
    font-size: 0.52rem;
  }

  .nav-actions {
    gap: 6px;
  }

  .search-open-btn,
  .theme-toggle {
    width: 34px;
    height: 34px;
    font-size: 0.88rem;
  }

  .nav-auth-btn {
    height: 34px;
    padding: 6px 10px;
    font-size: 0.74rem;
    gap: 4px;
  }

  .cart-btn {
    height: 34px;
    padding: 6px 12px;
    font-size: 0.75rem;
    gap: 6px;
  }

  .hamburger {
    width: 34px;
    height: 34px;
    padding: 6px;
  }

  .hero {
    height: auto !important;
    min-height: auto !important;
    margin-top: 60px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.64) 0%, rgba(0, 0, 0, 0.78) 50%, rgba(0, 0, 0, 0.88) 100%) !important;
  }

  .hero-arrow {
    display: none !important;
  }

  .hero-nav {
    bottom: 12px;
  }

  .hero-content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 14px auto 24px !important;
    max-width: calc(100% - 10px);
    padding: 20px 20px 22px !important;
    background: rgba(15, 15, 20, 0.52) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .cart-panel {
    width: 100vw;
  }

  .product-detail-wrap {
    padding: 16px 0 40px;
    margin-top: 54px;
  }

  .product-detail-title {
    font-size: 1.55rem;
    line-height: 1.25;
    letter-spacing: 0.045em;
    word-spacing: 0.06em;
  }
}

@media (max-width:580px) {
  .navbar .container {
    padding: 0 10px;
  }

  .nav-inner {
    height: 56px;
    gap: 6px;
  }

  .nav-logo {
    gap: 6px;
  }

  .nav-logo img {
    height: 30px;
  }

  .logo-text .brand {
    font-size: 1.12rem;
    letter-spacing: 0.5px;
  }

  .logo-text .tagline {
    font-size: 0.48rem;
  }

  .nav-actions {
    gap: 5px;
  }

  .search-open-btn,
  .theme-toggle {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }

  /* Compact Auth Button on Mobile: Hide text, show icon / avatar */
  .nav-auth-btn {
    height: 32px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .nav-auth-btn .auth-label {
    display: none;
  }

  /* Compact Cart Button on Mobile: Icon + Floating Count */
  .cart-btn {
    height: 32px;
    padding: 0 10px;
    font-size: 0.75rem;
    gap: 5px;
    border-radius: 5px;
  }

  .cart-btn .cart-label {
    display: none;
  }

  .cart-count {
    min-width: 18px;
    height: 18px;
    font-size: 0.68rem;
    padding: 0 4px;
  }

  .hamburger {
    width: 32px;
    height: 32px;
    padding: 5px;
  }

  .hero {
    margin-top: 56px;
  }
}

@media (max-width:480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
  }

  .detail-atc-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 10px;
    align-items: center;
  }

  .qty-wrap {
    flex-shrink: 0;
  }

  .detail-atc-btn,
  .detail-atc-btn-red {
    flex: 1;
    width: auto;
    height: 46px;
    font-size: 0.85rem;
  }

  .product-detail-title {
    font-size: 1.4rem;
    line-height: 1.25;
    letter-spacing: 0.04em;
    word-spacing: 0.06em;
  }

  .detail-price-block {
    padding: 14px;
    gap: 12px;
  }

  .detail-sale {
    font-size: 2rem;
  }
}

@media (max-width:380px) {
  .navbar .container {
    padding: 0 8px;
  }

  .nav-inner {
    height: 52px;
    gap: 4px;
  }

  .nav-logo img {
    height: 28px;
  }

  .logo-text .brand {
    font-size: 1.02rem;
  }

  .logo-text .tagline {
    display: none;
  }

  .nav-actions {
    gap: 3px;
  }

  .search-open-btn,
  .theme-toggle,
  .hamburger {
    width: 30px;
    height: 30px;
    padding: 0;
  }

  .cart-btn {
    height: 30px;
    padding: 0 8px;
  }

  /* On ultra-narrow screens (<=380px), hide auth button from top bar since it is in mobile drawer */
  .nav-auth-btn {
    display: none;
  }

  .hero {
    margin-top: 52px;
  }
}

/* ─── LIVE SALES NOTIFICATION (2-Line Pill Style — Image 2) ─── */
.live-sales-toast {
  position: fixed;
  bottom: 20px;
  left: 80px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 7px;
  background: rgba(9, 15, 28, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 180, 216, 0.28);
  border-radius: 9999px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 180, 216, 0.14);
  max-width: 480px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1), transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
  -webkit-user-select: none;
}

.live-sales-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.live-sales-toast:hover {
  border-color: rgba(0, 210, 255, 0.55);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.85), 0 0 26px rgba(0, 210, 255, 0.28);
  transform: translateY(-2px) scale(1.015);
}

.live-sales-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d2ff 0%, #0077b6 100%);
  color: #ffffff;
  font-family: var(--font-primary), 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 180, 216, 0.45);
  text-transform: uppercase;
}

.live-sales-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  font-family: var(--font-body), 'Poppins', sans-serif;
  line-height: 1.25;
}

.live-sales-line1 {
  font-size: 0.76rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-sales-line1 strong {
  color: #ffffff;
  font-weight: 700;
}

.live-sales-line2 {
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.live-sales-line2 .live-product {
  color: #38bdf8;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

.live-sales-line2 .live-sep {
  color: #475569;
  font-weight: 700;
  margin: 0 2px;
}

.live-sales-line2 .live-time {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 500;
  flex-shrink: 0;
}

.live-sales-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.6px solid #00e676;
  color: #00e676;
  flex-shrink: 0;
  margin-left: 4px;
  background: rgba(0, 230, 118, 0.08);
}

.live-sales-check svg {
  width: 12px;
  height: 12px;
  stroke: #00e676;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Light mode support */
[data-theme="light"] .live-sales-toast {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 119, 182, 0.28);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 0 18px rgba(0, 119, 182, 0.12);
}

[data-theme="light"] .live-sales-line1 {
  color: #475569;
}

[data-theme="light"] .live-sales-line1 strong {
  color: #0f172a;
}

[data-theme="light"] .live-sales-line2 .live-product {
  color: #0284c7;
}

[data-theme="light"] .live-sales-line2 .live-sep {
  color: #94a3b8;
}

[data-theme="light"] .live-sales-line2 .live-time {
  color: #64748b;
}

/* Mobile responsive - Aligned in WhatsApp row */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 16px;
    left: 14px;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .live-sales-toast {
    left: 66px;
    right: auto;
    bottom: 16px;
    transform: translateY(14px) scale(0.96);
    padding: 6px 12px 6px 7px;
    gap: 8px;
    max-width: calc(100vw - 80px);
    box-sizing: border-box;
  }

  .live-sales-toast.show {
    transform: translateY(0) scale(1);
  }

  .live-sales-toast:hover {
    transform: translateY(-2px) scale(1.015);
  }

  .live-sales-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .live-sales-line1 {
    font-size: 0.73rem;
  }

  .live-sales-line2 {
    font-size: 0.68rem;
  }

  .live-sales-line2 .live-product {
    max-width: 160px;
  }

  .live-sales-check {
    width: 20px;
    height: 20px;
  }

  .live-sales-check svg {
    width: 11px;
    height: 11px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 14px;
    left: 12px;
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }

  .live-sales-toast {
    left: 60px;
    right: auto;
    bottom: 14px;
    transform: translateY(12px) scale(0.96);
    padding: 5px 10px 5px 6px;
    gap: 6px;
    max-width: calc(100vw - 74px);
  }

  .live-sales-toast.show {
    transform: translateY(0) scale(1);
  }

  .live-sales-toast:hover {
    transform: translateY(-2px) scale(1.015);
  }

  .live-sales-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
  }

  .live-sales-line1 {
    font-size: 0.69rem;
  }

  .live-sales-line2 {
    font-size: 0.65rem;
  }

  .live-sales-line2 .live-product {
    max-width: 145px;
  }
}

/* ─── MOBILE NAVBAR HEADER OPTIMIZATION ─── */
.hide-on-mobile,
.auth-label,
.cart-label {
  display: none !important;
}

@media (min-width: 992px) {
  .auth-label,
  .cart-label,
  .hide-on-mobile {
    display: inline !important;
  }
}

.nav-user-photo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
}

@media (max-width: 991px) {
  .nav-container {
    padding: 0 10px !important;
  }
  .nav-logo .logo-text .tagline {
    display: none !important;
  }
  .nav-logo .brand {
    font-size: 1.05rem !important;
  }
  .nav-actions {
    gap: 4px !important;
  }
  .nav-actions button,
  .nav-actions a {
    padding: 5px 8px !important;
    font-size: 0.8rem !important;
  }
  .nav-auth-btn {
    padding: 4px 8px !important;
    gap: 0 !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .nav-user-photo {
    margin-right: 0 !important;
  }
  .hamburger {
    margin-left: 2px !important;
    flex-shrink: 0 !important;
    display: flex !important;
  }
}

/* ─── MOBILE HERO SECTION & CARDS OPTIMIZATION ─── */
@media (max-width: 768px) {
  .hero-slide {
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 24px 16px 56px !important;
    text-align: center !important;
  }

  .hero-content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 14px auto 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .hero-badge {
    font-size: 0.72rem !important;
    padding: 5px 12px !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.06em !important;
  }

  .hero-title {
    font-size: clamp(1.35rem, 4.8vw, 1.95rem) !important;
    line-height: 1.35 !important;
    letter-spacing: 0.03em !important;
    word-spacing: 0.04em !important;
    margin-bottom: 12px !important;
    text-align: center !important;
  }

  .hero-title span {
    letter-spacing: 0.03em !important;
  }

  .hero-desc {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    letter-spacing: 0.01em !important;
    margin-bottom: 18px !important;
    text-align: center !important;
  }

  .hero-price {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
  }

  .hero-price .original {
    font-size: 0.95rem !important;
  }

  .hero-price .sale {
    font-size: 1.55rem !important;
  }

  .hero-price .save-badge {
    font-size: 0.7rem !important;
    padding: 4px 10px !important;
  }

  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 320px !important;
    gap: 10px !important;
    margin: 0 auto !important;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions a,
  .hero-actions button {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 20px !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.05em !important;
    box-sizing: border-box !important;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    gap: 12px !important;
  }

  .product-card {
    padding: 10px !important;
  }

  .product-name {
    font-size: 0.85rem !important;
  }

  .price-sale {
    font-size: 1rem !important;
  }
}

/* ─── COUPON MANAGER STYLES ─── */
.coupon-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.coupon-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.coupon-form-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  background: var(--bg-input, rgba(255,255,255,0.05));
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(107, 56, 251, 0.15);
}

.form-control::placeholder {
  color: rgba(255,255,255,0.3);
}

.code-input {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
}

.coupons-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.coupon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.coupon-card:hover {
  border-color: rgba(107, 56, 251,0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(107, 56, 251,0.12);
}

.coupon-card.inactive {
  opacity: 0.65;
  filter: grayscale(0.4);
}

.coupon-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.coupon-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1.5px dashed rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  font-family: monospace;
}

.coupon-discount-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: #22c55e;
}

.coupon-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}

.coupon-meta-item {
  display: flex;
  flex-direction: column;
}

.coupon-meta-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.coupon-meta-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2px;
}

.coupon-progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 6px;
}

.coupon-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #38bdf8);
  border-radius: 3px;
}

.coupon-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}

.badge-status.active {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-status.disabled {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-status.expired {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.coupon-actions {
  display: flex;
  gap: 6px;
}

.btn-action {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-action:hover {
  background: rgba(255,255,255,0.15);
}

.btn-action.btn-del:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}