
/* ============================================
   GadgetVault — Premium Gadget eCommerce
   CSS Design System (Enhanced)
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131a;
    --bg-tertiary: #1a1a25;
    --bg-elevated: #22222f;
    --accent-primary: #6c5ce7;
    --accent-secondary: #00d2ff;
    --accent-gradient: linear-gradient(135deg, #6c5ce7, #00d2ff);
    --accent-gradient-hover: linear-gradient(135deg, #7d6ff0, #1adcff);
    --success: #00e676;
    --danger: #ff5252;
    --warning: #ffab40;
    --text-primary: #ffffff;
    --text-secondary: #8b8b9e;
    --text-tertiary: #5a5a6e;
    --border-color: rgba(108, 92, 231, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --glass-bg: rgba(19, 19, 26, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(108, 92, 231, 0.3);
    --shadow-glow-cyan: 0 0 30px rgba(0, 210, 255, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --container-max: 1400px;
    --nav-height: 72px;
    --nav-stroke: white;
}

/* --- Light Theme --- */
[data-theme="light"] {
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e8e8ed;
    --bg-elevated: #f0f0f5;
    --accent-primary: #6c5ce7;
    --accent-secondary: #0099cc;
    --accent-gradient: linear-gradient(135deg, #6c5ce7, #00b4d8);
    --accent-gradient-hover: linear-gradient(135deg, #7d6ff0, #00c9e8);
    --success: #00a854;
    --danger: #e53935;
    --warning: #f57c00;
    --text-primary: #1a1a2e;
    --text-secondary: #5a5a7a;
    --text-tertiary: #8b8ba0;
    --border-color: rgba(108, 92, 231, 0.2);
    --border-subtle: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px rgba(108, 92, 231, 0.15);
    --shadow-glow-cyan: 0 0 30px rgba(0, 180, 216, 0.1);
    --nav-stroke: #1a1a2e; /* matches --text-primary */
}

/* Light theme specific overrides */
[data-theme="light"] .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(245, 245, 247, 0.1) 0%,
        rgba(245, 245, 247, 0.3) 60%,
        rgba(245, 245, 247, 0.95) 100%
    );
}

/* [data-theme="light"] .hero-bg-img {
    opacity: 0.85;
} */

[data-theme="light"] .product-badge.hot {
    color: #ffffff;
}

[data-theme="light"] .gradient-text {
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .product-price {
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-stat-value {
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .product-price-old {
    -webkit-text-fill-color: var(--text-tertiary);
}

[data-theme="light"] .toast {
    background: var(--bg-secondary);
    border-color: var(--border-subtle);
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

[data-theme="light"] .section-divider .divider-line {
    background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.3), rgba(0, 180, 216, 0.3), transparent);
}

[data-theme="light"] .section-divider .divider-glow {
    background: radial-gradient(ellipse at center, rgba(108, 92, 231, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .slide-overlay {
    background: var(--bg-secondary);
}

[data-theme="light"] .overlay-header {
    background: var(--bg-secondary);
    border-bottom-color: var(--border-subtle);
}

[data-theme="light"] .timeline::before {
    background: var(--border-subtle);
}

[data-theme="light"] .map-placeholder {
    background: var(--bg-tertiary);
}

/* ============================================
   LIGHT MODE NAVBAR FIX
   ============================================ */

/* Give the navbar a visible background in light mode even before scrolling */
[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Ensure nav logo text is dark and visible */
[data-theme="light"] .nav-logo span {
    color: var(--text-primary);
}

/* Ensure nav links are visible */
[data-theme="light"] .nav-link {
    color: #4a4a6a;
}

[data-theme="light"] .nav-link:hover {
    color: #1a1a2e;
    background: rgba(0, 0, 0, 0.05);
}

/* Fix icon button hover states for light mode */
[data-theme="light"] .search-toggle,
[data-theme="light"] .cart-toggle,
[data-theme="light"] .theme-toggle {
    color: #4a4a6a;
}

[data-theme="light"] .search-toggle:hover,
[data-theme="light"] .cart-toggle:hover,
[data-theme="light"] .theme-toggle:hover {
    color: #1a1a2e;
    background: rgba(0, 0, 0, 0.06);
}

/* Fix search input in light mode */
[data-theme="light"] .search-input {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    color: #1a1a2e;
}

[data-theme="light"] .search-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.12);
}

[data-theme="light"] .search-input::placeholder {
    color: #8b8ba0;
}

/* Fix cart badge visibility */
[data-theme="light"] .cart-badge {
    box-shadow: 0 2px 6px rgba(108, 92, 231, 0.3);
}

/* Fix mobile menu toggle for light mode */
[data-theme="light"] .mobile-menu-toggle {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: var(--accent-primary);
}

[data-theme="light"] .mobile-menu-toggle.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

[data-theme="light"] .hamburger-line {
    background: #1a1a2e;
}

[data-theme="light"] .mobile-menu-toggle.active .hamburger-line {
    background: #ffffff;
}

/* Fix mobile nav panel in light mode */
[data-theme="light"] .mobile-nav-panel {
    background: #ffffff;
    border-left-color: rgba(0, 0, 0, 0.08);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .mobile-nav-header {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mobile-nav-close {
    background: rgba(0, 0, 0, 0.04);
    color: #4a4a6a;
}

[data-theme="light"] .mobile-nav-close:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #1a1a2e;
}

[data-theme="light"] .mobile-nav-link {
    color: #4a4a6a;
}

[data-theme="light"] .mobile-nav-link:hover,
[data-theme="light"] .mobile-nav-link:focus {
    color: #1a1a2e;
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .mobile-nav-footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mobile-nav-socials a {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #4a4a6a;
}

[data-theme="light"] .mobile-nav-socials a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
}

/* ============================================
   LIGHT MODE HERO SECTION FIX
   ============================================ */

/* Keep hero section dark-themed even in light mode */
[data-theme="light"] .hero {
    background-color: #0a0a0f;
    color: #ffffff;
}

/* [data-theme="light"] .hero-bg-img {
    opacity: 0.5;
} */

/* [data-theme="light"] .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.4) 0%,
        rgba(10, 10, 15, 0.7) 50%,
        rgba(10, 10, 15, 1) 100%
    );
} */

[data-theme="light"] .hero-content {
    color: #ffffff;
}

[data-theme="light"] .hero-tag {
    background: rgba(108, 92, 231, 0.15);
    border-color: rgba(108, 92, 231, 0.3);
    color: #00d2ff;
}

[data-theme="light"] .hero-title {
    color: #ffffff;
}

[data-theme="light"] .hero-subtitle {
    color: #8b8b9e;
}

[data-theme="light"] .hero-stat-value {
    background: linear-gradient(135deg, #6c5ce7, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .hero-stat-label {
    /* color: #5a5a6e; */
    color: #ffffff;

}

[data-theme="light"] .hero-stat-divider {
    background: rgba(255, 255, 255, 0.06);
}

/* Hero buttons stay dark-theme styled */
[data-theme="light"] .hero-actions .btn-primary {
    background: linear-gradient(135deg, #6c5ce7, #00d2ff);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

[data-theme="light"] .hero-actions .btn-primary:hover {
    background: linear-gradient(135deg, #7d6ff0, #1adcff);
    box-shadow: 0 6px 25px rgba(108, 92, 231, 0.5);
}

[data-theme="light"] .hero-actions .btn-outline {
    color: #ffffff;
    border-color: rgba(108, 92, 231, 0.15);
    background: transparent;
}

[data-theme="light"] .hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #6c5ce7;
}

/* Smooth transition from dark hero to light content below */
/* [data-theme="light"] .hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, #f5f5f7);
    z-index: 2;
    pointer-events: none;
} */


/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Teko", sans-serif;
    font-weight: 600;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input, textarea {
    font-family: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.hidden {
    display: none !important;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mt-24 {
    margin-top: 24px;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */
.section-divider {
    position: relative;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section-divider .divider-line {
    position: absolute;
    width: 60%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.5), rgba(0, 210, 255, 0.5), transparent);
    transition: var(--transition-smooth);
}

.section-divider .divider-glow {
    position: absolute;
    width: 200px;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(108, 92, 231, 0.12) 0%, transparent 70%);
    filter: blur(8px);
    animation: dividerPulse 4s ease-in-out infinite;
}

@keyframes dividerPulse {
    0%, 100% { opacity: 0.5; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.3); }
}

.section-divider:hover .divider-line {
    width: 80%;
    background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.8), rgba(0, 210, 255, 0.8), transparent);
}

.section-divider:hover .divider-glow {
    opacity: 1;
    transform: scaleX(1.5);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ============================================
PREMIUM DEVELOPER INTRODUCTION BANNER
============================================ */
.unb-dev-banner {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px) scale(0.98);
  width: min(90vw, 600px);
  z-index: 3400; /* Safely below receipt/support hubs (3500) and overlays (4000+) */
  background: rgba(19, 19, 26, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 20px rgba(108, 92, 231, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: 
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.unb-dev-banner.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

.unb-dev-banner.is-exiting {
  opacity: 0;
  transform: translateX(-50%) translateY(20px) scale(0.98);
  pointer-events: none;
}

/* Ambient glow effect */
.unb-dev-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(108, 92, 231, 0.08) 0%, transparent 60%);
  animation: unbDevBannerGlow 6s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}

@keyframes unbDevBannerGlow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

.unb-dev-banner__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.unb-dev-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(108, 92, 231, 0.15);
  border: 1px solid rgba(108, 92, 231, 0.3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-secondary);
}

.unb-dev-banner__pulse {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
  animation: unbDevBannerPulse 2s ease-in-out infinite;
}

@keyframes unbDevBannerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.unb-dev-banner__name {
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  letter-spacing: -0.5px;
}

.unb-dev-banner__alias {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 12px 0;
  font-weight: 500;
}

.unb-dev-banner__role {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-primary);
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.unb-dev-banner__desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Light mode adjustments */
[data-theme="light"] .unb-dev-banner {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(108, 92, 231, 0.15);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 0 20px rgba(108, 92, 231, 0.05);
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .unb-dev-banner {
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .unb-dev-banner::before,
  .unb-dev-banner__pulse {
    animation: none;
  }
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .unb-dev-banner {
    bottom: 80px;
    width: 92vw;
    padding: 16px 20px;
  }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: -0.5px;
    z-index: 10;
}

.logo-icon {
    width: 55px;
    height: 55px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Search */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.search-toggle:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.search-input {
    position: absolute;
    right: 44px;
    width: 0;
    padding: 0;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition-base);
    opacity: 0;
}

.search-wrapper.active .search-input {
    width: 220px;
    padding: 0 14px;
    opacity: 1;
}

.search-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

/* Cart Toggle */
.cart-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.cart-toggle:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: scale(0);
    transition: var(--transition-spring);
}

.cart-badge.visible {
    transform: scale(1);
}

.cart-badge.bump {
    animation: badgeBump 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badgeBump {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
    overflow: hidden;
}

.theme-toggle:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.theme-icon {
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

[data-theme="light"] .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 5px;
    z-index: 10;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

/* .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.4) 0%,
        rgba(10, 10, 15, 0.7) 50%,
        rgba(10, 10, 15, 1) 100%
    );
} */

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
    animation: heroFadeIn 1s ease-out 0.2s both;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-stat-value {
    font-size: 28px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 13px;
    /* color: var(--text-tertiary); */
    color: #ffffff;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    background: var(--accent-gradient-hover);
    box-shadow: 0 6px 25px rgba(108, 92, 231, 0.5);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 15px;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.btn-icon:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories-section {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    padding: 32px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition-base);
    z-index: 0;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.category-card:hover::before {
    opacity: 0.05;
}

.category-card > * {
    position: relative;
    z-index: 1;
}

.category-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    font-size: 28px;
    transition: var(--transition-base);
}

.category-card:hover .category-icon {
    background: rgba(108, 92, 231, 0.2);
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-card p {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ============================================
   PRODUCTS
   ============================================ */
.products-section {
    padding: 80px 0;
}

.products-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

.filter-btn.active {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Product Card */
.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.5s ease-out forwards;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    z-index: 2;
}

.product-badge.new {
    background: var(--accent-gradient);
    color: white;
}

.product-badge.sale {
    background: var(--danger);
    color: white;
}

.product-badge.hot {
    background: var(--warning);
    color: #1a1a25;
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 15, 0.6) 100%);
    opacity: 0;
    transition: var(--transition-base);
}

.product-card:hover .product-image-overlay {
    opacity: 1;
}

.product-quick-add {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 12px;
    background: var(--accent-gradient);
    color: white;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-base);
    z-index: 2;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}

.product-card:hover .product-quick-add {
    transform: translateY(0);
    opacity: 1;
}

.product-quick-add:hover {
    box-shadow: 0 6px 30px rgba(108, 92, 231, 0.6);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.product-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.product-stars {
    display: flex;
    gap: 2px;
    color: var(--warning);
    font-size: 13px;
}

.product-rating-count {
    font-size: 12px;
    color: var(--text-tertiary);
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 22px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-price-old {
    font-size: 14px;
    color: var(--text-tertiary);
    text-decoration: line-through;
    margin-left: 8px;
    -webkit-text-fill-color: var(--text-tertiary);
}

.product-add-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.product-add-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

/* ============================================
   DEALS SECTION (Enhanced with Image)
   ============================================ */
.deals-section {
    padding: 80px 0;
}

.deals-banner {
    position: relative;
    padding: 64px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.deals-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.deals-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 82, 82, 0.15);
    border: 1px solid rgba(255, 82, 82, 0.3);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--danger);
    margin-bottom: 20px;
}

.deals-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.deals-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.deals-visual {
    position: relative;
    width: 380px;
    height: 380px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deals-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
    animation: dealsFloat 6s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@keyframes dealsFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(0.5deg); }
    50% { transform: translateY(-4px) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(-0.5deg); }
}

.deals-image-glow {
    position: absolute;
    inset: -20px;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle, rgba(108, 92, 231, 0.25) 0%, transparent 70%);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
    filter: blur(20px);
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
}

.feature-card:hover .feature-icon {
    background: rgba(108, 92, 231, 0.2);
    transform: scale(1.1);
    transition: var(--transition-base);
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links-group h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links-group a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
    transition: var(--transition-fast);
}

.footer-links-group a:hover {
    color: var(--accent-primary);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-tertiary);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

/* ============================================
   SLIDE-UP OVERLAY PANELS (About & Contact)
   ============================================ */
.overlay-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.overlay-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90vh;
    max-height: 90vh;
    background: var(--bg-primary);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    z-index: 4001;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.slide-overlay.active {
    transform: translateY(0);
}

.overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
    background: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 10;
}

.overlay-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.overlay-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
    background: var(--bg-tertiary);
}

.overlay-close:hover {
    color: var(--text-primary);
    background: var(--bg-elevated);
    transform: rotate(90deg);
}

.overlay-body {
    flex: 1;
    overflow-y: auto;
    padding: 40px 32px 60px;
    scroll-behavior: smooth;
}

/* ============================================
   ABOUT OVERLAY CONTENT
   ============================================ */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.about-hero-text .section-tag {
    margin-bottom: 20px;
}

.about-hero-text h2 {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-hero-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-hero-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-hero-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    transition: var(--transition-smooth);
}

.about-hero-image:hover img {
    transform: scale(1.03);
}

.about-hero-image-glow {
    position: absolute;
    inset: -10px;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(15px);
}

/* About Section */
.about-section {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
    padding: 48px 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.about-section-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: var(--radius-lg);
    color: var(--accent-primary);
}

.about-section h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.about-section p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Timeline */
.about-timeline {
    margin-bottom: 64px;
}

.about-timeline h3 {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
    padding-left: 24px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.3);
    transition: var(--transition-base);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 5px rgba(108, 92, 231, 0.4), var(--shadow-glow);
}

.timeline-content {
    padding: 20px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.timeline-item:hover .timeline-content {
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.timeline-year {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.timeline-content h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Explore More */
.about-explore {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    text-align: center;
}

.about-explore h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.about-explore > .about-explore-content > p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.about-explore-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.explore-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.explore-stat-value {
    font-size: 28px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.explore-stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.about-cta {
    display: inline-flex;
}

/* ============================================
   CONTACT OVERLAY CONTENT
   ============================================ */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.contact-info-card {
    padding: 32px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-glow);
}

.contact-info-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    transition: var(--transition-base);
}

.contact-info-card:hover .contact-info-icon {
    background: rgba(108, 92, 231, 0.2);
    transform: scale(1.1);
}

.contact-info-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-info-sub {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Contact Form */
.contact-form-section {
    max-width: 700px;
    margin: 0 auto 56px;
}

.contact-form-section h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.contact-form-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition-fast);
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.contact-form .form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.contact-form .form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

/* Location */
.contact-location {
    max-width: 700px;
    margin: 0 auto;
}

.contact-location h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.location-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 60px 24px;
    background: var(--bg-secondary);
    color: var(--text-tertiary);
    text-align: center;
}

.map-placeholder svg {
    color: var(--accent-primary);
    opacity: 0.6;
}

.map-placeholder p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.map-placeholder span {
    font-size: 14px;
    color: var(--accent-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.map-placeholder span:hover {
    color: var(--accent-secondary);
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: var(--bg-primary);
    border-left: 1px solid var(--border-subtle);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.cart-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
}

.cart-header-count {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.cart-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.cart-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

/* Empty Cart */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-tertiary);
    padding: 40px 20px;
}

.cart-empty-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    color: var(--text-tertiary);
}

.cart-empty h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.cart-empty p {
    font-size: 14px;
    line-height: 1.6;
}

/* Cart Item */
.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
    animation: cartItemSlide 0.3s ease-out;
}

@keyframes cartItemSlide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item-removing {
    animation: cartItemRemove 0.3s ease-out forwards;
}

@keyframes cartItemRemove {
    to {
        opacity: 0;
        transform: translateX(40px);
        height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }
}

.cart-item-image {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-tertiary);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 10px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.qty-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.cart-item-qty {
    font-size: 14px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.cart-item-remove {
    margin-left: auto;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--text-tertiary);
    transition: var(--transition-fast);
}

.cart-item-remove:hover {
    background: rgba(255, 82, 82, 0.15);
    color: var(--danger);
}

/* Cart Footer */
.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-subtle);
    flex-shrink: 0;

        /* --- THE FIX --- */
    margin-bottom: 120px; /* Pushes it up from the bottom edge */
    border-radius: 0 0 16px 16px; /* Optional: rounds the bottom corners */
    background: var(--bg-primary);
}

.cart-summary {
    margin-bottom: 20px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.cart-summary-row.cart-total {
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--border-subtle);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

.shipping-free {
    color: var(--success);
    font-weight: 600;
}

/* ============================================
   CHECKOUT SLIDE-UP OVERLAY
   ============================================ */

.checkout-overlay {
    height: 80vh;
    max-height: 80vh;
}

.checkout-overlay .overlay-body {
    padding: 32px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.checkout-form-section h3,
.checkout-summary-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition-fast);
}

.form-group select::placeholder {
    color: var(--text-tertiary);
}

.form-group select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

/* Checkout Summary */
.checkout-items {
    max-height: 240px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.checkout-item-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-tertiary);
}

.checkout-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-item-info .name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-item-info .qty {
    font-size: 12px;
    color: var(--text-tertiary);
}

.checkout-item-total {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-secondary);
    flex-shrink: 0;
}

.checkout-totals {
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.checkout-totals-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.checkout-grand-total {
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--border-subtle);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

/* Checkout Success */
.checkout-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 230, 118, 0.1);
    border-radius: 50%;
    color: var(--success);
    animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.checkout-success h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.checkout-success p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.checkout-success .success-sub {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 32px;
}

/* Checkout Overlay Responsive */
@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .checkout-overlay {
        height: 80vh;
        max-height: 80vh;
    }

    .checkout-overlay .overlay-body {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Light mode for checkout overlay */
[data-theme="light"] .slide-overlay.checkout-overlay {
    background: var(--bg-secondary);
}

[data-theme="light"] .checkout-overlay .overlay-header {
    background: var(--bg-secondary);
    border-bottom-color: var(--border-subtle);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    top: 88px;
    right: 24px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    min-width: 280px;
    max-width: 380px;
    animation: toastSlide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.toast.removing {
    animation: toastRemove 0.3s ease-out forwards;
}

@keyframes toastSlide {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastRemove {
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

.toast-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.toast-icon.success {
    background: rgba(0, 230, 118, 0.15);
    color: var(--success);
}

.toast-icon.info {
    background: rgba(0, 210, 255, 0.15);
    color: var(--accent-secondary);
}

.toast-icon.error {
    background: rgba(255, 82, 82, 0.15);
    color: var(--danger);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .deals-banner {
        padding: 48px;
    }
    .deals-visual {
        width: 280px;
        height: 280px;
    }
    .about-hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-explore-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
        z-index: 5;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 24px;
        font-weight: 700;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .search-wrapper.active .search-input {
        width: 160px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-value {
        font-size: 22px;
    }

    .deals-banner {
        padding: 32px;
        flex-direction: column;
        text-align: center;
    }

    .deals-visual {
        width: 100%;
        height: 250px;
        margin-top: 24px;
    }

    .deals-image {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cart-sidebar {
        width: 100%;
    }

    /* Overlay panels responsive */
    .slide-overlay {
        height: 80vh;
        max-height: 80vh;
    }

    .overlay-body {
        padding: 24px 20px 40px;
    }

    .overlay-header {
        padding: 16px 20px;
    }

    .about-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-hero-image img {
        height: 220px;
    }

    .about-section {
        padding: 32px 20px;
    }

    .about-explore {
        padding: 32px 20px;
    }

    .about-explore-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-form-section {
        padding: 0;
    }

    .section-divider {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .product-info {
        padding: 16px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .container {
        padding: 0 16px;
    }

    .timeline {
        padding-left: 32px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-dot {
        left: -28px;
    }
}

/* ============================================
   ✨ MOBILE SLIDE-IN PANEL (NEW)
   ============================================ */

/* Hide desktop nav on mobile */
@media (max-width: 768px) {
    .nav-links.desktop-only {
        display: none !important;
    }
}

/* Backdrop Overlay */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Slide-In Panel */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-primary);
    border-left: 1px solid var(--border-subtle);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.mobile-nav-panel.active {
    transform: translateX(0);
}

/* Panel Header */
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.mobile-nav-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.mobile-nav-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
    background: var(--bg-tertiary);
}

.mobile-nav-close:hover {
    color: var(--text-primary);
    background: var(--bg-elevated);
    transform: rotate(90deg);
}

/* Nav Links */
.mobile-nav-links {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--accent-gradient);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: height 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.mobile-nav-link:hover::before,
.mobile-nav-link:focus::before {
    height: 70%;
}

.mobile-nav-link:active {
    transform: translateX(2px);
}

/* Panel Footer */
.mobile-nav-footer {
    padding: 20px 24px 32px;
    border-top: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.mobile-nav-version {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.mobile-nav-socials {
    display: flex;
    gap: 12px;
}

.mobile-nav-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.mobile-nav-socials a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

/* ✨ Enhanced Hamburger Animation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    gap: 6px;
    z-index: 10;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
}

.mobile-menu-toggle:hover {
    background: var(--bg-elevated);
    border-color: var(--accent-primary);
}

.mobile-menu-toggle.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

/* Hamburger → X Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    width: 22px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 22px;
}

/* Show toggle only on mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

/* ✨ Smooth entrance animation for links */
.mobile-nav-link {
    opacity: 0;
    transform: translateX(20px);
    animation: slideInLink 0.3s ease-out forwards;
}

.mobile-nav-link:nth-child(1) { animation-delay: 0.05s; }
.mobile-nav-link:nth-child(2) { animation-delay: 0.1s; }
.mobile-nav-link:nth-child(3) { animation-delay: 0.15s; }
.mobile-nav-link:nth-child(4) { animation-delay: 0.2s; }
.mobile-nav-link:nth-child(5) { animation-delay: 0.25s; }

@keyframes slideInLink {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Reset animation when panel closes */
.mobile-nav-panel:not(.active) .mobile-nav-link {
    animation: none;
    opacity: 0;
    transform: translateX(20px);
}


/* Focus styles for accessibility */
.mobile-nav-link:focus {
    outline: 2px solid var(--accent-secondary);
    outline-offset: 2px;
}

.mobile-nav-close:focus,
.mobile-menu-toggle:focus {
    outline: 2px solid var(--accent-secondary);
    outline-offset: 2px;
}

/* Prevent body scroll when panel is open */
body.mobile-nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .mobile-nav-panel {
        width: 70%;
        max-width: 360px;
    }
}

/* unbothered css */
/* ============================================
   HERO BACKGROUND SLIDER — Premium Transitions
   ============================================ */

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* Each slide layer */
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* Outgoing slide — smooth fade + slight zoom out */
.hero-slide.leaving {
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.hero-slide .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay stays on top of all slides */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    /* Keep your existing overlay gradient — if you don't have one, use this: */
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.6) 100%
    );
    pointer-events: none;
}

/* --- Slide Indicators (dots) --- */
.hero-slide-indicators {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-indicator::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.4s ease;
}

.hero-indicator:hover {
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.hero-indicator.active {
    border-color: #fff;
    width: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.hero-indicator.active::before {
    background: #fff;
    border-radius: 4px;
    inset: 3px;
}

/* --- Progress Bar --- */
.hero-slide-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
    overflow: hidden;
}

.hero-slide-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
    transition: width 0.3s linear;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.hero-slide-progress-bar.animating {
    transition: width 7s linear;
    width: 100%;
}

/* --- Subtle shimmer on active slide --- */
.hero-slide.active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 30%,
        rgba(255, 255, 255, 0.02) 50%,
        transparent 70%
    );
    animation: heroShimmer 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 4;
}

@keyframes heroShimmer {
    0%, 100% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    .hero-slide-indicators {
        bottom: 20px;
        gap: 8px;
    }

    .hero-indicator {
        width: 10px;
        height: 10px;
    }

    .hero-indicator.active {
        width: 28px;
    }

    .hero-slide-progress {
        height: 2px;
    }
}
/* unbothered css end */

/* ============================================
   LIGHT MODE HERO SECTION FIX (UPDATED)
   ============================================ */

/* Keep hero section dark-themed even in light mode */
[data-theme="light"] .hero {
    background-color: #0a0a0f;
    color: #ffffff;
}

[data-theme="light"] .hero-bg {
    background-color: #0a0a0f;
}

[data-theme="light"] .hero-slide .hero-bg-img {
    opacity: 0.5;
}

/* Force the overlay to use dark gradients in light mode too */
[data-theme="light"] .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

[data-theme="light"] .hero-content {
    color: #ffffff;
}

[data-theme="light"] .hero-tag {
    background: rgba(108, 92, 231, 0.15);
    border-color: rgba(108, 92, 231, 0.3);
    color: #00d2ff;
}

[data-theme="light"] .hero-title {
    color: #ffffff;
}

[data-theme="light"] .hero-subtitle {
    color: #8b8b9e;
}

[data-theme="light"] .hero-stat-value {
    background: linear-gradient(135deg, #6c5ce7, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .hero-stat-label {
    color: #ffffff;
}

[data-theme="light"] .hero-stat-divider {
    background: rgba(255, 255, 255, 0.06);
}

/* Hero buttons stay dark-theme styled */
[data-theme="light"] .hero-actions .btn-primary {
    background: linear-gradient(135deg, #6c5ce7, #00d2ff);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

[data-theme="light"] .hero-actions .btn-primary:hover {
    background: linear-gradient(135deg, #7d6ff0, #1adcff);
    box-shadow: 0 6px 25px rgba(108, 92, 231, 0.5);
}

[data-theme="light"] .hero-actions .btn-outline {
    color: #ffffff;
    border-color: rgba(108, 92, 231, 0.15);
    background: transparent;
}

[data-theme="light"] .hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #6c5ce7;
}

/* Slide indicators stay white in light mode */
[data-theme="light"] .hero-indicator {
    border-color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .hero-indicator:hover {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .hero-indicator.active {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .hero-indicator.active::before {
    background: #fff;
}

[data-theme="light"] .hero-slide-progress {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   PRODUCT DETAILS OVERLAY
   ============================================ */

.product-detail-overlay {
    height: 92vh;
    max-height: 92vh;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Image Section */
.product-detail-image-section {
    position: sticky;
    top: 0;
}

.product-detail-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    aspect-ratio: 1;
}

.product-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-detail-image-wrapper:hover .product-detail-image {
    transform: scale(1.05);
}

.product-detail-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    font-size: 12px;
    padding: 6px 16px;
}

/* Info Section */
.product-detail-info-section {
    padding-top: 8px;
}

.product-detail-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.product-detail-name {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.product-detail-rating .product-stars {
    font-size: 16px;
    color: var(--warning);
}

.product-detail-rating .product-rating-count {
    font-size: 14px;
    color: var(--text-tertiary);
}

.product-detail-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.product-detail-price {
    font-size: 36px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-detail-old-price {
    font-size: 18px;
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.product-detail-discount {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 82, 82, 0.12);
    color: var(--danger);
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.product-detail-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

/* Features */
.product-detail-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.pd-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.pd-feature svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* Actions */
.product-detail-actions {
    display: flex;
    gap: 12px;
}

.product-detail-add-btn {
    flex: 1;
    padding: 18px 32px;
    font-size: 16px;
}

/* Light mode overrides */
[data-theme="light"] .product-detail-price {
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .product-detail-old-price {
    -webkit-text-fill-color: var(--text-tertiary);
}

/* ============================================
   LATEST DROPS SECTION (Secondary Products)
   ============================================ */

.latest-drops-section {
    padding: 80px 0;
}

.latest-drops-grid .product-card {
    position: relative;
}

/* Subtle accent line at top of Latest Drops cards */
.latest-drops-grid .product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition-base);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.latest-drops-grid .product-card:hover::after {
    opacity: 1;
}

/* Staggered entrance animation for Latest Drops */
.latest-drops-grid .product-card {
    animation: latestDropFadeIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(24px);
}

@keyframes latestDropFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Light mode overrides for Latest Drops */
[data-theme="light"] .latest-drops-section {
    background: var(--bg-primary);
}


/* ============================================
   BLOG SECTION
   ============================================ */

.blog-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

/* Featured card spans 2 rows */
.blog-card-featured {
    grid-row: 1 / 3;
}

/* Blog Card Base */
.blog-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

/* Featured card is vertical layout */
.blog-card-featured {
    flex-direction: column;
}

/* Non-featured cards are horizontal */
.blog-card:not(.blog-card-featured) {
    flex-direction: row;
}

/* Blog Card Image */
.blog-card-image {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-card-featured .blog-card-image {
    aspect-ratio: 16 / 10;
}

.blog-card:not(.blog-card-featured) .blog-card-image {
    width: 200px;
    min-height: 100%;
    aspect-ratio: auto;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 15, 0.7) 100%);
    opacity: 0;
    transition: var(--transition-base);
}

.blog-card:hover .blog-card-image-overlay {
    opacity: 1;
}

.blog-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 14px;
    background: rgba(108, 92, 231, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: var(--radius-full);
    z-index: 2;
}

/* Blog Card Content */
.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card:not(.blog-card-featured) .blog-card-content {
    padding: 20px;
    justify-content: center;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-card-date,
.blog-card-read {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.blog-card-meta span:first-child::after {
    content: '·';
    margin-left: 12px;
    color: var(--text-tertiary);
}

.blog-card-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.blog-card-featured .blog-card-title {
    font-size: 24px;
    letter-spacing: -0.5px;
}

.blog-card:hover .blog-card-title {
    color: var(--accent-primary);
}

.blog-card-snippet {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.blog-card:not(.blog-card-featured) .blog-card-snippet {
    font-size: 13px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-primary);
    transition: var(--transition-fast);
}

.blog-card-cta svg {
    transition: transform var(--transition-fast);
}

.blog-card:hover .blog-card-cta {
    color: var(--accent-secondary);
}

.blog-card:hover .blog-card-cta svg {
    transform: translateX(4px);
}


/* ============================================
   BLOG DETAIL OVERLAY
   ============================================ */

.blog-detail-hero {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 40px;
}

.blog-detail-hero-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.blog-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.2) 0%, rgba(10, 10, 15, 0.85) 100%);
}

.blog-detail-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 2;
}

.blog-detail-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(108, 92, 231, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.blog-detail-hero-content h1 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 16px;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-detail-author,
.blog-detail-date,
.blog-detail-read {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.blog-detail-author svg,
.blog-detail-date svg,
.blog-detail-read svg {
    opacity: 0.7;
}

/* Blog Detail Content */
.blog-detail-content {
    max-width: 720px;
    margin: 0 auto;
}

.blog-detail-lead {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    font-weight: 500;
    border-left: 3px solid var(--accent-primary);
    padding-left: 20px;
}

.blog-detail-content h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.blog-detail-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 18px;
}

/* Highlight Box */
.blog-detail-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: var(--radius-lg);
    margin: 28px 0;
}

.blog-detail-highlight svg {
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.blog-detail-highlight p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

.blog-detail-highlight strong {
    color: var(--accent-primary);
}


/* ============================================
   BLOG SECTION — LIGHT MODE
   ============================================ */

[data-theme="light"] .blog-card {
    background: var(--bg-secondary);
}

[data-theme="light"] .blog-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), var(--shadow-glow);
}

[data-theme="light"] .blog-card-image-overlay {
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
}

[data-theme="light"] .blog-detail-highlight {
    background: rgba(108, 92, 231, 0.06);
    border-color: rgba(108, 92, 231, 0.15);
}

[data-theme="light"] .blog-detail-lead {
    border-left-color: var(--accent-primary);
}

[data-theme="light"] .slide-overlay.blog-overlay {
    background: var(--bg-secondary);
}

[data-theme="light"] .blog-overlay .overlay-header {
    background: var(--bg-secondary);
    border-bottom-color: var(--border-subtle);
}

[data-theme="light"] .blog-detail-hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.product-desc-hidden {
  display: none;
}

/* unb */

/* ============================================
   FLOATING RECEIPT HUB (CENTER-RIGHT)
   ============================================ */
.receipt-floating-hub {
    position: relative;
    z-index: 3500;
}

/* Floating button stuck to center-right */
.receipt-float-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 16px 0 0 16px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: -4px 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(108, 92, 231, 0.25);
    cursor: pointer;
    z-index: 3500;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.receipt-float-btn:hover {
    padding-right: 18px;
    background: var(--bg-elevated);
    box-shadow: -6px 12px 32px rgba(0, 0, 0, 0.5), 0 0 30px rgba(108, 92, 231, 0.4);
    transform: translateY(-50%) translateX(-4px);
}

.receipt-float-icon-wrap {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.12);
    border-radius: 8px;
    color: var(--accent-primary);
    transition: transform 0.2s ease;
}

.receipt-float-btn:hover .receipt-float-icon-wrap {
    transform: scale(1.1);
    color: var(--accent-secondary);
}

.receipt-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--accent-gradient);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.receipt-badge.visible {
    opacity: 1;
    transform: scale(1);
}

.receipt-float-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

[data-theme="light"] .receipt-float-btn {
    background: #ffffff;
    border-color: rgba(108, 92, 231, 0.2);
    box-shadow: -4px 8px 24px rgba(0, 0, 0, 0.08), 0 0 15px rgba(108, 92, 231, 0.15);
}

/* Backdrop */
.receipt-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 3501;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.receipt-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Slide-In Drawer */
.receipt-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: var(--bg-primary);
    border-left: 1px solid var(--border-subtle);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    z-index: 3502;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.receipt-drawer.active {
    transform: translateX(0);
}

[data-theme="light"] .receipt-drawer {
    background: #ffffff;
}

/* Drawer Header */
.receipt-drawer-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
}

.receipt-drawer-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.receipt-drawer-title-wrap h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
}

.receipt-header-count {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 600;
}

.receipt-drawer-close {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.receipt-drawer-close:hover {
    color: var(--text-primary);
    background: var(--bg-elevated);
    transform: rotate(90deg);
}

/* Drawer Body */
.receipt-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Empty State */
.receipt-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    margin: auto 0;
    color: var(--text-secondary);
}

.receipt-empty-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(108, 92, 231, 0.1);
    color: var(--accent-primary);
    margin-bottom: 18px;
}

.receipt-empty-state h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.receipt-empty-state p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-tertiary);
    max-width: 260px;
}

/* Receipt Card Item */
.receipt-item-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s ease;
    animation: receiptSlideIn 0.3s ease-out;
}

@keyframes receiptSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.receipt-item-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

[data-theme="light"] .receipt-item-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.receipt-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.receipt-item-id {
    font-family: monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-primary);
}

.receipt-item-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--success);
    background: rgba(0, 230, 118, 0.1);
    padding: 3px 8px;
    border-radius: 999px;
}

.receipt-item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.receipt-item-time-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-tertiary);
}

.receipt-item-ago {
    font-weight: 600;
    color: var(--accent-secondary);
}

.receipt-item-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.receipt-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.receipt-download-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--accent-gradient);
    color: #fff;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.receipt-download-btn:hover {
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
    transform: translateY(-1px);
}

/* Footer note */
.receipt-drawer-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.receipt-footer-tip {
    font-size: 11.5px;
    color: var(--text-tertiary);
}


/* Badge styling */
    .badge {
        display: inline-block;
        min-width: 20px;
        padding: 2px 6px;
        margin-left: 6px;
        border-radius: 12px;
        background-color: green; /* Red, adjust to match your theme */
        color: #fff;
        font-size: 12px;
        font-weight: bold;
        text-align: center;
        line-height: 1.4;
    }

    /* Slow bouncing animation */
    @keyframes bounceSlow {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-6px);
        }
    }

    .bounce-slow {
        animation: bounceSlow 2.5s ease-in-out infinite;
    }

/* ============================================
   BLOG SECTION — RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }

    .blog-card-featured {
        grid-row: auto;
        grid-column: 1 / -1;
    }

    .blog-card:not(.blog-card-featured) {
        flex-direction: column;
    }

    .blog-card:not(.blog-card-featured) .blog-card-image {
        width: 100%;
        min-height: auto;
        aspect-ratio: 16 / 10;
    }

    .blog-card:not(.blog-card-featured) .blog-card-content {
        padding: 20px;
    }

    .blog-detail-hero-img {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr  1fr;
    }

    .blog-card-featured {
        grid-row: auto;
        grid-column: 1 / -1;
    }

    .blog-card:not(.blog-card-featured) {
        flex-direction: column;
    }

    .blog-card:not(.blog-card-featured) .blog-card-image {
        width: 100%;
        min-height: auto;
        aspect-ratio: 16 / 10;
    }

    .blog-card:not(.blog-card-featured) .blog-card-content {
        padding: 16px;
    }

    .blog-card:not(.blog-card-featured) .blog-card-snippet {
        -webkit-line-clamp: 3;
    }

    .blog-card-featured .blog-card-title {
        font-size: 20px;
    }

    .blog-detail-hero-img {
        height: 220px;
    }

    .blog-detail-hero-content {
        padding: 20px;
    }

    .blog-detail-hero-content h1 {
        font-size: 22px;
    }

    .blog-detail-meta {
        gap: 12px;
    }

    .blog-detail-lead {
        font-size: 16px;
        padding-left: 16px;
    }

    .blog-detail-content h2 {
        font-size: 20px;
    }

    .blog-detail-content p {
        font-size: 14px;
    }

    .blog-detail-highlight {
        padding: 16px;
        gap: 12px;
    }

    
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns:  1fr;
    }

    .blog-card-content {
        padding: 16px;
    }

    .blog-card:not(.blog-card-featured) {
        flex-direction: column;
    }

    .blog-card:not(.blog-card-featured) .blog-card-image {
        width: 100%;
        min-height: auto;
        aspect-ratio: 16 / 9;
    }

    .blog-card:not(.blog-card-featured) .blog-card-content {
        padding: 14px;
    }

    .blog-detail-hero-img {
        height: 180px;
    }

    .blog-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .nav-inner {
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 0 16px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

}

/* Receipt Buttons & Notice */
.receipt-notice-box {
    transition: all 0.3s ease;
}
#download-receipt-btn {
    box-shadow: 0 4px 14px rgba(108, 92, 231, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#download-receipt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.45);
}

/* ==========================================
   NUCLEAR INVENTORY ALERTS (BOUNCING & PREMIUM)
   ========================================== */
.cart-inventory-alerts {
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.inv-alert {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(255, 107, 107, 0.05));
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-left: 4px solid #ff6b6b;
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    color: #ff6b6b;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.15);
    animation: alertBounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    backdrop-filter: blur(8px);
}
.inv-alert.sold-out {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(108, 92, 231, 0.05));
    border-color: rgba(108, 92, 231, 0.3);
    border-left-color: #6c5ce7;
    color: #6c5ce7;
}
.inv-alert-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: rgba(255, 107, 107, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseIcon 2s infinite;
}
.inv-alert.sold-out .inv-alert-icon {
    background: rgba(108, 92, 231, 0.15);
    animation: pulseIconPurple 2s infinite;
}
.inv-alert-content strong {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: 0.3px;
}
.inv-alert-content span {
    opacity: 0.85;
    font-size: 12.5px;
    line-height: 1.4;
}

@keyframes alertBounceIn {
    0% { transform: translateY(-20px) scale(0.9); opacity: 0; }
    60% { transform: translateY(5px) scale(1.02); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes pulseIcon {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}
@keyframes pulseIconPurple {
    0% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(108, 92, 231, 0); }
    100% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0); }
}

/* Disabled Checkout Button State */
#checkout-btn:disabled {
    background: #4a4a5e !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    box-shadow: none !important;
}

/* ============================================
   FOOTER BOTTOM ENHANCEMENTS (Developer Credit)
   ============================================ */
.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Perfect left-center-right alignment */
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
    gap: 16px;
}

.footer-copyright {
    justify-self: start;
    font-size: 13px;
    color: var(--text-tertiary);
    margin: 0;
}

.footer-developer {
    justify-self: center;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.developer-link {
    color: var(--accent-primary);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.developer-link svg {
    transition: transform var(--transition-base);
}

.developer-link:hover {
    color: var(--accent-secondary);
    background: rgba(108, 92, 231, 0.08);
    text-shadow: 0 0 15px rgba(108, 92, 231, 0.3);
}

.developer-link:hover svg {
    transform: translateX(2px);
}

.footer-socials {
    justify-self: end;
    display: flex;
    gap: 12px;
}

/* Light mode adjustments for developer link */
[data-theme="light"] .developer-link:hover {
    background: rgba(108, 92, 231, 0.1);
    color: var(--accent-primary);
    text-shadow: none;
}

/* ============================================
   FLOATING CONTACT SUPPORT HUB (PREMIUM & VERTICAL)
   ============================================ */
.support-floating-hub {
  position: fixed;
  right: 0;
  top: calc(50% + 200px); /* Positions the entire hub perfectly below the receipt button */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Ensures button and options align perfectly to the right edge */
  gap: 12px; /* Clean vertical spacing between main button and options panel */
  z-index: 3500;
}

/* Main Support Button */
.support-float-btn {
  position: relative; /* Positioned naturally by parent flex container */
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: 16px 0 0 16px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: -4px 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(108, 92, 231, 0.25);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.support-float-btn:hover {
  padding-right: 18px;
  background: var(--bg-elevated);
  box-shadow: -6px 12px 32px rgba(0, 0, 0, 0.5), 0 0 30px rgba(108, 92, 231, 0.4);
}

.support-float-icon-wrap {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 210, 255, 0.12);
  border-radius: 8px;
  color: var(--accent-secondary);
  transition: transform 0.2s ease;
}

.support-float-btn:hover .support-float-icon-wrap {
  transform: scale(1.1);
  color: var(--accent-primary);
}

.support-float-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

/* Support Options Panel (Vertical Stack Below Button) */
.support-options {
  position: relative; /* Flows naturally below the button in the flex column */
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px) scale(0.95);
  transform-origin: top right;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.support-options.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Circular Option Buttons */
.support-option-btn {
  position: relative;
  width: 56px; /* Compact, premium size for vertical stack */
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* WhatsApp Button */
.support-option-btn.whatsapp-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
}

.support-option-btn.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.support-option-btn.whatsapp-btn:hover {
  transform: scale(1.1) translateX(-4px); /* Subtle "peek out" effect to the left */
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5), 0 0 40px rgba(37, 211, 102, 0.3);
}

.support-option-btn.whatsapp-btn:hover::before {
  opacity: 1;
}

.support-option-btn.whatsapp-btn:active {
  transform: scale(0.95) translateX(-4px);
}

/* Phone Button */
.support-option-btn.phone-btn {
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  color: #ffffff;
}

.support-option-btn.phone-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.support-option-btn.phone-btn:hover {
  transform: scale(1.1) translateX(-4px);
  box-shadow: 0 12px 32px rgba(108, 92, 231, 0.5), 0 0 40px rgba(108, 92, 231, 0.3);
}

.support-option-btn.phone-btn:hover::before {
  opacity: 1;
}

.support-option-btn.phone-btn:active {
  transform: scale(0.95) translateX(-4px);
}

/* SVG Icon Styling */
.support-option-btn svg {
  position: relative;
  z-index: 2;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.support-option-btn:hover svg {
  transform: scale(1.15);
}

/* Ripple Effect on Click */
.support-option-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  opacity: 0;
  transition: all 0.6s ease;
}

.support-option-btn:active::after {
  transform: scale(1.5);
  opacity: 0;
}

/* Entrance Animation for Buttons (Staggered) */
.support-options.active .support-option-btn {
  animation: slideInButton 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
  transform: translateY(-10px) scale(0.8);
}

.support-options.active .support-option-btn:nth-child(1) {
  animation-delay: 0.05s;
}

.support-options.active .support-option-btn:nth-child(2) {
  animation-delay: 0.1s;
}

@keyframes slideInButton {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Light Mode Adjustments */
[data-theme="light"] .support-float-btn {
  background: #ffffff;
  border-color: rgba(108, 92, 231, 0.2);
  box-shadow: -4px 8px 24px rgba(0, 0, 0, 0.08), 0 0 15px rgba(108, 92, 231, 0.15);
}

[data-theme="light"] .support-option-btn {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .support-option-btn.whatsapp-btn {
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

[data-theme="light"] .support-option-btn.phone-btn {
  box-shadow: 0 8px 24px rgba(108, 92, 231, 0.25);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .support-floating-hub {
    top: calc(50% + 200px); /* Adjust offset for mobile receipt button */
    gap: 10px;
  }
  
  .support-float-btn {
    padding: 10px 12px;
  }
  
  .support-option-btn {
    width: 50px;
    height: 50px;
  }
  
  .support-option-btn svg {
    width: 22px;
    height: 22px;
  }
}

/* ============================================
   FOOTER BOTTOM RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .footer-copyright,
    .footer-developer,
    .footer-socials {
        justify-self: center;
    }

    .footer-socials {
        justify-content: center;
    }
    
    .footer-developer {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-detail-image-section {
        position: relative;
    }

    .product-detail-image-wrapper {
        max-height: 400px;
        aspect-ratio: auto;
    }
}

@media (max-width: 768px) {
    .product-detail-overlay {
        height: 95vh;
        max-height: 95vh;
    }

    .product-detail-layout {
        gap: 24px;
    }

    .product-detail-image-wrapper {
        max-height: 320px;
    }

    .product-detail-name {
        font-size: 26px;
    }

    .product-detail-price {
        font-size: 28px;
    }

    .product-detail-features {
        padding: 16px;
    }

    .receipt-drawer {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-detail-image-wrapper {
        max-height: 260px;
    }
}