/* Brand colours taken from the Masdar Technology logo (deep green + teal). */
:root {
  --navy: #0f3a32;        /* deep brand green (logo wordmark) — used for dark surfaces */
  --steel: #17594b;
  --ink: #18231f;
  --muted: #5b6b66;
  --line: #dde6e3;
  --bg: #f3f7f6;
  --white: #fff;
  --accent: #22a387;      /* brand teal (logo mark) */
  --accent-dark: #178a71;
  --offer: #e0313b;       /* White Friday red, from the promo posters */
  --radius: 10px;
  --max: 1180px;
  font-family: "Segoe UI", Inter, system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
}
html[lang="ar"] { font-family: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); color: var(--ink);
  border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(15,58,50,.05); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; color: var(--navy); }
.logo img { height: 46px; width: auto; }
.logo .tag { font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent);
  border-inline-start: 2px solid var(--line); padding-inline-start: 10px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; white-space: nowrap; }
/* Store menu has more links: tighten on medium screens */
@media (max-width: 1280px) and (min-width: 1081px) {
  .nav.nav-store { gap: 14px; }
  .nav.nav-store a { font-size: .88rem; }
  .nav.nav-store .btn { padding: 9px 14px; }
}
.nav a:hover { color: var(--accent-dark); }
.nav .btn { color: #fff; }
.nav .lang { border: 1px solid var(--line); border-radius: 20px; padding: 4px 12px; font-size: .88rem; }
.menu-toggle { display: none; background: none; border: 0; color: var(--navy); font-size: 1.6rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 11px 22px; border-radius: 6px; text-decoration: none; font-weight: 600;
  border: 2px solid transparent; cursor: pointer; font-size: .95rem; font-family: inherit; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-store { font-size: 1rem; padding: 12px 24px; box-shadow: 0 4px 14px rgba(34,163,135,.35); }

/* Hero — illustration of the industries we serve (assets/img/industries-hero.svg), text on the dark side */
.hero { position: relative; overflow: hidden; color: #fff; padding: 120px 0 90px; background: #0b2f28; }
.hero::before { content: ""; position: absolute; inset: 0;
  background: url("../img/industries-hero.svg") right bottom / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,47,40,.97) 0%, rgba(11,47,40,.88) 38%, rgba(11,47,40,.2) 72%, rgba(11,47,40,0) 100%); }
html[dir="rtl"] .hero::before { transform: scaleX(-1); }
html[dir="rtl"] .hero::after { background: linear-gradient(270deg, rgba(11,47,40,.97) 0%, rgba(11,47,40,.88) 38%, rgba(11,47,40,.2) 72%, rgba(11,47,40,0) 100%); }
.hero > .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.2; margin: 0 0 18px; max-width: 800px; }
.hero p { font-size: 1.15rem; max-width: 680px; opacity: .92; margin: 0 0 30px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; color: var(--accent); font-weight: 700; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.hero .eyebrow { color: #7fe0c6; }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--bg); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 10px; color: var(--navy); line-height: 1.3; }
.section-head p { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card .icon { width: 52px; height: 52px; border-radius: 14px; color: var(--accent-dark);
  background: linear-gradient(135deg, #e6f6f1, #d2efe6); box-shadow: inset 0 0 0 1px rgba(34,163,135,.2);
  display: grid; place-items: center; margin-bottom: 16px; transition: background .2s, color .2s; }
.card .icon svg { width: 28px; height: 28px; }
.card:hover .icon { background: var(--accent); color: #fff; }
.card ul { margin: 12px 0 0; padding-inline-start: 18px; color: var(--muted); font-size: .92rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin-top: 50px; }
.stat strong { display: block; font-size: 2.2rem; color: #7fe0c6; }
.stat span { opacity: .88; }

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

/* Showroom photos (store page) */
.showroom-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.showroom-grid img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }
.showroom-grid img.big { grid-row: span 2; aspect-ratio: 16 / 10; }
@media (max-width: 700px) {
  .showroom-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .showroom-grid img.big { grid-column: span 2; grid-row: auto; }
  .showroom-grid img { aspect-ratio: 16 / 10; }
}

/* MT Laser feature section */
.mt-laser { background: linear-gradient(180deg, var(--bg), #fff); }
.mt-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.mt-head .section-head { margin: 0; }
.mt-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 22px; }
.mt-line { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.mt-line:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,58,50,.12); }
.mt-line img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mt-line .body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mt-line h3 { margin: 0; color: var(--navy); font-size: 1.1rem; }
.mt-line p { margin: 0; color: var(--muted); font-size: .92rem; }
.mt-line .from { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--accent-dark); }
.mt-strip { margin-top: 26px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: stretch; }
.mt-strip .card { display: flex; flex-direction: column; justify-content: center; }
.mt-laser.store-feature { padding: 44px 0 8px; }
.mt-lines .mt-line img { aspect-ratio: 4 / 3; object-fit: cover; }
.offer-tag { display: inline-block; background: var(--offer); color: #fff; font-weight: 700; font-size: .8rem;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; align-self: flex-start; }

.store-cta { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 50px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.store-cta h2 { margin: 0 0 8px; }
.store-cta p { margin: 0; opacity: .85; }
.store-cta .eyebrow { color: #7fe0c6; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list a[data-wa], .contact-list a[href^="tel"] { direction: ltr; unicode-bidi: embed; }
form .field { margin-bottom: 14px; }
form label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 5px; }
form input, form select, form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px;
  font: inherit; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 50px 0 24px; font-size: .92rem; }
.site-footer h4 { color: #fff; margin: 0 0 12px; }
.site-footer a { text-decoration: none; display: block; padding: 3px 0; }
.site-footer .footer-logo { height: 58px; width: auto; display: block; margin-bottom: 14px; }
.site-footer .footer-brand p { margin: 0; max-width: 260px; line-height: 1.6; color: rgba(255,255,255,.75); }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 34px; padding-top: 18px; font-size: .85rem; }
.ltr { direction: ltr; unicode-bidi: embed; }

/* WhatsApp float */
.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; background: #25d366; color: #fff; width: 56px; height: 56px;
  border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 60; }

/* ---------- STORE ---------- */
.store-hero { background: linear-gradient(110deg, rgba(15,58,50,.96), rgba(15,58,50,.8)),
  url("../img/showroom/showroom-2.jpg") center / cover no-repeat; color: #fff; padding: 56px 0; }
.store-hero h1 { margin: 0 0 6px; }
.store-hero .eyebrow { color: #7fe0c6; }
.offer-bar { background: var(--offer); color: #fff; text-align: center; padding: 8px 16px; font-weight: 600; font-size: .92rem; }
.store-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; padding: 40px 20px 80px; }
.filters h4 { margin: 0 0 10px; color: var(--navy); }
.filters button { display: block; width: 100%; text-align: start; background: none; border: 0; padding: 8px 10px;
  border-radius: 6px; cursor: pointer; font: inherit; color: var(--ink); }
.filters button.active, .filters button:hover { background: var(--bg); color: var(--accent-dark); font-weight: 600; }
.store-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.store-toolbar input { padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; min-width: min(260px, 100%); font: inherit; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.product .thumb { aspect-ratio: 1; background: var(--bg); position: relative; }
.product .thumb img { width: 100%; height: 100%; object-fit: contain; }
.product .thumb img.cover { object-fit: cover; }
.product .badge { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--accent); color: #fff; font-size: .75rem;
  font-weight: 700; padding: 4px 9px; border-radius: 20px; }
.product .badge.wf { background: var(--offer); }
.product .body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product .brand { font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-dark); font-weight: 600; }
.product h3 { margin: 0; font-size: 1.02rem; color: var(--navy); }
.product p { margin: 0; font-size: .88rem; color: var(--muted); }
.product ul { margin: 4px 0 0; padding-inline-start: 16px; font-size: .82rem; color: var(--muted); }
.product .price { font-weight: 700; color: var(--navy); margin-top: auto; padding-top: 8px; }
.product .price s { color: var(--muted); font-weight: 400; margin-inline-start: 6px; }
.product .price .now { color: var(--offer); }
.product .stock-out { color: var(--offer); font-weight: 600; font-size: .85rem; }
.product .stock-pre { color: #b26a00; font-weight: 600; font-size: .85rem; }
.product .badge.pre { background: #f0a020; color: #3a2400; }
.product .note { font-size: .8rem; color: var(--muted); }
.product .actions { display: flex; gap: 8px; }
.product .actions .btn { flex: 1; text-align: center; padding: 9px 10px; font-size: .85rem; }
.empty { color: var(--muted); padding: 40px 0; }

/* ---------- STORE v2: trust strip, category tiles, toolbar, cards, product view, basket ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 16px; padding-bottom: 16px; }
.trust-item { display: flex; gap: 10px; align-items: center; }
.trust-item .ti { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, #e6f6f1, #d2efe6); color: var(--accent-dark);
  display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px rgba(34,163,135,.18); }
.trust-item .ti svg { width: 24px; height: 24px; }
.count-wrap { display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.store-toolbar .count-wrap #count { padding-top: 0; }
.tax-note { color: var(--muted); font-size: .78rem; }
.dr-total small + small { margin-top: 2px; }
.dr-total .dr-del { color: #9a5b00; background: #fff6e6; border-radius: 6px; padding: 5px 8px; margin-top: 6px; }
.trust-item strong { display: block; font-size: .92rem; color: var(--navy); }
.trust-item span { font-size: .8rem; color: var(--muted); }

.cat-tiles { padding: 34px 0 6px; }
.tiles-h { margin: 0 0 16px; color: var(--navy); font-size: 1.4rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; cursor: pointer; text-align: center;
  display: flex; flex-direction: column; gap: 6px; font: inherit; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(15,58,50,.10); border-color: var(--accent); }
.tile-img { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--bg); display: grid; place-items: center; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tile-ph { font-size: 2.4rem; font-weight: 800; color: var(--accent); }
.tile-t { font-weight: 700; font-size: .9rem; color: var(--navy); line-height: 1.3; }
.tile-n { font-size: .78rem; color: var(--muted); }

.store-toolbar { align-items: flex-start; }
.store-toolbar #count { font-weight: 700; color: var(--navy); padding-top: 9px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tools input[type=search], .tools select { padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: #fff; }
.tools input[type=search] { min-width: min(240px, 100%); }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
.filters .n { margin-inline-start: auto; font-size: .78rem; color: var(--muted); font-weight: 400; }
.filters button { display: flex; align-items: center; gap: 8px; }

.product { transition: box-shadow .15s, transform .15s; }
.product:hover { box-shadow: 0 10px 24px rgba(15,58,50,.10); transform: translateY(-2px); }
.product .thumb { display: block; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.product .thumb img { transition: transform .3s; }
.product:hover .thumb img { transform: scale(1.04); }
.product h3 a { text-decoration: none; }
.product h3 a:hover { color: var(--accent-dark); }
.product .sum { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product .price .req, .pd-price .req { color: var(--muted); font-weight: 600; }
.badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.badges .badge { position: static; }
.badge.wf-label { background: var(--navy); }
.pill { display: inline-block; align-self: flex-start; font-size: .75rem; font-weight: 600; padding: 2px 9px; border-radius: 20px; }
.pill-in { background: #e3f5ef; color: #137a5f; }
.pill-out { background: #fde7e8; color: #b4232b; }
.pill-pre { background: #fff2dc; color: #9a5b00; }
.btn-wa { background: #25d366; color: #fff; flex: 0 0 44px !important; padding: 9px 0 !important; font-size: 1.05rem !important; }
.btn-wa-full { background: #25d366; color: #fff; }
.btn-outline-dark { border: 2px solid var(--navy); color: var(--navy); background: #fff; }
.more-wrap { grid-column: 1 / -1; text-align: center; padding: 10px 0; }
.linkbtn { background: none; border: 0; color: var(--accent-dark); font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }
.empty .linkbtn { margin-inline-start: 6px; }

.basket-btn { margin-inline-start: auto; margin-inline-end: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 7px 14px;
  font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; }
.basket-btn.has { background: var(--accent); color: #fff; border-color: var(--accent); }

.overlay { position: fixed; inset: 0; background: rgba(8,30,26,.55); z-index: 100; display: flex; }
.overlay[hidden] { display: none; }
body.noscroll { overflow: hidden; }
.x { position: absolute; top: 10px; inset-inline-end: 12px; background: #fff; border: 1px solid var(--line); width: 36px; height: 36px; border-radius: 50%;
  font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--navy); z-index: 2; }
.pd { position: relative; background: #fff; border-radius: 14px; margin: auto; width: min(980px, calc(100% - 24px)); max-height: calc(100vh - 40px); overflow: auto; padding: 26px; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pd-img { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; overflow: hidden; }
.pd-img img { width: 100%; height: 100%; object-fit: contain; }
.pd-img img.cover { object-fit: cover; }
.pd-info { display: flex; flex-direction: column; gap: 10px; }
.pd-info h2 { margin: 0; color: var(--navy); font-size: 1.5rem; line-height: 1.3; }
.pd-info .brand { font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-dark); font-weight: 700; }
.pd-cat { font-size: .88rem; color: var(--muted); }
.pd-price { font-size: 1.6rem; font-weight: 800; color: var(--navy); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.pd-price .now { color: var(--offer); }
.pd-price s { font-size: 1rem; color: var(--muted); font-weight: 400; }
.pd-price .save { font-size: .8rem; background: #fde7e8; color: #b4232b; padding: 3px 9px; border-radius: 20px; font-weight: 700; }
.pd-sum { color: var(--ink); margin: 0; }
.sw-row { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.sw { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); display: inline-block; }
.sw.big { width: 30px; height: 30px; }
.sw-more { font-size: .75rem; color: var(--muted); margin-inline-start: 2px; }
.opts.colors { gap: 6px; }
.opt-c { border: 2px solid transparent; background: none; border-radius: 50%; padding: 3px; cursor: pointer; line-height: 0; }
.opt-c:hover { border-color: var(--line); }
.opt-c.on { border-color: var(--accent); }
#opt-name { font-weight: 400; color: var(--muted); }
.opts-h { font-weight: 700; color: var(--navy); font-size: .9rem; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { border: 2px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 14px; cursor: pointer; font: inherit;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: start; min-width: 130px; }
.opt span { font-weight: 700; color: var(--navy); }
.opt small { color: var(--muted); }
.opt:hover { border-color: var(--accent); }
.opt.on { border-color: var(--accent); background: #e9f7f2; box-shadow: 0 0 0 2px rgba(34,163,135,.15); }
.pd-info h4 { margin: 6px 0 0; color: var(--navy); }
.pd-info ul { margin: 0; padding-inline-start: 18px; color: var(--muted); }
.pd-buy { display: flex; gap: 10px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.pd-links { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; align-items: center; }
.qty button { background: var(--bg); border: 0; width: 36px; height: 40px; font-size: 1.1rem; cursor: pointer; }
.qty input { width: 52px; height: 40px; border: 0; text-align: center; font: inherit; }
.qty.sm button { width: 28px; height: 28px; }
.qty.sm span { min-width: 28px; text-align: center; font-weight: 700; }
.qty.sm .linkbtn { width: auto; background: none; margin: 0 8px; font-size: .82rem; }
.pd-rel { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 16px; }
.pd-rel h4 { margin: 0 0 12px; color: var(--navy); }
.rel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rel-item { text-decoration: none; display: flex; flex-direction: column; gap: 4px; font-size: .85rem; }
.rel-item img { aspect-ratio: 1; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; width: 100%; }
.rel-item b { color: var(--navy); }

.drawer { position: relative; background: #fff; width: min(420px, 100%); margin-inline-start: auto; height: 100%; overflow: auto; padding: 20px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: -10px 0 30px rgba(0,0,0,.2); }
.dr-h { display: flex; align-items: center; justify-content: space-between; }
.dr-h h3 { margin: 0; color: var(--navy); }
.dr-h .x { position: static; }
.dr-item { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dr-img img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.dr-info { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
.dr-info a { text-decoration: none; color: var(--navy); font-weight: 600; }
.dr-price { color: var(--muted); font-size: .85rem; }
.dr-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; padding: 8px 0; font-size: 1.05rem; }
.dr-total b { color: var(--navy); font-size: 1.3rem; }
.dr-total small { width: 100%; color: var(--muted); }
.dr-form { display: grid; gap: 8px; }
.dr-form input, .dr-form textarea { padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.btn.block { display: block; width: 100%; text-align: center; }
.dr-note, .dr-empty { color: var(--muted); font-size: .85rem; }

/* Authorised partners */
.partners { padding: 26px 0 4px; }
.partners .container { background: linear-gradient(110deg, var(--navy), var(--steel)); color: #fff; border-radius: 14px; padding: 22px;
  display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 20px; align-items: center; }
.partners-head p { margin: 10px 0 0; opacity: .9; font-size: .92rem; }
.partner-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.partner-logo { height: 30px; width: auto; max-width: 100%; object-fit: contain; display: block; }
.brand-logo { height: 15px; width: auto; vertical-align: middle; }
.pd-info .brand-logo { height: 20px; }
.partner { background: #fff; border: 0; border-radius: 10px; padding: 16px; text-align: start; cursor: pointer; font: inherit;
  display: flex; flex-direction: column; gap: 4px; transition: transform .15s, box-shadow .15s; }
.partner:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.2); }
.partner .pw { font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: .3px; }
.partner .ps { font-size: .84rem; color: var(--muted); }
.partner .pa { font-size: .84rem; font-weight: 700; color: var(--accent-dark); margin-top: 4px; }
.auth { display: inline-block; background: #e3f5ef; color: #137a5f; font-size: .68rem; font-weight: 700; padding: 1px 7px; border-radius: 12px;
  text-transform: none; letter-spacing: 0; vertical-align: middle; margin-inline-start: 4px; }
.auth.big { background: #7fe0c6; color: var(--navy); font-size: .85rem; padding: 4px 12px; margin: 0; }
.auth-line { margin: 0; color: #137a5f; font-weight: 600; font-size: .9rem; }
@media (max-width: 860px) { .partners .container { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .partner-cards { grid-template-columns: 1fr; } }

.toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 10px 18px;
  border-radius: 24px; z-index: 120; box-shadow: 0 8px 20px rgba(0,0,0,.25); font-weight: 600; max-width: calc(100% - 32px); }
.toast[hidden] { display: none; }

/* Store menu switches to the ☰ menu earlier than the homepage, because it has more links */
@media (max-width: 1080px) {
  .nav.nav-store { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column;
    padding: 20px; gap: 14px; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .nav.nav-store.open { display: flex; }
  .nav.nav-store ~ .menu-toggle, .site-header .container:has(.nav-store) .menu-toggle { display: block; }
}
@media (max-width: 960px) {
  .trust .container { grid-template-columns: repeat(2, 1fr); }
  .pd-grid { grid-template-columns: 1fr; }
  .rel { grid-template-columns: repeat(2, 1fr); }
  .tools { width: 100%; }
  .tools input[type=search] { flex: 1 1 100%; }
}
@media (max-width: 520px) {
  .trust-item span { display: none; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tile { padding: 6px; }
  .tile-t { font-size: .78rem; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product .body { padding: 10px; }
  .product .sum { display: none; }
  .product h3 { font-size: .9rem; }
  .product .actions .btn { font-size: .78rem; padding: 8px 6px; }
  .pd { padding: 18px; }
}

@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column;
    padding: 20px; gap: 14px; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .logo img { height: 38px; }
  .store-layout { grid-template-columns: 1fr; padding-top: 24px; }
  .filters { display: flex; gap: 6px; overflow-x: auto; }
  .filters h4 { display: none; }
  .filters button { white-space: nowrap; width: auto; }
  .store-cta { padding: 30px; }
  .mt-strip { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .logo .tag { display: none; }
  .hero { padding: 80px 0 60px; }
  .hero::after { background: rgba(11,47,40,.82) !important; }
}
