/* ==========================================================================
   EG SHOP — DESIGN TOKENS
   Palette lifted from the storefront: deep teal header, teal→mint category
   strip, warm orange/yellow promo gradient.
   ========================================================================== */
:root {
    --teal-950: #0b3d3f;
    --teal-900: #0d3b3e;
    --teal-600: #0f9c8f;
    --teal-500: #14b8a6;
    --teal-300: #5eead4;

    --orange-600: #ea7c1f;
    --orange-500: #f5a623;
    --yellow-400: #ffd166;

    --ink-900: #10262b;
    --ink-600: #4a6367;
    --ink-300: #9db3b6;

    --paper: #fafbfb;
    --white: #ffffff;
    --line: #e6ecec;

    --font-display: 'Roboto', 'Inter', sans-serif;
    --font-body: 'Inter', 'Roboto', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 28px;

    --shadow-soft: 0 12px 32px -16px rgba(11, 61, 63, 0.28);
    --shadow-card: 0 4px 18px -8px rgba(11, 61, 63, 0.18);

    --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink-900);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 0.5em;
    color: var(--teal-950);
}

p { margin: 0 0 1em; color: var(--ink-600); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange-600);
    background: rgba(245, 166, 35, 0.12);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.eyebrow--on-dark {
    color: var(--yellow-400);
    background: rgba(255, 255, 255, 0.14);
}

/* Buttons ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn--primary {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: var(--white);
    box-shadow: var(--shadow-soft);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(234,124,31,0.55); }
.btn--outline {
    background: transparent;
    border-color: var(--teal-950);
    color: var(--teal-950);
}
.btn--outline:hover { background: var(--teal-950); color: var(--white); }
.btn--ghost {
    background: transparent;
    color: var(--teal-600);
    border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--teal-500); color: var(--teal-950); }
.btn--block { width: 100%; }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar { background: var(--teal-950); color: var(--yellow-400); font-size: 13px; }
.topbar__inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 24px; flex-wrap: wrap; gap: 6px;
}
.topbar__links a { color: var(--white); opacity: 0.85; }
.topbar__links a:hover { opacity: 1; }
.topbar__sep { opacity: 0.4; margin: 0 8px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner {
    display: flex; align-items: center; gap: 24px;
    padding: 18px 24px;
}
.brand { font-family: var(--font-display); font-weight: 900; font-size: 26px; letter-spacing: -0.02em; }
.brand__mark { color: var(--teal-600); }
.brand__mark--accent { color: var(--orange-500); }
.brand--footer { font-size: 24px; margin-bottom: 12px; }

.site-search { flex: 1; display: flex; max-width: 560px; margin: 0 auto; }
.site-search input {
    flex: 1; padding: 12px 18px; border: 2px solid var(--line);
    border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 14px; outline: none;
}
.site-search input:focus { border-color: var(--teal-500); }
.site-search button {
    background: var(--orange-500); border: none; color: var(--white);
    padding: 0 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; cursor: pointer;
}

.site-header__actions { display: flex; gap: 10px; }
.icon-btn {
    position: relative; width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--paper); color: var(--teal-950);
}
.icon-btn:hover { background: var(--teal-300); }
.icon-btn__badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--orange-500); color: var(--white);
    font-size: 10px; font-weight: 700; min-width: 18px; height: 18px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

.main-nav { background: linear-gradient(90deg, var(--teal-950), var(--teal-900)); }
.main-nav__inner { display: flex; align-items: center; gap: 8px; padding: 0 24px; }
.cat-toggle {
    display: flex; align-items: center; gap: 8px;
    background: var(--orange-500); color: var(--white); border: none;
    padding: 14px 20px; font-weight: 700; font-size: 14px; cursor: pointer;
    white-space: nowrap;
}
.cat-toggle__chevron { margin-left: 4px; }
.main-nav__links { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav__links a {
    display: block; padding: 16px 16px; color: rgba(255,255,255,0.85);
    font-size: 14px; font-weight: 600;
}
.main-nav__links a:hover, .main-nav__links a.is-active { color: var(--yellow-400); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--teal-950); color: rgba(255,255,255,0.75); margin-top: 80px; }
.site-footer__grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
    padding: 56px 24px 32px;
}
.footer-col h4 { color: var(--white); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--yellow-400); }
.footer-col--brand p { color: rgba(255,255,255,0.65); font-size: 14px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
    color: var(--white);
}
.footer-social a:hover { background: var(--orange-500); }
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 24px;
    font-size: 13px; text-align: center; color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
    .site-search { display: none; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .main-nav__links { display: none; }
    .site-footer__grid { grid-template-columns: 1fr; }
}
