/* =========================================================================
   Factory Directly theme
   Loaded after Bootstrap 5. Everything below is additive; core files untouched.
   ========================================================================= */

:root {
  --fd-navy: #111111;
  --fd-navy-deep: #111111;
  --fd-navy-soft: #222222;
  --fd-teal: #111111;
  --fd-teal-dark: #000000;
  --fd-teal-soft: #f3f3f3;
  --fd-amber: #111111;
  --fd-ink: #111111;
  --fd-ink-soft: #555555;
  --fd-muted: #8a8a8a;
  --fd-line: #e6e6e6;
  --fd-bg: #ffffff;
  --fd-bg-soft: #f7f7f7;
  --fd-genuine: #111111;
  --fd-genuine-soft: #ffffff;
  --fd-compatible: #555555;
  --fd-compatible-soft: #ffffff;
  --fd-danger: #b42318;
  --fd-radius: 4px;
  --fd-radius-sm: 3px;
  --fd-shadow: none;
  --fd-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fd-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --bs-primary: var(--fd-teal);
  --bs-link-color: var(--fd-teal-dark);
  --bs-link-hover-color: var(--fd-navy);
  --bs-body-font-family: var(--fd-font);
  --bs-body-color: var(--fd-ink);
}

html { scroll-behavior: smooth; }
body.fd-body {
  font-family: var(--fd-font);
  color: var(--fd-ink);
  background: var(--fd-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
#container { width: 100%; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
h1, h2, h3, h4, h5, h6 { color: var(--fd-navy); font-weight: 600; letter-spacing: -.01em; }
h1, h2, .fd-hero h1, .fd-section__head h2, .fd-page__head h1, .fd-product__title, .fd-trade h2, .fd-range h3, .fd-supplier h2, .fd-tile__body h3, .fd-fits h2 { font-family: var(--fd-font-display); font-weight: 500; letter-spacing: -.015em; }
a { color: var(--fd-teal-dark); text-decoration: none; }
a:hover { color: var(--fd-navy); }
img { max-width: 100%; height: auto; }
.container { max-width: 1240px; }

/* ---------- Buttons ---------- */
.fd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .65rem 1.15rem; border-radius: var(--fd-radius-sm); font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .05s;
  white-space: nowrap; line-height: 1.2;
}
.fd-btn:active { transform: translateY(1px); }
.fd-btn--primary { background: var(--fd-teal); color: #fff; }
.fd-btn--primary:hover { background: var(--fd-teal-dark); color: #fff; }
.fd-btn--outline { background: transparent; color: var(--fd-navy); border-color: var(--fd-navy); }
.fd-btn--outline:hover { background: var(--fd-navy); color: #fff; }
.fd-btn--outline-light { background: transparent; color: #111; border-color: #111; }
.fd-btn--outline-light:hover { background: #111; color: #fff; }
.fd-btn--ghost { background: var(--fd-bg-soft); color: var(--fd-navy); }
.fd-btn--ghost:hover { background: var(--fd-line); color: var(--fd-navy); }
.fd-btn--lg { padding: .85rem 1.5rem; font-size: 1.02rem; }
.fd-btn--sm { padding: .45rem .85rem; font-size: .85rem; }
.fd-btn--block { width: 100%; }
.fd-btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-primary { --bs-btn-bg: var(--fd-teal); --bs-btn-border-color: var(--fd-teal); --bs-btn-hover-bg: var(--fd-teal-dark); --bs-btn-hover-border-color: var(--fd-teal-dark); --bs-btn-active-bg: var(--fd-teal-dark); --bs-btn-active-border-color: var(--fd-teal-dark); }
.btn { border-radius: var(--fd-radius-sm); font-weight: 600; }
.fd-link { font-weight: 600; }
.fd-link-btn { background: none; border: 0; padding: 0; color: var(--fd-ink-soft); font-size: .9rem; font-weight: 500; }
.fd-link-btn:hover { color: var(--fd-navy); }

/* ---------- Badges / stock ---------- */
.fd-badge {
  display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .6rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1;
}
.fd-badge--genuine { background: #fff; color: #111; border: 1px solid #111; }
.fd-badge--compatible { background: #fff; color: #555; border: 1px solid #bbb; }
.fd-badge--lg { font-size: .8rem; padding: .4rem .8rem; }
.fd-stock { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--fd-ink-soft); }
.fd-stock::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; }
.fd-stock--in { color: #1f7a3f; }
.fd-stock--low { color: #b45309; }
.fd-stock--out { color: var(--fd-danger); }
.fd-stock--lg { font-size: .95rem; }

/* ---------- Top bar ---------- */
.fd-topbar { background: #fff; color: #666; font-size: .78rem; border-bottom: 1px solid var(--fd-line); }
.fd-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 1rem; }
.fd-topbar__tagline { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-topbar__links { display: flex; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.fd-topbar__links a, .fd-topbar__vat { color: #666; display: inline-flex; gap: .4rem; align-items: center; }
.fd-topbar__links a:hover { color: #111; }

/* ---------- Header ---------- */
.fd-header { background: #fff; color: #111; position: sticky; top: 0; z-index: 1030; transition: box-shadow .2s; border-bottom: 1px solid var(--fd-line); }
.fd-header--scrolled { box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.fd-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; min-height: 76px; }
.fd-logo { display: inline-flex; align-items: center; gap: .6rem; color: #111; font-size: 1.2rem; letter-spacing: -.02em; }
.fd-logo:hover { color: #111; }
.fd-logo img { max-height: 44px; max-width: 220px; width: auto; object-fit: contain; }
.fd-logo__mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 3px; background: #111; color: #fff; font-weight: 800; font-size: .9rem; letter-spacing: 0; }
.fd-logo__text { font-family: var(--fd-font-display); font-weight: 500; white-space: nowrap; font-size: 1.3rem; }
.fd-logo__text strong { font-weight: 600; }
.fd-header__search { min-width: 0; }
.fd-search { display: flex; align-items: center; background: #fff; border: 1px solid #ccc; border-radius: var(--fd-radius-sm); overflow: hidden; height: 44px; }
.fd-search__icon { color: var(--fd-muted); margin-left: .9rem; }
.fd-search__input { flex: 1; border: 0; outline: 0; padding: 0 .75rem; font-size: .95rem; min-width: 0; color: var(--fd-ink); }
.fd-search__button { border: 0; background: #111; color: #fff; font-weight: 600; padding: 0 1.1rem; height: 100%; }
.fd-search__button:hover { background: #000; }
.fd-header__actions { display: flex; align-items: center; gap: .25rem; }
.fd-action { display: inline-flex; align-items: center; gap: .6rem; color: #111; padding: .5rem .7rem; border-radius: var(--fd-radius-sm); }
.fd-action:hover { background: var(--fd-bg-soft); color: #111; }
.fd-action i { font-size: 1.15rem; opacity: .9; }
.fd-action__label { display: flex; flex-direction: column; line-height: 1.15; font-size: .85rem; font-weight: 600; }
.fd-action__label small { font-size: .68rem; font-weight: 400; opacity: .75; }
.fd-action--trade .fd-action__label { color: #111; }
.fd-action--trade i { color: #111; }
.fd-action--icon { padding: .55rem .7rem; }
.fd-action.dropdown-toggle::after { display: none; }
.fd-cart__button { display: inline-flex; align-items: center; gap: .55rem; background: #111; border: 0; color: #fff; border-radius: var(--fd-radius-sm); padding: .6rem .9rem; font-weight: 600; font-size: .85rem; }
.fd-cart__button:hover { background: #000; }
.fd-cart__button i { font-size: 1.05rem; }
.fd-cart__menu { width: 360px; max-width: calc(100vw - 2rem); padding: 1rem; border-radius: var(--fd-radius); border: 1px solid var(--fd-line); box-shadow: var(--fd-shadow); }
.fd-cart__list { list-style: none; margin: 0 0 .75rem; padding: 0; max-height: 300px; overflow: auto; }
.fd-cart__item { display: grid; grid-template-columns: 54px 1fr auto; gap: .75rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--fd-line); }
.fd-cart__thumb img { width: 54px; height: 54px; object-fit: contain; border: 1px solid var(--fd-line); border-radius: var(--fd-radius-sm); background: #fff; }
.fd-cart__name { font-weight: 600; font-size: .88rem; color: var(--fd-ink); display: block; }
.fd-cart__meta { font-size: .8rem; color: var(--fd-ink-soft); }
.fd-cart__remove { border: 0; background: none; color: var(--fd-muted); }
.fd-cart__remove:hover { color: var(--fd-danger); }
.fd-cart__totals { width: 100%; font-size: .88rem; margin-bottom: .75rem; }
.fd-cart__totals td:last-child { text-align: right; font-weight: 600; }
.fd-cart__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.fd-cart__empty { margin: 0; text-align: center; color: var(--fd-muted); padding: 1rem 0; }

/* ---------- Navigation ---------- */
.fd-nav { background: #fff; border-bottom: 1px solid var(--fd-line); }
.fd-nav__toggle { display: none; background: none; border: 0; padding: .8rem 0; font-weight: 600; color: var(--fd-navy); }
.fd-nav__list { display: flex; align-items: center; flex-wrap: wrap; gap: 0 .15rem; list-style: none; margin: 0; padding: 0; }
.fd-nav__item--push { margin-left: auto; }
.fd-nav__link { display: inline-flex; align-items: center; gap: .45rem; padding: .8rem .6rem; color: var(--fd-ink); font-weight: 500; font-size: .86rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.fd-nav__link:hover { color: #000; border-bottom-color: #111; }
.fd-nav__item--finder .fd-nav__link { color: #111; }
.fd-nav__item--finder .fd-nav__link i { color: #111; }
.fd-nav__link.dropdown-toggle::after { margin-left: .1rem; opacity: .6; }
.fd-nav__dropdown { border: 1px solid var(--fd-line); border-radius: var(--fd-radius); box-shadow: var(--fd-shadow); padding: .75rem; min-width: 260px; }
.fd-nav__dropdown .dropdown-item { padding: .45rem .6rem; border-radius: var(--fd-radius-sm); font-size: .9rem; }
.fd-nav__dropdown .dropdown-item:hover { background: var(--fd-bg-soft); color: #000; }
.fd-nav__viewall { display: block; margin-top: .5rem; padding: .55rem .6rem; border-top: 1px solid var(--fd-line); font-size: .85rem; font-weight: 600; }
.fd-nav__collapse.collapse:not(.show) { display: block; }

/* ---------- Alerts ---------- */
.fd-alert { position: fixed; top: 90px; right: 1rem; z-index: 1090; width: 360px; max-width: calc(100vw - 2rem); }
.fd-alert .alert { box-shadow: var(--fd-shadow); border-radius: var(--fd-radius); }

/* ---------- Home: hero ---------- */
.fd-hero { background: #fff; color: #111; padding: 3.5rem 0 2.5rem; border-bottom: 1px solid var(--fd-line); }
.fd-hero__inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.fd-eyebrow { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #888; margin-bottom: 1rem; }
.fd-hero h1 { color: #111; font-size: clamp(2.3rem, 4.6vw, 3.4rem); line-height: 1.05; margin-bottom: 1.1rem; font-weight: 500; max-width: 20ch; }
.fd-hero p { font-size: 1.02rem; color: #555; max-width: 64ch; margin-bottom: 1.5rem; }
.fd-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.fd-hero__points { list-style: none; margin: 0; padding: 1.75rem 0 0; border-top: 1px solid var(--fd-line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.fd-hero__points li { display: flex; flex-direction: column; gap: .3rem; }
.fd-hero__points i { display: none; }
.fd-hero__points strong { font-size: .92rem; color: #111; }
.fd-hero__points span { font-size: .82rem; color: #666; line-height: 1.5; }

/* ---------- Home: sections ---------- */
.fd-section { padding: 3.25rem 0; }
.fd-section--muted { background: #fff; padding-top: 0; }
.fd-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.fd-section__head h2 { font-size: 1.8rem; margin: 0; }
.fd-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.fd-tile { display: block; background: #fff; border: 0; color: var(--fd-ink); }
.fd-tile:hover { color: #111; }
.fd-tile:hover h3 { text-decoration: underline; }
.fd-tile__image { aspect-ratio: 1; background: var(--fd-bg-soft); display: grid; place-items: center; border-radius: var(--fd-radius); overflow: hidden; }
.fd-tile__image img { width: 100%; height: 100%; object-fit: cover; }
.fd-tile__image i { font-size: 2.5rem; color: var(--fd-muted); }
.fd-tile__body { padding: .85rem 0 0; }
.fd-tile__body h3 { font-size: 1.15rem; margin: 0 0 .2rem; }
.fd-tile__body span { font-size: .82rem; color: var(--fd-muted); }
.fd-ranges { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--fd-line); }
.fd-range { background: #fff; padding: 0; }
.fd-range h3 { font-size: 1.45rem; margin: .75rem 0 .4rem; }
.fd-range p { margin: 0; color: var(--fd-ink-soft); }
.fd-trade { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; background: var(--fd-bg-soft); border-radius: var(--fd-radius); padding: 2.5rem; }
.fd-trade h2 { font-size: 1.7rem; margin-bottom: .6rem; }
.fd-trade p { color: var(--fd-ink-soft); margin-bottom: 1.25rem; }
.fd-trade__points { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.fd-trade__points li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.fd-trade__points i { color: #111; margin-top: .2rem; }
.fd-section--supplier { padding-top: 0; }
.fd-supplier { display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--fd-line); padding: 2rem 0 0; }
.fd-supplier h2 { font-size: 1.2rem; margin-bottom: .3rem; }
.fd-supplier p { margin: 0; color: var(--fd-ink-soft); }

/* ---------- Product grid / card ---------- */
.fd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.fd-card { background: #fff; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.fd-card:hover { border-color: #bbb; }
.fd-card__image { position: relative; display: block; aspect-ratio: 1; background: #fff; padding: 8%; }
.fd-card__image img { width: 100%; height: 100%; object-fit: contain; }
.fd-card__image .fd-badge { position: absolute; top: .75rem; left: .75rem; }
.fd-card--out .fd-card__image img { opacity: .55; }
.fd-card__body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; border-top: 1px solid var(--fd-line); }
.fd-card__brand { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--fd-muted); }
.fd-card__title { font-size: .95rem; line-height: 1.35; margin: 0; font-weight: 600; }
.fd-card__title a { color: var(--fd-ink); }
.fd-card__title a:hover { text-decoration: underline; }
.fd-card__meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.fd-card__ean { font-size: .72rem; color: var(--fd-muted); font-variant-numeric: tabular-nums; }
.fd-card__price { margin-top: auto; padding-top: .35rem; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.fd-price { font-size: 1.15rem; font-weight: 700; color: var(--fd-navy); font-variant-numeric: tabular-nums; }
.fd-price--old { color: var(--fd-muted); font-size: .9rem; }
.fd-price--xl { font-size: 1.9rem; }
.fd-card__price small { color: var(--fd-muted); font-size: .75rem; }
.fd-card__form { display: flex; gap: .5rem; margin-top: .5rem; }
.fd-card__wish { flex: 0 0 auto; width: 42px; border: 1.5px solid var(--fd-line); background: #fff; border-radius: var(--fd-radius-sm); color: var(--fd-muted); }
.fd-card__wish:hover { color: var(--fd-danger); border-color: var(--fd-danger); }

/* ---------- Page chrome ---------- */
.fd-page { padding-top: 1.25rem; padding-bottom: 3rem; }
.fd-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: var(--fd-muted); margin-bottom: 1.25rem; }
.fd-breadcrumb a { color: var(--fd-ink-soft); }
.fd-breadcrumb a:last-child { color: var(--fd-ink); font-weight: 600; }
.fd-breadcrumb i { font-size: .6rem; }
.fd-page__head h1 { font-size: 2.2rem; margin-bottom: .5rem; }
.fd-page__intro { color: var(--fd-ink-soft); max-width: 70ch; }
.fd-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1.25rem 0; }
.fd-chips__label { font-size: .8rem; font-weight: 600; color: var(--fd-muted); margin-right: .25rem; }
.fd-chip { padding: .4rem .85rem; border: 1px solid var(--fd-line); border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--fd-ink); background: #fff; }
.fd-chip:hover { border-color: #111; color: #111; }
.fd-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .75rem 0; border-top: 1px solid var(--fd-line); border-bottom: 1px solid var(--fd-line); margin-bottom: 1.5rem; }
.fd-toolbar__results { font-size: .85rem; color: var(--fd-muted); }
.fd-toolbar__controls { display: flex; gap: 1rem; flex-wrap: wrap; }
.fd-toolbar__controls label { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--fd-ink-soft); font-weight: 500; }
.fd-select { border: 1px solid var(--fd-line); border-radius: var(--fd-radius-sm); padding: .4rem 1.8rem .4rem .6rem; font-size: .85rem; background: #fff; }
.fd-pagination { display: flex; justify-content: center; margin-top: 2rem; }
.fd-pagination .pagination { --bs-pagination-active-bg: var(--fd-navy); --bs-pagination-active-border-color: var(--fd-navy); --bs-pagination-color: var(--fd-ink); }
.fd-empty { text-align: center; padding: 3rem 0; color: var(--fd-muted); }
#column-left, #column-right { padding-top: 0; }

/* ---------- Product page ---------- */
.fd-product { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.fd-product__main { display: block; position: relative; aspect-ratio: 1; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); overflow: hidden; background: #fff; padding: 6%; }
.fd-product__main img { width: 100%; height: 100%; object-fit: contain; }
.fd-product__main .fd-badge { position: absolute; top: 1rem; left: 1rem; }
.fd-product__thumbs { display: flex; gap: .6rem; margin-top: .75rem; flex-wrap: wrap; }
.fd-product__thumbs a { width: 76px; height: 76px; border: 1px solid var(--fd-line); border-radius: var(--fd-radius-sm); overflow: hidden; background: #fff; padding: 4px; }
.fd-product__thumbs a:hover { border-color: #111; }
.fd-product__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.fd-product__brand { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--fd-muted); }
.fd-product__title { font-size: 2rem; line-height: 1.15; margin: .3rem 0 .9rem; }
.fd-product__codes { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0 0 1rem; font-size: .85rem; }
.fd-product__codes div { display: flex; gap: .4rem; }
.fd-product__codes dt { color: var(--fd-muted); font-weight: 500; }
.fd-product__codes dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.fd-product__stock { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.fd-product__qty { font-size: .85rem; color: var(--fd-muted); }
.fd-product__price { display: flex; align-items: baseline; gap: .6rem; margin-bottom: 1rem; }
.fd-product__price small { color: var(--fd-muted); }
.fd-tiers { border: 1px solid var(--fd-line); border-radius: var(--fd-radius); padding: 1rem 1.1rem; margin-bottom: 1.25rem; background: var(--fd-bg-soft); }
.fd-tiers h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fd-muted); margin-bottom: .5rem; }
.fd-tiers table { width: 100%; font-size: .9rem; }
.fd-tiers th { font-weight: 600; color: var(--fd-ink-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding: .25rem 0; }
.fd-tiers td { padding: .3rem 0; border-top: 1px solid var(--fd-line); font-weight: 600; }
.fd-tiers td small { font-weight: 400; color: var(--fd-muted); }
.fd-buy { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: .5rem; }
.fd-buy__label { font-size: .85rem; font-weight: 600; color: var(--fd-ink-soft); }
.fd-qty { display: inline-flex; border: 1.5px solid var(--fd-line); border-radius: var(--fd-radius-sm); overflow: hidden; height: 48px; }
.fd-qty__btn { width: 40px; border: 0; background: var(--fd-bg-soft); font-size: 1.1rem; color: var(--fd-navy); }
.fd-qty__btn:hover { background: var(--fd-line); }
.fd-qty__input { width: 64px; border: 0; text-align: center; font-weight: 700; font-size: 1rem; }
.fd-buy__submit { flex: 1; min-width: 200px; height: 48px; }
.fd-note { margin-top: .75rem; font-size: .85rem; color: var(--fd-ink-soft); }
.fd-product__secondary { display: flex; gap: 1.25rem; margin: 1rem 0 1.25rem; }
.fd-trade-prompt { background: var(--fd-bg-soft); border-radius: var(--fd-radius); padding: .9rem 1rem; font-size: .88rem; color: var(--fd-ink-soft); display: flex; gap: .6rem; align-items: center; }
.fd-trade-prompt i { color: #111; }
.fd-quote { border: 1px solid var(--fd-line); border-radius: var(--fd-radius); padding: 1rem 1.1rem; }
.fd-quote p { margin: .25rem 0 .75rem; font-size: .88rem; color: var(--fd-ink-soft); }
.fd-fits { border: 1px solid var(--fd-line); border-radius: var(--fd-radius); margin: 1.5rem 0 0; }
.fd-fits summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; }
.fd-fits summary::-webkit-details-marker { display: none; }
.fd-fits__title { font-family: var(--fd-font-display); font-size: 1.15rem; font-weight: 600; }
.fd-fits__count { font-size: .82rem; color: var(--fd-muted); }
.fd-fits summary i { margin-left: auto; color: var(--fd-muted); transition: transform .2s; }
.fd-fits[open] summary i { transform: rotate(180deg); }
.fd-fits[open] summary { border-bottom: 1px solid var(--fd-line); }
.fd-fits__body { padding: 1.25rem 1.25rem .5rem; }
.fd-fits__placeholder { margin: 0; color: var(--fd-muted); font-size: .9rem; }
.fd-tabs .nav-tabs { border-bottom: 1px solid var(--fd-line); }
.fd-tabs .nav-link { color: var(--fd-ink-soft); font-weight: 600; border: 0; border-bottom: 2px solid transparent; }
.fd-tabs .nav-link.active { color: #111; border-bottom-color: #111; background: none; }
.fd-tabs .tab-content { padding: 1.5rem 0; max-width: 80ch; }
.fd-spec { width: 100%; font-size: .9rem; }
.fd-spec th { text-align: left; padding: .6rem 0 .3rem; color: var(--fd-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.fd-spec td { padding: .45rem 0; border-top: 1px solid var(--fd-line); }
.fd-spec td:first-child { color: var(--fd-ink-soft); width: 40%; }

/* ---------- Generic OpenCart pages (account, checkout, info) ---------- */
#account-login, #account-register, #account-account, #checkout-cart, #checkout-checkout, #information-contact, #information-information, #product-search, #product-manufacturer, #product-manufacturer-info, #product-special, #account-forgotten, #error-not-found, #product-compare, #account-wishlist, #account-order, #account-edit, #account-password, #account-address, #information-sitemap, #common-success, #account-newsletter, #account-download, #account-returns, #account-transaction, #account-reward {
  padding-top: 1.25rem; padding-bottom: 3rem;
}
.breadcrumb { font-size: .82rem; }
.card { border-color: var(--fd-line); border-radius: var(--fd-radius); }
.form-control, .form-select { border-radius: var(--fd-radius-sm); border-color: #cfd8e3; padding: .6rem .8rem; }
.form-control:focus, .form-select:focus { border-color: #111; box-shadow: none; }
legend { font-weight: 700; color: var(--fd-navy); font-size: 1.05rem; }
.table > :not(caption) > * > * { border-color: var(--fd-line); }
.alert { border-radius: var(--fd-radius); }

/* ---------- Footer ---------- */
.fd-footer { background: #fff; color: #555; padding: 3rem 0 1.5rem; margin-top: 2rem; font-size: .86rem; border-top: 1px solid var(--fd-line); }
.fd-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.fd-footer h5 { color: #111; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem; }
.fd-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.fd-footer a { color: #555; }
.fd-footer a:hover { color: #111; text-decoration: underline; }
.fd-footer__brand p { margin-top: 1rem; font-size: .78rem; line-height: 1.6; color: #888; max-width: 36ch; }
.fd-logo--footer { font-size: 1.1rem; }
.fd-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--fd-line); font-size: .78rem; color: #888; }
.fd-footer__payments { display: inline-flex; gap: .9rem; font-size: 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) and (min-width: 992px) {
  .fd-nav__item--secondary { display: none; }
}
@media (max-width: 1199.98px) {
  .fd-grid, .fd-tiles { grid-template-columns: repeat(3, 1fr); }
  .fd-footer__grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
  .fd-header__inner { grid-template-columns: auto 1fr; grid-template-rows: auto auto; row-gap: .6rem; padding: .75rem 0; }
  .fd-header__search { grid-column: 1 / -1; grid-row: 2; }
  .fd-header__actions { justify-self: end; }
  .fd-action__label { display: none; }
  .fd-action--trade { display: none; }
  .fd-cart__text { display: none; }
  .fd-nav__toggle { display: inline-flex; align-items: center; gap: .5rem; }
  .fd-nav__collapse.collapse:not(.show) { display: none; }
  .fd-nav__list { flex-direction: column; align-items: stretch; padding-bottom: .75rem; }
  .fd-nav__item--push { margin-left: 0; }
  .fd-nav__link { padding: .7rem 0; border-bottom: 1px solid var(--fd-line); width: 100%; }
  .fd-nav__dropdown { position: static !important; transform: none !important; box-shadow: none; border: 0; padding: 0 0 .5rem 1rem; }
  .fd-hero { padding: 2.75rem 0; }
  .fd-ranges, .fd-trade, .fd-product { grid-template-columns: 1fr; }
  .fd-hero__points { grid-template-columns: 1fr 1fr; }
  .fd-trade { padding: 1.75rem; }
  .fd-supplier { flex-direction: column; align-items: flex-start; }
  .fd-topbar__tagline { display: none; }
  .fd-topbar__inner { justify-content: flex-end; }
}
@media (max-width: 767.98px) {
  .fd-grid, .fd-tiles { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
  .fd-hero__points { grid-template-columns: 1fr; gap: 1rem; }
  .fd-footer__grid { grid-template-columns: 1fr 1fr; }
  .fd-footer__brand { grid-column: 1 / -1; }
  .fd-section { padding: 2.25rem 0; }
  .fd-card__form .fd-btn { font-size: .85rem; padding: .55rem .6rem; }
  .fd-product__title { font-size: 1.4rem; }
}
@media (max-width: 479.98px) {
  .fd-search__button { padding: 0 .8rem; font-size: .85rem; }
  .fd-logo__text { display: none; }
}

/* ---------- Trade pricing cues ---------- */
.fd-topbar__trade { color: #111; font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; }
.fd-trade-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border: 1px solid #111; border-radius: 999px; padding: .2rem .55rem; margin-left: .5rem; vertical-align: middle; }
.fd-nudge { font-size: .88rem; color: #444; background: var(--fd-bg-soft); border-radius: var(--fd-radius); padding: .7rem .9rem; margin-bottom: 1rem; display: flex; gap: .5rem; align-items: center; }
.fd-nudge a { font-weight: 600; text-decoration: underline; }
.fd-card__nudge { font-size: .74rem; color: #555; display: flex; gap: .35rem; align-items: center; }
.fd-trade__min { font-size: .85rem; color: var(--fd-ink-soft); padding-top: .25rem; }

/* ---------- Registration ---------- */
.fd-register { max-width: 760px; }
.fd-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0 1rem; }
.fd-choice__card { display: flex; gap: .75rem; border: 1.5px solid var(--fd-line); border-radius: var(--fd-radius); padding: 1rem 1.1rem; cursor: pointer; transition: border-color .15s, background .15s; }
.fd-choice__card:has(input:checked) { border-color: #111; background: var(--fd-bg-soft); }
.fd-choice__card input { margin-top: .3rem; accent-color: #111; }
.fd-choice__body { display: flex; flex-direction: column; gap: .3rem; }
.fd-choice__body strong { font-size: 1rem; display: flex; gap: .5rem; align-items: center; }
.fd-choice__body span { font-size: .86rem; color: var(--fd-ink-soft); }
.fd-note--boxed { border: 1px solid var(--fd-line); border-radius: var(--fd-radius); padding: .8rem 1rem; margin: 0 0 1.5rem; display: flex; gap: .6rem; align-items: flex-start; }
.fd-fieldset { border: 0; padding: 0; margin: 0 0 1.75rem; }
.fd-fieldset legend { font-family: var(--fd-font-display); font-size: 1.35rem; font-weight: 500; margin-bottom: 1rem; }
.fd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.fd-field { display: flex; flex-direction: column; gap: .35rem; }
.fd-field--wide { grid-column: 1 / -1; }
.fd-field label { font-size: .85rem; font-weight: 600; color: var(--fd-ink); }
.fd-field.required label::after { content: " *"; color: var(--fd-danger); }
.fd-form-footer { display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; padding-top: .5rem; border-top: 1px solid var(--fd-line); }
.fd-check { display: flex; gap: .5rem; align-items: center; font-size: .9rem; color: var(--fd-ink-soft); }
.fd-check input { accent-color: #111; }

/* ---------- Basket ---------- */
.fd-basket__title { font-size: 2rem; margin-bottom: 1.25rem; }
.fd-basket__table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.fd-basket__table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fd-muted); padding: .6rem 0; border-bottom: 1px solid var(--fd-line); }
.fd-basket__table td { padding: .9rem 0; border-bottom: 1px solid var(--fd-line); vertical-align: middle; }
.fd-basket__thumb { width: 72px; padding-right: .9rem !important; }
.fd-basket__thumb img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--fd-line); border-radius: var(--fd-radius-sm); background: #fff; }
.fd-basket__name a { font-weight: 600; color: var(--fd-ink); }
.fd-basket__meta { font-size: .78rem; color: var(--fd-muted); }
.fd-basket__qty { display: inline-flex; gap: .35rem; align-items: center; }
.fd-basket__qty input { width: 64px; text-align: center; }
.fd-icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--fd-line); border-radius: var(--fd-radius-sm); background: #fff; color: var(--fd-ink-soft); }
.fd-icon-btn:hover { border-color: #111; color: #111; }
.fd-icon-btn--danger:hover { border-color: var(--fd-danger); color: var(--fd-danger); }
.fd-basket__table tfoot td { padding: .5rem 0; border: 0; color: var(--fd-ink-soft); }
.fd-basket__table tfoot tr:last-child td { font-size: 1.05rem; color: var(--fd-ink); padding-top: .75rem; }
.fd-basket__actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
@media (max-width: 767.98px) {
  .fd-choice, .fd-form-grid { grid-template-columns: 1fr; }
  .fd-basket__table thead { display: none; }
  .fd-basket__table tbody tr { display: grid; grid-template-columns: 72px 1fr; gap: .25rem .9rem; padding: .9rem 0; border-bottom: 1px solid var(--fd-line); }
  .fd-basket__table tbody td { border: 0; padding: 0; }
  .fd-basket__table tbody td.fd-basket__thumb { grid-row: 1 / span 3; }
  .fd-basket__table tbody td.text-end { text-align: left !important; }
}

/* ---------- Compatibility finder ---------- */
.fd-finder { border: 1px solid var(--fd-line); border-radius: var(--fd-radius); padding: 1.5rem; margin-bottom: 2rem; }
.fd-finder__selects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.fd-finder__selects label { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; font-weight: 600; }
.fd-finder__selects .fd-select { padding: .7rem .9rem; font-size: .95rem; font-weight: 400; }
.fd-finder__or { text-align: center; color: var(--fd-muted); font-size: .85rem; margin: 1rem 0; position: relative; }
.fd-finder__or::before, .fd-finder__or::after { content: ""; position: absolute; top: 50%; width: calc(50% - 90px); border-top: 1px solid var(--fd-line); }
.fd-finder__or::before { left: 0; } .fd-finder__or::after { right: 0; }
.fd-finder__search { display: flex; gap: .6rem; }
.fd-finder__input { flex: 1; border: 1px solid #ccc; border-radius: var(--fd-radius-sm); padding: .7rem .9rem; font-size: .95rem; }
.fd-finder__input:focus { outline: 0; border-color: #111; }
.fd-results__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.fd-results__head h2 { font-size: 1.8rem; margin: 0; }
.fd-results__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.fd-results__col h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; font-family: var(--fd-font); font-weight: 600; }
.fd-grid--2 { grid-template-columns: repeat(2, 1fr); }
.fd-muted { color: var(--fd-muted); }
.fd-small { font-size: .85rem; }
.fd-matches { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; max-width: 560px; }
.fd-matches a { display: flex; justify-content: space-between; gap: 1rem; border: 1px solid var(--fd-line); border-radius: var(--fd-radius-sm); padding: .75rem 1rem; color: var(--fd-ink); }
.fd-matches a:hover { border-color: #111; }
.fd-matches span { color: var(--fd-muted); font-size: .85rem; }
.fd-fits__groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem 2rem; margin-bottom: .75rem; }
.fd-fits__brand h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fd-muted); font-family: var(--fd-font); font-weight: 700; margin-bottom: .5rem; }
.fd-fits__series { margin-bottom: .6rem; }
.fd-fits__series-name { font-size: .82rem; font-weight: 600; display: block; margin-bottom: .25rem; }
.fd-fits__series ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.fd-fits__series li a { display: inline-block; border: 1px solid var(--fd-line); border-radius: 999px; padding: .25rem .7rem; font-size: .82rem; color: var(--fd-ink); }
.fd-fits__series li a:hover { border-color: #111; }
@media (max-width: 991.98px) { .fd-results__cols { grid-template-columns: 1fr; } }
@media (max-width: 767.98px) { .fd-finder__selects { grid-template-columns: 1fr; } .fd-finder__search { flex-direction: column; } .fd-grid--2 { grid-template-columns: 1fr 1fr; } }

/* Brands page */
.fd-brands__tools { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.fd-brands__tools .fd-finder__search { max-width: 520px; }
.fd-brands__letters { margin: 0; }
.fd-brands__letters .fd-chip { min-width: 2.4rem; text-align: center; padding: .4rem .6rem; cursor: pointer; }
.fd-brands__letters .fd-chip:disabled { color: #bbb; border-color: var(--fd-line); background: #fafafa; cursor: default; }
.fd-chip--active, .fd-brands__letters .fd-chip--active:hover { background: #111; border-color: #111; color: #fff; }
.fd-brands__group { margin-bottom: 2rem; }
.fd-brands__letter { font-size: 1.1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--fd-line); margin-bottom: 1rem; }
.fd-brands__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.fd-brand { display: block; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); background: #fff; color: var(--fd-ink); overflow: hidden; }
.fd-brand:hover { border-color: #111; color: #111; }
.fd-brand__logo { height: 96px; display: grid; place-items: center; padding: .75rem; background: var(--fd-bg-soft); }
.fd-brand__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fd-brand__logo span { font-family: var(--fd-font-display); font-size: 1.4rem; text-align: center; }
.fd-brand__body { padding: .7rem .85rem .8rem; display: grid; gap: .15rem; }
.fd-brand__body span { font-size: .8rem; color: var(--fd-muted); }

/* Restock date + back-in-stock alerts */
.fd-product__restock { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; color: var(--fd-ink-soft); margin-left: .75rem; }
.fd-card__restock { font-size: .78rem; color: var(--fd-ink-soft); }
.fd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fd-alertbox { border: 1px solid var(--fd-line); border-radius: var(--fd-radius); padding: 1rem 1.1rem; margin: 1rem 0 1.25rem; background: var(--fd-bg-soft); }
.fd-alertbox__head { display: flex; align-items: center; gap: .5rem; font-size: 1rem; }
.fd-alertbox__text { font-size: .88rem; color: var(--fd-ink-soft); margin: .35rem 0 .75rem; }
.fd-alertbox__row { display: flex; gap: .5rem; }
.fd-alertbox__input { flex: 1; min-width: 0; border: 1px solid #ccc; border-radius: var(--fd-radius-sm); padding: .6rem .8rem; font-size: .95rem; background: #fff; }
.fd-alertbox__input:focus { outline: 0; border-color: #111; }
.fd-alertbox__msg { font-size: .88rem; margin-top: .5rem; }
.fd-alertbox__msg.is-ok { color: #1a7f37; }
.fd-alertbox__msg.is-error { color: #b42318; }
.fd-request { border: 1px solid var(--fd-line); border-radius: var(--fd-radius); padding: 1.25rem; margin-top: 2rem; background: #fff; }
.fd-request h3 { font-size: 1.25rem; margin: 0 0 .25rem; }
.fd-request p { color: var(--fd-ink-soft); font-size: .92rem; }
.fd-request__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .75rem; margin: 1rem 0 .75rem; }
.fd-request__grid label, .fd-request__note label { display: grid; gap: .3rem; font-size: .82rem; font-weight: 600; }
.fd-request__grid input, .fd-request__grid select, .fd-request__note textarea { border: 1px solid #ccc; border-radius: var(--fd-radius-sm); padding: .6rem .8rem; font-size: .95rem; font-weight: 400; font-family: inherit; }
.fd-request__note { margin-bottom: .75rem; }
.fd-request__note textarea { width: 100%; min-height: 70px; resize: vertical; }
.fd-request__msg { font-size: .88rem; margin-top: .6rem; }
.fd-request__msg.is-ok { color: #1a7f37; }
.fd-request__msg.is-error { color: #b42318; }
@media (max-width: 767.98px) { .fd-request__grid { grid-template-columns: 1fr; } .fd-alertbox__row { flex-direction: column; } .fd-product__restock { margin-left: 0; display: flex; margin-top: .35rem; } }

/* Genuine <-> compatible cross-nudge, home sections */
.fd-section__sub { margin: .25rem 0 0; color: var(--fd-ink-soft); font-size: .95rem; }
.fd-alt { border: 1px solid var(--fd-line); border-radius: var(--fd-radius); padding: 1.5rem; margin: 2rem 0 0; background: #fff; }
.fd-alt__head { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.fd-alt__head h2 { font-size: 1.5rem; margin: 0; }
.fd-alt__saving { font-size: .85rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: #111; color: #fff; }
.fd-alt__text { color: var(--fd-ink-soft); margin: .5rem 0 1.25rem; font-size: .92rem; }
.fd-alt__cards { max-width: 720px; }
.fd-alt--quiet { padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .92rem; }
.fd-alt--quiet .fd-chip { font-size: .82rem; }
@media (max-width: 575.98px) { .fd-alt__cards.fd-grid--2 { grid-template-columns: 1fr; } }

/* Quotes, account pages, tables */
.fd-quote { border: 1px solid var(--fd-line); border-radius: var(--fd-radius); padding: 0; margin-top: 1rem; background: #fff; }
.fd-quote summary { list-style: none; cursor: pointer; padding: .9rem 1.1rem; display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; }
.fd-quote summary::-webkit-details-marker { display: none; }
.fd-quote summary .fd-muted { font-size: .85rem; }
.fd-quote[open] summary { border-bottom: 1px solid var(--fd-line); }
.fd-quote__form { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: .75rem; align-items: end; padding: 1rem 1.1rem .5rem; }
.fd-quote__form label { display: grid; gap: .3rem; font-size: .82rem; font-weight: 600; }
.fd-quote__msg { grid-column: 1 / -1; font-size: .88rem; }
.fd-quote__msg.is-ok { color: #1a7f37; }
.fd-quote__msg.is-error { color: #b42318; }
.fd-quote > p { padding: 0 1.1rem .9rem; margin: 0; }
.fd-input { border: 1px solid #ccc; border-radius: var(--fd-radius-sm); padding: .6rem .8rem; font-size: .95rem; font-weight: 400; font-family: inherit; width: 100%; background: #fff; }
.fd-input:focus { outline: 0; border-color: #111; }
.fd-input--sm { padding: .4rem .6rem; width: 110px; }
.fd-textarea { width: 100%; border: 1px solid #ccc; border-radius: var(--fd-radius-sm); padding: .7rem .9rem; font: inherit; font-size: .95rem; }
.fd-label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.fd-table-wrap { overflow-x: auto; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); background: #fff; }
.fd-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.fd-table th, .fd-table td { padding: .75rem .9rem; border-bottom: 1px solid var(--fd-line); text-align: left; vertical-align: middle; }
.fd-table th { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fd-muted); font-weight: 600; }
.fd-table .num { text-align: right; white-space: nowrap; }
.fd-table tfoot td { border-bottom: 0; background: var(--fd-bg-soft); font-size: .85rem; }
.fd-quote-form__actions { display: flex; align-items: center; gap: 1rem; margin: .9rem 0 1.5rem; }
.fd-quote-form--send { margin-top: 1rem; }
.fd-status { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .03em; padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--fd-line); background: #fff; vertical-align: middle; }
.fd-status--accepted, .fd-status--ordered { background: #111; color: #fff; border-color: #111; }
.fd-status--countered { border-color: #111; }
.fd-status--rejected, .fd-status--declined, .fd-status--expired { color: var(--fd-muted); }
.fd-quote-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.fd-quote-head h1 { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.fd-quote-cta { border: 1px solid #111; border-radius: var(--fd-radius); padding: 1.25rem; margin-bottom: 1.5rem; display: grid; gap: .5rem; justify-items: start; }
.fd-quote-respond { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin: 1.5rem 0; }
.fd-quote-respond__decline { display: flex; gap: .5rem; align-items: center; }
.fd-quote-respond__decline .fd-input { width: 260px; }
.fd-quote-note { border-left: 3px solid #111; padding: .5rem 1rem; margin: 1.25rem 0; }
.fd-quote-note--mine { border-color: var(--fd-line); }
.fd-quote-note p { margin: .25rem 0 0; color: var(--fd-ink-soft); }
.fd-h3 { font-size: 1.25rem; margin: 1.5rem 0 .75rem; }
.fd-timeline { list-style: none; padding: 0; margin: 0 0 1.5rem; border-left: 2px solid var(--fd-line); }
.fd-timeline li { padding: .35rem 0 .35rem 1rem; position: relative; font-size: .92rem; }
.fd-timeline li::before { content: ""; position: absolute; left: -6px; top: .85rem; width: 10px; height: 10px; border-radius: 50%; background: #111; }
.fd-timeline__date { color: var(--fd-muted); margin-right: .5rem; }
.fd-timeline__note { color: var(--fd-ink-soft); margin-top: .15rem; }
.fd-note--ok { border-color: #1a7f37; color: #1a7f37; }
.fd-note--error { border-color: #b42318; color: #b42318; }
.fd-account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.fd-account-block { border: 1px solid var(--fd-line); border-radius: var(--fd-radius); padding: 1.25rem; background: #fff; }
.fd-account-block .fd-h3 { margin-top: 0; }
.fd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.fd-list a { color: var(--fd-ink); }
.fd-list a:hover { text-decoration: underline; }
@media (max-width: 767.98px) { .fd-quote__form { grid-template-columns: 1fr; } .fd-account-grid { grid-template-columns: 1fr; } .fd-quote-head { flex-direction: column; } }

/* Reseller downloads */
.fd-downloads { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .88rem; }
.fd-downloads__label { color: var(--fd-muted); margin-right: .25rem; }

/* Supplier application form */
.fd-steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.fd-steps li { counter-increment: step; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); padding: 1rem 1.1rem 1rem 3rem; position: relative; font-size: .92rem; color: var(--fd-ink-soft); background: #fff; }
.fd-steps li::before { content: counter(step); position: absolute; left: 1rem; top: .9rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #111; color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.fd-form { max-width: 880px; }
.fd-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.fd-form__grid--wide { grid-template-columns: 1fr 1fr; }
.fd-field { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; }
.fd-field > span { display: block; }
.fd-field small { font-weight: 400; }
.fd-field--full { grid-column: 1 / -1; }
.fd-field.is-invalid .fd-input, .fd-field.is-invalid .fd-textarea { border-color: #b42318; }
.fd-field__error { color: #b42318; font-weight: 500; }
.fd-radios { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-weight: 400; padding: .4rem 0; }
.fd-radios label { display: flex; align-items: center; gap: .4rem; }
.fd-check { display: grid; grid-template-columns: auto 1fr; gap: .25rem .6rem; align-items: start; margin: 1.5rem 0; font-size: .9rem; }
.fd-check input { margin-top: .25rem; }
.fd-check .fd-field__error { grid-column: 2; }
@media (max-width: 767.98px) { .fd-steps, .fd-form__grid { grid-template-columns: 1fr; } }

/* Content pages */
.fd-prose { max-width: 76ch; }
.fd-prose h1 { font-size: 2.2rem; margin-bottom: 1rem; }
.fd-prose h2 { font-size: 1.6rem; margin: 2rem 0 .75rem; }
.fd-prose h3 { font-size: 1.15rem; margin: 1.75rem 0 .5rem; font-family: var(--fd-font); font-weight: 700; }
.fd-prose p, .fd-prose li { color: var(--fd-ink-soft); line-height: 1.65; }
.fd-prose ul, .fd-prose ol { padding-left: 1.25rem; }
.fd-prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .92rem; }
.fd-prose th, .fd-prose td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--fd-line); }
.fd-prose th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fd-muted); }
.fd-draft { border: 1px dashed #b42318; color: #b42318 !important; border-radius: var(--fd-radius); padding: .75rem 1rem; font-size: .9rem; }

/* Product page: description under the photo, sticky buy box */
.fd-product__about { margin-top: 1.75rem; }
.fd-product__about .fd-h3 { margin: 1.5rem 0 .5rem; }
.fd-product__about .fd-h3:first-child { margin-top: 0; }
.fd-product__desc p { color: var(--fd-ink-soft); line-height: 1.65; }

/* Model pages */
.fd-models__search { max-width: 520px; margin-bottom: 1.5rem; }
.fd-models__brand { margin-bottom: 2.5rem; }
.fd-models__brand h2 { font-size: 1.5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--fd-line); margin-bottom: 1rem; }
.fd-models__series-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem 2rem; }
.fd-models__series h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fd-muted); font-family: var(--fd-font); font-weight: 700; margin-bottom: .4rem; }
.fd-models__series ul { list-style: none; margin: 0; padding: 0; columns: 1; }
.fd-models__series li { font-size: .92rem; padding: .15rem 0; }
.fd-models__series a { color: var(--fd-ink); }
.fd-models__series a:hover { text-decoration: underline; }
.fd-model__about { margin-bottom: 2rem; }
.fd-model__about h2 { font-size: 1.35rem; margin-top: 0; }
.fd-model__siblings { margin: 2rem 0 1rem; }
/* Blog */
.fd-blog__topics { margin: 0 0 1.5rem; }
.fd-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.fd-post { border: 1px solid var(--fd-line); border-radius: var(--fd-radius); background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.fd-post__image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.fd-post__body { padding: 1.1rem 1.25rem 1.25rem; display: grid; gap: .4rem; }
.fd-post__meta { font-size: .78rem; color: var(--fd-muted); text-transform: uppercase; letter-spacing: .06em; }
.fd-post__body h2 { font-size: 1.2rem; margin: 0; }
.fd-post__body h2 a { color: var(--fd-ink); }
.fd-post__body p { color: var(--fd-ink-soft); font-size: .92rem; margin: 0 0 .25rem; }
.fd-post-full { max-width: 76ch; }
.fd-post-full__image { width: 100%; border-radius: var(--fd-radius); margin: 1rem 0 1.5rem; }
.fd-post-comments { max-width: 76ch; margin-top: 2rem; }
@media (max-width: 991.98px) { .fd-blog__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .fd-blog__grid { grid-template-columns: 1fr; } }

/* Glossary */
.fd-glossary__letters { margin: 0 0 2rem; }
.fd-glossary__group { margin-bottom: 2.25rem; scroll-margin-top: 1rem; }
.fd-glossary__group h2 { font-size: 1.35rem; border-bottom: 1px solid var(--fd-line); padding-bottom: .4rem; margin-bottom: 1rem; }
.fd-glossary__list { margin: 0; display: grid; gap: 1.1rem; max-width: 80ch; }
.fd-glossary__entry dt { font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; }
.fd-glossary__entry dt a { color: var(--fd-ink); }
.fd-glossary__entry dd { margin: 0; color: var(--fd-ink-soft); line-height: 1.6; font-size: .95rem; }

/* Two-type menu and home tiles */
.fd-nav__dropdown--wide { min-width: 520px; padding: 1rem 1.25rem .5rem; }
.fd-nav__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .5rem 1.5rem; }
.fd-nav__colhead { display: block; font-weight: 700; font-size: .85rem; letter-spacing: .02em; color: var(--fd-ink); padding: .3rem 0 .4rem; }
.fd-nav__colhead:hover { text-decoration: underline; }
.fd-nav__cols .dropdown-item { padding-left: 0; }
.fd-section--types { padding: 0 0 2.5rem; }
.fd-types { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.fd-type { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; gap: .15rem 1rem; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); padding: 1.35rem 1.5rem; color: var(--fd-ink); background: #fff; }
.fd-type:hover { border-color: #111; color: #111; }
.fd-type__name { font-family: var(--fd-font-display); font-size: 1.5rem; font-weight: 600; }
.fd-type__brands { font-size: .88rem; color: var(--fd-muted); grid-row: 2; }
.fd-type i { grid-row: 1 / span 2; font-size: 1.1rem; }
@media (max-width: 767.98px) { .fd-types { grid-template-columns: 1fr; } .fd-nav__dropdown--wide { min-width: 0; } .fd-nav__cols { grid-template-columns: 1fr; } }

/* Hover dropdowns: no gap between the link and the panel so the mouse can travel down */
@media (hover: hover) and (min-width: 992px) {
  .fd-nav__item.dropdown .dropdown-menu { margin-top: 0; }
  .fd-nav__item.dropdown.show > .fd-nav__link { color: #111; }
}

/* Checkout steps */
.fd-steps-wrap { display: grid; gap: 1.25rem; max-width: 880px; }
.fd-step { border: 1px solid var(--fd-line); border-radius: var(--fd-radius); background: #fff; }
.fd-step__head { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--fd-line); }
.fd-step__head h2 { font-size: 1.2rem; margin: 0; flex: 1; }
.fd-step__num { width: 1.9rem; height: 1.9rem; border-radius: 50%; background: #111; color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center; }
.fd-step__state { font-size: .8rem; color: var(--fd-muted); }
.fd-step.is-done .fd-step__state::before { content: "Done"; color: #1a7f37; font-weight: 600; }
.fd-step.is-done .fd-step__num { background: #1a7f37; }
.fd-step__body { padding: 1.25rem; }
.fd-step__hint { display: none; margin: 0; color: var(--fd-muted); font-size: .92rem; }
.fd-step.is-locked .fd-step__head { border-bottom: 0; }
.fd-step.is-locked .fd-step__num { background: var(--fd-line); color: var(--fd-muted); }
.fd-step.is-locked .fd-step__head h2 { color: var(--fd-muted); }
.fd-step.is-locked .fd-step__hint { display: block; }
.fd-step.is-locked .fd-step__body > div { display: none; }
#checkout-checkout legend { font-family: var(--fd-font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: .75rem; }
#checkout-checkout .form-label { font-size: .85rem; font-weight: 600; }
#checkout-checkout .required .form-label::after, #checkout-checkout .required > .form-check-label::after { content: " *"; color: #b42318; }
#checkout-checkout .form-control, #checkout-checkout .form-select { border-color: #ccc; }
#checkout-checkout .form-control:focus, #checkout-checkout .form-select:focus { border-color: #111; box-shadow: none; }
#checkout-checkout .btn-primary { background: #111; border-color: #111; }
#checkout-checkout .btn-primary:hover { background: #000; border-color: #000; }
#checkout-checkout .input-group-text { background: var(--fd-bg-soft); border-color: #ccc; }
#checkout-checkout .table { font-size: .92rem; }

/* Logo mark next to the wordmark */
.fd-logo .fd-logo__icon { height: 40px; width: auto; max-width: none; flex: none; }
.fd-logo--footer .fd-logo__icon { height: 32px; }
@media (max-width: 575.98px) { .fd-logo .fd-logo__icon { height: 32px; } }

/* ---------- Phone layout (owner request 22 Oct 2026): leaner header and home ---------- */
.fd-show-mobile { display: none; }
@media (max-width: 767.98px) {
  .fd-hide-mobile { display: none !important; }
  .fd-show-mobile { display: block; }
  li.fd-show-mobile { display: list-item; }
  html, body { overflow-x: hidden; }
  .fd-header__inner { gap: .6rem; column-gap: .75rem; min-height: 0; padding: .6rem 0; }
  .fd-logo img { max-height: 30px; max-width: 150px; }
  .fd-header__actions { gap: .15rem; }
  .fd-action { padding: .4rem; }
  .fd-cart__button { padding: .5rem .7rem; }
  .fd-hero { padding: 1.5rem 0 1.25rem; border-bottom: 0; }
  .fd-hero__inner { gap: 0; }
  .fd-hero h1 { font-size: 1.85rem; margin-bottom: .6rem; }
  .fd-hero p.fd-hero__short { font-size: .95rem; margin-bottom: 1rem; }
  .fd-hero__actions { flex-direction: column; gap: .5rem; }
  .fd-hero__actions .fd-btn { width: 100%; justify-content: center; padding: .7rem 1rem; font-size: .95rem; }
  .fd-home > .fd-section:first-of-type, #common-home .fd-section:first-of-type { padding-top: .75rem; }
  .fd-trade { padding: 1.25rem; gap: 1rem; }
  .fd-trade h2, .fd-supplier h2 { font-size: 1.35rem; margin-bottom: .4rem; }
  .fd-footer__brand p.fd-show-mobile { font-size: .78rem; line-height: 1.55; }
}
@media (max-width: 767.98px) {
  /* Product cards on phones: drop the EAN and heart, full-width basket button */
  .fd-card__ean, .fd-card__wish, .fd-card__nudge { display: none; }
  .fd-card__form .fd-btn { width: 100%; min-width: 0; justify-content: center; padding: .55rem .4rem; font-size: .82rem; }
  .fd-card__body { padding: .75rem; }
  .fd-card__title { font-size: .88rem; }
  .fd-section__sub { display: none; }
}
@media (max-width: 767.98px) {
  .fd-supplier { padding-left: 12px !important; padding-right: 12px !important; gap: .75rem; }
  .fd-section--supplier { padding-bottom: 2rem; }
  .fd-logo--footer .fd-logo__text { display: inline; }
}
@media (max-width: 991.98px) {
  /* .fd-header__inner is also the .container: keep its side gutter when changing vertical padding */
  .fd-header__inner { padding-left: 12px; padding-right: 12px; }
}

/* ---------- Conversion tweaks (22 Oct 2026) ---------- */
.fd-reassure { list-style: none; margin: 1rem 0 0; padding: .85rem 1rem; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); display: grid; gap: .45rem; font-size: .88rem; color: var(--fd-ink-soft); }
.fd-reassure i { width: 1.1rem; color: #111; margin-right: .35rem; }
.fd-secure { margin: .35rem 0 0; font-size: .9rem; color: var(--fd-ink-soft); }
.fd-secure i { color: #1a7f37; margin-right: .3rem; }
.fd-cart__button { position: relative; }
.fd-cart__count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #1a7f37; color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.fd-addedbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050; transform: translateY(110%); transition: transform .25s ease; padding: 0 12px 12px; pointer-events: none; }
.fd-addedbar.is-open { transform: none; pointer-events: auto; }
.fd-addedbar__inner { max-width: 620px; margin: 0 auto; background: #fff; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); box-shadow: 0 10px 30px rgba(0,0,0,.15); padding: .75rem .9rem; display: flex; align-items: center; gap: .5rem; }
.fd-addedbar__msg { flex: 1; font-weight: 600; font-size: .92rem; }
.fd-addedbar__msg i { color: #1a7f37; margin-right: .3rem; }
.fd-addedbar__close { border: 0; background: none; font-size: 1.4rem; line-height: 1; color: var(--fd-muted); padding: 0 .25rem; }
@media (max-width: 767.98px) {
  /* Lead with buying: device finder is the main button, trade becomes a quiet link */
  .fd-hero__actions { gap: .35rem; }
  .fd-hero__finder { order: 1; background: #111 !important; color: #fff !important; border-color: #111 !important; }
  .fd-hero__trade { order: 2; background: transparent !important; color: #111 !important; border: 0 !important; text-decoration: underline; font-size: .9rem !important; padding: .4rem !important; }
  /* Login page: returning customer on top, new customer below, full width */
  #account-login #content > .row > .col { flex: 0 0 100%; max-width: 100%; }
  #account-login #content > .row > .col:last-child { order: -1; }
  .fd-addedbar__inner { flex-wrap: wrap; }
  .fd-addedbar__msg { flex-basis: 100%; }
  .fd-addedbar__inner .fd-btn { flex: 1; justify-content: center; }
  .fd-addedbar__close { position: absolute; top: .4rem; right: 1.1rem; }
  .fd-addedbar__inner { position: relative; }
}
@media (max-width: 991.98px) {
  /* Product page on phones/tablets: photo, then price and Add to basket, then description and fits */
  .fd-product { display: flex; flex-direction: column; gap: 1.25rem; }
  .fd-product__gallery { display: contents; }
  .fd-product__gallery > .magnific-popup { order: 1; }
  .fd-product__summary { order: 2; }
  .fd-product__about { order: 3; margin-top: 0; }
}
@media (max-width: 767.98px) {
  .fd-nudge { display: block; line-height: 1.5; }
  .fd-nudge i { margin-right: .35rem; }
  .fd-nudge a { display: inline; }
}
/* Checkout buys at retail: the trade application fields never belong in the checkout form */
#form-register .custom-field { display: none !important; }

/* Checkout delivery options: a tappable list instead of the pop-up */
.fd-ship { margin: 0; }
.fd-ship__list { display: grid; gap: .6rem; }
.fd-ship__opt { display: flex; align-items: center; gap: .85rem; margin: 0; padding: .9rem 1rem; border: 1px solid var(--fd-line); border-radius: var(--fd-radius); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.fd-ship__opt:hover { border-color: var(--fd-ink-soft); }
.fd-ship__opt:has(input:checked) { border-color: var(--fd-ink); box-shadow: 0 0 0 1px var(--fd-ink); }
.fd-ship__opt .form-check-input { flex: 0 0 auto; margin: 0; width: 1.15rem; height: 1.15rem; }
.fd-ship__text { flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.3; }
.fd-ship__text small { color: var(--fd-muted); font-size: .86rem; margin-top: .15rem; }
.fd-ship__price { flex: 0 0 auto; font-weight: 700; }
.fd-ship__opt .form-check-input:checked { background-color: var(--fd-ink); border-color: var(--fd-ink); }
.fd-ship__opt .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(17,17,17,.15); border-color: var(--fd-ink); }
.fd-pay__comment { margin-top: 1.25rem; }
.fd-pay__comment .form-label { font-size: .92rem; }
