/* ============================================================
   AgentX Ecommerce — Main CSS
   SPX Circle Premium Theme
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  --agx-radius: 0.5rem;
  --agx-radius-sm: calc(var(--agx-radius) - 4px);
  --agx-radius-md: calc(var(--agx-radius) - 2px);
  --agx-radius-lg: var(--agx-radius);
  --agx-radius-xl: calc(var(--agx-radius) + 4px);

  /* Fresh Grass Green Primary */
  --agx-primary:        #5cb85c;
  --agx-primary-dark:   #449d44;
  --agx-primary-light:  #eaf7ea;
  --agx-primary-fg:     #ffffff;

  /* Semantic Colors */
  --agx-background:     #ffffff;
  --agx-foreground:     #1a1f2e;
  --agx-card:           #ffffff;
  --agx-card-fg:        #1a1f2e;
  --agx-muted:          #f7f8fa;
  --agx-muted-fg:       #6b7280;
  --agx-border:         #e8eaed;
  --agx-input:          #e8eaed;
  --agx-ring:           #5cb85c;
  --agx-topbar:         #f7f8fa;
  --agx-topbar-fg:      #555e6e;
  --agx-sale:           #dc2626;
  --agx-destructive:    #ef4444;

  /* Typography */
  --agx-font-sans:      'Inter', ui-sans-serif, system-ui, sans-serif;
  --agx-font-display:   'Inter', ui-sans-serif, system-ui, sans-serif;

  /* Shadows */
  --agx-shadow-sm:      0 1px 2px 0 rgb(0 0 0 / 0.05);
  --agx-shadow:         0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --agx-shadow-md:      0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --agx-shadow-lg:      0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --agx-shadow-xl:      0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ---- Base Reset & Typography ---- */
*, *::before, *::after { box-sizing: border-box; border-color: var(--agx-border); }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  background-color: var(--agx-background);
  color: var(--agx-foreground);
  font-family: var(--agx-font-sans);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5,h6 { margin: 0; font-family: var(--agx-font-display); }
p { margin: 0; }
input:focus, select:focus, textarea:focus, button:focus { outline: none; }

/* ---- Layout Utilities ---- */
.agx-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.agx-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--agx-foreground);
}

/* ---- Animations ---- */
@keyframes agx-rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes agx-shine {
  0%   { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%) skewX(-20deg); }
}
@keyframes agx-float-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes agx-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes agx-slide-in-right {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

.agx-rise-in  { animation: agx-rise-in 0.7s cubic-bezier(.2,.7,.2,1) both; }
.agx-float-y  { animation: agx-float-y 4s ease-in-out infinite; }
.agx-fade-in  { animation: agx-fade-in 0.4s ease both; }

/* ---- Card Lift Hover ---- */
.agx-card-lift {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .3s ease;
}
.agx-card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(92,184,92,0.45);
  border-color: rgba(92,184,92,0.5);
}

/* ---- Shine Effect ---- */
.agx-shine { position: relative; overflow: hidden; isolation: isolate; }
.agx-shine::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none;
}
.agx-shine:hover::after { animation: agx-shine 1s ease forwards; }

/* ---- Reveal on Scroll ---- */
.agx-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.agx-reveal.agx-reveal-in { opacity: 1; transform: none; }

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  .agx-rise-in, .agx-float-y, .agx-shine::after { animation: none !important; }
  .agx-card-lift { transition: none; }
  .agx-reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
.agx-header { width: 100%; position: sticky; top: 0; z-index: 100; }

/* Topbar */
.agx-topbar {
  background-color: var(--agx-topbar);
  color: var(--agx-topbar-fg);
  font-size: 0.75rem;
  border-bottom: 1px solid var(--agx-border);
}
.agx-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
}
.agx-topbar__left, .agx-topbar__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Main Header */
.agx-header__main {
  background-color: var(--agx-background);
  border-bottom: 1px solid var(--agx-border);
}
.agx-header__main-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.agx-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
}
.agx-logo__icon {
  display: grid;
  place-items: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background-color: var(--agx-primary);
  color: var(--agx-primary-fg);
  font-weight: 900;
  font-size: 1.125rem;
}
.agx-logo__name { font-weight: 900; font-size: 1.125rem; letter-spacing: -0.02em; line-height: 1.2; }
.agx-logo__tagline { font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--agx-muted-fg); }

/* Desktop Nav */
.agx-nav { display: none; align-items: center; gap: 1.5rem; font-size: 0.875rem; font-weight: 600; margin-left: 1.5rem; }
@media (min-width: 1024px) { .agx-nav { display: flex; } }
.agx-nav a { display: flex; align-items: center; gap: 0.25rem; }
.agx-nav a:hover { color: var(--agx-primary); }
.agx-nav a svg { width: 12px; height: 12px; }

/* Header Contact */
.agx-header-contact { display: none; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
@media (min-width: 768px) { .agx-header-contact { display: flex; } }
.agx-header-contact__label { font-size: 0.625rem; text-transform: uppercase; color: var(--agx-muted-fg); line-height: 1; }
.agx-header-contact__number { font-weight: 700; line-height: 1; }

/* Header Actions */
.agx-header-actions { display: flex; align-items: center; gap: 0.75rem; }
.agx-header-actions__spacer { flex: 1; }
.agx-icon-btn {
  display: grid;
  place-items: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s;
}
.agx-icon-btn:hover { background-color: var(--agx-muted); }
.agx-icon-btn svg { width: 20px; height: 20px; }
.agx-badge {
  position: absolute;
  top: -4px; right: -4px;
  display: grid;
  place-items: center;
  height: 20px; width: 20px;
  border-radius: 50%;
  background-color: var(--agx-primary);
  color: var(--agx-primary-fg);
  font-size: 0.625rem;
  font-weight: 700;
}
.agx-login-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}
@media (min-width: 640px) { .agx-login-btn { display: flex; } }
.agx-cart-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: var(--agx-primary);
  color: var(--agx-primary-fg);
  padding: 0 1rem;
  height: 40px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
}
.agx-cart-btn:hover { background-color: var(--agx-primary-dark); }
.agx-hamburger { display: grid; place-items: center; height: 40px; width: 40px; border-radius: 50%; border: none; background: transparent; cursor: pointer; }
.agx-hamburger svg { width: 20px; height: 20px; }
@media (min-width: 1024px) { .agx-hamburger { display: none; } }

/* Green Nav Bar */
.agx-nav-bar {
  background-color: var(--agx-primary);
  color: var(--agx-primary-fg);
}
.agx-nav-bar__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 56px;
}
.agx-nav-bar__categories-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 9999px;
  padding: 0 1rem;
  height: 40px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.agx-nav-bar__categories-btn:hover { background: rgba(255,255,255,0.25); }
@media (min-width: 768px) { .agx-nav-bar__categories-btn { display: flex; } }
.agx-nav-bar__categories-btn svg { width: 16px; height: 16px; }

/* Search Bar */
.agx-searchbar {
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 9999px;
  height: 40px;
  padding-left: 1rem;
  padding-right: 4px;
  min-width: 0;
}
.agx-searchbar input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.875rem;
  color: var(--agx-foreground);
}
.agx-searchbar input::placeholder { color: var(--agx-muted-fg); }
.agx-searchbar__btn {
  display: grid;
  place-items: center;
  height: 32px; width: 32px;
  border-radius: 50%;
  background-color: var(--agx-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.agx-searchbar__btn svg { width: 16px; height: 16px; }
.agx-nav-bar__promo { display: none; align-items: center; gap: 1.5rem; font-size: 0.75rem; font-weight: 600; }
@media (min-width: 1024px) { .agx-nav-bar__promo { display: flex; } }
.agx-nav-bar__promo-item { display: flex; align-items: center; gap: 0.5rem; }
@media (max-width: 1279px) { .agx-nav-bar__promo .agx-nav-bar__promo-item:nth-child(n+2) { display: none; } }
@media (min-width: 1280px) { .agx-nav-bar__promo .agx-nav-bar__promo-item { display: flex; } }

/* Mobile Menu */
.agx-mobile-menu {
  display: none;
  border-bottom: 1px solid var(--agx-border);
  background-color: var(--agx-background);
}
.agx-mobile-menu.is-open { display: block; }
.agx-mobile-menu__inner { display: flex; flex-direction: column; padding: 0.75rem 0; font-size: 0.875rem; font-weight: 600; }
.agx-mobile-menu__inner a { display: block; padding: 0.5rem 1rem; }
.agx-mobile-menu__inner a:hover { color: var(--agx-primary); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.agx-breadcrumb {
  position: relative;
  border-bottom: 1px solid var(--agx-border);
  background: linear-gradient(to right, rgba(92,184,92,0.08), transparent);
  overflow: hidden;
}
.agx-breadcrumb::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(400px 120px at 10% 50%, rgba(92,184,92,0.25), transparent 70%);
  pointer-events: none; opacity: 0.6;
}
.agx-breadcrumb__inner { padding: 1.25rem 0; position: relative; }
.agx-breadcrumb__nav {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; color: var(--agx-muted-fg);
  margin-bottom: 0.25rem;
}
.agx-breadcrumb__nav a:hover { color: var(--agx-primary); transition: color 0.2s; }
.agx-breadcrumb__nav svg { width: 12px; height: 12px; }
.agx-breadcrumb__title { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; }
@media (min-width: 768px) { .agx-breadcrumb__title { font-size: 1.75rem; } }

/* ============================================================
   HERO SECTION
   ============================================================ */
.agx-hero { padding: 1.25rem 0; }
.agx-hero__grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .agx-hero__grid { grid-template-columns: 240px minmax(0,1fr) 260px; }
}

/* Sidebar */
.agx-sidebar-categories {
  display: none;
  flex-direction: column;
  border-radius: 1rem;
  border: 1px solid var(--agx-border);
  background-color: var(--agx-card);
  overflow: hidden;
  box-shadow: var(--agx-shadow-sm);
}
@media (min-width: 1024px) { .agx-sidebar-categories { display: flex; } }
.agx-sidebar-categories__header {
  background-color: var(--agx-primary);
  color: var(--agx-primary-fg);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.agx-sidebar-categories__list { flex: 1; }
.agx-sidebar-categories__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--agx-border);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.agx-sidebar-categories__item:last-child { border-bottom: none; }
.agx-sidebar-categories__item:hover { background-color: rgba(92,184,92,0.05); color: var(--agx-primary-dark); }
.agx-sidebar-categories__item svg { width: 16px; height: 16px; color: var(--agx-muted-fg); transition: transform 0.15s, color 0.15s; }
.agx-sidebar-categories__item:hover svg { transform: translateX(4px); color: var(--agx-primary); }

/* Hero Middle Column */
.agx-hero__middle { display: flex; flex-direction: column; gap: 1rem; min-height: 420px; }
.agx-hero__main-banner {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, #f1f1f1, #e7e7e7, #cfcfcf);
  padding: 1.5rem;
  box-shadow: var(--agx-shadow-sm);
  min-height: 240px;
}
@media (min-width: 768px) { .agx-hero__main-banner { padding: 2.5rem; } }
.agx-hero__main-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top right, rgba(92,184,92,0.1), transparent, transparent);
  pointer-events: none;
}
.agx-hero__banner-content { position: relative; z-index: 10; max-width: 420px; }
.agx-hero__banner-label {
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
  color: var(--agx-primary-dark); letter-spacing: 0.2em;
}
.agx-hero__banner-title {
  margin-top: 0.5rem;
  font-size: 2rem; font-weight: 900; line-height: 1.05;
}
@media (min-width: 768px) { .agx-hero__banner-title { font-size: 3.25rem; } }
.agx-hero__banner-title span { color: var(--agx-primary-dark); }
.agx-hero__banner-text { margin-top: 0.75rem; font-size: 0.875rem; color: var(--agx-muted-fg); max-width: 280px; }
.agx-hero__banner-img {
  position: absolute; right: 0; bottom: 0;
  height: 100%; width: 66%;
  object-fit: contain; object-position: right;
  opacity: 0.95;
  display: none;
}
@media (min-width: 640px) { .agx-hero__banner-img { display: block; } }
.agx-hero__main-banner:hover .agx-hero__banner-img { transform: scale(1.05); transition: transform 0.7s ease; }
.agx-btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px; background-color: var(--agx-primary);
  color: var(--agx-primary-fg); padding: 0 1.5rem; height: 44px;
  font-weight: 700; font-size: 0.875rem; border: none; cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
  margin-top: 1.25rem; text-decoration: none;
}
.agx-btn-primary:hover {
  background-color: var(--agx-primary-dark);
  box-shadow: 0 8px 24px -8px rgba(92,184,92,0.5);
  transform: translateY(-2px);
}
.agx-btn-primary:active { transform: translateY(0); }
.agx-btn-primary svg { width: 16px; height: 16px; }

/* Hero Mini Cards */
.agx-hero__mini-cards { display: grid; gap: 1rem; }
@media (min-width: 640px) { .agx-hero__mini-cards { grid-template-columns: 1fr 1fr; } }
.agx-hero__mini-card {
  display: flex; align-items: center; gap: 1rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, #f3f4f6, #e5e7eb);
  padding: 1rem; min-height: 110px;
  box-shadow: var(--agx-shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.agx-hero__mini-card:hover { box-shadow: var(--agx-shadow-md); }
.agx-hero__mini-card img {
  height: 80px; width: 80px; object-fit: contain;
  transition: transform 0.5s ease;
}
.agx-hero__mini-card:hover img { transform: scale(1.1) rotate(-6deg); }
.agx-hero__mini-card__label { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; color: var(--agx-primary-dark); letter-spacing: 0.15em; }
.agx-hero__mini-card__title { font-weight: 900; font-size: 1rem; line-height: 1.2; margin-top: 0.25rem; }
.agx-hero__mini-card__sub { font-size: 0.75rem; color: var(--agx-muted-fg); margin-top: 0.25rem; }

/* Hero Right Banners */
.agx-hero__right { display: grid; grid-template-rows: 1fr 1fr; gap: 1rem; min-height: 420px; }
.agx-hero__right-card {
  position: relative; overflow: hidden; border-radius: 1rem; padding: 1.25rem;
  box-shadow: var(--agx-shadow-sm);
}
.agx-hero__right-card--green {
  background: linear-gradient(to bottom right, rgba(92,184,92,0.25), rgba(92,184,92,0.1), transparent);
}
.agx-hero__right-card--dark {
  background: linear-gradient(to bottom right, #1a1a1a, #2a2a2a);
  color: #fff;
}
.agx-hero__right-card__glow {
  position: absolute; top: -32px; right: -32px;
  height: 128px; width: 128px; border-radius: 50%;
  background: rgba(92,184,92,0.2); filter: blur(24px);
}
.agx-hero__right-card__label { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; position: relative; }
.agx-hero__right-card--green .agx-hero__right-card__label { color: var(--agx-primary-dark); }
.agx-hero__right-card--dark .agx-hero__right-card__label { color: var(--agx-primary); }
.agx-hero__right-card__title { margin-top: 0.25rem; font-weight: 900; font-size: 1.125rem; line-height: 1.2; position: relative; }
.agx-hero__right-card__price { margin-top: 0.5rem; font-weight: 900; color: var(--agx-primary); position: relative; }
.agx-hero__right-card img {
  position: absolute; right: 0.75rem; bottom: 0.75rem;
  height: 112px; width: 112px; object-fit: contain;
  transition: transform 0.5s ease;
}
.agx-hero__right-card:hover img { transform: scale(1.1); }
.agx-hero__right-card--green img { animation: agx-float-y 4s ease-in-out infinite; }

/* ============================================================
   FEATURED BRANDS & TOP CATEGORIES
   ============================================================ */
.agx-brands-cats { padding: 2rem 0; }
.agx-brands-cats__grid { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .agx-brands-cats__grid { grid-template-columns: 1fr 1fr; } }
.agx-section-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem;
}
.agx-section-header__link { font-size: 0.75rem; font-weight: 700; color: var(--agx-primary-dark); }
.agx-section-header__link:hover { text-decoration: underline; }
.agx-brands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .agx-brands-grid { grid-template-columns: repeat(5, 1fr); } }
.agx-brand-item {
  display: grid; place-items: center; height: 64px;
  border-radius: 0.5rem; border: 1px solid var(--agx-border);
  background-color: var(--agx-card); font-size: 0.875rem;
  font-weight: 700; color: var(--agx-muted-fg);
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.agx-brand-item:hover { color: var(--agx-primary); border-color: var(--agx-primary); }
.agx-top-cats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .agx-top-cats-grid { grid-template-columns: repeat(4, 1fr); } }
.agx-top-cat-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 128px; border-radius: 0.5rem; border: 1px solid var(--agx-border);
  background-color: var(--agx-card); cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.agx-top-cat-item:hover { border-color: var(--agx-primary); box-shadow: var(--agx-shadow-md); }
.agx-top-cat-item__icon { font-size: 2rem; }
.agx-top-cat-item__name { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 600; }

/* ============================================================
   DEALS OF THE DAY
   ============================================================ */
.agx-deals { padding: 1.5rem 0; }
.agx-deals__box { border-radius: 0.75rem; overflow: hidden; border: 1px solid var(--agx-border); background-color: var(--agx-card); }
.agx-deals__header {
  background-color: var(--agx-primary); color: var(--agx-primary-fg);
  padding: 0.75rem 1.5rem; font-weight: 900; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 0.5rem;
}
.agx-deals__header svg { width: 16px; height: 16px; }
.agx-deals__grid { display: grid; gap: 1rem; padding: 1rem; }
@media (min-width: 768px) { .agx-deals__grid { grid-template-columns: 1.5fr 1fr; } }
.agx-deals__main { display: grid; gap: 1rem; }
@media (min-width: 640px) { .agx-deals__main { grid-template-columns: 120px minmax(0,1fr); align-items: center; } }
.agx-deals__img-wrap { position: relative; border-radius: 0.5rem; overflow: hidden; background-color: var(--agx-muted); aspect-ratio: 1; }
.agx-deals__img-badge {
  position: absolute; top: 0.5rem; left: 0.5rem; z-index: 10;
  border-radius: 0.375rem; background-color: var(--agx-primary);
  color: var(--agx-primary-fg); font-size: 0.625rem; font-weight: 700; padding: 0.25rem 0.5rem;
}
.agx-deals__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.agx-deals__info__label { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; color: var(--agx-primary-dark); }
.agx-deals__info__title { margin-top: 0.25rem; font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.agx-deals__price { margin-top: 0.5rem; display: flex; align-items: baseline; gap: 0.5rem; }
.agx-deals__price-now { font-size: 1.5rem; font-weight: 900; color: var(--agx-sale); }
.agx-deals__price-old { font-size: 0.875rem; color: var(--agx-muted-fg); text-decoration: line-through; }
.agx-deals__features { margin-top: 0.75rem; font-size: 0.75rem; color: var(--agx-muted-fg); list-style: disc; padding-left: 1rem; display: flex; flex-direction: column; gap: 0.25rem; }
.agx-deals__countdown { margin-top: 1rem; display: grid; grid-template-columns: repeat(4,1fr); gap: 0.5rem; max-width: 280px; }
.agx-countdown-item { border-radius: 0.375rem; border: 1px solid var(--agx-border); background-color: var(--agx-muted); text-align: center; padding: 0.5rem 0; }
.agx-countdown-item__num { font-size: 1.125rem; font-weight: 900; }
.agx-countdown-item__label { font-size: 0.625rem; text-transform: uppercase; color: var(--agx-muted-fg); }
.agx-deals__progress { margin-top: 0.75rem; }
.agx-deals__progress-bar { height: 6px; border-radius: 9999px; background-color: var(--agx-muted); overflow: hidden; max-width: 320px; }
.agx-deals__progress-fill { height: 100%; width: 62%; background-color: var(--agx-primary); border-radius: 9999px; }
.agx-deals__progress-text { margin-top: 0.25rem; font-size: 0.625rem; color: var(--agx-muted-fg); }
.agx-deals__side { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .agx-deals__side { grid-template-columns: 1fr; } }
.agx-deals__side-card { border-radius: 0.5rem; padding: 0.75rem; overflow: hidden; position: relative; }
.agx-deals__side-card img { width: 100%; height: 96px; object-fit: cover; border-radius: 0.25rem; }
.agx-deals__side-card p { margin-top: 0.5rem; font-size: 0.75rem; font-weight: 700; }
.agx-deals__side-badge {
  position: absolute; top: 0.5rem; right: 0.5rem;
  background-color: var(--agx-primary); color: var(--agx-primary-fg);
  font-size: 0.625rem; font-weight: 700; padding: 0.25rem 0.5rem; border-radius: 0.25rem;
}

/* ============================================================
   FREE SHIPPING BANNER
   ============================================================ */
.agx-shipping-banner { padding: 0 0 1.5rem; }
.agx-shipping-banner__inner {
  border-radius: 9999px;
  background-color: var(--agx-primary);
  color: var(--agx-primary-fg);
  padding: 0.75rem 1.5rem;
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  font-size: 0.875rem; font-weight: 600; text-align: center;
}
.agx-shipping-banner__inner svg { width: 20px; height: 20px; flex-shrink: 0; }
.agx-shipping-banner__inner strong { font-weight: 900; }

/* ============================================================
   PRODUCT ROW SECTION
   ============================================================ */
.agx-product-row { padding: 1.5rem 0; }
.agx-product-row__header {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--agx-border); padding-bottom: 0.75rem; margin-bottom: 1.25rem;
}
.agx-product-row__tabs { display: flex; align-items: center; gap: 1.5rem; }
.agx-tab-btn {
  font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--agx-muted-fg); background: none; border: none; cursor: pointer; padding-bottom: 0;
  padding: 0; transition: color 0.2s;
}
.agx-tab-btn.is-active {
  color: var(--agx-foreground);
  border-bottom: 2px solid var(--agx-primary);
  padding-bottom: calc(0.75rem + 1px); /* offset border-bottom of parent */
  margin-bottom: -1px;
}
.agx-products-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .agx-products-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .agx-products-grid { grid-template-columns: repeat(5,1fr); } }
.agx-products-grid--4 { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .agx-products-grid--4 { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .agx-products-grid--4 { grid-template-columns: repeat(4,1fr); } }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.agx-product-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: 1rem; border: 1px solid var(--agx-border);
  background-color: var(--agx-card); padding: 0.75rem;
}
.agx-product-card__badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 10;
  border-radius: 0.375rem; background-color: var(--agx-primary);
  color: var(--agx-primary-fg); padding: 0.25rem 0.5rem;
  font-size: 0.625rem; font-weight: 700; box-shadow: var(--agx-shadow-sm);
}
.agx-product-card__actions {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 10;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(8px); opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.agx-product-card:hover .agx-product-card__actions { transform: translateX(0); opacity: 1; }
.agx-product-card__action-btn {
  display: grid; place-items: center; height: 36px; width: 36px;
  border-radius: 50%; background-color: var(--agx-background);
  border: 1px solid var(--agx-border); box-shadow: var(--agx-shadow-sm);
  cursor: pointer; transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.agx-product-card__action-btn:hover {
  background-color: var(--agx-primary); color: var(--agx-primary-fg); transform: scale(1.1);
}
.agx-product-card__action-btn svg { width: 16px; height: 16px; }
.agx-product-card__img-wrap {
  aspect-ratio: 1; overflow: hidden; border-radius: 0.75rem;
  background-color: var(--agx-muted); display: grid; place-items: center;
}
.agx-product-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.agx-product-card:hover .agx-product-card__img-wrap img { transform: scale(1.1); }
.agx-product-card__rating { display: flex; align-items: center; gap: 4px; font-size: 0.6875rem; color: #f59e0b; }
.agx-product-card__rating span { color: var(--agx-muted-fg); }
.agx-product-card__name {
  font-size: 0.875rem; font-weight: 500; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.45rem; margin-top: 0.25rem;
  transition: color 0.2s;
}
.agx-product-card__name:hover { color: var(--agx-primary); }
.agx-product-card__prices { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.25rem; }
.agx-product-card__price { font-size: 1rem; font-weight: 900; color: var(--agx-sale); }
.agx-product-card__old-price { font-size: 0.75rem; color: var(--agx-muted-fg); text-decoration: line-through; }
.agx-product-card__free-ship { font-size: 0.625rem; font-weight: 700; color: var(--agx-primary-dark); text-transform: uppercase; margin-top: 0.25rem; }
.agx-product-card__add-btn {
  margin-top: 0.5rem; height: 36px; border-radius: 9999px;
  background-color: var(--agx-foreground); color: var(--agx-background);
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  border: none; cursor: pointer; width: 100%;
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s;
}
.agx-product-card:hover .agx-product-card__add-btn { opacity: 1; transform: translateY(0); }
.agx-product-card__add-btn:hover { background-color: var(--agx-primary); }
.agx-product-card__body { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.25rem; }

/* ============================================================
   BRAND NEW SECTION
   ============================================================ */
.agx-brand-new-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .agx-brand-new-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .agx-brand-new-grid { grid-template-columns: repeat(4, 1fr); } }
.agx-brand-new-card {
  position: relative; border-radius: 0.75rem; overflow: hidden;
  padding: 1.25rem; min-height: 220px; display: flex;
  flex-direction: column; justify-content: flex-end;
}
.agx-brand-new-card--0 { background: linear-gradient(to bottom right, #064e3b, #065f46); color: #fff; }
.agx-brand-new-card--1 { background: linear-gradient(to bottom right, #1c1917, #292524); color: #fff; }
.agx-brand-new-card--2 { background: linear-gradient(to bottom right, #e5e7eb, #d1d5db); }
.agx-brand-new-card--3 { background: linear-gradient(to bottom right, #f97316, #dc2626); color: #fff; }
.agx-brand-new-card__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.4;
}
.agx-brand-new-card__content { position: relative; z-index: 10; }
.agx-brand-new-card__title { font-weight: 900; font-size: 1.125rem; line-height: 1.2; }
.agx-brand-new-card__btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.75rem; border-radius: 9999px; background-color: var(--agx-primary);
  color: var(--agx-primary-fg); font-size: 0.75rem; font-weight: 700;
  padding: 0 1rem; height: 36px; border: none; cursor: pointer;
  transition: background-color 0.2s; text-decoration: none;
}
.agx-brand-new-card__btn:hover { background-color: var(--agx-primary-dark); }

/* ============================================================
   CATEGORY SHOWCASE (Cellphones / Laptops)
   ============================================================ */
.agx-cat-showcase { padding: 1.5rem 0; }
.agx-cat-showcase__grid { display: grid; gap: 1rem; }
@media (min-width: 1024px) { .agx-cat-showcase__grid { grid-template-columns: 300px minmax(0,1fr); } }
.agx-cat-showcase__promo {
  position: relative; border-radius: 0.75rem; overflow: hidden; padding: 1.5rem; min-height: 280px;
}
.agx-cat-showcase__promo--red { background: linear-gradient(to bottom right, #fee2e2, #fecaca); }
.agx-cat-showcase__promo--dark { background: linear-gradient(to bottom right, #111827, #1f2937); color: #fff; }
.agx-cat-showcase__promo__label { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; }
.agx-cat-showcase__promo--red .agx-cat-showcase__promo__label { color: #b91c1c; }
.agx-cat-showcase__promo--dark .agx-cat-showcase__promo__label { color: var(--agx-primary); }
.agx-cat-showcase__promo__title { margin-top: 0.25rem; font-weight: 900; font-size: 1.5rem; line-height: 1.2; }
.agx-cat-showcase__promo img {
  position: absolute; bottom: 0.5rem; right: 0.5rem;
  height: 160px; width: 160px; object-fit: contain;
}
.agx-cat-showcase__content { }
.agx-cat-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .agx-cat-tags { grid-template-columns: repeat(4,1fr); } }
.agx-cat-tag {
  border-radius: 0.5rem; border: 1px solid var(--agx-border);
  padding: 0.75rem; text-align: center; font-size: 0.75rem;
  font-weight: 600; cursor: pointer; transition: border-color 0.2s;
}
.agx-cat-tag:hover { border-color: var(--agx-primary); }

/* ============================================================
   MINI CATEGORIES GRID
   ============================================================ */
.agx-mini-cats { padding: 1.5rem 0; }
.agx-promo-banners-grid { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .agx-promo-banners-grid { grid-template-columns: repeat(3,1fr); } }
.agx-promo-banner-card {
  position: relative; border-radius: 0.75rem; overflow: hidden;
  min-height: 160px; color: #fff; padding: 1.25rem;
  display: flex; align-items: flex-end;
  background: linear-gradient(to bottom right, #1f2937, #111827);
}
.agx-promo-banner-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6;
}
.agx-promo-banner-card__content { position: relative; z-index: 10; }
.agx-promo-banner-card__tag { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; color: var(--agx-primary); }
.agx-promo-banner-card__title { font-weight: 900; font-size: 1.25rem; margin-top: 0.25rem; }
.agx-promo-banner-card__link { font-size: 0.75rem; font-weight: 700; color: var(--agx-primary); display: inline-block; margin-top: 0.25rem; }
.agx-small-cats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; }
@media (min-width: 640px) { .agx-small-cats-grid { grid-template-columns: repeat(4,1fr); } }
@media (min-width: 1024px) { .agx-small-cats-grid { grid-template-columns: repeat(6,1fr); } }
.agx-small-cat-item {
  display: flex; flex-direction: column; align-items: center; border-radius: 9999px;
  border: 1px solid var(--agx-border); background-color: var(--agx-card);
  padding: 1rem 0; cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.agx-small-cat-item:hover { border-color: var(--agx-primary); box-shadow: var(--agx-shadow-md); }
.agx-small-cat-item__icon { display: grid; place-items: center; height: 56px; width: 56px; border-radius: 50%; background-color: var(--agx-muted); font-size: 1.5rem; }
.agx-small-cat-item__name { margin-top: 0.5rem; font-size: 0.75rem; font-weight: 600; }
.agx-small-cat-item__count { font-size: 0.625rem; color: var(--agx-muted-fg); }

/* ============================================================
   PROMO BANNERS (10% Back + App Download)
   ============================================================ */
.agx-promo-duo { padding: 1.5rem 0; display: grid; gap: 1rem; }
@media (min-width: 768px) { .agx-promo-duo { grid-template-columns: 1fr 1fr; } }
.agx-promo-duo__green {
  border-radius: 0.75rem;
  background: linear-gradient(to right, var(--agx-primary), #059669);
  color: #fff; padding: 1.5rem;
  display: flex; align-items: center; gap: 1.5rem; min-height: 140px;
}
.agx-promo-duo__green__icon {
  display: grid; place-items: center; height: 64px; width: 64px;
  border-radius: 0.5rem; background: rgba(255,255,255,0.2);
  font-size: 1.5rem; font-weight: 900; flex-shrink: 0;
}
.agx-promo-duo__green__title { font-weight: 900; font-size: 1.5rem; }
.agx-promo-duo__green__text { font-size: 0.875rem; color: rgba(255,255,255,0.9); margin-top: 0.25rem; }
.agx-promo-duo__dark {
  border-radius: 0.75rem; background: #111827; color: #fff;
  padding: 1.5rem; display: flex; align-items: center; gap: 1rem; min-height: 140px;
}
.agx-promo-duo__dark__title { font-weight: 900; font-size: 1.25rem; line-height: 1.2; }
.agx-promo-duo__dark__text { font-size: 0.75rem; color: rgba(255,255,255,0.7); margin-top: 0.25rem; }
.agx-app-btns { display: flex; gap: 0.5rem; margin-left: auto; }
.agx-app-btn {
  border-radius: 0.5rem; background: rgba(255,255,255,0.1);
  padding: 0.5rem 0.75rem; font-size: 0.75rem; font-weight: 600;
  border: none; color: #fff; cursor: pointer; transition: background 0.2s;
}
.agx-app-btn:hover { background: rgba(255,255,255,0.2); }

/* ============================================================
   BLOG / WHAT'S NEW
   ============================================================ */
.agx-whats-new { padding: 1.5rem 0; }
.agx-whats-new__inner {
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, rgba(92,184,92,0.1), rgba(236,253,245,0.8));
  padding: 1.5rem;
}
.agx-whats-new__header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem;
}
.agx-whats-new__title { font-size: 1.5rem; font-weight: 900; }
.agx-whats-new__title span { color: var(--agx-primary-dark); }
.agx-blog-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .agx-blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .agx-blog-grid { grid-template-columns: repeat(3,1fr); } }
.agx-blog-card { border-radius: 0.5rem; background-color: var(--agx-card); overflow: hidden; border: 1px solid var(--agx-border); }
.agx-blog-card img { width: 100%; height: 160px; object-fit: cover; }
.agx-blog-card__body { padding: 1rem; }
.agx-blog-card__date { font-size: 0.625rem; text-transform: uppercase; font-weight: 700; color: var(--agx-primary-dark); }
.agx-blog-card__title {
  margin-top: 0.5rem; font-weight: 700; font-size: 0.875rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ============================================================
   FOOTER
   ============================================================ */
.agx-footer { margin-top: 4rem; background: oklch(0.18 0.02 250); color: #fff; }
.agx-footer__newsletter { border-bottom: 1px solid rgba(255,255,255,0.1); }
.agx-footer__newsletter-inner {
  display: grid; gap: 1rem; padding: 2rem 0; align-items: center;
}
@media (min-width: 768px) { .agx-footer__newsletter-inner { grid-template-columns: 1fr auto; } }
.agx-footer__newsletter-title { font-size: 1.25rem; font-weight: 700; }
.agx-footer__newsletter-text { font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-top: 0.25rem; }
.agx-newsletter-form { display: flex; gap: 0.5rem; min-width: 0; }
.agx-newsletter-form input {
  flex: 1; min-width: 0; height: 44px; border-radius: 9999px;
  padding: 0 1rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; outline: none; font-size: 0.875rem;
}
.agx-newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.agx-newsletter-form button {
  height: 44px; border-radius: 9999px; background-color: var(--agx-primary);
  color: var(--agx-primary-fg); padding: 0 1.25rem; font-weight: 600; border: none; cursor: pointer;
  white-space: nowrap; transition: background-color 0.2s;
}
.agx-newsletter-form button:hover { background-color: var(--agx-primary-dark); }
.agx-footer__cols { display: grid; gap: 2rem; padding: 3rem 0; }
@media (min-width: 768px)  { .agx-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .agx-footer__cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.agx-footer__brand-icon {
  display: grid; place-items: center; height: 40px; width: 40px; border-radius: 50%;
  background-color: var(--agx-primary); color: var(--agx-primary-fg); font-weight: 900;
}
.agx-footer__brand-name { font-weight: 900; font-size: 1.125rem; }
.agx-footer__brand-tag { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.6); }
.agx-footer__about { font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-top: 1rem; max-width: 320px; line-height: 1.6; }
.agx-footer__contact { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.agx-footer__contact-item { display: flex; align-items: flex-start; gap: 0.5rem; }
.agx-footer__contact-item svg { width: 16px; height: 16px; color: var(--agx-primary); flex-shrink: 0; margin-top: 2px; }
.agx-footer__col-title { font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.agx-footer__links { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.agx-footer__links a:hover { color: var(--agx-primary); transition: color 0.2s; }
.agx-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.agx-footer__bottom-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding: 1.25rem 0; font-size: 0.75rem; color: rgba(255,255,255,0.6);
}
@media (min-width: 768px) { .agx-footer__bottom-inner { flex-direction: row; } }
.agx-social-links { display: flex; align-items: center; gap: 0.75rem; }
.agx-social-link {
  display: grid; place-items: center; height: 32px; width: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.1); transition: background-color 0.2s;
}
.agx-social-link:hover { background-color: var(--agx-primary); }
.agx-social-link svg { width: 16px; height: 16px; }

/* ============================================================
   SHOP PAGE
   ============================================================ */
.agx-shop-layout { display: grid; gap: 1.5rem; padding: 1.5rem 0; }
@media (min-width: 1024px) { .agx-shop-layout { grid-template-columns: 240px minmax(0,1fr); } }
.agx-filter-sidebar { display: none; }
@media (min-width: 1024px) { .agx-filter-sidebar { display: block; } }
.agx-filter-box { border-radius: 0.75rem; border: 1px solid var(--agx-border); background-color: var(--agx-card); padding: 1rem; margin-bottom: 1.5rem; }
.agx-filter-box__title { font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.agx-filter-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0; border-bottom: 1px solid var(--agx-border);
  font-size: 0.875rem; cursor: pointer; transition: color 0.2s;
}
.agx-filter-list li:last-child { border-bottom: none; }
.agx-filter-list li:hover { color: var(--agx-primary); }
.agx-filter-list li svg { width: 12px; height: 12px; }
.agx-filter-checkbox { display: flex; flex-direction: column; gap: 0.25rem; }
.agx-filter-checkbox label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; padding: 0.25rem 0; cursor: pointer;
}
.agx-filter-checkbox input[type="checkbox"] { accent-color: var(--agx-primary); }
.agx-shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; background-color: var(--agx-muted);
  border-radius: 0.5rem; padding: 0.75rem 1rem;
}
.agx-shop-toolbar__count { font-size: 0.875rem; color: var(--agx-muted-fg); }
.agx-shop-toolbar__right { display: flex; align-items: center; gap: 0.75rem; }
.agx-filter-toggle {
  display: flex; align-items: center; gap: 0.25rem; font-size: 0.875rem;
  font-weight: 600; border: none; background: none; cursor: pointer;
}
@media (min-width: 1024px) { .agx-filter-toggle { display: none; } }
.agx-filter-toggle svg { width: 16px; height: 16px; }
.agx-sort-select {
  border-radius: 0.375rem; border: 1px solid var(--agx-border);
  background-color: var(--agx-background); font-size: 0.875rem;
  padding: 0.375rem 0.75rem; outline: none;
}
.agx-shop-range { width: 100%; accent-color: var(--agx-primary); }
.agx-range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--agx-muted-fg); margin-top: 0.5rem; }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.agx-product-detail { padding: 2rem 0; }
.agx-product-detail__grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .agx-product-detail__grid { grid-template-columns: 1fr 1fr; } }
.agx-product-gallery { display: grid; gap: 1rem; grid-template-columns: 80px minmax(0,1fr); }
.agx-product-thumbs { display: flex; flex-direction: column; gap: 0.75rem; }
.agx-product-thumb {
  aspect-ratio: 1; border-radius: 0.75rem; overflow: hidden;
  border: 2px solid var(--agx-border); cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.agx-product-thumb.is-active { border-color: var(--agx-primary); box-shadow: var(--agx-shadow-md); transform: scale(1.02); }
.agx-product-thumb:hover { border-color: rgba(92,184,92,0.5); }
.agx-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.agx-product-main-img {
  position: relative; aspect-ratio: 1; border-radius: 1rem; overflow: hidden;
  background-color: var(--agx-muted); cursor: zoom-in;
}
.agx-product-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.agx-product-main-img:hover img { transform: scale(1.1); }
.agx-product-main-img__expand {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  display: grid; place-items: center; height: 40px; width: 40px;
  border-radius: 50%; background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px); border: 1px solid var(--agx-border);
  opacity: 0; transition: opacity 0.2s; border: none; cursor: pointer;
}
.agx-product-main-img:hover .agx-product-main-img__expand { opacity: 1; }
.agx-product-main-img__expand svg { width: 16px; height: 16px; }
.agx-product-main-img__badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 10;
  border-radius: 0.375rem; background-color: var(--agx-primary);
  color: var(--agx-primary-fg); font-size: 0.75rem; font-weight: 700;
  padding: 0.375rem 0.75rem; box-shadow: var(--agx-shadow);
}
/* Product Info */
.agx-product-info__brand { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--agx-primary-dark); letter-spacing: 0.2em; }
.agx-product-info__title { margin-top: 0.5rem; font-size: 1.5rem; font-weight: 900; line-height: 1.2; }
@media (min-width: 768px) { .agx-product-info__title { font-size: 2rem; } }
.agx-product-info__meta { margin-top: 0.75rem; display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; flex-wrap: wrap; }
.agx-stars { display: flex; align-items: center; gap: 2px; color: #f59e0b; }
.agx-stars svg { width: 16px; height: 16px; fill: #fbbf24; }
.agx-product-info__meta-sep { color: var(--agx-muted-fg); }
.agx-product-info__stock { color: var(--agx-primary-dark); font-weight: 600; display: flex; align-items: center; gap: 0.25rem; }
.agx-product-info__stock svg { width: 16px; height: 16px; }
.agx-product-info__prices { margin-top: 1.25rem; display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.agx-product-info__price-now { font-size: 2.5rem; font-weight: 900; color: var(--agx-sale); }
.agx-product-info__price-old { font-size: 1.125rem; color: var(--agx-muted-fg); text-decoration: line-through; }
.agx-product-info__save { border-radius: 9999px; background: rgba(92,184,92,0.1); color: var(--agx-primary-dark); font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.75rem; }
.agx-product-info__desc { margin-top: 1rem; font-size: 0.875rem; color: var(--agx-muted-fg); line-height: 1.7; }
.agx-color-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.agx-color-swatches { display: flex; align-items: center; gap: 0.5rem; }
.agx-color-swatch {
  height: 32px; width: 32px; border-radius: 50%; border: 2px solid var(--agx-border);
  cursor: pointer; transition: transform 0.2s;
}
.agx-color-swatch:hover { transform: scale(1.1); }
.agx-color-swatch.is-active { border-color: var(--agx-primary); }

/* Product Actions */
.agx-product-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.agx-qty-control {
  display: inline-flex; align-items: center; border-radius: 9999px;
  border: 1px solid var(--agx-border); height: 48px;
}
.agx-qty-btn {
  display: grid; place-items: center; height: 48px; width: 48px;
  border: none; background: none; cursor: pointer; transition: color 0.2s;
}
.agx-qty-btn:hover { color: var(--agx-primary); }
.agx-qty-btn svg { width: 16px; height: 16px; }
.agx-qty-display { width: 40px; text-align: center; font-weight: 700; }
.agx-btn-add-cart {
  display: inline-flex; align-items: center; gap: 0.5rem; height: 48px;
  border-radius: 9999px; background-color: var(--agx-primary); color: var(--agx-primary-fg);
  padding: 0 1.5rem; font-weight: 700; font-size: 0.875rem; border: none; cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.agx-btn-add-cart:hover { background-color: var(--agx-primary-dark); box-shadow: 0 8px 24px -8px rgba(92,184,92,0.5); transform: scale(1.02); }
.agx-btn-add-cart:active { transform: scale(0.98); }
.agx-btn-add-cart svg { width: 16px; height: 16px; }
.agx-btn-buy-now {
  display: inline-flex; align-items: center; gap: 0.5rem; height: 48px;
  border-radius: 9999px; background-color: var(--agx-foreground); color: var(--agx-background);
  padding: 0 1.5rem; font-weight: 700; font-size: 0.875rem; border: none; cursor: pointer;
  transition: opacity 0.2s; text-decoration: none;
}
.agx-btn-buy-now:hover { opacity: 0.9; }
.agx-btn-icon {
  display: grid; place-items: center; height: 48px; width: 48px; border-radius: 50%;
  border: 1px solid var(--agx-border); background: none; cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.agx-btn-icon:hover { border-color: var(--agx-primary); color: var(--agx-primary); }
.agx-btn-icon svg { width: 16px; height: 16px; }
/* Guarantees */
.agx-guarantees { margin-top: 1.5rem; display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .agx-guarantees { grid-template-columns: repeat(3,1fr); } }
.agx-guarantee-item {
  display: flex; align-items: center; gap: 0.75rem; border-radius: 0.5rem;
  border: 1px solid var(--agx-border); padding: 0.75rem; transition: border-color 0.2s, background-color 0.2s;
}
.agx-guarantee-item:hover { border-color: var(--agx-primary); background-color: rgba(92,184,92,0.05); }
.agx-guarantee-item__icon {
  display: grid; place-items: center; height: 36px; width: 36px; border-radius: 50%;
  background: rgba(92,184,92,0.1); color: var(--agx-primary); flex-shrink: 0;
}
.agx-guarantee-item__icon svg { width: 16px; height: 16px; }
.agx-guarantee-item__title { font-size: 0.75rem; font-weight: 700; }
.agx-guarantee-item__desc { font-size: 0.6875rem; color: var(--agx-muted-fg); }
.agx-product-meta { margin-top: 1.5rem; border-top: 1px solid var(--agx-border); padding-top: 1rem; font-size: 0.75rem; color: var(--agx-muted-fg); display: flex; flex-direction: column; gap: 0.25rem; }
.agx-product-meta span { font-weight: 600; color: var(--agx-foreground); }
/* Tabs */
.agx-product-tabs { margin-top: 3.5rem; }
.agx-tabs-nav { display: flex; align-items: center; gap: 2rem; border-bottom: 1px solid var(--agx-border); }
.agx-tabs-btn {
  padding-bottom: 0.75rem; font-size: 0.875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; background: none; border: none; cursor: pointer;
  color: var(--agx-muted-fg); transition: color 0.2s; white-space: nowrap;
}
.agx-tabs-btn.is-active { color: var(--agx-foreground); border-bottom: 2px solid var(--agx-primary); margin-bottom: -1px; }
.agx-tabs-content { padding: 1.5rem 0; font-size: 0.875rem; color: var(--agx-muted-fg); line-height: 1.7; max-width: 720px; display: none; }
.agx-tabs-content.is-active { display: block; }
.agx-tabs-content ul { list-style: disc; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; }
.agx-product-info-table { width: 100%; font-size: 0.875rem; border-collapse: collapse; }
.agx-product-info-table tr { border-bottom: 1px solid var(--agx-border); }
.agx-product-info-table td { padding: 0.625rem 0; }
.agx-product-info-table td:first-child { font-weight: 600; color: var(--agx-foreground); width: 160px; }
.agx-review-card { border-radius: 0.75rem; border: 1px solid var(--agx-border); padding: 1rem; margin-bottom: 1rem; }
.agx-review-card__head { display: flex; align-items: center; gap: 0.5rem; }
.agx-reviewer-avatar {
  display: grid; place-items: center; height: 36px; width: 36px; border-radius: 50%;
  background: rgba(92,184,92,0.1); color: var(--agx-primary); font-weight: 700; font-size: 0.875rem;
}
.agx-reviewer-name { font-size: 0.875rem; font-weight: 700; }
.agx-review-card p { margin-top: 0.5rem; font-size: 0.875rem; }

/* ============================================================
   CART PAGE
   ============================================================ */
.agx-cart-layout { display: grid; gap: 1.5rem; padding: 2rem 0; }
@media (min-width: 1024px) { .agx-cart-layout { grid-template-columns: minmax(0,1fr) 360px; } }
.agx-cart-table-wrap { border-radius: 0.75rem; border: 1px solid var(--agx-border); background-color: var(--agx-card); overflow: hidden; }
.agx-cart-table { width: 100%; font-size: 0.875rem; border-collapse: collapse; }
.agx-cart-table thead { background-color: var(--agx-muted); text-align: left; }
.agx-cart-table th { padding: 1rem; font-weight: 700; }
.agx-cart-table td { padding: 1rem; border-top: 1px solid var(--agx-border); vertical-align: middle; }
.agx-cart-product-cell { display: flex; align-items: center; gap: 0.75rem; }
.agx-cart-product-cell img { height: 64px; width: 64px; border-radius: 0.375rem; object-fit: cover; flex-shrink: 0; }
.agx-cart-product-cell span { font-weight: 500; line-height: 1.4; }
.agx-cart-price { font-weight: 700; color: var(--agx-sale); }
.agx-cart-qty {
  display: inline-flex; align-items: center; border-radius: 9999px;
  border: 1px solid var(--agx-border);
}
.agx-cart-qty button { display: grid; place-items: center; height: 32px; width: 32px; border: none; background: none; cursor: pointer; }
.agx-cart-qty button svg { width: 12px; height: 12px; }
.agx-cart-qty span { width: 32px; text-align: center; font-weight: 600; }
.agx-cart-remove { color: var(--agx-muted-fg); background: none; border: none; cursor: pointer; transition: color 0.2s; }
.agx-cart-remove:hover { color: var(--agx-destructive); }
.agx-cart-remove svg { width: 16px; height: 16px; }
.agx-cart-footer { padding: 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; border-top: 1px solid var(--agx-border); }
.agx-btn-outline {
  display: inline-flex; align-items: center; border-radius: 9999px; border: 1px solid var(--agx-border);
  padding: 0 1.25rem; height: 40px; font-weight: 600; font-size: 0.875rem;
  background: none; cursor: pointer; transition: border-color 0.2s, color 0.2s; text-decoration: none; color: inherit;
}
.agx-btn-outline:hover { border-color: var(--agx-primary); color: var(--agx-primary); }
.agx-btn-muted {
  border-radius: 9999px; background-color: var(--agx-muted);
  padding: 0 1.25rem; height: 40px; font-weight: 600; font-size: 0.875rem;
  border: none; cursor: pointer; transition: background-color 0.2s;
}
.agx-btn-muted:hover { background-color: var(--agx-border); }
/* Order Summary */
.agx-order-summary { border-radius: 0.75rem; border: 1px solid var(--agx-border); background-color: var(--agx-card); padding: 1.5rem; }
.agx-order-summary h3 { font-weight: 700; font-size: 1.125rem; margin-bottom: 1rem; }
.agx-summary-rows { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.agx-summary-row { display: flex; justify-content: space-between; }
.agx-summary-row__label { color: var(--agx-muted-fg); }
.agx-summary-row__val { font-weight: 600; }
.agx-summary-divider { border: none; border-top: 1px solid var(--agx-border); margin: 1rem 0; }
.agx-summary-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.125rem; }
.agx-summary-total span:last-child { color: var(--agx-sale); }
.agx-coupon-row { display: flex; gap: 0.5rem; margin-top: 1rem; }
.agx-coupon-row input {
  flex: 1; min-width: 0; height: 40px; border-radius: 9999px; border: 1px solid var(--agx-border);
  background-color: var(--agx-background); padding: 0 1rem; font-size: 0.875rem; outline: none;
}
.agx-coupon-row input:focus { border-color: var(--agx-primary); }
.agx-btn-checkout {
  display: block; text-align: center; border-radius: 9999px; background-color: var(--agx-primary);
  color: var(--agx-primary-fg); height: 44px; line-height: 44px; font-weight: 700; font-size: 0.875rem;
  border: none; cursor: pointer; width: 100%; margin-top: 1rem; transition: background-color 0.2s; text-decoration: none;
}
.agx-btn-checkout:hover { background-color: var(--agx-primary-dark); }

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.agx-checkout-layout { display: grid; gap: 1.5rem; padding: 2rem 0; }
@media (min-width: 1024px) { .agx-checkout-layout { grid-template-columns: minmax(0,1fr) 400px; } }
.agx-checkout-form { display: flex; flex-direction: column; gap: 1.5rem; }
.agx-form-section { border-radius: 0.75rem; border: 1px solid var(--agx-border); background-color: var(--agx-card); padding: 1.5rem; }
.agx-form-section h3 { font-weight: 700; font-size: 1.125rem; margin-bottom: 1rem; }
.agx-form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .agx-form-grid { grid-template-columns: 1fr 1fr; } }
.agx-form-field { display: block; }
.agx-form-field--wide { grid-column: 1 / -1; }
.agx-form-field label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--agx-muted-fg); margin-bottom: 0.25rem; }
.agx-form-field input, .agx-form-field select {
  width: 100%; height: 44px; border-radius: 0.5rem; border: 1px solid var(--agx-border);
  background-color: var(--agx-background); padding: 0 0.75rem; font-size: 0.875rem; outline: none;
  transition: border-color 0.2s;
}
.agx-form-field input:focus, .agx-form-field select:focus { border-color: var(--agx-primary); }
.agx-payment-options { display: flex; flex-direction: column; gap: 0.5rem; }
.agx-payment-option {
  display: flex; align-items: center; gap: 0.75rem; border-radius: 0.5rem;
  border: 1px solid var(--agx-border); padding: 0.75rem; cursor: pointer; transition: border-color 0.2s;
}
.agx-payment-option:hover { border-color: var(--agx-primary); }
.agx-payment-option input[type="radio"] { accent-color: var(--agx-primary); width: 16px; height: 16px; }
.agx-payment-option span { font-weight: 600; font-size: 0.875rem; }
/* Checkout Order */
.agx-checkout-order { border-radius: 0.75rem; border: 1px solid var(--agx-border); background-color: var(--agx-card); padding: 1.5rem; }
.agx-checkout-order h3 { font-weight: 700; font-size: 1.125rem; margin-bottom: 1rem; }
.agx-checkout-items { display: flex; flex-direction: column; gap: 0.75rem; }
.agx-checkout-item { display: flex; gap: 0.75rem; align-items: center; }
.agx-checkout-item img { height: 56px; width: 56px; border-radius: 0.375rem; object-fit: cover; flex-shrink: 0; }
.agx-checkout-item__info { flex: 1; min-width: 0; }
.agx-checkout-item__name { font-size: 0.875rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agx-checkout-item__qty { font-size: 0.75rem; color: var(--agx-muted-fg); }
.agx-checkout-item__price { font-weight: 700; color: var(--agx-sale); white-space: nowrap; }
.agx-btn-place-order {
  display: block; width: 100%; text-align: center; border-radius: 9999px;
  background-color: var(--agx-primary); color: var(--agx-primary-fg); height: 48px;
  line-height: 48px; font-weight: 700; font-size: 0.875rem; border: none; cursor: pointer;
  margin-top: 1.25rem; transition: background-color 0.2s;
}
.agx-btn-place-order:hover { background-color: var(--agx-primary-dark); }
.agx-secure-note { margin-top: 0.75rem; font-size: 0.75rem; color: var(--agx-muted-fg); text-align: center; }

/* ============================================================
   WISHLIST PAGE
   ============================================================ */
.agx-wishlist-wrap { padding: 2rem 0; }
.agx-wishlist-table-wrap { border-radius: 0.75rem; border: 1px solid var(--agx-border); background-color: var(--agx-card); overflow: hidden; }
.agx-wishlist-table { width: 100%; font-size: 0.875rem; border-collapse: collapse; }
.agx-wishlist-table thead { background-color: var(--agx-muted); text-align: left; }
.agx-wishlist-table th { padding: 1rem; font-weight: 700; }
.agx-wishlist-table td { padding: 1rem; border-top: 1px solid var(--agx-border); vertical-align: middle; }
.agx-wishlist-product { display: flex; align-items: center; gap: 0.75rem; }
.agx-wishlist-product img { height: 64px; width: 64px; border-radius: 0.375rem; object-fit: cover; }
.agx-in-stock { color: var(--agx-primary-dark); font-weight: 600; }
.agx-btn-atc-sm {
  display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px;
  background-color: var(--agx-primary); color: var(--agx-primary-fg);
  padding: 0 1rem; height: 36px; font-weight: 600; font-size: 0.75rem;
  border: none; cursor: pointer; transition: background-color 0.2s; text-decoration: none;
}
.agx-btn-atc-sm:hover { background-color: var(--agx-primary-dark); }
.agx-btn-atc-sm svg { width: 14px; height: 14px; }
.agx-btn-remove { color: var(--agx-muted-fg); background: none; border: none; cursor: pointer; transition: color 0.2s; }
.agx-btn-remove:hover { color: var(--agx-destructive); }
.agx-btn-remove svg { width: 16px; height: 16px; }
.agx-wishlist-actions { margin-top: 1.5rem; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.agx-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.agx-backdrop.is-open { opacity: 1; pointer-events: auto; }
.agx-cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 90;
  height: 100%; width: 100%; background-color: var(--agx-card);
  box-shadow: -4px 0 40px rgba(0,0,0,0.15); border-left: 1px solid var(--agx-border);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 640px) { .agx-cart-drawer { width: 420px; } }
.agx-cart-drawer.is-open { transform: translateX(0); }
.agx-cart-drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.25rem; height: 64px; border-bottom: 1px solid var(--agx-border);
  background: linear-gradient(to right, rgba(92,184,92,0.1), transparent); flex-shrink: 0;
}
.agx-cart-drawer__head-left { display: flex; align-items: center; gap: 0.5rem; }
.agx-cart-drawer__icon {
  position: relative; display: grid; place-items: center; height: 36px; width: 36px;
  border-radius: 50%; background-color: var(--agx-primary); color: var(--agx-primary-fg);
}
.agx-cart-drawer__icon svg { width: 16px; height: 16px; }
.agx-cart-drawer__count-badge {
  position: absolute; top: -4px; right: -4px; display: grid; place-items-center;
  height: 20px; min-width: 20px; border-radius: 9999px;
  background-color: var(--agx-sale); color: #fff; font-size: 0.625rem; font-weight: 700; padding: 0 4px;
}
.agx-cart-drawer__title { font-weight: 900; font-size: 0.875rem; }
.agx-cart-drawer__subtitle { font-size: 0.6875rem; color: var(--agx-muted-fg); }
.agx-cart-drawer__close {
  display: grid; place-items: center; height: 36px; width: 36px;
  border-radius: 50%; border: none; background: none; cursor: pointer; transition: background-color 0.2s;
}
.agx-cart-drawer__close:hover { background-color: var(--agx-muted); }
.agx-cart-drawer__close svg { width: 16px; height: 16px; }
.agx-cart-drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; }
.agx-cart-drawer__footer {
  border-top: 1px solid var(--agx-border); padding: 1.25rem;
  background: rgba(255,255,255,0.6); backdrop-filter: blur(8px); flex-shrink: 0;
}
.agx-cart-drawer__subtotal { display: flex; align-items: center; justify-content: space-between; font-size: 0.875rem; }
.agx-cart-drawer__subtotal-label { color: var(--agx-muted-fg); }
.agx-cart-drawer__subtotal-val { font-weight: 900; font-size: 1.125rem; color: var(--agx-sale); }
.agx-cart-drawer__shipping-note { font-size: 0.6875rem; color: var(--agx-muted-fg); margin-top: 0.25rem; }
.agx-cart-drawer__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 1rem; }
.agx-cart-drawer__view-btn {
  display: grid; place-items: center; height: 44px; border-radius: 9999px;
  border: 1px solid var(--agx-border); font-weight: 700; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.05em; background: none; cursor: pointer;
  transition: border-color 0.2s, color 0.2s; text-decoration: none; color: inherit;
}
.agx-cart-drawer__view-btn:hover { border-color: var(--agx-primary); color: var(--agx-primary); }
.agx-cart-drawer__checkout-btn {
  display: grid; place-items: center; height: 44px; border-radius: 9999px;
  background-color: var(--agx-primary); color: var(--agx-primary-fg);
  font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em;
  border: none; cursor: pointer; transition: background-color 0.2s; text-decoration: none;
}
.agx-cart-drawer__checkout-btn:hover { background-color: var(--agx-primary-dark); }
.agx-cart-drawer__continue { display: block; width: 100%; text-align: center; font-size: 0.75rem; color: var(--agx-muted-fg); margin-top: 0.5rem; background: none; border: none; cursor: pointer; transition: color 0.2s; }
.agx-cart-drawer__continue:hover { color: var(--agx-foreground); }
.agx-cart-empty { display: grid; place-items: center; text-align: center; padding: 3rem 2rem; }
.agx-cart-empty__icon { display: grid; place-items: center; height: 80px; width: 80px; border-radius: 50%; background-color: var(--agx-muted); margin: 0 auto; }
.agx-cart-empty__icon svg { width: 32px; height: 32px; color: var(--agx-muted-fg); }
.agx-cart-empty p { font-weight: 700; margin-top: 1rem; }
.agx-cart-empty small { font-size: 0.75rem; color: var(--agx-muted-fg); }
.agx-cart-notify { border-radius: 0.5rem; background: rgba(92,184,92,0.1); color: var(--agx-primary-dark); font-size: 0.75rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; margin-bottom: 1rem; }
.agx-cart-notify svg { width: 14px; height: 14px; flex-shrink: 0; }
.agx-drawer-item {
  display: flex; gap: 0.75rem; border-radius: 0.75rem; border: 1px solid var(--agx-border);
  background-color: var(--agx-background); padding: 0.75rem; margin-bottom: 1rem;
}
.agx-drawer-item__img { height: 80px; width: 80px; flex-shrink: 0; border-radius: 0.5rem; overflow: hidden; background-color: var(--agx-muted); }
.agx-drawer-item__img img { width: 100%; height: 100%; object-fit: cover; }
.agx-drawer-item__info { flex: 1; min-width: 0; }
.agx-drawer-item__name { font-size: 0.875rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.agx-drawer-item__brand { font-size: 0.6875rem; color: var(--agx-muted-fg); margin-top: 0.25rem; }
.agx-drawer-item__footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.5rem; }
.agx-drawer-item__price { font-weight: 900; color: var(--agx-sale); font-size: 0.875rem; }
.agx-drawer-item__remove { color: var(--agx-muted-fg); background: none; border: none; cursor: pointer; transition: color 0.2s; }
.agx-drawer-item__remove:hover { color: var(--agx-destructive); }
.agx-drawer-item__remove svg { width: 16px; height: 16px; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.agx-lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.9); display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.agx-lightbox__close {
  position: absolute; top: 1rem; right: 1rem;
  display: grid; place-items: center; height: 44px; width: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: none; cursor: pointer; color: #fff; z-index: 10;
}
.agx-lightbox__close svg { width: 20px; height: 20px; }
.agx-lightbox__img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 0.5rem; }
.agx-lightbox__prev, .agx-lightbox__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; height: 44px; width: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: none; cursor: pointer; color: #fff;
}
.agx-lightbox__prev { left: 1rem; }
.agx-lightbox__next { right: 1rem; }
.agx-lightbox__prev svg, .agx-lightbox__next svg { width: 20px; height: 20px; }

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 639px) { .agx-hide-mobile { display: none !important; } }
@media (min-width: 640px) { .agx-show-mobile-only { display: none !important; } }
@media (max-width: 767px) { .agx-hide-sm { display: none !important; } }
@media (max-width: 1023px) { .agx-hide-md { display: none !important; } }

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */

/* Remove WooCommerce default styles conflicts */
.woocommerce-page .woocommerce,
.woocommerce { font-family: var(--agx-font-sans); }

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  border-top: none !important;
}
.woocommerce-message { background: rgba(92,184,92,0.1); color: var(--agx-primary-dark); }
.woocommerce-error  { background: rgba(220,38,38,0.08); color: var(--agx-destructive); }
.woocommerce-info   { background: rgba(14,165,233,0.08); color: #0284c7; }

/* WooCommerce pagination */
.woocommerce-pagination .page-numbers {
  display: flex; gap: 0.5rem; list-style: none;
  justify-content: center; flex-wrap: wrap; margin-top: 2rem;
}
.woocommerce-pagination .page-numbers li .page-numbers {
  display: grid; place-items: center;
  height: 40px; min-width: 40px; padding: 0 0.5rem;
  border-radius: 0.5rem; border: 1px solid var(--agx-border);
  font-size: 0.875rem; font-weight: 600; transition: all 0.2s;
  text-decoration: none; color: var(--agx-foreground);
}
.woocommerce-pagination .page-numbers li .page-numbers:hover,
.woocommerce-pagination .page-numbers li .page-numbers.current {
  background-color: var(--agx-primary); color: var(--agx-primary-fg); border-color: var(--agx-primary);
}

/* WooCommerce ordering select */
.woocommerce-ordering .orderby {
  border-radius: 0.375rem; border: 1px solid var(--agx-border);
  background-color: var(--agx-background); font-size: 0.875rem;
  padding: 0.375rem 0.75rem; outline: none; font-family: var(--agx-font-sans);
}

/* WooCommerce result count */
.woocommerce-result-count { font-size: 0.875rem; color: var(--agx-muted-fg); margin: 0; }

/* WooCommerce single add to cart — hide default quantity */
.woocommerce .quantity { display: none !important; }

/* Hide WooCommerce default add-to-cart button if we use custom */
.single-product .single_add_to_cart_button.button.alt {
  background-color: var(--agx-primary) !important;
  color: var(--agx-primary-fg) !important;
  border-radius: 9999px !important;
  font-family: var(--agx-font-sans) !important;
  font-weight: 700 !important;
  padding: 0 1.5rem !important;
  height: 48px !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: background-color 0.2s, transform 0.2s !important;
  font-size: 0.875rem !important;
}
.single-product .single_add_to_cart_button.button.alt:hover {
  background-color: var(--agx-primary-dark) !important;
  transform: scale(1.02) !important;
}

/* WooCommerce product price on archive */
.woocommerce ul.products li.product { list-style: none; }

/* WooCommerce breadcrumb hide (we use ours) */
.woocommerce-breadcrumb { display: none; }

/* WooCommerce reviews form */
#review_form .comment-form-rating { margin-bottom: 0.75rem; }
#review_form input[type="text"],
#review_form input[type="email"],
#review_form textarea {
  width: 100%; border-radius: 0.5rem; border: 1px solid var(--agx-border);
  padding: 0.625rem 0.75rem; font-size: 0.875rem; font-family: var(--agx-font-sans);
  background-color: var(--agx-background); margin-top: 0.25rem;
}
#review_form input:focus, #review_form textarea:focus { border-color: var(--agx-primary); outline: none; }
#review_form .form-submit input[type="submit"] {
  border-radius: 9999px; background-color: var(--agx-primary); color: var(--agx-primary-fg);
  padding: 0 1.5rem; height: 44px; font-weight: 700; font-size: 0.875rem; border: none; cursor: pointer;
}
#review_form .form-submit input:hover { background-color: var(--agx-primary-dark); }

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .agx-header, .agx-footer, .agx-cart-drawer, .agx-backdrop,
  .agx-shipping-banner, .agx-promo-duo, .agx-whats-new { display: none !important; }
  body { color: #000; background: #fff; }
  .agx-container { max-width: 100%; padding: 0; }
}

/* ============================================================
   WOO MAIN WRAPPER
   ============================================================ */
.agx-woo-main { padding: 1.5rem 0; }

/* WooCommerce ordering button override */
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select {
  border-radius: 0.375rem !important;
  border: 1px solid var(--agx-border) !important;
  background-color: var(--agx-background) !important;
  font-size: 0.875rem !important;
  padding: 0.375rem 0.75rem !important;
  outline: none !important;
  font-family: var(--agx-font-sans) !important;
  -webkit-appearance: auto !important;
}

/* WooCommerce result count */
p.woocommerce-result-count {
  font-size: 0.875rem;
  color: var(--agx-muted-fg);
  margin: 0;
  padding: 0;
}

/* Remove WooCommerce notices margin top */
.woocommerce-notices-wrapper { margin-top: 1rem; }

/* WooCommerce form fields that appear on cart/checkout */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select {
  width: 100%;
  height: 44px;
  border-radius: 0.5rem !important;
  border: 1px solid var(--agx-border) !important;
  background-color: var(--agx-background) !important;
  padding: 0 0.75rem !important;
  font-size: 0.875rem !important;
  font-family: var(--agx-font-sans) !important;
  outline: none !important;
  box-shadow: none !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--agx-primary) !important;
}

/* WooCommerce buttons */
.woocommerce a.button,
.woocommerce button.button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  border-radius: 9999px !important;
  background-color: var(--agx-primary) !important;
  color: var(--agx-primary-fg) !important;
  padding: 0 1.5rem !important;
  height: 44px !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  font-family: var(--agx-font-sans) !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s !important;
  text-decoration: none !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background-color: var(--agx-primary-dark) !important;
  color: var(--agx-primary-fg) !important;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background-color: var(--agx-primary) !important;
}

/* ============================================================
   ACCESSIBILITY: Focus rings
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--agx-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -999px; left: -999px;
  z-index: 999; padding: 0.5rem 1rem;
  background: var(--agx-primary); color: var(--agx-primary-fg);
  font-weight: 700; font-size: 0.875rem; border-radius: 0 0 0.5rem 0;
}
.skip-link:focus { top: 0; left: 0; }

/* ============================================================
   HEADER FIXES — Override to prevent layout breakage
   ============================================================ */

/* Main inner: flex, no wrap, correct overflow */
.agx-header__main-inner {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;
  min-height: 72px;
}

/* SVG inside header must never be block-level or oversized */
.agx-header svg,
.agx-nav svg,
.agx-topbar svg {
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

/* Force icon sizes inside header actions */
.agx-header-actions svg { width: 20px !important; height: 20px !important; }
.agx-cart-btn svg,
.agx-searchbar__btn svg,
.agx-nav-bar__categories-btn svg { width: 16px !important; height: 16px !important; }
.agx-hamburger svg { width: 20px !important; height: 20px !important; }
.agx-nav svg { width: 12px !important; height: 12px !important; }
.agx-topbar svg { width: 12px !important; height: 12px !important; }

/* Header contact inline */
.agx-header-contact {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  flex-shrink: 0;
  white-space: nowrap;
}
@media (min-width: 768px) { .agx-header-contact { display: flex; } }
.agx-header-contact svg { width: 16px !important; height: 16px !important; flex-shrink: 0; }
.agx-header-contact__label { font-size: 0.625rem; text-transform: uppercase; color: var(--agx-muted-fg); line-height: 1; display: block; }
.agx-header-contact__number { font-weight: 700; line-height: 1; display: block; }

/* Header actions container */
.agx-header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  flex-shrink: 0 !important;
  flex-wrap: nowrap !important;
}

/* Icon button reset */
.agx-icon-btn {
  display: grid !important;
  place-items: center !important;
  height: 40px !important;
  width: 40px !important;
  min-width: 40px !important;
  border-radius: 50% !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  position: relative !important;
  transition: background-color 0.2s !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
  color: inherit !important;
}
.agx-icon-btn:hover { background-color: var(--agx-muted) !important; }

/* Login button */
.agx-login-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (min-width: 640px) { .agx-login-btn { display: flex !important; } }
.agx-login-btn svg { width: 20px !important; height: 20px !important; flex-shrink: 0; }

/* Cart button */
.agx-cart-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  border-radius: 9999px !important;
  background-color: var(--agx-primary) !important;
  color: var(--agx-primary-fg) !important;
  padding: 0 1rem !important;
  height: 40px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}
.agx-cart-btn:hover { background-color: var(--agx-primary-dark) !important; color: #fff !important; }

/* Hamburger button */
.agx-hamburger {
  display: grid !important;
  place-items: center !important;
  height: 40px !important;
  width: 40px !important;
  min-width: 40px !important;
  border-radius: 50% !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: background-color 0.2s !important;
}
.agx-hamburger:hover { background-color: var(--agx-muted) !important; }
@media (min-width: 1024px) { .agx-hamburger { display: none !important; } }

/* Nav bar promo — hide overflow items */
.agx-nav-bar__promo .agx-nav-bar__promo-item:nth-child(n+2) { display: none; }
@media (min-width: 1024px) { .agx-nav-bar__promo .agx-nav-bar__promo-item { display: flex !important; } }

/* Desktop nav flex */
.agx-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-left: 1.5rem;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .agx-nav { display: flex; } }
.agx-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
}
.agx-nav a:hover { color: var(--agx-primary); }

/* Nav badge fix */
.agx-badge {
  position: absolute;
  top: -4px; right: -4px;
  display: grid;
  place-items: center;
  height: 20px; width: 20px;
  border-radius: 50%;
  background-color: var(--agx-primary);
  color: var(--agx-primary-fg);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

/* Shop 2-col layout */
@media (min-width: 1024px) {
  .agx-shop-2col {
    display: grid !important;
    grid-template-columns: 240px minmax(0,1fr) !important;
    gap: 1.5rem !important;
  }
  .agx-filter-sidebar { display: block !important; }
}

/* Product detail grid */
.agx-product-detail__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .agx-product-detail__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   ALL CATEGORIES MEGAMENU
   ============================================================ */
.agx-all-cats { position: relative; z-index: 150; flex-shrink: 0; }
.agx-all-cats__panel {
  position: absolute; top: 100%; left: 0;
  width: 260px; background: #fff;
  border-radius: 0 0 .75rem .75rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  border: 1px solid #e8eaed; border-top: none;
  overflow: hidden;
  max-height: 0; opacity: 0; pointer-events: none;
  transition: max-height .35s cubic-bezier(.2,.7,.2,1), opacity .25s ease;
}
.agx-all-cats__panel.is-open {
  max-height: 600px; opacity: 1; pointer-events: auto;
}
.agx-all-cats__list { list-style: none; padding: .5rem 0; margin: 0; }
.agx-all-cats__item { position: relative; }
.agx-all-cats__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: .625rem 1.125rem; font-size: .875rem; color: #1a1f2e;
  text-decoration: none; transition: background .15s, color .15s; gap: .5rem;
}
.agx-all-cats__link:hover,
.agx-all-cats__item.is-hovered > .agx-all-cats__link { background: #f7f8fa; color: #5cb85c; }
/* Level 2 submenu */
.agx-all-cats__sub {
  display: none; position: absolute; left: 100%; top: 0;
  width: 240px; background: #fff; border: 1px solid #e8eaed;
  border-radius: .5rem; box-shadow: 0 8px 24px rgba(0,0,0,.1);
  padding: .5rem 0; z-index: 160;
}
.agx-all-cats__item.is-hovered > .agx-all-cats__sub { display: block; }
.agx-all-cats__subitem { position: relative; }
.agx-all-cats__sublink {
  display: flex; align-items: center; justify-content: space-between;
  padding: .5rem 1rem; font-size: .8125rem; color: #1a1f2e;
  text-decoration: none; transition: background .15s, color .15s; gap: .5rem;
}
.agx-all-cats__sublink:hover,
.agx-all-cats__subitem.is-hovered > .agx-all-cats__sublink { background: #f7f8fa; color: #5cb85c; }
/* Level 3 sub-submenu */
.agx-all-cats__sub3 {
  display: none; position: absolute; left: 100%; top: 0;
  width: 220px; background: #fff; border: 1px solid #e8eaed;
  border-radius: .5rem; box-shadow: 0 4px 16px rgba(0,0,0,.08);
  padding: .5rem 0; z-index: 170;
}
.agx-all-cats__subitem.is-hovered > .agx-all-cats__sub3 { display: block; }
.agx-all-cats__sub3link {
  display: block; padding: .4rem .875rem; font-size: .75rem;
  color: #1a1f2e; text-decoration: none; transition: background .15s, color .15s;
}
.agx-all-cats__sub3link:hover { background: #f7f8fa; color: #5cb85c; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.agx-hero-slider { position: relative; overflow: hidden; border-radius: 1rem; flex: 1; min-height: 240px; }
.agx-hero-track { display: flex; transition: transform .6s cubic-bezier(.2,.7,.2,1); height: 100%; }
.agx-hero-slide {
  min-width: 100%; flex: 0 0 100%; position: relative;
  overflow: hidden; display: flex; align-items: stretch;
  padding: 2.5rem; min-height: 280px;
}
.agx-hero-slide__content { position: relative; z-index: 2; max-width: 420px; display: flex; flex-direction: column; justify-content: center; }
.agx-hero-slide__img {
  position: absolute; right: 0; bottom: 0; height: 100%; width: 55%;
  object-fit: contain; object-position: right bottom;
  display: none; z-index: 1;
}
@media (min-width: 640px) { .agx-hero-slide__img { display: block; } }
.agx-hero-slide:hover .agx-hero-slide__img { transform: scale(1.04); transition: transform .7s ease; }
/* Slider dots */
.agx-hero-dots { display: flex; justify-content: center; gap: .5rem; margin-top: .75rem; }
.agx-hero-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(92,184,92,.35);
  border: none; cursor: pointer; padding: 0; transition: background .3s, transform .3s;
}
.agx-hero-dot.is-active { background: #5cb85c; transform: scale(1.3); }
/* Slider arrows */
.agx-hero-prev, .agx-hero-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.85); backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,.08); cursor: pointer; z-index: 10;
  opacity: 0; transition: opacity .2s; box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.agx-hero-slider:hover .agx-hero-prev,
.agx-hero-slider:hover .agx-hero-next { opacity: 1; }
.agx-hero-prev { left: .75rem; }
.agx-hero-next { right: .75rem; }
.agx-hero-prev svg, .agx-hero-next svg { width: 16px; height: 16px; color: #1a1f2e; }

/* ============================================================
   TOP CATEGORIES CAROUSEL
   ============================================================ */
.agx-cats-section { padding: 2rem 0; }
.agx-cats-section .cx { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.agx-cats-carousel-wrap { position: relative; overflow: hidden; }
.agx-cats-track { display: flex; gap: 1rem; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.agx-cats-item {
  flex: 0 0 calc(25% - .75rem); display: flex; flex-direction: column;
  align-items: center; border-radius: .75rem; border: 1px solid #e8eaed;
  background: #fff; padding: 1.25rem .75rem; cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s; text-decoration: none; color: inherit;
}
@media (min-width: 640px)  { .agx-cats-item { flex: 0 0 calc(16.666% - .85rem); } }
@media (min-width: 1024px) { .agx-cats-item { flex: 0 0 calc(12.5% - .875rem); } }
.agx-cats-item:hover { border-color: #5cb85c; box-shadow: 0 4px 16px rgba(92,184,92,.2); transform: translateY(-3px); }
.agx-cats-item__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #f7f8fa; font-size: 1.5rem; transition: transform .3s; }
.agx-cats-item:hover .agx-cats-item__icon { transform: scale(1.1); background: rgba(92,184,92,.1); }
.agx-cats-item__name { margin-top: .625rem; font-size: .8125rem; font-weight: 600; text-align: center; line-height: 1.3; }
.agx-cats-item__count { font-size: .625rem; color: #9ca3af; margin-top: .2rem; }
.agx-cats-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.agx-cats-nav__title { font-size: 1.25rem; font-weight: 900; color: #1a1f2e; }
.agx-cats-nav-btns { display: flex; gap: .5rem; }
.agx-cats-prev-btn, .agx-cats-next-btn {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid #e8eaed; background: #fff; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s; color: #1a1f2e;
}
.agx-cats-prev-btn:hover, .agx-cats-next-btn:hover { background: #5cb85c; border-color: #5cb85c; color: #fff; }
.agx-cats-prev-btn svg, .agx-cats-next-btn svg { width: 16px; height: 16px; }

/* ============================================================
   PRIMARY NAV MENU (wp_nav_menu output)
   ============================================================ */
.agx-primary-nav-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; gap: 1.5rem;
}
.agx-primary-nav-list li { position: relative; }
.agx-primary-nav-list > li > a {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .875rem; font-weight: 600; color: #1a1f2e;
  text-decoration: none; white-space: nowrap; padding: .25rem 0;
  transition: color .2s;
}
.agx-primary-nav-list > li > a:hover,
.agx-primary-nav-list > li.current-menu-item > a,
.agx-primary-nav-list > li.current-menu-parent > a { color: #5cb85c; }
.agx-primary-nav-list > li > a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: #5cb85c; transform: scaleX(0);
  transition: transform .25s ease; transform-origin: left;
}
.agx-primary-nav-list > li > a:hover::after,
.agx-primary-nav-list > li.current-menu-item > a::after { transform: scaleX(1); }

/* Dropdown */
.agx-primary-nav-list .sub-menu {
  list-style: none; padding: .5rem 0; margin: 0;
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 200px; background: #fff; border-radius: .5rem;
  border: 1px solid #e8eaed; box-shadow: 0 8px 24px rgba(0,0,0,.1);
  z-index: 100; opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.agx-primary-nav-list li:hover > .sub-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.agx-primary-nav-list .sub-menu li a {
  display: block; padding: .5rem 1rem; font-size: .8125rem;
  color: #1a1f2e; text-decoration: none; transition: background .15s, color .15s;
}
.agx-primary-nav-list .sub-menu li a:hover { background: #f7f8fa; color: #5cb85c; }

/* Topbar nav */
.agx-topbar-nav {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; gap: .75rem;
}
.agx-topbar-nav li a { color: #6b7280; text-decoration: none; font-size: .75rem; }
.agx-topbar-nav li a:hover { color: #5cb85c; }

/* Footer nav links */
.agx-footer__links { display: flex; flex-direction: column; gap: .5rem; font-size: .875rem; color: rgba(255,255,255,.7); }
.agx-footer__links a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; }
.agx-footer__links a:hover { color: #5cb85c; }
/* Footer dynamic wp_nav_menu output */
.agx-footer__links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.agx-footer__links ul li a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .875rem; transition: color .2s; }
.agx-footer__links ul li a:hover { color: #5cb85c; }

/* ============================================================
   HEADER SEARCH INPUT — sync with agx-searchbar
   ============================================================ */
#agx-search-input {
  flex: 1; min-width: 0; background: transparent;
  border: none; outline: none; font-size: .875rem;
  color: #1a1f2e; font-family: inherit;
}
#agx-search-input::placeholder { color: #9ca3af; }

/* ============================================================
   NAV BAR PROMO LINKS
   ============================================================ */
.agx-nav-bar__promo-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 600; color: #fff;
  text-decoration: none; transition: opacity .2s; white-space: nowrap;
}
.agx-nav-bar__promo-item:hover { opacity: .85; }
a.agx-nav-bar__promo-item { color: #fff; }

/* ============================================================
   HERO SLIDER — ensure proper stacking
   ============================================================ */
.agx-hero-slide {
  background-size: cover; background-position: center;
}
/* Slide entrance animation */
@media (prefers-reduced-motion: no-preference) {
  .agx-hero-track { will-change: transform; }
}

/* ============================================================
   CATEGORIES CAROUSEL — overflow mask
   ============================================================ */
.agx-cats-carousel-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, black 2%, black 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 2%, black 98%, transparent 100%);
}

/* ============================================================
   FOOTER RESPONSIVE
   ============================================================ */
.agx-footer__cols {
  display: grid; gap: 2rem; padding: 3rem 0;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .agx-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .agx-footer__cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.agx-footer__brand-icon {
  display: grid; place-items: center; height: 40px; width: 40px;
  border-radius: 50%; background-color: #5cb85c; color: #fff; font-weight: 900;
}
.agx-footer__brand-name { font-weight: 900; font-size: 1.125rem; }
.agx-footer__brand-tag  { font-size: .625rem; text-transform: uppercase; letter-spacing: .15em; color: rgba(255,255,255,.6); }
.agx-footer__about { font-size: .875rem; color: rgba(255,255,255,.7); margin-top: 1rem; max-width: 320px; line-height: 1.6; }
.agx-footer__contact { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.agx-footer__contact-item { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: rgba(255,255,255,.8); }
.agx-footer__contact-item svg { flex-shrink: 0; margin-top: 2px; color: #5cb85c; }
.agx-footer__col-title { font-weight: 700; font-size: .875rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; color: #fff; }

.agx-footer__newsletter-inner {
  display: grid; gap: 1rem; padding: 2rem 0; align-items: center;
}
@media (min-width: 768px) { .agx-footer__newsletter-inner { grid-template-columns: 1fr auto; } }
.agx-footer__newsletter-title { font-size: 1.25rem; font-weight: 700; color: #fff; }
.agx-footer__newsletter-text  { font-size: .875rem; color: rgba(255,255,255,.7); margin-top: .25rem; }

.agx-newsletter-form { display: flex; gap: .5rem; min-width: 0; }
.agx-newsletter-form input {
  flex: 1; min-width: 0; height: 44px; border-radius: 9999px;
  padding: 0 1rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; outline: none; font-size: .875rem; font-family: inherit;
}
.agx-newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.agx-newsletter-form button {
  height: 44px; border-radius: 9999px; background-color: #5cb85c;
  color: #fff; padding: 0 1.25rem; font-weight: 600; border: none; cursor: pointer;
  font-family: inherit; white-space: nowrap; transition: background .2s;
}
.agx-newsletter-form button:hover { background-color: #449d44; }

.agx-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.agx-footer__bottom-inner {
  display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; gap: .75rem; padding: 1.25rem 0;
  font-size: .75rem; color: rgba(255,255,255,.6);
}
@media (min-width: 768px) { .agx-footer__bottom-inner { flex-direction: row; } }
.agx-social-links { display: flex; align-items: center; gap: .75rem; }
.agx-social-link {
  display: grid; place-items: center; height: 32px; width: 32px;
  border-radius: 50%; background: rgba(255,255,255,.1); transition: background .2s;
  color: #fff;
}
.agx-social-link:hover { background: #5cb85c; }
.agx-social-link svg { width: 16px; height: 16px; }

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 9999;
  padding: .5rem 1rem; background: #5cb85c; color: #fff;
  font-weight: 700; font-size: .875rem; border-radius: 0 0 .5rem .5rem;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ============================================================
   WISHLIST COUNT BADGE
   ============================================================ */
.agx-wishlist-count {
  position: absolute; top: -4px; right: -4px;
  display: grid; place-items: center; height: 20px; width: 20px;
  border-radius: 50%; background: #5cb85c; color: #fff;
  font-size: .625rem; font-weight: 700; line-height: 1; pointer-events: none;
}

/* ============================================================
   PRODUCT SECTIONS ON HOMEPAGE — Dynamic WC integration
   ============================================================ */
.agx-hp-section { padding: 1.5rem 0; }
.agx-hp-section .cx { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
