/*
Theme Name: GreenShield Agri
Theme URI: https://greenshieldagri.site
Author: GreenShield Agri
Description: Premium research peptide e-commerce store — mobile-first design
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: greenshield-agri
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:        #07090d;
  --surface:   #0d1117;
  --surface2:  #161b22;
  --border:    #21262d;
  --border2:   #30363d;
  --accent:    #00d4ff;
  --green:     #00e676;
  --purple:    #7c3aed;
  --gold:      #f59e0b;
  --danger:    #ef4444;
  --text:      #f0f6fc;
  --muted:     #8b949e;
  --font-hd:   'Orbitron', sans-serif;
  --font-body: 'Exo 2', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px;
  --ease: all .25s cubic-bezier(.4,0,.2,1);
  --shadow: 0 4px 24px rgba(0,0,0,.5);
  --glow:  0 0 28px rgba(0,212,255,.22);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a  { color: var(--accent); text-decoration: none; transition: var(--ease); }
a:hover { color: var(--green); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5 {
  font-family: var(--font-hd);
  line-height: 1.15;
  letter-spacing: -.01em;
}
ul { list-style: none; }
button { font-family: var(--font-body); }

/* ============================================================
   WP COMPATIBILITY — kill wrappers that break full-width
   ============================================================ */
#main, #content, .site-main, main.site-main,
.entry-content, .page-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}
.admin-bar .sticky-header { top: 32px !important; }
@media (max-width: 782px) {
  .admin-bar .sticky-header { top: 46px !important; }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px)  { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 72px 0; } }
@media (min-width: 1024px) { .section { padding: 96px 0; } }

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.label::before { content: ''; width: 24px; height: 1px; background: var(--accent); flex-shrink: 0; }

.section-title {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--text) 50%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.section-sub { font-size: .95rem; color: var(--muted); line-height: 1.75; max-width: 580px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-md);
  font-family: var(--font-hd);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,212,255,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,212,255,.5); color:#fff; }
.btn-green {
  background: linear-gradient(135deg, var(--green), #00b860);
  color: #000;
  box-shadow: 0 4px 20px rgba(0,230,118,.3);
}
.btn-green:hover { transform: translateY(-2px); color: #000; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #000; }
.btn-ghost {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border2);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--text); }
.btn-lg { padding: 15px 32px; font-size: 13px; }
.btn-sm { padding: 8px 16px; font-size: 11px; }
.btn-full { width: 100%; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-blue   { background: rgba(0,212,255,.12);  color: var(--accent); border: 1px solid rgba(0,212,255,.25); }
.badge-green  { background: rgba(0,230,118,.12);  color: var(--green);  border: 1px solid rgba(0,230,118,.25); }
.badge-purple { background: rgba(124,58,237,.12); color: #a78bfa;       border: 1px solid rgba(124,58,237,.25); }
.badge-gold   { background: rgba(245,158,11,.12); color: var(--gold);   border: 1px solid rgba(245,158,11,.25); }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.ann-bar {
  background: linear-gradient(90deg, var(--purple), var(--accent));
  padding: 8px 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .03em;
  line-height: 1.5;
}
.ann-bar a { color: #fff; text-decoration: underline; }

/* ============================================================
   HEADER
   ============================================================ */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(7,9,13,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 16px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 12px;
}
@media (min-width: 768px) { .header-inner { height: 68px; padding: 0 24px; } }

/* Logo */
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.logo-name { font-family: var(--font-hd); font-size: 15px; font-weight: 900; color: var(--text); }
.logo-name span { color: var(--accent); }
.logo-sub { font-size: 9px; color: var(--muted); letter-spacing: .14em; font-family: var(--font-mono); display: none; }
@media (min-width: 480px) { .logo-sub { display: block; } }

/* Desktop nav */
.desktop-nav { display: none; }
@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
  }
  .desktop-nav a {
    padding: 6px 14px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    transition: var(--ease);
  }
  .desktop-nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
  .has-drop { position: relative; }
  .has-drop:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }
  .drop {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: var(--r-md);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--ease);
    box-shadow: var(--shadow);
    z-index: 200;
  }
  .drop a { display: block; padding: 8px 12px; border-radius: var(--r-sm); font-size: 13px; color: var(--muted); }
  .drop a:hover { background: rgba(0,212,255,.08); color: var(--accent); }
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.search-wrap { display: none; }
@media (min-width: 768px) {
  .search-wrap {
    display: flex;
    align-items: center;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 14px;
    gap: 6px;
    transition: var(--ease);
  }
  .search-wrap:focus-within { border-color: var(--accent); }
  .search-wrap input {
    background: none; border: none; outline: none;
    color: var(--text); font-size: 13px; width: 140px;
  }
  .search-wrap input::placeholder { color: var(--muted); }
  .search-wrap button { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 14px; }
}

.cart-icon-btn {
  position: relative;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: var(--ease);
  text-decoration: none;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
.cart-icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-bubble {
  position: absolute;
  top: -5px; right: -5px;
  background: var(--accent);
  color: #000;
  font-size: 9px;
  font-weight: 900;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Hamburger */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hamburger-btn span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--ease);
  pointer-events: none;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .hamburger-btn { display: none; } }

/* Mobile drawer */
.mobile-drawer {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.mobile-drawer.open { display: block; }
.mobile-drawer-inner {
  padding: 12px 16px 20px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.mobile-drawer-inner a {
  padding: 12px 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-drawer-inner a:hover { color: var(--accent); }
.mobile-drawer-inner a:last-child { border-bottom: none; }
.mob-sub {
  padding-left: 24px !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--muted);
}

/* ============================================================
   HERO — Mobile First
   ============================================================ */
.hero {
  position: relative;
  padding: 56px 0 48px;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(0,212,255,.06) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 80% 100%, rgba(124,58,237,.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px)  { .hero-content { padding: 0 24px; } }
@media (min-width: 1024px) { .hero-content { padding: 0 40px; } }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 100px;
  padding: 5px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.pulse-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(1.6); }
}

.hero-title {
  font-size: clamp(2.2rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.hero-title .t1 { display: block; color: var(--text); }
.hero-title .t2 {
  display: block;
  background: linear-gradient(90deg, var(--accent), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .t3 { display: block; color: var(--text); }

.hero-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 540px;
}

/* Hero CTA — stacked on mobile, row on larger */
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
@media (min-width: 480px) { .hero-btns { flex-direction: row; flex-wrap: wrap; } }

/* Stats row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
@media (min-width: 480px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }

.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 12px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-hd);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-lbl { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* Hero two-col layout on desktop */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 60px; }
}

/* Hero product card */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow), var(--glow);
  display: none;
}
@media (min-width: 1024px) { .hero-card { display: block; } }

.hero-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.hero-card-img img { width:100%; height:100%; object-fit:cover; }
.hero-card-body { padding: 20px; }
.hero-card-name { font-family: var(--font-hd); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.hero-card-meta { font-family: var(--font-mono); font-size: 11px; color: var(--green); letter-spacing: .08em; margin-bottom: 14px; }
.hero-card-foot { display: flex; align-items: center; justify-content: space-between; }
.hero-card-price { font-family: var(--font-hd); font-size: 1.4rem; font-weight: 900; color: var(--accent); }
.hero-card-was { font-size: 12px; text-decoration: line-through; color: var(--muted); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.trust-bar::-webkit-scrollbar { display: none; }
.trust-bar-inner {
  display: flex;
  gap: 24px;
  padding: 0 16px;
  min-width: max-content;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}
@media (min-width: 768px) {
  .trust-bar-inner { min-width: unset; justify-content: space-between; padding: 0 24px; flex-wrap: wrap; }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.trust-item strong { color: var(--text); font-size: 12px; }

/* ============================================================
   SECTION HEADER UTILITY
   ============================================================ */
.section-head { margin-bottom: 28px; }
@media (min-width: 768px) { .section-head { margin-bottom: 40px; } }
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.cats-section { background: var(--surface); }

.cats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 600px)  { .cats-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 900px)  { .cats-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1200px) { .cats-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 14px;
  text-align: center;
  transition: var(--ease);
  cursor: pointer;
  display: block;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cat-c, var(--accent));
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.cat-card:hover { border-color: var(--cat-c, var(--accent)); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.cat-card:hover::after { opacity: .05; }
.cat-card:active { transform: scale(.97); }
.cat-emoji { font-size: 28px; margin-bottom: 10px; display: block; }
@media (min-width: 768px) { .cat-emoji { font-size: 32px; } }
.cat-name { font-family: var(--font-hd); font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
@media (min-width: 768px) { .cat-name { font-size: 13px; } }
.cat-desc { font-size: 11px; color: var(--muted); }

/* ============================================================
   PRODUCTS — MOBILE FIRST
   ============================================================ */
.products-section { background: var(--bg); }

/* Filter pills — horizontally scrollable on mobile */
.filter-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 24px;
  padding-bottom: 4px;
}
.filter-wrap::-webkit-scrollbar { display: none; }
.filter-pills {
  display: flex;
  gap: 8px;
  min-width: max-content;
  padding: 2px 0;
}
.pill {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--muted);
  transition: var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.pill.active, .pill:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 700;
}

/* Product grid — 1 col mobile, 2 on sm, 3 on md, 4 on lg */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 900px)  { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1200px) { .products-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Product card */
.prod-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--ease);
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
}
.prod-card:hover { border-color: rgba(0,212,255,.4); box-shadow: 0 8px 32px rgba(0,212,255,.12); transform: translateY(-4px); }
.prod-card:active { transform: scale(.98); }

/* Product image */
.prod-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface2);
}
.prod-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.prod-card:hover .prod-img img { transform: scale(1.06); }

/* Product image overlay with vial look */
.prod-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,17,23,.7) 0%, transparent 50%);
  pointer-events: none;
}

.prod-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prod-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .prod-body { padding: 16px; } }

.prod-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.prod-name {
  font-family: var(--font-hd);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 8px;
}
@media (min-width: 768px) { .prod-name { font-size: 14px; } }
.prod-name a { color: inherit; }
.prod-name a:hover { color: var(--accent); }

.prod-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}
.spec {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0,212,255,.07);
  color: var(--accent);
  border: 1px solid rgba(0,212,255,.15);
}

.prod-stars { color: var(--gold); font-size: 12px; letter-spacing: -.05em; margin-bottom: 10px; }

.prod-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.prod-price {
  font-family: var(--font-hd);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.prod-was {
  font-size: 11px;
  text-decoration: line-through;
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
}

.atc-btn {
  padding: 8px 12px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  border: none;
  border-radius: var(--r-sm);
  color: #fff;
  font-family: var(--font-hd);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.atc-btn:hover { box-shadow: 0 4px 16px rgba(0,212,255,.4); transform: translateY(-1px); }
.atc-btn:active { transform: scale(.96); }

/* ============================================================
   WHY US
   ============================================================ */
.why-section { background: var(--surface); }

.why-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 1024px) { .why-layout { grid-template-columns: 1fr 1fr; gap: 60px; } }

.why-features { display: flex; flex-direction: column; gap: 12px; }

.why-feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: var(--ease);
}
.why-feat:hover { border-color: var(--accent); background: rgba(0,212,255,.03); }
.why-icon {
  width: 42px; height: 42px;
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.why-feat h4 { font-family: var(--font-hd); font-size: 13px; margin-bottom: 4px; }
.why-feat p  { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }

/* COA card */
.coa-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow);
}
.coa-head { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.coa-logo { width: 48px; height: 48px; background: linear-gradient(135deg, var(--green), #00b860); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.coa-title { font-family: var(--font-hd); font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.coa-sub   { font-size: 12px; color: var(--muted); }
.coa-rows  { display: flex; flex-direction: column; gap: 12px; }
.coa-row   { display: flex; align-items: center; gap: 10px; }
.coa-lbl   { font-size: 12px; color: var(--muted); width: 110px; flex-shrink: 0; }
.coa-bar-bg{ flex: 1; background: rgba(255,255,255,.06); border-radius: 100px; height: 7px; overflow: hidden; }
.coa-bar   { height: 100%; background: linear-gradient(90deg, var(--green), var(--accent)); border-radius: 100px; }
.coa-val   { font-family: var(--font-mono); font-size: 12px; color: var(--green); width: 46px; text-align: right; flex-shrink: 0; }
.coa-foot  { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--border); margin-top: 16px; }
.coa-lab   { font-size: 12px; color: var(--muted); }
.coa-lab strong { color: var(--text); display: block; font-size: 13px; }

/* ============================================================
   CRYPTO SECTION
   ============================================================ */
.crypto-section { background: var(--bg); }

.crypto-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 1024px) { .crypto-layout { grid-template-columns: 1.2fr 1fr; gap: 60px; } }

.coin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 20px 0 28px;
}
@media (min-width: 480px) { .coin-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; } }

.coin-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: var(--ease);
}
.coin-chip:hover { border-color: var(--border2); transform: translateY(-2px); }
.coin-chip .cc-sym { font-size: 18px; font-weight: 900; }
.coin-chip .cc-name { font-size: 10px; color: var(--muted); font-family: var(--font-mono); }

.crypto-steps { display: flex; flex-direction: column; gap: 12px; }
.c-step { display: flex; gap: 14px; align-items: flex-start; }
.c-step-num {
  width: 28px; height: 28px;
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-hd); font-size: 11px; font-weight: 900; color: var(--accent);
  flex-shrink: 0;
}
.c-step-text h5 { font-family: var(--font-hd); font-size: 13px; margin-bottom: 2px; }
.c-step-text p  { font-size: 12px; color: var(--muted); margin: 0; }

/* Crypto calculator widget */
.calc-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.calc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(0,212,255,.08), rgba(124,58,237,.08));
  border-bottom: 1px solid var(--border);
}
.calc-head-title { font-family: var(--font-hd); font-size: 13px; font-weight: 700; }
.calc-body { padding: 20px; }
.calc-coins {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}
@media (min-width: 400px) { .calc-coins { grid-template-columns: repeat(6, 1fr); } }
.calc-coin {
  padding: 8px 4px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  text-align: center;
  cursor: pointer;
  transition: var(--ease);
  font-size: 11px;
  -webkit-tap-highlight-color: transparent;
}
.calc-coin:hover, .calc-coin.active { border-color: var(--accent); background: rgba(0,212,255,.08); color: var(--accent); }
.calc-coin .cc-i { font-size: 16px; display: block; margin-bottom: 3px; }
.calc-input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-hd);
  font-size: 18px;
  outline: none;
  transition: var(--ease);
  margin-bottom: 14px;
}
.calc-input:focus { border-color: var(--accent); }
.calc-result {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  text-align: center;
  margin-bottom: 10px;
}
.calc-result .cr-label { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.calc-result .cr-val   { font-family: var(--font-mono); font-size: 16px; color: var(--green); font-weight: 700; }
.calc-discount {
  background: rgba(0,230,118,.06);
  border: 1px solid rgba(0,230,118,.18);
  border-radius: var(--r-md);
  padding: 14px;
  text-align: center;
  margin-bottom: 16px;
}
.calc-discount .cr-label { font-size: 11px; color: var(--green); margin-bottom: 4px; }
.calc-discount .cr-val   { font-family: var(--font-mono); font-size: 16px; color: var(--green); font-weight: 700; }
.divider-or {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  position: relative;
  margin: 12px 0;
}
.divider-or::before, .divider-or::after {
  content: '';
  position: absolute;
  top: 50%; width: 42%;
  height: 1px;
  background: var(--border);
}
.divider-or::before { left: 0; }
.divider-or::after  { right: 0; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-section { background: var(--surface); }

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { border-color: rgba(0,212,255,.35); transform: translateY(-3px); box-shadow: var(--glow); }
.blog-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-thumb img { width:100%; height:100%; object-fit:cover; transition: transform .5s; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); margin-bottom: 8px; flex-wrap: wrap; }
.blog-cat-tag { color: var(--accent); font-weight: 700; }
.blog-title { font-family: var(--font-hd); font-size: 14px; line-height: 1.4; margin-bottom: 8px; }
.blog-title a { color: var(--text); }
.blog-title a:hover { color: var(--accent); }
.blog-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.blog-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.ai-tag { font-size: 11px; color: #a78bfa; font-family: var(--font-mono); display: flex; align-items: center; gap: 4px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.reviews-section { background: var(--bg); }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px)  { .reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  transition: var(--ease);
}
.review-card:hover { border-color: rgba(0,212,255,.25); box-shadow: var(--glow); }
.review-stars { color: var(--gold); font-size: 14px; letter-spacing: -.05em; margin-bottom: 10px; }
.review-text { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.review-name { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.review-role { font-size: 11px; color: var(--muted); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section { background: var(--surface); }

.newsletter-box {
  background: linear-gradient(135deg, rgba(0,212,255,.06), rgba(124,58,237,.08));
  border: 1px solid rgba(0,212,255,.18);
  border-radius: var(--r-xl);
  padding: 36px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .newsletter-box { padding: 56px 48px; } }
.newsletter-box::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 200px;
  background: radial-gradient(ellipse, rgba(0,212,255,.08), transparent 70%);
  pointer-events: none;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
  margin: 20px auto 0;
}
@media (min-width: 480px) { .newsletter-form { flex-direction: row; } }
.newsletter-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: var(--ease);
  min-width: 0;
}
.newsletter-input:focus { border-color: var(--accent); }
.newsletter-input::placeholder { color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 0; }

.footer-disclaimer {
  background: rgba(245,158,11,.05);
  border: 1px solid rgba(245,158,11,.15);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 12px;
  color: #9a7b4b;
  line-height: 1.7;
  margin-bottom: 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
  margin-bottom: 36px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand-col {}
.footer-brand-desc { font-size: 13px; color: var(--muted); line-height: 1.75; margin: 12px 0 16px; }

.payment-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pay-chip {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 700;
}

.social-row { display: flex; gap: 8px; }
.social-btn {
  width: 34px; height: 34px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: var(--ease);
}
.social-btn:hover { border-color: var(--accent); }

.footer-col-title { font-family: var(--font-hd); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: var(--muted); transition: var(--ease); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--accent); }

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-radius: var(--r-md) !important;
  font-size: 14px !important;
}
.woocommerce-breadcrumb { font-size: 13px; color: var(--muted); padding: 16px 0; }
.woocommerce-breadcrumb a { color: var(--accent); }
.product-purity-badge { font-size: 12px; color: var(--green); font-family: var(--font-mono); margin-top: 4px; }

/* Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 32px 0 64px;
  align-items: start;
}
@media (min-width: 900px) { .checkout-layout { grid-template-columns: 1fr .85fr; gap: 40px; } }

.checkout-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  position: sticky;
  top: 80px;
}

.form-label  { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; letter-spacing: .04em; }
.form-field  {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: var(--ease);
  margin-bottom: 16px;
}
.form-field:focus { border-color: var(--accent); }

/* Coin selector at checkout */
.coin-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 16px; }
@media (min-width: 400px) { .coin-picker { grid-template-columns: repeat(4, 1fr); } }
.coin-pick-label { display: block; cursor: pointer; }
.coin-pick-label input { display: none; }
.coin-pick-box {
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 6px;
  text-align: center;
  transition: var(--ease);
  font-size: 11px;
  -webkit-tap-highlight-color: transparent;
}
.coin-pick-label input:checked + .coin-pick-box,
.coin-pick-box:hover {
  border-color: var(--accent);
  background: rgba(0,212,255,.08);
  color: var(--accent);
}

/* Payment page */
.pay-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; max-width: 540px; margin: 24px auto; }
.pay-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: linear-gradient(135deg, rgba(0,212,255,.08), rgba(124,58,237,.08)); border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 10px; }
.pay-timer { font-family: var(--font-mono); font-size: 15px; color: var(--gold); font-weight: 700; }
.pay-tabs { display: flex; gap: 6px; padding: 16px 20px 0; }
.pay-tab { padding: 8px 16px; border-radius: 100px; border: 1px solid var(--border); background: none; color: var(--muted); font-size: 12px; cursor: pointer; transition: var(--ease); -webkit-tap-highlight-color: transparent; }
.pay-tab.active { background: var(--accent); border-color: var(--accent); color: #000; font-weight: 700; }
.pay-body { padding: 20px; }
.pay-content { display: none; }
.pay-content.active { display: block; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
.fade-up { animation: fadeUp .6s ease forwards; }
.d1 { animation-delay: .1s; opacity:0; }
.d2 { animation-delay: .2s; opacity:0; }
.d3 { animation-delay: .3s; opacity:0; }
.d4 { animation-delay: .4s; opacity:0; }

/* ============================================================
   PRODUCT SINGLE PAGE
   ============================================================ */
.single-prod-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 24px 0 64px;
  align-items: start;
}
@media (min-width: 768px) { .single-prod-layout { grid-template-columns: 1fr 1fr; gap: 48px; } }

.prod-gallery {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1;
  background: var(--surface2);
}
.prod-gallery img { width:100%; height:100%; object-fit:cover; }

.qty-row { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); width: fit-content; overflow: hidden; margin-bottom: 16px; }
.qty-btn  { width: 40px; height: 40px; background: none; border: none; color: var(--text); font-size: 18px; cursor: pointer; transition: var(--ease); }
.qty-btn:hover { background: rgba(0,212,255,.1); color: var(--accent); }
.qty-num  { width: 50px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); background: none; color: var(--text); text-align: center; font-family: var(--font-hd); font-size: 15px; font-weight: 700; outline: none; height: 40px; }

.prod-tabs-wrap { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-top: 40px; }
.prod-tab-heads { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; background: var(--surface); border-bottom: 1px solid var(--border); }
.prod-tab-heads::-webkit-scrollbar { display: none; }
.prod-tab-head { padding: 12px 18px; font-size: 13px; font-family: var(--font-hd); font-weight: 700; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; transition: var(--ease); white-space: nowrap; flex-shrink: 0; }
.prod-tab-head.active { color: var(--accent); border-bottom-color: var(--accent); }
.prod-tab-body { padding: 20px; display: none; }
.prod-tab-body.active { display: block; }
.prod-tab-body h4 { font-family: var(--font-hd); font-size: 13px; color: var(--accent); margin-bottom: 10px; }
.prod-tab-body p  { font-size: 14px; color: var(--muted); line-height: 1.75; }
.prod-tab-body ul li { font-size: 13px; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; gap: 8px; align-items: flex-start; }
.prod-tab-body ul li::before { content: '▸'; color: var(--accent); flex-shrink: 0; }

/* ============================================================
   MISC
   ============================================================ */
.research-disclaimer {
  background: rgba(245,158,11,.06);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 13px;
  color: #9a7b4b;
  line-height: 1.7;
}

/* admin.css classes */
.crypto-checkout-promo { background: rgba(0,230,118,.1); border: 1px solid rgba(0,230,118,.25); border-radius: var(--r-md); padding: 10px 14px; font-size: 13px; color: var(--green); margin-bottom: 12px; }
.crypto-no-crypto-section { background: rgba(0,212,255,.06); border: 1px solid rgba(0,212,255,.18); border-radius: var(--r-md); padding: 12px; font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ============================================================
   SHOP PAGE — FULL LAYOUT
   ============================================================ */

.gs-shop-wrap { padding: 24px 0 64px; }

/* Breadcrumb */
.gs-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.gs-breadcrumb a { color: var(--accent); }
.gs-breadcrumb span { color: var(--muted); }

/* Shop header */
.gs-shop-header { margin-bottom: 28px; }
.gs-shop-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.gs-shop-title {
  font-family: var(--font-hd);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--text) 50%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.gs-cat-desc { font-size: 14px; color: var(--muted); max-width: 520px; line-height: 1.7; }

.gs-shop-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* WooCommerce result count & ordering */
.woocommerce-result-count {
  font-size: 13px !important;
  color: var(--muted) !important;
  margin: 0 !important;
}
.woocommerce-ordering select,
select.orderby {
  background: var(--surface2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-md) !important;
  color: var(--text) !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  outline: none !important;
  cursor: pointer;
}

/* Two-column shop layout */
.gs-shop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 900px) {
  .gs-shop-layout {
    grid-template-columns: 220px 1fr;
    gap: 32px;
  }
}
@media (min-width: 1100px) {
  .gs-shop-layout {
    grid-template-columns: 240px 1fr;
    gap: 40px;
  }
}

/* Sidebar */
.gs-sidebar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}
@media (min-width: 900px) {
  .gs-sidebar {
    flex-direction: column;
    position: sticky;
    top: 80px;
  }
}

.gs-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  width: 100%;
}

.gs-sidebar-title {
  font-family: var(--font-hd);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 700;
}

.gs-cat-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* On mobile, categories scroll horizontally */
@media (max-width: 899px) {
  .gs-sidebar { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .gs-sidebar::-webkit-scrollbar { display: none; }
  .gs-sidebar-card { min-width: 200px; flex-shrink: 0; }
  .gs-cat-list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
}

.gs-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--muted);
  transition: var(--ease);
  text-decoration: none;
  gap: 6px;
}
.gs-cat-link:hover { background: rgba(0,212,255,.08); color: var(--accent); }
.gs-cat-link.active { background: rgba(0,212,255,.12); color: var(--accent); font-weight: 600; }
.gs-cat-child { font-size: 12px; padding-left: 16px; }
.gs-cat-children { margin-top: 2px; }
.gs-cat-count {
  background: rgba(255,255,255,.07);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
  font-family: var(--font-mono);
}

/* Trust card */
.gs-sidebar-trust { }
.gs-trust-row {
  font-size: 12px;
  color: var(--muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.gs-trust-row:last-child { border-bottom: none; }

/* Search input in sidebar */
.gs-search-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 14px;
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: var(--ease);
}
.gs-search-input:focus { border-color: var(--accent); }

/* Products main area */
.gs-products-main { min-width: 0; }

/* WooCommerce injects .products ul — override to our grid */
.wc-products-loop,
ul.products,
.products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
@media (min-width: 600px) {
  .wc-products-loop, ul.products, .products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}
@media (min-width: 900px) {
  .wc-products-loop, ul.products, .products {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
  }
}
@media (min-width: 1200px) {
  .wc-products-loop, ul.products, .products {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
}

/* WooCommerce injects li.product — reset it */
li.product { margin: 0 !important; padding: 0 !important; float: none !important; width: auto !important; }

/* ── Pagination ── */
.gs-pagination { margin-top: 40px; text-align: center; }
.woocommerce-pagination ul,
.page-numbers {
  display: flex !important;
  gap: 6px !important;
  justify-content: center !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-wrap: wrap;
}
.page-numbers li { margin: 0 !important; }
.page-numbers a,
.page-numbers span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: var(--r-sm) !important;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  font-family: var(--font-hd) !important;
  transition: var(--ease) !important;
  text-decoration: none !important;
}
.page-numbers a:hover { background: rgba(0,212,255,.1) !important; border-color: var(--accent) !important; color: var(--accent) !important; }
.page-numbers .current { background: var(--accent) !important; border-color: var(--accent) !important; color: #000 !important; font-weight: 700 !important; }

/* ── WooCommerce notices ── */
.woocommerce-message,
.woocommerce-info {
  background: rgba(0,212,255,.08) !important;
  border: 1px solid rgba(0,212,255,.25) !important;
  border-radius: var(--r-md) !important;
  color: var(--text) !important;
  padding: 12px 16px !important;
  margin-bottom: 20px !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.woocommerce-error {
  background: rgba(239,68,68,.08) !important;
  border: 1px solid rgba(239,68,68,.25) !important;
  border-radius: var(--r-md) !important;
  color: var(--text) !important;
  padding: 12px 16px !important;
  margin-bottom: 20px !important;
  font-size: 14px !important;
}
.woocommerce-message a.button,
.woocommerce-info a.button {
  background: var(--accent) !important;
  color: #000 !important;
  border-radius: var(--r-sm) !important;
  padding: 6px 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin-left: auto !important;
  text-decoration: none !important;
}

/* ── WooCommerce add-to-cart button (default loop) ── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button {
  background: linear-gradient(135deg, var(--accent), var(--purple)) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--r-sm) !important;
  padding: 8px 14px !important;
  font-family: var(--font-hd) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: var(--ease) !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover { box-shadow: 0 4px 16px rgba(0,212,255,.4) !important; transform: translateY(-1px) !important; color: #fff !important; }

/* ── Single product page ── */
.woocommerce div.product { padding: 24px 0 64px; }
.woocommerce div.product .product_title {
  font-family: var(--font-hd) !important;
  font-size: clamp(1.4rem, 3vw, 2rem) !important;
  color: var(--text) !important;
  margin-bottom: 12px !important;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--font-hd) !important;
  font-size: 1.8rem !important;
  font-weight: 900 !important;
  color: var(--accent) !important;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 14px !important;
  color: var(--muted) !important;
  line-height: 1.75 !important;
  margin: 16px 0 !important;
}
.woocommerce div.product .quantity input {
  background: var(--surface2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-md) !important;
  color: var(--text) !important;
  padding: 10px !important;
  font-family: var(--font-hd) !important;
  font-size: 16px !important;
  width: 72px !important;
  text-align: center !important;
}
.woocommerce div.product form.cart { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.woocommerce div.product form.cart .single_add_to_cart_button {
  font-size: 13px !important;
  padding: 12px 28px !important;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid var(--border) !important;
  padding: 0 !important;
  margin: 0 0 -1px !important;
  display: flex !important;
  gap: 4px !important;
  overflow-x: auto !important;
  list-style: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 10px 18px !important;
  font-family: var(--font-hd) !important;
  font-size: 12px !important;
  color: var(--muted) !important;
  display: block !important;
  border-bottom: 2px solid transparent !important;
  transition: var(--ease) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--accent) !important;
  border-bottom-color: var(--accent) !important;
}
.woocommerce div.product .woocommerce-tabs .panel {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0 var(--r-md) var(--r-md) var(--r-md) !important;
  padding: 24px !important;
  margin-top: 0 !important;
}
.woocommerce div.product .woocommerce-tabs .panel h2 {
  font-family: var(--font-hd) !important;
  font-size: 14px !important;
  color: var(--accent) !important;
  margin-bottom: 12px !important;
}
.woocommerce div.product .woocommerce-tabs .panel p {
  font-size: 14px !important;
  color: var(--muted) !important;
  line-height: 1.75 !important;
}
