/* ==========================================================================
   Far East Auto Spares — storefront
   ========================================================================== */

:root {
    --navy: #0e2a47;
    --navy-900: #081a2e;
    --navy-800: #0b2340;
    --navy-700: #163a60;
    --red: #d7262e;
    --red-600: #b81e25;
    --red-50: #fdecec;
    --amber: #f5a524;
    --green: #15803d;
    --green-50: #e9f7ee;

    --bg: #f4f6f9;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --ink: #0f1b2d;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e3e8ef;
    --line-2: #d3dbe6;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06);
    --shadow: 0 6px 24px -8px rgba(15, 27, 45, .14);
    --shadow-lg: 0 24px 60px -20px rgba(15, 27, 45, .3);

    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    --container: 1280px;
}

/* ---------- base ---------- */
.fx, .fx *, .fx *::before, .fx *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.fx {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}
:where(body.fx) a { color: inherit; text-decoration: none; }
:where(body.fx) a:hover { color: inherit; }
:where(body.fx) img { max-width: 100%; display: block; }
:where(body.fx) :is(h1, h2, h3, h4) {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    margin: 0;
    letter-spacing: -.02em;
    font-weight: 700;
}
:where(body.fx) :is(p, ul) { margin-top: 0; margin-bottom: 0; }
:where(body.fx) button { font: inherit; cursor: pointer; }
:where(body.fx) :is(input, select, textarea) { font: inherit; color: inherit; }
.fx :focus-visible { outline: 3px solid rgba(215, 38, 46, .35); outline-offset: 2px; }

.fx-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.fx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.fx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 22px;
    border: 1px solid transparent; border-radius: 10px;
    font-weight: 600; font-size: 15px; line-height: 1;
    transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
    white-space: nowrap;
}
.fx-btn svg { width: 18px; height: 18px; flex: none; }
.fx-btn--red { background: var(--red); color: #fff !important; }
.fx-btn--red:hover { background: var(--red-600); box-shadow: 0 8px 20px -8px rgba(215, 38, 46, .6); }
.fx-btn--navy { background: var(--navy); color: #fff !important; }
.fx-btn--navy:hover { background: var(--navy-700); }
.fx-btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink) !important; }
.fx-btn--ghost:hover { border-color: var(--navy); }
.fx-btn--light { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff !important; }
.fx-btn--light:hover { background: rgba(255, 255, 255, .18); }
.fx-btn--wa { background: #1fa855; color: #fff !important; }
.fx-btn--wa:hover { background: #178a45; }
.fx-btn--sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.fx-btn--block { width: 100%; }

/* ---------- top bar ---------- */
.fx-topbar { background: var(--navy-900); color: #b9c6d6; font-size: 13px; }
.fx-topbar .fx-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.fx-topbar__list { display: flex; gap: 22px; align-items: center; }
.fx-topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.fx-topbar__item svg { width: 15px; height: 15px; color: var(--amber); }
.fx-topbar a:hover { color: #fff; }

/* ---------- header ---------- */
.fx-header { background: var(--surface); position: sticky; top: 0; z-index: 60; box-shadow: 0 1px 0 var(--line); }
.fx-header__main { display: flex; align-items: center; gap: 28px; height: 84px; }
.fx-logo img { height: 54px; width: auto; }
.fx-search { flex: 1; position: relative; max-width: 720px; }
.fx-search__form {
    display: flex; align-items: stretch; height: 50px;
    border: 2px solid var(--navy); border-radius: 12px; background: #fff; overflow: hidden;
}
.fx-search__select {
    border: 0; border-right: 1px solid var(--line); background: var(--surface-2);
    padding: 0 34px 0 14px; font-size: 14px; color: var(--ink-2); max-width: 190px;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
.fx-search__input { flex: 1; border: 0; padding: 0 16px; font-size: 15px; min-width: 0; outline: none; }
.fx-search__btn { border: 0; background: var(--red); color: #fff; padding: 0 22px; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.fx-search__btn:hover { background: var(--red-600); }
.fx-search__btn svg { width: 19px; height: 19px; }
.fx-suggest {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 80;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
    padding: 6px; display: none; max-height: 420px; overflow: auto;
}
.fx-suggest.is-open { display: block; }
.fx-suggest__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; }
.fx-suggest__item:hover, .fx-suggest__item.is-active { background: var(--bg); }
.fx-suggest__item img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--bg); }
.fx-suggest__name { font-size: 14px; font-weight: 500; color: var(--ink); }
.fx-suggest__price { font-size: 13px; color: var(--red); font-weight: 600; }
.fx-suggest__empty { padding: 14px; color: var(--muted); font-size: 14px; }
.fx-suggest__all { display: block; text-align: center; padding: 10px; font-size: 14px; font-weight: 600; color: var(--navy); border-top: 1px solid var(--line); margin-top: 4px; }

.fx-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.fx-action {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px;
    background: none; border: 0; color: var(--ink); position: relative;
}
.fx-action:hover { background: var(--bg); }
.fx-action__icon { width: 26px; height: 26px; color: var(--navy); flex: none; }
.fx-action__text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.fx-action__text small { color: var(--muted); font-size: 12px; }
.fx-action__text strong { font-size: 14px; font-weight: 600; }
.fx-badge {
    position: absolute; top: -2px; left: 22px; min-width: 20px; height: 20px; padding: 0 6px;
    border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff;
    transition: transform .2s;
}
.fx-burger { display: none; }

/* ---------- nav ---------- */
.fx-nav { background: var(--navy); color: #fff; }
.fx-nav .fx-container { display: flex; align-items: center; gap: 8px; height: 52px; }
.fx-nav__cats { position: relative; height: 100%; }
.fx-nav__cats-btn {
    height: 100%; display: inline-flex; align-items: center; gap: 10px; padding: 0 20px;
    background: var(--red); color: #fff; border: 0; font-weight: 600; min-width: 240px;
}
.fx-nav__cats-btn svg { width: 18px; height: 18px; }
.fx-nav__cats-btn .fx-chev { margin-left: auto; transition: transform .2s; }
.fx-nav__cats.is-open .fx-chev { transform: rotate(180deg); }
.fx-mega {
    position: absolute; top: 100%; left: 0; z-index: 70; width: 820px;
    background: #fff; color: var(--ink); border-radius: 0 0 14px 14px; box-shadow: var(--shadow-lg);
    padding: 18px; display: none; grid-template-columns: repeat(3, 1fr); gap: 6px 18px;
}
.fx-nav__cats.is-open .fx-mega { display: grid; }
.fx-mega__group { padding: 8px; border-radius: 10px; }
.fx-mega__group:hover { background: var(--bg); }
.fx-mega__head { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.fx-mega__head svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.fx-mega__subs { margin: 6px 0 0 32px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 2px 10px; }
.fx-mega__subs a { font-size: 13px; color: var(--muted); }
.fx-mega__subs a:hover { color: var(--red); }
.fx-nav__links { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0 0 0 10px; list-style: none; }
.fx-nav__links a { display: block; padding: 0 14px; line-height: 52px; font-size: 14.5px; font-weight: 500; color: #dce5f0; }
.fx-nav__links a:hover, .fx-nav__links a.is-active { color: #fff; box-shadow: inset 0 -3px 0 var(--red); }
.fx-nav__help { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; color: #b9c6d6; }
.fx-nav__help strong { color: #fff; font-size: 15px; }
.fx-nav__help svg { width: 30px; height: 30px; color: var(--amber); }

/* ---------- mobile drawer menu ---------- */
.fx-overlay { position: fixed; inset: 0; background: rgba(8, 26, 46, .55); opacity: 0; visibility: hidden; transition: .25s; z-index: 90; }
.fx-overlay.is-open { opacity: 1; visibility: visible; }
.fx-panel {
    position: fixed; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; z-index: 100;
    display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.fx-panel--right { right: 0; transform: translateX(100%); }
.fx-panel--left { left: 0; transform: translateX(-100%); }
.fx-panel.is-open { transform: none; }
.fx-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.fx-panel__head h3 { font-size: 18px; }
.fx-panel__close { border: 0; background: var(--bg); width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.fx-panel__close svg { width: 18px; height: 18px; }
.fx-panel__body { flex: 1; overflow: auto; padding: 12px 20px; }
.fx-mnav { list-style: none; margin: 0; padding: 0; }
.fx-mnav a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
.fx-mnav svg { width: 22px; height: 22px; color: var(--red); }
.fx-mnav__label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 4px; font-weight: 600; }

/* ---------- cart drawer (wraps the minicart partial) ---------- */
.fx-cart .offCanvas__minicart { display: flex; flex-direction: column; height: 100%; transition: opacity .2s; }
.fx-cart .offCanvas__minicart.refreshing { opacity: .5; pointer-events: none; }
.fx-cart .minicart__header { display: none; }
.fx-cart .minicart__product { flex: 1; overflow: auto; padding: 8px 20px; }
.fx-cart .minicart__item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.fx-cart .minicart__item--thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: var(--bg); }
.fx-cart .minicart__item--details { flex: 1; min-width: 0; }
.fx-cart .minicart__item--name { font-weight: 600; font-size: 14px; display: block; line-height: 1.35; }
.fx-cart .minicart__item--meta { margin-top: 6px; font-size: 13px; color: var(--muted); }
.fx-cart .minicart__item--price { color: var(--ink); font-weight: 600; }
.fx-cart .minicart__item--delete { border: 0; background: var(--bg); width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.fx-cart .minicart__item--delete:hover { background: var(--red-50); color: var(--red); }
.fx-cart .minicart__empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.fx-cart .minicart__empty svg { margin: 0 auto 12px; }
.fx-cart .minicart__footer { border-top: 1px solid var(--line); padding: 18px 20px; background: var(--surface-2); }
.fx-cart .minicart__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.fx-cart .minicart__total--label { color: var(--muted); }
.fx-cart .minicart__total--price { font-size: 22px; font-weight: 700; font-family: var(--font-display); }
.fx-cart .minicart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fx-cart .minicart__btn { height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.fx-cart .minicart__btn--secondary { border: 1px solid var(--line-2); background: #fff; }
.fx-cart .minicart__btn--primary { background: var(--red); color: #fff; }
.fx-cart .minicart__btn--primary:hover { background: var(--red-600); }

/* ---------- section scaffolding ---------- */
.fx-section { padding: 56px 0; }
.fx-section--tight { padding: 36px 0; }
.fx-section--white { background: var(--surface); }
.fx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.fx-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px;
}
.fx-eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: currentColor; }
.fx-head h2 { font-size: clamp(24px, 3vw, 32px); }
.fx-head p { color: var(--muted); margin-top: 6px; }
.fx-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.fx-link svg { width: 16px; height: 16px; transition: transform .2s; }
.fx-link:hover { color: var(--red); }
.fx-link:hover svg { transform: translateX(3px); }

/* ---------- hero ---------- */
.fx-hero { padding: 28px 0 0; }
.fx-hero__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; }
.fx-hero__main {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff;
    background:
        radial-gradient(900px 400px at 110% -10%, rgba(215, 38, 46, .55), transparent 60%),
        radial-gradient(600px 300px at -10% 120%, rgba(22, 58, 96, .9), transparent 60%),
        linear-gradient(135deg, var(--navy-900), var(--navy) 60%, var(--navy-700));
    padding: 48px 48px 40px; min-height: 460px; display: flex; flex-direction: column;
}
.fx-hero__main::after {
    content: ""; position: absolute; right: -90px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%);
    background: url("parts/gear-white.svg") center/contain no-repeat; opacity: .08; pointer-events: none;
}
.fx-hero__pill {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; color: #dce5f0; margin-bottom: 22px;
}
.fx-hero__pill b { background: var(--red); color: #fff; border-radius: 999px; padding: 3px 9px; font-size: 11.5px; letter-spacing: .04em; }
.fx-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; max-width: 620px; }
.fx-hero h1 em { font-style: normal; color: #ff6b70; }
.fx-hero__lead { color: #c3d0df; font-size: 17px; max-width: 540px; margin-top: 16px; }

.fx-finder {
    margin-top: auto; background: #fff; border-radius: 14px; padding: 16px; color: var(--ink);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); position: relative; z-index: 1;
}
.fx-finder__title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin-bottom: 12px; color: var(--navy); }
.fx-finder__title svg { width: 18px; height: 18px; color: var(--red); }
.fx-finder__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fx-field {
    height: 48px; width: 100%; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px;
    background: var(--surface-2); font-size: 14.5px; outline: none;
}
.fx-field:focus { border-color: var(--navy); background: #fff; }
select.fx-field {
    appearance: none; -webkit-appearance: none; padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
textarea.fx-field { height: auto; padding: 12px 14px; }
.fx-hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.fx-promo {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column;
    justify-content: space-between; min-height: 220px; isolation: isolate;
}
.fx-promo--red { background: linear-gradient(135deg, var(--red), #8f141a); color: #fff; }
.fx-promo--light { background: #fff; border: 1px solid var(--line); }
.fx-promo__tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.fx-promo h3 { font-size: 24px; margin-top: 8px; max-width: 230px; color: inherit; }
.fx-promo p { font-size: 14px; opacity: .85; margin-top: 6px; max-width: 220px; }
.fx-promo__art { position: absolute; right: -18px; bottom: -18px; width: 170px; height: 170px; z-index: -1; opacity: .95; }
.fx-promo--red .fx-promo__art { color: rgba(255, 255, 255, .22); }
.fx-promo--light .fx-promo__art { color: rgba(14, 42, 71, .12); }
.fx-promo .fx-link { color: inherit; margin-top: 14px; }

/* ---------- trust strip ---------- */
.fx-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); margin-top: 20px; }
.fx-trust__item { display: flex; align-items: center; gap: 14px; padding: 20px 22px; }
.fx-trust__item + .fx-trust__item { border-left: 1px solid var(--line); }
.fx-trust__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--red-50); color: var(--red); display: grid; place-items: center; flex: none; }
.fx-trust__icon svg { width: 24px; height: 24px; }
.fx-trust__item strong { display: block; font-size: 15px; }
.fx-trust__item span { color: var(--muted); font-size: 13.5px; }

/* ---------- categories ---------- */
.fx-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.fx-cat {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 14px 18px;
    text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; align-items: center;
}
.fx-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.fx-cat__icon {
    width: 68px; height: 68px; border-radius: 50%; background: var(--bg); color: var(--navy);
    display: grid; place-items: center; margin-bottom: 12px; transition: background .2s, color .2s;
}
.fx-cat:hover .fx-cat__icon { background: var(--red); color: #fff; }
.fx-cat__icon svg { width: 32px; height: 32px; }
.fx-cat strong { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.fx-cat span { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---------- makes ---------- */
.fx-makes { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.fx-make {
    height: 74px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    font-family: var(--font-display); font-weight: 800; letter-spacing: .04em; color: var(--navy); font-size: 16px;
    transition: border-color .2s, color .2s, box-shadow .2s;
}
.fx-make small { font-family: var(--font); font-weight: 500; font-size: 11.5px; letter-spacing: 0; color: var(--muted); }
.fx-make:hover { border-color: var(--red); color: var(--red); box-shadow: var(--shadow-sm); }

/* ---------- tabs ---------- */
.fx-tabs { display: inline-flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.fx-tab { border: 0; background: none; padding: 9px 16px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--muted); }
.fx-tab.is-active { background: var(--navy); color: #fff; }
.fx-tabpane { display: none; }
.fx-tabpane.is-active { display: block; }

/* ---------- product grid & card ---------- */
.fx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fx-grid--5 { grid-template-columns: repeat(5, 1fr); }
.fx-grid--3 { grid-template-columns: repeat(3, 1fr); }
.fx-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; position: relative;
}
.fx-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.fx-card__media { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); overflow: hidden; display: block; }
.fx-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.fx-card:hover .fx-card__media img { transform: scale(1.04); }
.fx-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.fx-chip {
    display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 6px;
    font-size: 12px; font-weight: 700; background: var(--bg); color: var(--ink-2);
}
.fx-chip--red { background: var(--red); color: #fff; }
.fx-chip--navy { background: var(--navy); color: #fff; }
.fx-chip--green { background: var(--green-50); color: var(--green); }
.fx-chip--amber { background: #fff4e0; color: #9a5b00; }
.fx-card__quick {
    position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 10px; border: 0;
    background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow-sm);
    opacity: 0; transform: translateY(-4px); transition: .2s;
}
.fx-card__quick svg { width: 18px; height: 18px; }
.fx-card:hover .fx-card__quick { opacity: 1; transform: none; }
.fx-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.fx-card__cat { font-size: 12px; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.fx-card__title {
    font-family: var(--font); font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.4; margin-top: 5px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px;
}
.fx-card__title a:hover { color: var(--red); }
.fx-card__meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--green); font-weight: 500; }
.fx-card__meta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fx-card__meta.is-out { color: var(--muted); }
.fx-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 10px; }
.fx-price__now { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--ink); }
.fx-price__was { font-size: 13.5px; color: var(--muted); text-decoration: line-through; }
.fx-price__vat { font-size: 12px; color: var(--muted); }
.fx-card__buy { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.fx-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; height: 42px; background: #fff; }
.fx-qty button { width: 32px; height: 100%; border: 0; background: none; font-size: 18px; color: var(--ink-2); }
.fx-qty input {
    width: 34px; height: 100%; border: 0; text-align: center; font-weight: 600; outline: none; -moz-appearance: textfield; background: none;
}
.fx-qty input::-webkit-outer-spin-button, .fx-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fx-card__buy .fx-btn { flex: 1; height: 42px; padding: 0 10px; font-size: 14px; }
.fx-btn.is-loading { opacity: .7; pointer-events: none; }
.fx-btn.is-done { background: var(--green) !important; }

/* ---------- banners ---------- */
.fx-cta {
    border-radius: var(--radius-lg); overflow: hidden; position: relative;
    background: linear-gradient(120deg, var(--navy-900), var(--navy) 55%, var(--navy-700));
    color: #fff; padding: 44px 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
}
.fx-cta::before {
    content: ""; position: absolute; inset: 0;
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 22px);
}
.fx-cta > * { position: relative; }
.fx-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.fx-cta p { color: #c3d0df; margin-top: 10px; font-size: 16px; max-width: 560px; }
.fx-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.fx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.fx-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.fx-step::before {
    counter-increment: step; content: "0" counter(step); position: absolute; right: 22px; top: 18px;
    font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--bg); line-height: 1;
}
.fx-step__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.fx-step__icon svg { width: 26px; height: 26px; }
.fx-step h3 { font-size: 18px; }
.fx-step p { color: var(--muted); margin-top: 8px; font-size: 14.5px; }

/* ---------- page header / breadcrumbs ---------- */
.fx-pagehead { background: var(--navy); color: #fff; padding: 34px 0 30px; position: relative; overflow: hidden; }
.fx-pagehead::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 220px at 100% 0, rgba(215, 38, 46, .45), transparent 70%);
}
.fx-pagehead > * { position: relative; z-index: 1; }
.fx-pagehead h1 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); }
.fx-pagehead p { color: #c3d0df; margin-top: 8px; max-width: 640px; }
.fx-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: #9fb1c6; margin-bottom: 12px; padding: 0; list-style: none; }
.fx-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.fx-crumbs a:hover { color: #fff; }

/* ---------- shop listing ---------- */
.fx-shop { display: grid; grid-template-columns: 270px 1fr; gap: 26px; align-items: start; }
.fx-filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px 18px; position: sticky; top: 104px; }
.fx-filter { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fx-filter:last-child { border-bottom: 0; }
.fx-filter h4 { font-family: var(--font); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.fx-filter ul { list-style: none; margin: 0; padding: 0; }
.fx-filter li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.fx-filter li a:hover { background: var(--bg); color: var(--ink); }
.fx-filter li a.is-active { background: var(--navy); color: #fff; font-weight: 600; }
.fx-filter li a .fx-count { font-size: 12px; color: var(--muted); }
.fx-filter li a.is-active .fx-count { color: #c3d0df; }
.fx-filter__subs { padding-left: 14px !important; margin: 2px 0 6px !important; border-left: 2px solid var(--line); }
.fx-filter__subs a { font-size: 13.5px !important; }
.fx-price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fx-price-range .fx-field { height: 40px; font-size: 14px; }
.fx-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.fx-check input { width: 18px; height: 18px; accent-color: var(--red); }
.fx-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 18px;
}
.fx-toolbar__count { color: var(--muted); font-size: 14px; }
.fx-toolbar__count strong { color: var(--ink); }
.fx-toolbar select.fx-field { height: 40px; width: auto; min-width: 200px; }
.fx-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.fx-active-filters a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; }
.fx-active-filters a:hover { border-color: var(--red); color: var(--red); }
.fx-filters-toggle { display: none; }
.fx-empty { background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 50px 24px; text-align: center; }
.fx-empty svg { width: 56px; height: 56px; color: var(--line-2); margin: 0 auto 14px; }
.fx-empty h3 { font-size: 20px; }
.fx-empty p { color: var(--muted); margin: 8px auto 18px; max-width: 460px; }

/* pagination (Laravel default markup) */
.fx-pagination { margin-top: 28px; display: flex; justify-content: center; }
.fx-pagination nav > div:first-child { display: none; }
.fx-pagination nav > div:last-child > div:first-child { display: none; }
.fx-pagination .pagination, .fx-pagination nav span.relative, .fx-pagination nav > div:last-child > div:last-child > span {
    display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; box-shadow: none;
}
.fx-pagination a, .fx-pagination span[aria-current] > span, .fx-pagination span[aria-disabled] > span, .fx-pagination .page-link {
    min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: 14px; color: var(--ink-2);
}
.fx-pagination svg { width: 16px; height: 16px; }
.fx-pagination span[aria-current] > span, .fx-pagination .active .page-link { background: var(--navy); border-color: var(--navy); color: #fff; }
.fx-pagination a:hover { border-color: var(--navy); }
.fx-pagination span[aria-disabled] > span { opacity: .4; }

/* ---------- product page ---------- */
.fx-pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.fx-gallery { position: sticky; top: 104px; }
.fx-gallery__main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 1; }
.fx-gallery__main img { width: 100%; height: 100%; object-fit: contain; background: var(--surface-2); }
.fx-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.fx-gallery__thumbs button { flex: none; width: 76px; height: 76px; border-radius: 10px; border: 2px solid var(--line); padding: 0; overflow: hidden; background: #fff; }
.fx-gallery__thumbs button.is-active { border-color: var(--red); }
.fx-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.fx-pdp__info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.fx-pdp__info h1 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 8px; }
.fx-pdp__sku { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.fx-pdp__sku b { color: var(--ink-2); font-weight: 600; }
.fx-pdp__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 22px 0 6px; }
.fx-pdp__price .fx-price__now { font-size: 34px; }
.fx-pdp__price .fx-price__was { font-size: 17px; }
.fx-pdp__lead { color: var(--ink-2); font-size: 15.5px; margin-top: 16px; }
.fx-pdp__buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 24px; }
.fx-pdp__buy .fx-btn--wa { grid-column: 1 / -1; }
.fx-pdp__buy .fx-qty { height: 52px; }
.fx-pdp__buy .fx-qty button { width: 42px; }
.fx-pdp__buy .fx-qty input { width: 46px; }
.fx-pdp__buy .fx-btn { height: 52px; font-size: 16px; }
.fx-pdp__help { margin-top: 18px; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--bg); font-size: 14px; color: var(--ink-2); }
.fx-pdp__help svg { width: 28px; height: 28px; color: #1fa855; flex: none; }
.fx-pdp__help a { color: var(--navy); font-weight: 600; }
.fx-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.fx-perk { border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 13px; color: var(--muted); }
.fx-perk svg { width: 22px; height: 22px; color: var(--red); margin-bottom: 6px; }
.fx-perk strong { display: block; color: var(--ink); font-size: 13.5px; }
.fx-variants { margin-top: 20px; }
.fx-variants label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 6px; }
.fx-details { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; }
.fx-details h2 { font-size: 20px; margin-bottom: 12px; }
.fx-details .fx-prose { color: var(--ink-2); }
.fx-spec { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.fx-spec th, .fx-spec td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.fx-spec th { width: 34%; color: var(--muted); font-weight: 500; background: var(--surface-2); }

/* ---------- content pages ---------- */
.fx-prose { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.fx-prose h2 { font-size: 22px; margin: 26px 0 10px; }
.fx-prose h3 { font-size: 18px; margin: 20px 0 8px; }
.fx-prose p { margin: 0 0 14px; }
.fx-prose ul, .fx-prose ol { padding-left: 20px; margin: 0 0 14px; }
.fx-cardbox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.fx-2col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: start; }
.fx-contact-list { display: grid; gap: 12px; }
.fx-contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.fx-contact-item svg { width: 24px; height: 24px; color: var(--red); flex: none; margin-top: 2px; }
.fx-contact-item strong { display: block; font-size: 15px; }
.fx-contact-item span, .fx-contact-item a { color: var(--ink-2); font-size: 14.5px; }
.fx-contact-item a:hover { color: var(--red); }
.fx-form { display: grid; gap: 14px; }
.fx-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fx-form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.fx-alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.fx-alert--ok { background: var(--green-50); color: var(--green); }
.fx-alert--err { background: var(--red-50); color: var(--red-600); }
.fx-faq { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.fx-faq + .fx-faq { margin-top: 10px; }
.fx-faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after { content: "+"; font-size: 22px; color: var(--red); line-height: 1; }
.fx-faq[open] summary::after { content: "–"; }
.fx-faq__a { padding: 0 20px 18px; color: var(--ink-2); }
.fx-faq-group h2 { font-size: 20px; margin: 30px 0 14px; }
.fx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.fx-stat { background: var(--bg); border-radius: 14px; padding: 18px; }
.fx-stat strong { font-family: var(--font-display); font-size: 26px; color: var(--navy); display: block; }
.fx-stat span { color: var(--muted); font-size: 13.5px; }

/* ---------- footer ---------- */
.fx-newsletter { background: var(--red); color: #fff; }
.fx-newsletter .fx-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.fx-newsletter h3 { color: #fff; font-size: 22px; }
.fx-newsletter p { color: #ffd9db; font-size: 14.5px; margin-top: 4px; }
.fx-newsletter form { display: flex; gap: 8px; flex: 1; max-width: 480px; }
.fx-newsletter input { flex: 1; height: 50px; border: 0; border-radius: 10px; padding: 0 16px; outline: none; min-width: 0; }
.fx-newsletter .fx-btn { height: 50px; background: var(--navy-900); color: #fff; }
.fx-newsletter .fx-btn:hover { background: #000; }
.fx-footer { background: var(--navy-900); color: #9fb1c6; font-size: 14.5px; }
.fx-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px; }
.fx-footer__brand img { height: 64px; width: auto; margin-bottom: 18px; }
.fx-footer h4 { color: #fff; font-family: var(--font); font-size: 15px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0; }
.fx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fx-footer a:hover { color: #fff; }
.fx-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.fx-footer__contact svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 3px; }
.fx-footer__pay { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.fx-footer__pay span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.fx-footer__pay img { height: 30px; width: auto; background: #fff; border-radius: 6px; padding: 3px 8px; }
.fx-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.fx-footer__bottom .fx-container { display: flex; justify-content: space-between; gap: 14px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; flex-wrap: wrap; }
.fx-footer__bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* floating whatsapp */
.fx-wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 56px; height: 56px; border-radius: 50%;
    background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(31, 168, 85, .7);
    transition: transform .2s;
}
.fx-wa-float:hover { transform: scale(1.07); }
.fx-wa-float svg { width: 30px; height: 30px; }

/* toast */
.fx-toasts { position: fixed; top: 20px; right: 20px; z-index: 200; display: grid; gap: 10px; }
.fx-toast {
    display: flex; align-items: center; gap: 10px; min-width: 260px; max-width: 360px; padding: 14px 16px;
    background: var(--navy-900); color: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 14px;
    animation: fx-in .25s ease-out;
}
.fx-toast--err { background: var(--red-600); }
.fx-toast svg { width: 20px; height: 20px; flex: none; color: #4ade80; }
@keyframes fx-in { from { opacity: 0; transform: translateY(-8px); } }

/* sticky buy bar (product page, mobile) */
.fx-stickybuy { display: none; }

/* mobile bottom bar */
.fx-mbar { display: none; }

/* ---------- auth modal (bootstrap) touch-ups ---------- */
.fx #authModal .modal-content { border: 0; border-radius: 18px; }
.fx #authModal .nav-pills .nav-link.active { background: var(--navy); }
.fx #authModal .btn-primary { background: var(--red); border-color: var(--red); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
    .fx-cats { grid-template-columns: repeat(4, 1fr); }
    .fx-makes { grid-template-columns: repeat(4, 1fr); }
    .fx-grid--5 { grid-template-columns: repeat(4, 1fr); }
    .fx-nav__help { display: none; }
    .fx-action__text { display: none; }
    .fx-mega { width: min(820px, 92vw); grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
    .fx-topbar__list .fx-hide-md { display: none; }
    .fx-nav { display: none; }
    .fx-burger { display: inline-flex; }
    .fx-header__main { height: auto; padding: 12px 0; flex-wrap: wrap; gap: 12px 16px; }
    .fx-logo img { height: 44px; }
    .fx-search { order: 3; flex-basis: 100%; max-width: none; }
    .fx-search__select { display: none; }
    .fx-hero__grid { grid-template-columns: 1fr; }
    .fx-hero__side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
    .fx-trust { grid-template-columns: repeat(2, 1fr); }
    .fx-trust__item:nth-child(3) { border-left: 0; }
    .fx-trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
    .fx-grid, .fx-grid--5 { grid-template-columns: repeat(3, 1fr); }
    .fx-cta { grid-template-columns: 1fr; padding: 34px 28px; }
    .fx-cta__actions { justify-content: flex-start; }
    .fx-steps { grid-template-columns: 1fr; }
    .fx-shop { grid-template-columns: 1fr; }
    .fx-filters { position: fixed; top: 0; bottom: 0; left: 0; width: min(340px, 90vw); z-index: 100; border-radius: 0; overflow: auto; transform: translateX(-100%); transition: transform .3s; }
    .fx-filters.is-open { transform: none; }
    .fx-filters-toggle { display: inline-flex; }
    .fx-pdp { grid-template-columns: 1fr; }
    .fx-gallery { position: static; }
    .fx-2col { grid-template-columns: 1fr; }
    .fx-footer__grid { grid-template-columns: 1fr 1fr; }
    body.fx { padding-bottom: 64px; }
    .fx-mbar {
        display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
        background: #fff; border-top: 1px solid var(--line); height: 64px; box-shadow: 0 -6px 20px -12px rgba(0, 0, 0, .2);
    }
    .fx-mbar a, .fx-mbar button {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
        font-size: 11px; font-weight: 600; color: var(--muted); border: 0; background: none; position: relative;
    }
    .fx-mbar svg { width: 22px; height: 22px; }
    .fx-mbar .is-active { color: var(--red); }
    .fx-mbar .fx-badge { top: 6px; left: calc(50% + 4px); }
    .fx-wa-float { display: none; }
    .fx-mbar .fx-mbar__wa { color: #1fa855; }
    .fx-pdp { gap: 16px; }
    .fx-gallery__main { aspect-ratio: 4 / 3; }
    .fx-stickybuy {
        display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 64px; z-index: 54;
        background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; box-shadow: 0 -8px 24px -14px rgba(0, 0, 0, .25);
        transform: translateY(120%); transition: transform .25s;
    }
    .fx-stickybuy.is-visible { transform: none; }
    .fx-stickybuy__price { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
    .fx-stickybuy__price small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 44vw; }
    .fx-stickybuy__price strong { font-family: var(--font-display); font-size: 18px; }
    .fx-stickybuy .fx-btn { margin-left: auto; height: 46px; }
}
@media (max-width: 640px) {
    .fx-topbar { display: none; }
    .fx-container { padding: 0 16px; }
    .fx-section { padding: 40px 0; }
    .fx-hero { padding-top: 16px; }
    .fx-hero__main { padding: 30px 22px 22px; min-height: 0; }
    .fx-hero__lead { font-size: 15.5px; }
    .fx-finder { margin-top: 26px; }
    .fx-finder__row > :nth-child(3), .fx-finder__row > :nth-child(4) { grid-column: 1 / -1; }
    .fx-hero__side { grid-template-columns: 1fr; }
    .fx-promo { min-height: 170px; }
    .fx-trust { grid-template-columns: 1fr; }
    .fx-trust__item + .fx-trust__item { border-left: 0; border-top: 1px solid var(--line); }
    .fx-cats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .fx-makes { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .fx-grid, .fx-grid--5, .fx-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .fx-head { flex-direction: column; align-items: flex-start; }
    .fx-tabs { width: 100%; overflow-x: auto; }
    .fx-card__body { padding: 12px; }
    .fx-card__title { font-size: 14px; }
    .fx-price__now { font-size: 17px; }
    .fx-card__buy { flex-direction: column; }
    .fx-card__buy .fx-qty { width: 100%; justify-content: space-between; }
    .fx-card__buy .fx-btn { flex: none; width: 100%; height: 40px; }
    .fx-card__buy .fx-qty { height: 38px; }
    .fx-card__media { aspect-ratio: 5 / 4; }
    .fx-card__badges { top: 8px; left: 8px; }
    .fx-toolbar { padding: 10px; gap: 10px; }
    .fx-toolbar__count { order: -1; width: 100%; }
    .fx-toolbar .fx-filters-toggle { flex: 1; height: 40px; }
    .fx-toolbar form { flex: 1; }
    .fx-toolbar form select.fx-field { width: 100%; }
    .fx-pagehead { padding: 24px 0 22px; }
    .fx-card__quick { display: none; }
    .fx-perks { gap: 8px; }
    .fx-perk { padding: 10px 8px; text-align: center; font-size: 11.5px; }
    .fx-perk svg { margin: 0 auto 4px; }
    .fx-perk strong { font-size: 12.5px; }
    .fx-pdp__price .fx-price__now { font-size: 28px; }
    .fx-pdp__info h1 { font-size: 23px; }
    .fx-details { padding: 22px 18px; margin-top: 20px; }
    .fx-spec th { width: 42%; }
    .fx-pdp__info { padding: 22px 18px; }
    .fx-form__row { grid-template-columns: 1fr; }
    .fx-stats { grid-template-columns: 1fr; }
    .fx-newsletter form { flex-direction: column; max-width: none; }
    .fx-newsletter input, .fx-newsletter .fx-btn { flex: none; height: 48px; }
    .fx-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding: 40px 0 28px; }
    .fx-footer__brand, .fx-footer__grid > div:last-child { grid-column: 1 / -1; }
    .fx-footer ul { gap: 7px; font-size: 14px; }
    .fx-actions .fx-action--account { display: none; }
}

/* ---------- cart page ---------- */
.fx-cartpage { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
.fx-cartrow {
    display: grid; grid-template-columns: 88px 1fr auto 120px; gap: 18px; align-items: center;
    padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: opacity .2s;
}
.fx-cartrow + .fx-cartrow { margin-top: 10px; }
.fx-cartrow__img img { width: 88px; height: 88px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.fx-cartrow__name { font-weight: 600; line-height: 1.35; display: block; }
.fx-cartrow__name:hover { color: var(--red); }
.fx-cartrow__unit { font-size: 13px; color: var(--muted); margin-top: 4px; }
.fx-cartrow__remove { border: 0; background: none; padding: 0; margin-top: 8px; color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.fx-cartrow__remove svg { width: 14px; height: 14px; }
.fx-cartrow__remove:hover { color: var(--red); }
.fx-cartrow__total { font-family: var(--font-display); font-weight: 800; font-size: 17px; text-align: right; }
.fx-summary { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 104px; }
.fx-summary h2 { font-size: 20px; margin-bottom: 14px; }
.fx-summary dl { margin: 0 0 18px; }
.fx-summary dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 14.5px; }
.fx-summary dt { color: var(--muted); font-weight: 400; }
.fx-summary dd { margin: 0; font-weight: 600; text-align: right; }
.fx-summary__total { border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 14px !important; }
.fx-summary__total dt { color: var(--ink); font-weight: 700; }
.fx-summary__total dd { font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.fx-summary__note { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.fx-summary__note svg { width: 18px; height: 18px; color: var(--green); }
.fx-summary__note a { color: var(--navy); font-weight: 600; }
.fx-checkoutbar { display: none; }

@media (max-width: 991px) {
    .fx-cartpage { grid-template-columns: 1fr; }
    .fx-summary { position: static; }
    .fx-checkoutbar {
        display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 64px; z-index: 54;
        background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; box-shadow: 0 -8px 24px -14px rgba(0, 0, 0, .25);
    }
    .fx-checkoutbar small { display: block; color: var(--muted); font-size: 12px; }
    .fx-checkoutbar strong { font-family: var(--font-display); font-size: 19px; }
    .fx-checkoutbar .fx-btn { height: 46px; }
    .fx-cartpage + .fx-checkoutbar { }
}
@media (max-width: 640px) {
    .fx-cartrow { grid-template-columns: 72px 1fr; gap: 12px; padding: 12px; }
    .fx-cartrow__img img { width: 72px; height: 72px; }
    .fx-cartrow .fx-qty { grid-column: 1 / 2; grid-row: 2; height: 38px; }
    .fx-cartrow .fx-qty button { width: 24px; }
    .fx-cartrow .fx-qty input { width: 24px; }
    .fx-cartrow__total { grid-column: 2; grid-row: 2; align-self: center; }
}

/* category strip (mobile shop) */
.fx-catscroll { display: none; }
@media (max-width: 991px) {
    .fx-catscroll { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin: 0 -16px 6px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
    .fx-catscroll::-webkit-scrollbar { display: none; }
    .fx-catscroll a {
        flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px;
        border: 1px solid var(--line-2); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink-2); scroll-snap-align: start;
    }
    .fx-catscroll a svg { width: 18px; height: 18px; color: var(--red); }
    .fx-catscroll a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
    .fx-catscroll a.is-active svg { color: #fff; }
}
.fx-shop > div, .fx-cartpage > div, .fx-pdp > div { min-width: 0; }
.fx-active-filters a svg { width: 14px; height: 14px; flex: none; }

/* pagination */
.fx-pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.fx-pager__pages { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.fx-pager__btn, .fx-pager__num {
    min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: 14px; color: var(--ink-2);
}
.fx-pager__btn svg { width: 16px; height: 16px; }
.fx-pager .fx-flip { transform: scaleX(-1); }
.fx-pager a:hover { border-color: var(--navy); color: var(--navy); }
.fx-pager__num.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.fx-pager__btn.is-disabled { opacity: .4; }
.fx-pager__dots { align-self: center; color: var(--muted); padding: 0 4px; }
@media (max-width: 640px) {
    .fx-pager__label { display: none; }
    .fx-pager__btn { padding: 0; }
    .fx-grid--stack { grid-template-columns: 1fr !important; }
}
