/* ==========================================================================
   PixelVault — main stylesheet
   ========================================================================== */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f1f3f9;
  --text: #0f1222;
  --muted: #5d6478;
  --border: #e5e8f1;
  --primary: #6d5efc;
  --primary-2: #22d3ee;
  --accent: #ff6bcb;
  --grad: linear-gradient(135deg, #6d5efc 0%, #8b5cf6 45%, #22d3ee 100%);
  --shadow-sm: 0 1px 2px rgba(15, 18, 34, .06), 0 2px 8px rgba(15, 18, 34, .04);
  --shadow: 0 10px 30px -10px rgba(40, 40, 120, .25);
  --shadow-lg: 0 30px 60px -20px rgba(60, 50, 180, .35);
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, .9, .3, 1);
  --header-h: 72px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-d: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}
[data-theme="dark"] {
  --bg: #0a0b14;
  --bg-alt: #0e1020;
  --surface: #131528;
  --surface-2: #1a1d35;
  --text: #f1f2fb;
  --muted: #9aa0ba;
  --border: #25284a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -20px rgba(109, 94, 252, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased;
  transition: background .4s var(--ease), color .4s var(--ease);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s; }
h1, h2, h3, h4 { font-family: var(--font-d); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.ic { flex: none; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 40px); }
.container.narrow-wide { width: min(1100px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.hide-sm { }
.site-main { min-height: 60vh; padding-top: var(--header-h); animation: pageIn .7s var(--ease) both; }
body.home .site-main { padding-top: 0; }

/* ---------- Page transition + scroll bar ---------- */
.page-transition { position: fixed; inset: 0; z-index: 999; background: var(--grad); transform: translateY(100%); pointer-events: none; transition: transform .45s var(--ease); }
.page-transition.leaving { transform: translateY(0); }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1001; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease), backdrop-filter .35s; }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--border); height: 64px; }
body:not(.home) .site-header { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-d); font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--grad); color: #fff; box-shadow: 0 8px 20px -6px rgba(109, 94, 252, .7); transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.08); }
.custom-logo { max-height: 42px; width: auto; }
.main-nav .menu { display: flex; gap: 6px; }
.main-nav a { position: relative; display: block; padding: 8px 14px; border-radius: 999px; font-weight: 500; color: var(--muted); }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--text); background: var(--surface-2); }
.main-nav li { position: relative; }
.main-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 200px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); }
.main-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid transparent; background: transparent; transition: background .25s, transform .25s var(--ease); }
.icon-btn:hover { background: var(--surface-2); transform: translateY(-2px); }
.cart-count { position: absolute; top: 3px; right: 3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .35s var(--ease); }
.cart-count.has-items { transform: scale(1); animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
.theme-toggle .ti-moon { display: none; }
[data-theme="dark"] .theme-toggle .ti-sun { display: none; }
[data-theme="dark"] .theme-toggle .ti-moon { display: block; }
.menu-toggle { display: none; }
.menu-toggle .mt-close { display: none; }
.menu-open .menu-toggle .mt-open { display: none; }
.menu-open .menu-toggle .mt-close { display: block; }

.search-panel { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .3s, padding .4s var(--ease); }
.search-open .search-panel { max-height: 120px; padding: 18px 0; opacity: 1; }
.search-form-pv { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); }
.search-form-pv input[type=search] { flex: 1; border: 0; background: transparent; outline: none; padding: 10px 0; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; font-weight: 600; font-size: .95rem; border-radius: 12px; border: 1px solid transparent; cursor: pointer; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s; isolation: isolate; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { padding: 8px 14px; font-size: .85rem; border-radius: 10px; }
.btn-lg { padding: 15px 28px; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: var(--grad); background-size: 140% 100%; box-shadow: 0 10px 24px -8px rgba(109, 94, 252, .7); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 30px -8px rgba(109, 94, 252, .85); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--primary); }
.btn-soft { background: var(--surface-2); color: var(--text); }
.btn-soft:hover { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -10px rgba(109, 94, 252, .8); }
.btn-white { background: #fff; color: #3b2fd1; }
.btn-white:hover { box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .4); }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .15); }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: ripple .6s linear; pointer-events: none; z-index: -1; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); }
.link-arrow .ic { transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(5px); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Text helpers ---------- */
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: .85rem; font-weight: 500; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.tight { padding: clamp(32px, 5vw, 56px) 0; }
.section.alt { background: var(--bg-alt); }
.section-wide .container { width: min(1240px, 100% - 40px); }
.section-head { margin-bottom: 48px; max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 0; }
.page-hero { padding: 56px 0 24px; background: radial-gradient(900px 300px at 50% -10%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 70%); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0; }
.page-hero.center, .page-hero .center { text-align: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 70px) 0 90px; overflow: hidden; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); opacity: .55; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.hero .b1 { width: 420px; height: 420px; background: #6d5efc; top: -80px; left: -60px; animation: blob 14s ease-in-out infinite; }
.hero .b2 { width: 380px; height: 380px; background: #22d3ee; top: 40px; right: -80px; animation: blob 17s ease-in-out infinite reverse; }
.hero .b3 { width: 300px; height: 300px; background: #ff6bcb; bottom: -100px; left: 40%; opacity: .35; animation: blob 20s ease-in-out infinite; }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.1); } 66% { transform: translate(-30px, 30px) scale(.95); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); margin: 22px 0 20px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 38px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--font-d); font-size: 1.9rem; letter-spacing: -.03em; }
.hero-stats span { font-size: .85rem; color: var(--muted); }

.hero-visual { position: relative; height: 460px; }
.hv-card { position: absolute; background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); }
.hv-main { inset: 20px 40px 20px 20px; padding: 18px; }
.hv-top { display: flex; gap: 6px; margin-bottom: 14px; }
.hv-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.hv-top i:nth-child(1) { background: #ff5f57; } .hv-top i:nth-child(2) { background: #febc2e; } .hv-top i:nth-child(3) { background: #28c840; }
.hv-art { height: 190px; border-radius: 14px; background: var(--grad); position: relative; overflow: hidden; margin-bottom: 18px; }
.hv-art::before, .hv-art::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.hv-art::before { width: 160px; height: 160px; right: -30px; top: -40px; animation: float 7s ease-in-out infinite; }
.hv-art::after { width: 90px; height: 90px; left: 30px; bottom: -30px; animation: float 5s ease-in-out infinite reverse; }
.hv-line { height: 10px; border-radius: 6px; background: var(--surface-2); margin-bottom: 10px; }
.hv-line.w70 { width: 70%; } .hv-line.w40 { width: 40%; }
.hv-row { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.hv-price { font-family: var(--font-d); font-weight: 700; font-size: 1.5rem; }
.hv-btn { background: var(--grad); color: #fff; padding: 9px 16px; border-radius: 10px; font-size: .85rem; font-weight: 600; }
.hv-chip { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; font-weight: 600; font-size: .85rem; border-radius: 14px; white-space: nowrap; }
.hv-chip .ic { color: var(--primary); }
.hv-chip.c1 { top: 0; right: 0; } .hv-chip.c2 { bottom: 70px; left: -20px; } .hv-chip.c3 { bottom: -6px; right: 20px; }
.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 8s ease-in-out infinite; }
.float-rev { animation: float 7s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--surface); padding: 18px 0; }
.marquee-track { display: flex; align-items: center; gap: 32px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-d); font-weight: 600; font-size: 1.15rem; color: var(--muted); white-space: nowrap; }
.marquee i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 24px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.cat-card::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .4s var(--ease); z-index: 0; }
.cat-card > * { position: relative; z-index: 1; transition: color .3s; }
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card:hover::before { opacity: 1; }
.cat-card:hover > *, .cat-card:hover small { color: #fff; }
.cat-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); color: var(--primary); margin-bottom: 14px; transition: transform .4s var(--ease), background .3s; }
.cat-card:hover .cat-ic { background: rgba(255, 255, 255, .2); color: #fff; transform: rotate(-8deg) scale(1.1); }
.cat-card small { color: var(--muted); }
.cat-go { position: absolute !important; top: 18px; right: 18px; opacity: 0; transform: translateX(-8px); transition: all .3s var(--ease); }
.cat-card:hover .cat-go { opacity: 1; transform: none; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.p-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .4s var(--ease), border-color .3s, opacity .8s var(--ease) var(--d, 0ms), transform .5s var(--ease); }
.p-card:hover { box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 50%, var(--border)); }
.p-thumb { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.p-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.p-card:hover .p-thumb img { transform: scale(1.08); }
.ph-img { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; background: var(--grad); transition: transform .8s var(--ease); }
.ph-img.g1 { background: linear-gradient(135deg, #f97316, #ec4899); } .ph-img.g2 { background: linear-gradient(135deg, #10b981, #22d3ee); } .ph-img.g3 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.p-card:hover .ph-img { transform: scale(1.08); }
.badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; color: #fff; background: #ef4444; }
.wish { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(6px); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), color .3s, background .3s; }
.wish:hover { transform: scale(1.15); }
.wish.active { color: #fff; background: #ef4444; }
.wish.active .ic { fill: currentColor; }
.wish.beat { animation: pop .5s var(--ease); }
.p-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-cat { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }
.p-title { font-size: 1.08rem; margin: 0; }
.p-title a:hover { color: var(--primary); }
.p-meta { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 10px; }
.stars { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 600; }
.stars .ic { color: #f59e0b; fill: #f59e0b; }
.stars.big { gap: 2px; }
.p-price { font-family: var(--font-d); font-size: 1.15rem; font-weight: 700; }
.p-price del { color: var(--muted); font-weight: 400; font-size: .85em; margin-right: 6px; }
.p-price ins { text-decoration: none; }
.p-card .btn { margin-top: auto; }
.p-card .added_to_cart { display: block; text-align: center; margin-top: 8px; font-size: .85rem; font-weight: 600; color: var(--primary); }
.p-card .loading { opacity: .7; pointer-events: none; }
.p-card .loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.p-card .added::after { content: "✓"; font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }
.admin-hint { margin-top: 28px; color: var(--muted); font-size: .9rem; }

/* ---------- Steps & features ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 58px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 30px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.step-n { position: absolute; top: 14px; right: 18px; font-family: var(--font-d); font-weight: 700; font-size: 2.2rem; color: var(--surface-2); }
.step-ic { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 20px; background: var(--grad); color: #fff; box-shadow: 0 14px 28px -10px rgba(109, 94, 252, .7); transition: transform .5s var(--ease); }
.step:hover .step-ic { transform: rotate(-8deg) scale(1.08); }
.step p { color: var(--muted); margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary); }
.f-ic { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); margin-bottom: 16px; transition: background .3s, color .3s, transform .4s var(--ease); }
.feature:hover .f-ic { background: var(--primary); color: #fff; transform: scale(1.1) rotate(-6deg); }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: 16px; transition: transform .4s var(--ease), box-shadow .4s; }
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi blockquote { margin: 0; font-size: 1.02rem; flex: 1; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi figcaption small { display: block; color: var(--muted); }
.avatar { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar.lg { width: 56px; height: 56px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(44px, 7vw, 80px) 24px; border-radius: 28px; text-align: center; color: #fff; background: var(--grad); background-size: 200% 200%; animation: gradMove 10s ease infinite; box-shadow: var(--shadow-lg); }
.cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); position: relative; }
.cta p { opacity: .9; max-width: 520px; margin: 0 auto 26px; position: relative; }
.cta .blob { filter: blur(50px); opacity: .4; background: #fff; width: 260px; height: 260px; }
.cta .b1 { top: -80px; left: -60px; animation: blob 12s infinite; } .cta .b2 { bottom: -100px; right: -40px; animation: blob 15s infinite reverse; }
.center-row { justify-content: center; margin: 0; position: relative; }
@keyframes gradMove { 0%, 100% { background-position: 0 50%; } 50% { background-position: 100% 50%; } }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--border); background: var(--surface); border-radius: 16px; margin-bottom: 12px; overflow: hidden; transition: border-color .3s, box-shadow .3s, opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; background: none; border: 0; text-align: left; font-weight: 600; font-size: 1.02rem; }
.faq-ic { transition: transform .4s var(--ease); color: var(--primary); }
.faq-item.open .faq-ic { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 30px 34px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.newsletter h3 { margin: 0 0 4px; } .newsletter p { margin: 0; color: var(--muted); }
.nl-field { display: flex; gap: 8px; flex: 1; min-width: 280px; max-width: 420px; }
.nl-field input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); transition: border-color .3s, box-shadow .3s; }
.nl-field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent); }
.nl-done { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; border-radius: 22px; background: var(--surface); color: #16a34a; opacity: 0; pointer-events: none; transition: opacity .4s; }
.newsletter.done .nl-done { opacity: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid li a { color: var(--text); opacity: .8; display: inline-block; transition: transform .25s var(--ease), color .25s, opacity .25s; }
.footer-grid li a:hover { color: var(--primary); opacity: 1; transform: translateX(4px); }
.f-brand p { color: var(--muted); max-width: 320px; margin-top: 14px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; margin-top: 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.to-top { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); transition: transform .3s var(--ease), background .3s, color .3s; }
.to-top .ic { transform: rotate(-90deg); }
.to-top:hover { transform: translateY(-4px); background: var(--primary); color: #fff; }

/* ---------- Generic content ---------- */
.entry { font-size: 1.05rem; }
.entry > * + * { margin-top: 1.1em; }
.entry img { border-radius: var(--radius-sm); }
.entry a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.single-thumb { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pagination { margin-top: 40px; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 2px; border-radius: 10px; border: 1px solid var(--border); }
.pagination .current, .pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Forms (global + WooCommerce) ---------- */
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], select, textarea, .select2-selection {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); transition: border-color .25s, box-shadow .25s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent); }
label { font-weight: 500; font-size: .92rem; display: inline-block; margin-bottom: 6px; }
.woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 8px); float: left; }
.woocommerce form .form-row-first { margin-right: 16px; }
.woocommerce form .form-row-wide, .woocommerce form .clear { clear: both; }
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; font-weight: 600; border: 0; border-radius: 12px; color: #fff; background: var(--grad); cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s;
}
.woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce .button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(109, 94, 252, .7); color: #fff; }
.woocommerce button.button.alt, .woocommerce a.button.alt { background: var(--grad); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; padding: 16px 20px; margin: 0 0 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--primary); animation: pageIn .5s var(--ease); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.woocommerce-error { border-left-color: #ef4444; }
.woocommerce-message { border-left-color: #22c55e; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; padding: 8px 16px; }

/* Shop/archive */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0 0 30px; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 0 18px; overflow: hidden; margin: 0; width: auto !important; float: none !important; transition: transform .4s var(--ease), box-shadow .4s; display: flex; flex-direction: column; }
.woocommerce ul.products li.product:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin: 0 0 14px; transition: transform .8s var(--ease); }
.woocommerce ul.products li.product:hover a img { transform: scale(1.06); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.05rem; padding: 0 18px; margin: 0 0 6px; }
.woocommerce ul.products li.product .price { display: block; padding: 0 18px; margin-bottom: 12px; font-weight: 700; font-family: var(--font-d); }
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { margin: auto 18px 0; }
.woocommerce ul.products li.product .star-rating { margin: 0 18px 8px; }
.woocommerce span.onsale { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: #ef4444; color: #fff; font-size: .72rem; font-weight: 700; }
.woocommerce-result-count { color: var(--muted); float: left; margin: 10px 0 24px; }
.woocommerce-ordering { float: right; margin: 0 0 24px; }
.woocommerce-ordering select { width: auto; }
.woocommerce nav.woocommerce-pagination { clear: both; text-align: center; margin: 20px 0; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 6px; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--border); display: block; }
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.star-rating { color: #f59e0b; }

/* Single product */
.woocommerce div.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.woocommerce div.product div.images { width: 100% !important; float: none !important; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.woocommerce div.product div.summary { width: 100% !important; float: none !important; }
.woocommerce div.product .product_title { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-family: var(--font-d); font-size: 1.9rem; font-weight: 700; color: var(--text); }
.woocommerce div.product p.price del { color: var(--muted); font-size: .65em; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product form.cart { display: flex; gap: 12px; margin: 22px 0; flex-wrap: wrap; }
.woocommerce .quantity .qty { width: 80px; text-align: center; }
.woocommerce div.product .single_add_to_cart_button { flex: 1; padding: 15px 28px; font-size: 1.02rem; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce-tabs ul.tabs { display: flex; gap: 8px; padding: 0; margin: 0 0 24px; list-style: none; border-bottom: 1px solid var(--border); overflow-x: auto; }
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 18px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.woocommerce-tabs ul.tabs li.active a, .woocommerce-tabs ul.tabs li a:hover { color: var(--primary); border-color: var(--primary); }
.woocommerce-tabs .panel { background: none; border: 0; padding: 0; box-shadow: none; }
.woocommerce-tabs .panel > * { animation: pageIn .5s var(--ease); }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { margin-top: 30px; }

/* Cart / checkout */
.woocommerce table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 16px 18px; border-bottom: 1px solid var(--border); text-align: left; }
.woocommerce table.shop_table tr:last-child td { border-bottom: 0; }
.woocommerce table.shop_table thead th { background: var(--surface-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.woocommerce table.cart img { width: 64px; border-radius: 10px; }
.woocommerce a.remove { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); color: #ef4444 !important; font-size: 18px; transition: background .25s, color .25s, transform .25s; }
.woocommerce a.remove:hover { background: #ef4444; color: #fff !important; transform: rotate(90deg); }
.woocommerce .cart-collaterals { margin-top: 28px; }
.woocommerce .cart-collaterals .cart_totals { width: min(440px, 100%); float: right; }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 1.3rem; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: flex; padding: 16px; font-size: 1.02rem; margin-top: 12px; }
.woocommerce .coupon { display: flex; gap: 8px; align-items: center; }
.woocommerce .coupon input { width: 200px; }
.woocommerce-checkout #customer_details { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; }
.woocommerce-checkout #order_review_heading { margin-top: 32px; }
.woocommerce-checkout #payment { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-top: 20px; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; padding: 0 0 16px; border-bottom: 1px solid var(--border); }
.woocommerce-checkout #payment div.payment_box { background: var(--surface-2); border-radius: 12px; padding: 14px; margin-top: 10px; }
.woocommerce-checkout #payment #place_order { width: 100%; padding: 16px; font-size: 1.05rem; margin-top: 16px; float: none; }
.woocommerce-notices-wrapper { margin-bottom: 8px; }

/* ---------- Auth (login / register) ---------- */
.pv-auth .woocommerce { max-width: 980px; margin-inline: auto; }
.pv-auth .u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pv-auth .u-columns .u-column1, .pv-auth .u-columns .u-column2, .pv-auth .woocommerce > h2 + .woocommerce-form-login { width: 100%; float: none; }
.pv-auth .u-columns > div { padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.pv-auth .u-columns > div:hover { transform: translateY(-4px); }
.pv-auth .woocommerce-form-login, .pv-auth .woocommerce-form-register { border: 0; padding: 0; margin: 0; }
.pv-auth .woocommerce-form-login { max-width: 460px; margin-inline: auto; padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); }
.pv-auth .u-columns .woocommerce-form-login { padding: 0; box-shadow: none; border: 0; }
.pv-auth h2 { font-size: 1.6rem; }
.pv-auth .woocommerce-form-login__submit, .pv-auth .woocommerce-form-register__submit { width: 100%; margin-top: 8px; padding: 14px; }
.woocommerce-LostPassword { margin-top: 14px; }

/* ---------- Dashboard ---------- */
.pv-dashboard .section-wide { padding-top: 40px; }
.dash { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.dash-side { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 20px; box-shadow: var(--shadow-sm); animation: slideIn .7s var(--ease) both; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.dash-user { display: flex; align-items: center; gap: 14px; padding: 6px 6px 18px; margin-bottom: 12px; border-bottom: 1px solid var(--border); }
.dash-user strong { display: block; font-family: var(--font-d); font-size: 1.05rem; word-break: break-word; }
.dash-user small { color: var(--muted); }
.dash-nav li { margin-bottom: 4px; }
.dash-nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-weight: 500; color: var(--muted); transition: background .3s, color .3s, transform .3s var(--ease), padding .3s var(--ease); }
.dash-nav a:hover { background: var(--surface-2); color: var(--text); padding-left: 18px; }
.dash-nav .is-active a { color: #fff; background: var(--grad); box-shadow: 0 10px 22px -8px rgba(109, 94, 252, .7); }
.dash-nav .woocommerce-MyAccount-navigation-link--customer-logout a:hover { color: #ef4444; }
.dash-help { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--surface-2); color: var(--muted); font-size: .9rem; font-weight: 500; transition: color .3s, transform .3s var(--ease); }
.dash-help:hover { color: var(--primary); transform: translateY(-2px); }
.dash-main { min-width: 0; }
.dash-content { animation: pageIn .6s var(--ease) both; }
.dash-hello { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; padding: 28px 30px; border-radius: 22px; background: var(--grad); color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.dash-hello::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .15); right: -60px; top: -100px; animation: float 8s ease-in-out infinite; }
.dash-hello h2 { margin: 0 0 4px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); position: relative; z-index: 1; }
.dash-hello p { margin: 0; opacity: .9; position: relative; z-index: 1; }
.dash-hello .btn { position: relative; z-index: 1; background: #fff; color: #3b2fd1; box-shadow: none; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s, border-color .3s, opacity .8s var(--ease) var(--d, 0ms); }
a.stat:hover, .stat:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
.stat strong { display: block; font-family: var(--font-d); font-size: 1.55rem; line-height: 1.1; }
.stat small { color: var(--muted); }
.stat-ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #fff; flex: none; transition: transform .4s var(--ease); }
.stat:hover .stat-ic { transform: rotate(-8deg) scale(1.1); }
.s1 { background: linear-gradient(135deg, #6d5efc, #8b5cf6); } .s2 { background: linear-gradient(135deg, #06b6d4, #22d3ee); } .s3 { background: linear-gradient(135deg, #f59e0b, #f97316); } .s4 { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.dash-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-bottom: 20px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 24px; margin-bottom: 20px; transition: box-shadow .35s var(--ease); }
.dash-cols .panel { margin-bottom: 0; }
.panel:hover { box-shadow: var(--shadow-sm); }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-head h3 { margin: 0; font-size: 1.15rem; }
.chip { padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); font-size: .8rem; font-weight: 700; }
.file-list li, .lib-card { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; transition: background .3s, transform .3s var(--ease); }
.file-list li:hover { background: var(--surface-2); transform: translateX(4px); }
.file-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); flex: none; }
.file-ic.lg { width: 56px; height: 56px; border-radius: 16px; }
.file-meta { flex: 1; min-width: 0; }
.file-meta strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-meta strong a:hover { color: var(--primary); }
.file-meta small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-bottom: 18px; }
.progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width 1.2s var(--ease) .3s; }
.progress.in span { width: var(--w); }
.checklist { margin-bottom: 18px; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--muted); }
.checklist .cb { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--border); color: transparent; transition: all .4s var(--ease); }
.checklist .done { color: var(--text); }
.checklist .done .cb { background: #22c55e; border-color: #22c55e; color: #fff; }
.table-wrap { overflow-x: auto; }
.pv-table { width: 100%; border-collapse: collapse; }
.pv-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px; }
.pv-table td { padding: 14px 12px; border-top: 1px solid var(--border); }
.pv-table tbody tr { transition: background .25s; }
.pv-table tbody tr:hover { background: var(--surface-2); }
.status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--surface-2); }
.st-completed { background: rgba(34, 197, 94, .15); color: #16a34a; } .st-processing { background: rgba(59, 130, 246, .15); color: #2563eb; }
.st-on-hold, .st-pending { background: rgba(245, 158, 11, .15); color: #d97706; } .st-cancelled, .st-failed, .st-refunded { background: rgba(239, 68, 68, .15); color: #dc2626; }
.empty { text-align: center; padding: 34px 16px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty .ic { opacity: .5; animation: float 4s ease-in-out infinite; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick { display: flex; flex-direction: column; gap: 2px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.quick .ic { color: var(--primary); margin-bottom: 8px; transition: transform .4s var(--ease); }
.quick:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
.quick:hover .ic { transform: scale(1.15) rotate(-6deg); }
.quick small { color: var(--muted); }
.lib-tools { margin-bottom: 16px; }
.lib-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); max-width: 380px; }
.lib-search input { border: 0; background: transparent; box-shadow: none !important; padding: 12px 0; }
.lib-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lib-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s, opacity .8s var(--ease) var(--d, 0ms); }
.lib-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.lib-card.hide { display: none; }

/* Account forms / addresses / order view inside dashboard */
.dash-content .woocommerce-MyAccount-content > p:first-child { display: none; }
.dash-content form.woocommerce-EditAccountForm, .dash-content .woocommerce-address-fields, .dash-content .woocommerce-Addresses, .dash-content .woocommerce-order-details, .dash-content .woocommerce-customer-details, .dash-content .woocommerce-orders-table { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 26px; margin-bottom: 20px; }
.dash-content .woocommerce-orders-table { padding: 0; overflow: hidden; }
.dash-content .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border: 0; padding: 0; background: none; }
.dash-content .woocommerce-Address { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 22px; float: none; width: 100%; transition: transform .35s var(--ease), box-shadow .35s; }
.dash-content .woocommerce-Address:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dash-content .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.dash-content .woocommerce-Address-title h3 { margin: 0; font-size: 1.1rem; }
.dash-content .woocommerce-Address-title a { color: var(--primary); font-weight: 600; }
.dash-content .woocommerce-Address address { font-style: normal; color: var(--muted); }
.dash-content fieldset { border: 1px solid var(--border); border-radius: 16px; padding: 18px; margin: 12px 0 18px; }
.dash-content legend { padding: 0 8px; font-weight: 600; }
.dash-content .woocommerce-orders-table .button { padding: 7px 14px; font-size: .85rem; margin-right: 4px; }
.woocommerce-order-downloads { margin-bottom: 20px; }

/* ---------- Tilt (JS sets vars) ---------- */
.tilt { transform-style: preserve-3d; }
.tilt.in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid, .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dash { grid-template-columns: 250px 1fr; }
  .feature-grid, .testi-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { height: 400px; max-width: 520px; width: 100%; margin: 20px auto 0; }
  .menu-toggle { display: inline-grid; }
  .hide-sm { display: none !important; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); padding: 24px 20px; transform: translateX(100%); opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .3s, visibility .45s; overflow-y: auto; }
  .menu-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .main-nav .menu { flex-direction: column; gap: 4px; }
  .main-nav a { font-size: 1.25rem; padding: 14px 16px; color: var(--text); border-radius: 14px; }
  .main-nav .menu > li { opacity: 0; transform: translateX(30px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .menu-open .main-nav .menu > li { opacity: 1; transform: none; }
  .menu-open .main-nav .menu > li:nth-child(2) { transition-delay: .06s; } .menu-open .main-nav .menu > li:nth-child(3) { transition-delay: .12s; } .menu-open .main-nav .menu > li:nth-child(4) { transition-delay: .18s; } .menu-open .main-nav .menu > li:nth-child(5) { transition-delay: .24s; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 16px; }
  .steps { grid-template-columns: 1fr; } .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .dash-nav ul { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .dash-nav ul::-webkit-scrollbar { display: none; }
  .dash-nav li { margin: 0; flex: none; }
  .dash-nav a { white-space: nowrap; padding: 10px 14px; }
  .dash-help { display: none; }
  .dash-cols { grid-template-columns: 1fr; }
  .woocommerce div.product { grid-template-columns: 1fr; gap: 28px; }
  .woocommerce-checkout #customer_details { grid-template-columns: 1fr; }
  .pv-auth .u-columns { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .woocommerce ul.products, .product-grid.cols-3, .feature-grid, .testi-grid, .post-grid, .quick-grid, .lib-grid, .dash-content .woocommerce-Addresses { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero-stats { gap: 22px; }
  .hv-chip.c2 { left: 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { flex-direction: column; align-items: flex-start; padding: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: row; }
  .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; float: none; margin-right: 0; }
  .woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; }
  .section-head.row { align-items: flex-start; }
  .newsletter { padding: 24px; } .nl-field { max-width: none; width: 100%; }
  /* Stacked tables */
  .pv-table thead { display: none; }
  .pv-table tr { display: block; padding: 10px 0; border-top: 1px solid var(--border); }
  .pv-table td { display: flex; justify-content: space-between; border: 0; padding: 6px 4px; }
  .pv-table td[data-label]::before { content: attr(data-label); color: var(--muted); font-weight: 500; }
  .dash-hello { padding: 22px; }
}
.to-top { }
.woocommerce::after, .dash::after { content: ""; display: table; clear: both; }
