﻿/* =========================================================
   AURA — Premium E-Commerce Theme (Redesigned)
   ========================================================= */

/* ---------- 1. VARIABLES & RESET ---------- */
:root {
  /* Core palette */
  --bg: #F6F7FB;
  --bg-soft: #EEEFF4;
  --ink: #0F1117;
  --ink-soft: #6B7280;
  --ink-light: #9CA3AF;
  --line: #E6E8F0;
  --white: #FFFFFF;
  --card-bg: #FFFFFF;

  /* Premium glass */
  --glass: rgba(255,255,255,0.5);
  --glass-strong: rgba(255,255,255,0.78);
  --glass-border: rgba(255,255,255,0.12);

  /* Accent system — navy + black */
  --blue: #1E2A4A;
  --blue-dark: #141E36;
  --blue-soft: rgba(30,42,74,0.08);
  --indigo: #1E2A4A;
  --amber: #F59E0B;
  --green: #10B981;
  --danger: #EF4444;
  --success: #10B981;

  /* Dark system (nav + hero) */
  --navy1: #080C18;
  --navy2: #0C1428;
  --navy3: #060A14;
  --navy-gradient: linear-gradient(140deg, #080C18 0%, #0F1E36 50%, #060A14 100%);
  --navy-gradient-promo: linear-gradient(120deg, #060A14 0%, #0F1E36 60%, #080C18 100%);

  /* Shapes */
  --radius-full: 9999px;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 50px -8px rgba(8,12,24,0.25);
  --shadow-nav: 0 4px 24px rgba(8,12,24,0.4);
  --shadow-card-hover: 0 12px 36px -8px rgba(8,12,24,0.12);

  /* Typography */
  --font-display: "Manrope", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --nav-h: 62px;
  --nav-top: 0px;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Dynamic theme (set by JS from backend) */
  --theme-bg: #080C18;
  --theme-primary: #0F1E36;
  --theme-secondary: #060A14;
  --theme-accent: #ff6b6b;
  --theme-text: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0,0,0,0) !important; touch-action: manipulation; }
*:focus, *:active { outline: none !important; }
*:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
a, button, .jb-item, .icon-btn, .jelly-bar * { -webkit-tap-highlight-color: rgba(0,0,0,0) !important; }
::-moz-focus-inner { border: 0 !important; }
html { scroll-behavior: smooth; height: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 20% 0%, rgba(8,12,24,0.03) 0%, transparent 50%);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font-body); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- DYNAMIC CONTENT FADE-IN ---------- */
.js-sale-percent, .js-sale-title, .js-sale-desc { opacity: 0; transition: opacity 0.35s ease; }
.js-sale-percent.loaded, .js-sale-title.loaded, .js-sale-desc.loaded { opacity: 1; }

/* ---------- 2. TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, .display {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid rgba(30,42,74,0.12);
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(30px, 4.5vw, 42px);
  margin-bottom: 6px;
  color: var(--ink);
}

.section-sub {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 20px;
}

/* ---------- 3. LAYOUT / UTILITIES ---------- */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 80px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 24px;
}

.cat-head-box {
  margin-bottom: 8px;
  background: #ffffff;
  border: 1.5px solid #d0d5e0;
  border-radius: var(--radius-xl);
  padding: 24px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(8,12,24,0.08);
}
.cat-head-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(30,42,74,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.cat-head-box .eyebrow {
  background: rgba(30,42,74,0.08);
  border-color: rgba(30,42,74,0.15);
  color: #1E2A4A;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cat-head-box .section-title {
  font-size: clamp(18px, 4vw, 24px);
  color: #1a1a2e;
}
.cat-head-box .section-sub {
  display: block;
  color: #66708a;
  font-size: 13px;
  margin-top: 4px;
}

.section-head-box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 24px;
  background: var(--navy-gradient);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(8,12,24,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.06);
}
.section-head-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(30,42,74,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.section-head-box .eyebrow {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #ffffff;
}
.section-head-box .section-title {
  color: #ffffff;
}
.section-head-box .section-sub {
  color: rgba(255,255,255,0.7);
}

/* Discounted Products head box — white theme (home + discount page) */
.js-bottom-deals-section .section-head-box,
.js-sale-deals .section-head-box {
  background: #ffffff;
  border: 1.5px solid #d0d5e0;
  box-shadow: 0 4px 16px rgba(8,12,24,0.08);
}
.js-bottom-deals-section .section-head-box .eyebrow,
.js-sale-deals .section-head-box .eyebrow {
  background: rgba(30,42,74,0.08);
  border-color: rgba(30,42,74,0.15);
  color: #1E2A4A;
}
.js-bottom-deals-section .section-head-box .section-title,
.js-sale-deals .section-head-box .section-title {
  color: #1a1a2e;
}
.js-bottom-deals-section .section-head-box .section-sub,
.js-sale-deals .section-head-box .section-sub {
  color: #66708a;
}

.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }

.text-center { text-align: center; }
main { min-height: 60vh; }

.page-hero-strip {
  background: var(--navy-gradient);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 36px 0 32px;
  margin-top: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(30,42,74,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-strip h1 { font-size: clamp(28px, 4vw, 38px); color: var(--white); font-weight: 800; position: relative; }
.page-hero-strip p { color: rgba(255,255,255,0.7); margin-top: 6px; font-size: 15px; position: relative; }

.info-page {
  background: var(--white);
  border: 1.5px solid #1a1a2e;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 6px 20px rgba(8,12,24,0.15);
}
.info-page h3 { margin: 24px 0 12px; font-size: 18px; color: var(--ink); font-weight: 700; }
.info-page h3:first-child { margin-top: 0; }
.info-page p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 12px; }
.info-page a { color: var(--blue); font-weight: 600; }
.info-page a:hover { text-decoration: underline; }
.info-list { padding-left: 20px; margin: 8px 0 16px; color: var(--ink-soft); line-height: 1.7; }
.info-list li { margin-bottom: 6px; }

.return-highlight {
  display: flex;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, rgba(30,42,74,0.06), rgba(30,42,74,0.02));
  border: 2px solid #1a1a2e;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: 0 4px 14px rgba(8,12,24,0.1);
}
.return-highlight .rh-icon {
  font-size: 44px;
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  border: 1.5px solid #1a1a2e;
  box-shadow: 0 4px 12px rgba(8,12,24,0.15);
}
.return-highlight h3 { color: var(--ink); }
.return-highlight p { color: var(--ink); }

.video-wrap {
  background: var(--bg-soft);
  border: 1.5px solid #1a1a2e;
  border-radius: var(--radius-md);
  padding: 12px;
  margin: 8px 0 20px;
  box-shadow: 0 4px 14px rgba(8,12,24,0.12);
}
.video-wrap video { border: 1px solid var(--line); }
.video-caption {
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  margin: 10px 0 4px;
  font-style: italic;
}
.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 14px;
  transition: all 0.25s;
}
.faq-item:hover { border-color: var(--blue); box-shadow: 0 4px 14px rgba(8,12,24,0.1); transform: translateY(-2px); }
.faq-item h3 { margin: 0 0 8px; font-size: 16px; color: var(--ink); font-weight: 700; }
.faq-item p { margin: 0; color: var(--ink-soft); line-height: 1.6; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  transition: all 0.25s;
}
.contact-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 6px 16px rgba(8,12,24,0.1); }
.contact-card .ci { font-size: 32px; margin-bottom: 8px; }
.contact-card h4 { margin: 0 0 8px; color: var(--ink); font-size: 15px; }
.contact-card p { margin: 2px 0; color: var(--ink-soft); font-size: 13px; }

.contact-form .form-group { margin-bottom: 14px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--white);
  color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); outline: none; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form textarea { resize: vertical; min-height: 100px; }

.track-form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; margin-bottom: 28px; }
.track-form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.track-form input { width: 100%; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 12px; font-family: inherit; }
.track-form input:focus { border-color: var(--blue); outline: none; }

.track-steps { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; }
.track-steps h3 { margin-top: 0; }
.track-step { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.track-step:last-child { border-bottom: none; }
.ts-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); flex-shrink: 0; margin-top: 4px; }
.track-step strong { color: var(--ink); display: block; margin-bottom: 2px; }
.track-step p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.job-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px 24px; margin-bottom: 14px; transition: all 0.25s; }
.job-card:hover { border-color: var(--blue); box-shadow: 0 4px 14px rgba(8,12,24,0.1); }
.job-card h4 { margin: 0 0 4px; color: var(--ink); font-size: 16px; }
.job-card .job-meta { color: var(--ink-soft); font-size: 12px; margin: 0 0 8px; }
.job-card p { color: var(--ink-soft); line-height: 1.6; margin-bottom: 12px; }

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .info-page { padding: 24px 18px; }
}

.breadcrumb {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--blue); font-weight: 600; transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.7; }

/* ---------- 4. HEADER ---------- */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 500;
  height: var(--nav-h);
  max-width: calc(100% - 48px);
  margin: 0 auto;
  background: var(--navy-gradient);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50px;
  box-shadow: 0 6px 32px rgba(8,12,24,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.3s, background 0.4s ease, border-color 0.4s ease;
  animation: headerSlideIn 0.6s var(--ease-bounce) both;
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(105deg,
    transparent 30%,
    rgba(30,42,74,0.04) 35%,
    rgba(255,255,255,0.03) 37%,
    transparent 40%,
    transparent 60%,
    rgba(30,42,74,0.03) 65%,
    rgba(255,255,255,0.02) 67%,
    transparent 72%
  );
  background-size: 300% 100%;
  animation: liquidFlow 4s ease-in-out infinite;
  border-radius: inherit;
}

@keyframes liquidFlow {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

@keyframes headerSlideIn {
  0% { opacity: 0; transform: translateY(-20px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.site-header.header-scrolled {
  box-shadow: 0 8px 40px rgba(8,12,24,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  background: rgba(8,12,24,0.55);
}

body[data-page="shop"] .site-header {
  transition: transform 0.2s var(--ease-smooth), box-shadow 0.15s, background 0.15s;
}
body[data-page="shop"] .site-header.nav-hide {
  transform: translateY(-120%);
}

/* ---------- LIGHT NAV (on white sections) ---------- */
.site-header.nav-light { background: rgba(255,255,255,0.25); border-color: rgba(0,0,0,0.06); }
.site-header.nav-light.header-scrolled { background: rgba(255,255,255,0.5); }
.site-header.nav-light .logo .yours { color: var(--ink); }
.site-header.nav-light .logo .mart { color: rgba(0,0,0,0.4); }
.site-header.nav-light .main-nav a { color: rgba(0,0,0,0.75); }
.site-header.nav-light .main-nav a:hover { color: #ffffff; background: var(--ink); }
.site-header.nav-light .main-nav a.active { color: var(--white); background: var(--ink); }
.site-header.nav-light .icon-btn { background: rgba(0,0,0,0.08); color: var(--ink); }
.site-header.nav-light .icon-btn:hover { background: var(--ink); color: #ffffff; }
.site-header.nav-light .icon-btn.nav-profile { background: var(--ink); color: white; }
.site-header.nav-light .search-box { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.1); }
.site-header.nav-light .search-box:focus-within { background: rgba(0,0,0,0.1); border-color: var(--ink); }
.site-header.nav-light .search-box input { color: var(--ink); }
.site-header.nav-light .search-box input::placeholder { color: rgba(0,0,0,0.4); }
.site-header.nav-light .search-box svg { color: var(--ink); }
.site-header.nav-light .mobile-menu-btn { color: var(--ink); }
.site-header.nav-light .cart-badge { border-color: var(--white); }
.site-header.nav-light .wishlist-badge { border-color: var(--white); }

.site-header .wrap {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 10px 0 22px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  flex-shrink: 0;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.logo .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  display: grid;
  place-items: center;
  color: white;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(30,42,74,0.35);
}
.logo .yours { color: #ffffff; }
.logo .mart { color: rgba(255,255,255,0.5); font-weight: 600; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  font-weight: 600;
  font-size: 13px;
  color: #ffffff;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  position: relative;
}
.main-nav a:hover { color: var(--ink); background: #ffffff; }
.main-nav a.active { color: var(--navy1); background: #ffffff; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.icon-btn {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  color: #ffffff;
  font-size: 15px;
  transition: all 0.25s;
  box-shadow: 0 4px 12px rgba(30,42,74,0.35);
}
.icon-btn:hover {
  background: #ffffff;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30,42,74,0.45);
}
.icon-btn:active {
  background: #ffffff;
  color: var(--ink);
  transform: translateY(0) scale(0.92);
  box-shadow: 0 2px 8px rgba(30,42,74,0.3);
}
.icon-btn.nav-profile {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.cart-badge, .wishlist-badge {
  position: absolute;
  top: -4px; right: -4px;
  color: white;
  font-size: 9px;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  padding: 0 3px;
  border: 2px solid var(--navy2);
  box-shadow: 0 4px 10px rgba(30,42,74,0.5);
}
.cart-badge { background: var(--blue); box-shadow: 0 4px 12px rgba(30,42,74,0.6); }
.wishlist-badge { background: var(--danger); box-shadow: 0 4px 10px rgba(220,38,38,0.5); }

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.28);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  flex: 1;
  max-width: 320px;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
}
.search-box:focus-within {
  background: rgba(255,255,255,0.95) !important;
  border-color: rgba(255,255,255,0.6) !important;
  max-width: 360px;
  box-shadow: 0 0 20px rgba(255,255,255,0.4), 0 4px 24px rgba(255,255,255,0.2), inset 0 1px 0 rgba(255,255,255,0.8);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
}
.search-box:focus-within input {
  color: #0a1628 !important;
}
.search-box:focus-within input::placeholder {
  color: rgba(10,22,40,0.5) !important;
}
.search-box:focus-within svg {
  color: #0a1628 !important;
}
.search-box input {
  border: none;
  background: none;
  outline: none;
  font-size: 13px;
  width: 100%;
  color: #ffffff;
}
.search-box input::placeholder { color: rgba(255,255,255,0.65); }
.search-box svg { flex-shrink: 0; color: #ffffff; }

.mobile-menu-btn {
  display: none !important;
  font-size: 22px;
  color: #ffffff;
}

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-smooth);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: white;
  box-shadow: 0 4px 16px rgba(30,42,74,0.3);
}
.btn-primary:hover {
  background: #ffffff;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.btn-primary:active {
  background: var(--white);
  color: var(--ink);
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 8px rgba(30,42,74,0.15);
}

.btn-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30,42,74,0.35), 0 4px 16px rgba(30,42,74,0.3); }
  50% { box-shadow: 0 0 0 10px rgba(30,42,74,0), 0 4px 16px rgba(30,42,74,0.3); }
}
@keyframes pulseScale { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
  transform: translateY(-2px);
}
.btn-ghost:active {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
  transform: translateY(0) scale(0.97);
}

.btn-outline {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { background: #ffffff; color: var(--ink); border-color: var(--line); transform: translateY(-2px); }
.btn-outline:active { background: var(--blue); color: var(--white); transform: translateY(0) scale(0.97); }

.btn-dark {
  background: var(--ink);
  color: white;
}
.btn-dark:hover { background: #ffffff; color: var(--ink); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.btn-dark:active { background: var(--white); color: var(--ink); transform: translateY(0) scale(0.97); box-shadow: 0 2px 8px rgba(30,42,74,0.15); }

.btn-amber {
  background: linear-gradient(135deg, var(--amber), #D97706);
  color: white;
  box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}
.btn-amber:hover { background: #ffffff; color: var(--amber); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.08); }
.btn-amber:active { background: var(--white); color: var(--amber); transform: translateY(0) scale(0.97); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 18px; font-size: 12px; }
.btn-lg { padding: 14px 34px; font-size: 16px; }

.btn-cart {
  background: var(--ink);
  color: white;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: all 0.25s;
  min-height: 34px;
  margin-top: auto;
}
.btn-cart:hover { background: #2a3a66; color: #fff; box-shadow: 0 4px 12px rgba(30,42,74,0.28); }
.btn-cart:active { background: #1a2744; color: #fff; transform: scale(0.97); }
.btn-cart.added { background: var(--green); }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0;
  margin: 38px 24px 0;
  border-radius: var(--radius-xl);
  background: var(--navy-gradient);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 25% 35%, rgba(30,42,74,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 25%, rgba(30,42,74,0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 80%, rgba(30,42,74,0.06) 0%, transparent 40%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-content { position: relative; z-index: 2; padding: 20px 0; }

.hero h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  line-height: 1.05;
  margin: 16px 0 16px;
  color: #ffffff;
  letter-spacing: -0.03em;
}
.hero h1 .accent {
  color: #ffffff;
}

.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-cta { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 36px;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.hero-stats div span { font-size: 12px; color: rgba(255,255,255,0.5); }

.hero-3d-stage {
  position: relative;
  z-index: 2;
  height: 420px;
  display: grid;
  place-items: center;
}

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 320px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(8,12,24,0.4);
  background: var(--navy-gradient);
  display: grid;
  place-items: center;
}
.hero-slider .placeholder-text {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.15);
  font-size: 14px;
  font-weight: 600;
}
.slider-brand {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-slider .hero-track {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  z-index: 1;
}
.hero-slider img {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  cursor: pointer;
}
.hero-slider img.active { opacity: 1; }
.hero-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-slider-dots button.active {
  background: #ffffff;
  width: 22px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(255,255,255,0.6);
}
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8,12,24,0.1) 0%, transparent 50%, rgba(8,12,24,0.2) 100%);
}
.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(8,12,24,0.35);
  mix-blend-mode: multiply;
}

.floating-chip {
  position: absolute;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 24px rgba(8,12,24,0.12);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: floaty 3s ease-in-out infinite;
  z-index: 3;
}
.floating-chip.chip-1 { top: 6%; left: -2%; animation-delay: -1s; }
.floating-chip.chip-2 { bottom: 12%; right: -4%; animation-delay: -2.5s; }
.floating-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ---------- 7. PRODUCT CARDS ---------- */
.featured-section,
.section-with-sidebars {
  position: relative;
}
.featured-sidebar {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42px;
  z-index: 2;
}
.featured-sidebar-left { left: 20px; }
.featured-sidebar-right { right: 20px; }
.ny-brand-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #0C1428, #1E2A4A);
  border-radius: 10px;
  padding: 12px 2px;
  position: relative;
  overflow: hidden;
}
.ny-brand-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.ny-brand-icon {
  display: none;
}
.ny-brand-text {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  line-height: 1.1;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  letter-spacing: 2px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 160px;
  gap: 16px;
  min-height: 200px;
  align-items: start;
}

.product-card {
  display: flex;
  gap: 8px;
  background: var(--card-bg);
  border: 1.5px solid #d0d5e0;
  border-radius: var(--radius-md);
  padding: 4px 6px;
  position: relative;
  transition: all 0.35s var(--ease-smooth);
  box-shadow: 0 6px 20px rgba(8,12,24,0.18), 0 2px 6px rgba(8,12,24,0.08);
  opacity: 0;
  animation: cardFadeUp 0.5s var(--ease-bounce) forwards;
  animation-delay: calc(var(--d, 0s) + 0.05s);
  cursor: pointer;
  content-visibility: auto;
  contain-intrinsic-size: auto 160px;
  height: 160px;
  min-height: 160px;
  max-height: 160px;
  overflow: hidden;
}

.product-img-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 170px;
  min-width: 170px;
  flex-shrink: 0;
  position: relative;
}

.product-card:hover {
  border-color: var(--blue, #1E2A4A);
  border-width: 2px;
  box-shadow: 0 12px 36px -4px rgba(8,12,24,0.35), 0 4px 10px rgba(8,12,24,0.15);
  transform: translateY(-4px);
}

.product-card:active {
  border-color: #0d0d1a;
  border-width: 1.5px;
  box-shadow: 0 4px 12px rgba(8,12,24,0.3), inset 0 0 0 2px rgba(8,12,24,0.08);
  transform: translateY(-2px) scale(0.99);
}

/* Featured products — slightly smaller boxes */
.js-featured-grid { grid-auto-rows: 160px; }
.js-featured-grid .product-card { height: 160px; min-height: 160px; max-height: 160px; }
.js-featured-grid .product-img-col { width: 145px; min-width: 145px; }
.js-featured-grid .product-img { width: 140px; min-width: 140px; height: 110px; }
.js-featured-grid .product-name { font-size: 14.5px; }
.js-featured-grid .price-now { font-size: 17px; }

.product-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
  background: linear-gradient(135deg, rgba(30,42,74,0.08), transparent 60%);
  pointer-events: none;
}
.product-card:hover::before { opacity: 1; }

.product-card .badge {
  position: absolute;
  top: 4px; left: 4px;
  color: white;
  font-size: 7px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  z-index: 3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.product-card .badge.new { background: var(--blue); }
.product-card .badge.sale { background: var(--amber); }

.product-card .wish-btn {
  position: absolute;
  top: 4px; right: 4px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #1a1a2e;
  backdrop-filter: blur(4px);
  border: 1.5px solid #fff;
  display: grid;
  place-items: center;
  z-index: 3;
  font-size: 16px;
  transition: all 0.25s var(--ease-bounce);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.product-card .wish-btn:hover { background: white; color: var(--danger); transform: scale(1.15); }
.product-card .wish-btn.active { color: var(--danger); background: #FEF2F2; }

/* --- Quick View Eye Icon --- */
.product-card .quickview-btn {
  position: absolute;
  top: 42px; right: 4px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #1a1a2e;
  backdrop-filter: blur(4px);
  border: 1.5px solid #fff;
  display: grid;
  place-items: center;
  z-index: 3;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s var(--ease-bounce);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  opacity: 0;
  pointer-events: none;
}
.product-card:hover .quickview-btn { opacity: 1; pointer-events: auto; }
.product-card .quickview-btn:hover { background: var(--blue); transform: scale(1.15); }

/* --- Quick View Overlay --- */
.qv-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.qv-overlay.active { opacity: 1; visibility: visible; }

.qv-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 620px; width: 92%;
  max-height: 85vh; overflow-y: auto;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.4, 1);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.qv-overlay.active .qv-modal { transform: scale(1) translateY(0); }

.qv-close {
  position: absolute; top: 12px; right: 14px;
  background: rgba(0,0,0,0.06); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 20px; cursor: pointer; color: #555;
  display: grid; place-items: center; z-index: 2;
  transition: background 0.2s;
}
.qv-close:hover { background: rgba(0,0,0,0.12); }

.qv-body { display: flex; gap: 20px; padding: 24px; }

.qv-image {
  flex: 1; min-height: 200px; max-height: 280px;
  display: grid; place-items: center;
  background: var(--bg-soft, #f5f6fa);
  border-radius: 12px; overflow: hidden;
}
.qv-image img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.qv-image svg { width: 80%; height: 80%; }

.qv-info { flex: 1.2; display: flex; flex-direction: column; gap: 6px; }
.qv-info h3 { font-size: 18px; font-weight: 700; color: #1a1a2e; margin: 0; }
.qv-info .stars { font-size: 13px; color: #f59e0b; }
.qv-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.qv-price-now { font-size: 22px; font-weight: 800; color: #1a1a2e; }
.qv-price-old { font-size: 14px; color: #999; text-decoration: line-through; }
.qv-price-off { font-size: 12px; font-weight: 700; color: #16a34a; background: #dcfce7; padding: 2px 8px; border-radius: 100px; }
.qv-desc { font-size: 13px; color: #666; line-height: 1.5; margin: 6px 0 0; }
.qv-stock { font-size: 12px; color: #888; margin-top: 4px; }
.qv-stock strong { color: #16a34a; }

.qv-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.qv-actions .btn-cart {
  flex: 1; min-width: 120px; padding: 12px 20px;
  background: #1E2A4A; color: #fff; border: none;
  border-radius: 10px; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: all 0.25s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.qv-actions .btn-cart:hover { background: #162040; transform: translateY(-1px); }
.qv-actions .btn-cart.added { background: #16a34a; }

.qv-detail-btn {
  flex: 1; min-width: 120px; padding: 12px 20px;
  background: transparent; color: #1E2A4A;
  border: 2px solid #1E2A4A; border-radius: 10px;
  font-weight: 700; font-size: 14px; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: all 0.25s; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.qv-detail-btn:hover { background: #1E2A4A; color: #fff; }

.product-img {
  width: 165px;
  min-width: 165px;
  height: 130px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-smooth);
  position: relative;
  align-self: center;
}
.product-img svg, .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-stock {
  position: absolute;
  bottom: 2px; right: 2px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: var(--radius-full);
  line-height: 1;
}
.img-new {
  position: absolute;
  top: 2px; left: 2px;
  background: var(--blue);
  color: #fff;
  font-size: 7px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  line-height: 1;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.free-delivery-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 5;
  background: #16a34a;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 2px 6px;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(22,163,74,0.35);
  text-transform: uppercase;
  line-height: 1.2;
  pointer-events: none;
}
.img-discount-tag {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 5;
  background: #e11d48;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 2px 6px;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(225,29,72,0.4);
  text-transform: uppercase;
  line-height: 1.2;
  pointer-events: none;
  max-width: calc(100% - 8px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-card:hover .product-img svg,
.product-card:hover .product-img img { transform: scale(1.08); }

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  padding: 2px 4px 2px 2px;
}

.product-img-col .product-cat {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: #fff;
  background: #1E2A4A;
  padding: 1px 8px;
  border-radius: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.3;
  z-index: 1;
}

.product-name {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  font-family: var(--font-display);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.stars {
  color: var(--amber);
  font-size: 13px;
  min-height: 0;
}
.stars span { color: var(--ink-soft); font-weight: 500; margin-left: 2px; font-size: 10px; }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 2px 0 0;
}
.price-now { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); }
.price-old { font-size: 10px; color: var(--ink-soft); text-decoration: line-through; }
.price-off { font-size: 7px; color: var(--green); font-weight: 700; background: rgba(16,185,129,0.08); padding: 1px 4px; border-radius: var(--radius-full); }
.card-stock { font-size: 9px; color: var(--ink-soft); margin-top: 1px; letter-spacing: 0.3px }

.card-desc {
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.35;
  margin: 2px 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@keyframes cardFadeUp {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- 8. CATEGORY SECTION ---------- */
.cat-section {
  padding: 36px 0 40px;
  margin: 0;
}
.cat-section .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 0;
}

@keyframes catPop {
  0% { opacity: 0; transform: scale(0.5) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  width: auto;
  opacity: 0;
  animation: catPop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.cat-card:nth-child(1) { animation-delay: 0.03s; }
.cat-card:nth-child(2) { animation-delay: 0.07s; }
.cat-card:nth-child(3) { animation-delay: 0.11s; }
.cat-card:nth-child(4) { animation-delay: 0.15s; }
.cat-card:nth-child(5) { animation-delay: 0.19s; }
.cat-card:nth-child(6) { animation-delay: 0.23s; }
.cat-card:nth-child(7) { animation-delay: 0.27s; }
.cat-card:nth-child(8) { animation-delay: 0.31s; }
.cat-card:nth-child(9) { animation-delay: 0.35s; }
.cat-card:nth-child(10) { animation-delay: 0.39s; }
.cat-card:nth-child(n+11) { animation-delay: 0.43s; }

.cat-card-circle {
  width: clamp(76px, 18vw, 110px);
  height: clamp(76px, 18vw, 110px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: clamp(24px, 5vw, 36px);
  background: #fff;
  border: 2.5px solid #1a1a2e;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
}
.cat-card:hover .cat-card-circle {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: #1a1a2e;
}

.cat-card-label {
  text-align: center;
  max-width: clamp(76px, 18vw, 110px);
}
.cat-card-label span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(10px, 2.2vw, 13px);
  color: #1a1a2e;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-card-label small {
  display: block;
  font-size: clamp(8px, 1.6vw, 11px);
  color: #6b7280;
  font-weight: 500;
  margin-top: 2px;
}

/* Loading state */
.cat-grid.loading {
  position: relative;
}
.cat-grid.loading::after {
  content: 'Loading...';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #999;
  font-size: 14px;
}

/* ---------- 9. SALE BANNER ---------- */
.sale-banner {
  position: relative;
  margin: 20px 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(140deg, #080C18 0%, #0F1E36 50%, #060A14 100%);
  padding: 60px 50px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}
.sale-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 60%);
}
.sale-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0.03) 42%, transparent 44%);
  background-size: 200% 100%;
  animation: shimmer 5s ease-in-out infinite;
  border-radius: var(--radius-lg);
}

.sale-banner .sale-tag {
  color: white;
  position: relative;
  z-index: 2;
}
.sale-banner .sale-tag .eyebrow {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #ffffff;
}

.sale-percent {
  font-family: var(--font-display);
  font-size: clamp(50px, 8vw, 100px);
  font-weight: 800;
  color: #ffffff;
  line-height: 0.9;
  margin: 10px 0;
  text-shadow: 0 20px 40px rgba(0,0,0,.25);
  animation: pulseScale 2.4s ease-in-out infinite;
}
.sale-percent span { font-size: 0.45em; vertical-align: super; }

.sale-banner h2 { color: white; font-size: clamp(20px, 3vw, 28px); margin-bottom: 10px; }
.sale-banner p { color: rgba(255,255,255,.8); max-width: 420px; margin-bottom: 22px; }

.sale-timer {
  display: flex;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.sale-timer .t-box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
  min-width: 70px;
  backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: color-mix(in srgb, var(--theme-accent, #ff6b6b) 15%, transparent);
  border-color: color-mix(in srgb, var(--theme-accent, #ff6b6b) 30%, transparent);
}
.sale-timer .t-box strong { display: block; font-family: var(--font-display); font-size: 26px; color: white; }
.sale-timer .t-box span { font-size: 11px; color: rgba(255,255,255,.7); text-transform: uppercase; }

/* ---------- 10. FORMS & AUTH ---------- */
.auth-wrap {
  min-height: calc(100vh - var(--nav-h) - 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-visual {
  background: var(--navy-gradient);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  color: white;
  overflow: hidden;
}
.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(30,42,74,0.1) 0%, transparent 55%);
}
.auth-visual h2 { color: white; font-size: 32px; margin-bottom: 12px; }
.auth-visual p { color: rgba(255,255,255,0.7); max-width: 380px; margin-bottom: 30px; position: relative; z-index: 2; font-size: 15px; }

.auth-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 600;
  position: relative;
  z-index: 2;
  font-size: 14px;
}
.auth-perk .ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 16px;
}

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  background: var(--bg);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.auth-card .logo { margin-bottom: 20px; color: var(--ink); }
.auth-card .logo .yours { color: var(--ink); }
.auth-card .logo .mart { color: var(--ink); opacity: 0.5; }
.auth-card h1 { font-size: 28px; margin-bottom: 4px; }
.auth-card .sub-text { color: var(--ink-soft); margin-bottom: 28px; font-size: 14px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.input-wrap { position: relative; }
.input-wrap .ic {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 15px;
}
.form-group input, .form-group select {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 14px;
  background: var(--bg);
  transition: all 0.25s;
  color: var(--ink);
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(30,42,74,0.08);
  outline: none;
}
.toggle-pass {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
}

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.form-row-3 .form-group { margin-bottom: 12px; }
.form-row-3 .input-wrap .ic { font-size: 13px; }

.form-aux {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: 13px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--bg);
}
.checkbox-row { display: flex; align-items: center; gap: 8px; }
.checkbox-row a { color: var(--blue); font-weight: 600; }
.form-aux a { color: var(--blue); font-weight: 600; }

.form-aux-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
}
.form-aux-row > * {
  flex: 1;
  text-align: center;
  padding: 4px 8px;
}
.form-aux-divider {
  flex: 0 0 1px !important;
  width: 1px;
  height: 20px;
  background: var(--line);
  padding: 0 !important;
}

@keyframes fadeSlideIn {
  0% { opacity: 0; transform: translateY(-4px); }
  100% { opacity: 1; transform: translateY(0); }
}

.phone-input-row { display: flex; gap: 10px; }
.phone-input-row select {
  flex: 0 0 120px;
  padding: 12px 10px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  background: var(--bg);
  color: var(--ink);
}
.phone-input-row select:focus { border-color: var(--blue); outline: none; }

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--ink-soft);
  font-size: 13px;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.social-row { display: flex; gap: 12px; margin-bottom: 24px; }
.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 13px;
  transition: all 0.25s;
  background: var(--white);
  color: var(--ink);
}
.social-btn:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow-sm); }

.switch-text { text-align: center; font-size: 14px; color: var(--ink-soft); }
.switch-text a { color: var(--blue); font-weight: 700; }

.field-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px;
  display: none;
}
.form-group.error input { border-color: var(--danger); background: #FEF2F2; }
.form-group.error .field-error { display: block; }

/* ---------- 11. PROFILE ---------- */
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.profile-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.avatar-wrap { position: relative; width: 84px; margin: 0 auto 14px; }
.avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  display: grid;
  place-items: center;
  color: white;
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-display);
  box-shadow: 0 8px 24px rgba(30,42,74,0.3);
}
.avatar-edit {
  position: absolute;
  bottom: 0; right: 0;
  width: 28px; height: 28px;
  background: var(--blue);
  border: 3px solid white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 11px;
  cursor: pointer;
  transition: transform 0.2s;
}
.avatar-edit:hover { transform: scale(1.1); }
.profile-card h3 { font-size: 17px; margin-bottom: 2px; }
.profile-card .uemail { color: var(--ink-soft); font-size: 13px; margin-bottom: 18px; }

.profile-nav { margin-top: 10px; text-align: left; }
.profile-nav button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 4px;
  transition: all 0.2s;
  color: var(--ink);
}
.profile-nav button:hover { background: var(--bg-soft); }
.profile-nav button.active { background: var(--blue); color: white; }
.profile-nav button.logout { color: var(--danger); margin-top: 14px; }
.profile-nav button.logout:hover { background: #FEF2F2; }

.profile-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  min-height: 420px;
}
.profile-tab { display: none; }
.profile-tab.active { display: block; animation: fadeUp 0.35s ease; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
}
.stat-box strong { display: block; font-family: var(--font-display); font-size: 24px; color: var(--blue); }
.stat-box span { font-size: 12px; color: var(--ink-soft); }

.order-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  transition: all 0.25s;
  background: var(--white);
}
.order-row:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.oi-images { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.order-row .oi-img { width: 48px; height: 48px; object-fit: contain; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 6px; }
.order-info { flex: 1; }
.order-info strong { font-size: 14px; display: block; }
.order-info span { font-size: 12px; color: var(--ink-soft); }
.order-status {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.order-status.delivered { background: #D1FAE5; color: var(--green); }
.order-status.transit { background: rgba(30,42,74,0.08); color: var(--blue); }
.order-status.cancelled { background: #FEE2E2; color: var(--danger); }

.profile-tab-bar { display: none; }
.profile-sidebar-overlay { display: none; }

.profile-layout.sidebar-open .profile-card .avatar-wrap { width: 64px; }
.profile-layout.sidebar-open .profile-card .avatar { width: 64px; height: 64px; font-size: 22px; }
.profile-layout.sidebar-open .profile-card h3 { font-size: 15px; }
.profile-layout.sidebar-open .profile-card .uemail { font-size: 12px; }
.profile-layout.sidebar-open .profile-card .js-profile-phone { font-size: 12px; margin-bottom: 8px; }
.profile-layout.sidebar-open .profile-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.profile-layout.sidebar-open .profile-nav button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-size: 13px; }
.profile-layout.sidebar-open .profile-nav button.logout { margin-top: 14px; color: var(--danger); }

/* ---------- 12. CART ---------- */
.cart-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cart-strip-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px;
}
.cart-strip-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.cart-strip-count {
  font-size: 12px;
  font-weight: 700;
  background: var(--blue);
  color: var(--white);
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.cart-items {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: 0 6px 20px rgba(30,42,74,0.18), 0 2px 6px rgba(30,42,74,0.08);
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
}
.cart-items::-webkit-scrollbar { height: 6px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 99px; }

.cart-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  min-width: 220px;
  max-width: 260px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.2s;
  position: relative;
  background: var(--white);
  scroll-snap-align: start;
}
.cart-item:hover {
  border-color: rgba(30,42,74,0.2);
  box-shadow: 0 4px 16px rgba(30,42,74,0.12);
  transform: translateY(-2px);
}
.cart-item .ci-img {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--bg-soft), var(--white));
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  padding: 8px;
  border: 2px solid var(--line);
  flex-shrink: 0;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cart-item:hover .ci-img {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(30,42,74,0.15);
}
.cart-item .ci-img svg { width: 48px; height: 48px; }
.cart-item .ci-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item .ci-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; text-align: center; width: 100%; }
.cart-item .ci-name { font-weight: 700; font-size: 15px; line-height: 1.3; font-family: var(--font-display); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--ink); }
.cart-item .ci-meta { font-size: 11px; color: var(--ink-soft); white-space: nowrap; }
.cart-item .ci-cat { font-size: 10px; color: var(--ink-soft); }
.cart-item .ci-qty { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }

.ci-discount-badge {
  display: inline-block;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.ci-discount-old {
  font-size: 11px;
  color: var(--ink-soft);
  text-decoration: line-through;
}

.ci-old {
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: line-through;
  font-weight: 400;
}

.ci-ship-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 3px 9px;
}
.ci-ship-badge.free {
  color: #16a34a;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.ci-disc-tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  border-radius: var(--radius-full);
  padding: 2px 8px;
  vertical-align: 2px;
}

.ci-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-top: 4px;
  border-top: 1px dashed var(--line);
  width: 100%;
}
.ci-price-unit {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
}
.cart-item .ci-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  font-family: var(--font-display);
  white-space: nowrap;
  flex-shrink: 0;
}
.cart-item .ci-remove {
  position: absolute;
  top: 8px; right: 8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(220,38,38,0.08);
  color: var(--danger);
  font-size: 13px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s;
  flex-shrink: 0;
  z-index: 2;
}
.cart-item .ci-remove:hover { background: var(--danger); color: white; transform: scale(1.15); }

.cart-item {
  animation: cartSlideIn 0.4s ease-out both;
}
@keyframes cartSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.cart-item:nth-child(1) { animation-delay: 0s; }
.cart-item:nth-child(2) { animation-delay: 0.06s; }
.cart-item:nth-child(3) { animation-delay: 0.12s; }
.cart-item:nth-child(4) { animation-delay: 0.18s; }
.cart-item:nth-child(5) { animation-delay: 0.24s; }
.cart-item:nth-child(6) { animation-delay: 0.30s; }
.cart-item:nth-child(7) { animation-delay: 0.36s; }
.cart-item:nth-child(8) { animation-delay: 0.42s; }
.cart-item:nth-child(n+9) { animation-delay: 0.44s; }

.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--bg);
}
.qty-control button {
  width: 30px; height: 30px;
  font-weight: 700;
  font-size: 15px;
  background: transparent;
  transition: all 0.2s;
  color: var(--ink);
}
.qty-control button:hover { background: rgba(30,42,74,0.08); color: var(--blue); }
.qty-control span { width: 34px; text-align: center; font-weight: 700; font-size: 14px; }

.ci-price {
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 18px;
  white-space: nowrap;
}
.ci-unitprice {
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
  text-align: center;
}

.ci-remove {
  position: absolute;
  top: 8px; right: 8px;
  color: var(--danger);
  font-size: 14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.25s;
  background: rgba(220,38,38,0.08);
}
.ci-remove:hover { background: var(--danger); color: white; transform: scale(1.1); }

.bdetail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.bdetail-row:last-child { border-bottom: none; }
.bdetail-row label { font-weight: 600; color: var(--ink-soft); min-width: 100px; }
.bdetail-val { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-end; }
.bdetail-val span { font-weight: 600; font-size: 13px; word-break: break-all; }
.btn-copy {
  font-size: 12px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--bg);
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-copy:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

.order-row-actions {
  padding: 8px 16px 12px 56px;
  display: flex;
  gap: 10px;
}
.order-action {
  font-size: 12px;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
  background: var(--white);
}
.order-action.btn-refund { color: var(--amber); border-color: var(--amber); }
.order-action.btn-refund:hover { background: var(--amber); color: var(--white); }
.order-action.btn-cancel { color: var(--danger); border-color: var(--danger); }
.order-action.btn-cancel:hover { background: var(--danger); color: var(--white); }
.order-action.disabled-action { opacity: 0.5; cursor: default; border-color: var(--line); }

.empty-cart { text-align: center; padding: 80px 20px; }
.empty-cart .ec-icon { font-size: 52px; margin-bottom: 20px; display: block; }
.empty-cart h3 { font-size: 22px; margin-bottom: 8px; }
.empty-cart p { color: var(--ink-soft); margin-bottom: 24px; }

.cart-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 6px 20px rgba(30,42,74,0.2), 0 2px 6px rgba(30,42,74,0.08);
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}
.cart-summary h3 { font-size: 18px; margin-bottom: 22px; font-family: var(--font-display); }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; color: var(--ink-soft); }
.summary-row.discount { color: var(--green); }
.summary-row strong { color: var(--ink); }
.summary-total {
  display: flex; justify-content: space-between;
  font-size: 20px; font-weight: 800;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-bottom: 24px;
  font-family: var(--font-display);
}
.summary-total strong:last-child { color: var(--blue); }
.promo-row { display: flex; gap: 10px; margin-bottom: 20px; }
.promo-row input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 13px;
  background: var(--bg);
  transition: border-color 0.25s;
}
.promo-row input:focus { border-color: var(--blue); outline: none; }
.promo-row .btn { padding: 10px 20px; font-size: 12px; }

/* ---------- 13. CHECKOUT ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: start;
}
.checkout-left { display: flex; flex-direction: column; gap: 22px; }
.checkout-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.checkout-block h3 { font-size: 16px; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.checkout-block h3 .step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
}

.checkout-block input[readonly] {
  background: var(--bg) !important;
  opacity: 0.7;
  cursor: default;
}
.saved-addr-selector select {
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 14px;
  background: var(--white);
  color: var(--ink);
}

.pay-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.25s;
}
.pay-option:hover { border-color: var(--blue); }
.pay-option input[type="radio"] { margin-top: 3px; accent-color: var(--blue); width: 17px; height: 17px; flex-shrink: 0; }
.pay-option:has(input:checked) { border-color: var(--blue); background: rgba(30,42,74,0.03); }
.pay-option-body strong { display: block; font-size: 14px; margin-bottom: 3px; }
.pay-option-body span { font-size: 12px; color: var(--ink-soft); }

.checkout-right { position: sticky; top: calc(var(--nav-h) + 40px); }
.checkout-items-list { margin-bottom: 18px; max-height: 260px; overflow-y: auto; }
.checkout-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.checkout-item:last-child { border-bottom: none; }
.checkout-item .ci-img { background: var(--bg-soft); border-radius: var(--radius-sm); display: grid; place-items: center; padding: 6px; flex-shrink: 0; }
.checkout-item .ci-img svg { width: 32px; height: 32px; }
.checkout-item .ci-name { font-weight: 700; font-size: 13px; }
.checkout-item .ci-cat { font-size: 11px; color: var(--ink-soft); }
.checkout-item .ci-price { font-weight: 700; font-size: 13px; white-space: nowrap; }

.checkout-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--ink-soft);
  justify-content: flex-start;
  align-items: center;
}

/* ---------- 14. REFUND ---------- */
.refund-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.policy-list { display: flex; flex-direction: column; gap: 16px; }
.policy-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.25s;
}
.policy-item:hover { transform: translateX(4px); border-color: rgba(30,42,74,0.15); }
.policy-item .pi-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--blue);
  flex-shrink: 0;
}
.policy-item h4 { font-size: 14px; margin-bottom: 4px; }
.policy-item p { font-size: 13px; color: var(--ink-soft); }

.refund-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.status-tracker {
  display: flex;
  justify-content: space-between;
  margin: 30px 0 10px;
  position: relative;
}
.status-tracker::before {
  content: "";
  position: absolute;
  top: 16px; left: 0; right: 0;
  height: 3px;
  background: var(--line);
  z-index: 0;
}
.status-step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
}
.status-step .ss-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--line);
  color: white;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.3s;
}
.status-step.done .ss-dot { background: var(--blue); transform: scale(1.1); box-shadow: 0 4px 12px rgba(30,42,74,0.3); }
.status-step span { font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.status-step.done span { color: var(--ink); }

/* ---------- 15. ALL PRODUCTS + FILTERS ---------- */
.shop-section {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  padding-top: 12px;
  align-items: start;
}

.filters-card {
  width: 240px;
  background: linear-gradient(160deg, #0C1428 0%, #080C18 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: 0 8px 32px rgba(8,12,24,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.filters-card h3 {
  font-size: 14px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
}
.filters-card::-webkit-scrollbar { width: 4px; }
.filters-card::-webkit-scrollbar-track { background: transparent; }
.filters-card::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
.filter-group { margin-bottom: 20px; }
.filter-group:first-child {
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.filter-group h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
  font-weight: 700;
}
.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s var(--ease-smooth);
  border-radius: 100px;
  margin-bottom: 3px;
  color: rgba(255,255,255,0.8);
  border: 1px solid transparent;
}
.filter-option:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--white);
}
.filter-option.active {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: var(--white);
}
.filters-card .filter-group:first-child .filter-option:first-of-type {
  border: 1.5px solid rgba(255,255,255,0.55);
  background: rgba(30,42,74,0.35);
  color: var(--white);
  box-shadow: 0 0 14px rgba(30,42,74,0.35);
  margin-bottom: 8px;
}
.filters-card .filter-group:first-child .filter-option:first-of-type.active {
  border-color: rgba(255,255,255,0.85);
  background: rgba(30,42,74,0.55);
  box-shadow: 0 0 20px rgba(30,42,74,0.5), 0 0 0 1px rgba(255,255,255,0.2);
}
.filter-option .count {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  font-size: 10px;
  background: rgba(255,255,255,0.1);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  min-width: 20px;
  text-align: center;
}
.filter-option input { accent-color: var(--blue); width: 14px; height: 14px; }

.price-slider { padding: 4px 0; }
.price-range-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 32px;
  flex-shrink: 0;
}
.price-range-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.price-range-row:last-child { margin-bottom: 0; }
.price-range-row input[type="range"] {
  flex: 1;
  min-width: 0;
  height: 6px;
  accent-color: #3b82f6;
  cursor: pointer;
}
.price-range-row input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
}
.price-range-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  border: 2px solid #3b82f6;
  margin-top: -6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.price-range-row input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
  border: none;
}
.price-range-row input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  border: 2px solid #3b82f6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.price-range-display {
  font-size: 12px;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 48px;
  text-align: right;
}

.shop-content {
  flex: 1;
  min-width: 0;
  padding: 8px 32px 60px;
}

.shop-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 12px;
  z-index: 100;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-full);
  padding: 14px 22px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
  transition: all 0.3s var(--ease-smooth);
  max-width: 100%;
}
.shop-search-bar svg { flex-shrink: 0; color: var(--ink); }
.shop-search-bar input {
  border: none;
  background: none;
  outline: none;
  font-size: 15px;
  width: 100%;
  color: var(--ink);
  font-weight: 700;
}
.shop-search-bar input::placeholder { color: var(--ink-soft); font-weight: 500; }
.shop-search-clear {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: none;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 13px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
  padding: 0;
}
.shop-search-clear:hover { background: var(--line); color: var(--ink); }
.shop-search-clear.visible { display: flex; }
.shop-search-suggestions {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 420px;
  overflow-y: auto;
  display: none;
  z-index: 99;
}
.shop-search-suggestions.open { display: block; }
.shop-search-suggestions .ss-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.shop-search-suggestions .ss-item:last-child { border-bottom: none; }
.shop-search-suggestions .ss-item:hover,
.shop-search-suggestions .ss-item.selected { background: var(--bg); }
.shop-search-suggestions .ss-item .ss-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.shop-search-suggestions .ss-item .ss-icon img,
.shop-search-suggestions .ss-item .ss-icon svg { width: 100%; height: 100%; object-fit: contain; }
.shop-search-suggestions .ss-item .ss-info { flex: 1; min-width: 0; }
.shop-search-suggestions .ss-item .ss-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 1.3; }
.shop-search-suggestions .ss-item .ss-name mark { background: rgba(30,42,74,0.15); color: var(--blue); border-radius: 2px; padding: 0 2px; }
.shop-search-suggestions .ss-item .ss-category { font-size: 11px; color: var(--ink-soft); margin-top: 2px; text-transform: capitalize; }
.shop-search-suggestions .ss-item .ss-price { font-weight: 700; color: var(--blue); font-size: 14px; white-space: nowrap; }
.shop-search-suggestions .ss-item .ss-old-price { font-size: 12px; color: #999; text-decoration: line-through; margin-left: 6px; font-weight: 400; }
.shop-search-suggestions .ss-viewall { display: block; text-align: center; padding: 10px 18px; font-size: 13px; font-weight: 600; color: var(--blue); background: rgba(30,42,74,0.03); border-top: 1px solid var(--line); text-decoration: none; transition: background 0.15s; }
.shop-search-suggestions .ss-viewall:hover { background: rgba(30,42,74,0.08); }
.shop-search-suggestions .ss-empty { padding: 20px; text-align: center; color: var(--ink-soft); font-size: 13px; }
.shop-search-bar:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(30,42,74,0.08), 0 2px 16px rgba(0,0,0,0.1);
}

/* Header search suggestions */
.search-box .shop-search-suggestions {
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 0 16px rgba(255,255,255,0.1);
  color: #0a1628;
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
}
.search-box .shop-search-suggestions .ss-item {
  color: #0a1628;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.search-box .shop-search-suggestions .ss-item:hover,
.search-box .shop-search-suggestions .ss-item.selected {
  background: rgba(255,255,255,0.25);
}
.search-box .shop-search-suggestions .ss-item .ss-name mark {
  background: rgba(0,0,0,0.08);
  color: #0a1628;
}
.search-box .shop-search-suggestions .ss-item .ss-category {
  color: rgba(0,0,0,0.45);
}
.search-box .shop-search-suggestions .ss-item .ss-price {
  color: #0a1628 !important;
  font-weight: 700;
}
.search-box .shop-search-suggestions .ss-item .ss-old-price {
  color: rgba(0,0,0,0.35) !important;
}
.search-box .shop-search-suggestions .ss-viewall {
  color: #0a1628;
  background: rgba(255,255,255,0.1);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.search-box .shop-search-suggestions .ss-viewall:hover {
  background: rgba(255,255,255,0.2);
}
.search-box .shop-search-suggestions .ss-empty {
  color: rgba(0,0,0,0.4);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}
.shop-toolbar select {
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}
.shop-toolbar select:hover { border-color: var(--blue); }
.result-count { font-size: 13px; color: var(--ink-soft); }
.result-count strong { color: var(--blue); font-weight: 700; }

.no-results { text-align: center; padding: 0 20px 40px; display: none; }
.no-results.show { display: block; }
.no-results .nr-icon { font-size: 48px; margin-bottom: 16px; }
.no-results h3 { margin-bottom: 8px; }
.no-results-hint { color: var(--ink-soft); margin-bottom: 16px; }
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 160px;
  gap: 20px;
  margin-top: 24px;
  align-items: start;
}
.related-products-grid > .product-card {
  height: 100%;
  max-height: 140px;
  overflow: hidden;
}

.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--blue);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s var(--ease-smooth);
  background: transparent;
  cursor: pointer;
  color: var(--blue);
}
.chip:hover { background: var(--blue); color: white; transform: translateY(-2px); }
.chip.active { background: var(--blue); color: white; }

/* ---------- 16. PRODUCT DETAILS ---------- */
/* ---------- 16. PRODUCT DETAILS ---------- */
.pd-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }

.pd-gallery-wrap {
  display: flex;
  gap: 14px;
  position: sticky;
  top: 80px;
  align-self: start;
}
.prod-images-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 520px;
  overflow-y: auto;
  scrollbar-width: none;
}
.prod-images-sidebar::-webkit-scrollbar { display: none; }
.prod-images-sidebar .thumb-wrap {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--white);
  padding: 3px;
  transition: all 0.2s;
  display: grid;
  place-items: center;
}
.prod-images-sidebar .thumb-wrap:hover { border-color: var(--ink-light); }
.prod-images-sidebar .thumb-wrap.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,42,74,0.12);
}
.prod-images-sidebar .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}

.pd-gallery-main {
  background: #fff;
  border: 1.5px solid var(--line, #e2e8f0);
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 3;
  max-height: 440px;
  width: 100%;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.pd-gallery-main .pd-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-gallery-main .pd-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.pd-gallery-main .pd-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
  z-index: 2;
}
.pd-gallery-main img, .pd-gallery-main svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.pd-gallery-main:hover img,
.pd-gallery-main:hover svg {
  transform: scale(1.05);
}
.pd-slide svg {
  width: 100%;
  height: 100%;
}

.pd-info { padding-top: 4px; }
.pd-info h1 { font-size: 28px; margin-bottom: 4px; line-height: 1.25; }
.pd-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; flex-wrap: wrap; }
.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.pd-price-row .price-now { font-size: 36px; color: var(--blue); }
.pd-desc { color: var(--ink-soft); margin-bottom: 22px; font-size: 14px; line-height: 1.7; }
.pd-actions { display: flex; gap: 14px; margin-bottom: 24px; }
.pd-actions .btn-primary { flex: 1; min-width: 180px; justify-content: center; }

.pd-features { display: flex; flex-direction: column; gap: 8px; }
.pd-features li { display: flex; gap: 10px; font-size: 14px; align-items: center; }
.pd-features .fic { color: var(--green); }

.swatch-row { display: flex; gap: 8px; margin-bottom: 18px; }
.swatch {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.swatch.active { border-color: var(--blue); transform: scale(1.15); box-shadow: 0 0 0 3px rgba(30,42,74,0.15); }
.swatch:hover { transform: scale(1.1); }

/* ---------- 17. TRUST STRIP ---------- */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .t-ic {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--blue);
  flex-shrink: 0;
}
.trust-item strong { font-size: 14px; display: block; }
.trust-item span { font-size: 12px; color: var(--ink-soft); }

/* ---------- 18. FOOTER ---------- */
.site-footer {
  background: linear-gradient(145deg, #060A14 0%, #0C1830 50%, #080C18 100%);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
  margin-top: auto;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), inset 0 -1px 0 rgba(0,0,0,0.5);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-grid h4 {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.footer-grid ul { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}
.footer-grid a:hover {
  color: #ffffff;
  padding-left: 4px;
}
.footer-about p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin: 14px 0 18px;
  max-width: 280px;
  line-height: 1.7;
}
.footer-about .logo .yours { color: #ffffff; }
.footer-about .logo .mart { color: #4A8BFF; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: grid;
  place-items: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.06);
}
.footer-social a:hover {
  transform: translateY(-4px) scale(1.15);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.1);
}
.footer-social a[aria-label="Facebook"]:hover { background: rgba(24,119,242,0.15); }
.footer-social a[aria-label="Instagram"]:hover { background: rgba(221,42,123,0.15); }
.footer-social a[aria-label="TikTok"]:hover { background: rgba(0,0,0,0.2); }
.footer-social a[aria-label="YouTube"]:hover { background: rgba(255,0,0,0.15); }

.newsletter-form { display: flex; gap: 0; margin-top: 12px; }
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px 0 0 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form input:focus { border-color: #4A8BFF; box-shadow: inset 0 0 0 1px rgba(74,139,255,0.2); }
.newsletter-form button {
  background: linear-gradient(135deg, #4A8BFF, #2563EB);
  color: white;
  padding: 0 24px;
  border-radius: 0 8px 8px 0;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}
.newsletter-form button:hover {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
  transform: scale(1.02);
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  align-items: center;
}
.footer-bottom .pay-icons { display: flex; gap: 8px; font-size: 18px; align-items: center; flex-wrap: wrap; }
.footer-bottom .pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.9);
  border-radius: 6px;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.footer-bottom .pay-icon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.footer-bottom .pay-icon svg { display: block; }

/* ---------- 19. ORDER SUCCESS ---------- */
.success-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 50px 36px;
  box-shadow: var(--shadow-lg);
}
.success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #059669);
  display: grid;
  place-items: center;
  font-size: 34px;
  color: white;
  margin: 0 auto 22px;
  box-shadow: 0 12px 24px rgba(16,185,129,0.3);
}
.success-card h1 { font-size: 26px; margin-bottom: 8px; }
.success-card p { color: var(--ink-soft); margin-bottom: 4px; }
.success-order-id {
  display: inline-block;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin: 14px 0 26px;
  font-family: var(--font-display);
}
.success-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 20. ANIMATIONS ---------- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { 0% { transform: scale(0.6); opacity: 0; } 70% { transform: scale(1.05); } 100% { transform: scale(1); opacity: 1; } }
@keyframes skeletonShine { 0% { background-position: -200px 0; } 100% { background-position: 200px 0; } }

/* ---------- 21. TOAST / DRAWER ---------- */
.toast-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  animation: popIn 0.3s ease;
}
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: var(--danger); }

.cart-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.4);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-drawer-overlay.open { opacity: 1; pointer-events: auto; }

/* ---------- 22. SKELETON / REVEAL ---------- */
.skeleton-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.skeleton-block {
  background: linear-gradient(90deg, var(--bg-soft) 0%, var(--bg) 50%, var(--bg-soft) 100%);
  background-size: 400px 100%;
  animation: skeletonShine 1.3s ease-in-out infinite;
  border-radius: 8px;
}
.skeleton-card .sk-img { height: 130px; margin-bottom: 14px; }
.skeleton-card .sk-line { height: 12px; margin-bottom: 10px; }
.skeleton-card .sk-btn { height: 36px; border-radius: var(--radius-sm); margin-top: 8px; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- 23. LIGHTBOX ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.25s ease;
}
.lightbox-overlay.open { display: flex; }
.lightbox-panel {
  background: transparent;
  border-radius: var(--radius-xl);
  padding: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  justify-content: center;
}
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 24px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10001;
  border: 2px solid rgba(255,255,255,0.3);
}
.lightbox-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s;
  flex-shrink: 0;
  color: #fff;
  font-weight: 700;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10000;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); transform: translateY(-50%) scale(1.1); }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  z-index: 10000;
}
.lightbox-view {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.lightbox-view svg, .lightbox-view img {
  max-width: 95vw;
  max-height: 92vh;
  transition: transform 0.2s ease;
  object-fit: contain;
  cursor: grab;
  user-select: none;
}
.lightbox-view svg:active, .lightbox-view img:active { cursor: grabbing; }
.lb-counter {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
  min-width: 50px;
  text-align: center;
}

/* ---------- 24. MOBILE STYLES ---------- */
.mobile-cat-slider {
  display: none;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.mobile-cat-slider::-webkit-scrollbar { display: none; }
.mobile-cat-slider .mcs-item {
  scroll-snap-align: start;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 70px;
}
.mobile-cat-slider .mcs-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: all 0.2s;
}
.mobile-cat-slider .mcs-item.active .mcs-icon {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(30,42,74,0.3);
}
.mobile-cat-slider .mcs-item span:last-child {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
}
.mobile-cat-slider .mcs-item.active span:last-child { color: var(--blue); }

.mobile-filter-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--ink);
}
.mobile-filter-fab {
  position: fixed;
  bottom: 22px;
  right: 18px;
  z-index: 500;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(30,42,74,0.3);
}

.mobile-shop-search {
  display: none;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: var(--white);
  padding: 10px 14px;
  margin-bottom: 10px;
}
.mobile-shop-search svg { color: var(--blue); flex-shrink: 0; }

/* ---------- 25. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .featured-sidebar { display: none !important; }
  .featured-layout { display: block; }
  .featured-layout .product-grid { display: grid; }
  .product-grid, .related-products-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 16px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-section { padding: 44px 0 52px; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 30px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { margin: 38px 16px 0; }
  .site-header { max-width: calc(100% - 32px); top: 8px; border-radius: 50px; }
  .sale-banner { margin: 20px 16px; }
}

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid, .related-products-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 14px; }
  .js-featured-grid .product-card:nth-child(n+7) { display: none; }

  .mobile-menu-btn { display: none !important; }

  .site-header { max-width: calc(100% - 24px); top: 8px; border-radius: 50px; }

  .hero { margin: 26px 14px 0; border-radius: 28px; padding: 28px 0; }
  .hero .wrap { grid-template-columns: 1fr; gap: 20px; }
  .hero-3d-stage { height: 300px; order: -1; }
  .hero-slider { height: 250px; border-radius: 22px; }
  .hero-content { text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero { padding: 40px 0; }

  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { display: none; }

  .profile-layout, .checkout-layout, .refund-layout, .pd-layout { grid-template-columns: 1fr; }
  .pd-layout { gap: 18px; }
  .pd-gallery-main { max-height: 480px; }
  .cart-layout { gap: 20px; }
  .shop-section { grid-template-columns: 1fr; }
  .filters-card { width: 100%; }
  .shop-content { padding: 8px 16px 40px; }
  .cat-section { padding: 28px 0 32px; }
  .sale-banner { grid-template-columns: 1fr; text-align: center; padding: 40px 26px; margin: 40px 12px; }
  .sale-timer { justify-content: center; flex-wrap: wrap; }

  .cart-item { min-width: 180px; max-width: 220px; padding: 12px 10px; gap: 10px; }
  .cart-item .ci-img { width: 70px; height: 70px; }
  .cart-item .ci-img svg { width: 32px; height: 32px; }
  .cart-item .ci-name { font-size: 13px; }
  .cart-item .ci-price { font-size: 16px; }
  .ci-price-unit { font-size: 11px; }
  .ci-discount-badge { font-size: 10px; padding: 3px 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .form-row-3 { grid-template-columns: 1fr 1fr; }
  .form-row-3 .form-group:last-child { grid-column: 1 / -1; }
  .wrap { padding: 0 16px; }
  .site-header { max-width: calc(100% - 20px); height: var(--nav-h); top: 10px; border-radius: 50px; }
  .site-header .wrap { padding: 0 8px 0 16px; gap: 14px; }
  .logo { font-size: 20px; gap: 8px; }
  .logo .logo-mark { width: 32px; height: 32px; font-size: 14px; border-radius: 10px; }
  .logo img { height: 30px !important; width: auto !important; border-radius: 6px !important; display: block !important; max-width: 120px; object-fit: contain; }
  .icon-btn { width: 36px; height: 36px; font-size: 15px; }
  .search-box { max-width: none; flex: 1; padding: 6px 12px; }
  .search-box input { font-size: 13px; }

  .product-grid, .related-products-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 10px; }

  .prod-images-sidebar { display: flex; flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; gap: 8px; padding: 8px 0; width: 100%; }
  .prod-images-sidebar .thumb-wrap { width: 56px; height: 56px; flex-shrink: 0; }
  .product-card { padding: 6px 8px; gap: 8px; border-radius: var(--radius-md); height: 160px; min-height: 160px; max-height: 160px; }
  .product-img { width: 165px; min-width: 165px; height: 135px; align-self: center; }
  .product-img-col { width: 170px; min-width: 170px; }
  .product-img svg, .product-img img { width: 100%; height: 100%; object-fit: cover; }
  .product-name { font-size: 14px; line-height: 1.25; max-height: 2.5em; overflow: hidden; font-weight: 700; }
  .price-now { font-size: 17px; font-weight: 800; }
  .price-was { font-size: 11px; }
  .product-card .badge { top: 4px; left: 4px; font-size: 9px; padding: 2px 7px; }
  .product-card .wish-btn { top: 4px; right: 4px; width: 28px; height: 28px; font-size: 13px; }
  .product-card .quickview-btn { top: 36px; right: 4px; width: 28px; height: 28px; font-size: 13px; opacity: 1; pointer-events: auto; }
  .btn-cart { font-size: 14px; padding: 8px 12px; font-weight: 700; min-height: 34px; margin-top: auto; }
  .qv-body { flex-direction: column; padding: 16px; gap: 14px; }
  .qv-modal { width: 95%; max-height: 90vh; }
  .qv-info h3 { font-size: 16px; }
  .qv-price-now { font-size: 18px; }

  .cat-section { padding: 24px 0 28px; }
  .cat-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    padding: 12px 4px 16px !important;
    margin: 0 -16px !important;
    width: calc(100% + 32px) !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .cat-grid::-webkit-scrollbar { display: none !important; }
  .cat-grid .cat-card {
    flex-shrink: 0 !important;
    min-width: 80px !important;
    max-width: 90px !important;
    scroll-snap-align: start !important;
  }
  .cat-grid .cat-card .cat-icon,
  .cat-grid .cat-card .cat-image {
    width: 52px !important;
    height: 52px !important;
    font-size: 22px !important;
  }
  .cat-grid .cat-card .cat-label,
  .cat-grid .cat-card span:last-child {
    font-size: 10px !important;
    white-space: nowrap !important;
    max-width: 80px !important;
  }

  .hero { padding: 24px 16px 30px; margin: 26px 12px 0; border-radius: 26px; }
  .hero .wrap { gap: 16px; }
  .hero-content { padding: 0; }
  .hero h1 { font-size: clamp(26px, 7vw, 34px); margin: 12px 0 10px; letter-spacing: -0.02em; }
  .hero p { font-size: 14px; margin-bottom: 22px; line-height: 1.55; max-width: 380px; }
  .hero-cta { flex-direction: column; gap: 10px; margin-bottom: 26px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-3d-stage { height: 320px; }
  .hero-slider { height: 280px; border-radius: 20px; }
  .hero-slider-dots { bottom: 12px; }
  .floating-chip { display: none; }
  .hero-stats { gap: 14px; justify-content: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 12px 18px; margin: 0 auto; width: fit-content; }
  .hero-stats div { padding: 0 10px; border-right: 1px solid rgba(255,255,255,0.12); }
  .hero-stats div:last-child { border-right: none; }
  .hero-stats div strong { font-size: 19px; }
  .hero-stats div span { font-size: 11px; }

  .section { padding: 50px 0; }
  .section-title { font-size: clamp(26px, 6vw, 32px); }
  .sale-banner { padding: 32px 24px; margin: 0 8px; border-radius: var(--radius-lg); }
  .sale-percent { font-size: clamp(40px, 12vw, 64px); }
  .sale-timer .t-box { padding: 12px 16px; min-width: 60px; }
  .sale-timer .t-box strong { font-size: 22px; }

  .btn { font-size: 14px; padding: 11px 24px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
  .footer-about {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-about p { max-width: 100%; margin-left: auto; margin-right: auto; }
  .footer-social { justify-content: center; }
  .footer-grid > div:nth-child(2) { text-align: left; }
  .footer-grid > div:nth-child(3) { text-align: right; }
  .footer-grid > div:nth-child(4) { grid-column: 1 / -1; text-align: center; }
  .footer-grid > div:nth-child(5) {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .footer-grid > div:nth-child(5) .newsletter-form {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .newsletter-form input {
    padding: 14px 18px;
    font-size: 15px;
    border-radius: 8px 0 0 8px;
  }
  .newsletter-form button {
    padding: 0 28px;
    font-size: 15px;
    border-radius: 0 8px 8px 0;
  }

  .pd-gallery-main { max-height: 380px; }
  .pd-gallery-main img, .pd-gallery-main svg { width: 100%; height: 100%; object-fit: cover; }
  .pd-slide svg { width: 100%; height: 100%; }
  .prod-images-sidebar img { width: 44px; height: 44px; }
  .prod-images-sidebar .thumb-wrap { padding: 5px 0; }
  .pd-gallery-wrap { gap: 10px; }
  .pd-info h1 { font-size: 22px; }
  .pd-price-row .price-now { font-size: 26px; }
  .pd-actions { flex-wrap: wrap; }
  .pd-actions .btn-primary { min-width: unset; }

  .cart-layout, .checkout-layout { gap: 20px; }
  .cart-summary, .checkout-block { padding: 20px; }
  .shop-content { padding: 8px 12px 60px; }

  .auth-card { padding: 28px 20px; }

  /* Jelly-bar full screen mobile - edge to edge */
  .jelly-bar { display: none !important; }
  .jb-item { padding: 20px clamp(14px, 5vw, 40px); min-width: 0; gap: 10px; border-radius: 50px; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .jb-item svg { width: clamp(44px, 9vw, 64px); height: clamp(44px, 9vw, 64px); }
  .jb-item .jb-label { font-size: clamp(14px, 3.2vw, 20px); font-weight: 700; letter-spacing: 0.3px; }
  body { padding-bottom: 0; }
  .toast-stack { bottom: 24px; }

  /* Profile page mobile - Tab bar */
  .profile-tab-bar {
    display: none; align-items: center; justify-content: center; gap: 12px;
    margin: 16px 16px 0; padding: 16px 22px;
    background: linear-gradient(135deg, var(--blue), #2d4a7a);
    border: none;
    border-radius: var(--radius-lg); box-shadow: 0 4px 16px rgba(30,42,74,0.25);
    cursor: pointer; transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
    animation: tabBarBounce 0.5s ease 0.3s;
  }
  @keyframes tabBarBounce { 0% { transform: translateY(-10px); opacity: 0; } 60% { transform: translateY(3px); } 100% { transform: translateY(0); opacity: 1; } }
  .profile-tab-bar:active { transform: scale(0.97); }
  .ptb-icon { font-size: 20px; color: rgba(255,255,255,0.8); }
  .ptb-label { flex: 1; font-weight: 700; font-size: 16px; color: #fff; font-family: var(--font-display); }
  .ptb-arrow { font-size: 22px; color: rgba(255,255,255,0.6); font-weight: 300; }

  /* Profile page mobile - Sidebar */
  .profile-layout { gap: 16px; position: relative; }
  .profile-card { display: none; }
  .profile-sidebar-overlay { display: none; position: fixed; inset: 0; z-index: 498; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 0.3s; }
  .profile-layout.sidebar-open .profile-sidebar-overlay { display: block; opacity: 1; }
  .profile-layout.sidebar-open .profile-card {
    display: flex; flex-direction: column; position: fixed;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 499; width: 300px; max-width: 88vw; max-height: 80vh;
    padding: 24px 20px; background: var(--white);
    border-radius: var(--radius-xl); box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    overflow-y: auto; animation: popInCenter 0.25s ease;
  }
  @keyframes popInCenter { from { transform: translate(-50%, -50%) scale(0.9); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
  .profile-card .avatar-wrap { width: 72px; margin: 0 auto 12px; }
  .profile-card .avatar { width: 72px; height: 72px; font-size: 24px; }
  .profile-card h3 { font-size: 16px; text-align: center; }
  .profile-card .uemail { font-size: 12px; text-align: center; margin-bottom: 4px; }
  .profile-card .js-profile-phone { font-size: 12px; text-align: center; margin-bottom: 10px; }
  .profile-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
  .profile-nav button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-size: 13px; border-radius: var(--radius-sm); }
  .profile-nav button.active { background: var(--blue); color: white; }
  .profile-nav button.logout { margin-top: 12px; color: var(--danger); }

  /* Product details mobile */
  .pd-layout { gap: 16px; }
  .pd-gallery-main { max-height: 340px; }
  .pd-info h1 { font-size: 20px; }
  .pd-price-row .price-now { font-size: 24px; }
  .pd-meta { gap: 8px; }
  .pd-actions { flex-direction: column; }
  .pd-actions .btn { width: 100%; justify-content: center; }
  .pd-features li { font-size: 13px; }
  .swatch-row { flex-wrap: wrap; }
  .pd-desc-section { padding: 16px; }
  .pd-desc-section h3 { font-size: 16px; }
  .pd-desc-content { font-size: 13px; }
  .pd-tabs-header { gap: 0; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .pd-tabs-header::-webkit-scrollbar { display: none; }
  .pd-tab-btn { padding: 10px 16px; font-size: 13px; white-space: nowrap; }
  .pd-tab-btn:first-child::after { display: none; }

  /* Contact / info pages mobile */
  .contact-grid { grid-template-columns: 1fr; gap: 10px; }
  .contact-card { padding: 18px 14px; }
  .contact-card .ci { font-size: 26px; }
  .info-page { padding: 20px 16px; }
  .info-page h3 { font-size: 16px; }

  /* FAQ mobile */
  .faq-item { padding: 16px 18px; }
  .faq-item h3 { font-size: 15px; }

  /* Cart mobile */
  .cart-item { min-width: 160px; max-width: 200px; padding: 10px 8px; gap: 8px; }
  .cart-item .ci-img { width: 60px; height: 60px; }
  .cart-item .ci-name { font-size: 12px; }
  .cart-item .ci-price { font-size: 17px; }
  .cart-summary { padding: 20px 16px; }

  /* Checkout mobile */
  .checkout-block { padding: 20px 16px; }
  .checkout-block h3 { font-size: 15px; }
  .pay-option { padding: 12px; }

  /* Track order mobile */
  .track-form { padding: 18px; }
  .track-steps { padding: 18px; }
  .track-step { font-size: 13px; }

  /* Category slider on mobile */
  .mobile-cat-slider { display: flex; }

  /* Page hero strip mobile */
  .page-hero-strip { padding: 28px 0 24px; }
  .page-hero-strip h1 { font-size: clamp(22px, 6vw, 30px); }
  .page-hero-strip p { font-size: 14px; }
}

@media (max-width: 500px) {
  .cat-grid { display: flex !important; grid-template-columns: none !important; overflow-x: auto !important; overflow-y: hidden !important; flex-wrap: nowrap !important; gap: 10px !important; padding: 12px 4px 16px !important; margin: 0 -16px !important; width: calc(100% + 32px) !important; scroll-snap-type: x mandatory !important; -webkit-overflow-scrolling: touch !important; scrollbar-width: none !important; }
  .cat-card-circle { width: 68px; height: 68px; font-size: 24px; }
  .cat-card { gap: 6px; }
  .cat-card-label { max-width: 80px; }
  .cat-card-label span { font-size: 11px; }
  .cat-card-label small { font-size: 9px; }
  .cat-section { padding: 24px 16px 28px; }
  .cat-head-box { padding: 18px 20px; border-radius: var(--radius-lg); margin-bottom: 16px; }
  .cat-head-box .section-title { font-size: clamp(16px, 4vw, 22px); }
  .product-grid, .related-products-grid { grid-template-columns: 1fr; grid-auto-rows: 150px; gap: 12px; }
  .product-card { padding: 8px 10px; gap: 10px; height: 150px; min-height: 150px; max-height: 150px; }
  .product-img { width: 110px; min-width: 110px; height: 130px; }
  .product-img-col { width: 110px; min-width: 110px; }
  .product-name { font-size: 15px; font-weight: 700; }
  .price-now { font-size: 18px; font-weight: 800; }
  .btn-cart { font-size: 14px; padding: 8px 12px; font-weight: 700; min-height: 34px; margin-top: auto; }
  .cart-item { min-width: 140px; max-width: 170px; padding: 8px 6px; }
  .cart-item .ci-img { width: 50px; height: 50px; }
  .cart-item .ci-img svg { width: 26px; height: 26px; }
  .cart-item .ci-name { font-size: 11px; }
  .cart-item .ci-price { font-size: 14px; }
  .ci-price-unit { font-size: 10px; }
  .ci-discount-badge { font-size: 9px; padding: 2px 6px; }

  /* Profile page 500px */
  .profile-tab-bar { margin: 14px 12px 0; padding: 14px 18px; }
  .ptb-icon { font-size: 18px; }
  .ptb-label { font-size: 15px; }
  .ptb-arrow { font-size: 20px; }
  .profile-layout.sidebar-open .profile-card { width: 270px; max-height: 82vh; padding: 20px 16px; }
  .profile-card .avatar-wrap { width: 60px; }
  .profile-card .avatar { width: 60px; height: 60px; font-size: 20px; }
  .profile-card h3 { font-size: 14px; }
  .profile-card .uemail { font-size: 11px; margin-bottom: 4px; }
  .profile-card .js-profile-phone { font-size: 11px; margin-bottom: 8px; }
  .profile-nav { gap: 3px; }
  .profile-nav button { font-size: 12px; padding: 10px 12px; gap: 8px; }
  .profile-nav button.logout { margin-top: 10px; }
  .profile-content { padding: 16px 14px; min-height: auto; border-radius: var(--radius-md); }
  .profile-tab h3 { font-size: 15px; }
  .profile-info-card { padding: 14px !important; margin-bottom: 14px !important; }
  .profile-info-card > div { grid-template-columns: 1fr !important; gap: 8px !important; }
  .stats-row { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .stat-box { padding: 14px 10px; }
  .stat-box strong { font-size: 20px; }
  .stat-box span { font-size: 10px; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .order-row { padding: 10px; gap: 8px; flex-wrap: wrap; }
  .order-row .oi-img { width: 36px; height: 36px; }
  .order-info strong { font-size: 12px; }
  .order-info span { font-size: 10px; }
  .order-status { font-size: 10px; padding: 3px 8px; }
  .form-row-2 { grid-template-columns: 1fr; gap: 10px; }
  .form-group { margin-bottom: 12px; }
  .form-group label { font-size: 12px; margin-bottom: 4px; }
  .form-group input { padding: 11px 14px 11px 40px; font-size: 13px; }
  .btn-primary { width: 100%; justify-content: center; padding: 12px 20px; }
  .profile-tab .btn-outline { width: 100%; justify-content: center; }
  #js-address-list .address-card { padding: 12px; }
  #js-notif-list .notif-item { padding: 10px; }
  .od-modal { padding: 18px; margin: 10px; max-height: 85vh; }
  .od-header h2 { font-size: 15px; }
  .od-sec h3 { font-size: 11px; }
  .od-item { gap: 8px; padding: 6px 0; }
  .od-item img { width: 40px; height: 40px; }
  .od-item-info strong { font-size: 12px; }
  .od-item-info span { font-size: 10px; }
  .od-item-price { font-size: 13px !important; }
  .od-dl { font-size: 11px; gap: 3px 8px; }
  .od-total { font-size: 13px; }

  .pd-gallery-main { max-height: 280px; }
  .pd-info h1 { font-size: 18px; }
  .pd-price-row .price-now { font-size: 22px; }
  .pd-tab-btn { font-size: 12px; padding: 8px 12px; }

  .hero { margin: 24px 8px 0; padding: 22px 14px 28px; border-radius: 24px; }
  .site-header { max-width: calc(100% - 12px); border-radius: 50px; }
  .hero h1 { font-size: clamp(22px, 7vw, 28px); }
  .hero-3d-stage { height: 200px; }
  .hero-slider { height: 165px; border-radius: 18px; }
  .hero-stats div strong { font-size: 18px; }
  .hero-stats div span { font-size: 10.5px; }

  .sale-banner { padding: 24px 16px; }
  .sale-percent { font-size: clamp(32px, 12vw, 48px); }
  .sale-timer .t-box { padding: 8px 12px; min-width: 48px; }
  .sale-timer .t-box strong { font-size: 18px; }

  .page-hero-3d { margin: 10px 6px 0; padding: 28px 0 24px; border-radius: var(--radius-md); }
  .page-hero-3d h1 { font-size: clamp(20px, 6vw, 26px); }
  .page-hero-3d p { font-size: 13px; }

  .info-page { padding: 16px 12px; }
  .contact-card { padding: 14px 12px; }
  .faq-item { padding: 14px 14px; }
  .faq-item h3 { font-size: 14px; }
  .auth-card { padding: 24px 16px; }
  .auth-card h1 { font-size: 24px; }

  .footer-grid { gap: 20px; }
}

@media (max-width: 400px) {
  .cat-grid { display: flex !important; grid-template-columns: none !important; overflow-x: auto !important; overflow-y: hidden !important; flex-wrap: nowrap !important; gap: 10px !important; padding: 12px 4px 16px !important; margin: 0 -16px !important; width: calc(100% + 32px) !important; scroll-snap-type: x mandatory !important; -webkit-overflow-scrolling: touch !important; scrollbar-width: none !important; }
  .cat-card-circle { width: 52px; height: 52px; font-size: 18px; }
  .cat-card-label span { font-size: 10px; }
  .cat-card-label { max-width: 60px; }
  .cat-head-box { padding: 14px 16px; }
  .cat-section { padding: 20px 16px 24px; }
  .product-grid, .related-products-grid { grid-template-columns: 1fr; grid-auto-rows: 130px; gap: 8px; }

  .product-img { width: 100px; min-width: 100px; height: 70px; align-self: center; }
  .product-img-col { width: 100px; min-width: 100px; }
  .product-img svg, .product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card { height: 130px; min-height: 130px; max-height: 130px; }
  .product-card .badge { font-size: 6px; padding: 1px 4px; }
  .product-card .wish-btn { width: 18px; height: 18px; font-size: 8px; }
  .product-name { font-size: 10px; }
  .price-now { font-size: 12px; }
  .section-title { font-size: clamp(20px, 6vw, 24px); }

  .hero { margin: 18px 8px 0; padding: 18px 12px 24px; border-radius: 22px; }
  .site-header { max-width: calc(100% - 8px); border-radius: 50px; }
  .hero h1 { font-size: clamp(20px, 6vw, 25px); }
  .hero p { font-size: 13px; margin-bottom: 18px; }
  .hero-cta { gap: 8px; margin-bottom: 20px; }
  .hero-cta .btn { padding: 10px 14px; font-size: 13px; }
  .hero-3d-stage { height: 180px; }
  .hero-slider { height: 150px; border-radius: 16px; }
  .hero-slider-dots { bottom: 8px; gap: 6px; }
  .hero-slider-dots button { width: 6px; height: 6px; }
  .hero-slider-dots button.active { width: 18px; }
  .hero-stats { gap: 10px; padding: 10px 12px; border-radius: 14px; }
  .hero-stats div { padding: 0 7px; }
  .hero-stats div strong { font-size: 16px; }
  .hero-stats div span { font-size: 10px; }

  .page-hero-3d { margin: 8px 4px 0; padding: 22px 0 18px; }
  .pd-gallery-main { max-height: 240px; }

  /* Profile page 400px */
  .profile-layout { gap: 12px; }
  .profile-tab-bar { margin: 12px 10px 0; padding: 13px 16px; border-radius: var(--radius-md); }
  .ptb-icon { font-size: 17px; }
  .ptb-label { font-size: 14px; }
  .ptb-arrow { font-size: 19px; }
  .profile-layout.sidebar-open .profile-card { width: 250px; max-height: 80vh; padding: 18px 14px; border-radius: var(--radius-lg); }
  .profile-card .avatar-wrap { width: 54px; }
  .profile-card .avatar { width: 54px; height: 54px; font-size: 18px; }
  .profile-card h3 { font-size: 13px; margin-bottom: 1px; }
  .profile-card .uemail { font-size: 10px; margin-bottom: 3px; }
  .profile-card .js-profile-phone { font-size: 10px; margin-bottom: 6px; }
  .profile-nav { gap: 3px; margin-top: 6px; }
  .profile-nav button { font-size: 11px; padding: 9px 10px; gap: 8px; border-radius: 8px; }
  .profile-nav button.logout { margin-top: 8px; font-size: 11px; }
  .profile-content { padding: 14px 10px; border-radius: 12px; min-height: auto; }
  .profile-tab h3 { font-size: 14px; margin-bottom: 12px; }
  .profile-info-card { padding: 12px !important; border-radius: 10px !important; margin-bottom: 12px !important; }
  .profile-info-card > div { grid-template-columns: 1fr !important; gap: 6px !important; }
  .stats-row { grid-template-columns: 1fr !important; gap: 8px !important; }
  .stat-box { padding: 12px 8px; border-radius: 10px; }
  .stat-box strong { font-size: 18px; }
  .stat-box span { font-size: 10px; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 6px; }
  .stat-row .stat-box { padding: 10px 8px; }
  .order-row { padding: 10px 8px; gap: 8px; flex-direction: column; align-items: flex-start; }
  .order-row .oi-images { margin-bottom: 4px; }
  .order-info { width: 100%; }
  .order-status { font-size: 10px; padding: 3px 8px; align-self: flex-start; }
  .form-row-2 { gap: 10px; }
  .form-group { margin-bottom: 12px; }
  .form-group label { font-size: 12px; margin-bottom: 4px; }
  .form-group input { padding: 10px 14px 10px 40px; font-size: 13px; border-radius: 10px; }
  .btn-primary { padding: 12px 20px; font-size: 13px; }
  #js-address-list .address-card { padding: 12px; border-radius: 10px; }
  #js-notif-list .notif-item { padding: 10px; border-radius: 10px; }
  .od-modal { padding: 16px; margin: 8px; border-radius: 12px; }
  .od-header h2 { font-size: 15px; }
  .od-header .od-status { font-size: 10px; padding: 3px 8px; }
  .od-sec h3 { font-size: 11px; margin-bottom: 6px; }
  .od-item { padding: 6px 0; gap: 8px; }
  .od-item img { width: 40px; height: 40px; border-radius: 6px; }
  .od-item-info strong { font-size: 12px; }
  .od-item-info span { font-size: 10px; }
  .od-dl { font-size: 11px; gap: 3px 8px; }
  .od-dl dt { font-size: 10px; }
  .od-dl dd { font-size: 11px; }
  .od-total { font-size: 13px; padding-top: 10px; }

  .cart-item { min-width: 120px; max-width: 150px; }
  .checkout-block { padding: 16px 12px; }
  .cart-summary { padding: 16px 12px; }
  .auth-card { padding: 20px 14px; }
}

/* ---------- HORIZONTAL SCROLL ---------- */
.horiz-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.horiz-scroll .product-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
}
.horiz-scroll::-webkit-scrollbar { height: 6px; }
.horiz-scroll::-webkit-scrollbar-thumb { background: var(--theme-accent, #ff6b6b); border-radius: 3px; }

/* ---------- MEGA SALE HERO (shared between home + discount page) ---------- */
.mega-sale-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #080C18 0%, #0F1E36 50%, #060A14 100%);
  padding: 90px 0 100px;
  text-align: center;
  margin: 20px 20px 0;
  border-radius: 28px;
}
.mega-sale-hero .blob { background: rgba(255,255,255,0.12); position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.mega-sale-hero .blob-1 { top: -140px; left: -100px; width: 380px; height: 380px; }
.mega-sale-hero .blob-2 { bottom: -120px; right: -80px; width: 320px; height: 320px; }
.mega-sale-hero.hero .wrap { display: block; }
.mega-sale-hero .content { position: relative; z-index: 2; }
.mega-percent {
  font-family: var(--font-display);
  font-weight: 800;
  color: #ffffff;
  font-size: clamp(90px, 16vw, 220px);
  line-height: 0.85;
  text-shadow: 0 30px 60px rgba(0,0,0,0.3);
  animation: pulseScale 2.2s ease-in-out infinite;
}
.mega-percent span { font-size: 0.4em; vertical-align: super; }
.mega-sale-hero h1, .mega-sale-hero h2 { color: white; font-size: clamp(24px, 4vw, 36px); margin: 10px 0 14px; }
.mega-sale-hero p { color: rgba(255,255,255,.85); max-width: 480px; margin: 0 auto 34px; font-size: 16px; }
.mega-timer { display: flex; justify-content: center; gap: 18px; margin-bottom: 38px; }
.mega-timer .t-box {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  padding: 18px 22px;
  text-align: center;
  min-width: 84px;
  backdrop-filter: blur(8px);
}
.mega-timer .t-box strong { display: block; font-family: var(--font-display); font-size: 32px; color: white; }
.mega-timer .t-box span { font-size: 12px; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: 0.04em; }
.mega-badges { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; position: relative; z-index: 2; }
.mega-badges .mb {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 10px 20px;
  color: white;
  font-weight: 700;
  font-size: 13px;
  backdrop-filter: blur(6px);
}

/* ---------- SPEED BOOST ---------- */
html.speed-mode *,
html.speed-mode *::before,
html.speed-mode *::after {
  transition-duration: 0.08s !important;
  animation-duration: 0.3s !important;
}
html.speed-mode .site-header { animation: none !important; }
html.speed-mode .btn-glow { animation: none !important; }
html.speed-mode .product-card { animation: none !important; opacity: 1 !important; }
html.speed-mode .cat-card { animation: none !important; opacity: 1 !important; }

.product-grid.loading .sk-card { display: none; }
.product-grid.loading { display: flex; align-items: center; justify-content: center; min-height: 300px; }

/* ---------- 26. MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}
.modal-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: popIn 0.25s ease;
}
.modal-content h3 { margin-top: 0; font-size: 18px; }
.modal-content .form-group textarea,
.modal-content .form-group input,
.modal-content .form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 14px;
  background: var(--bg);
  transition: border-color 0.25s;
  color: var(--ink);
  font-family: inherit;
}
.modal-content .form-group textarea:focus,
.modal-content .form-group input:focus,
.modal-content .form-group select:focus {
  border-color: var(--blue);
  outline: none;
  background: var(--white);
}
.modal-content .form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}
.modal-content .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 27. NOTIFICATIONS ---------- */
.notif-row { transition: background 0.2s; }
.notif-row:hover { background: #f8fafc !important; }

/* ---------- 28. ADDRESSES ---------- */
.addr-row { transition: all 0.2s; }
.addr-row:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* ---------- 29. PROFILE PASSWORD ---------- */
.pw-form { max-width: 400px; }
.pw-form .form-group { margin-bottom: 16px; }
.pw-form .form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.pw-form .form-group input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-md); font-size: 14px; background: var(--bg); transition: border-color 0.25s; color: var(--ink); }
.pw-form .form-group input:focus { border-color: var(--blue); outline: none; background: var(--white); }
#pwStatus { font-size: 13px; margin-top: 8px; font-weight: 600; }

/* ---------- 30. PROFILE NOTIFICATION PREFS ---------- */
.notif-prefs { display: flex; flex-direction: column; gap: 12px; }
.notif-pref-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.notif-pref-row label { flex: 1; font-size: 14px; font-weight: 600; cursor: pointer; }
.notif-pref-row label small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 12px; }
.notif-pref-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--blue); cursor: pointer; }

/* ---------- 31. ORDER TRACKING BAR ---------- */
.tracking-bar { display: flex; align-items: center; gap: 4px; margin: 12px 0 8px; }
.tracking-bar .tb-step { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.tracking-bar .tb-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-size: 10px; color: white; font-weight: 700; position: relative; z-index: 1; }
.tracking-bar .tb-dot.done { background: var(--blue); }
.tracking-bar .tb-dot.current { background: var(--blue); box-shadow: 0 0 0 4px rgba(30,42,74,0.15); }
.tracking-bar .tb-line { position: absolute; top: 11px; left: calc(50% + 11px); right: calc(-50% + 11px); height: 3px; background: var(--line); z-index: 0; }
.tracking-bar .tb-line.done { background: var(--blue); }
.tracking-bar .tb-label { font-size: 10px; color: var(--ink-soft); margin-top: 4px; font-weight: 600; white-space: nowrap; }
.tracking-bar .tb-label.done { color: var(--blue); }

/* ---------- 32. REFUND BADGE ---------- */
.status-badge.refunded { background: #FEF3C7; color: #92400E; }
.status-badge.refund-requested { background: #DBEAFE; color: #1E40AF; }

/* ---------- 33. BTN XS ---------- */
.btn-xs { padding: 6px 12px; font-size: 11px; border-radius: var(--radius-sm); }

/* ---------- 34. EMPTY PROFILE CARD (CENTERED) ---------- */
.empty-profile-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  box-shadow: var(--shadow-md);
}
.empty-profile-card h2 { font-size: 22px; margin-bottom: 12px; }
.empty-profile-card p { color: var(--ink-soft); margin-bottom: 24px; font-size: 14px; line-height: 1.7; }
.empty-profile-card .btn { min-width: 180px; justify-content: center; }

/* ---------- 35. REFERRAL TAB ---------- */
/* ---------- 36. PROMO DISCOUNT ROW ---------- */
.promo-discount-row { font-size: 13px; }
.promo-discount-row strong { font-size: 14px; }

/* ---------- 37. 3D NAVY SLIDING BANNER SYSTEM ---------- */
.banner-3d-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--navy-gradient);
  margin: 38px 24px 0;
  padding: 0;
}

.banner-3d-slider {
  position: relative;
  width: 100%;
  height: 420px;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-3d-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.banner-3d-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 60px;
  opacity: 0;
  transform: translateX(80px) rotateY(15deg) scale(0.92);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  backface-visibility: hidden;
  text-align: center;
  flex-direction: column;
}

.banner-3d-slide.active {
  opacity: 1;
  transform: translateX(0) rotateY(0) scale(1);
  pointer-events: auto;
}

.banner-3d-slide.exit-left {
  opacity: 0;
  transform: translateX(-80px) rotateY(-15deg) scale(0.92);
}

.banner-3d-slide .eyebrow {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
  margin-bottom: 12px;
}

.banner-3d-slide h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 14px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.banner-3d-slide p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.banner-3d-slide .btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.banner-3d-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.banner-3d-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 2px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-3d-dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(255,255,255,0.4);
}

.banner-3d-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.banner-3d-arrow:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%) scale(1.1);
}

.banner-3d-arrow.prev { left: 16px; }
.banner-3d-arrow.next { right: 16px; }

.banner-3d-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(30,42,74,0.25) 0%, transparent 70%);
}

.banner-3d-glow.g1 { width: 400px; height: 400px; top: -120px; left: -80px; }
.banner-3d-glow.g2 { width: 350px; height: 350px; bottom: -100px; right: -60px; }

.banner-3d-chip {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
  animation: floaty 3s ease-in-out infinite;
  pointer-events: none;
}

.banner-3d-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.banner-3d-chip.c1 { top: 8%; left: 5%; animation-delay: -0.5s; }
.banner-3d-chip.c2 { bottom: 10%; right: 6%; animation-delay: -2s; }
.banner-3d-chip.c3 { top: 50%; right: 3%; animation-delay: -3.5s; }

@media (max-width: 860px) {
  .banner-3d-slider { height: 360px; }
  .banner-3d-slide { padding: 30px 24px; }
  .banner-3d-arrow { width: 36px; height: 36px; font-size: 16px; }
  .banner-3d-arrow.prev { left: 8px; }
  .banner-3d-arrow.next { right: 8px; }
  .banner-3d-chip.c3 { display: none; }
}

@media (max-width: 600px) {
  .banner-3d-slider { height: 300px; }
  .banner-3d-slide { padding: 20px 16px; }
  .banner-3d-slide h1 { font-size: clamp(22px, 7vw, 32px); }
  .banner-3d-slide p { font-size: 14px; }
  .banner-3d-chip { display: none; }
  .banner-3d-dot { width: 8px; height: 8px; }
}

/* ---------- 38. NAVY PAGE HERO 3D STRIP ---------- */
.page-hero-3d {
  position: relative;
  overflow: hidden;
  background: var(--navy-gradient);
  padding: 50px 0 44px;
  margin: 20px 24px 0;
  border-radius: var(--radius-xl);
  text-align: center;
}

@media (max-width: 640px) {
  .page-hero-3d { margin: 14px 10px 0; padding: 36px 0 30px; border-radius: var(--radius-lg); }
  .page-hero-3d h1 { font-size: clamp(22px, 6vw, 30px); }
  .page-hero-3d p { font-size: 14px; }
}

.page-hero-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(30,42,74,0.35) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-hero-3d .wrap {
  position: relative;
  z-index: 2;
}

.page-hero-3d h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: nySlideUp 0.6s ease both;
}

.page-hero-3d p {
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  font-size: 15px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  animation: nySlideUp 0.6s ease 0.15s both;
}

.page-hero-3d .hero-3d-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.page-hero-3d .hero-3d-orb.o1 {
  width: 300px; height: 300px;
  top: -100px; left: -60px;
  background: radial-gradient(circle, rgba(30,42,74,0.3) 0%, transparent 60%);
  animation: orbFloat 6s ease-in-out infinite;
}

.page-hero-3d .hero-3d-orb.o2 {
  width: 250px; height: 250px;
  bottom: -80px; right: -40px;
  background: radial-gradient(circle, rgba(30,42,74,0.2) 0%, transparent 60%);
  animation: orbFloat 8s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -15px) scale(1.05); }
  66% { transform: translate(-10px, 10px) scale(0.95); }
}

@keyframes nySlideUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes nySlideIn {
  0% { opacity: 0; transform: translateX(-20px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- 39. JELLY BAR (iPhone-style bottom nav) ---------- */
@media (max-width: 768px) {
  body {
    padding-bottom: 72px;
  }
}

/* ---------- 40. GLOBAL SEARCH OVERLAY — Liquid Glass ---------- */
@keyframes nyLiquidFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes nyGlassShimmer {
  0% { opacity: 0.3; }
  50% { opacity: 0.7; }
  100% { opacity: 0.3; }
}
@keyframes nySlideIn {
  0% { opacity: 0; transform: translateY(-30px) scale(0.92); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
#ny-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
#ny-search-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#ny-search-overlay .ny-search-backdrop {
  position: absolute; inset: 0;
  background: rgba(8,12,24,0.55);
}
#ny-search-overlay .ny-search-panel {
  position: relative;
  width: 100%; max-width: 620px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.18), 0 0 40px rgba(255,255,255,0.15);
  overflow: hidden;
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
  transform: translateY(-20px) scale(0.96);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.15s ease;
}
#ny-search-overlay.open .ny-search-panel {
  transform: translateY(0) scale(1);
}
.ny-search-header {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.15);
}
.ny-search-header .ny-srch-icon {
  flex-shrink: 0;
  color: rgba(0,0,0,0.5);
  transition: color 0.3s;
}
.ny-search-header:focus-within .ny-srch-icon { color: rgba(0,0,0,0.8); }
.ny-search-input {
  flex: 1; border: none; background: transparent; outline: none;
  color: #000; font-size: 19px;
  font-family: var(--font-body); font-weight: 500;
}
.ny-search-input::placeholder { color: rgba(0,0,0,0.5); }
.ny-srch-count {
  font-size: 11px; color: rgba(0,0,0,0.35);
  font-weight: 600; white-space: nowrap;
  flex-shrink: 0; min-width: 50px; text-align: right;
}
.ny-srch-count-badge {
  font-size: 10px; background: rgba(0,0,0,0.1);
  padding: 2px 10px; border-radius: 999px;
  color: #000; font-weight: 700; margin-left: 6px;
}
.ny-srch-mark {
  background: rgba(0,0,0,0.08); color: #0a1628;
  border-radius: 3px; padding: 1px 3px;
}
.ny-srch-selected {
  background: rgba(255,255,255,0.25) !important;
  border-radius: 10px;
}
.ny-srch-empty-icon { font-size: 40px; margin-bottom: 10px; opacity: 0.3; }
.ny-srch-empty-hint { font-size: 12px; color: rgba(0,0,0,0.3); margin-top: 6px; }

.ny-search-close {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(0,0,0,0.06);
  color: #0a1628; font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s; flex-shrink: 0;
}
.ny-search-close:hover { background: rgba(0,0,0,0.1); transform: scale(1.1) rotate(90deg); }

.ny-search-results {
  max-height: 60vh; overflow-y: auto; padding: 6px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.1) transparent;
}
.ny-search-results::-webkit-scrollbar { width: 4px; }
.ny-search-results::-webkit-scrollbar-track { background: transparent; }
.ny-search-results::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 4px; }

.ny-srch-section { padding: 6px 0; }
.ny-srch-section + .ny-srch-section { border-top: 1px solid rgba(0,0,0,0.05); }
.ny-srch-section-title {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(0,0,0,0.4);
  padding: 6px 22px 8px;
}
.ny-srch-page-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 22px; color: #000;
  text-decoration: none; transition: all 0.2s;
  font-size: 14px; font-weight: 500;
  border-left: 2px solid transparent;
}
.ny-srch-page-item:hover { background: rgba(255,255,255,0.25); color: #000; border-left-color: rgba(0,0,0,0.15); }
.ny-srch-page-icon { font-size: 18px; flex-shrink: 0; opacity: 0.6; }

.ny-srch-products { display: flex; flex-direction: column; }

.ny-srch-prod-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 22px; text-decoration: none; transition: all 0.2s;
  border-left: 2px solid transparent;
}
.ny-srch-prod-item:hover { background: rgba(255,255,255,0.25); border-left-color: rgba(0,0,0,0.15); }
.ny-srch-prod-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}
.ny-srch-prod-icon img, .ny-srch-prod-icon svg { width: 100%; height: 100%; object-fit: cover; }
.ny-srch-prod-info { flex: 1; min-width: 0; }
.ny-srch-prod-name {
  font-size: 14px; font-weight: 700; color: #000;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ny-srch-prod-cat { font-size: 11px; color: rgba(0,0,0,0.6); margin-top: 3px; }
.ny-srch-prod-price {
  font-size: 15px; font-weight: 800;
  color: #000;
  white-space: nowrap; flex-shrink: 0;
  background: rgba(255,255,255,0.4);
  padding: 4px 12px;
  border-radius: 8px;
}
.ny-srch-prod-oldprice {
  font-size: 11px; color: rgba(0,0,0,0.5);
  text-decoration: line-through; margin-right: 6px;
}
.ny-srch-empty { text-align: center; padding: 50px 20px; color: rgba(0,0,0,0.4); font-size: 14px; }
.ny-srch-empty strong { color: rgba(0,0,0,0.7); }

.ny-srch-suggestions {
  padding: 8px 22px 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ny-srch-suggestion {
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.05);
  color: rgba(0,0,0,0.5);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid rgba(0,0,0,0.06);
}
.ny-srch-suggestion:hover {
  background: rgba(59,130,246,0.2);
  color: #93C5FD;
  border-color: rgba(59,130,246,0.2);
}

@media (max-width: 640px) {
  #ny-search-overlay { padding-top: 50px; padding-left: 10px; padding-right: 10px; }
  .ny-search-close { display: none; }
  #ny-search-overlay .ny-search-panel { border-radius: 18px; }
  .ny-search-header { padding: 14px 16px; gap: 10px; }
  .ny-search-input { font-size: 16px; }
  .ny-search-results { max-height: 55vh; }
  .ny-srch-prod-item { padding: 8px 16px; gap: 10px; }
  .ny-srch-prod-icon { width: 40px; height: 40px; }
  .ny-srch-prod-name { font-size: 13px; }
  .ny-srch-prod-price { font-size: 13px; padding: 3px 10px; }
  .ny-srch-page-item { padding: 8px 16px; }
}

/* ---------- MOBILE CATEGORY FILTER FAB + DRAWER ---------- */
.cat-filter-fab { display: none; }
.cat-filter-overlay { display: none; }
.cat-filter-drawer { display: none; }
@media (max-width: 768px) {
  .cat-filter-fab {
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0a1628;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    color: rgba(255,255,255,0.8);
    touch-action: manipulation;
  }
  .cat-filter-fab svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s var(--ease-smooth);
  }
  .cat-filter-fab:active {
    transform: translateY(-50%) scale(0.9);
  }
  .cat-filter-fab.open svg {
    transform: rotate(90deg);
  }

  .cat-filter-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .cat-filter-overlay.show {
    opacity: 1;
    pointer-events: auto;
  }

  .cat-filter-drawer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 82vw;
    z-index: 999;
    background: #0a1628;
    background: linear-gradient(160deg, #0a1628 0%, #0C1428 40%, #080C18 100%);
    border-left: 1px solid rgba(255,255,255,0.08);
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
    padding: 24px 18px 100px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .cat-filter-drawer.open {
    transform: translateX(0);
  }
  .cat-filter-drawer::-webkit-scrollbar { width: 3px; }
  .cat-filter-drawer::-webkit-scrollbar-track { background: transparent; }
  .cat-filter-drawer::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

  .cat-filter-header {
    display: flex;
    align-items: center;
  justify-content: flex-start;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .cat-filter-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-display);
    margin: 0;
  }
  .cat-filter-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 18px;
    line-height: 1;
    touch-action: manipulation;
  }
  .cat-filter-close:active {
    background: rgba(255,255,255,0.12);
    transform: scale(0.9);
  }

  .cat-filter-drawer .filter-option {
    padding: 8px 12px;
    border-radius: 100px;
    margin-bottom: 3px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    transition: all 0.25s ease;
    font-size: 12px;
    gap: 6px;
    justify-content: flex-start;
  }
  .cat-filter-drawer .filter-option:active {
    background: rgba(255,255,255,0.1);
  }
  .cat-filter-drawer .filter-option.active {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
    color: #fff;
  }
  .cat-filter-drawer .filter-option .count {
    display: inline-flex !important;
    color: #fff;
    background: rgba(255,255,255,0.15);
    font-size: 11px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 100px;
    min-width: 22px;
    text-align: center;
    line-height: 1.4;
    margin-left: auto;
  }

  @media (max-width: 640px) {
  .cat-filter-fab {
    right: 10px;
    width: 44px;
    height: 44px;
  }
  .cat-filter-drawer {
    max-width: 88vw;
    padding: 20px 14px 110px;
  }
}
}

/* Mobile: selected category pill above products */
@media (max-width: 768px) {
  .filters-card {
    width: calc(100% - 35px);
    margin: 0 auto 6px;
    padding: 4px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    border-radius: var(--radius-lg);
    cursor: pointer;
  }
  .filters-card .filter-group:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    margin: 0;
    border: none;
    flex: 0 1 auto;
    flex-wrap: wrap;
  }
  .filters-card .filter-group:first-child h4 {
    display: none;
  }
  .filters-card .filter-group:first-child .filter-option {
    display: none;
  }
  .filters-card .filter-group:first-child .filter-option.active {
    display: inline-flex !important;
    padding: 4px 12px;
    margin: 0;
    border-radius: 100px;
    font-size: 14px;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
    gap: 4px;
    animation: none;
    pointer-events: none;
  }
  .filters-card .filter-group:first-child .filter-option.active .count {
    display: none;
  }
  .filters-card .filter-group:first-child .filter-option.active input[type=radio] {
    display: none;
  }
  .filters-card .filter-group:first-child .filter-option.active::before {
    content: "Category: ";
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    font-weight: 400;
  }
  .filters-card .filter-group:last-child {
    display: none;
  }
  /* FAB and drawer are shown only on mobile via their own media query */
}

/* ---------- JELLY BAR (Bottom Navigation) — Liquid Glass ---------- */
.jelly-bar {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: fit-content;
  z-index: 999;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 5px 8px;
  background: #0a1628;
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  animation: jbSlideUp 0.6s var(--ease-bounce) both;
  transition: opacity 0.5s ease;
}

@keyframes jbSlideUp {
  0% { transform: translateY(100%) scale(0.96); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.jb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  min-width: 48px;
  cursor: pointer;
  z-index: 1;
}

.jb-item .jb-emoji {
  font-size: 22px;
  line-height: 1;
  display: block;
}
.jb-item svg {
  width: 24px;
  height: 24px;
  display: block;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.jb-item .jb-label {
  font-size: 9px;
  letter-spacing: 0.02em;
  transition: all 0.3s;
  margin-top: 2px;
  color: rgba(255,255,255,0.5);
}

.jb-item.active {
  color: #ffffff;
}

.jb-item.active .jb-label {
  color: #ffffff;
  font-weight: 600;
}

.jb-item.active svg {
  transform: translateY(-2px) scale(1.15);
  filter: drop-shadow(0 2px 8px rgba(255,255,255,0.15));
}

.jb-item::before,
.jb-item.active::before {
  display: none;
}

.jb-item:active {
  transform: scale(0.92);
}

@media (max-width: 640px) {
  .jelly-bar { display: none !important; }
}

/* ---- WISHLIST SIDEBAR OFFSET ---- */
.wl-sidebars .featured-sidebar {
  top: 24px;
  bottom: 24px;
  width: 36px;
}
.wl-sidebars .ny-brand-box {
  border-radius: 10px;
}
.wl-sidebars .ny-brand-text {
  font-size: 14px;
}

/* Keep Nyvoxa side bars visible on laptop/tablet too */
@media (max-width: 1080px) and (min-width: 641px) {
  .wl-sidebars .featured-sidebar { display: flex !important; }
  .wl-sidebars .featured-sidebar-left { left: 14px; }
  .wl-sidebars .featured-sidebar-right { right: 14px; }
}

/* ---- WISHLIST CLEAR BUTTON ---- */
.wl-clear-wrap {
  text-align: center;
  margin-top: 28px;
}

/* Desktop: clear button inline below grid */
@media (min-width: 641px) {
  .wl-clear-wrap {
    text-align: center;
    margin: 24px 0;
  }
}

/* ---- EMPTY WISHLIST STATE ---- */
.empty-wishlist {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.ew-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 40px 24px;
}
.ew-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FEF2F2, #FDE68A);
  display: grid;
  place-items: center;
  font-size: 40px;
  color: var(--danger);
  animation: ewPulse 2.5s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(239,68,68,0.15);
}
@keyframes ewPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 32px rgba(239,68,68,0.15); }
  50% { transform: scale(1.06); box-shadow: 0 12px 40px rgba(239,68,68,0.25); }
}
.empty-wishlist h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.empty-wishlist p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
.empty-wishlist .btn {
  padding: 12px 32px;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s var(--ease-bounce);
}
.empty-wishlist .btn:hover {
  transform: translateY(-2px) scale(1.03);
}
.ew-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  pointer-events: none;
}
.ew-orb1 {
  width: 180px;
  height: 180px;
  top: -30px;
  left: -20px;
  background: radial-gradient(circle, var(--danger), transparent 70%);
  animation: ewFloat 6s ease-in-out infinite;
}
.ew-orb2 {
  width: 140px;
  height: 140px;
  bottom: -20px;
  right: -10px;
  background: radial-gradient(circle, #FBBF24, transparent 70%);
  animation: ewFloat 6s ease-in-out infinite reverse;
}
@keyframes ewFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10px, -10px) scale(1.05); }
}
@media (max-width: 640px) {
  .empty-wishlist { min-height: 300px; }
  .ew-icon { width: 70px; height: 70px; font-size: 32px; margin-bottom: 16px; }
  .empty-wishlist h3 { font-size: 18px; }
  .empty-wishlist p { font-size: 13px; }
  .wl-clear-btn {
    padding: 10px 28px;
    font-size: 13px;
  }
}

/* ---------- 41. PRODUCT DETAIL STICKY BARS — Liquid Glass ---------- */

/* Desktop Sticky Bar */
.pd-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.08), 0 -1px 6px rgba(0,0,0,0.04);
  padding: 10px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.pd-sticky-bar.visible {
  display: block;
  transform: translateY(0);
}
.pd-sticky-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.pd-sticky-img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-soft);
  border: 1.5px solid rgba(0,0,0,0.06);
}
.pd-sticky-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-sticky-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pd-sticky-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pd-sticky-price {
  font-weight: 800;
  font-size: 17px;
  color: var(--blue);
  font-family: var(--font-display);
}

/* Desktop Quantity Selector */
.pd-sticky-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 100px;
  overflow: hidden;
  background: rgba(255,255,255,0.8);
  flex-shrink: 0;
}
.pd-sqty-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  display: grid;
  place-items: center;
  line-height: 1;
}
.pd-sqty-btn:hover {
  background: rgba(30,42,74,0.08);
  color: var(--blue);
}
.pd-sqty-val {
  width: 36px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  font-family: var(--font-display);
  color: var(--ink);
  border-left: 1px solid rgba(0,0,0,0.08);
  border-right: 1px solid rgba(0,0,0,0.08);
  line-height: 34px;
}

.pd-sticky-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.pd-sticky-btns .btn {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Mobile Bottom Bar */
.pd-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.1), 0 -1px 6px rgba(0,0,0,0.05);
  padding: 10px 14px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.pd-mobile-bar.visible {
  display: block;
  transform: translateY(0);
}
.pd-mobile-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pd-mobile-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.pd-mobile-bar-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-soft);
  border: 1.5px solid rgba(0,0,0,0.06);
}
.pd-mobile-bar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-mobile-bar-info {
  flex: 1;
  min-width: 0;
}
.pd-mobile-bar-price {
  font-weight: 800;
  font-size: 17px;
  color: var(--blue);
  font-family: var(--font-display);
  line-height: 1.2;
}
.pd-mobile-bar-name {
  font-size: 11px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.pd-mobile-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Mobile Quantity Selector */
.pd-mobile-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 100px;
  overflow: hidden;
  background: rgba(255,255,255,0.9);
}
.pd-mqty-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: all 0.2s;
}
.pd-mqty-btn:hover, .pd-mqty-btn:active {
  background: rgba(30,42,74,0.08);
  color: var(--blue);
}
.pd-mqty-val {
  width: 28px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  font-family: var(--font-display);
  color: var(--ink);
  border-left: 1px solid rgba(0,0,0,0.08);
  border-right: 1px solid rgba(0,0,0,0.08);
  line-height: 30px;
}

.pd-mobile-bar-btns {
  display: flex;
  gap: 6px;
}
.pd-mob-add, .pd-mob-buy {
  padding: 10px 14px !important;
  font-size: 12px !important;
  font-weight: 700;
  border-radius: var(--radius-full) !important;
  white-space: nowrap;
}

/* Desktop: show sticky, hide mobile */
@media (min-width: 769px) {
  .pd-sticky-bar { display: block; }
  .pd-mobile-bar { display: none !important; }
}
/* Mobile: show mobile bar, hide sticky */
@media (max-width: 768px) {
  .pd-sticky-bar { display: none !important; }
  .pd-mobile-bar { display: block; }
  body { padding-bottom: 80px; }
}
@media (max-width: 640px) {
  .pd-mobile-bar { padding: 8px 10px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .pd-mob-add, .pd-mob-buy { padding: 8px 10px !important; font-size: 11px !important; }
  .pd-mobile-bar-price { font-size: 15px; }
  .pd-mobile-qty { transform: scale(0.9); }
}

/* ========== 12c. CART PAGE UI v2 ========== */

/* --- Cart item cards: polish --- */
.cart-item { border-radius: var(--radius-lg); }
.cart-item .ci-img { overflow: hidden; text-decoration: none; }
.cart-item .ci-img svg, .cart-item .ci-img img { transition: transform 0.3s ease; }
.cart-item:hover .ci-img svg, .cart-item:hover .ci-img img { transform: scale(1.07); }
.cart-item .ci-name { text-decoration: none; color: var(--ink); transition: color 0.2s; }
.cart-item .ci-name:hover { color: var(--blue); }

/* --- Qty stepper --- */
.qty-control {
  border: 2px solid var(--line);
  box-shadow: 0 2px 8px rgba(30,42,74,0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--bg);
  display: inline-flex;
  align-items: stretch;
  box-shadow: 0 1px 4px rgba(30,42,74,0.08);
}
.qty-control button {
  width: 32px; height: 32px;
  font-weight: 800; font-size: 16px; line-height: 1;
  background: transparent;
  color: var(--ink);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
}
.qty-control button:hover { background: var(--blue); color: #fff; }
.qty-control button:active { transform: scale(0.9); }
.qty-control span {
  min-width: 36px; text-align: center;
  font-weight: 800; font-size: 14px; color: var(--ink);
  display: grid; place-items: center;
}

/* --- Order summary: polish --- */
.cart-summary { position: relative; overflow: hidden; }
.cart-summary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(30,42,74,0.05), rgba(255,255,255,0) 45%);
  pointer-events: none;
}
.cart-summary h3 { display: flex; align-items: center; gap: 10px; }
.cart-summary h3 .cs-icon {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), #5b8def);
  color: #fff; font-size: 18px;
  box-shadow: 0 6px 14px rgba(30,42,74,0.22);
  flex-shrink: 0;
}
.summary-row { margin-bottom: 14px; }
.summary-total {
  background: linear-gradient(135deg, rgba(30,42,74,0.07), rgba(91,141,239,0.07));
  border: 1px solid rgba(30,42,74,0.08);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 18px;
}
.summary-total .js-total { font-size: 22px; }

/* --- Free shipping progress --- */
.ship-progress { margin-bottom: 18px; }
.sp-label { font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-bottom: 8px; }
.sp-label.done { color: #16a34a; }
.sp-bar {
  height: 9px; border-radius: 99px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}
.sp-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), #5b8def);
  transition: width 0.5s ease;
}
.sp-fill.done { background: linear-gradient(90deg, #16a34a, #4ade80); }

/* --- Promo row --- */
.promo-row input {
  background: var(--bg);
  border: 1.5px dashed var(--line);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.promo-row input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; }
.promo-row:focus-within input {
  border-color: var(--blue);
  border-style: solid;
  background: #fff;
}

/* --- Checkout CTA --- */
.checkout-cta { position: relative; font-size: 15px; padding: 15px 20px; }
.checkout-cta .cta-arrow { transition: transform 0.25s ease; display: inline-block; }
.checkout-cta:hover .cta-arrow { transform: translateX(4px); }
.cs-trust-hint {
  font-size: 11px; color: var(--gray);
  text-align: center; margin: 12px 0 4px;
}
.cs-continue { display: flex; align-items: center; justify-content: center; gap: 6px; }
.cs-continue .cta-back { transition: transform 0.25s ease; display: inline-block; }
.cs-continue:hover .cta-back { transform: translateX(-3px); }

/* --- Empty cart --- */
.empty-cart {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--white), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 6px 20px rgba(30,42,74,0.12);
}
.empty-cart::before, .empty-cart::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.5; pointer-events: none;
}
.empty-cart::before {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(30,42,74,0.15), transparent 70%);
  top: -90px; left: -70px;
}
.empty-cart::after {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(91,141,239,0.2), transparent 70%);
  bottom: -80px; right: -50px;
}
.empty-cart .ec-icon {
  width: 96px; height: 96px; margin: 0 auto 22px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), #5b8def);
  color: #fff; border-radius: 50%; font-size: 42px;
  box-shadow: 0 14px 30px rgba(30,42,74,0.28);
  position: relative; z-index: 1;
}
.empty-cart h3, .empty-cart p, .empty-cart .btn { position: relative; z-index: 1; }

/* --- Desktop: 2-column layout with sticky summary --- */
@media (min-width: 900px) {
  .cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    grid-template-areas:
      "header summary"
      "items  summary";
    gap: 28px;
    align-items: start;
  }
  .cart-strip-header { grid-area: header; }
  .cart-strip-header { margin-bottom: -8px; }
  .cart-strip-count {
    font-size: 13px; padding: 5px 16px;
    background: linear-gradient(135deg, var(--blue), #5b8def);
    box-shadow: 0 4px 10px rgba(30,42,74,0.2);
  }
  .cart-items {
    grid-area: items;
    flex-direction: column;
    overflow: visible;
    gap: 14px;
    padding: 20px;
    scroll-snap-type: none;
  }
  .cart-item {
    width: 100%; max-width: none; min-width: 0;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 18px;
    padding: 16px 20px;
  }
  .cart-item .ci-img { width: 92px; height: 92px; flex-shrink: 0; }
  .cart-item .ci-img svg { width: 44px; height: 44px; }
  .cart-item .ci-info { align-items: center; text-align: left; gap: 8px; }
  .cart-item .ci-meta { font-size: 12px; }
  .cart-item .ci-name { font-size: 16px; }
  .ci-price-wrap {
    flex-direction: column;
    align-items: flex-end;
    border-top: none;
    border-left: 1px dashed var(--line);
    padding: 0 0 0 22px;
    width: auto;
    min-width: 150px;
  }
  .cart-item .ci-price { font-size: 21px; }
  .cart-summary { grid-area: summary; position: sticky; top: 110px; max-width: none; margin: 0; }
}

/* --- Mobile tweaks --- */
@media (max-width: 640px) {
  .cart-summary { padding: 22px 18px; }
  .summary-total { padding: 12px 14px; }
  .summary-total .js-total { font-size: 19px; }
  .qty-control button { width: 30px; height: 30px; }
  .qty-control span { min-width: 32px; }
  .cart-item .ci-img { width: 84px; height: 84px; }
  .empty-cart { padding: 60px 18px; }
  .empty-cart .ec-icon { width: 84px; height: 84px; font-size: 36px; }
}

/* ===== MOBILE RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 175px !important;
    gap: 10px !important;
  }
  .product-card {
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 6px !important;
  }
  .product-img-col {
    width: 100% !important;
    min-width: 100% !important;
    height: 130px !important;
  }
  .product-img {
    width: 100% !important;
    min-width: 100% !important;
    height: 130px !important;
  }
  .product-info {
    padding: 4px 6px !important;
  }
  .product-name {
    font-size: 13px !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .price-now {
    font-size: 15px !important;
  }
  .price-old {
    font-size: 11px !important;
  }
  .btn-cart {
    font-size: 13px !important;
    padding: 7px 8px !important;
    font-weight: 700 !important;
    min-height: 32px !important;
    margin-top: auto !important;
  }
  .wrap {
    padding: 0 12px !important;
  }
  .section {
    padding: 20px 0 !important;
  }
  .section-head h2 {
    font-size: 20px !important;
  }
  .js-featured-grid {
    grid-auto-rows: 175px !important;
  }
  .js-featured-grid .product-card {
    height: 175px !important;
    min-height: 175px !important;
    max-height: 175px !important;
  }
}
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 160px !important;
    gap: 8px !important;
  }
  .product-card {
    padding: 5px !important;
    border-radius: 10px !important;
  }
  .product-img-col {
    height: 110px !important;
  }
  .product-img {
    height: 110px !important;
    border-radius: 8px !important;
  }
  .product-name {
    font-size: 12px !important;
  }
  .price-now {
    font-size: 14px !important;
  }
  .product-card .badge {
    font-size: 6px !important;
    padding: 1px 4px !important;
  }
  .product-card .wish-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 13px !important;
  }
  .btn-cart {
    font-size: 12px !important;
    padding: 7px 8px !important;
    font-weight: 700 !important;
    min-height: 32px !important;
    margin-top: auto !important;
  }
}
@media (max-width: 360px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 145px !important;
  }
  .product-img {
    height: 95px !important;
  }
  .product-img-col {
    height: 95px !important;
  }
}

/* ===== COLOR SELECTOR ON PRODUCT DETAILS ===== */
.pd-color-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.pd-color-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}
.pd-color-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pd-color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.pd-color-swatch:hover {
  border-color: #1E2A4A;
  transform: scale(1.1);
}
.pd-color-swatch.active {
  border-color: #1E2A4A;
  box-shadow: 0 0 0 2px #1E2A4A;
}
.pd-color-swatch.active::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.pd-color-name {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}
/* ===== CUTTING PRICE STYLE ===== */
.price-cut {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 14px;
}
.price-discount-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #fef2f2;
  color: #dc2626;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  border: 1px solid #fecaca;
}

/* ===== Mobile gallery: big image up, small thumbs BELOW (2026-09-07) ===== */
@media (max-width: 900px) {
  .pd-gallery-wrap { flex-direction: column; }
  .pd-gallery-main { order: 1; width: 100%; }
  .prod-images-sidebar { order: 2; flex-direction: row !important; width: 100%; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 4px 2px 10px; scrollbar-width: none; }
  .prod-images-sidebar::-webkit-scrollbar { display: none; }
  .prod-images-sidebar .thumb-wrap { width: 62px; height: 62px; min-width: 62px; padding: 3px; }
  .prod-images-sidebar .thumb-wrap img { width: 100%; height: 100%; }
}

/* ===== MOBILE LINE CARDS like laptop (2026-09-10) ===== */
@media (max-width: 640px) {
  .product-grid, .related-products-grid { grid-template-columns: 1fr !important; grid-auto-rows: auto !important; }
  .product-card { flex-direction: row !important; align-items: center !important; height: auto !important; min-height: 160px !important; max-height: none !important; }
  .product-img-col { width: 150px !important; min-width: 150px !important; height: 130px !important; }
  .product-img { width: 150px !important; min-width: 150px !important; height: 130px !important; }
}

/* ===== MOBILE COMPACT CARDS, image same (2026-09-10) ===== */
@media (max-width: 640px) {
  .product-card { min-height: 145px !important; padding: 6px 7px !important; gap: 7px !important; }
  .product-card .card-desc { display: -webkit-box !important; -webkit-line-clamp: 1 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; font-size: 10px !important; color: var(--ink-soft) !important; line-height: 1.3 !important; margin: 1px 0 !important; opacity: 1 !important; visibility: visible !important; }
  .product-card .product-name { font-size: 13px !important; }
  .product-card .price-now { font-size: 16px !important; }
  .product-card .btn-cart { font-size: 12px !important; padding: 7px 6px !important; font-weight: 700 !important; min-height: 32px !important; margin-top: auto !important; }
  .product-card .stars { font-size: 11px !important; }
}

/* ================================================================
   WISHLIST PAGE — 3D Buttons + Mobile (2026-09-10-fix)
   ================================================================ */

/* ================================================================
   WISHLIST MOBILE FIX (2026-09-10-fix)
   ================================================================ */

/* Hide sidebars on mobile */
@media (max-width: 640px) {
  .wl-sidebars .featured-sidebar { display: none !important; }
}

/* ---- Wishlist page: same 1-line cards as shop on mobile ---- */

/* Clear All button: full width centered on mobile */

/* Empty state mobile */
@media (max-width: 640px) {
  [data-page="wishlist"] .empty-wishlist {
    min-height: 240px !important;
  }
  [data-page="wishlist"] .ew-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 28px !important;
  }
  [data-page="wishlist"] .empty-wishlist h3 {
    font-size: 16px !important;
  }
  [data-page="wishlist"] .empty-wishlist p {
    font-size: 13px !important;
  }
}

/* ================================================================
   WISHLIST — mobile single-line cards (scoped, 2026-09-10)
   ================================================================ */
@media (min-width: 641px) {
  .wl-clear-wrap { text-align: center; margin: 24px 0; }
}
@media (max-width: 640px) {
  body[data-page="wishlist"] .featured-sidebar { display: none !important; }
  body[data-page="wishlist"] .product-grid { grid-template-columns: 1fr !important; grid-auto-rows: auto !important; gap: 10px !important; }
  body[data-page="wishlist"] .product-card { height: 140px !important; min-height: 140px !important; max-height: 140px !important; padding: 6px 8px !important; gap: 8px !important; flex-direction: row !important; align-items: center !important; }
  body[data-page="wishlist"] .product-img { width: 130px !important; min-width: 130px !important; max-width: 130px !important; height: 115px !important; }
  body[data-page="wishlist"] .product-img-col { width: 130px !important; min-width: 130px !important; max-width: 130px !important; }
  body[data-page="wishlist"] .product-img svg, body[data-page="wishlist"] .product-img img { width: 100% !important; height: 100% !important; }
  body[data-page="wishlist"] .product-info { padding: 4px 6px 4px 4px !important; min-width: 0 !important; display: flex !important; flex-direction: column !important; justify-content: center !important; }
  body[data-page="wishlist"] .product-name { font-size: 13px !important; line-height: 1.25 !important; max-height: 2.5em !important; overflow: hidden !important; margin-bottom: 2px !important; }
  body[data-page="wishlist"] .price-now { font-size: 15px !important; font-weight: 800 !important; }
  body[data-page="wishlist"] .price-old, body[data-page="wishlist"] .price-was { font-size: 10px !important; }
  body[data-page="wishlist"] .stars { font-size: 11px !important; margin-bottom: 2px !important; }
  body[data-page="wishlist"] .btn-cart { width: 100% !important; padding: 7px 0 !important; font-size: 11px !important; font-weight: 800 !important; margin-top: 2px !important; border-radius: 8px !important; }
  body[data-page="wishlist"] .product-card .wish-btn { top: 4px !important; right: 4px !important; width: 26px !important; height: 26px !important; font-size: 12px !important; }
  body[data-page="wishlist"] .product-card .quickview-btn { top: 32px !important; right: 4px !important; width: 26px !important; height: 26px !important; font-size: 12px !important; }
  body[data-page="wishlist"] .product-card .badge { top: 4px !important; left: 4px !important; font-size: 8px !important; padding: 2px 6px !important; }
  body[data-page="wishlist"] .wl-clear-wrap { text-align: center !important; margin: 12px 0 16px !important; }
  body[data-page="wishlist"] .wl-clear-btn { padding: 10px 28px !important; font-size: 13px !important; }
  body[data-page="wishlist"] .empty-wishlist { min-height: 200px !important; }
  body[data-page="wishlist"] .ew-icon { width: 60px !important; height: 60px !important; font-size: 28px !important; }
}
@media (max-width: 380px) {
  body[data-page="wishlist"] .product-card { height: 120px !important; min-height: 120px !important; max-height: 120px !important; }
  body[data-page="wishlist"] .product-img, body[data-page="wishlist"] .product-img-col { width: 110px !important; min-width: 110px !important; max-width: 110px !important; height: 100px !important; }
  body[data-page="wishlist"] .product-name { font-size: 12px !important; }
  body[data-page="wishlist"] .price-now { font-size: 14px !important; }
  body[data-page="wishlist"] .btn-cart { font-size: 10px !important; padding: 6px 0 !important; }
}

/* ================================================================
   CART ROWS + QV MOBILE POLISH (2026-09-10)
   ================================================================ */
.cart-items {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
  gap: 12px !important;
}
.cart-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: 0 !important;
  max-width: none !important;
  width: 100% !important;
  flex-shrink: 1 !important;
  scroll-snap-align: none !important;
  padding: 14px !important;
  text-align: left !important;
}
.cart-item .ci-img { width: 92px !important; height: 92px !important; min-width: 92px !important; padding: 6px !important; }
.cart-item .ci-info { flex: 1 !important; min-width: 0 !important; text-align: left !important; align-items: flex-start !important; gap: 5px !important; width: auto !important; }
.cart-item .ci-name { text-align: left !important; }
.cart-item .ci-meta { white-space: normal !important; }
.cart-item .qty-control { align-self: flex-start !important; }
.cart-item .ci-price-wrap { margin-left: auto !important; align-items: flex-end !important; border-top: none !important; padding-top: 0 !important; width: auto !important; min-width: 110px !important; padding-right: 30px !important; }
.cart-item .ci-remove { top: 10px !important; right: 10px !important; }

/* QV mobile polish */
@media (max-width: 640px) {
  .qv-overlay { padding: 10px !important; }
  .qv-modal { width: 100% !important; max-height: 92vh !important; border-radius: 14px !important; }
  .qv-body { padding: 14px !important; gap: 12px !important; }
  .qv-image { min-height: 0 !important; max-height: 220px !important; }
  .qv-image img { max-height: 220px !important; }
  .qv-actions { display: flex !important; flex-direction: column !important; gap: 8px !important; }
  .qv-actions .btn-cart, .qv-actions .btn { width: 100% !important; justify-content: center !important; padding: 11px !important; font-size: 14px !important; }
  .qv-close { top: 8px !important; right: 8px !important; width: 34px !important; height: 34px !important; background: rgba(255,255,255,0.9) !important; box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important; }
  .qv-info h3 { font-size: 15px !important; padding-right: 30px !important; }
  .qv-price-now { font-size: 19px !important; }
  /* cart rows compact */
  .cart-item { gap: 10px !important; padding: 10px !important; }
  .cart-item .ci-img { width: 70px !important; height: 70px !important; min-width: 70px !important; }
  .cart-item .ci-name { font-size: 13px !important; }
  .cart-item .ci-price { font-size: 16px !important; }
  .cart-item .ci-price-unit { font-size: 11px !important; }
  .cart-item .ci-price-wrap { min-width: 0 !important; padding-right: 26px !important; }
  .cart-item .qty-control button { width: 26px !important; height: 26px !important; font-size: 13px !important; }
  .cart-item .qty-control span { width: 28px !important; font-size: 13px !important; }
}
@media (max-width: 380px) {
  .cart-item .ci-img { width: 58px !important; height: 58px !important; min-width: 58px !important; }
  .cart-item .ci-name { font-size: 12px !important; }
  .cart-item .ci-price { font-size: 15px !important; }
}

/* Desktop cart qty dead-center (2026-09-10) */
/* ========== HERO UPGRADE — Product Slides ========== */
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.hero-slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(8,12,24,0.85) 50%, rgba(8,12,24,0.95) 100%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-slide-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.hero-slide-prices {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-slide-orig {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-decoration: line-through;
}
.hero-slide-sale {
  font-size: 16px;
  font-weight: 800;
  color: #4ade80;
  font-family: var(--font-display);
}
.hero-slide-cta {
  align-self: flex-start;
  padding: 6px 16px !important;
  font-size: 11px !important;
  border-radius: 8px !important;
  margin-top: 4px;
}

/* ========== TRUST BADGES STRIP ========== */
.trust-badges-strip {
  padding: 0 24px;
  margin: -10px auto 0;
  position: relative;
  z-index: 5;
}
.trust-badges-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  width: 100%;
  gap: 12px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-lg, 16px);
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
}
.tb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease;
}
.tb-item:hover { transform: translateY(-2px); }
.tb-icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
  border-radius: 10px;
}
.tb-item strong {
  font-size: 12px;
  color: var(--ink, #1e293b);
  display: block;
  line-height: 1.3;
}
.tb-item span {
  font-size: 11px;
  color: var(--ink-soft, #64748b);
  line-height: 1.3;
}

/* ========== FLOATING BADGES — 3 chips ========== */
.floating-chip.chip-2 {
  top: auto;
  bottom: 18%;
  right: -4%;
  left: auto;
  animation-delay: -2s;
}
.floating-chip.chip-3 {
  top: 8%;
  right: auto;
  left: 55%;
  animation-delay: -0.5s;
  background: rgba(255,255,255,0.85);
}
.floating-chip.chip-2 .dot { background: #f59e0b; }
.floating-chip.chip-3 .dot { background: #8b5cf6; }

/* ========== HERO — Subtle animated gradient ========== */
@keyframes heroGlow {
  0%, 100% { opacity: 0.12; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(1.05); }
}
.hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(59,130,246,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: heroGlow 6s ease-in-out infinite;
}

/* ========== HERO STATS — Glass pills ========== */
.hero-stats {
  gap: 16px !important;
}
.hero-stats div {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 10px 16px;
  text-align: center;
  transition: background 0.2s ease;
}
.hero-stats div:hover {
  background: rgba(255,255,255,0.14);
}

/* ========== RESPONSIVE — Trust badges mobile ========== */
@media(max-width:768px) {
  .trust-badges-row { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px 16px; }
  .hero-slide-info { padding: 14px 16px; }
  .hero-slide-name { font-size: 13px; }
  .hero-slide-sale { font-size: 14px; }
  .floating-chip.chip-2, .floating-chip.chip-3 { display: none; }
}
@media(max-width:480px) {
  .trust-badges-strip { padding: 0 16px; }
  .trust-badges-row { grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
  .tb-item strong { font-size: 11px; }
  .tb-item span { font-size: 10px; }
}

@media (min-width: 641px) {
  body .cart-item .ci-info { align-items: center !important; text-align: center !important; justify-content: center !important; }
  body .cart-item .ci-info .ci-name, body .cart-item .ci-info .ci-meta { text-align: center !important; }
  body .cart-item .ci-info .qty-control { align-self: center !important; margin: 6px auto !important; }
  body .cart-item .ci-info .ci-ship-badge { align-self: center !important; }
}

/* ========== REVIEW IMAGE BOXES ========== */
.rv-img-box-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.rv-img-box {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 10px;
  border: 1.5px solid var(--line, #e5e7eb);
  background: var(--bg-soft, #f8fafc);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  flex: 0 0 auto;
}
.rv-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rv-img-box-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: #dc2626;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  padding: 0;
  z-index: 2;
}
.rv-img-box-remove:hover { background: #b91c1c; }
.rv-img-box.is-linked { cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; }
.rv-img-box.is-linked:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.rv-img-box.has-verified { overflow: visible; }
.rv-img-box.has-verified img { border-radius: 8px; }
.rv-verified-tag {
  position: absolute;
  left: 4px;
  bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #059669;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}
.rv-verified-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  font-size: 9px;
  line-height: 1;
}
.rv-reviewer-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}
.rv-reviewer-verified::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #059669;
  color: #fff;
  font-size: 9px;
}
.rv-screenshot-preview.rv-img-box-grid,
.rv-screenshot-preview {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.rv-screenshot-preview[style*="flex"],
.rv-screenshot-preview:not([style*="none"]) {
  display: flex;
}
.rv-screenshots.rv-img-box-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* ========== REVIEW CONFIRM POPUP ========== */
.rv-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}
.rv-confirm-modal {
  background: var(--white, #fff);
  border-radius: 16px;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  animation: popIn 0.25s ease;
}
.rv-confirm-header {
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--line, #e5e7eb);
}
.rv-confirm-header h4 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink, #0f172a);
}
.rv-confirm-header p {
  margin: 0;
  font-size: 13px;
  color: var(--gray, #64748b);
}
.rv-confirm-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}
.rv-confirm-card {
  border: 1.5px solid var(--line, #e5e7eb);
  border-radius: 12px;
  padding: 14px;
  background: var(--bg-soft, #f8fafc);
}
.rv-confirm-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.rv-confirm-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue, #2563eb);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rv-confirm-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink, #0f172a);
}
.rv-confirm-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1.4;
}
.rv-confirm-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink, #0f172a);
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 8px;
}
.rv-confirm-text.is-empty {
  color: var(--gray, #64748b);
  font-style: italic;
}
.rv-confirm-imgs-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.rv-confirm-imgs .rv-img-box {
  width: 96px;
  height: 96px;
}
.rv-confirm-contact {
  font-size: 12px;
  color: var(--gray, #64748b);
  margin-top: 8px;
  word-break: break-all;
}
.rv-confirm-actions {
  display: flex;
  gap: 10px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line, #e5e7eb);
  background: var(--white, #fff);
}
@media (max-width: 480px) {
  .rv-confirm-modal { max-width: 100%; border-radius: 14px; }
  .rv-confirm-imgs .rv-img-box { width: 72px; height: 72px; }
  .rv-img-box { width: 72px; height: 72px; }
  .rv-confirm-actions { flex-direction: column-reverse; }
  .rv-confirm-actions .btn { width: 100%; }
}
