/*
Theme Name: ALL FOR ONE
Theme URI: https://allforone.com
Author: AFO Team
Author URI: https://allforone.com
Description: World-class agricultural marketplace theme for Guinea Ecuatorial. Presentation-only — delegates cart, checkout, split payments, messaging, notifications, shipping, kg/quantity and emails to WCFM + WooCommerce.
Version: 15.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: allforone
Tags: marketplace, ecommerce, woocommerce, wcfm, dark-mode, multilingual, agriculture
*/

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --afo-lime:        #b7ff00;
  --afo-lime-2:      #00d26a;
  --afo-lime-soft:   rgba(183,255,0,.12);
  --afo-lime-line:   rgba(183,255,0,.28);
  --afo-emerald:     #0f7a4d;

  --afo-bg:          #050c08;
  --afo-surface-1:   #0b1710;
  --afo-surface-2:   #112018;
  --afo-surface-3:   #182a20;
  --afo-line:        rgba(255,255,255,.06);
  --afo-line-strong: rgba(255,255,255,.12);

  --afo-text:        #f4fbf6;
  --afo-text-2:      #b9c6bd;
  --afo-text-3:      #7d8a82;

  --afo-success:     #22c55e;
  --afo-warning:     #f59e0b;
  --afo-danger:      #ef4444;
  --afo-info:        #38bdf8;

  --afo-r-xs: 8px;
  --afo-r-sm: 12px;
  --afo-r-md: 16px;
  --afo-r-lg: 22px;
  --afo-r-xl: 32px;

  --afo-shadow-1: 0 2px 8px rgba(0,0,0,.18);
  --afo-shadow-2: 0 12px 32px rgba(0,0,0,.28);
  --afo-shadow-3: 0 24px 64px rgba(0,0,0,.38);
  --afo-glow:     0 0 0 1px var(--afo-lime-line), 0 12px 40px rgba(183,255,0,.15);

  --afo-font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --afo-font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --afo-ease: cubic-bezier(.22,1,.36,1);
  --afo-dur:  .35s;

  --afo-container: 1360px;
  --afo-gutter: clamp(16px, 3vw, 32px);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--afo-font-body);
  font-size: 16px;
  background:
    radial-gradient(1200px 800px at 90% -10%, rgba(183,255,0,.06), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(0,210,106,.05), transparent 60%),
    var(--afo-bg);
  color: var(--afo-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--afo-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 .6em;
  color: var(--afo-text);
}
p { margin: 0 0 1em; }
a { color: var(--afo-lime); text-decoration: none; transition: color var(--afo-dur) var(--afo-ease); }
a:hover { color: var(--afo-lime-2); }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--afo-lime);
  outline-offset: 3px;
  border-radius: 6px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--afo-surface-1); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--afo-lime), var(--afo-lime-2));
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover { background: var(--afo-lime); }

/* ============================================================
   3. LAYOUT
   ============================================================ */
.afo-container {
  width: min(100% - var(--afo-gutter)*2, var(--afo-container));
  margin-inline: auto;
}
.afo-section { padding: clamp(2rem, 5vw, 4rem) 0; }
.afo-section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem;
}
.afo-section__title {
  font-family: var(--afo-font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700; margin: 0;
  position: relative; display: inline-block;
}
.afo-section__title::after {
  content: ''; position: absolute; left: 0; bottom: -8px;
  width: 44px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--afo-lime), var(--afo-lime-2));
}
.afo-section__link {
  color: var(--afo-text-2); font-size: .88rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: .4rem;
}
.afo-section__link:hover { color: var(--afo-lime); }

/* ============================================================
   4. BUTTONS
   ============================================================ */
.afo-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--afo-font-display);
  font-weight: 600; font-size: .95rem;
  background: linear-gradient(135deg, var(--afo-lime), var(--afo-lime-2));
  color: #07110b;
  border: 0; cursor: pointer;
  transition: transform var(--afo-dur) var(--afo-ease),
              box-shadow var(--afo-dur) var(--afo-ease);
  text-decoration: none; white-space: nowrap;
}
.afo-btn:hover { transform: translateY(-2px); box-shadow: var(--afo-glow); color: #07110b; }
.afo-btn:active { transform: translateY(0); }
.afo-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.afo-btn--ghost { background: transparent; color: var(--afo-text); box-shadow: inset 0 0 0 1px var(--afo-line-strong); }
.afo-btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--afo-lime-line), var(--afo-glow); color: var(--afo-lime); }
.afo-btn--danger { background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff; }
.afo-btn--lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.afo-btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.afo-btn--block { width: 100%; }

/* ============================================================
   5. BADGES
   ============================================================ */
.afo-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25rem .65rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--afo-lime-soft); color: var(--afo-lime);
  border: 1px solid var(--afo-lime-line);
}
.afo-badge--danger  { background: rgba(239,68,68,.12); color: var(--afo-danger);  border-color: rgba(239,68,68,.3); }
.afo-badge--success { background: rgba(34,197,94,.12); color: var(--afo-success); border-color: rgba(34,197,94,.3); }
.afo-badge--warning { background: rgba(245,158,11,.12); color: var(--afo-warning); border-color: rgba(245,158,11,.3); }
.afo-badge--info    { background: rgba(56,189,248,.12); color: var(--afo-info);   border-color: rgba(56,189,248,.3); }

/* ============================================================
   6. CARDS
   ============================================================ */
.afo-card {
  background: var(--afo-surface-2);
  border: 1px solid var(--afo-line);
  border-radius: var(--afo-r-lg);
  transition: transform var(--afo-dur) var(--afo-ease),
              border-color var(--afo-dur) var(--afo-ease),
              box-shadow var(--afo-dur) var(--afo-ease);
}
.afo-card:hover { transform: translateY(-4px); border-color: var(--afo-lime-line); box-shadow: var(--afo-shadow-2); }

/* ============================================================
   7. HEADER
   ============================================================ */
.afo-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(5,12,8,.85);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--afo-line);
}
.afo-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem var(--afo-gutter);
  max-width: var(--afo-container); margin: 0 auto;
}
.afo-brand { display: flex; align-items: center; gap: .75rem; }
.afo-brand__logo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 2px var(--afo-lime-line); transition: transform var(--afo-dur) var(--afo-ease); }
.afo-brand:hover .afo-brand__logo { transform: rotate(-4deg) scale(1.05); }
.afo-brand__text { display: flex; flex-direction: column; }
.afo-brand__name { font-family: var(--afo-font-display); font-size: 1.15rem; font-weight: 800; color: var(--afo-lime); margin: 0; line-height: 1.1; letter-spacing: -.02em; }
.afo-brand__tag { font-size: .68rem; color: var(--afo-text-3); text-transform: uppercase; letter-spacing: .12em; margin: 0; }

.afo-nav { display: flex; gap: .25rem; align-items: center; }
.afo-nav a { padding: .55rem .9rem; border-radius: 10px; color: var(--afo-text-2); font-size: .9rem; font-weight: 500; transition: all var(--afo-dur) var(--afo-ease); }
.afo-nav a:hover, .afo-nav a.is-active { color: var(--afo-lime); background: var(--afo-lime-soft); }

.afo-menu-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--afo-line); background: var(--afo-surface-2); color: var(--afo-text); cursor: pointer; }

.afo-actions { display: flex; align-items: center; gap: .5rem; }
.afo-iconbtn { position: relative; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--afo-line); background: var(--afo-surface-2); color: var(--afo-text-2); cursor: pointer; transition: all var(--afo-dur) var(--afo-ease); text-decoration: none; }
.afo-iconbtn:hover { color: var(--afo-lime); border-color: var(--afo-lime-line); transform: translateY(-1px); background: var(--afo-surface-3); }
.afo-iconbtn__badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: .66rem; font-weight: 800; background: var(--afo-danger); color: #fff; border: 2px solid var(--afo-bg); transition: transform .2s var(--afo-ease); }
.afo-iconbtn__badge[hidden] { display: none; }

.afo-iconbtn--catalog { background: linear-gradient(135deg, rgba(183,255,0,.15), rgba(0,210,106,.1)); border-color: var(--afo-lime-line); color: var(--afo-lime); }
.afo-iconbtn--catalog:hover { background: linear-gradient(135deg, var(--afo-lime), var(--afo-lime-2)); color: #07110b; border-color: var(--afo-lime); }
.afo-iconbtn__tooltip { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(-4px); padding: .25rem .55rem; background: var(--afo-surface-1); border: 1px solid var(--afo-line-strong); border-radius: 6px; font-size: .68rem; font-weight: 600; color: var(--afo-text); white-space: nowrap; opacity: 0; pointer-events: none; transition: all .2s var(--afo-ease); z-index: 10; }
.afo-iconbtn--catalog:hover .afo-iconbtn__tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }

.afo-userchip { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .8rem .35rem .35rem; border-radius: 999px; background: var(--afo-surface-2); border: 1px solid var(--afo-line); cursor: pointer; transition: all var(--afo-dur) var(--afo-ease); color: var(--afo-text); font: inherit; }
.afo-userchip:hover { border-color: var(--afo-lime-line); }
.afo-userchip__avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--afo-lime-line); }
.afo-userchip__name { font-size: .85rem; font-weight: 600; color: var(--afo-text); }

.afo-auth-btns { display: flex; gap: .5rem; align-items: center; }

.afo-dropdown { position: absolute; top: calc(100% + 8px); right: 0; min-width: 280px; padding: .5rem; background: var(--afo-surface-1); border: 1px solid var(--afo-line-strong); border-radius: var(--afo-r-md); box-shadow: var(--afo-shadow-3); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .22s var(--afo-ease); z-index: 1001; }
.afo-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.afo-dropdown__head { padding: .75rem .9rem; border-bottom: 1px solid var(--afo-line); margin-bottom: .4rem; }
.afo-dropdown__head strong { display: block; color: var(--afo-text); font-size: .95rem; }
.afo-dropdown__head small { color: var(--afo-text-3); font-size: .78rem; }
.afo-dropdown__wallet { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; padding: .4rem .6rem; border-radius: 8px; background: var(--afo-lime-soft); font-size: .82rem; font-weight: 600; color: var(--afo-lime); }
.afo-dropdown a, .afo-dropdown button { display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; border-radius: 10px; color: var(--afo-text-2); font-size: .88rem; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; transition: all var(--afo-dur) var(--afo-ease); }
.afo-dropdown a:hover, .afo-dropdown button:hover { background: var(--afo-surface-3); color: var(--afo-lime); }
.afo-dropdown a i, .afo-dropdown button i { width: 18px; text-align: center; color: var(--afo-text-3); }
.afo-dropdown a:hover i, .afo-dropdown button:hover i { color: var(--afo-lime); }
.afo-dropdown__divider { height: 1px; background: var(--afo-line); margin: .4rem .25rem; }

/* ============================================================
   8. HERO
   ============================================================ */
.afo-hero { position: relative; isolation: isolate; padding: clamp(4rem, 8vw, 7rem) var(--afo-gutter) clamp(3rem, 6vw, 5rem); overflow: hidden; min-height: 520px; display: flex; align-items: center; }
.afo-hero__slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.afo-hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0; transition: opacity 1.6s ease-in-out, transform 8s ease-out; transform: scale(1.05); will-change: opacity, transform; }
.afo-hero__slide.is-active { opacity: 1; transform: scale(1); }
.afo-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(5,12,8,.92) 0%, rgba(5,12,8,.65) 45%, rgba(5,12,8,.88) 100%), radial-gradient(800px 500px at 80% 20%, rgba(183,255,0,.10), transparent 70%), radial-gradient(700px 500px at 10% 90%, rgba(0,210,106,.08), transparent 70%); pointer-events: none; }
.afo-hero .afo-container { position: relative; z-index: 1; width: 100%; }
.afo-hero__badge { margin-bottom: 1.2rem; }
.afo-hero__title { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 22ch; margin-bottom: 1rem; }
.afo-hero__title em { font-style: normal; color: var(--afo-lime); }
.afo-hero__sub { color: var(--afo-text-2); max-width: 60ch; font-size: clamp(1rem, 1.4vw, 1.15rem); margin: 0 0 2rem; }
.afo-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.afo-hero__dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 2; }
.afo-hero__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); border: 0; padding: 0; cursor: pointer; transition: all .3s ease; }
.afo-hero__dot:hover { background: rgba(255,255,255,.6); }
.afo-hero__dot.is-active { background: var(--afo-lime); width: 28px; border-radius: 999px; }

/* ============================================================
   9. CATEGORIES
   ============================================================ */
.afo-categories { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin: 1.5rem 0 3rem; }
.afo-cat-tile { position: relative; display: block; aspect-ratio: 1/1; border-radius: var(--afo-r-md); overflow: hidden; border: 1px solid var(--afo-line); background: var(--afo-surface-2); transition: all var(--afo-dur) var(--afo-ease); text-decoration: none; }
.afo-cat-tile:hover { transform: translateY(-6px); border-color: var(--afo-lime-line); box-shadow: var(--afo-shadow-2); }
.afo-cat-tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--afo-ease); }
.afo-cat-tile:hover .afo-cat-tile__img { transform: scale(1.08); }
.afo-cat-tile__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; background: linear-gradient(to top, rgba(5,12,8,.95) 0%, rgba(5,12,8,.4) 50%, transparent 100%); }
.afo-cat-tile__label { font-weight: 700; font-size: .9rem; color: #fff; margin: 0; line-height: 1.2; }
.afo-cat-tile__desc { font-size: .7rem; color: var(--afo-text-2); margin: .2rem 0 0; line-height: 1.3; }
.afo-cat-tile__count { position: absolute; top: .6rem; right: .6rem; padding: .2rem .5rem; background: rgba(0,0,0,.65); backdrop-filter: blur(8px); border-radius: 999px; font-size: .65rem; font-weight: 700; color: var(--afo-lime); border: 1px solid var(--afo-lime-line); }

/* ============================================================
   10. PREMIUM SLIDER
   ============================================================ */
.afo-premium-slider-wrap { position: relative; margin-bottom: 3rem; }
.afo-premium-slider { display: flex; gap: 1rem; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .25rem .25rem 1rem; scrollbar-width: none; -ms-overflow-style: none; }
.afo-premium-slider::-webkit-scrollbar { display: none; }
.afo-premium-slider > .afo-product { flex: 0 0 calc((100% - 5rem) / 6); min-width: 0; scroll-snap-align: start; }
.afo-premium-slider .afo-product__body { padding: .75rem .8rem 1rem; }
.afo-premium-slider .afo-product__title { font-size: .85rem; min-height: 2.4em; }
.afo-premium-slider .afo-product__price { font-size: 1rem; }
.afo-premium-slider .afo-product__foot .afo-btn { padding: .5rem .75rem; font-size: .75rem; }
.afo-slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--afo-line-strong); background: var(--afo-surface-2); color: var(--afo-text); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; transition: all var(--afo-dur) var(--afo-ease); box-shadow: var(--afo-shadow-2); font-size: 1rem; }
.afo-slider-arrow:hover { background: var(--afo-lime); color: #07110b; border-color: var(--afo-lime); transform: translateY(-50%) scale(1.08); }
.afo-slider-arrow:disabled { opacity: .3; cursor: not-allowed; }
.afo-slider-arrow--prev { left: -.5rem; }
.afo-slider-arrow--next { right: -.5rem; }

/* ============================================================
   11. GENERAL GRID
   ============================================================ */
.afo-general-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.afo-general-grid .afo-product__media { aspect-ratio: 4/3; }

/* ============================================================
   12. PRODUCT CARD
   ============================================================ */
.afo-product { display: flex; flex-direction: column; overflow: hidden; position: relative; background: var(--afo-surface-2); border: 1px solid var(--afo-line); border-radius: var(--afo-r-lg); transition: all var(--afo-dur) var(--afo-ease); }
.afo-product:hover { transform: translateY(-4px); border-color: var(--afo-lime-line); box-shadow: var(--afo-shadow-2); }
.afo-product__media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--afo-surface-3); }
.afo-product__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--afo-ease); }
.afo-product:hover .afo-product__img { transform: scale(1.05); }
.afo-product__flags { position: absolute; top: .75rem; left: .75rem; display: flex; gap: .35rem; flex-wrap: wrap; z-index: 2; }
.afo-product__fallback-badge { position: absolute; bottom: .5rem; left: .5rem; display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .55rem; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); border: 1px solid rgba(255,215,0,.3); border-radius: 999px; font-size: .62rem; font-weight: 600; color: #ffd700; z-index: 3; }
.afo-product__fallback-badge i { font-size: .7rem; }
.afo-product__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.afo-product__title { font-family: var(--afo-font-display); font-size: 1rem; font-weight: 600; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.afo-product__title a { color: var(--afo-text); }
.afo-product__title a:hover { color: var(--afo-lime); }
.afo-product__meta { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .78rem; color: var(--afo-text-3); }
.afo-product__meta i { color: var(--afo-lime); margin-right: .15rem; }
.afo-product__price { font-family: var(--afo-font-display); font-size: 1.25rem; font-weight: 700; color: var(--afo-lime); margin-top: auto; }
.afo-product__price del { font-size: .85rem; color: var(--afo-text-3); font-weight: 400; margin-right: .35rem; }
.afo-product__foot { display: flex; gap: .5rem; margin-top: .5rem; }

/* ============================================================
   13. TOASTS
   ============================================================ */
.afo-toasts { position: fixed; right: 1rem; bottom: 1rem; z-index: 10000; display: flex; flex-direction: column; gap: .5rem; pointer-events: none; }
.afo-toast { pointer-events: auto; min-width: 260px; max-width: 360px; padding: .85rem 1rem; border-radius: var(--afo-r-sm); background: var(--afo-surface-2); border: 1px solid var(--afo-line-strong); color: var(--afo-text); font-size: .88rem; box-shadow: var(--afo-shadow-2); transform: translateY(8px); opacity: 0; transition: all .3s var(--afo-ease); }
.afo-toast.is-in { transform: translateY(0); opacity: 1; }
.afo-toast--success { border-left: 3px solid var(--afo-success); }
.afo-toast--error   { border-left: 3px solid var(--afo-danger); }
.afo-toast--info    { border-left: 3px solid var(--afo-info); }

/* ============================================================
   14. FOOTER
   ============================================================ */
.afo-footer { margin-top: 4rem; padding: 3rem 0 1.5rem; background: #030805; border-top: 1px solid var(--afo-line); }
.afo-footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: var(--afo-container); margin: 0 auto; padding: 0 var(--afo-gutter); }
.afo-footer__brand h3 { color: var(--afo-lime); font-size: 1.2rem; margin-bottom: .25rem; }
.afo-footer__brand p { color: var(--afo-text-3); font-size: .82rem; margin: 0 0 1rem; }
.afo-footer__desc { color: var(--afo-text-2); font-size: .88rem; line-height: 1.7; margin-bottom: 1.2rem; }
.afo-footer__col h4 { color: var(--afo-text); font-size: .95rem; margin: 0 0 1rem; position: relative; padding-bottom: .5rem; }
.afo-footer__col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--afo-lime); border-radius: 2px; }
.afo-footer__links { list-style: none; padding: 0; margin: 0; }
.afo-footer__links li { margin-bottom: .6rem; }
.afo-footer__links a { color: var(--afo-text-2); font-size: .88rem; transition: all var(--afo-dur) var(--afo-ease); display: inline-block; }
.afo-footer__links a:hover { color: var(--afo-lime); transform: translateX(4px); }
.afo-footer__social { display: flex; gap: .6rem; }
.afo-footer__social a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: var(--afo-surface-2); border: 1px solid var(--afo-line); border-radius: 50%; color: var(--afo-text-2); transition: all var(--afo-dur) var(--afo-ease); }
.afo-footer__social a:hover { background: var(--afo-lime); color: #07110b; border-color: var(--afo-lime); transform: translateY(-2px); }
.afo-footer__bottom { max-width: var(--afo-container); margin: 2rem auto 0; padding: 1.5rem var(--afo-gutter) 0; border-top: 1px solid var(--afo-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: var(--afo-text-3); }

/* ============================================================
   15. UTILITIES
   ============================================================ */
.afo-skip { position: absolute; top: -100px; left: 1rem; padding: .75rem 1.25rem; background: var(--afo-lime); color: #07110b; border-radius: 0 0 var(--afo-r-sm) var(--afo-r-sm); z-index: 10000; font-weight: 600; transition: top .2s; }
.afo-skip:focus { top: 0; }
.afo-text-center { text-align: center; }
.afo-hidden { display: none !important; }

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

/* ============================================================
   17. RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) { .afo-premium-slider > .afo-product { flex: 0 0 calc((100% - 4rem) / 5); } }
@media (max-width: 1100px) { .afo-categories { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 992px) { .afo-premium-slider > .afo-product { flex: 0 0 calc((100% - 3rem) / 4); } }
@media (max-width: 900px) {
  .afo-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem; background: var(--afo-surface-1); border-bottom: 1px solid var(--afo-line); flex-direction: column; align-items: stretch; }
  .afo-nav.is-open { display: flex; }
  .afo-nav a { padding: .75rem 1rem; }
  .afo-menu-toggle { display: inline-flex; }
  .afo-slider-arrow { display: none; }
  .afo-auth-btns__label { display: none; }
  .afo-auth-btns .afo-btn { width: 42px; height: 42px; padding: 0; border-radius: 12px; }
}
@media (max-width: 768px) {
  .afo-premium-slider > .afo-product { flex: 0 0 calc((100% - 1rem) / 2); }
  .afo-general-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .afo-categories { grid-template-columns: repeat(3, 1fr); gap: .75rem; }
  .afo-cat-tile__desc { display: none; }
  .afo-hero { min-height: 420px; }
  .afo-userchip__name { display: none; }
}
@media (max-width: 600px) {
  .afo-footer__bottom { flex-direction: column; text-align: center; }
  .afo-toasts { left: 1rem; right: 1rem; }
  .afo-toast { min-width: auto; max-width: 100%; }
}
@media (max-width: 480px) {
  .afo-general-grid { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .afo-categories { grid-template-columns: repeat(2, 1fr); }
  .afo-premium-slider > .afo-product { flex: 0 0 80%; }
}