:root {
  --red: #ce1126;
  --red-dark: #9b0d1d;
  --red-soft: #fbe8ea;
  --black: #111214;
  --ink: #1b1b1f;
  --muted: #6b6b75;
  --line: #e6e6ea;
  --bg: #ffffff;
  --alt: #f5f5f7;
  --gold: #c9a227;
  --wa: #25d366;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border: 0; border-radius: 8px;
  background: var(--red); color: #fff; font: inherit; font-weight: 800; font-size: 1rem;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s;
}
.btn:hover { background: var(--red-dark); }
.btn:disabled { background: #c9c9cf; cursor: not-allowed; }
.btn.full { width: 100%; }
.btn.small { height: 38px; padding: 0 14px; font-size: .9rem; }
.btn.ghost-light { background: transparent; border: 2px solid rgba(255,255,255,.55); }
.btn.ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn.light { background: #fff; color: var(--red); }
.btn.light:hover { background: #f1f1f1; }
.btn.wa-btn { background: var(--wa); color: #fff; }
.btn.wa-btn:hover { background: #1eb957; }
.text-link { background: none; border: 0; color: var(--red); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

select, input[type="search"], .field input, .field textarea {
  width: 100%; height: 46px; padding: 0 12px; font: inherit; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
select:disabled { background: #f2f2f4; color: #aaa; cursor: not-allowed; }

/* ---------- Announcement ---------- */
.announce { background: var(--black); color: #f0f0f0; font-size: .86rem; }
.announce-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; min-height: 38px; padding-block: 4px; }
.announce-center { color: #fff; font-weight: 800; font-size: .95rem; letter-spacing: .3px; text-align: center; white-space: nowrap; }
.announce-links { display: flex; align-items: center; justify-content: flex-end; gap: 16px; flex-shrink: 0; }
.announce-links a { display: flex; align-items: center; gap: 6px; text-decoration: none; }
@media (max-width: 860px) {
  .announce-inner { grid-template-columns: 0 1fr auto; gap: 8px; }
  .announce-center { text-align: start; font-size: .85rem; white-space: normal; }
}
.lang-btn { background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 2px 14px; font: inherit; font-weight: 700; cursor: pointer; }
.lang-btn:hover { background: var(--red-dark); }

/* ---------- Header ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 110px; max-width: 1560px; padding-inline: 20px; }
.flag-stripe { display: flex; height: 7px; }
.flag-stripe i { flex: 1; }
.flag-stripe i:nth-child(1) { background: var(--red); }
.flag-stripe i:nth-child(2) { background: #fff; }
.flag-stripe i:nth-child(3) { background: var(--black); }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo { align-self: stretch; }
.logo-mark { width: 110px; height: 110px; border-radius: 0; object-fit: cover; display: block; }
.footer-logo-img { width: 90px; height: 90px; border-radius: 0; display: block; margin-bottom: 12px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-size: 1.35rem; font-weight: 900; letter-spacing: 1px; direction: ltr; text-align: start; }
.logo-text small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.accent { color: var(--red); }
#logoAccent, #fLogoAccent, #aLogoAccent { margin-left: .3em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 6px; background: none; border: 0; font: inherit;
  font-weight: 700; font-size: 1.08rem; color: var(--ink); padding: 12px 14px; border-radius: 8px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nav-link:hover, .nav-item.open > .nav-link { color: var(--red); background: var(--red-soft); }
.caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }

.mega {
  display: none; position: absolute; top: calc(100% + 10px); inset-inline-start: 0; z-index: 40;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 18px 40px rgba(0,0,0,.14);
  width: 620px; max-width: calc(100vw - 32px);
  grid-template-columns: 200px 1fr;
}
.nav-item.open .mega { display: grid; }
/* Invisible bridge over the gap between the menu button and the dropdown,
   so moving the mouse down doesn't close it */
.mega::before { content: ""; position: absolute; inset-inline: 0; bottom: 100%; height: 16px; }
.mega-brands { border-inline-end: 1px solid var(--line); padding: 8px; max-height: 420px; overflow-y: auto; }
.mega-brands button {
  display: flex; justify-content: space-between; width: 100%; background: none; border: 0; font: inherit;
  padding: 8px 12px; border-radius: 6px; cursor: pointer; font-weight: 700; color: var(--ink); text-align: start;
}
.mega-brands button:hover, .mega-brands button.active { background: var(--red); color: #fff; }
.mega-models { padding: 14px 18px; max-height: 440px; overflow-y: auto; }
.mega-models h4 { font-size: 1.05rem; margin-bottom: 8px; }
.mega-models ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
.mega-models a, .mega-cats a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink); font-weight: 600; }
.mega-models a:hover, .mega-cats a:hover { color: var(--red); }
.mega-models a small { color: var(--muted); font-weight: 400; margin-inline-start: 4px; direction: ltr; unicode-bidi: isolate; }
.mega-models .all-link { color: var(--red); margin-top: 8px; display: inline-block; }
.mega-cats { width: 420px; grid-template-columns: 1fr 1fr; padding: 12px 18px; gap: 0 18px; }
.mega-cats a { display: flex; align-items: center; gap: 10px; }
.mega-cats a svg { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; }
.mega-helmets, #megaCats { width: 380px; }
.mega-cats .all-link { grid-column: 1 / -1; color: var(--red); border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }

.header-search { flex: 1; display: flex; min-width: 0; max-width: 680px; margin-inline-start: auto; }
.header-search input { height: 50px; font-size: 1rem; padding-inline: 16px; border-start-end-radius: 0; border-end-end-radius: 0; border-inline-end: 0; }
.header-search button svg { width: 22px; height: 22px; }
.header-search button {
  width: 56px; flex-shrink: 0; border: 0; background: var(--red); color: #fff; cursor: pointer;
  border-start-end-radius: 8px; border-end-end-radius: 8px; display: grid; place-items: center;
}
.header-search button:hover { background: var(--red-dark); }

.cart-btn { position: relative; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 10px; flex-shrink: 0; }
.cart-btn svg, .acc-btn svg { width: 28px; height: 28px; }
.cart-btn:hover { color: var(--red); }
.badge {
  position: absolute; top: 0; inset-inline-end: -2px; min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--red); color: #fff; border-radius: 999px; font-size: .78rem; font-weight: 800;
  display: grid; place-items: center; line-height: 1;
}

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; flex-shrink: 0; }
.burger span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(206,17,38,.35), transparent 45%),
    linear-gradient(160deg, #1a1b1f 0%, #0d0d0f 100%);
  padding: 56px 0 96px;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; background: rgba(201,162,39,.15); color: var(--gold); border: 1px solid rgba(201,162,39,.4);
  padding: 2px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(1.8rem, 4.2vw, 3rem); line-height: 1.25; font-weight: 900; }
.hero-copy p { color: #c9c9cf; font-size: 1.08rem; margin: 14px 0 26px; max-width: 560px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.finder {
  background: #fff; color: var(--ink); border-radius: 14px; padding: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.4); display: flex; flex-direction: column; gap: 12px;
  border-top: 5px solid var(--red);
}
.finder h2 { font-size: 1.35rem; font-weight: 900; }
.finder > p { color: var(--muted); font-size: .92rem; margin-top: -8px; }
.finder label { display: flex; flex-direction: column; gap: 4px; }
.finder label span { font-size: .8rem; font-weight: 800; color: var(--muted); }
.finder .btn { margin-top: 4px; }

/* Background video behind the banner and bike finder */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.hero-shade {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,10,12,.82) 0%, rgba(10,10,12,.55) 50%, rgba(10,10,12,.35) 100%),
    linear-gradient(0deg, rgba(10,10,12,.6) 0%, transparent 40%);
}
[dir="rtl"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(10,10,12,.82) 0%, rgba(10,10,12,.55) 50%, rgba(10,10,12,.35) 100%),
    linear-gradient(0deg, rgba(10,10,12,.6) 0%, transparent 40%);
}
.hero.has-video .pyramids { display: none; }
@media (max-width: 860px) {
  .hero-shade, [dir="rtl"] .hero-shade { background: rgba(10,10,12,.62); }
}

.pyramids { position: absolute; bottom: 0; left: 0; width: 100%; height: 160px; }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item svg { width: 40px; height: 40px; color: var(--red); flex-shrink: 0; }
.trust-item strong { display: block; font-size: .98rem; }
.trust-item span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section.alt { background: var(--alt); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; position: relative; padding-bottom: 8px; }
.section-head h2::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 56px; height: 4px; background: var(--red); border-radius: 2px; }

/* Pages: only the sections of the current page are shown */
body:not([data-view="home"]) [data-page="home"],
body:not([data-view="shop"]) [data-page="shop"],
body:not([data-view="account"]) [data-page="account"],
body:not([data-view="product"]) [data-page="product"],
body:not([data-view="page"]) [data-page="page"],
body:not([data-view="dealers"]) [data-page="dealers"] { display: none !important; }
.block-off { display: none !important; }

/* ---------- Content pages ---------- */
.cms-body { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px clamp(18px, 4vw, 44px); max-width: 860px; line-height: 1.8; }
.cms-body h2 { font-size: 1.7rem; margin: 4px 0 14px; }
.cms-body h3 { font-size: 1.25rem; margin: 22px 0 8px; }
.cms-body h4 { font-size: 1.05rem; margin: 18px 0 6px; }
.cms-body p, .cms-body ul, .cms-body ol { margin: 0 0 12px; }
.cms-body ul, .cms-body ol { padding-inline-start: 22px; }
.cms-body a { color: var(--red); }
.muted-p { color: var(--muted); }

/* ---------- Promo banner ---------- */
.promo-wrap { padding-block: 26px; }
.promo {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  min-height: 170px; padding: 28px clamp(18px, 4vw, 48px); border-radius: 16px; text-decoration: none; color: #fff;
  background: linear-gradient(120deg, var(--black), var(--red-dark)); background-size: cover; background-position: center;
}
.promo strong { display: block; font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 900; }
.promo span { display: block; opacity: .9; margin-top: 4px; max-width: 560px; }
.promo .btn { flex-shrink: 0; margin: 0; }

/* ---------- Dealers ---------- */
.dealers-teaser { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.dealers-teaser p { color: var(--muted); margin-top: 6px; }
.dealer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.dealer-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.dealer-card h3 { font-size: 1.15rem; }
.dealer-loc { color: var(--red); font-weight: 700; font-size: .9rem; }
.dealer-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.dealer-brands span { background: var(--alt); border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-weight: 700; }
.dealer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--red); color: var(--red); }
#dealerGov { max-width: 320px; }
#shop { min-height: 70vh; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs span:last-child { color: var(--ink); font-weight: 700; }

/* Category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cat-tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; text-align: start;
  background: var(--black); color: #fff; border: 0; border-radius: 12px; padding: 20px; min-height: 150px;
  font: inherit; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.cat-tile svg { width: 44px; height: 44px; color: var(--red); margin-bottom: auto; }
.cat-tile::after { content: ""; position: absolute; inset-inline-end: -30px; bottom: -30px; width: 110px; height: 110px; background: var(--red); opacity: .18; transform: rotate(45deg); }
.cat-img {
  position: relative; z-index: 1; margin: -20px -20px 0; height: 150px; background: #fff;
  display: flex; align-items: center; justify-content: center; padding: 12px; overflow: hidden;
}
.cat-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .25s; }
.cat-tile:hover .cat-img img { transform: scale(1.06); }
.cat-tile strong { font-size: 1.08rem; margin-top: 16px; }
.cat-tile span { font-size: .82rem; color: #a9a9b1; }
.cat-tile .explore { color: #fff; font-weight: 700; font-size: .85rem; }

/* Brand row */
.brand-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.brand-tile {
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 16px 12px; text-align: center;
  font: inherit; cursor: pointer; transition: border-color .15s, transform .15s;
}
.brand-tile:hover { border-color: var(--red); transform: translateY(-2px); }
.brand-logo { height: 52px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.brand-logo img { max-height: 52px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .15s, opacity .15s; }
.brand-tile:hover .brand-logo img { filter: none; opacity: 1; }
/* Phones and tablets can't hover: show brand logos in full colour */
@media (hover: none) { .brand-logo img { filter: none; opacity: 1; } }
.brand-mono {
  width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--red-soft); color: var(--red); font-weight: 900; font-size: 1rem; letter-spacing: .5px;
}
.brand-tile:hover .brand-mono { background: var(--red); color: #fff; }
.brand-tile strong { display: block; font-size: 1.1rem; font-weight: 900; letter-spacing: .5px; }
.brand-tile span { color: var(--muted); font-size: .82rem; }

/* ---------- Shop ---------- */
.fit-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--black); color: #fff; padding: 12px 18px; border-radius: var(--radius); margin-bottom: 16px;
  border-inline-start: 5px solid var(--red);
}
.fit-banner .text-link { color: #fff; }
.toolbar { display: grid; grid-template-columns: 1fr 240px; gap: 12px; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit;
  padding: 4px 16px; border-radius: 999px; cursor: pointer; font-size: .92rem; font-weight: 700;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.chip.offer { border-color: var(--gold); color: #8a6d0f; }
.chip.offer.active { background: var(--gold); color: #fff; }
.count { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.09); transform: translateY(-2px); }
.thumb { position: relative; height: 170px; background: linear-gradient(160deg, #fafafa, #efeff2); display: grid; place-items: center; color: var(--red); }
.thumb svg { width: 72px; height: 72px; }
.thumb { background: #fff; border-bottom: 1px solid var(--line); }
.thumb { flex-shrink: 0; overflow: hidden; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.card-body { position: relative; background: #fff; }
.sale-badge {
  position: absolute; top: 10px; inset-inline-start: 10px; background: var(--red); color: #fff;
  font-size: .78rem; font-weight: 800; padding: 2px 10px; border-radius: 999px;
}
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cat { font-size: .76rem; font-weight: 800; color: var(--red); }
.card h3 { font-size: 1.02rem; line-height: 1.4; font-weight: 800; }
.desc { font-size: .85rem; color: var(--muted); }
.fits { font-size: .82rem; color: var(--muted); }
.fits.ok { color: #12813a; font-weight: 700; }
.low { font-size: .78rem; color: var(--red-dark); font-weight: 700; }
.card-foot { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-top: auto; padding-top: 10px; }
.price { font-size: 1.2rem; font-weight: 900; color: var(--ink); white-space: nowrap; }
.old-price { display: block; font-size: .85rem; color: var(--muted); text-decoration: line-through; font-weight: 600; }
.add-btn { width: 44px; height: 44px; padding: 0; flex-shrink: 0; }
.add-btn svg { width: 22px; height: 22px; }

.more-wrap { display: flex; justify-content: center; margin-top: 24px; }
.more-btn { background: var(--black); min-width: 240px; }
.more-btn:hover { background: #000; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* ---------- WhatsApp band ---------- */
.wa-band { background: var(--red); color: #fff; padding: 40px 0; }
.wa-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.wa-band h2 { font-size: 1.6rem; font-weight: 900; }
.wa-band p { opacity: .9; max-width: 640px; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #b5b5bd; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px 36px; }
.footer-logo { font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: 1px; direction: ltr; text-align: start; margin-bottom: 8px; }
.footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: 12px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2a2b30; font-size: .85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 16px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-badges span { border: 1px solid #3a3b42; border-radius: 6px; padding: 1px 10px; color: #ddd; font-size: .8rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 25; width: 56px; height: 56px;
  background: var(--wa); color: #fff; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Cart drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 50; }
.drawer {
  position: fixed; top: 0; inset-inline-end: 0; height: 100%; width: min(420px, 100%);
  background: #fff; z-index: 60; display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .25s ease, visibility .25s; visibility: hidden;
}
[dir="rtl"] .drawer { transform: translateX(-105%); }
.drawer.open, [dir="rtl"] .drawer.open { transform: translateX(0); visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 3px solid var(--red); }
.drawer-head h2 { font-size: 1.2rem; font-weight: 900; }
.close { background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--muted); }
.close:hover { color: var(--red); }
.drawer-view { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.drawer-scroll { flex: 1; overflow-y: auto; padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; }
.ship-progress { padding: 12px 18px; background: var(--alt); font-size: .88rem; font-weight: 700; }
.ship-progress .bar { height: 6px; background: #ddd; border-radius: 999px; margin-top: 6px; overflow: hidden; }
.ship-progress .bar i { display: block; height: 100%; background: var(--red); border-radius: 999px; transition: width .3s; }
.ship-progress.free { color: #12813a; }
.ship-progress.free .bar i { background: #12813a; }
.cart-list { list-style: none; flex: 1; overflow-y: auto; padding: 4px 18px; }
.cart-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-thumb { width: 56px; height: 56px; border-radius: 8px; background: var(--alt); color: var(--red); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.cart-thumb svg { width: 30px; height: 30px; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.cart-info { flex: 1; min-width: 0; }
.cart-list .name { font-weight: 700; font-size: .93rem; line-height: 1.35; }
.cart-list .sub { color: var(--muted); font-size: .85rem; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 28px; height: 28px; border: 1px solid var(--line); background: #fff; border-radius: 6px; cursor: pointer; font-weight: 800; font-family: inherit; }
.qty button:hover { border-color: var(--red); color: var(--red); }
.cart-empty { color: var(--muted); justify-content: center; border: 0 !important; padding: 40px 0 !important; }
.drawer-foot { padding: 14px 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.sum-row { display: flex; justify-content: space-between; font-size: .95rem; }
.delivery-note {
  margin: 4px 0 2px; padding: 8px 12px; border-radius: 8px; background: #edf7f0; color: #12613a;
  font-size: .84rem; font-weight: 600; line-height: 1.45; text-align: center;
}
.delivery-note::before { content: "🚚 "; }
.sum-row.total { font-size: 1.15rem; margin-bottom: 6px; }
.field { display: flex; flex-direction: column; gap: 4px; border: 0; }
.field > span, .field legend { font-size: .85rem; font-weight: 800; color: var(--muted); }
.field textarea { height: auto; padding: 8px 12px; resize: vertical; }
.field.invalid input, .field.invalid select { border-color: var(--red); background: var(--red-soft); }
.pay-options { gap: 6px; }
.pay-options label { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer; font-weight: 700; }
.pay-options label:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.pay-options input { accent-color: var(--red); width: 18px; height: 18px; }
.back { align-self: flex-start; }
/* Saved addresses (checkout + account) */
.addr-fields { display: flex; flex-direction: column; gap: 12px; }
.addr-book { gap: 6px; }
.addr-book label { display: flex; align-items: flex-start; gap: 8px; border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer; }
.addr-book label:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.addr-book input { accent-color: var(--red); width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.addr-book label > span, .addr-item > div:first-child { display: flex; flex-direction: column; min-width: 0; }
.addr-book b, .addr-item b { font-weight: 800; }
.addr-line { color: var(--muted); font-size: .88rem; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.addr-new { font-weight: 800; color: var(--red); }
.addr-default { display: inline-block; margin-inline-start: 6px; border-radius: 999px; padding: 0 8px; font-size: .72rem; font-weight: 800; background: #e6f6ec; color: #12813a; vertical-align: middle; }
.addr-list { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; }
.addr-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.addr-actions { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: flex-end; flex-shrink: 0; font-size: .85rem; }
.addr-form { border-top: 1px dashed var(--line); padding-top: 12px; }
@media (max-width: 560px) { .addr-item { flex-direction: column; } .addr-actions { justify-content: flex-start; } }
.done { align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 24px; }
.done-icon { width: 72px; height: 72px; border-radius: 50%; background: #e6f6ec; color: #12813a; font-size: 2.2rem; display: grid; place-items: center; font-weight: 900; }
.done p { color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: var(--black); color: #fff; padding: 10px 20px; border-radius: 8px; font-size: .92rem; font-weight: 600;
  transition: transform .25s; z-index: 80; pointer-events: none; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Simple top bar (used by admin page) ---------- */
.topbar { background: #fff; border-bottom: 3px solid var(--red); position: sticky; top: 0; z-index: 20; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.topbar .logo { font-weight: 900; font-size: 1.35rem; letter-spacing: 1px; display: block; }
.topbar .logo span { color: var(--red); }
.topbar .logo .lm { color: var(--ink); }
.topbar .logo small { font-size: .7rem; font-weight: 700; color: var(--muted); letter-spacing: 2px; margin-inline-start: 4px; }

/* ---------- Stock tag on product cards ---------- */
.stock-tag { font-size: .78rem; font-weight: 800; color: #12813a; background: #e2f6e9; border-radius: 6px; padding: 1px 8px; align-self: flex-start; }
.stock-tag.low { color: #8a5a00; background: #fff1d6; }
.stock-tag.out { color: #b3261e; background: #fdecea; }

/* ---------- Warranty ---------- */
.wr-line { font-size: .76rem; font-weight: 700; color: var(--muted); }
.pd-warranty { display: flex; gap: 10px; align-items: center; background: #f4f4f6; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.pd-warranty .wr-icon { font-size: 1.5rem; line-height: 1; }
.pd-warranty div { display: flex; flex-direction: column; }
.pd-warranty strong { font-weight: 800; }
.pd-warranty span { font-size: .85rem; color: var(--muted); }

/* ---------- Backorder ---------- */
.bo-tag { font-size: .78rem; font-weight: 800; color: #1d4f9c; background: #e3efff; border-radius: 6px; padding: 1px 8px; align-self: flex-start; }
.bo-line { font-size: .8rem; font-weight: 700; color: #1d4f9c; }
.pd-backorder { display: flex; flex-direction: column; gap: 2px; background: #e3efff; border: 1px solid #b9d3f7; color: #1d4f9c; border-radius: 10px; padding: 10px 14px; }
.pd-backorder span { font-size: .9rem; color: #2c4a73; }
.bo-note { background: #e3efff; color: #1d4f9c; border-radius: 10px; padding: 10px 12px; font-weight: 700; font-size: .9rem; }

/* ---------- "Coming soon" for categories without products ---------- */
.soon-badge {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2;
  background: var(--gold); color: #fff; font-size: .75rem; font-weight: 800; padding: 2px 10px; border-radius: 999px;
}
.cat-tile.is-soon > svg, .cat-tile.is-soon .cat-img { opacity: .55; }
.soon-tag {
  margin-inline-start: auto; background: #fff4cc; color: #8a6d0f; font-size: .68rem; font-weight: 800;
  padding: 0 8px; border-radius: 999px; line-height: 1.7; white-space: nowrap;
}
#empty.is-soon { background: #fffbea; border: 1.5px dashed var(--gold); border-radius: 14px; padding: 36px 20px; }
#empty.is-soon p { font-size: 1.1rem; font-weight: 700; color: #6b5500; max-width: 560px; margin-inline: auto; }
#empty.is-soon p::before { content: "⏳"; display: block; font-size: 2.2rem; margin-bottom: 8px; }

/* ---------- Product cards link to the product page ---------- */
a.thumb { display: grid; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--red); }
.card h3 a::after { content: ""; position: absolute; inset: 0; }   /* whole card body is clickable */
.card-body .add-btn, .card-body .cat { position: relative; z-index: 1; }

/* ---------- Product page ---------- */
.product-page { min-height: 70vh; padding-top: 28px; }
.pd-missing { text-align: center; padding: 60px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; font-size: 1.1rem; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 8px; }
.pd-gallery { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 10px; }
.pd-main {
  position: relative; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  display: grid; place-items: center; overflow: hidden; color: var(--red);
}
.pd-main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.pd-main svg { width: 140px; height: 140px; }
.pd-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-thumbs button { width: 72px; height: 72px; border: 2px solid var(--line); border-radius: 10px; background: #fff; padding: 4px; cursor: pointer; }
.pd-thumbs button.active { border-color: var(--red); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info { display: flex; flex-direction: column; gap: 12px; }
.pd-info .cat { text-decoration: none; font-size: .85rem; }
.pd-info h1 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; font-weight: 900; }
.pd-alt { color: var(--muted); margin-top: -8px; }
.pd-code { font-size: .85rem; color: var(--muted); }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 14px 0; border-block: 1px solid var(--line); }
.pd-price .price { font-size: 2rem; }
.pd-price .old-price { display: inline; font-size: 1.05rem; }
.pd-save { background: #e2f6e9; color: #12813a; font-weight: 800; font-size: .85rem; border-radius: 999px; padding: 1px 10px; }
.pd-stock { font-weight: 800; font-size: .95rem; }
.pd-stock.in { color: #12813a; }
.pd-stock.low { color: #b26b00; }
.pd-stock.out { color: var(--red-dark); }
.pd-fit { border-radius: 10px; padding: 10px 14px; font-weight: 700; }
.pd-fit.yes { background: #e2f6e9; color: #12813a; }
.pd-fit.no { background: #fdecea; color: #b3261e; }
.pd-buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pd-qty { border: 1.5px solid var(--line); border-radius: 8px; padding: 4px; height: 46px; }
.pd-qty button { width: 34px; height: 34px; border: 0; font-size: 1.1rem; }
.pd-qty span { min-width: 28px; text-align: center; font-weight: 800; }
.pd-buy .btn { flex: 1; min-width: 150px; }
.pd-points { color: #8a6d0f; font-weight: 700; background: #fffbea; border-radius: 8px; padding: 8px 12px; }
.pd-ask { align-self: flex-start; }
.pd-trust { list-style: none; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: .9rem; padding-top: 8px; border-top: 1px solid var(--line); }
.pd-trust li::before { content: "✔"; color: var(--red); margin-inline-end: 8px; font-weight: 900; }
.pd-section { margin-top: 44px; }
.pd-section h2 { font-size: 1.35rem; font-weight: 900; margin-bottom: 14px; }
.pd-desc { white-space: pre-line; max-width: 820px; color: #333; }
.pd-universal { font-weight: 700; color: #12813a; }
.pd-brand { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: #fff; }
.pd-brand summary { padding: 10px 14px; cursor: pointer; display: flex; gap: 10px; align-items: center; }
.pd-brand ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 20px; padding: 0 14px 12px; }
.pd-brand li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.pd-brand li a { color: var(--ink); text-decoration: none; font-weight: 600; }
.pd-brand li a:hover { color: var(--red); }
.pd-brand li span { color: var(--muted); white-space: nowrap; }
.pd-brand li.mine { background: #e2f6e9; border-radius: 6px; padding-inline: 6px; }
@media (max-width: 860px) {
  .pd-grid { grid-template-columns: 1fr; gap: 20px; }
  .pd-gallery { position: static; }
}

/* ---------- Account button (header) ---------- */
.acc-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.02rem; flex-shrink: 0; white-space: nowrap;
}
.acc-btn:hover { color: var(--red); background: var(--alt); }
.acc-points {
  background: var(--gold); color: #fff; border-radius: 999px; padding: 0 8px; font-size: .75rem; font-weight: 800; line-height: 1.6;
}
.acc-points::after { content: " ★"; }

/* ---------- Shared small helpers ---------- */
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.btn.ghost-red { background: #fff; color: var(--red); border: 1.5px solid var(--red); }
.btn.ghost-red:hover { background: var(--red-soft); }

/* ---------- Checkout extras ---------- */
.co-account { font-size: .9rem; font-weight: 700; color: var(--muted); }
.pay-options label > span { display: flex; flex-direction: column; }
.pay-info { font-weight: 600; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.points-box {
  background: #fffbea; border: 1.5px dashed var(--gold); border-radius: 10px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 600;
}
.pts-have { font-weight: 800; }
.pts-earn { color: #8a6d0f; font-weight: 700; }
.check-line { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.check-line input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }
.sum-row.discount { color: #12813a; font-weight: 700; }
.done-number { font-size: 1.05rem; color: var(--ink) !important; }
.done-number strong { font-size: 1.3rem; color: var(--red); }
.done-earn { color: #8a6d0f !important; font-weight: 700; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.social-links a { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 2px 12px; font-size: .85rem; text-decoration: none; }
.social-links a:hover { border-color: #fff; }
.done-pay { background: #eef4ff; color: #1d4fa8 !important; border-radius: 10px; padding: 10px 14px; font-weight: 700; line-height: 1.6; }

/* ---------- Account page ---------- */
.account-page { min-height: 70vh; }
.acc-auth { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.acc-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px;
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.acc-card h3 { font-size: 1.15rem; font-weight: 900; }
.acc-card form { display: flex; flex-direction: column; gap: 12px; }
.acc-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--alt); border-radius: 10px; padding: 4px; }
.acc-tabs button { border: 0; background: none; font: inherit; font-weight: 800; padding: 9px; border-radius: 8px; cursor: pointer; color: var(--muted); }
.acc-tabs button.active { background: #fff; color: var(--red); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.acc-bonus { background: #fffbea; border: 1px solid #f0dc8c; color: #8a6d0f; padding: 8px 12px; border-radius: 8px; font-weight: 700; }
.acc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.acc-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; }
.acc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.acc-orders { grid-column: span 2; }
.points-card { background: linear-gradient(140deg, #1a1b1f, #2c2d33); color: #fff; border: 0; }
.points-card .muted { color: #b9b9c2; }
.points-big { font-size: 3rem; font-weight: 900; color: var(--gold); line-height: 1; }
.points-big::after { content: " ★"; font-size: 1.6rem; }

.order-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.order-card summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 14px; cursor: pointer; list-style: none;
}
.order-card summary::-webkit-details-marker { display: none; }
.order-card[open] summary { background: var(--alt); }
.order-total { margin-inline-start: auto; font-weight: 900; }
.order-track { font-size: .92rem; background: var(--alt); border-radius: 8px; padding: 8px 10px; }
.order-track a { color: var(--red); font-weight: 800; }
.order-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); }
.order-items { list-style: none; margin-bottom: 6px; }
.order-items li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.status-badge { border-radius: 999px; padding: 0 10px; font-size: .78rem; font-weight: 800; line-height: 1.8; background: #eee; color: #444; }
.s-pending { background: #fff4d6; color: #8a6200; }
.s-confirmed { background: #e3efff; color: #1d4f9c; }
.s-shipped { background: #efe6ff; color: #5b2ea6; }
.s-delivered { background: #e2f6e9; color: #12813a; }
.s-cancelled { background: #fdecea; color: #b3261e; }
.s-processing { background: #efe9fd; color: #5b33b8; }
.s-returned { background: #fdecea; color: #b3261e; }
.order-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 8px; counter-reset: step; }
.order-steps li { text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); padding-top: 8px; border-top: 4px solid var(--line); }
.order-steps li.done { color: #12813a; border-top-color: #12813a; }
.pts-log { list-style: none; }
.pts-log li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pts-log li span { display: flex; flex-direction: column; }
.pts-log .plus { color: #12813a; }
.pts-log .minus { color: #b3261e; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .burger { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; inset-inline: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 2px;
    box-shadow: 0 14px 24px rgba(0,0,0,.12); max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .site-header.nav-open .main-nav { display: flex; }
  .nav-link { justify-content: space-between; width: 100%; }
  .mega { position: static; width: 100%; max-width: none; box-shadow: none; border-radius: 8px; margin: 4px 0 8px; }
  .mega-brands { max-height: 260px; }
  .header-search { max-width: none; }
}
@media (max-width: 860px) {
  .hero { padding: 36px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .toolbar { grid-template-columns: 1fr; }
  .acc-auth, .acc-grid { grid-template-columns: 1fr; }
  .acc-orders { grid-column: auto; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .acc-label { display: none; }
  .acc-row { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; height: auto; padding-block: 10px; gap: 10px; }
  .logo { margin-inline-end: auto; }
  .logo-text small { display: none; }
  .logo { align-self: center; }
  .logo-mark { width: 76px; height: 76px; }
  .header-search input { height: 44px; }
  .cart-btn svg, .acc-btn svg { width: 25px; height: 25px; }
  .header-search { order: 5; flex-basis: 100%; }
  .mega { grid-template-columns: 1fr; }
  .mega-brands { border-inline-end: 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px; max-height: none; }
  .mega-brands button { width: auto; }
  .mega-cats { grid-template-columns: 1fr; }
  .mega-models ul { grid-template-columns: 1fr; }
  .section { padding: 36px 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .thumb { height: 130px; }
  .card-body { padding: 10px 12px 12px; }
  .card h3 { font-size: .93rem; }
  .price { font-size: 1.05rem; }
  .cat-tiles { grid-template-columns: 1fr 1fr; }
  .cat-tile { min-height: 130px; padding: 16px; }
  .cat-img { margin: -16px -16px 0; height: 110px; }
  .wa-float { width: 50px; height: 50px; bottom: 14px; inset-inline-end: 14px; }
}

/* Discount code at checkout */
.coupon-box { margin: 4px 0 10px; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.coupon-form .btn { flex-shrink: 0; padding-inline: 16px; }
.coupon-msg { font-size: .88rem; font-weight: 700; margin-top: 4px; }
.coupon-msg.ok { color: #12813a; }
.coupon-msg.bad { color: var(--red); }
.coupon-msg small { font-weight: 400; color: var(--muted, #666); }
.coupon-msg .text-link { margin-inline-start: 6px; font-size: .85rem; }
