/* ==========================================================
   First Aid in Qatar — main stylesheet
   Colours and fonts live in :root so UI tweaks are one-line edits.
   Uses logical properties (margin-inline, padding-inline…) so the
   layout flips correctly when <html dir="rtl"> (Arabic) is set.
   ========================================================== */

:root {
  --brand: #8a1538;          /* Qatar maroon */
  --brand-dark: #5e0e26;
  --brand-light: #f8e9ee;
  --accent: #e11d2e;         /* first-aid red */
  --accent-dark: #b5121f;
  --ink: #1b1f27;
  --muted: #5b6372;
  --line: #e6e8ee;
  --bg: #ffffff;
  --bg-soft: #f6f7fa;
  --success: #138a55;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(20, 24, 40, .08);
  --shadow-lg: 0 20px 50px rgba(20, 24, 40, .14);
  --container: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "Tajawal", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: var(--font-ar); }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 80px; }
.section--soft { background: var(--bg-soft); }
.section--brand { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--brand .section-head p { color: rgba(255,255,255,.8); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; }
.section--brand .eyebrow { color: #ffc9d3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease; font-family: inherit;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); color: #fff; }
.btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { background: var(--brand-light); color: var(--brand-dark); }
.btn--ghost-white { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-white:hover { background: #fff; color: var(--brand); }
.btn--whatsapp { background: #25d366; color: #fff; }
.btn--whatsapp:hover { background: #1da851; color: #fff; }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--brand-dark); color: rgba(255,255,255,.85); font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar__info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__info span { display: inline-flex; align-items: center; gap: 6px; }
.lang-toggle {
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; padding: 4px 14px; cursor: pointer; font-family: var(--font-ar); font-weight: 700;
}
.lang-toggle:hover { background: #fff; color: var(--brand); }

/* ---------- Header / nav ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.logo:hover { color: var(--ink); }
.logo__mark { width: 42px; height: 42px; flex: none; }
.logo small { display: block; font-size: .7rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a.active { color: var(--brand); background: var(--brand-light); }
.header__cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

@media (max-width: 1024px) {
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .menu-btn { display: block; }
  .header__cta .btn--outline { display: none; }
}
@media (max-width: 600px) {
  .topbar__info span:nth-child(n+2) { display: none; }
  .header__cta .btn--primary { padding: 10px 16px; }
  .logo small { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(225,29,46,.45), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,.08), transparent 40%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 70%);
}
.hero::after { /* subtle Qatar-flag serrated edge motif */
  content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; width: 60px; opacity: .08;
  background: linear-gradient(135deg, transparent 50%, #fff 50%) 0 0 / 60px 40px;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-block: 90px; }
.hero h1 span { color: #ffc9d3; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 560px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-block: 28px; }
.hero__badges { display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: rgba(255,255,255,.85); }
.hero__badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero__card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); }
.hero__card h3 { margin-bottom: 4px; }
.hero__card p { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; padding-block: 60px; } }

.page-hero { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; padding-block: 64px 56px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 680px; font-size: 1.08rem; margin: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: 14px; color: rgba(255,255,255,.7); }
.breadcrumb a { color: #fff; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .95rem; background: #fff; color: var(--ink); transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light); }
.field textarea { min-height: 120px; resize: vertical; }
.phone-input { display: flex; }
.phone-input span { display: flex; align-items: center; padding-inline: 12px; background: var(--bg-soft); border: 1.5px solid var(--line); border-inline-end: 0; border-start-start-radius: var(--radius-sm); border-end-start-radius: var(--radius-sm); font-weight: 600; font-size: .9rem; direction: ltr; }
.phone-input input { border-start-start-radius: 0; border-end-start-radius: 0; direction: ltr; }
html[dir="rtl"] .phone-input input { text-align: right; }
.form-note { font-size: .8rem; color: var(--muted); margin: 0; }
.form-success { display: none; padding: 16px; border-radius: var(--radius-sm); background: #e7f6ee; color: var(--success); font-weight: 600; }
.form-success.show { display: block; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); font-size: .95rem; }
.icon-circle { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-light); color: var(--brand); margin-bottom: 18px; }
.icon-circle svg { width: 28px; height: 28px; }

/* Course card */
.course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-card__top { position: relative; height: 150px; display: grid; place-items: center; color: #fff; }
.course-card__top svg { width: 64px; height: 64px; opacity: .95; }
.course-card__tag { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(255,255,255,.95); color: var(--brand); font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.course-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.course-card__body h3 { margin-bottom: 8px; }
.course-card__body h3 a { color: var(--ink); }
.course-card__body h3 a:hover { color: var(--brand); }
.course-card__body p { color: var(--muted); font-size: .92rem; flex: 1; }
.course-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.course-meta span { display: inline-flex; align-items: center; gap: 5px; }
.course-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.price { font-weight: 800; font-size: 1.25rem; color: var(--brand); }
.price small { font-size: .75rem; color: var(--muted); font-weight: 600; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: .9rem; cursor: pointer; font-family: inherit; color: var(--ink); }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1; }
.stat span { color: rgba(255,255,255,.8); font-size: .95rem; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; inset-inline-start: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--brand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a1538' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.illustration { border-radius: var(--radius); background: linear-gradient(135deg, var(--brand-light), #fff); border: 1px solid var(--line); padding: 32px; }

/* Areas */
.area-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.area-card h3 { display: flex; align-items: center; gap: 10px; }
.area-card h3 .ar { margin-inline-start: auto; font-family: var(--font-ar); font-weight: 700; color: var(--muted); font-size: 1rem; }
.area-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.area-card li { font-size: .82rem; background: var(--bg-soft); border-radius: 999px; padding: 4px 12px; color: var(--ink); }
.pin { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; flex: none; }
.pin svg { width: 18px; height: 18px; }
.area-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.area-pills a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.area-pills a:hover { border-color: var(--brand); color: var(--brand); }

/* Testimonials */
.quote { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.quote__stars { color: #f5a524; letter-spacing: 2px; margin-bottom: 10px; }
.quote p { color: var(--ink); font-size: .98rem; }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote__who small { display: block; color: var(--muted); }

/* Logos strip */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.logo-ph { border: 1.5px dashed #c9cdd8; border-radius: var(--radius-sm); padding: 14px 22px; color: var(--muted); font-weight: 700; font-size: .85rem; min-width: 150px; text-align: center; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding-block: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%); color: #fff; border-radius: 20px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) { .cta-band { padding: 32px 24px; } }

/* Course detail */
.detail { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } }
.detail h2 { font-size: 1.5rem; margin-top: 32px; }
.detail h2:first-child { margin-top: 0; }
.sidebar-card { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.sidebar-card .price { font-size: 2rem; }
.info-list { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.info-list li { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.info-list li span:first-child { color: var(--muted); }
.info-list li span:last-child { font-weight: 600; text-align: end; }
.sidebar-card .btn + .btn { margin-top: 10px; }
.schedule { width: 100%; border-collapse: collapse; font-size: .92rem; }
.schedule th, .schedule td { text-align: start; padding: 12px; border-bottom: 1px solid var(--line); }
.schedule th { background: var(--bg-soft); font-weight: 700; }

/* Contact */
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-item strong { display: block; }
.contact-item a, .contact-item span { color: var(--muted); }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }
.map-ph { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--bg-soft); }
.map-ph iframe { width: 100%; height: 360px; border: 0; display: block; }

/* Footer */
.footer { background: #12141a; color: rgba(255,255,255,.7); padding-top: 64px; font-size: .92rem; }
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: #fff; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .logo small { color: rgba(255,255,255,.5); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-block: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.socials a:hover { background: var(--accent); }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-32 { margin-top: 32px; }
.muted { color: var(--muted); }
.badge { display: inline-block; background: var(--brand-light); color: var(--brand); font-weight: 700; font-size: .78rem; border-radius: 999px; padding: 4px 12px; }
.hidden { display: none !important; }
.detail > *, .split > * { min-width: 0; }

/* ==========================================================
   Catalogue layout (Medsphere-style structure, Qatar theme)
   ========================================================== */
:root { --dark: #2a0712; --flag: #8a1538; }

/* Qatar flag serrated edge: 9 white points on maroon */
.flag-edge { height: 18px; background:
  linear-gradient(135deg, #fff 33%, transparent 33%) 0 0 / 22px 18px,
  linear-gradient(45deg, #fff 33%, transparent 33%) 0 0 / 22px 18px, var(--flag); }
.flag-edge--footer { background:
  linear-gradient(-45deg, var(--dark) 33%, transparent 33%) 0 0 / 22px 18px,
  linear-gradient(-135deg, var(--dark) 33%, transparent 33%) 0 0 / 22px 18px, #fff; transform: scaleY(-1); }
.serrated { position: relative; }
.serrated::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 26px;
  background: linear-gradient(-60deg, transparent 50%, #fff 50%) 0 0 / 26px 30px; opacity: .95; }

.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 6px; }

/* Top bar */
.topbar { background: var(--dark); font-size: .8rem; }
.topbar .container { padding-block: 7px; }
.topbar__areas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.topbar__areas strong { color: #fff; }
.topbar__areas a, .topbar__info a { color: rgba(255,255,255,.82); }
.topbar__areas a:hover, .topbar__info a:hover { color: #fff; }
.topbar__info { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.topbar__quote { font-weight: 700; color: #ffc9d3 !important; }
@media (max-width: 1100px) { .topbar__areas a { display: none; } }
@media (max-width: 640px) { .topbar__areas { display: none; } .topbar__info { width: 100%; justify-content: space-between; } .topbar__quote { display: none; } }

/* Header with search */
.header { position: sticky; top: 0; }
.header .container { min-height: 78px; gap: 24px; }
.search { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 8px; background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; color: var(--muted); }
.search:focus-within { border-color: var(--brand); background: #fff; }
.search input { flex: 1; border: 0; background: transparent; padding: 11px 0; font: inherit; font-size: .92rem; outline: none; color: var(--ink); min-width: 0; }
.header__phone { display: flex; flex-direction: column; line-height: 1.2; color: var(--ink); }
.header__phone small { color: var(--muted); font-size: .72rem; font-weight: 600; }
.header__phone strong { font-size: .95rem; }
.basket-btn { position: relative; background: var(--brand-light); color: var(--brand); border: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; }
.basket-btn:hover { background: var(--brand); color: #fff; }
.basket-count { position: absolute; top: -6px; inset-inline-end: -6px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; }
@media (max-width: 1100px) { .header__phone { display: none; } }
@media (max-width: 760px) {
  .header .container { flex-wrap: wrap; gap: 12px; padding-block: 10px; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
  .header__cta .btn--primary { display: none; }
}

/* Category nav with mega menus */
.catnav { background: var(--brand); position: sticky; top: 78px; z-index: 45; }
.catnav .container { display: flex; gap: 2px; }
.catnav__item { position: static; }
.catnav__item > a { display: block; color: #fff; font-weight: 600; font-size: .9rem; padding: 13px 14px; }
.catnav__item > a:hover, .catnav__item > a.active { background: rgba(255,255,255,.12); color: #fff; }
.has-mega > a::after { content: " ▾"; font-size: .7rem; opacity: .8; }
.mega { position: absolute; inset-inline: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { max-width: var(--container); margin: 0 auto; padding: 24px 20px; display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.mega__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 20px; align-content: start; }
.mega__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .9rem; }
.mega__item:hover { background: var(--bg-soft); color: var(--brand); }
.thumb { width: 46px; height: 46px; flex: none; border-radius: 10px; background: var(--bg-soft); display: grid; place-items: center; padding: 4px; }
.mega__promo { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.mega__promo:hover { color: #fff; }
.mega__promo .thumb { background: rgba(255,255,255,.12); width: 60px; height: 60px; }
.mega__promo span { color: rgba(255,255,255,.8); font-size: .88rem; }
.mega__promo em { font-style: normal; font-weight: 700; margin-top: auto; }
@media (max-width: 1024px) {
  .catnav { position: static; display: none; }
  .catnav.open { display: block; }
  .catnav .container { flex-direction: column; padding-block: 8px; }
  .mega { display: none; }
  .has-mega > a::after { content: ""; }
}
/* the old floating nav rules from the first design don't apply to .catnav */
@media (max-width: 1024px) { .nav { display: none; } }

/* Home hero (light, left-aligned, product cards on the side) */
.shop-hero { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.shop-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 64px; }
.shop-hero h1 { color: var(--dark); }
.shop-hero .lead { color: var(--muted); font-size: 1.1rem; max-width: 560px; }
.shop-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-block: 24px 16px; }
.shop-hero__phones { font-size: .9rem; color: var(--muted); }
.shop-hero__phones a { font-weight: 700; }
.hero-products { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); color: var(--ink); }
.hero-product:hover { color: var(--ink); transform: translateY(-3px); }
.hero-product .art { aspect-ratio: 1; background: var(--bg-soft); border-radius: 10px; display: grid; place-items: center; padding: 18%; margin-bottom: 12px; }
.hero-product small { color: var(--muted); font-size: .75rem; font-weight: 600; }
.hero-product strong { display: block; line-height: 1.3; margin-block: 4px; }
.hero-product span { color: var(--brand); font-size: .85rem; font-weight: 700; }
@media (max-width: 900px) { .shop-hero .container { grid-template-columns: 1fr; padding-block: 40px; } }

/* Category tiles */
.cat-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: .2s; }
.cat-tile:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-tile .art { background: var(--bg-soft); aspect-ratio: 16/10; display: grid; place-items: center; padding: 8%; }
.cat-tile .art svg { height: 100%; }
.cat-tile div:last-child { padding: 18px; }
.cat-tile h3 { margin-bottom: 4px; }
.cat-tile h3 small { color: var(--muted); font-weight: 600; font-size: .85rem; }
.cat-tile p { color: var(--muted); font-size: .9rem; margin-bottom: 10px; }
.cat-tile em { font-style: normal; font-weight: 700; color: var(--brand); font-size: .9rem; }

/* Value strip */
.value-strip { border-block: 1px solid var(--line); background: #fff; }
.value-strip .container { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding-block: 26px; }
.value-strip div { display: flex; gap: 12px; align-items: flex-start; }
.value-strip svg { width: 26px; height: 26px; color: var(--brand); flex: none; }
.value-strip strong { display: block; font-size: .95rem; }
.value-strip span { color: var(--muted); font-size: .85rem; }
@media (max-width: 1000px) { .value-strip .container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .value-strip .container { grid-template-columns: 1fr; } }

/* Section header with link */
.row-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.row-head h2 { margin: 0; }
.row-head a { font-weight: 700; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.pills a, .pills button { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .85rem; cursor: pointer; font-family: inherit; }
.pills a:hover, .pills button:hover, .pills .active { border-color: var(--brand); color: #fff; background: var(--brand); }

/* Product card */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.product-card:hover { box-shadow: var(--shadow); border-color: #d9c3cb; }
.product-card__img { background: var(--bg-soft); aspect-ratio: 4/3; display: grid; place-items: center; padding: 14%; }
.product-card__img svg { height: 100%; transition: transform .25s; }
.product-card:hover .product-card__img svg { transform: scale(1.06); }
.product-card__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-card__label { display: flex; justify-content: space-between; gap: 8px; font-size: .72rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.tag { background: #e7f6ee; color: var(--success); padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.product-card h3 { font-size: 1rem; margin-bottom: 6px; }
.product-card h3 a { color: var(--ink); }
.product-card h3 a:hover { color: var(--brand); }
.product-card p { color: var(--muted); font-size: .85rem; flex: 1; }
.product-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.por { font-size: .82rem; font-weight: 700; color: var(--dark); }

/* Areas grid (municipality cards with Arabic) */
.muni { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--ink); display: block; position: relative; overflow: hidden; }
.muni:hover { color: var(--ink); border-color: var(--brand); }
.muni::after { content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; width: 10px; background: linear-gradient(-60deg, var(--brand) 50%, transparent 50%) 0 0 / 10px 14px; opacity: .25; }
.muni .ar { font-family: var(--font-ar); color: var(--brand); font-weight: 700; font-size: 1.1rem; }
.muni h3 { margin: 2px 0 6px; }
.muni p { color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
.muni em { font-style: normal; font-weight: 700; color: var(--brand); font-size: .85rem; }

/* AED feature band */
.feature-band { background: var(--dark); color: #fff; overflow: hidden; }
.feature-band .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 72px; }
.feature-band p { color: rgba(255,255,255,.78); font-size: 1.05rem; }
.feature-band .eyebrow { color: #ffc9d3; }
.feature-band .pills a { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.feature-band .pills a:hover { background: #fff; color: var(--brand); }
.feature-art { background: radial-gradient(circle, rgba(225,29,46,.35), transparent 65%); aspect-ratio: 1; display: grid; place-items: center; padding: 14%; }
@media (max-width: 900px) { .feature-band .container { grid-template-columns: 1fr; } .feature-art { max-width: 300px; } }

.callout { margin-top: 28px; background: var(--brand-light); border: 1px solid #ecd2da; border-radius: var(--radius); padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.callout strong { font-size: 1.05rem; }
.callout p { margin: 0; color: var(--muted); }

/* More from the catalogue */
.cat-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.cat-col p { color: var(--muted); font-size: .9rem; }
.cat-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.cat-col li a { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; font-size: .9rem; padding: 6px; border-radius: 8px; }
.cat-col li a:hover { background: var(--bg-soft); color: var(--brand); }
.cat-col .thumb { width: 40px; height: 40px; }

/* Promo banners */
.promo { border-radius: var(--radius); padding: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); overflow: hidden; }
.promo--light { background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }
.promo h3 { font-size: 1.4rem; }
.promo p { opacity: .85; margin-bottom: 14px; }
.promo .art { width: 130px; flex: none; }
@media (max-width: 560px) { .promo .art { display: none; } }

/* Industries */
.ind-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--brand); }
.ind-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.link-list { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; }
.link-list a { font-weight: 600; font-size: .9rem; }

/* Steps 01/02/03 */
.num-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.num-step b { display: block; font-size: 2.2rem; color: var(--brand); font-weight: 800; line-height: 1; margin-bottom: 12px; }
.num-step p { color: var(--muted); margin: 0; }

/* Guides */
.guide { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.guide small { color: var(--muted); font-weight: 600; }
.guide h3 { font-size: 1.02rem; margin: 0; }
.guide a { font-weight: 700; margin-top: auto; }
.quick-answer { background: var(--brand-light); border-inline-start: 4px solid var(--brand); padding: 16px 20px; border-radius: 8px; max-width: 820px; margin: 0 auto 20px; }

/* Basket drawer */
.basket-backdrop { position: fixed; inset: 0; background: rgba(20,10,14,.45); z-index: 80; }
.basket { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 100%); background: #fff; z-index: 90; display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .25s ease; box-shadow: var(--shadow-lg); }
html[dir="rtl"] .basket { transform: translateX(-105%); }
.basket.open { transform: none !important; }
.basket__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.basket__head h3 { margin: 0; }
.basket__close { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); }
.basket__body { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; gap: 12px; align-content: start; }
.basket__row { display: flex; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.basket__row strong { display: block; font-size: .92rem; }
.basket__row small { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; }
.qty .link { width: auto; border: 0; color: var(--accent); font-size: .8rem; margin-inline-start: auto; }
.basket__empty { text-align: center; padding: 30px 6px; color: var(--muted); }
.basket__empty svg { margin: 0 auto 10px; color: var(--brand); }
.basket__empty h4 { color: var(--ink); }
.basket__foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); }
.basket__foot .btn { padding-inline: 8px; }

/* Product detail */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd__art { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; padding: 18%; }
.pd__meta { color: var(--muted); font-size: .85rem; font-weight: 600; }
.pd h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-block: 8px 12px; }
.pd__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-block: 20px; }
.opt-list { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-list label { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 14px; cursor: pointer; font-weight: 600; font-size: .88rem; }
.opt-list input { display: none; }
.opt-list input:checked + span { color: var(--brand); }
.opt-list label:has(input:checked) { border-color: var(--brand); background: var(--brand-light); }
@media (max-width: 860px) { .pd { grid-template-columns: 1fr; } }

.quote-table { width: 100%; border-collapse: collapse; }
.quote-table td, .quote-table th { padding: 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: middle; }
.footer__grid { grid-template-columns: 1.5fr repeat(4, 1fr); }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
/* serrated edge = row of maroon triangles, like the Qatar flag's nine points */
.flag-edge { height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpath d='M0 0h24L12 14z' fill='%238a1538'/%3E%3C/svg%3E") repeat-x 0 0 / 24px 14px; }
.flag-edge--footer { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpath d='M0 14L12 0l12 14z' fill='%2312141a'/%3E%3C/svg%3E"); transform: none; }
.value-strip div div { display: block; }
.topbar .container { flex-wrap: nowrap; }
.topbar__info { flex-wrap: nowrap; white-space: nowrap; }
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-tile div:last-child { padding: 12px; }
  .cat-tile h3 { font-size: 1rem; }
  .cat-tile p { display: none; }
}
/* real product photos */
.product-card__img img, .thumb img, .cat-tile .art img, .hero-product .art img, .pd__art img, .mega__promo .thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-card__img.has-photo { background: #fff; padding: 6%; border-bottom: 1px solid var(--line); }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__img img { transition: transform .25s; }
.thumb { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.tag--muted { background: var(--bg-soft); color: var(--muted); }
.mega__inner--cats { grid-template-columns: repeat(3, 1fr); }
.mega__inner--cats .mega__item small { font-weight: 500; }
.cat-tile .art { background: #fff; border-bottom: 1px solid var(--line); }
.hero-product .art { background: #fff; padding: 6%; }
.pd__art { background: #fff; padding: 6%; }
.pd__thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pd__thumbs button { width: 64px; height: 64px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; padding: 4px; cursor: pointer; }
.pd__thumbs button.active { border-color: var(--brand); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.details-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: 8px; }
.details-table th, .details-table td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.details-table th { width: 38%; color: var(--muted); font-weight: 600; background: var(--bg-soft); }
.quote-rows { display: grid; gap: 12px; }
.section .breadcrumb a { color: var(--brand); }
.feature-art img { border-radius: 16px; }
.header__phone a { color: var(--ink); line-height: 1.25; }
.header__phone a:hover { color: var(--brand); }
@media (max-width: 1250px) { .topbar__mail { display: none; } }
@media (max-width: 640px) { .topbar__info .ltr + .ltr { display: none; } }
@media (max-width: 1480px) { .topbar__areas a { display: none; } }
.topbar__areas strong { white-space: nowrap; }

/* ---------- Brand hero (Amoul + First Aid Inc showcase) ---------- */
.brand-hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 78% 40%, rgba(225,29,46,.35), transparent 45%), linear-gradient(120deg, var(--dark) 0%, var(--brand) 60%, var(--brand-dark) 100%); }
.brand-hero::before { /* serrated flag edge down the left side */
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26'%3E%3Cpath d='M0 0h6l16 13L6 26H0z' fill='%23fff'/%3E%3C/svg%3E") repeat-y 0 0 / 22px 26px; }
html[dir="rtl"] .brand-hero::before { transform: scaleX(-1); }
.brand-hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: 72px 80px; }
.brand-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.brand-hero .lead { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 580px; }
.brand-hero__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.brand-hero__chips span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 5px 14px; font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.brand-hero__trust { list-style: none; padding: 0; margin: 0 0 14px; display: flex; gap: 18px; flex-wrap: wrap; font-size: .9rem; color: rgba(255,255,255,.88); }
.brand-hero__trust li { display: inline-flex; gap: 6px; align-items: center; }
.brand-hero__phones { font-size: .88rem; color: rgba(255,255,255,.75); margin: 0; }
.brand-hero__phones a { color: #fff; font-weight: 700; }
.brand-hero__show { position: relative; min-height: 440px; }
.show-card { position: absolute; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.3); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s; }
.show-card:hover { color: var(--ink); transform: translateY(-4px); }
.show-card--main { inset-inline-end: 0; top: 0; width: 72%; }
.show-card--side { inset-inline-start: 0; bottom: 0; width: 46%; z-index: 2; }
.show-card__img { aspect-ratio: 4/3; padding: 8%; display: grid; place-items: center; }
.show-card__img img { width: 100%; height: 100%; object-fit: contain; }
.show-card--side .show-card__img { aspect-ratio: 1; }
.show-card__txt { padding: 14px 18px 18px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.show-card__txt span { color: var(--muted); font-size: .82rem; }
.show-card__txt em { font-style: normal; color: var(--brand); font-weight: 700; font-size: .88rem; margin-top: 4px; }
.show-card__brand { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; z-index: 1; }
.show-badge { position: absolute; inset-inline-end: 6%; bottom: 8px; background: #fff; color: var(--success); font-weight: 700; font-size: .85rem; border-radius: 999px; padding: 9px 16px; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow); z-index: 3; }
@media (max-width: 900px) {
  .brand-hero .container { grid-template-columns: 1fr; padding-block: 48px 56px; }
  .brand-hero__show { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .show-card, .show-badge { position: static; width: auto; }
  .show-badge { grid-column: 1 / -1; justify-content: center; }
}

/* ---------- Brand panels ---------- */
.brand-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .brand-panels { grid-template-columns: 1fr; } }
.brand-panel { border-radius: 18px; padding: 28px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--brand-light), #fff 55%); display: flex; flex-direction: column; gap: 14px; }
.brand-panel--first-aid-inc { background: linear-gradient(160deg, #f3f5f9, #fff 55%); }
.brand-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.brand-panel__logo { height: 42px; width: auto; max-width: 260px; object-fit: contain; }
.brand-panel__word { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; color: var(--brand); }
.brand-panel__kind { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.brand-panel p { color: var(--muted); margin: 0; }
.brand-panel__items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 520px) { .brand-panel__items { grid-template-columns: repeat(2, 1fr); } }
.brand-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; color: var(--ink); font-size: .8rem; font-weight: 600; line-height: 1.3; display: grid; gap: 8px; }
.brand-item:hover { border-color: var(--brand); color: var(--brand); }
.brand-item__img { aspect-ratio: 1; display: grid; place-items: center; }
.brand-item__img img, .brand-item__img svg { width: 100%; height: 100%; object-fit: contain; }
.brand-panel__foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.tag--brand { background: var(--brand); color: #fff; }
@media (min-width: 901px) {
  .show-card--main .show-card__txt { padding-inline-start: 34%; }
  .show-badge { bottom: auto; top: 18px; inset-inline-end: auto; inset-inline-start: 0; }
}
@media (min-width: 901px) {
  .brand-hero__show { min-height: 500px; }
  .show-card--side { bottom: 60px; }
  .show-badge { top: auto; bottom: 0; inset-inline-start: 0; }
}
@media (max-width: 900px) { .brand-hero .container { padding-inline-start: 38px; } }
.topbar__areas a.topbar__all { display: inline !important; }
.brand-panel--first-aid-inc .brand-panel__word { color: #1d3a8a; }

/* ---------- Photo hero (lifestyle slides + featured brand chips) ---------- */
.brand-hero__slides { position: absolute; inset: 0; }
.brand-hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 75%) center; opacity: 0; transition: opacity 1.2s ease; }
.brand-hero__slides img.on { opacity: 1; }
.brand-hero__slides::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(42,7,18,.96) 0%, rgba(110,16,44,.9) 38%, rgba(138,21,56,.45) 62%, rgba(138,21,56,0) 85%); }
html[dir="rtl"] .brand-hero__slides::after { transform: scaleX(-1); }
html[dir="rtl"] .brand-hero__slides img { object-position: calc(100% - var(--pos, 75%)) center; }
.brand-hero .container { position: relative; z-index: 1; grid-template-columns: minmax(0, 640px); min-height: 560px; padding-block: 64px; }
.brand-hero__feat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 6px 16px; max-width: 600px; }
.feat-chip { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: transform .2s; }
.feat-chip:hover { color: var(--ink); transform: translateY(-3px); }
.feat-chip__img { width: 64px; height: 64px; flex: none; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.feat-chip__img img { width: 100%; height: 100%; object-fit: contain; }
.feat-chip small { display: block; color: var(--brand); font-weight: 800; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.feat-chip strong { display: block; font-size: .9rem; line-height: 1.25; }
.feat-chip em { font-style: normal; color: var(--muted); font-size: .75rem; }
@media (max-width: 900px) {
  .brand-hero { display: flex; flex-direction: column; }
  .brand-hero__slides { position: relative; height: 220px; order: -1; }
  .brand-hero__slides::after { background: linear-gradient(180deg, rgba(138,21,56,0) 50%, rgba(110,16,44,.95) 100%); }
  .brand-hero .container { min-height: 0; padding-block: 28px 48px; background: linear-gradient(180deg, rgba(110,16,44,1), var(--dark)); max-width: none; }
  .brand-hero__feat { grid-template-columns: 1fr; }
}
