/*
 * folio - storefront template for a book publisher.
 *
 * Editorial "literary house" look: ink and paper, a serif display face,
 * covers drawn as real 3D books. Everything is self-contained - no CSS
 * framework underneath - so class names are prefixed fx- to stay clear of
 * whatever system.js or an admin-supplied snippet injects.
 *
 * Sections, in order:
 *   1  tokens, reset, type          9  shelf, marquee, feature, chart
 *   2  layout helpers               10 journal, perks, newsletter
 *   3  buttons, badges, forms       11 footer
 *   4  alerts, tables, pagination   12 inner pages: head, shop, product
 *   5  top bar + header + nav       13 cart, checkout, account, auth
 *   6  search overlay, drawers      14 modal, toast, loader
 *   7  book cards + 3D covers       15 motion + responsive
 *   8  hero
 */

/* ===================================================================
 * 1  Tokens, reset, type
 * =================================================================== */
:root {
    /* Palette taken from the shop logo: the royal-blue ring, the sun, the
       leaves, the sky-blue pages and the red-to-maroon hands. */
    --ink: #0e2a5c;
    --ink-2: #163d80;
    --ink-3: #2a4a86;
    --blue: #1f5fbf;
    --sky: #1aa8e0;
    --sun: #f7941d;
    --sun-2: #fbb03b;
    --yellow: #f6d21f;
    --leaf: #3aa935;
    --leaf-d: #2c8a2a;
    --red: #c8161d;
    --maroon: #7b2d12;

    --paper: #fbf8f2;
    --paper-2: #f4eee2;
    --paper-3: #e9e0cf;
    --card: #ffffff;
    --text: #1d2433;
    --muted: #636b7a;
    --line: #e8e0d0;
    --accent: #e2701a;
    --accent-2: #c85a10;
    --gold: #f2a51a;
    --sage: #3aa935;
    --success: #2c8a2a;
    --danger: #c8161d;
    --info: #1f5fbf;

    --serif: 'Fraunces', 'Noto Serif Bengali', Georgia, 'Times New Roman', serif;
    --sans: 'Manrope', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 2px 10px rgba(14, 42, 92, .06);
    --shadow: 0 18px 40px -18px rgba(14, 42, 92, .32);
    --shadow-lg: 0 40px 80px -30px rgba(14, 42, 92, .45);
    --ease: cubic-bezier(.22, .9, .3, 1);
    --container: 1240px;
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
/* Faint paper grain, drawn once, sits behind everything. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.38 0 0 0 0 0.25 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.fx-locked { overflow: hidden; }
.fx-page { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 .5em;
    color: var(--ink);
    letter-spacing: -.01em;
    font-variation-settings: "opsz" 72, "SOFT" 50;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
.hidden, [hidden] { display: none !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.fx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fx-italic { font-style: italic; }
.fx-accent { color: var(--accent); }

/* ===================================================================
 * 2  Layout helpers
 * =================================================================== */
.fx-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.fx-container--narrow { max-width: 880px; }
.fx-section { padding: 90px 0; position: relative; }
.fx-section--tight { padding: 56px 0; }
.fx-section--paper2 { background: var(--paper-2); }

.fx-grid { display: grid; gap: 34px 26px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.fx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.fx-stack > * + * { margin-top: 24px; }
.fx-flex { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fx-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fx-mt { margin-top: 28px; }
.fx-mt-lg { margin-top: 48px; }

/* Section heading: eyebrow + serif title + optional link on the right. */
.fx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 42px; flex-wrap: wrap; }
.fx-head__eyebrow, .fx-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--sans); font-size: .74rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .22em; color: var(--accent);
    margin-bottom: 12px;
}
.fx-head__eyebrow::before, .fx-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.fx-head h2 { margin: 0; }
.fx-head h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.fx-head p { margin: 10px 0 0; color: var(--muted); max-width: 520px; }
.fx-head--center { flex-direction: column; align-items: center; text-align: center; }
.fx-head--center .fx-head__eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

.fx-link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.fx-link-arrow i { transition: transform .3s var(--ease); }
.fx-link-arrow:hover i { transform: translateX(5px); }

/* ===================================================================
 * 3  Buttons, badges, forms
 * =================================================================== */
.fx-btn {
    --bg: var(--accent); --fg: #fff; --bd: var(--accent);
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border-radius: 999px; border: 1.5px solid var(--bd);
    background: var(--bg); color: var(--fg); font-weight: 700; font-size: .92rem; letter-spacing: .01em;
    line-height: 1.2; cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s, border-color .3s, background .3s;
}
.fx-btn::after {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.fx-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(226, 112, 26, .6); border-color: var(--ink); }
.fx-btn:hover::after { transform: scaleX(1); transform-origin: left; }
.fx-btn--ink { --bg: var(--ink); --bd: var(--ink); }
.fx-btn--ink::after { background: var(--accent); }
.fx-btn--ink:hover { border-color: var(--accent); box-shadow: 0 14px 28px -12px rgba(14, 42, 92, .55); }
.fx-btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.fx-btn--light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .5); }
.fx-btn--light::after { background: #fff; }
.fx-btn--light:hover { color: var(--ink); border-color: #fff; }
.fx-btn--sm { padding: 10px 18px; font-size: .82rem; }
.fx-btn--block { width: 100%; }
.fx-btn[disabled], .fx-btn.disable { opacity: .45; pointer-events: none; }
.fx-btn i { font-size: 1em; }

.fx-icon-btn {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer;
    transition: all .25s var(--ease);
}
.fx-icon-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }

.fx-badge {
    position: absolute; top: 12px; left: 12px; z-index: 3;
    padding: 5px 11px; border-radius: 999px; background: var(--ink); color: #fff;
    font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.fx-badge--sale { background: var(--accent); }
.fx-badge--muted { left: auto; right: 12px; background: rgba(14, 42, 92, .75); backdrop-filter: blur(4px); }

.fx-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--card); font-size: .84rem; font-weight: 600; color: var(--ink);
    transition: all .25s;
}
.fx-chip:hover, .fx-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Forms share one look everywhere: soft card fields with a focus ring. */
.fx-form label, .fx-label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); margin-bottom: 8px; }
.fx-form .required, .required { color: var(--accent); }
.fx-input, .fx-form input[type=text], .fx-form input[type=email], .fx-form input[type=tel], .fx-form input[type=password],
.fx-form input[type=number], .fx-form select, .fx-form textarea {
    width: 100%; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 12px;
    background: var(--card); color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s;
}
.fx-form textarea { resize: vertical; min-height: 110px; }
.fx-input:focus, .fx-form input:focus, .fx-form select:focus, .fx-form textarea:focus {
    border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14, 42, 92, .08);
}
.fx-form input:disabled, .fx-form textarea:disabled { opacity: .6; }
.fx-field { margin-bottom: 20px; }
.fx-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.fx-fields .fx-field--full { grid-column: 1 / -1; }
.fx-form select {
    appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230e2a5c' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 18px center;
}
.fx-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .9rem; user-select: none; }
.fx-check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--ink-3); border-radius: 6px; display: grid; place-items: center; background: var(--card); cursor: pointer; transition: all .2s; flex-shrink: 0; }
.fx-check input:checked { background: var(--ink); border-color: var(--ink); }
.fx-check input:checked::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.fx-check label { margin: 0; font-weight: 500; letter-spacing: 0; font-size: .9rem; }

/* ===================================================================
 * 4  Alerts, tables, pagination
 * =================================================================== */
.fx-alert { padding: 15px 20px; border-radius: 12px; margin-bottom: 22px; font-size: .92rem; border-left: 4px solid; background: var(--card); }
.fx-alert.is-error { border-color: var(--danger); color: var(--danger); background: #fbecea; }
.fx-alert.is-success { border-color: var(--success); color: var(--success); background: #eaf4ee; }
.fx-alert.is-info { border-color: var(--info); color: var(--info); background: #ebf0f7; }

.fx-table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.fx-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.fx-table th {
    text-align: left; padding: 16px 20px; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
    color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--line); background: var(--paper);
}
.fx-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.fx-table tbody tr:last-child td { border-bottom: 0; }
.fx-table tbody tr { transition: background .2s; }
.fx-table tbody tr:hover { background: rgba(239, 230, 214, .35); }

.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0; padding: 0; }
.pagination li a {
    display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px;
    border: 1.5px solid var(--line); background: var(--card); font-weight: 700; font-size: .88rem; color: var(--ink);
    transition: all .2s;
}
.pagination li a:hover { border-color: var(--ink); color: var(--ink); }
.pagination li.active a { background: var(--ink); border-color: var(--ink); color: #fff; }

.fx-status { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.fx-status.placed { background: #ebf0f7; color: var(--info); }
.fx-status.processing { background: #fbf2df; color: #9a6b12; }
.fx-status.completed { background: #e6f2ea; color: var(--success); }
.fx-status.rejected { background: #fbecea; color: var(--danger); }

.fx-empty { text-align: center; padding: 70px 20px; }
.fx-empty__art { width: 120px; height: 120px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--accent); font-size: 2.6rem; }
.fx-empty h3 { font-size: 1.7rem; }
.fx-empty p { color: var(--muted); max-width: 440px; margin: 0 auto 26px; }

/* ===================================================================
 * 5  Top bar, header, nav
 * =================================================================== */
.fx-topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: .8rem; position: relative; z-index: 60; }
.fx-topbar .fx-container { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.fx-topbar a { color: rgba(255, 255, 255, .78); }
.fx-topbar a:hover { color: #fff; }
.fx-topbar__left, .fx-topbar__right { display: flex; align-items: center; gap: 22px; }
.fx-topbar__left i { color: var(--gold); margin-right: 6px; }
.fx-topbar__note { font-family: var(--serif); font-style: italic; letter-spacing: .02em; color: #ffd98a; }
.fx-dd { position: relative; }
.fx-dd__toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; background: none; border: 0; color: inherit; padding: 8px 0; }
.fx-dd__menu {
    position: absolute; top: 100%; right: 0; min-width: 190px; padding: 8px; border-radius: 12px; background: var(--card);
    box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); z-index: 80;
}
.fx-dd:hover .fx-dd__menu, .fx-dd.is-open .fx-dd__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.fx-dd__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--text) !important; font-size: .86rem; }
.fx-dd__menu a:hover { background: var(--paper); }
.fx-dd__menu img { width: 18px; height: auto; border-radius: 2px; }

.fx-header {
    position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.fx-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(14, 42, 92, .35); background: rgba(255, 255, 255, .95); }
.fx-header__inner { display: flex; align-items: center; gap: 30px; height: var(--header-h); transition: height .3s; }
.fx-header.is-scrolled .fx-header__inner { height: 70px; }
.fx-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.fx-logo img { max-height: 52px; width: auto; }
.fx-logo__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1; }
.fx-logo__name small { display: block; font-family: var(--sans); font-size: .62rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.fx-nav { flex: 1; display: flex; justify-content: center; }
.fx-nav > ul { display: flex; align-items: center; gap: 4px; }
.fx-nav > ul > li { position: relative; }
.fx-nav > ul > li > a {
    position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 15px;
    font-weight: 700; font-size: .9rem; color: var(--ink);
}
.fx-nav > ul > li > a::after {
    content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.fx-nav > ul > li:hover > a::after, .fx-nav > ul > li.active > a::after { transform: scaleX(1); }
.fx-nav > ul > li > a .fa-angle-down { font-size: .8em; opacity: .6; }

/* Genre mega menu: columns of sub-genres plus a dark feature panel. */
.fx-mega {
    position: absolute; top: calc(100% + 14px); left: 50%; width: min(900px, 92vw);
    transform: translate(-50%, 10px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
    display: grid; grid-template-columns: 1fr 260px; background: var(--card); border-radius: 20px;
    box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line);
}
.fx-mega::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.fx-nav li:hover > .fx-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.fx-mega__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding: 32px; }
.fx-mega__col h5 { font-size: 1.05rem; margin-bottom: 12px; }
.fx-mega__col h5 a { color: var(--ink); }
.fx-mega__col h5 a:hover { color: var(--accent); }
.fx-mega__col li a { display: block; padding: 5px 0; font-size: .88rem; color: var(--muted); transition: color .2s, transform .2s; }
.fx-mega__col li a:hover { color: var(--accent); transform: translateX(4px); }
.fx-mega__feature {
    position: relative; padding: 32px 28px; background: var(--ink); color: #fff;
    display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
}
.fx-mega__feature::before {
    content: "\201C"; position: absolute; top: -30px; right: 6px; font-family: var(--serif); font-size: 12rem;
    line-height: 1; color: rgba(255, 255, 255, .07);
}
.fx-mega__feature h4 { color: #fff; font-size: 1.5rem; font-style: italic; font-weight: 400; }
.fx-mega__feature p { color: rgba(255, 255, 255, .7); font-size: .88rem; }

.fx-header__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.fx-tool {
    position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: transparent; border: 0; color: var(--ink); font-size: 1.15rem; cursor: pointer; transition: background .25s, transform .25s;
}
.fx-tool:hover { background: var(--paper-2); color: var(--ink); transform: translateY(-1px); }
.fx-tool__count {
    position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
    background: var(--accent); color: #fff; font-size: .66rem; font-weight: 800; display: grid; place-items: center;
    border: 2px solid var(--paper); font-family: var(--sans);
}
.fx-tool--burger { display: none; }

/* ===================================================================
 * 6  Search overlay and the two drawers (cart, mobile menu)
 * =================================================================== */
.fx-overlay {
    position: fixed; inset: 0; z-index: 200; background: rgba(14, 42, 92, .55); backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden; transition: all .35s var(--ease);
}
.fx-overlay.is-open { opacity: 1; visibility: visible; }

.fx-search {
    position: fixed; inset: 0 0 auto 0; z-index: 210; background: var(--paper); padding: 70px 0 60px;
    transform: translateY(-105%); transition: transform .55s var(--ease); box-shadow: var(--shadow-lg);
}
.fx-search.is-open { transform: translateY(0); }
.fx-search__close { position: absolute; top: 22px; right: 24px; }
.fx-search__title { font-size: clamp(1.8rem, 4vw, 3rem); font-style: italic; font-weight: 400; margin-bottom: 28px; }
.fx-search__form { position: relative; display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.fx-search__form select {
    border: 0; background: var(--paper-2); border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: .84rem;
    max-width: 200px; cursor: pointer; outline: none;
}
.fx-search__form input[type=text] {
    flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-family: var(--serif);
    font-size: clamp(1.3rem, 3vw, 2.1rem); color: var(--ink); padding: 6px 0;
}
.fx-search__form input::placeholder { color: #b5ab99; }
.fx-search__submit { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 1.2rem; flex-shrink: 0; transition: background .25s; }
.fx-search__submit:hover { background: var(--accent); }
.fx-search__hint { margin-top: 14px; color: var(--muted); font-size: .84rem; }
.fx-search__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
#suggestions { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: var(--card); border-radius: 14px; box-shadow: var(--shadow); z-index: 5; max-height: 320px; overflow: auto; }
#suggestions ul { padding: 8px; }
#suggestions li { padding: 11px 16px; border-radius: 10px; cursor: pointer; font-weight: 600; }
#suggestions li:hover { background: var(--paper); color: var(--accent); }

.fx-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 220; width: min(430px, 100%); background: var(--paper);
    display: flex; flex-direction: column; transform: translateX(105%); transition: transform .5s var(--ease); box-shadow: var(--shadow-lg);
}
.fx-drawer--left { right: auto; left: 0; transform: translateX(-105%); }
.fx-drawer.is-open { transform: translateX(0); }
.fx-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.fx-drawer__head h3 { margin: 0; font-size: 1.6rem; }
.fx-drawer__head h3 sup { font-family: var(--sans); font-size: .8rem; color: var(--accent); font-weight: 800; margin-left: 4px; }
.fx-drawer__body { flex: 1; overflow-y: auto; padding: 10px 26px; }
.fx-drawer__foot { padding: 22px 26px 26px; border-top: 1px solid var(--line); background: var(--card); }
.fx-drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.fx-drawer__total span { color: var(--muted); font-size: .9rem; }
.fx-drawer__total strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--ink); }
.fx-drawer__note { font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.fx-drawer__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.fx-mini { display: grid; grid-template-columns: 62px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.fx-mini__img { width: 62px; aspect-ratio: 2 / 3; border-radius: 3px 6px 6px 3px; object-fit: cover; background: var(--paper-2); box-shadow: 3px 3px 0 #e6dccb, 6px 10px 18px -8px rgba(14, 42, 92, .4); }
.fx-mini__title { font-family: var(--serif); font-size: 1rem; line-height: 1.25; display: block; color: var(--ink); margin-bottom: 4px; }
.fx-mini__meta { font-size: .82rem; color: var(--muted); }
.fx-mini__meta b { color: var(--ink); }
.fx-mini__x { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); transition: all .2s; }
.fx-mini__x:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.fx-drawer__empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.fx-drawer__empty i { font-size: 2.6rem; color: var(--paper-3); display: block; margin-bottom: 14px; }

.fx-mnav { padding: 10px 0; }
.fx-mnav li { border-bottom: 1px solid var(--line); }
.fx-mnav a, .fx-mnav button.fx-mnav__toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 0; background: none; border: 0;
    font-family: var(--serif); font-size: 1.25rem; color: var(--ink); text-align: left;
}
.fx-mnav ul ul { display: none; padding: 0 0 12px 14px; }
.fx-mnav ul ul li { border: 0; }
.fx-mnav ul ul a { font-family: var(--sans); font-size: .95rem; padding: 8px 0; color: var(--muted); }
.fx-mnav li.is-open > ul { display: block; }
.fx-mnav li.is-open > .fx-mnav__toggle i { transform: rotate(180deg); }
.fx-mnav__toggle i { transition: transform .3s; font-size: .9rem; }
.fx-mnav__extra { margin-top: 26px; display: grid; gap: 10px; font-size: .9rem; color: var(--muted); }
.fx-mnav__extra a { display: flex; gap: 10px; align-items: center; }

/* ===================================================================
 * 7  Book cards and 3D covers
 * =================================================================== */
/* A cover is a book seen slightly from the side: hinge shadow on the left,
   a stack of page edges on the right, and a soft floor shadow. */
.fx-cover {
    --spine: var(--ink);
    position: relative; display: block; width: 100%; aspect-ratio: 2 / 3; border-radius: 3px 8px 8px 3px; container-type: inline-size;
    background: var(--spine); transform: perspective(1100px) rotateY(-12deg); transform-origin: 30% 50%;
    box-shadow: 1px 1px 0 #fffaf0, 3px 3px 0 #e6dcc8, 4px 4px 0 #fffaf0, 6px 6px 0 #d8ccb5, 18px 22px 34px -12px rgba(14, 42, 92, .5);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.fx-cover::before {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .28) 0, rgba(255, 255, 255, .18) 2.5%, rgba(0, 0, 0, .12) 5%, rgba(255, 255, 255, 0) 9%),
        linear-gradient(115deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 35%);
}
.fx-cover__img, .fx-cover > img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* Designed jacket for a book without a photo. */
.fx-gencover {
    --c: var(--ink);
    position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%;
    padding: 14% 12% 12% 16%; border-radius: inherit; color: #f8f1e3; overflow: hidden;
    background:
        radial-gradient(120% 70% at 100% 0%, rgba(255, 255, 255, .18), transparent 60%),
        radial-gradient(90% 60% at 0% 100%, rgba(0, 0, 0, .3), transparent 70%),
        var(--c);
}
.fx-gencover::after { content: ""; position: absolute; inset: 6% 6% 6% 10%; border: 1px solid rgba(248, 241, 227, .35); border-radius: 2px; }
.fx-gencover__mark { font-size: clamp(.32rem, 6cqi, .6rem); letter-spacing: .25em; text-transform: uppercase; font-weight: 700; opacity: .8; }
.fx-gencover__title { font-family: var(--serif); font-size: clamp(.45rem, 11cqi, 1.9rem); overflow: hidden; line-height: 1.12; font-weight: 500; font-style: italic; }
.fx-gencover__rule { width: 34%; height: 2px; background: var(--gold); }

.fx-book { position: relative; display: flex; flex-direction: column; height: 100%; }
.fx-book__cover { position: relative; display: block; padding: 18px 22px 26px 14px; border-radius: var(--radius); background: linear-gradient(180deg, transparent 0 22%, var(--paper-2) 22% 100%); transition: background .4s; }
.fx-book:hover .fx-book__cover { background: linear-gradient(180deg, transparent 0 22%, var(--paper-3) 22% 100%); }
.fx-book:hover .fx-cover { transform: perspective(1100px) rotateY(-24deg) translateY(-8px) translateX(-4px); box-shadow: 1px 1px 0 #fffaf0, 3px 3px 0 #e6dcc8, 4px 4px 0 #fffaf0, 6px 6px 0 #d8ccb5, 8px 8px 0 #fffaf0, 30px 34px 40px -14px rgba(14, 42, 92, .55); }
.fx-book.is-soldout .fx-cover { filter: grayscale(.7) contrast(.9); }
.fx-book__body { padding: 16px 4px 0; flex: 1; }
.fx-book__imprint { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fx-book__title { font-size: 1.13rem; line-height: 1.25; margin-bottom: 8px; }
.fx-book__title a { color: var(--ink); background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1.5px no-repeat; transition: background-size .45s var(--ease), color .2s; }
.fx-book__title a:hover { background-size: 100% 1.5px; color: var(--ink); }
.fx-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fx-price ins { text-decoration: none; font-weight: 800; color: var(--ink); font-size: 1rem; }
.fx-price del { color: var(--muted); font-size: .85rem; }
.fx-price--lg ins { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; }
.fx-price--lg del { font-size: 1.05rem; }
.fx-book__actions { display: flex; align-items: center; gap: 8px; padding: 14px 4px 0; }
.fx-book__actions .fx-btn { flex: 1; min-width: 0; }
.fx-book__actions .fx-btn span { overflow: hidden; text-overflow: ellipsis; }

/* Horizontal rail with snap points and its own arrows. */
.fx-rail-wrap { position: relative; }
.fx-rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 26px) / 5); gap: 26px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 2px 24px;
    scrollbar-width: none; -ms-overflow-style: none;
}
.fx-rail::-webkit-scrollbar { display: none; }
.fx-rail > * { scroll-snap-align: start; }
.fx-rail-nav { display: flex; gap: 10px; }
.fx-rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); transition: all .25s var(--ease); }
.fx-rail-nav button:hover { background: var(--ink); color: #fff; }
.fx-rail-nav button[disabled] { opacity: .25; pointer-events: none; }
.fx-rail-progress { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.fx-rail-progress span { display: block; height: 100%; width: 20%; background: var(--ink); border-radius: 2px; transition: width .2s, transform .2s; }

/* List view row on the shop page. */
.fx-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 34px; align-items: center; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; }
.fx-row + .fx-row { margin-top: 18px; }
.fx-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.fx-row:hover .fx-cover { transform: perspective(1100px) rotateY(-22deg); }
.fx-row__title { font-size: 1.5rem; }
.fx-row__actions { display: flex; flex-direction: column; gap: 10px; }
.fx-stock { font-size: .85rem; font-weight: 700; margin: 10px 0 0; }
.fx-stock i { font-size: .55rem; vertical-align: middle; margin-right: 4px; }
.fx-stock.is-in { color: var(--success); }
.fx-stock.is-out { color: var(--danger); }

/* ===================================================================
 * 8  Hero
 * =================================================================== */
.fx-hero { position: relative; overflow: hidden; padding: 40px 0 70px; }
.fx-hero::before {
    content: ""; position: absolute; right: -10%; top: -30%; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
    background: radial-gradient(closest-side, rgba(226, 112, 26, .16), transparent 70%); pointer-events: none;
}
.fx-hero__bgword {
    position: absolute; left: -2%; bottom: -6%; font-family: var(--serif); font-style: italic; font-weight: 300;
    font-size: clamp(8rem, 22vw, 20rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(14, 42, 92, .07);
    white-space: nowrap; pointer-events: none; user-select: none;
}
.fx-hero__stage { position: relative; min-height: 600px; }
.fx-slide {
    position: absolute; inset: 0; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s;
}
.fx-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.fx-slide__text > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.fx-slide.is-active .fx-slide__text > * { opacity: 1; transform: none; }
.fx-slide.is-active .fx-slide__text > *:nth-child(2) { transition-delay: .1s; }
.fx-slide.is-active .fx-slide__text > *:nth-child(3) { transition-delay: .2s; }
.fx-slide.is-active .fx-slide__text > *:nth-child(4) { transition-delay: .3s; }
.fx-slide.is-active .fx-slide__text > *:nth-child(5) { transition-delay: .4s; }
.fx-slide__title { font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 22px; font-weight: 400; }
.fx-slide__title em { font-style: italic; color: var(--accent); }
.fx-slide__lead { font-size: 1.08rem; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.fx-slide__price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 32px; }
.fx-slide__price strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--ink); }
.fx-slide__price del { color: var(--muted); }
.fx-slide__price span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--muted); }

.fx-slide__visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.fx-slide__disc {
    position: absolute; width: min(500px, 88%); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #e7744f, var(--accent) 45%, #8f3322 100%);
    box-shadow: inset -30px -30px 80px rgba(0, 0, 0, .25);
}
.fx-slide__disc::after { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 1px dashed rgba(14, 42, 92, .22); animation: fx-spin 60s linear infinite; }
.fx-slide:nth-child(3n+2) .fx-slide__disc { background: radial-gradient(circle at 30% 30%, #4b6a96, var(--info) 45%, #1f3150 100%); }
.fx-slide:nth-child(3n+3) .fx-slide__disc { background: radial-gradient(circle at 30% 30%, #d8b56b, var(--gold) 45%, #8a6a2a 100%); }

/* The hero book is a real box: front, page block and back cover. */
.fx-book3d { display: block; --w: 270px; --t: 38px; position: relative; width: var(--w); aspect-ratio: 2 / 3; transform-style: preserve-3d; transform: rotateY(-28deg) rotateX(6deg); animation: fx-float 7s ease-in-out infinite; z-index: 2; }
.fx-book3d__front { display: block; position: absolute; inset: 0; transform: translateZ(calc(var(--t) / 2)); border-radius: 3px 8px 8px 3px; overflow: hidden; background: var(--ink); }
.fx-book3d__front::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(0, 0, 0, .3) 0, rgba(255, 255, 255, .2) 3%, rgba(0, 0, 0, .1) 6%, transparent 10%), linear-gradient(120deg, rgba(255, 255, 255, .25), transparent 40%); pointer-events: none; }
.fx-book3d__front img, .fx-book3d__front .fx-gencover { width: 100%; height: 100%; object-fit: cover; }
.fx-book3d__front .fx-gencover__title { font-size: 1.8rem; }
.fx-book3d__pages { display: block;
    position: absolute; top: 4px; bottom: 4px; left: calc(100% - var(--t) / 2 - 3px); width: var(--t); transform: rotateY(90deg);
    background: repeating-linear-gradient(90deg, #fffaf0 0 2px, #e3d8c3 2px 3px);
}
.fx-book3d__back { display: block; position: absolute; inset: 0; transform: translateZ(calc(var(--t) / -2)); border-radius: 3px 8px 8px 3px; background: #0b2147; box-shadow: 40px 50px 60px -20px rgba(0, 0, 0, .55); }
.fx-book3d__shadow { display: block; position: absolute; bottom: 30px; width: 280px; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(14, 42, 92, .45), transparent); filter: blur(6px); animation: fx-shadow 7s ease-in-out infinite; }

/* Rotating circular stamp next to the book. */
.fx-stamp { position: absolute; top: 9%; right: 6%; width: 130px; height: 130px; z-index: 3; color: var(--ink); }
.fx-stamp svg { width: 100%; height: 100%; animation: fx-spin 18s linear infinite; }
.fx-stamp text { font-family: var(--sans); font-size: 10.5px; font-weight: 800; letter-spacing: 3.2px; text-transform: uppercase; fill: currentColor; }
.fx-stamp__core { position: absolute; inset: 30%; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--accent); box-shadow: var(--shadow-sm); }

.fx-hero__tag {
    position: absolute; left: 4%; bottom: 14%; z-index: 3; padding: 14px 18px; border-radius: 16px; background: rgba(255, 253, 249, .9);
    backdrop-filter: blur(10px); box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; animation: fx-float 6s ease-in-out infinite reverse;
}
.fx-hero__tag i { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; }
.fx-hero__tag b { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); line-height: 1.1; }
.fx-hero__tag small { color: var(--muted); font-size: .76rem; }

/* Fanned stack used when the shop has no slider products. */
.fx-fan { position: relative; width: 420px; height: 470px; z-index: 2; }
.fx-fan .fx-cover { position: absolute; width: 210px; top: 40px; left: 105px; transition: transform .7s var(--ease); }
.fx-fan .fx-cover:nth-child(1) { transform: rotate(-14deg) translate(-110px, 30px); }
.fx-fan .fx-cover:nth-child(2) { transform: rotate(12deg) translate(110px, 30px); }
.fx-fan .fx-cover:nth-child(3) { transform: translateY(-10px); z-index: 2; }
.fx-fan:hover .fx-cover:nth-child(1) { transform: rotate(-20deg) translate(-150px, 40px); }
.fx-fan:hover .fx-cover:nth-child(2) { transform: rotate(18deg) translate(150px, 40px); }
.fx-fan:hover .fx-cover:nth-child(3) { transform: translateY(-26px) scale(1.04); }

.fx-hero__controls { display: flex; align-items: center; gap: 22px; margin-top: 18px; position: relative; z-index: 4; }
.fx-hero__count { font-family: var(--serif); font-size: 1rem; color: var(--muted); }
.fx-hero__count b { font-size: 1.6rem; color: var(--ink); font-weight: 500; }
.fx-hero__dots { display: flex; gap: 8px; }
.fx-hero__dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; background: var(--paper-3); padding: 0; position: relative; overflow: hidden; }
.fx-hero__dots button.is-active::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: fx-progress 6.5s linear forwards; transform-origin: left; }

/* ===================================================================
 * 9  Marquee, shelf, feature, chart
 * =================================================================== */
.fx-marquee { position: relative; overflow: hidden; padding: 26px 0; background: var(--ink); color: #fff4dd; transform: rotate(-1.2deg); margin: 20px -20px; box-shadow: var(--shadow); }
.fx-marquee--alt { background: var(--accent); transform: rotate(1deg); margin-top: -46px; z-index: -1; }
.fx-marquee__track { display: flex; width: max-content; animation: fx-marquee 45s linear infinite; }
.fx-marquee--alt .fx-marquee__track { animation-direction: reverse; animation-duration: 60s; }
.fx-marquee:hover .fx-marquee__track { animation-play-state: paused; }
.fx-marquee__item { display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); font-style: italic; white-space: nowrap; }
.fx-marquee__item a { color: inherit; }
.fx-marquee__item a:hover { color: var(--gold); }
.fx-marquee__item:nth-child(even) a { color: transparent; -webkit-text-stroke: 1px #fff4dd; font-style: normal; font-weight: 600; }
.fx-marquee__item:nth-child(even) a:hover { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.fx-marquee__item::after { content: "\2726"; font-style: normal; font-size: .6em; color: var(--gold); }

.fx-shelf-wrap { position: relative; }
.fx-shelf {
    position: relative; display: flex; align-items: flex-end; justify-content: safe center; gap: 5px; padding: 30px 12px 0; min-height: 360px;
    overflow-x: auto; scrollbar-width: none;
}
.fx-shelf::-webkit-scrollbar { display: none; }
.fx-shelf-board {
    height: 26px; margin-top: -2px; border-radius: 4px;
    background: linear-gradient(180deg, #8b5e3c 0, #a87449 30%, #6e4529 100%);
    box-shadow: 0 24px 30px -14px rgba(14, 42, 92, .55), inset 0 2px 0 rgba(255, 255, 255, .2);
}
.fx-spine {
    --h: 300px; --w: 64px; --c: var(--ink);
    position: relative; flex-shrink: 0; width: var(--w); height: var(--h); border-radius: 4px 4px 2px 2px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .25), rgba(255, 255, 255, .14) 22%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .2)),
        var(--c);
    color: #f6ecd9; display: flex; align-items: center; justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 4px 0 10px -4px rgba(0, 0, 0, .3);
    transition: transform .45s var(--ease), box-shadow .45s;
}
.fx-spine::before, .fx-spine::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; border-top: 2px solid rgba(242, 165, 26, .85); border-bottom: 2px solid rgba(242, 165, 26, .85); }
.fx-spine::before { top: 22px; }
.fx-spine::after { bottom: 22px; }
.fx-spine span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--serif); font-size: 1.12rem; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: calc(var(--h) - 130px); margin-top: 20px; }
.fx-spine small { position: absolute; top: 44px; font-size: .6rem; letter-spacing: .1em; font-weight: 800; opacity: .75; }
.fx-spine:hover { transform: translateY(-26px); color: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 26px 30px -12px rgba(0, 0, 0, .45); }
.fx-spine--lean { transform: rotate(-9deg); transform-origin: bottom right; margin-left: 30px; }
.fx-spine--lean:hover { transform: rotate(-9deg) translateY(-20px); }
.fx-shelf__plant { flex-shrink: 0; width: 90px; height: 150px; margin-left: 4px; position: relative; }
.fx-shelf__plant::before { content: ""; position: absolute; bottom: 0; left: 18px; width: 54px; height: 56px; border-radius: 4px 4px 14px 14px; background: linear-gradient(90deg, #d9cbb1, #f2e8d6 40%, #cdbd9f); }
.fx-shelf__plant::after { content: ""; position: absolute; bottom: 50px; left: 6px; width: 78px; height: 96px; background: radial-gradient(ellipse at 30% 60%, #5f7f68 0 35%, transparent 36%), radial-gradient(ellipse at 70% 40%, #4c6b55 0 33%, transparent 34%), radial-gradient(ellipse at 50% 20%, #6f9179 0 28%, transparent 29%); }

/* Editor's pick: dark spread with an oversized cover. */
.fx-feature { background: var(--ink); color: #e8e1d3; overflow: hidden; }
.fx-feature::before { content: ""; position: absolute; left: -10%; top: 10%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 165, 26, .2), transparent); }
.fx-feature h2, .fx-feature h3 { color: #fff; }
.fx-feature__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.fx-feature__cover { position: relative; max-width: 360px; margin: 0 auto; width: 100%; }
.fx-feature__cover .fx-cover { transform: perspective(1200px) rotateY(18deg) rotateZ(-2deg); box-shadow: -1px 1px 0 #fffaf0, -3px 3px 0 #a99e88, -4px 4px 0 #fffaf0, -6px 6px 0 #a99e88, -30px 40px 60px -20px rgba(0, 0, 0, .7); }
.fx-feature__cover:hover .fx-cover { transform: perspective(1200px) rotateY(6deg) rotateZ(0deg) translateY(-6px); }
.fx-feature__quote { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-style: italic; font-weight: 300; line-height: 1.3; color: #fff; position: relative; padding-top: 50px; }
.fx-feature__quote::before { content: "\201C"; position: absolute; top: -40px; left: -10px; font-size: 9rem; line-height: 1; color: var(--accent); font-style: normal; }
.fx-feature__title { font-size: 1.1rem; font-family: var(--sans); font-weight: 700; letter-spacing: .02em; color: var(--gold); margin: 20px 0 6px; }
.fx-feature .fx-price ins { color: #fff; }
.fx-feature .fx-price del { color: rgba(255, 255, 255, .5); }
.fx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, .12); }
.fx-stat b { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 400; color: #fff; line-height: 1; }
.fx-stat span { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-weight: 700; }

/* Bestseller chart: two columns of ranked rows. */
.fx-chart { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; counter-reset: chart; }
.fx-chart__item { display: grid; grid-template-columns: 76px 64px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); counter-increment: chart; transition: padding .3s var(--ease); }
.fx-chart__item:hover { padding-left: 10px; }
.fx-chart__item::before { content: counter(chart, decimal-leading-zero); font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--ink); font-weight: 600; transition: color .3s; }
.fx-chart__item:hover::before { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.fx-chart__item:first-child::before { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.fx-chart__cover .fx-cover { width: 64px; transform: none; box-shadow: 2px 2px 0 #e6dcc8, 8px 12px 18px -8px rgba(14, 42, 92, .45); }
.fx-chart__title { font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; color: var(--ink); display: block; margin-bottom: 4px; }

/* ===================================================================
 * 10 Journal, perks, newsletter
 * =================================================================== */
.fx-journal { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; }
.fx-journal__side { display: grid; gap: 24px; }
.fx-post { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.fx-post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fx-post__img { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.fx-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.fx-post:hover .fx-post__img img { transform: scale(1.06); }
.fx-post__date { position: absolute; top: 16px; left: 16px; padding: 8px 12px; border-radius: 12px; background: var(--paper); text-align: center; line-height: 1; font-weight: 800; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fx-post__date b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--ink); font-weight: 500; margin-bottom: 3px; letter-spacing: 0; }
.fx-post__body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.fx-post__body h3 { font-size: 1.4rem; }
.fx-post__body p { color: var(--muted); font-size: .94rem; flex: 1; }
.fx-post--lg .fx-post__img { aspect-ratio: 16 / 11; }
.fx-post--lg h3 { font-size: 2rem; }
.fx-post--row { flex-direction: row; }
.fx-post--row .fx-post__img { width: 42%; aspect-ratio: auto; flex-shrink: 0; }
.fx-post--row .fx-post__body { padding: 22px 24px; }
.fx-post--row h3 { font-size: 1.2rem; }

.fx-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fx-perk { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.fx-perk:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fx-perk i { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; background: var(--paper-2); color: var(--accent); transition: all .3s; }
.fx-perk:hover i { background: var(--accent); color: #fff; transform: rotate(-8deg); }
.fx-perk b { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); font-weight: 600; line-height: 1.2; }
.fx-perk small { color: var(--muted); font-size: .82rem; }

.fx-newsletter {
    position: relative; overflow: hidden; border-radius: 30px; padding: 64px; color: #fff;
    background: radial-gradient(120% 140% at 100% 0%, #e27455 0%, var(--accent) 40%, #8f3322 100%);
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; box-shadow: var(--shadow-lg);
}
.fx-newsletter::before { content: ""; position: absolute; right: -60px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.fx-newsletter::after { content: ""; position: absolute; right: 40px; bottom: -40px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); }
.fx-newsletter h2 { color: #fff; font-style: italic; font-weight: 400; margin-bottom: 12px; }
.fx-newsletter p { color: rgba(255, 255, 255, .85); margin: 0; }
.fx-newsletter form { position: relative; z-index: 2; display: flex; padding: 7px; border-radius: 999px; background: #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.fx-newsletter input { flex: 1; min-width: 0; border: 0; outline: none; padding: 12px 20px; background: transparent; color: var(--ink); }
.fx-newsletter button { border: 0; border-radius: 999px; background: var(--ink); color: #fff; padding: 14px 28px; font-weight: 800; transition: background .25s; }
.fx-newsletter button:hover { background: #000; }

/* ===================================================================
 * 11 Footer
 * =================================================================== */
.fx-footer { position: relative; background: var(--ink); color: rgba(255, 255, 255, .68); padding: 0 0 30px; margin-top: 140px; }
.fx-footer__news { transform: translateY(-90px); margin-bottom: -40px; }
.fx-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; position: relative; z-index: 1; }
.fx-footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 20px; }
.fx-footer a { color: rgba(255, 255, 255, .68); }
.fx-footer a:hover { color: var(--gold); }
.fx-footer__brand img { max-height: 54px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .95; }
.fx-footer__brand p { font-size: .92rem; max-width: 340px; }
.fx-footer__links li { margin-bottom: 11px; font-size: .92rem; }
.fx-footer__links a { display: inline-flex; align-items: center; gap: 8px; transition: transform .25s, color .2s; }
.fx-footer__links a:hover { transform: translateX(4px); }
.fx-footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .92rem; }
.fx-footer__contact i { color: var(--gold); margin-top: 5px; width: 16px; }
.fx-social { display: flex; gap: 10px; margin-top: 22px; }
.fx-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); transition: all .25s var(--ease); }
.fx-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-3px); }
.fx-footer__word {
    font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(4rem, 13vw, 12rem); line-height: .9;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12); text-align: center; white-space: nowrap; overflow: hidden;
    margin: 60px 0 10px; user-select: none;
}
.fx-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; flex-wrap: wrap; }
.fx-footer__bottom ul { display: flex; gap: 22px; flex-wrap: wrap; }

.fx-totop { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .35s var(--ease); }
.fx-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fx-totop:hover { background: var(--accent); }

/* ===================================================================
 * 12 Inner pages: page head, shop, product
 * =================================================================== */
.fx-pagehead { position: relative; padding: 56px 0 50px; overflow: hidden; border-bottom: 1px solid var(--line); }
.fx-pagehead::after { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(226, 112, 26, .14), transparent); }
.fx-pagehead h1 { margin: 6px 0 0; font-weight: 400; }
.fx-pagehead h1 em { color: var(--accent); }
.fx-pagehead p { color: var(--muted); margin: 12px 0 0; max-width: 620px; }
.fx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fx-crumbs li { display: flex; align-items: center; gap: 10px; }
.fx-crumbs li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.fx-crumbs a:hover { color: var(--accent); }

.fx-shop { display: grid; grid-template-columns: 280px 1fr; gap: 50px; align-items: start; }
.fx-side { position: sticky; top: 100px; display: grid; gap: 22px; }
.fx-side__box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.fx-side__box h4 { font-size: 1.1rem; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.fx-tree li a { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: .92rem; font-weight: 600; color: var(--text); }
.fx-tree li a:hover, .fx-tree li.is-active > a { color: var(--accent); }
.fx-tree li.is-active > a::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.fx-tree ul { padding-left: 14px; border-left: 1px solid var(--line); margin: 2px 0 6px 4px; }
.fx-tree ul a { font-weight: 500; color: var(--muted); font-size: .88rem; padding: 5px 0; }
.fx-filter { display: grid; gap: 4px; }
.fx-filter a { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: .9rem; }
.fx-filter a::before { content: ""; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--ink-3); flex-shrink: 0; transition: all .2s; }
.fx-filter a.is-on::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.8' fill='none'/%3E%3C/svg%3E") center no-repeat; border-color: var(--ink); }
.fx-filter a span { margin-left: auto; color: var(--muted); font-size: .8rem; }
.fx-price-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fx-price-form input { padding: 11px 14px !important; }
.fx-price-form .fx-btn { grid-column: 1 / -1; }
.fx-taglist { display: flex; flex-wrap: wrap; gap: 8px; }

.fx-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 14px 14px 22px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); margin-bottom: 34px; flex-wrap: wrap; }
.fx-toolbar__count { font-size: .9rem; color: var(--muted); }
.fx-toolbar__count b { color: var(--ink); font-family: var(--serif); font-size: 1.15rem; }
.fx-toolbar__right { display: flex; align-items: center; gap: 10px; }
.fx-toolbar select { border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 40px 10px 18px; background-color: var(--paper); font-weight: 700; font-size: .85rem; cursor: pointer; outline: none; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230e2a5c' stroke-width='1.8' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.fx-view-toggle { display: flex; padding: 4px; border-radius: 999px; background: var(--paper); }
.fx-view-toggle button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); }
.fx-view-toggle button.is-active { background: var(--ink); color: #fff; }
.fx-filter-btn { display: none; }
.fx-shop [data-view="list"] .fx-view-grid, .fx-shop [data-view="grid"] .fx-view-list { display: none; }
.fx-pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 54px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }

/* Product page */
.fx-product { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: start; padding: 60px 0 40px; }
.fx-gallery { position: sticky; top: 100px; }
.fx-gallery__stage { position: relative; display: grid; place-items: center; padding: 60px 40px 70px; border-radius: 30px; background: radial-gradient(80% 70% at 50% 40%, #fffdf9, var(--paper-2)); border: 1px solid var(--line); overflow: hidden; }
.fx-gallery__stage::before { content: ""; position: absolute; bottom: 40px; width: 60%; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(14, 42, 92, .3), transparent); filter: blur(4px); }
.fx-gallery__stage .fx-cover { width: min(340px, 80%); cursor: zoom-in; transform: perspective(1200px) rotateY(-16deg); }
.fx-gallery__stage:hover .fx-cover { transform: perspective(1200px) rotateY(-4deg) translateY(-6px); }
.fx-gallery__thumbs { display: flex; gap: 12px; margin-top: 18px; justify-content: center; flex-wrap: wrap; }
.fx-gallery__thumbs button { width: 66px; aspect-ratio: 2 / 3; padding: 0; border-radius: 6px; overflow: hidden; border: 2px solid transparent; background: var(--paper-2); opacity: .6; transition: all .25s; }
.fx-gallery__thumbs button.is-active, .fx-gallery__thumbs button:hover { opacity: 1; border-color: var(--ink); }
.fx-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.fx-pinfo h1 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); font-weight: 400; margin: 10px 0 18px; }
.fx-pinfo__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .88rem; margin-bottom: 24px; }
.fx-pinfo__meta b { color: var(--ink); }
.fx-pinfo__price { display: flex; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.fx-save { padding: 6px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 800; }
.fx-pinfo__desc { color: var(--muted); font-size: 1rem; margin-bottom: 24px; }
.fx-sizes { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 24px; }
.fx-sizes span { padding: 10px 18px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); font-weight: 700; font-size: .88rem; cursor: pointer; transition: all .2s; }
.fx-sizes span.select, .fx-sizes span:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.fx-buy { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.fx-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px; background: var(--card); }
.fx-qty button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); font-size: 1rem; transition: background .2s; }
.fx-qty button:hover { background: var(--paper-2); }
.fx-qty input { width: 46px; border: 0; background: transparent; text-align: center; font-weight: 800; font-size: 1rem; outline: none; }
.fx-buy .fx-btn { flex: 1; min-width: 160px; }
.fx-pinfo__extra { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.fx-pinfo__extra .wish-it { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.fx-share { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: .85rem; color: var(--muted); }
.fx-share a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); transition: all .2s; }
.fx-share a:hover { background: var(--ink); color: #fff; }
.fx-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.fx-assure div { padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.fx-assure i { display: block; color: var(--accent); font-size: 1.2rem; margin-bottom: 8px; }
.fx-assure b { display: block; color: var(--ink); font-size: .88rem; }
.fx-soldout-note { padding: 16px 20px; border-radius: 14px; background: #fbecea; color: var(--danger); font-weight: 700; }

.fx-tabs { border-bottom: 1px solid var(--line); display: flex; gap: 34px; margin-bottom: 34px; overflow-x: auto; }
.fx-tabs button { position: relative; padding: 16px 0; border: 0; background: none; font-family: var(--serif); font-size: 1.35rem; color: var(--muted); white-space: nowrap; }
.fx-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease); }
.fx-tabs button.is-active { color: var(--ink); }
.fx-tabs button.is-active::after { transform: scaleX(1); }
.fx-tabpane { display: none; animation: fx-fade .5s var(--ease); }
.fx-tabpane.is-active { display: block; }
.fx-prose { font-size: 1.02rem; line-height: 1.8; color: #3d3a4a; max-width: 820px; }
.fx-prose h1, .fx-prose h2, .fx-prose h3, .fx-prose h4 { margin-top: 1.4em; }
.fx-prose img { border-radius: 12px; margin: 1.2em 0; }
.fx-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.fx-prose ul, .fx-prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.fx-prose ul { list-style: disc; }
.fx-prose blockquote { margin: 1.5em 0; padding: 10px 0 10px 24px; border-left: 3px solid var(--accent); font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink); }
.fx-prose--drop > p:first-of-type::first-letter { float: left; font-family: var(--serif); font-size: 4.2em; line-height: .85; padding: 6px 12px 0 0; color: var(--accent); font-weight: 500; }
.fx-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; max-width: 820px; }
.fx-specs div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.fx-specs dt { color: var(--muted); }
.fx-specs dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }

/* Reading progress line on journal posts. */
.fx-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 300; }

/* ===================================================================
 * 13 Cart, checkout, account, auth
 * =================================================================== */
.fx-cart { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.fx-cart__thumb { width: 64px; display: block; }
.fx-cart__thumb .fx-cover { transform: none; box-shadow: 2px 2px 0 #e6dcc8, 6px 10px 16px -8px rgba(14, 42, 92, .4); }
.fx-cart__title { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); line-height: 1.25; }
.fx-cart__remove { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); transition: all .2s; }
.fx-cart__remove:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.fx-cart .fx-qty { padding: 2px; }
.fx-cart .fx-qty button { width: 32px; height: 32px; }
.fx-cart .fx-qty input { width: 36px; }
.cart-size { display: inline-block; padding: 4px 10px; margin: 2px; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; font-size: .8rem; font-weight: 700; }
.cart-size.select { background: var(--ink); color: #fff; border-color: var(--ink); }
.fx-summary { position: sticky; top: 100px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-sm); }
.fx-summary h3 { font-size: 1.5rem; margin-bottom: 20px; }
.fx-summary__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.fx-summary__row span:first-child { color: var(--muted); }
.fx-summary__row--total { border-bottom: 0; padding-top: 18px; align-items: baseline; }
.fx-summary__row--total span:first-child { color: var(--ink); font-weight: 800; }
.fx-summary__row--total span:last-child { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--ink); }
.fx-summary .fx-btn { margin-top: 20px; }
.fx-summary__line { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.fx-summary__line .fx-cover { width: 48px; transform: none; box-shadow: 2px 2px 0 #e6dcc8; }
.fx-summary__line b { display: block; font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.2; }
.fx-summary__line small { color: var(--muted); }

.fx-steps { display: flex; justify-content: center; gap: 0; margin: 0 auto 50px; max-width: 560px; }
.fx-step { flex: 1; text-align: center; position: relative; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fx-step i { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; background: var(--card); border: 1.5px solid var(--line); font-style: normal; font-family: var(--serif); font-size: 1.1rem; position: relative; z-index: 1; letter-spacing: 0; color: var(--muted); }
.fx-step::before { content: ""; position: absolute; top: 22px; left: -50%; right: 50%; height: 1.5px; background: var(--line); }
.fx-step:first-child::before { display: none; }
.fx-step.is-done i, .fx-step.is-current i { background: var(--ink); border-color: var(--ink); color: #fff; }
.fx-step.is-done::before, .fx-step.is-current::before { background: var(--ink); }
.fx-step.is-current { color: var(--ink); }

.fx-panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-sm); }
.fx-panel + .fx-panel { margin-top: 26px; }
.fx-panel > h3 { font-size: 1.55rem; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.fx-panel > h3 .fx-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .95rem; font-family: var(--sans); font-weight: 800; }
.fx-pay { display: grid; gap: 12px; }
.fx-pay label { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; transition: all .2s; margin: 0; letter-spacing: 0; font-weight: 500; }
.fx-pay label:hover { border-color: var(--ink-3); }
.fx-pay input { margin-top: 4px; accent-color: var(--ink); width: 18px; height: 18px; flex-shrink: 0; }
.fx-pay label:has(input:checked) { border-color: var(--ink); background: var(--card); box-shadow: 0 0 0 4px rgba(14, 42, 92, .06); }
.fx-pay b { display: block; font-size: .98rem; color: var(--ink); }
.fx-pay small { color: var(--muted); font-size: .84rem; }
.fx-coupon { display: flex; gap: 8px; margin-top: 18px; }
.fx-coupon input { flex: 1; min-width: 0; }

.fx-account { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; padding: 60px 0 0; }
.fx-usernav { position: sticky; top: 100px; background: var(--ink); color: #fff; border-radius: 22px; padding: 28px 20px; overflow: hidden; }
.fx-usernav__who { display: flex; gap: 14px; align-items: center; padding: 0 8px 22px; margin-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.fx-usernav__avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-family: var(--serif); font-size: 1.4rem; color: #fff; flex-shrink: 0; }
.fx-usernav__who b { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 500; line-height: 1.2; }
.fx-usernav__who small { color: rgba(255, 255, 255, .55); font-size: .8rem; }
.fx-usernav a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; color: rgba(255, 255, 255, .72); font-size: .92rem; font-weight: 600; transition: all .2s; }
.fx-usernav a i { width: 18px; text-align: center; color: var(--gold); }
.fx-usernav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.fx-usernav li.is-active a { background: rgba(255, 255, 255, .1); color: #fff; }
.fx-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fx-kpi { padding: 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.fx-kpi i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--card); color: var(--accent); margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.fx-kpi b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--ink); line-height: 1; }
.fx-kpi span { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.fx-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 40px; }
.fx-dl p { margin: 0; padding: 12px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.fx-dl strong { color: var(--muted); font-weight: 600; }

.fx-auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--card); margin: 60px 0 0; }
.fx-auth__art { position: relative; background: var(--ink); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.fx-auth__art::before { content: ""; position: absolute; right: -100px; top: -100px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(226, 112, 26, .5), transparent); }
.fx-auth__art h2 { color: #fff; font-style: italic; font-weight: 300; font-size: clamp(2rem, 3.4vw, 3rem); position: relative; }
.fx-auth__art p { color: rgba(255, 255, 255, .7); position: relative; }
.fx-auth__art ul { position: relative; display: grid; gap: 12px; margin-top: 24px; }
.fx-auth__art li { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, .85); }
.fx-auth__art li i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--gold); font-size: .8rem; }
.fx-auth__books { position: relative; display: flex; align-items: flex-end; gap: 5px; height: 150px; margin-top: 40px; }
.fx-auth__books span { width: 34px; border-radius: 3px 3px 1px 1px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); background: linear-gradient(90deg, rgba(0, 0, 0, .25), rgba(255, 255, 255, .12) 30%, transparent 50%), var(--c); }
.fx-auth__books span::before { content: ""; display: block; margin-top: 16px; height: 8px; border-top: 1.5px solid rgba(242, 165, 26, .8); border-bottom: 1.5px solid rgba(242, 165, 26, .8); }
.fx-auth__form { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.fx-auth__form h1 { font-size: 2.4rem; font-weight: 400; margin-bottom: 6px; }
.fx-auth__form > p { color: var(--muted); margin-bottom: 30px; }
.fx-auth__switch { margin-top: 26px; text-align: center; color: var(--muted); font-size: .92rem; }
.fx-auth__switch a { color: var(--accent); font-weight: 700; }
.fx-auth--single { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; min-height: 0; }
.fx-linkbtn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fx-linkbtn[disabled] { color: var(--muted); cursor: not-allowed; }

.fx-result { text-align: center; max-width: 640px; margin: 70px auto 0; padding: 60px 40px; background: var(--card); border-radius: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.fx-result__icon { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: #e6f2ea; color: var(--success); font-size: 2.6rem; animation: fx-pop .7s var(--ease); }
.fx-result__icon.is-warn { background: #fbecea; color: var(--danger); }
.fx-result h1 { font-size: 2.3rem; font-weight: 400; }
.fx-result p { color: var(--muted); }
.fx-result .fx-flex { justify-content: center; margin-top: 30px; }
.fx-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.fx-confetti i { position: absolute; top: -20px; width: 8px; height: 14px; border-radius: 2px; animation: fx-fall 3.5s linear forwards; }

.fx-contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-top: 60px; }
.fx-contact__card { background: var(--ink); color: rgba(255, 255, 255, .78); border-radius: 22px; padding: 38px; position: relative; overflow: hidden; }
.fx-contact__card h3 { color: #fff; }
.fx-contact__card li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.fx-contact__card li i { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--gold); }
.fx-contact__card li b { display: block; color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
.fx-contact__card a { color: #fff; }
.fx-contact__card .fx-prose { color: rgba(255, 255, 255, .75); font-size: .95rem; }
.fx-map { height: 420px; border-radius: 22px; overflow: hidden; margin-top: 40px; }

.fx-archive ul, .fx-archive .blog-artchive { display: grid; gap: 2px; }
.fx-archive li a { display: block; padding: 8px 0; font-weight: 600; font-size: .92rem; }
.fx-archive .alone, .fx-archive .title { display: none; }
.fx-archive .alert { color: var(--muted); font-size: .9rem; }

/* ===================================================================
 * 14 Modal, toast, loader
 * =================================================================== */
.fx-modal { position: fixed; inset: 0; z-index: 240; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: all .35s var(--ease); }
.fx-modal.is-open { opacity: 1; visibility: visible; }
.fx-modal__backdrop { position: absolute; inset: 0; background: rgba(14, 42, 92, .6); backdrop-filter: blur(6px); }
.fx-modal__box { position: relative; width: min(900px, 100%); max-height: 90vh; overflow: auto; background: var(--paper); border-radius: 28px; box-shadow: var(--shadow-lg); transform: translateY(30px) scale(.97); transition: transform .45s var(--ease); }
.fx-modal.is-open .fx-modal__box { transform: none; }
.fx-modal__close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.fx-qv { display: grid; grid-template-columns: .85fr 1fr; gap: 40px; padding: 50px; align-items: center; }
.fx-qv__cover { padding: 20px; }
.fx-qv h3 { font-size: 2rem; font-weight: 400; }
.fx-qv .fx-price { margin: 14px 0 20px; }
.fx-qv p { color: var(--muted); }
.fx-lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 10px; }
.fx-lightbox .fx-modal__box { background: transparent; box-shadow: none; width: auto; overflow: visible; }

#notificator {
    position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 400; display: none;
    padding: 15px 26px 15px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: .92rem;
    box-shadow: var(--shadow-lg); max-width: calc(100% - 40px); text-align: center;
}
#notificator::before { content: "\f02d"; font-family: FontAwesome; margin-right: 10px; color: var(--gold); }
#notificator.alert-danger { background: var(--danger); }
#notificator.alert-danger::before { content: "\f071"; color: #fff; }

#loadingdiv { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(255, 255, 255, .8); backdrop-filter: blur(3px); place-items: center; font-size: 2.4rem; color: var(--ink); }
#loadingdiv[style*="block"] { display: grid !important; }

/* Cookie consent bar, if the shop enables it. */
.cc_banner-wrapper .cc_banner { background: var(--ink) !important; font-family: var(--sans) !important; }
.cc_banner .cc_btn { background: var(--accent) !important; color: #fff !important; border-radius: 999px !important; }

/* ===================================================================
 * 15 Motion and responsive
 * =================================================================== */
.fx-reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.fx-reveal.is-in { opacity: 1; transform: none; }
.fx-reveal-d1 { transition-delay: .1s; }
.fx-reveal-d2 { transition-delay: .2s; }
.fx-reveal-d3 { transition-delay: .3s; }

@keyframes fx-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }
@keyframes fx-shadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.82); opacity: .6; } }
@keyframes fx-spin { to { transform: rotate(360deg); } }
@keyframes fx-marquee { to { transform: translateX(-50%); } }
@keyframes fx-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fx-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fx-pop { 0% { transform: scale(.3); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
@keyframes fx-fall { to { transform: translateY(700px) rotate(720deg); opacity: 0; } }
@keyframes fx-bump { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.35); } }
.fx-bump { animation: fx-bump .5s var(--ease); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .fx-reveal { opacity: 1; transform: none; }
}

@media (max-width: 1180px) {
    .fx-rail { grid-auto-columns: calc((100% - 3 * 26px) / 4); }
    .fx-nav > ul > li > a { padding: 10px 10px; }
    .fx-footer__grid { grid-template-columns: 1fr 1fr; }
    .fx-perks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    :root { --header-h: 72px; }
    .fx-section { padding: 70px 0; }
    .fx-nav, .fx-topbar__note { display: none; }
    .fx-tool--burger { display: grid; }
    .fx-header__inner { gap: 10px; }
    .fx-logo { margin-right: auto; }
    .fx-slide { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 10px; }
    .fx-feature__cover { max-width: 260px; }
    .fx-slide__visual { order: -1; min-height: 420px; }
    .fx-slide__lead { margin-left: auto; margin-right: auto; }
    .fx-slide__price, .fx-slide__text .fx-flex { justify-content: center; }
    .fx-slide__text .fx-eyebrow { justify-content: center; }
    .fx-hero__controls { justify-content: center; }
    .fx-book3d { --w: 210px; --t: 30px; }
    .fx-stamp { width: 100px; height: 100px; right: 4%; }
    .fx-fan { transform: scale(.8); }
    .fx-rail { grid-auto-columns: calc((100% - 2 * 22px) / 3); gap: 22px; }
    .fx-grid--4 { grid-template-columns: repeat(3, 1fr); }
    .fx-feature__grid, .fx-journal, .fx-newsletter, .fx-product, .fx-cart, .fx-contact { grid-template-columns: 1fr; }
    .fx-feature__grid { gap: 50px; }
    .fx-chart { grid-template-columns: 1fr; }
    .fx-newsletter { padding: 44px; }
    .fx-shop, .fx-account { grid-template-columns: 1fr; }
    .fx-side { position: fixed; top: 0; left: 0; bottom: 0; z-index: 230; width: min(340px, 90%); overflow-y: auto; padding: 24px; background: var(--paper); transform: translateX(-105%); transition: transform .5s var(--ease); box-shadow: var(--shadow-lg); align-content: start; }
    .fx-side.is-open { transform: none; }
    .fx-filter-btn { display: inline-flex; }
    .fx-gallery, .fx-summary, .fx-usernav { position: static; }
    .fx-product { gap: 40px; }
    .fx-auth { grid-template-columns: 1fr; }
    .fx-auth__art { padding: 40px; }
    .fx-auth__books { display: none; }
    .fx-kpis { grid-template-columns: repeat(2, 1fr); }
    .fx-usernav ul { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
    .fx-usernav li a { white-space: nowrap; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .fx-container { padding: 0 16px; }
    .fx-section { padding: 56px 0; }
    .fx-topbar__left span.fx-hide-sm { display: none; }
    .fx-topbar__right { gap: 14px; }
    .fx-tool { width: 40px; height: 40px; font-size: 1.05rem; }
    .fx-logo img { max-height: 40px; }
    .fx-logo__name { font-size: 1.2rem; }
    .fx-hero { padding: 20px 0 50px; }
    .fx-hero__stage { min-height: 0; }
    .fx-slide__visual { min-height: 340px; }
    .fx-book3d { --w: 170px; --t: 24px; }
    .fx-hero__tag { display: none; }
    .fx-stamp { width: 84px; height: 84px; top: 4%; right: 2%; }
    .fx-fan { transform: scale(.62); margin: -60px 0; }
    .fx-rail { grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; }
    .fx-grid, .fx-grid--4, .fx-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
    .fx-grid--2, .fx-split, .fx-fields, .fx-dl, .fx-specs, .fx-assure { grid-template-columns: 1fr; }
    .fx-book__cover { padding: 12px 16px 18px 10px; }
    .fx-book__title { font-size: 1rem; }
    .fx-book__actions .fx-btn span { display: none; }
    .fx-book__actions .fx-btn { flex: 0 0 auto; width: 40px; height: 40px; padding: 0; }
    .fx-head { margin-bottom: 30px; }
    .fx-chart__item { grid-template-columns: 52px 54px 1fr; gap: 14px; }
    .fx-chart__item::before { font-size: 2.3rem; }
    .fx-chart__item > :last-child { grid-column: 3; justify-self: start; }
    .fx-chart__cover .fx-cover { width: 54px; }
    .fx-stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
    .fx-stat span { font-size: .62rem; letter-spacing: .08em; }
    .fx-newsletter { padding: 34px 24px; border-radius: 22px; }
    .fx-newsletter form { flex-direction: column; border-radius: 18px; gap: 6px; }
    .fx-perks { grid-template-columns: 1fr; }
    .fx-footer__grid { grid-template-columns: 1fr; gap: 34px; }
    .fx-post--row { flex-direction: column; }
    .fx-post--row .fx-post__img { width: 100%; aspect-ratio: 16 / 10; }
    .fx-row { grid-template-columns: 90px 1fr; gap: 18px; padding: 18px; }
    .fx-row__actions { grid-column: 1 / -1; flex-direction: row; }
    .fx-row__actions .fx-btn { flex: 1; }
    .fx-row__title { font-size: 1.15rem; }
    .fx-toolbar { border-radius: 20px; padding: 14px; }
    .fx-qv { grid-template-columns: 1fr; padding: 40px 24px 30px; gap: 10px; }
    .fx-qv__cover { max-width: 200px; margin: 0 auto; }
    .fx-panel, .fx-summary { padding: 24px 20px; border-radius: 18px; }
    .fx-auth { border-radius: 22px; }
    .fx-auth__art, .fx-auth__form { padding: 32px 24px; }
    .fx-shelf { min-height: 300px; padding: 20px 10px 0; }
    .fx-spine { --h: 240px !important; }
    .fx-marquee { padding: 18px 0; }
    .fx-result { padding: 44px 22px; }
    .fx-share { margin-left: 0; }
    .fx-pagehead { padding: 40px 0 36px; }
    .fx-buy .fx-btn { min-width: 0; }
}
.fx-chart__cover, .fx-slide__disc, .fx-shelf__plant { display: block; }
/* Drawer thumbnail: coloured jacket with an initial, photo laid on top when there is one. */
.fx-mini__cover { position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(90deg, rgba(0, 0, 0, .25), rgba(255, 255, 255, .12) 12%, transparent 30%), var(--c); color: #f6ecd9; font-family: var(--serif); font-style: italic; font-size: 1.5rem; }
.fx-mini__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx-qv .fx-flex { align-items: center; }
/* Decorative bands (marquee, hero word) bleed past the edges on purpose; clip
   them here. "clip" rather than "hidden" so sticky sidebars keep working. */
#fx-main { overflow-x: clip; }
@media (max-width: 640px) {
    .fx-header__inner { gap: 4px; }
    .fx-header__tools { gap: 0; }
    .fx-header__tools .fx-tool--account { display: none; }
    .fx-logo { min-width: 0; flex: 1; }
    .fx-logo__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 100%; }
    .fx-logo__name small { letter-spacing: .16em; overflow: hidden; text-overflow: ellipsis; }
}
.fx-mnav .fx-mnav__extra a { justify-content: flex-start; gap: 12px; padding: 4px 0; font-family: var(--sans); font-size: .9rem; color: var(--muted); overflow-wrap: anywhere; }
/* Journal image slot: an ink panel with a fleuron until a photo covers it. */
.fx-post__img { background: radial-gradient(90% 120% at 100% 0%, rgba(226, 112, 26, .45), transparent 60%), var(--ink); }
.fx-post__img::after { content: "\2766"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: clamp(3rem, 8vw, 6rem); color: rgba(242, 165, 26, .55); }
.fx-post__img img { position: relative; z-index: 1; }
.fx-post__date { z-index: 2; }
.fx-archive li { padding: 6px 0; color: var(--accent); }
.fx-archive li a { display: inline; padding: 0; color: var(--text); }

/* ===================================================================
 * 16 Logo palette + storefront layout (bdbooks-style header, category
 *    tiles, promo banners, publishers). Appended last so it wins.
 * =================================================================== */
body { background: var(--paper); }
::selection { background: var(--sun); color: #fff; }
.fx-head__eyebrow, .fx-eyebrow { color: var(--leaf-d); }
.fx-head h2 em, .fx-slide__title em, .fx-pagehead h1 em { color: var(--accent); }
.fx-head h2 { position: relative; }

/* Buttons: royal blue by default, sun gradient for the key calls to action. */
.fx-btn { --bg: var(--blue); --bd: var(--blue); }
.fx-btn::after { background: var(--ink); }
.fx-btn:hover { box-shadow: 0 14px 28px -12px rgba(31, 95, 191, .55); border-color: var(--ink); }
.fx-btn--ink { --bg: var(--ink); --bd: var(--ink); }
.fx-btn--ink::after { background: var(--blue); }
.fx-btn--ink:hover { border-color: var(--blue); }
.fx-btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.fx-btn--sun { --bg: linear-gradient(135deg, var(--sun-2), var(--sun) 45%, var(--accent)); --bd: transparent; --fg: #fff; background: var(--bg); text-shadow: 0 1px 1px rgba(150, 70, 0, .35); }
.fx-btn--sun::after { background: var(--red); }
.fx-btn--sun:hover { border-color: var(--red); box-shadow: 0 14px 28px -12px rgba(200, 22, 29, .5); }
.fx-btn--light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .55); }
.fx-badge { background: var(--leaf-d); }
.fx-badge--sale { background: var(--red); }
.fx-badge--muted { background: rgba(14, 42, 92, .78); }
.fx-chip:hover, .fx-chip.is-active { background: var(--blue); border-color: var(--blue); }
.fx-rail-nav button { border-color: var(--line); background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.fx-rail-nav button:hover { background: var(--blue); border-color: var(--blue); }
.fx-rail-progress span { background: linear-gradient(90deg, var(--blue), var(--sky)); }
.fx-icon-btn:hover { background: var(--blue); border-color: var(--blue); }
.fx-tool__count { background: var(--red); border-color: #fff; }

/* ---------- Top bar ---------- */
.fx-topbar { background: var(--ink); }
.fx-topbar__left i { color: var(--sun-2); }
.fx-topbar__note { color: var(--sun-2); }

/* ---------- Header row: logo | search | tools ---------- */
.fx-header { position: sticky; top: 0; background: rgba(255, 255, 255, .96); border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.fx-header.is-scrolled { background: rgba(255, 255, 255, .98); box-shadow: 0 12px 30px -18px rgba(14, 42, 92, .35); }
.fx-header__inner { gap: 34px; height: 92px; }
.fx-header.is-scrolled .fx-header__inner { height: 74px; }
.fx-logo img { max-height: 60px; }
.fx-logo__name { color: var(--ink); }

.fx-hsearch {
    position: relative; flex: 1; max-width: 680px; display: flex; align-items: center; height: 52px;
    border: 2px solid var(--blue); border-radius: 999px; background: #fff; padding: 4px; transition: box-shadow .25s;
}
.fx-hsearch:focus-within { box-shadow: 0 0 0 5px rgba(31, 95, 191, .12); }
.fx-hsearch select {
    height: 100%; border: 0; border-radius: 999px; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230e2a5c' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
    padding: 0 34px 0 18px; font-weight: 700; font-size: .84rem; color: var(--ink); max-width: 190px; cursor: pointer; outline: none;
    appearance: none; -webkit-appearance: none;
}
.fx-hsearch input[type=text] { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; padding: 0 16px; font-size: .95rem; color: var(--text); }
.fx-hsearch input::placeholder { color: #9aa1ad; }
.fx-hsearch__btn {
    height: 100%; display: inline-flex; align-items: center; gap: 8px; padding: 0 24px; border: 0; border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--ink-2)); color: #fff; font-weight: 800; font-size: .88rem; transition: filter .2s, transform .2s;
}
.fx-hsearch__btn:hover { filter: brightness(1.12); }
.fx-hsearch #suggestions { top: calc(100% + 8px); border: 1px solid var(--line); }

.fx-header__tools { gap: 4px; margin-left: 0; }
.fx-tool { color: var(--ink); }
.fx-tool:hover { background: var(--paper-2); }
.fx-tool--labelled { width: auto; height: auto; border-radius: 14px; display: inline-flex; gap: 10px; padding: 8px 12px; font-size: 1.25rem; }
.fx-tool__label { display: flex; flex-direction: column; font-size: .86rem; font-weight: 800; line-height: 1.15; text-align: left; font-family: var(--sans); }
.fx-tool__label small { font-size: .72rem; font-weight: 600; color: var(--muted); }
.fx-tool--cart { background: var(--paper-2); }

/* ---------- Category + page bar ---------- */
.fx-navbar { background: linear-gradient(90deg, var(--ink) 0%, var(--ink-2) 55%, var(--blue) 100%); color: #fff; position: relative; transition: max-height .35s var(--ease); max-height: 60px; }
.fx-header.is-scrolled .fx-navbar { max-height: 0; overflow: hidden; }
.fx-navbar__inner { display: flex; align-items: center; gap: 22px; height: 54px; }
.fx-navbar__cats { position: relative; align-self: stretch; display: flex; }
.fx-navbar__catbtn {
    display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; font-weight: 800; font-size: .9rem; color: #fff;
    background: linear-gradient(135deg, var(--sun-2), var(--sun) 50%, var(--accent)); text-shadow: 0 1px 1px rgba(150, 70, 0, .35);
}
.fx-navbar__catbtn:hover { color: #fff; filter: brightness(1.05); }
.fx-navbar__cats .fx-mega { top: 100%; left: 0; transform: translateY(10px); width: min(920px, 92vw); }
.fx-navbar__cats .fx-mega::before { top: -10px; height: 10px; }
.fx-navbar__cats:hover .fx-mega { opacity: 1; visibility: visible; transform: translateY(0); }
.fx-mega { border-top: 3px solid var(--sun); color: var(--text); }
.fx-mega__feature { background: linear-gradient(160deg, var(--ink), var(--blue)); }
.fx-mega__feature::before { color: rgba(247, 148, 29, .18); }

.fx-navbar .fx-nav { flex: 1; display: flex; justify-content: flex-start; align-items: center; gap: 2px; }
.fx-navbar .fx-nav > li > a {
    position: relative; display: inline-flex; align-items: center; height: 54px; padding: 0 16px;
    color: rgba(255, 255, 255, .9); font-weight: 700; font-size: .9rem;
}
.fx-navbar .fx-nav > li > a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 10px; height: 2px; border-radius: 2px; background: var(--sun-2); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.fx-navbar .fx-nav > li > a:hover, .fx-navbar .fx-nav > li.active > a { color: #fff; }
.fx-navbar .fx-nav > li > a:hover::after, .fx-navbar .fx-nav > li.active > a::after { transform: scaleX(1); }
.fx-navbar__hotline { display: inline-flex; align-items: center; gap: 12px; color: #fff; white-space: nowrap; }
.fx-navbar__hotline:hover { color: var(--sun-2); }
.fx-navbar__hotline i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: var(--sun-2); }
.fx-navbar__hotline span { display: flex; flex-direction: column; font-weight: 800; font-size: .9rem; line-height: 1.15; }
.fx-navbar__hotline small { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }

/* ---------- Hero: the logo's sun, ring and leaves behind the book ---------- */
.fx-hero { padding: 30px 0 60px; background: radial-gradient(70% 90% at 85% 40%, rgba(26, 168, 224, .1), transparent 60%), linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.fx-hero::before { background: radial-gradient(closest-side, rgba(247, 148, 29, .14), transparent 70%); }
.fx-hero__bgword { -webkit-text-stroke-color: rgba(14, 42, 92, .06); }
.fx-hero__stage { min-height: 560px; }
.fx-slide__disc { display: none; }
.fx-slide__title { color: var(--ink); }

.fx-sun { position: absolute; width: min(470px, 86%); aspect-ratio: 1; display: grid; place-items: center; pointer-events: none; }
.fx-sun__rays {
    position: absolute; inset: 0; border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, var(--sun-2) 0deg 2.2deg, transparent 2.2deg 7.5deg);
    -webkit-mask: radial-gradient(circle, transparent 0 34%, #000 35% 62%, transparent 72%);
            mask: radial-gradient(circle, transparent 0 34%, #000 35% 62%, transparent 72%);
    opacity: .85; animation: fx-spin 90s linear infinite;
}
.fx-sun__core {
    width: 46%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffe27a 0%, var(--sun-2) 35%, var(--sun) 65%, var(--accent) 100%);
    box-shadow: 0 0 60px rgba(247, 148, 29, .55), inset -14px -18px 40px rgba(200, 90, 16, .35);
}
.fx-ring {
    position: absolute; width: min(540px, 96%); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
    background: conic-gradient(from 160deg, transparent 0deg, var(--blue) 30deg, var(--sky) 150deg, var(--blue) 230deg, transparent 262deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 13px), #000 calc(100% - 12px));
            mask: radial-gradient(farthest-side, transparent calc(100% - 13px), #000 calc(100% - 12px));
    transform: rotate(-20deg); opacity: .95;
}
.fx-leaves { position: absolute; top: 2%; right: 8%; width: 130px; z-index: 3; filter: drop-shadow(0 8px 10px rgba(44, 138, 42, .25)); animation: fx-sway 6s ease-in-out infinite; transform-origin: 10% 95%; }
@keyframes fx-sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-6deg); } }
.fx-book3d__back { background: var(--ink); }
.fx-hero__tag i { background: var(--blue); color: var(--sun-2); }
.fx-hero__facts { display: flex; gap: 34px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.fx-hero__facts b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--ink); line-height: 1; }
.fx-hero__facts b i { font-size: 1.5rem; color: var(--leaf-d); }
.fx-hero__facts span { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fx-hero__dots button.is-active::after { background: var(--blue); }

/* ---------- Category tiles ---------- */
.fx-section--cats { padding-top: 70px; }
.fx-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.fx-cat {
    --c: var(--blue);
    position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 26px 14px 22px;
    border-radius: 20px; background: var(--card); border: 1px solid var(--line); overflow: hidden; color: var(--ink);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.fx-cat::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c); transform: scaleX(.25); transition: transform .4s var(--ease); }
.fx-cat:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(14, 42, 92, .45); border-color: transparent; color: var(--ink); }
.fx-cat:hover::before { transform: scaleX(1); }
.fx-cat__icon {
    width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 1.55rem; color: var(--c);
    background: color-mix(in srgb, var(--c) 12%, #fff); transition: all .4s var(--ease);
}
.fx-cat:hover .fx-cat__icon { background: var(--c); color: #fff; transform: rotate(-8deg) scale(1.05); }
.fx-cat__name { font-family: var(--serif); font-size: 1.02rem; line-height: 1.25; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.fx-cat__go { font-size: .74rem; font-weight: 800; letter-spacing: .06em; color: var(--c); opacity: 0; transform: translateY(6px); transition: all .3s var(--ease); }
.fx-cat:hover .fx-cat__go { opacity: 1; transform: none; }

/* ---------- Promo banners ---------- */
.fx-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.fx-promo {
    position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; min-height: 270px; padding: 40px 34px 40px 44px;
    border-radius: 26px; overflow: hidden; color: #fff; isolation: isolate; box-shadow: var(--shadow);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.fx-promo:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.fx-promo--blue { background: radial-gradient(90% 120% at 100% 0%, rgba(26, 168, 224, .55), transparent 55%), linear-gradient(135deg, var(--blue), var(--ink)); }
.fx-promo--sun { background: radial-gradient(90% 120% at 100% 0%, rgba(246, 210, 31, .55), transparent 55%), linear-gradient(135deg, var(--sun), var(--accent) 45%, var(--red) 100%); }
.fx-promo__rays {
    position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; z-index: -1; border-radius: 50%;
    background: repeating-conic-gradient(rgba(255, 255, 255, .16) 0deg 3deg, transparent 3deg 10deg);
    -webkit-mask: radial-gradient(circle, transparent 0 20%, #000 21% 70%, transparent 71%); mask: radial-gradient(circle, transparent 0 20%, #000 21% 70%, transparent 71%);
    animation: fx-spin 70s linear infinite;
}
.fx-promo__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.fx-promo__eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.fx-promo__title { font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-style: italic; line-height: 1.1; }
.fx-promo__sub { font-size: .92rem; color: rgba(255, 255, 255, .85); max-width: 280px; }
.fx-promo__btn { margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; font-size: .86rem; transition: gap .3s; }
.fx-promo:hover .fx-promo__btn { gap: 16px; }
.fx-promo__books { position: relative; height: 210px; }
.fx-promo__books .fx-cover { position: absolute; width: 112px; top: 18px; left: 50%; margin-left: -56px; transition: transform .6s var(--ease); }
.fx-promo__books .fx-cover:nth-child(1) { transform: translateX(-62px) rotate(-12deg); }
.fx-promo__books .fx-cover:nth-child(2) { transform: translateX(62px) rotate(10deg); }
.fx-promo__books .fx-cover:nth-child(3) { transform: translateY(-8px); z-index: 2; }
.fx-promo:hover .fx-promo__books .fx-cover:nth-child(1) { transform: translateX(-80px) rotate(-16deg); }
.fx-promo:hover .fx-promo__books .fx-cover:nth-child(2) { transform: translateX(80px) rotate(14deg); }
.fx-promo:hover .fx-promo__books .fx-cover:nth-child(3) { transform: translateY(-16px) scale(1.04); }

/* ---------- Editor's pick on royal navy with a rising sun ---------- */
.fx-feature { background: linear-gradient(160deg, var(--ink) 0%, #0a1f47 100%); }
.fx-feature::before { background: radial-gradient(closest-side, rgba(26, 168, 224, .22), transparent); }
.fx-feature__sun { position: absolute; right: -140px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(247, 148, 29, .4), rgba(247, 148, 29, 0) 65%); pointer-events: none; }
.fx-feature__quote::before { color: var(--sun); }
.fx-feature__title { color: var(--sun-2); }
.fx-feature .fx-stats { border-color: rgba(255, 255, 255, .14); }

/* ---------- Chart + shelf + publishers ---------- */
.fx-chart__item::before { -webkit-text-stroke-color: var(--blue); }
.fx-chart__item:first-child::before, .fx-chart__item:hover::before { color: var(--sun); -webkit-text-stroke-color: var(--sun); }
.fx-section--shelf { background: linear-gradient(180deg, var(--paper) 0%, #eef6fb 100%); }

.fx-pubs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.fx-pub { --c: var(--blue); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); text-align: center; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
.fx-pub:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink); }
.fx-pub__avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.9rem; font-style: italic; color: #fff; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 60%, #fff), var(--c)); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 14%, #fff); }
.fx-pub__name { font-weight: 800; font-size: .92rem; line-height: 1.25; }
.fx-pub__go { font-size: .74rem; font-weight: 700; color: var(--c); }

/* ---------- Service strip: one logo colour per item ---------- */
.fx-perk { --c: var(--blue); }
.fx-perk i { background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); }
.fx-perk:hover i { background: var(--c); color: #fff; }

/* ---------- Footer ---------- */
.fx-footer { background: linear-gradient(180deg, var(--ink) 0%, #091d42 100%); }
.fx-footer a:hover, .fx-footer__contact i { color: var(--sun-2); }
.fx-social a:hover { background: var(--sun); border-color: var(--sun); color: #fff; }
.fx-newsletter { background: radial-gradient(120% 140% at 100% 0%, var(--sun-2) 0%, var(--sun) 35%, var(--accent) 65%, var(--red) 100%); }
.fx-newsletter button { background: var(--ink); }
.fx-newsletter button:hover { background: var(--blue); }

/* ---------- Inner pages pick up the palette too ---------- */
.fx-pagehead { background: linear-gradient(180deg, #fff, var(--paper)); }
.fx-pagehead::after { background: radial-gradient(closest-side, rgba(247, 148, 29, .16), transparent); }
.fx-crumbs li + li::before { background: var(--sun); }
.fx-usernav { background: linear-gradient(170deg, var(--ink), var(--ink-2)); }
.fx-usernav__avatar { background: var(--sun); }
.fx-usernav a i { color: var(--sun-2); }
.fx-auth__art { background: linear-gradient(160deg, var(--ink), var(--ink-2)); }
.fx-auth__art::before { background: radial-gradient(closest-side, rgba(247, 148, 29, .55), transparent); }
.fx-contact__card { background: linear-gradient(160deg, var(--ink), var(--ink-2)); }
.fx-step.is-done i, .fx-step.is-current i { background: var(--blue); border-color: var(--blue); }
.fx-step.is-done::before, .fx-step.is-current::before { background: var(--blue); }
.fx-tabs button::after { background: var(--sun); }
.fx-view-toggle button.is-active { background: var(--blue); }
.pagination li.active a { background: var(--blue); border-color: var(--blue); }
#notificator { background: var(--ink); }
#notificator::before { color: var(--sun-2); }
.fx-totop { background: var(--blue); }
.fx-totop:hover { background: var(--sun); }
.fx-progress { background: linear-gradient(90deg, var(--blue), var(--sky), var(--leaf), var(--sun)); }

/* ---------- Responsive for the new pieces ---------- */
@media (max-width: 1180px) {
    .fx-cats, .fx-pubs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .fx-navbar__hotline { display: none; }
    .fx-tool__label { display: none; }
}
@media (max-width: 991px) {
    .fx-navbar { display: none; }
    .fx-header__inner { flex-wrap: wrap; height: auto !important; padding-top: 12px; padding-bottom: 12px; row-gap: 12px; }
    .fx-header__tools { margin-left: auto; }
    .fx-hsearch { order: 5; flex: 0 0 100%; max-width: none; height: 48px; }
    .fx-header.is-scrolled .fx-hsearch { display: none; }
    .fx-promos { grid-template-columns: 1fr; }
    .fx-sun { width: min(400px, 90%); }
    .fx-ring { width: min(460px, 98%); }
    .fx-hero__facts { justify-content: center; }
}
@media (max-width: 640px) {
    .fx-hsearch select { display: none; }
    .fx-hsearch__btn span { display: none; }
    .fx-hsearch__btn { padding: 0 18px; }
    .fx-cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; scrollbar-width: none; }
    .fx-cats::-webkit-scrollbar { display: none; }
    .fx-cat { flex: 0 0 132px; scroll-snap-align: start; padding: 20px 10px 18px; }
    .fx-cat__icon { width: 54px; height: 54px; font-size: 1.3rem; }
    .fx-cat__go { display: none; }
    .fx-pubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fx-promo { grid-template-columns: 1fr; padding: 30px 26px 0; min-height: 0; }
    .fx-promo__books { height: 170px; }
    .fx-promo__books .fx-cover { width: 92px; margin-left: -46px; }
    .fx-leaves { width: 86px; right: 4%; }
    .fx-hero__facts { gap: 22px; }
    .fx-hero__facts b { font-size: 1.6rem; }
}
/* Promo banners: keep the cover stack in its own column, clear of the headline. */
.fx-promo { grid-template-columns: minmax(0, 1fr) 230px; gap: 10px; }
.fx-promo__text { position: relative; z-index: 2; }
.fx-promo__books .fx-cover { width: 100px; margin-left: -50px; }
.fx-promo__books .fx-cover:nth-child(1) { transform: translateX(-46px) rotate(-12deg); }
.fx-promo__books .fx-cover:nth-child(2) { transform: translateX(46px) rotate(10deg); }
.fx-promo:hover .fx-promo__books .fx-cover:nth-child(1) { transform: translateX(-58px) rotate(-16deg); }
.fx-promo:hover .fx-promo__books .fx-cover:nth-child(2) { transform: translateX(58px) rotate(14deg); }
@media (max-width: 640px) { .fx-promo { grid-template-columns: 1fr; } }

/* ===================================================================
 * 17  Template setup: hero interval and the image banner hero
 * =================================================================== */
.fx-hero__dots button.is-active::after { animation-duration: var(--fx-interval, 6.5s); }
.fx-hero--banner { padding: 26px 0 40px; background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.fx-hero--banner::before { display: none; }
.fx-hero--banner .fx-hero__stage { min-height: 0; aspect-ratio: 8 / 3; border-radius: 26px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.fx-banner, .fx-banner.is-active { position: absolute; inset: 0; display: block; text-align: left; }
.fx-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s var(--ease); }
.fx-banner.is-active .fx-banner__img { transform: none; }
.fx-banner::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 82%, transparent) 0%, color-mix(in srgb, var(--ink) 38%, transparent) 46%, transparent 72%);
}
.fx-banner--plain::after { display: none; }
.fx-banner__text { position: absolute; z-index: 2; left: clamp(24px, 6%, 80px); top: 50%; transform: translateY(-50%); max-width: min(560px, 58%); color: #fff; }
.fx-banner__text .fx-slide__title { color: #fff; font-size: clamp(2rem, 4.2vw, 3.8rem); margin-bottom: 16px; }
.fx-banner__text .fx-slide__title em { color: var(--sun-2); }
.fx-banner__text .fx-slide__lead { color: rgba(255, 255, 255, .86); margin-bottom: 24px; }
.fx-banner__link { position: absolute; inset: 0; z-index: 2; }
@media (max-width: 640px) {
    .fx-hero--banner { padding: 14px 0 30px; }
    .fx-hero--banner .fx-hero__stage { aspect-ratio: 4 / 3; border-radius: 18px; }
    .fx-banner::after { background: linear-gradient(0deg, color-mix(in srgb, var(--ink) 86%, transparent) 0%, transparent 78%); }
    .fx-banner__text { top: auto; bottom: 20px; left: 20px; right: 20px; max-width: none; transform: none; }
    .fx-banner__text .fx-slide__title { font-size: 1.7rem; margin-bottom: 12px; }
    .fx-banner__text .fx-slide__lead { display: none; }
    .fx-banner__text .fx-flex { justify-content: flex-start; }
}
