/*
Theme Name:  Haizum Store Pro
Theme URI:   https://haizum.com
Author:      Haizum Agency
Author URI:  https://haizum.com
Description: Universal premium WooCommerce theme for any ecommerce store. Fashion, electronics, cosmetics, gifts, grocery — one theme fits all. Haizum Growth Plan ₹999/month.
Version:     1.0.0
Requires at least: 6.2
Tested up to:      6.6
WC requires at least: 8.0
WC tested up to:      9.0
Requires PHP:  8.0
License:       GNU General Public License v2 or later
License URI:   https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:   haizum-store-pro
Tags:          woocommerce, e-commerce, dark, modern, mobile-first, conversion, universal
*/

/* ════════════════════════════════════════════════════════════════
   HAIZUM STORE PRO — UNIVERSAL DESIGN SYSTEM v1.0
   Works for: Fashion · Electronics · Cosmetics · Grocery · Gifts
   ════════════════════════════════════════════════════════════════ */

/* ── LAYER 1: DESIGN TOKENS ─────────────────────────────────── */
:root {
  /* These are the ONLY values you need to change to rebrand */

  /* Primary Accent — default: Electric Blue (change to any color) */
  --accent:          #6366f1;   /* Main brand color */
  --accent-2:        #8b5cf6;   /* Secondary accent for gradients */
  --accent-light:    rgba(99,102,241,0.15);
  --accent-glow:     rgba(99,102,241,0.25);

  /* Background Palette — Dark Mode */
  --bg-0:   #080810;   /* Darkest — page background */
  --bg-1:   #0e0e1a;   /* Sections on top of page */
  --bg-2:   #13131f;   /* Cards, elevated surfaces */
  --bg-3:   #1a1a2a;   /* Hover states, subtle lift */
  --bg-4:   #22223a;   /* Borders, dividers */
  --bg-5:   #2d2d4a;   /* Active states */

  /* Text */
  --text-1:  #f0efff;   /* Primary — headings */
  --text-2:  #a8a7c4;   /* Secondary — body */
  --text-3:  #6564a0;   /* Tertiary — captions */
  --text-inv:#080810;   /* On accent backgrounds */

  /* Border */
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --border-accent:rgba(99,102,241,0.35);

  /* Status colors */
  --green:  #22c55e;
  --red:    #ef4444;
  --yellow: #f59e0b;
  --blue:   #3b82f6;

  /* Typography */
  --font-head:  'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body:  'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing scale */
  --s1:  4px;  --s2:  8px;   --s3:  12px; --s4:  16px;
  --s5:  20px; --s6:  24px;  --s8:  32px; --s10: 40px;
  --s12: 48px; --s16: 64px;  --s20: 80px; --s24: 96px;

  /* Border radius */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   22px;
  --r-2xl:  32px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.5);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.6);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.75);
  --shadow-xl:  0 16px 60px rgba(0,0,0,0.9);
  --glow:       0 0 30px rgba(99,102,241,0.2);
  --glow-sm:    0 0 14px rgba(99,102,241,0.2);

  /* Motion */
  --ease:      cubic-bezier(0.16,1,0.3,1);
  --ease-in:   cubic-bezier(0.7,0,0.84,0);
  --t-fast:    100ms;
  --t-base:    200ms;
  --t-slow:    360ms;
  --t-xl:      600ms;

  /* Layout */
  --max-w:     1320px;
  --header-h:  68px;
  --bar-h:     38px;
  --sidebar-w: 256px;
}

/* ── LAYER 2: RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--bg-0);
  color: var(--text-2);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  color: var(--text-1);
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem,4.5vw,3rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem,3vw,2.3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.1rem,2vw,1.5rem); letter-spacing: -0.02em; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-2); line-height: 1.75; }

/* ── LAYER 3: LAYOUT ─────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s6);
}
@media (max-width: 640px) { .wrap { padding: 0 var(--s4); } }

.sec     { padding: var(--s24) 0; }
.sec-sm  { padding: var(--s16) 0; }
.sec-xs  { padding: var(--s12) 0; }

.grid-2  { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--s6); }
.grid-3  { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s6); }
.grid-4  { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s5); }
.grid-5  { display: grid; grid-template-columns: repeat(5,1fr); gap: var(--s4); }
.grid-6  { display: grid; grid-template-columns: repeat(6,1fr); gap: var(--s4); }

@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(3,1fr); }
  .grid-6 { grid-template-columns: repeat(4,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-5,.grid-6 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 500px) {
  .grid-2,.grid-3,.grid-4,.grid-5,.grid-6 { grid-template-columns: 1fr; }
}

.flex         { display: flex; }
.flex-col     { display: flex; flex-direction: column; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-start   { display: flex; align-items: center; }
.gap-2 { gap: var(--s2); } .gap-3 { gap: var(--s3); }
.gap-4 { gap: var(--s4); } .gap-6 { gap: var(--s6); }

/* ── LAYER 4: TYPOGRAPHY HELPERS ────────────────────────────── */
.label-tag {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-light); border: 1px solid var(--border-accent);
  padding: 4px 12px; border-radius: var(--r-full);
}
.label-tag::before { content:''; width:5px; height:5px; background:var(--accent); border-radius:50%; }

.sec-head { margin-bottom: var(--s12); }
.sec-head.center { text-align: center; }
.sec-head.center .label-tag { margin: 0 auto var(--s4); }
.sec-head .label-tag { margin-bottom: var(--s4); }
.sec-head h2 { margin-bottom: var(--s3); }
.sec-head h2 em { font-style: italic; color: var(--accent); }
.sec-head p { font-size: 1rem; max-width: 520px; }
.sec-head.center p { margin: 0 auto; }

.t-accent   { color: var(--accent); }
.t-muted    { color: var(--text-2); }
.t-faint    { color: var(--text-3); }
.t-center   { text-align: center; }
.fw-700     { font-weight: 700; }
.fw-600     { font-weight: 600; }
.fs-sm      { font-size: 0.82rem; }
.fs-xs      { font-size: 0.72rem; }
.ff-head    { font-family: var(--font-head); }
.upper      { text-transform: uppercase; letter-spacing: 0.06em; }

/* ── LAYER 5: BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s2); font-family: var(--font-head); font-size: 0.88rem;
  font-weight: 600; padding: 12px 24px; border-radius: var(--r-md);
  cursor: pointer; transition: all var(--t-base) var(--ease);
  white-space: nowrap; line-height: 1; border: none;
  text-decoration: none; position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg,transparent 40%,rgba(255,255,255,0.12) 50%,transparent 60%);
  transform: translateX(-100%); transition: transform 0.5s var(--ease);
}
.btn:hover::after { transform: translateX(100%); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff; box-shadow: 0 4px 18px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--accent-glow), var(--glow); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--bg-3); color: var(--text-1);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-4); border-color: var(--border-hover); }

.btn-outline {
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-3); color: var(--text-1); }

.btn-wa { background: #25D366; color: #fff; box-shadow: 0 4px 18px rgba(37,211,102,0.25); }
.btn-wa:hover { background: #1fbc59; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.4); }

.btn-lg   { padding: 15px 36px; font-size: 0.95rem; border-radius: var(--r-lg); }
.btn-xl   { padding: 17px 44px; font-size: 1.05rem; border-radius: var(--r-lg); }
.btn-sm   { padding: 8px 18px; font-size: 0.8rem; border-radius: var(--r-sm); }
.btn-block { width: 100%; }
.btn-icon  { width: 40px; height: 40px; padding: 0; flex-shrink: 0; border-radius: var(--r-md); }

/* ── LAYER 6: BADGES ────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 8px; border-radius: var(--r-full);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
}
.badge-sale    { background: var(--red); color: #fff; }
.badge-new     { background: var(--accent); color: #fff; }
.badge-hot     { background: #ea580c; color: #fff; }
.badge-free    { background: var(--green); color: #fff; }
.badge-trend   { background: linear-gradient(135deg,#ec4899,#a855f7); color: #fff; }
.badge-out     { background: var(--bg-4); color: var(--text-3); border: 1px solid var(--border); }

/* ── LAYER 7: ANNOUNCEMENT BAR ──────────────────────────────── */
.announce-bar {
  height: var(--bar-h);
  background: linear-gradient(90deg, var(--bg-2), var(--bg-3), var(--bg-2));
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 201; overflow: hidden;
}
.announce-bar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,transparent,var(--accent),transparent);
}
.announce-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-w); padding: 0 var(--s6);
}
.announce-msgs {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: var(--s8); font-size: 0.72rem; font-weight: 500;
  color: var(--text-2); overflow: hidden;
}
.announce-msgs span { display: flex; align-items: center; gap: var(--s1); white-space: nowrap; }
.announce-msgs .hi  { color: var(--accent); font-weight: 700; }
.announce-dot { width: 3px; height: 3px; background: var(--bg-5); border-radius: 50%; }
.announce-wa {
  font-size: 0.7rem; font-weight: 700; color: #25D366;
  display: flex; align-items: center; gap: var(--s1);
  transition: color var(--t-fast); white-space: nowrap; flex-shrink: 0;
}
.announce-wa:hover { color: #1fbc59; }
@media (max-width: 640px) {
  .announce-msgs span:not(:first-child) { display: none; }
  .announce-dot { display: none; }
  .announce-wa { display: none; }
}

/* ── LAYER 8: HEADER ─────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--header-h);
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-base), border-color var(--t-base);
}
.site-header.scrolled {
  background: rgba(8,8,16,0.97);
  border-color: var(--border-hover);
}
.header-row { display: flex; align-items: center; height: 100%; gap: var(--s5); }

/* Logo */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 36px; width: auto; }
.logo-text {
  font-family: var(--font-head); font-size: 1.45rem; font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-1) 0%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Primary Nav */
.hdr-nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: var(--s1); }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex; align-items: center; gap: 3px;
  padding: var(--s2) var(--s3); font-size: 0.83rem; font-weight: 500;
  color: var(--text-2); border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a { color: var(--text-1); background: var(--bg-3); }
.nav-list > li.current-menu-item > a { color: var(--accent); }

/* Dropdown */
.nav-list .sub-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 200px; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--s2); box-shadow: var(--shadow-xl);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all var(--t-base) var(--ease); z-index: 300;
}
.nav-list > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-list .sub-menu li a {
  display: block; padding: var(--s2) var(--s3); font-size: 0.83rem;
  color: var(--text-2); border-radius: var(--r-sm); transition: all var(--t-fast);
}
.nav-list .sub-menu li a:hover { background: var(--bg-3); color: var(--accent); padding-left: var(--s4); }

/* Search */
.hdr-search { position: relative; flex-shrink: 0; }
.hdr-search-input {
  width: 200px; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 8px 16px 8px 38px;
  color: var(--text-1); font-size: 0.82rem; outline: none;
  transition: all var(--t-base);
}
.hdr-search-input::placeholder { color: var(--text-3); }
.hdr-search-input:focus {
  border-color: var(--accent); background: var(--bg-4);
  width: 260px; box-shadow: 0 0 0 3px var(--accent-light);
}
.hdr-search-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.hdr-search-icon svg { width: 15px; height: 15px; }

/* Actions */
.hdr-actions { display: flex; align-items: center; gap: var(--s2); flex-shrink: 0; }
.hdr-btn {
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: var(--bg-3); border: 1px solid var(--border);
  color: var(--text-2); display: flex; align-items: center; justify-content: center;
  position: relative; transition: all var(--t-fast); flex-shrink: 0;
}
.hdr-btn:hover { background: var(--bg-4); border-color: var(--border-accent); color: var(--accent); }
.hdr-btn svg { width: 17px; height: 17px; }
.hdr-count {
  position: absolute; top: -5px; right: -5px;
  min-width: 17px; height: 17px; background: var(--accent);
  color: #fff; font-size: 9px; font-weight: 800;
  border-radius: var(--r-full); display: flex; align-items: center;
  justify-content: center; padding: 0 3px; line-height: 1;
}

/* Mobile toggle */
.menu-toggle {
  display: none; width: 40px; height: 40px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r-md); flex-direction: column;
  align-items: center; justify-content: center; gap: 4.5px; padding: 10px;
}
.menu-toggle span {
  display: block; width: 100%; height: 1.5px;
  background: var(--text-1); border-radius: 2px;
  transition: all var(--t-base) var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  .hdr-nav, .hdr-search { display: none; }
  .menu-toggle { display: flex; }
}

/* Drawer */
.nav-drawer { position: fixed; inset: 0; z-index: 500; display: none; }
.nav-drawer.open { display: flex; }
.drawer-back {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(4px);
  animation: fadeIn var(--t-base) var(--ease);
}
.drawer-panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 300px; max-width: 100vw;
  background: var(--bg-2); border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  animation: slideInRight var(--t-slow) var(--ease);
  overflow-y: auto;
}
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s5) var(--s6); border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.drawer-body { flex: 1; padding: var(--s4); }
.drawer-body ul { display: flex; flex-direction: column; gap: 2px; }
.drawer-body li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s3) var(--s4); font-size: 0.95rem; font-weight: 500;
  color: var(--text-2); border-radius: var(--r-md);
  border-bottom: 1px solid var(--border); transition: all var(--t-fast);
}
.drawer-body li a:hover { background: var(--bg-3); color: var(--accent); }
.drawer-foot { padding: var(--s6); border-top: 1px solid var(--border); flex-shrink: 0; }

@keyframes fadeIn    { from { opacity: 0; }             to { opacity: 1; } }
@keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes fadeUp    { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blink     { 50% { opacity: 0; } }
@keyframes waPulse   { 0%,100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}50%{box-shadow:0 0 0 10px rgba(37,211,102,.12)} }
@keyframes waFloat   { 0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)} }

/* ── LAYER 9: HERO SLIDER ───────────────────────────────────── */
.hero-section {
  position: relative; overflow: hidden;
  height: min(88vh, 680px); background: var(--bg-1);
}
@media (max-width: 768px) { .hero-section { height: 100svh; max-height: 640px; } }

.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-xl) var(--ease);
}
.hero-slide.active { opacity: 1; pointer-events: auto; }

.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg-grad {
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    rgba(8,8,16,0.94) 0%,
    rgba(8,8,16,0.65) 50%,
    rgba(8,8,16,0.15) 100%);
}
.hero-bg-dot {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: radial-gradient(circle at 1px 1px, var(--accent) 1px, transparent 0);
  background-size: 36px 36px;
}
.hero-content { position: relative; z-index: 2; max-width: 580px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--s3);
  margin-bottom: var(--s5);
}
.hero-eyebrow-bar { width: 32px; height: 2px; background: var(--accent); }
.hero-eyebrow-txt {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
}
.hero-title {
  font-size: clamp(2rem,5vw,3.8rem); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.05;
  color: var(--text-1); margin-bottom: var(--s5);
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: clamp(0.9rem,1.8vw,1.05rem); color: var(--text-2);
  margin-bottom: var(--s8); max-width: 440px; line-height: 1.7;
}
.hero-btns { display: flex; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s10); }
.hero-stats { display: flex; gap: var(--s8); }
.hero-stat-val  { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; color: var(--accent); line-height: 1; }
.hero-stat-lbl  { font-size: 0.68rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 3px; }

.hero-arrows {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 100%; display: flex; justify-content: space-between;
  padding: 0 var(--s6); z-index: 10; pointer-events: none;
}
.hero-arrow {
  pointer-events: all; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(8,8,16,0.6); backdrop-filter: blur(10px);
  border: 1px solid var(--border-hover); color: var(--text-1);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--t-base);
}
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.hero-arrow svg { width: 18px; height: 18px; }

.hero-dots {
  position: absolute; bottom: var(--s8); left: 50%;
  transform: translateX(-50%); display: flex; gap: var(--s3); z-index: 10;
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.25); border: none; cursor: pointer;
  transition: all var(--t-base) var(--ease); padding: 0;
}
.hero-dot.active { background: var(--accent); width: 22px; border-radius: var(--r-full); box-shadow: var(--glow-sm); }

@media (max-width: 768px) {
  .hero-arrows { display: none; }
  .hero-stats  { display: none; }
}

/* ── LAYER 10: PRODUCT CARDS ────────────────────────────────── */
.product-grid   { display: grid; gap: var(--s5); }
.product-grid-4 { grid-template-columns: repeat(4,1fr); }
.product-grid-3 { grid-template-columns: repeat(3,1fr); }

@media (max-width: 1024px) { .product-grid-4 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px)  { .product-grid-4,.product-grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 420px)  { .product-grid-4,.product-grid-3 { grid-template-columns: 1fr; } }

.product-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  transition: transform var(--t-slow) var(--ease), border-color var(--t-base), box-shadow var(--t-slow) var(--ease);
}
.product-card:hover {
  transform: translateY(-5px); border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), var(--glow);
}
.product-thumb {
  position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--bg-3);
}
.product-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-xl) var(--ease);
}
.product-card:hover .product-thumb img { transform: scale(1.07); }

.product-badges { position: absolute; top: var(--s3); left: var(--s3); display: flex; flex-direction: column; gap: 4px; z-index: 2; }

.product-hover-btns {
  position: absolute; bottom: var(--s3); left: var(--s3); right: var(--s3);
  display: flex; gap: var(--s2); opacity: 0; transform: translateY(10px);
  transition: all var(--t-base) var(--ease); z-index: 3;
}
.product-card:hover .product-hover-btns { opacity: 1; transform: translateY(0); }

.p-wish-btn {
  width: 36px; height: 36px; border-radius: var(--r-md);
  background: rgba(8,8,16,0.82); backdrop-filter: blur(8px);
  border: 1px solid var(--border-hover); color: var(--text-1);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--t-fast); flex-shrink: 0;
}
.p-wish-btn:hover, .p-wish-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.p-wish-btn svg { width: 15px; height: 15px; }

.p-qv-btn {
  flex: 1; height: 36px; border-radius: var(--r-md);
  background: rgba(8,8,16,0.82); backdrop-filter: blur(8px);
  border: 1px solid var(--border-hover); color: var(--text-1);
  font-size: 0.7rem; font-weight: 600; display: flex; align-items: center;
  justify-content: center; gap: 4px; cursor: pointer; transition: all var(--t-fast);
  white-space: nowrap;
}
.p-qv-btn:hover { background: var(--bg-4); border-color: var(--accent); color: var(--accent); }
.p-qv-btn svg { width: 13px; height: 13px; }

.product-info { padding: var(--s4); }
.product-cat {
  font-size: 0.68rem; color: var(--accent); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--s2);
}
.product-name {
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 600;
  color: var(--text-1); line-height: 1.4; margin-bottom: var(--s2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--accent); }

.product-stars { display: flex; align-items: center; gap: 3px; margin-bottom: var(--s3); color: var(--yellow); }
.product-stars svg { width: 11px; height: 11px; fill: currentColor; }
.product-stars span { font-size: 0.68rem; color: var(--text-3); margin-left: 2px; }

.product-pricing { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s3); }
.product-price { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--accent); line-height: 1; }
.product-price-old { font-size: 0.8rem; color: var(--text-3); text-decoration: line-through; }
.product-price-off { font-size: 0.68rem; color: var(--green); background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2); padding: 2px 6px; border-radius: var(--r-full); font-weight: 700; }

.product-atc-btn {
  width: 100%; padding: 9px; border-radius: var(--r-md);
  background: var(--bg-3); border: 1px solid var(--border);
  color: var(--text-1); font-size: 0.8rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: var(--s2);
  cursor: pointer; transition: all var(--t-base) var(--ease);
}
.product-atc-btn svg { width: 14px; height: 14px; }
.product-atc-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.product-atc-btn.loading { background: var(--accent); border-color: var(--accent); color: #fff; opacity: 0.75; }
.product-atc-btn.added   { background: var(--green); border-color: var(--green); color: #fff; }

/* ── LAYER 11: CATEGORY CARDS ───────────────────────────────── */
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  cursor: pointer; aspect-ratio: 1/1; background: var(--bg-3);
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-xl) var(--ease);
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,16,0.9) 0%, rgba(8,8,16,0.1) 55%, transparent 100%);
}
.cat-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--s5); }
.cat-card-name { font-family: var(--font-head); font-size: clamp(0.9rem,1.5vw,1.15rem); font-weight: 700; color: var(--text-1); margin-bottom: 3px; }
.cat-card-count { font-size: 0.72rem; color: var(--text-3); }
.cat-card-arrow {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.72rem; font-weight: 600; color: var(--accent);
  opacity: 0; transform: translateY(5px); margin-top: var(--s2);
  transition: all var(--t-base) var(--ease);
}
.cat-card:hover .cat-card-arrow { opacity: 1; transform: translateY(0); }
.cat-card-arrow svg { width: 13px; height: 13px; }

/* ── LAYER 12: PROMO BANNER ─────────────────────────────────── */
.promo-banner {
  position: relative; overflow: hidden;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.promo-banner::before {
  content: ''; position: absolute;
  top: -40%; right: -5%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.promo-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: var(--s10);
  padding: var(--s16) 0;
}
@media (max-width: 768px) {
  .promo-grid { grid-template-columns: 1fr; text-align: center; }
  .promo-divider { display: none; }
}
.promo-tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: var(--s3);
}
.promo-title {
  font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800;
  line-height: 1.1; margin-bottom: var(--s4);
}
.promo-title span { color: var(--accent); }
.promo-sub  { color: var(--text-2); font-size: 0.95rem; margin-bottom: var(--s6); }
.promo-divider { width: 1px; height: 160px; background: var(--border); margin: auto; }

/* Countdown */
.countdown { display: flex; gap: var(--s3); margin-bottom: var(--s6); }
.countdown-unit { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.countdown-val {
  font-family: var(--font-head); font-size: clamp(1.8rem,3.5vw,2.5rem); font-weight: 800;
  color: var(--accent); background: var(--bg-3); border: 1px solid var(--border-accent);
  border-radius: var(--r-md); width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1; box-shadow: var(--glow-sm);
}
.countdown-lbl { font-size: 0.68rem; color: var(--text-3); letter-spacing: 0.1em; text-transform: uppercase; }
.countdown-sep {
  font-family: var(--font-head); font-size: 1.8rem;
  color: var(--accent); line-height: 64px; opacity: 0.5;
  animation: blink 1s step-end infinite;
}
@media (max-width: 768px) { .countdown { justify-content: center; } }

/* ── LAYER 13: CAROUSEL ─────────────────────────────────────── */
.carousel-outer { position: relative; overflow: hidden; }
.carousel-track  { display: flex; gap: var(--s5); transition: transform var(--t-slow) var(--ease); }
.carousel-slide  { flex: 0 0 calc(25% - 15px); min-width: 0; }

@media (max-width: 1024px) { .carousel-slide { flex: 0 0 calc(33.333% - 13px); } }
@media (max-width: 640px)  { .carousel-slide { flex: 0 0 calc(50% - 10px); } }

.carousel-btns { display: flex; gap: var(--s2); margin-top: var(--s8); justify-content: center; }
.carousel-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--text-2); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--t-base);
}
.carousel-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.carousel-btn svg { width: 17px; height: 17px; }

/* ── LAYER 14: ABOUT ────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s16); align-items: center; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: var(--s12); } }

.about-visual { position: relative; }
.about-main-img { border-radius: var(--r-2xl); overflow: hidden; aspect-ratio: 4/5; background: var(--bg-3); }
.about-main-img img { width: 100%; height: 100%; object-fit: cover; }

.about-float-card {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: var(--s4) var(--s5);
  box-shadow: var(--shadow-md); min-width: 150px;
}
.about-float-val  { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--accent); line-height: 1; }
.about-float-lbl  { font-size: 0.7rem; color: var(--text-3); margin-top: 3px; }

@media (max-width: 768px) { .about-float-card { bottom: 16px; right: 16px; } }

.about-tag { color: var(--accent); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--s4); }

.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-bottom: var(--s8); }
.about-pillar {
  padding: var(--s4); background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); display: flex; gap: var(--s3); align-items: flex-start;
  transition: border-color var(--t-fast);
}
.about-pillar:hover { border-color: var(--border-accent); }
.about-pillar-ico {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--accent-light); display: flex; align-items: center;
  justify-content: center; color: var(--accent); flex-shrink: 0;
}
.about-pillar-ico svg { width: 16px; height: 16px; }
.about-pillar strong { display: block; font-size: 0.82rem; color: var(--text-1); margin-bottom: 2px; }
.about-pillar span   { font-size: 0.72rem; color: var(--text-3); }

/* ── LAYER 15: TESTIMONIALS ─────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s5); }
@media (max-width: 1024px) { .testi-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .testi-grid { grid-template-columns: 1fr; } }

.testi-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: var(--s8);
  transition: all var(--t-base) var(--ease);
}
.testi-card:hover { border-color: var(--border-accent); box-shadow: var(--glow-sm); transform: translateY(-3px); }
.testi-quote { color: var(--accent); opacity: 0.3; margin-bottom: var(--s4); }
.testi-quote svg { width: 28px; height: 28px; fill: currentColor; }
.testi-stars { display: flex; gap: 2px; color: var(--yellow); margin-bottom: var(--s4); }
.testi-stars svg { width: 13px; height: 13px; fill: currentColor; }
.testi-text { font-size: 0.88rem; color: var(--text-2); line-height: 1.75; font-style: italic; margin-bottom: var(--s6); }
.testi-author { display: flex; align-items: center; gap: var(--s3); }
.testi-ava {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: #fff;
  overflow: hidden; flex-shrink: 0; border: 2px solid var(--border-accent);
}
.testi-ava img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-size: 0.82rem; font-weight: 700; color: var(--text-1); }
.testi-meta { font-size: 0.7rem; color: var(--text-3); margin-top: 2px; }

/* ── LAYER 16: NEWSLETTER ───────────────────────────────────── */
.newsletter-sec {
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.newsletter-sec::before {
  content: ''; position: absolute; top: -50%; left: -10%;
  width: 450px; height: 450px;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  pointer-events: none;
}
.newsletter-inner { text-align: center; max-width: 560px; margin: 0 auto; position: relative; }
.newsletter-form { display: flex; gap: var(--s3); max-width: 440px; margin: 0 auto; }
.newsletter-input {
  flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--border-hover);
  border-radius: var(--r-md); padding: 12px 16px; color: var(--text-1);
  font-size: 0.88rem; outline: none; transition: all var(--t-base);
}
.newsletter-input::placeholder { color: var(--text-3); }
.newsletter-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.newsletter-note { font-size: 0.7rem; color: var(--text-3); margin-top: var(--s3); }
@media (max-width: 480px) { .newsletter-form { flex-direction: column; } .newsletter-form .btn { width: 100%; } }

/* ── LAYER 17: WA BANNER ────────────────────────────────────── */
.wa-banner {
  background: linear-gradient(135deg, #052715 0%, #072e1a 100%);
  border-top: 1px solid rgba(37,211,102,0.18);
  border-bottom: 1px solid rgba(37,211,102,0.18);
  position: relative; overflow: hidden;
}
.wa-banner-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s10); padding: var(--s16) 0; }
@media (max-width: 768px) { .wa-banner-row { flex-direction: column; text-align: center; gap: var(--s8); } }
.wa-icon-ring {
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(37,211,102,0.12); border: 2px solid rgba(37,211,102,0.22);
  display: flex; align-items: center; justify-content: center;
  color: #25D366; flex-shrink: 0; animation: waPulse 2.2s ease-in-out infinite;
}
.wa-icon-ring svg { width: 36px; height: 36px; fill: currentColor; }
.wa-text h2 { color: #fff; margin-bottom: var(--s3); }
.wa-text p  { color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.wa-btns    { display: flex; gap: var(--s4); flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 768px) { .wa-btns { justify-content: center; } }

/* ── LAYER 18: FOOTER ───────────────────────────────────────── */
.site-footer { background: var(--bg-1); border-top: 1px solid var(--border); }
.footer-main { padding: var(--s20) 0 var(--s16); }
.footer-cols { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.4fr; gap: var(--s12); }
@media (max-width: 1024px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
@media (max-width: 640px)  { .footer-cols { grid-template-columns: 1fr; gap: var(--s8); } }

.footer-brand .logo-text { display: block; margin-bottom: var(--s5); }
.footer-brand p { font-size: 0.82rem; line-height: 1.75; max-width: 280px; margin-bottom: var(--s6); }
.footer-trust { display: flex; flex-direction: column; gap: var(--s3); margin-bottom: var(--s6); }
.footer-trust-item { display: flex; align-items: center; gap: var(--s3); font-size: 0.8rem; color: var(--text-2); }
.footer-trust-item svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
.social-links { display: flex; gap: var(--s2); }
.social-btn {
  width: 36px; height: 36px; border-radius: var(--r-md);
  background: var(--bg-3); border: 1px solid var(--border);
  color: var(--text-2); display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
}
.social-btn svg { width: 15px; height: 15px; }
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.footer-col h6 {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: var(--s5); font-family: var(--font-head);
}
.footer-links { display: flex; flex-direction: column; gap: var(--s3); }
.footer-links a { font-size: 0.82rem; color: var(--text-2); transition: all var(--t-fast); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.footer-contact { display: flex; flex-direction: column; gap: var(--s4); }
.footer-contact-item { display: flex; gap: var(--s3); align-items: flex-start; }
.footer-contact-item svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span, .footer-contact-item a { font-size: 0.82rem; color: var(--text-2); line-height: 1.5; }
.footer-contact-item a:hover { color: var(--accent); }

.footer-pay { display: flex; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s5); }
.pay-badge {
  padding: 4px 9px; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r-sm); font-size: 0.68rem; font-weight: 700;
  color: var(--text-3); letter-spacing: 0.04em;
}
.footer-bottom {
  padding: var(--s5) 0; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s4);
}
.footer-bottom p    { font-size: 0.72rem; color: var(--text-3); margin: 0; }
.footer-bottom a    { font-size: 0.72rem; color: var(--text-3); transition: color var(--t-fast); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom-links { display: flex; gap: var(--s5); flex-wrap: wrap; }

/* ── LAYER 19: WOOCOMMERCE ──────────────────────────────────── */
/* Shop layout */
.shop-wrap { padding: var(--s12) 0 var(--s24); }
.shop-layout { display: grid; grid-template-columns: var(--sidebar-w) 1fr; gap: var(--s10); align-items: start; }
@media (max-width: 1024px) { .shop-layout { grid-template-columns: 1fr; } }

.shop-sidebar {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: var(--s6);
  position: sticky; top: calc(var(--header-h) + var(--s6));
}
@media (max-width: 1024px) { .shop-sidebar { display: none; } }

.sidebar-sec { margin-bottom: var(--s6); padding-bottom: var(--s6); border-bottom: 1px solid var(--border); }
.sidebar-sec:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s4); font-family: var(--font-head); }
.sidebar-cat-link { display: flex; align-items: center; justify-content: space-between; padding: var(--s2) var(--s3); border-radius: var(--r-sm); font-size: 0.82rem; color: var(--text-2); transition: all var(--t-fast); margin-bottom: 2px; }
.sidebar-cat-link:hover, .sidebar-cat-link.active { background: var(--accent-light); color: var(--accent); }
.sidebar-count { font-size: 0.68rem; background: var(--bg-3); padding: 2px 6px; border-radius: var(--r-full); color: var(--text-3); }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s6); gap: var(--s4); flex-wrap: wrap; }
.shop-count { font-size: 0.82rem; color: var(--text-2); }
.shop-sort {
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--text-1); border-radius: var(--r-md); padding: 8px 14px;
  font-size: 0.82rem; outline: none; cursor: pointer;
}
.shop-sort:focus { border-color: var(--accent); }

/* WC product loop override */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3,1fr) !important;
  gap: var(--s5) !important;
  margin: 0 !important; padding: 0 !important; list-style: none !important;
}
@media (max-width: 1024px) { .woocommerce ul.products { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 480px)  { .woocommerce ul.products { grid-template-columns: 1fr !important; } }
.woocommerce ul.products li.product { margin: 0 !important; padding: 0 !important; }

/* WC Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
#place_order {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
  color: #fff !important; font-weight: 700 !important;
  border-radius: var(--r-md) !important; border: none !important;
  transition: all var(--t-base) !important; font-family: var(--font-head) !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover {
  opacity: 0.9 !important; transform: translateY(-1px) !important;
}

/* WC Notices */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
  border-radius: var(--r-md) !important; border: none !important;
  padding: var(--s4) var(--s5) !important; margin-bottom: var(--s4) !important;
  font-size: 0.88rem !important;
}
.woocommerce-message { background: rgba(34,197,94,0.1) !important; border-left: 3px solid var(--green) !important; color: var(--green) !important; }
.woocommerce-error   { background: rgba(239,68,68,0.1) !important; border-left: 3px solid var(--red) !important; color: var(--red) !important; }
.woocommerce-info    { background: var(--accent-light) !important; border-left: 3px solid var(--accent) !important; color: var(--accent) !important; }

/* Single product */
.single-prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s12); align-items: start; padding: var(--s12) 0; }
@media (max-width: 768px) { .single-prod-grid { grid-template-columns: 1fr; } }
.single-prod-gallery { position: sticky; top: calc(var(--header-h) + var(--s6)); }
.woocommerce-product-gallery { border-radius: var(--r-xl) !important; overflow: hidden !important; }

.single-product .product_title { font-size: clamp(1.4rem,3vw,2.2rem) !important; font-family: var(--font-head) !important; margin-bottom: var(--s4) !important; }
.single-product .price { font-family: var(--font-head) !important; font-size: 2rem !important; color: var(--accent) !important; font-weight: 800 !important; margin-bottom: var(--s5) !important; }
.single-product .price del { color: var(--text-3) !important; font-size: 1.2rem; }
.single-product .woocommerce-product-details__short-description { color: var(--text-2) !important; line-height: 1.75 !important; margin-bottom: var(--s6) !important; }
.single-product .quantity input.qty { background: var(--bg-2) !important; border: 1px solid var(--border-hover) !important; color: var(--text-1) !important; border-radius: var(--r-md) !important; padding: 11px 14px !important; width: 84px !important; text-align: center !important; }
.single-product .cart { display: flex !important; gap: var(--s3) !important; align-items: center !important; margin-bottom: var(--s5) !important; flex-wrap: wrap; }
.single-product .single_add_to_cart_button { flex: 1 !important; padding: 13px 22px !important; font-size: 0.95rem !important; min-width: 160px !important; }

/* Cart / Checkout */
.woocommerce table.shop_table { border: none !important; }
.woocommerce table.shop_table th { background: var(--bg-3) !important; color: var(--text-3) !important; font-size: 0.7rem !important; font-weight: 700 !important; letter-spacing: 0.1em !important; text-transform: uppercase !important; border: none !important; padding: var(--s4) var(--s5) !important; font-family: var(--font-head) !important; }
.woocommerce table.shop_table td { border-color: var(--border) !important; color: var(--text-1) !important; padding: var(--s4) var(--s5) !important; vertical-align: middle !important; }
.woocommerce .cart_totals, .woocommerce-checkout #order_review { background: var(--bg-2) !important; border: 1px solid var(--border) !important; border-radius: var(--r-xl) !important; padding: var(--s8) !important; }
.woocommerce form .form-row label { color: var(--text-2) !important; font-size: 0.82rem !important; font-weight: 600 !important; margin-bottom: var(--s2) !important; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  background: var(--bg-2) !important; border: 1px solid var(--border-hover) !important;
  color: var(--text-1) !important; border-radius: var(--r-md) !important;
  padding: 11px 14px !important; transition: all var(--t-base) !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-light) !important; outline: none !important;
}

/* Account nav */
.woocommerce-account .woocommerce { display: grid !important; grid-template-columns: 220px 1fr !important; gap: var(--s10) !important; padding: var(--s12) 0 !important; align-items: start !important; }
@media (max-width: 768px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr !important; } }
.woocommerce-MyAccount-navigation { background: var(--bg-2) !important; border: 1px solid var(--border) !important; border-radius: var(--r-xl) !important; overflow: hidden !important; position: sticky; top: calc(var(--header-h) + var(--s4)); }
.woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid var(--border) !important; }
.woocommerce-MyAccount-navigation ul li:last-child { border: none !important; }
.woocommerce-MyAccount-navigation ul li a { display: block !important; padding: var(--s4) var(--s5) !important; color: var(--text-2) !important; font-size: 0.83rem !important; transition: all var(--t-fast) !important; }
.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a { color: var(--accent) !important; background: var(--accent-light) !important; }

/* Pagination */
.woocommerce-pagination { margin-top: var(--s12); display: flex; justify-content: center; }
.woocommerce-pagination ul { display: flex !important; gap: var(--s2) !important; list-style: none !important; margin: 0 !important; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span { display: flex !important; align-items: center !important; justify-content: center !important; width: 38px !important; height: 38px !important; border-radius: var(--r-md) !important; background: var(--bg-2) !important; border: 1px solid var(--border) !important; color: var(--text-2) !important; font-size: 0.83rem !important; transition: all var(--t-fast) !important; text-decoration: none !important; }
.woocommerce-pagination ul li a:hover { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }
.woocommerce-pagination ul li span.current { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; font-weight: 700 !important; }

.star-rating { color: var(--yellow) !important; }

/* Breadcrumb */
.woocommerce-breadcrumb { padding: var(--s4) 0 !important; font-size: 0.72rem !important; color: var(--text-3) !important; }
.woocommerce-breadcrumb a { color: var(--text-2) !important; transition: color var(--t-fast) !important; }
.woocommerce-breadcrumb a:hover { color: var(--accent) !important; }

/* ── LAYER 20: QUICK VIEW MODAL ─────────────────────────────── */
.qv-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: var(--s6);
}
.qv-overlay.open { display: flex; animation: fadeIn var(--t-base) var(--ease); }
.qv-modal {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-2xl); max-width: 860px; width: 100%;
  max-height: 90vh; overflow-y: auto; position: relative;
  animation: fadeUp var(--t-slow) var(--ease);
}
.qv-close {
  position: absolute; top: var(--s4); right: var(--s4);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-3); border: 1px solid var(--border);
  color: var(--text-2); display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; transition: all var(--t-fast);
}
.qv-close:hover { background: var(--red); border-color: var(--red); color: #fff; }
.qv-close svg { width: 16px; height: 16px; }
.qv-body { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); padding: var(--s8); }
@media (max-width: 640px) { .qv-body { grid-template-columns: 1fr; } }

/* ── LAYER 21: TOAST NOTIFICATION ──────────────────────────── */
.atc-toast {
  position: fixed; bottom: var(--s8); right: var(--s8);
  background: var(--bg-2); border: 1px solid var(--border-accent);
  border-radius: var(--r-lg); padding: var(--s4) var(--s6);
  display: flex; align-items: center; gap: var(--s3);
  font-size: 0.82rem; font-weight: 600; color: var(--text-1);
  box-shadow: var(--shadow-xl); z-index: 9999;
  transform: translateY(16px); opacity: 0;
  transition: all var(--t-base) var(--ease); pointer-events: none;
}
.atc-toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { color: var(--green); }
.toast-icon svg { width: 18px; height: 18px; fill: currentColor; }

/* ── LAYER 22: FLOAT BUTTONS ────────────────────────────────── */
.wa-float { position: fixed; bottom: var(--s6); right: var(--s6); z-index: 998; display: flex; flex-direction: column; align-items: flex-end; gap: var(--s2); }
.wa-float-btn { width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 22px rgba(37,211,102,0.45); cursor: pointer; border: none; transition: all var(--t-base) var(--ease); animation: waFloat 3s ease-in-out infinite; }
.wa-float-btn:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.6); }
.wa-float-btn svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float-tip { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s2) var(--s3); font-size: 0.72rem; font-weight: 600; color: var(--text-1); white-space: nowrap; opacity: 0; transform: translateX(6px); transition: all var(--t-base); pointer-events: none; }
.wa-float:hover .wa-float-tip { opacity: 1; transform: translateX(0); }

.btt { position: fixed; bottom: var(--s6); left: var(--s6); width: 42px; height: 42px; border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--border-hover); color: var(--text-2); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 997; opacity: 0; pointer-events: none; transition: all var(--t-base); }
.btt.show { opacity: 1; pointer-events: all; }
.btt:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btt svg { width: 18px; height: 18px; }

/* ── LAYER 23: SCROLL ANIMATIONS ────────────────────────────── */
[data-anim] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-anim].in { opacity: 1; transform: translateY(0); }
[data-anim][data-delay="1"] { transition-delay: 0.1s; }
[data-anim][data-delay="2"] { transition-delay: 0.2s; }
[data-anim][data-delay="3"] { transition-delay: 0.3s; }
[data-anim][data-delay="4"] { transition-delay: 0.4s; }

/* ── LAYER 24: UTILS ─────────────────────────────────────────── */
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.w-full { width: 100%; }
.relative { position: relative; }
.overflow-h { overflow: hidden; }
.divider { height: 1px; background: linear-gradient(to right, transparent, var(--border), transparent); }
.mt-4 { margin-top: var(--s4); } .mt-6 { margin-top: var(--s6); }
.mt-8 { margin-top: var(--s8); } .mt-12 { margin-top: var(--s12); }
.mb-4 { margin-bottom: var(--s4); } .mb-6 { margin-bottom: var(--s6); }
.mb-8 { margin-bottom: var(--s8); }
