/* ==========================================================================
   NEXA Enterprises - storefront layer (loaded after main.css)
   1. Tokens (navy + safety orange)
   2. Base & typography overrides
   3. Buttons & badges
   4. Header (Atlas two-row) & mega menu
   5. Quote basket button & toasts
   6. Hero slider
   7. Trust strip & feature rows
   8. Category cards
   9. Find-product filter block
   10. Product cards & rails
   11. Brand tiles
   12. Promo cards & split banners
   13. Shop layout, filters, sort
   14. Product detail page
   15. Quote basket & forms
   16. Inner page furniture
   17. Footer
   18. Responsive
   ========================================================================== */

/* ------------------------------------------------------- 1. Tokens */
:root {
  --ink: #0b1f3a;
  --ink-800: #0e2748;
  --ink-700: #12325c;
  --ink-600: #1a4176;
  --ink-500: #4a5568;
  --ink-400: #6b7a90;

  --slate: #4a5568;
  --muted: #7c8ba1;

  --paper: #ffffff;
  --paper-2: #f4f7fb;
  --line: #dfe7f1;
  --line-dark: rgba(255, 255, 255, 0.14);

  --white: #ffffff;
  --text: #0b1f3a;
  --text-soft: #4a5568;

  --indigo: #f26522;
  --indigo-600: #d14e12;
  --indigo-700: #b33f0a;
  --indigo-100: #fdece2;

  --aqua: #c6e24b;
  --aqua-600: #55670f;
  --mint: #128a5b;
  --amber: #c98a1b;
  --rose: #cf3b4d;

  --navy: #0b1f3a;
  --navy-700: #12325c;
  --navy-100: #e8eef6;
  --atlas-blue: #03447d;
  --orange: #f26522;
  --lime: #c6e24b;
  --band: #e0f1fb;

  --brand-grad: linear-gradient(135deg, #f26522 0%, #d14e12 100%);
  --brand-grad-soft: linear-gradient(135deg, rgba(242, 101, 34, 0.12), rgba(209, 78, 18, 0.05));
  --dark-grad: linear-gradient(180deg, #03447d 0%, #023059 100%);

  --shadow-brand: 0 10px 24px -12px rgba(242, 101, 34, 0.7);
}

/* ------------------------------------------------- 2. Base overrides */
body {
  background: var(--white);
  color: var(--text);
}

::selection {
  background: rgba(242, 101, 34, 0.22);
}

a {
  color: var(--ink-700);
}

a:hover {
  color: var(--indigo-600);
}

h1, h2, h3, h4, h5 {
  letter-spacing: -0.015em;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.78em;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.muted {
  color: var(--text-soft);
}

.eyebrow {
  color: var(--indigo-600);
  background: var(--indigo-100);
  border-color: rgba(242, 101, 34, 0.25);
}

.section--paper2 {
  background: var(--paper-2);
}

.section--dark {
  background: var(--band);
  color: var(--ink);
}

.section--dark .eyebrow {
  background: rgba(242, 101, 34, 0.14);
  color: #b8480f;
  border-color: rgba(242, 101, 34, 0.3);
}

.section--dark h2,
.section--dark h3,
.section--dark strong {
  color: var(--ink);
}

/* --------------------------------------------- 3. Buttons & badges */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
}

.btn--primary {
  --btn-bg: var(--atlas-blue);
  --btn-bd: var(--atlas-blue);
  box-shadow: 0 10px 24px -12px rgba(3, 68, 125, 0.7);
}

.btn--primary:hover {
  --btn-bg: #023059;
  --btn-bd: #023059;
}

/* Primary buttons sitting on the blue surfaces flip to the orange accent
   so they stay visible and on-brand. */
.header__cta.btn--primary,
.hero-slider .btn--primary,
.page-hero .btn--primary,
.info-card .btn--primary {
  --btn-bg: var(--orange);
  --btn-bd: var(--orange);
  box-shadow: var(--shadow-brand);
}

.header__cta.btn--primary:hover,
.hero-slider .btn--primary:hover,
.page-hero .btn--primary:hover,
.info-card .btn--primary:hover {
  --btn-bg: #d14e12;
  --btn-bd: #d14e12;
}

.btn--grad {
  background: var(--brand-grad);
}

.btn--dark,
.btn--navy {
  --btn-bg: var(--ink);
  --btn-bd: var(--ink);
  color: #fff;
}

.btn--navy:hover,
.btn--dark:hover {
  --btn-bg: var(--ink-700);
  --btn-bd: var(--ink-700);
  color: #fff;
}

.btn--light {
  --btn-bg: var(--navy-100);
  --btn-bd: var(--navy-100);
  color: var(--ink);
}

.badge--aqua,
.badge--lime {
  background: rgba(198, 226, 75, 0.24);
  color: var(--aqua-600);
}

.badge--dark {
  background: var(--ink);
  color: #fff;
}

.chip.is-active,
.chip--active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.chip__count {
  background: var(--indigo-100);
  color: var(--indigo-600);
}

.chip.is-active .chip__count {
  background: var(--indigo);
  color: #fff;
}

/* --------------------------------- 4. Header (Atlas two-row) & mega menu */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(11, 31, 58, 0.03);
}

.header.is-stuck {
  box-shadow: 0 12px 30px -22px rgba(11, 31, 58, 0.6);
}

/* Row 1 - white: logo, large Atlas-style search, phone/email, CTA.
   Positioned so the Search by Category flyout (inside .header-search)
   is anchored to this row: top:100% drops it straight below the row and
   left/right:0 let it center on the page instead of overflowing the
   viewport from the middle of the bar. */
.header__top {
  position: relative;
  background: var(--white);
}

.header__top-inner {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.5vw, 1.4rem);
  padding-block: 1.15rem;
}

.brand {
  flex: none;
}

.brand__logo {
  display: block;
  width: auto;
  height: 88px;
}

/* Full-name line under the header logo. */
.brand__sub {
  display: block;
  margin-top: 3px;
  font-size: 0.62rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--muted, #5b6b83);
  white-space: nowrap;
}

.header-search {
  display: flex;
  align-items: stretch;
  flex: 1;
  min-width: 0;
  max-width: 720px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: visible; /* the Search by Category flyout must escape the pill */
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.header-search:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.14);
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 0.9rem;
  height: 40px;
  font-size: 0.95rem;
  color: var(--text);
}

.header-search input:focus {
  outline: none;
}

.header-search__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  background: var(--atlas-blue);
  color: #fff;
  padding-inline: 1rem;
  height: 40px;
  flex: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--speed) var(--ease);
}

.header-search__btn:hover {
  background: var(--orange);
}

/* Wrapper keeps the suggestion panel anchored to the input itself, so the
   Search-by-Category flyout keeps anchoring to .header__top as before. */
.header-search__field {
  position: relative;
  display: flex;
  flex: 1;
  min-width: 0;
}

/* Live product suggestions (GET /search/suggest) under the top-bar input */
.suggest {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 70;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -24px rgba(11, 31, 58, 0.4);
  max-height: 62vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.suggest a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.75rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.suggest a:last-child {
  border-bottom: 0;
}

.suggest a:hover,
.suggest a.is-active {
  background: var(--paper-2);
}

.suggest img,
.suggest__noimg {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
  background: var(--paper-2);
}

.suggest__noimg {
  display: block;
}

.suggest__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.1rem;
}

.suggest__name {
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.suggest__sku {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.suggest__price {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}

.suggest__empty {
  padding: 0.9rem 0.85rem;
  font-size: 0.87rem;
  color: var(--muted);
}

/* Contact blocks (Atlas LOCATIONS / EMAIL pair) */
.header__contact {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.8rem);
}

.icontact {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  min-width: 0;
}

.icontact svg {
  color: var(--atlas-blue);
  flex: none;
}

.icontact__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.icontact__text strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--atlas-blue);
  white-space: nowrap;
}

.icontact__text em {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--atlas-blue);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.icontact--loc .icontact__text em {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.icontact:hover .icontact__text em {
  color: var(--indigo-600);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Row 2 - Atlas blue bar: equal-width primary navigation */
.header__bar {
  background: var(--atlas-blue);
  color: #fff;
}

.header__bar-inner {
  display: flex;
  align-items: stretch;
  min-height: 104px;
}

.header__bar-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding-left: 0.75rem;
  flex: none;
}

.nav__caret {
  display: inline-block;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}

/* Primary links fill the whole middle strip of the blue bar, between the
   brand edge on the left and the pinned "Request a Quotation" button on
   the right (the "Search by Category" button moved to the top bar). The
   leftover space is shared evenly between the tabs - and at both ends of
   the strip - so the spacing stays balanced. The clamp keeps a sane
   minimum gap on narrow desktops where there is no spare space to spread. */
.header__bar .nav {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
  gap: clamp(0.35rem, 0.8vw, 1.4rem);
  min-width: 0;
  padding-inline: 0.25rem;
}

/* Tabs may shrink when the menu is wider than the strip so the last tab
   (Contact Us) slides closed instead of ever sliding under the pinned
   "Request a Quotation" button. main.js shrinks the font first; the
   ellipsis below is the last-resort clamp. */
.header__bar .nav > * {
  flex: 0 1 auto;
  min-width: 0;
  position: relative;
}

.header__bar .nav__label {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

/* main.js toggles this for one layout read to measure the menu's natural
   width while the tabs are shrinkable. */
.header__bar .nav.is-measuring > * {
  flex: 0 0 auto;
}

.nav__badge {
  position: absolute;
  top: 5px;
  right: 2px;
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1.2;
  background: #fff;
  color: var(--atlas-blue);
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.03em;
}

.header__bar .nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 100%;
  min-height: 104px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 2.9;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  padding: 0.5rem clamp(7px, 0.85vw, 11px);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

/* Category filter dropdown - now the first control inside the top-bar
   search pill (it moved out of the blue bar, see .header-search above). */
.nav__item--catfilter {
  position: relative;
  flex: 0 0 auto;
  margin-right: 0.75rem;
  display: flex;
  align-items: center;
}

.header__bar .nav__catfilter-btn,
.nav__catfilter-btn {
  cursor: pointer;
  background: #fff;
  border: 0;
  color: var(--atlas-blue);
  gap: 0.45rem;
  border-radius: 4px;
  margin: 0;
  padding: 0 clamp(0.85rem, 1.2vw, 1.25rem);
  min-width: clamp(195px, 15vw, 235px);
  min-height: 0 !important;
  height: 52px;
  line-height: 1 !important;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  align-self: center;
}

.nav__catfilter-btn:hover,
.nav__item--catfilter:hover .nav__catfilter-btn,
.nav__item--catfilter:focus-within .nav__catfilter-btn,
.header__bar .nav__catfilter-btn:hover,
.header__bar .nav__item--catfilter:hover .nav__catfilter-btn,
.header__bar .nav__item--catfilter:focus-within .nav__catfilter-btn {
  background: #fff;
  color: var(--orange);
  border-bottom-color: transparent;
}

/* Top-bar restyle: the button replaces the old category <select> inside
   the search pill, so it matches the select's compact 40px look and only
   rounds off the pill's left end. The item is NOT positioned (unlike the
   blue-bar original) so the flyout panel anchors to .header__top below. */
.header-search .nav__item--catfilter {
  position: static;
  margin-right: 0;
  align-items: stretch;
}

.header-search .nav__catfilter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  background: var(--paper-2);
  color: var(--ink);
  padding: 0 1.05rem;
  min-width: 0;
  height: auto;
  align-self: stretch;
  font-family: var(--font-body);
  font-size: 1.05rem; /* batch 12: larger "Search by Category" label */
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.header-search .nav__catfilter-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.header-search .nav__catfilter-btn:hover,
.header-search .nav__item--catfilter:hover .nav__catfilter-btn,
.header-search .nav__item--catfilter:focus-within .nav__catfilter-btn {
  background: #eef2f8;
  color: var(--orange);
}

.header-search .nav__catfilter-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* The flyout hangs from the white header row (.header__top is its
   positioning anchor). Batch 12: horizontally it matches the HEADER
   BAR container - centered on the page, same width as
   .header__bar-inner (container--wide) - and vertically it runs full
   height from below the white row down to the bottom of the screen. */
.nav__catfilter-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: min(100%, var(--container-wide)); /* = header bar width, centred */
  margin-inline: auto;
  height: calc(100vh - 100%);
  height: calc(100dvh - 100%); /* full height down the page */
  z-index: 60;
  min-width: 0;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(11, 31, 58, 0.45);
  transform: none;
}

.nav__catfilter-panel[hidden] {
  display: none;
}

/* Atlas-style category flyout: theme-blue rail + image tiles.
   Batch 12: the rail is the official Atlas blue (the same blue as the
   nav bar) with orange as the active accent, instead of the old
   near-black. */
.catfly {
  display: flex;
  height: 100%; /* batch 12: fill the full-height panel */
  min-height: 420px;
  background: var(--atlas-blue);
}

.catfly__rail {
  flex: 0 0 240px;
  height: 100%;
  background: var(--atlas-blue);
  padding: 0.5rem 0;
  overflow-y: auto; /* every family reachable - rail scrolls itself */
}

.catfly__rail button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
}

.catfly__rail button::after {
  content: "\203A";
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0.7;
}

.catfly__rail button:hover,
.catfly__rail button.is-active {
  color: var(--orange);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 3px 0 0 var(--orange);
}

.catfly__panes {
  flex: 1;
  position: relative;
  height: 100%;
  background: #fff;
  min-width: 0;
}

.catfly__pane {
  display: none;
  padding: 1.2rem 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem 1.4rem;
  align-content: start;
}

.catfly__pane.is-active {
  display: grid;
  position: absolute;
  inset: 0; /* batch 12: fill the full-height panel */
  overflow-y: auto; /* tiles scroll inside instead of a 460px cap */
}

.catfly__tile {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.catfly__tile-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f4f6f9;
  border-radius: 6px;
  padding: 0.5rem;
}

.catfly__tile-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.catfly__tile-name:hover {
  color: var(--orange);
}

.catfly__tile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.catfly__tile-links a {
  font-size: 0.84rem;
  color: var(--text-soft);
}

.catfly__tile-links a:hover {
  color: var(--atlas-blue);
}

.catfly__tile-links a.mega__all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--atlas-blue) !important;
}

/* Header top contact buttons + orange CTAs (items 10-11) */
.header__bar-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding-left: 0.75rem;
  flex: none;
}

.header__bar-cta .btn {
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 0.95rem;
}

.btn--quote-basket {
  --btn-bg: var(--orange);
  --btn-bd: var(--orange);
  --btn-fg: #fff;
}

.btn--quote-basket:hover {
  --btn-bg: #d9551a;
  --btn-bd: #d9551a;
  --btn-fg: #fff;
}

.btn--ask-quote {
  --btn-bg: var(--orange);
  --btn-bd: var(--orange);
  --btn-fg: #fff;
}

.btn--ask-quote:hover {
  --btn-bg: #d9551a;
  --btn-bd: #d9551a;
  --btn-fg: #fff;
}

/* WhatsApp contact block replacing LOCATIONS */
.icontact--wa strong {
  display: block;
}

.icontact--wa em {
  font-style: normal;
  font-size: 0.78rem;
  opacity: 0.9;
}

/* Atlas find-equipment band: light sky-blue solid background (item 2) */
.find-band {
  position: relative;
  background: var(--band);
  color: var(--ink);
  overflow: hidden;
}

.find-band::before {
  content: none;
}

.find-band > * {
  position: relative;
  z-index: 1;
}

.find-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(2.6rem, 6vw, 4.2rem);
}

.find-band__copy {
  max-width: 480px;
}

.find-band__copy h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.find-band__copy h2 span {
  color: var(--atlas-blue);
}

.find-band__copy p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  opacity: 0.92;
  color: var(--text-soft);
}

.find-band__box {
  flex: 0 0 340px;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}

.find-band__box-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--atlas-blue);
}

.find-band__box-title strong {
  display: block;
  color: var(--ink);
}

.find-band__box .field {
  margin-bottom: 0.75rem;
}

.find-band__box .field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
}

.find-band__box select,
.find-band__box input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 0.65rem;
  font-size: 0.9rem;
  background: #fff;
}

.find-band__box .btn {
  width: 100%;
  margin-top: 0.35rem;
  --btn-bg: var(--atlas-blue);
  --btn-bd: var(--atlas-blue);
  --btn-fg: #fff;
  font-weight: 700;
}

.find-band__box .btn:hover {
  --btn-bg: var(--orange);
  --btn-bd: var(--orange);
}

@media (max-width: 900px) {
  .find-band__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .find-band__box {
    flex: none;
    width: 100%;
  }
}

.header__bar .nav__link::after {
  display: none;
}

.header__bar .nav__link:hover,
.header__bar .nav__link.is-active {
  color: #fff;
  border-bottom-color: var(--orange);
}

/* Mega panel centres under its "Products" nav item */
.header__bar .nav__item--mega .nav__dropdown {
  left: 50%;
  transform: translate(-50%, 8px);
}

.header__bar .nav__item--mega:hover .nav__dropdown,
.header__bar .nav__item--mega:focus-within .nav__dropdown {
  transform: translate(-50%, 0);
}

.nav__dropdown--mega {
  min-width: min(860px, 90vw);
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(11, 31, 58, 0.45);
}

.mega {
  display: flex;
  flex-direction: column;
}

.mega__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem 1.5rem;
  padding: 1.4rem 1.6rem 1rem;
}

.mega__col {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mega__col a {
  font-size: 0.87rem;
  color: var(--text-soft);
  padding: 0.22rem 0;
}

.mega__col a:hover {
  color: var(--indigo-600);
}

.mega__head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink) !important;
  padding-bottom: 0.35rem !important;
  margin-bottom: 0.25rem;
  border-bottom: 2px solid var(--indigo);
}

.nav__dropdown a.mega__all {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.6rem;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink) !important;
}

.nav__dropdown a.mega__all:hover {
  background: var(--ink);
  color: #fff !important;
}

/* --------------------------- 5. Quote basket button & toasts */
.basket-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 600;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
}

.basket-btn:hover {
  color: var(--indigo-600);
}

.basket-btn__count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  margin-left: 0.35rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.basket-btn__count.is-on {
  background: #fff;
  color: var(--orange);
}

.basket-btn__label {
  font-size: 0.85rem;
}

.header__cta {
  white-space: nowrap;
}

/* --------------------------------------------------- 6. Hero (light, card) */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--atlas-blue);
  color: #fff;
}

.hero-slider__track {
  display: flex;
  transition: transform 0.6s var(--ease);
}

.hero-slider__slide {
  position: relative;
  min-width: 100%;
  min-height: clamp(400px, 46vw, 560px);
  display: flex;
  align-items: center;
}

.hero-slider__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider__scrim {
  position: absolute;
  inset: 0;
  background: #000;
  /* Light, clean black wash - keeps the photo vivid while white hero copy
     stays readable. The Site Editor "Overlay density (%)" knob overrides this
     when a value is set there. */
  opacity: 0.28;
}

.hero-slider__slide--right .hero-slider__scrim {
  background: #000;
}

/* Animated ghost marquee behind the hero copy (Atlas reference). */
.hero-slider__ghost {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12%;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  user-select: none;
}

.hero-slider__ghost span,
.hero-slider__ghost {
  display: inline-block;
  animation: none;
}

@keyframes heroGhost {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider__ghost { animation: none; }
}

.hero-slider .btn--light {
  --btn-bg: #fff;
  --btn-bd: #fff;
  --btn-fg: #0f2a4a;
  font-weight: 600;
}

.hero-slider .btn--light:hover {
  --btn-bg: var(--orange);
  --btn-bd: var(--orange);
  --btn-fg: #fff;
}

.hero-slider__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-block: clamp(3.25rem, 7vw, 5.25rem);
}

.hero-slider__slide--right .hero-slider__inner {
  justify-content: flex-end;
}

.hero-slider__slide--right .hero-slider__copy {
  text-align: right;
}

.hero-slider__slide--right .hero-slider__actions {
  justify-content: flex-end;
}

.hero-slider__copy {
  max-width: 640px;
}

.hero-slider__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.hero-slider__eyebrow svg {
  color: var(--orange);
}

.hero-slider__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.9rem;
  text-wrap: balance;
}

.hero-slider__text {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  max-width: 54ch;
  margin-bottom: 1.5rem;
}

.hero-slider__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-slider .btn--ghost {
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.75);
}

.hero-slider .btn--ghost:hover {
  --btn-bd: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-slider__dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.hero-slider__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}

.hero-slider__dot.is-active {
  background: var(--orange);
  transform: scale(1.25);
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.hero-slider__arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.hero-slider__arrow--prev { left: 1rem; }
.hero-slider__arrow--next { right: 1rem; }

@media (max-width: 900px) {
  .hero-slider__scrim,
  .hero-slider__slide--right .hero-slider__scrim {
    background: #000;
  }

  .hero-slider__slide--right .hero-slider__inner {
    justify-content: flex-start;
  }

  .hero-slider__slide--right .hero-slider__copy {
    text-align: left;
  }

  .hero-slider__slide--right .hero-slider__actions {
    justify-content: flex-start;
  }
}

/* ------------------------------------ 7. Trust strip & features */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-block: 1.1rem;
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.trust-strip__item strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 0.95rem;
}

.trust-strip__item span {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.trust-strip__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--indigo-100);
  color: var(--indigo-600);
}

/* ----------------------------------------- 8. Category cards */
/* About "What we supply": fixed column counts (4/3/2) so every row is
   full and all cards share one size - auto-fill left ragged last rows
   and uneven card widths, which could not be tuned from the editor. */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.4rem);
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 101, 34, 0.45);
  box-shadow: 0 24px 40px -30px rgba(11, 31, 58, 0.7);
}

.cat-card__media {
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  overflow: hidden;
}

.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.cat-card:hover .cat-card__media img {
  transform: scale(1.06);
}

.cat-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.9rem 1rem 1.05rem;
}

.cat-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  min-height: 2.7em; /* two lines, so counts line up across a row */
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.cat-card__count {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--muted);
}

.cat-card__kids {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.6rem;
}

.cat-card__kids a {
  font-size: 0.74rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.55rem;
  color: var(--text-soft);
}

.cat-card__kids a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Atlas-style slim category tile: image + name only, no card chrome */
.cat-grid--slim {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.6rem);
}

.cat-card--slim {
  border: 0;
  background: transparent;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: 1.1rem 0.9rem;
  border-radius: var(--radius);
  box-shadow: none;
  transition: background var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.cat-card--slim:hover {
  transform: none;
  border-color: transparent;
  background: rgba(15, 42, 74, 0.06);
  box-shadow: 0 18px 40px -26px rgba(11, 31, 58, 0.45);
}

.cat-card--slim .cat-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: transparent;
  border-radius: var(--radius);
  overflow: hidden;
}

.cat-card--slim .cat-card__media img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  padding: 0.5rem;
}

.cat-card--slim .cat-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
  min-height: 0;
}

.cat-card--slim:hover .cat-card__title {
  color: var(--atlas-blue);
}

/* ------------------------------- 9. Find-product filter block */
.find-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -46px rgba(11, 31, 58, 0.7);
  padding: clamp(1.1rem, 3vw, 1.75rem);
}

.find-block__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.find-block__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  align-items: end;
}

.find-block__actions {
  display: flex;
  gap: 0.6rem;
}

.find-block label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.35rem;
}

/* ----------------------------------- 10. Product cards & rails */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: clamp(0.85rem, 2vw, 1.35rem);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 101, 34, 0.5);
  box-shadow: 0 26px 46px -34px rgba(11, 31, 58, 0.75);
}

.product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: var(--white);
  border-bottom: 0;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__fallback {
  color: var(--muted);
}

.product-card__badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--indigo);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-pill);
}

.product-card__body {
  padding: 0.85rem 0.95rem 0.4rem;
  flex: 1;
}

.product-card__brand {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--indigo-600);
  text-decoration: none;
}

.product-card__brand:hover {
  color: var(--orange);
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 600;
  margin: 0.3rem 0 0.5rem;
}

.product-card__title a {
  color: var(--ink);
}

.product-card__title a:hover {
  color: var(--indigo-600);
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
}

.stock {
  font-weight: 700;
  padding: 0.12rem 0.5rem;
  border-radius: var(--radius-pill);
}

.stock--in {
  background: none;
  color: var(--ink-500);
}

.stock--pre {
  background: var(--paper-2);
  color: var(--ink-500);
}

.product-card__foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  padding: 0.7rem 0.95rem 0.95rem;
  margin-top: 0.6rem;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.price__now {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--orange);
}

.price__now--hidden {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-600);
  background: var(--paper-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.7rem;
}

.price__unit {
  font-size: 0.74rem;
  color: var(--muted);
}

.price__was {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: line-through;
}

.product-card__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 40px;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--atlas-blue);
  background: var(--atlas-blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.product-card__add:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.rail {
  position: relative;
}

.rail__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.rail__nav {
  display: flex;
  gap: 0.5rem;
}

.rail__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--speed) var(--ease);
}

.rail__btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.rail__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* The rail track: cards flow down-then-across into exactly TWO rows at any
   viewport width, and the track itself scrolls sideways so the arrows have
   something to move. Scoped to .rail because the shop listing uses a bare
   .product-grid and must keep its wrapping responsive grid. */
.rail .product-grid {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: clamp(190px, 20vw, 250px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
}

.rail .product-grid::-webkit-scrollbar {
  height: 8px;
}

.rail .product-grid::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 99px;
}

.rail .product-grid::-webkit-scrollbar-track {
  background: transparent;
}

/* -------------------------------------------- 11. Brand tiles */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 1rem;
}

.brand-grid--all {
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
}

.brand-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 148px;
  padding: 1.25rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  transition: all var(--speed) var(--ease);
}

.brand-tile:hover {
  border-color: var(--indigo);
  box-shadow: 0 18px 34px -28px rgba(11, 31, 58, 0.8);
  transform: translateY(-3px);
}

.brand-tile__mark {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--navy-100);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
}

.brand-tile__logo {
  max-width: 170px;
  max-height: 68px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 16px);
  background: #fff;
}

.brand-head__logo {
  max-width: 132px;
  max-height: 48px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-head__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-right: auto;
}

.brand-head__meta strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.brand-head__meta span {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.brand-tile__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.brand-tile__count {
  font-size: 0.74rem;
  color: var(--muted);
}

/* ------------------------------ 12. Promo cards & banners */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
}

.promo-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  background: var(--ink) var(--promo-img) center/cover no-repeat;
}

.promo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 68, 125, 0.05) 0%, rgba(3, 68, 125, 0.6) 100%);
}

.promo-card__body {
  position: relative;
  padding: 1.2rem 1.25rem;
}

.promo-card__kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 700;
}

.promo-card__title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0.35rem 0 0.5rem;
}

.promo-card__link {
  font-weight: 600;
  font-size: 0.88rem;
  color: #fff;
  border-bottom: 2px solid var(--indigo);
  padding-bottom: 2px;
}

.split-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
}

/* ------------------------------------------- custom homepage sections */
.home-custom--dark {
  background: var(--dark-grad);
  color: #fff;
}

.home-custom--dark h2 {
  color: #fff;
}

.home-custom--dark .home-custom__copy p {
  color: rgba(255, 255, 255, 0.88);
}

.home-custom--dark .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.home-custom__inner {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.home-custom__inner--image {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.home-custom__copy {
  max-width: 640px;
}

.home-custom__copy h2 {
  margin-bottom: 0.6rem;
}

.home-custom__copy p {
  margin: 0 0 1.1rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.home-custom__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
}

.home-custom__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

@media (max-width: 760px) {
  .home-custom__inner--image {
    grid-template-columns: 1fr;
  }
}

.split-banner__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
}

.split-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 10;
}

.split-banner__list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.split-banner__list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--text-soft);
}

.split-banner__list svg {
  color: var(--indigo);
  flex: 0 0 auto;
  margin-top: 2px;
}

/* -------------------------------- 13. Shop layout & filters */
.shop-layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: clamp(1.1rem, 3vw, 2.25rem);
  align-items: start;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.65rem 0.85rem;
  margin-bottom: 1.1rem;
}

.shop-toolbar__count {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.shop-toolbar__count strong {
  color: var(--ink);
}

.shop-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.shop-toolbar select {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.42rem 0.6rem;
  background: var(--white);
  color: var(--ink);
  font-size: 0.85rem;
}

.filters {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 96px;
}

.filters__group {
  padding: 1rem 1.05rem;
  border-bottom: 1px solid var(--line);
}

.filters__group:last-child {
  border-bottom: 0;
}

.filters__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.filters__title svg {
  color: var(--atlas-blue);
  flex: none;
}

.filters__list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  max-height: 320px;
  overflow: auto;
  padding-right: 0.25rem;
}

.filters__list--tree {
  max-height: none;
  overflow: visible;
  gap: 0;
}

/* Atlas-style category tree: bold main rows, chevron toggles, guided kids */
.filters__cat {
  margin: 0;
}

.filters__row {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.filters__link {
  flex: 1;
  min-width: 0;
  display: block;
  font-size: 0.85rem;
  padding: 0.36rem 0.3rem;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
}

.filters__link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filters__link:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.filters__link--d0 {
  font-size: 0.89rem;
  font-weight: 700;
  color: var(--ink);
  padding-left: 0.35rem;
}

.filters__link--d1 {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-soft);
  padding-left: 1.15rem;
}

.filters__link--d2 {
  font-size: 0.79rem;
  font-weight: 400;
  color: var(--muted);
  padding-left: 1.85rem;
}

.filters__children {
  margin-left: 0.45rem;
  padding-left: 0.55rem;
  border-left: 1px solid var(--line);
}

.filters__children[hidden] {
  display: none;
}

.filters__expand {
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  padding: 0.3rem 0.35rem;
  color: var(--muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.filters__expand:hover {
  color: var(--ink);
  background: var(--paper-2);
}

.filters__expand svg {
  display: block;
  transition: transform 0.18s ease;
}

.filters__expand[aria-expanded='true'] svg {
  transform: rotate(90deg);
}

.filters__link.is-active {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.filters__link.is-active .filters__n {
  color: rgba(255, 255, 255, 0.75);
}

.filters__n {
  flex: none;
  background: none;
  border-radius: 0;
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0;
  min-width: 1.4rem;
  text-align: right;
}

.filters__clear {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--indigo-600);
}

.filters__toggle {
  display: none;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.active-filters a,
.active-filters span.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--indigo-100);
  color: var(--indigo-600);
  border: 1px solid rgba(242, 101, 34, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
}

/* ------------------------------- 14. Product detail page */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}

.pdp__gallery {
  position: sticky;
  top: 96px;
}

.pdp__main {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.pdp__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp__thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.pdp__thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 0;
  background: var(--paper-2);
  cursor: pointer;
}

.pdp__thumb.is-active {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.16);
}

.pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp__brand {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-600);
}

.pdp__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.15;
  margin: 0.45rem 0 0.6rem;
  color: var(--ink);
}

.pdp__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.pdp__panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  background: var(--white);
  box-shadow: 0 26px 50px -42px rgba(11, 31, 58, 0.8);
  margin-block: 1.15rem;
}

.pdp__price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.pdp__price .price__now {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--orange);
}

.pdp__vat {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Label/value facts stacked directly under the product name:
   SKU · Availability · Price · Category */
.pdp__facts {
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
}

.pdp__fact {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.62rem 1rem;
}

.pdp__fact + .pdp__fact {
  border-top: 1px solid var(--line);
}

.pdp__fact dt {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.pdp__fact dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.pdp__fact dd a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--atlas-blue);
  text-decoration: none;
}

.pdp__fact dd a:hover {
  text-decoration: underline;
}

.pdp__buy {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1rem;
}

.qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}

.qty button {
  width: 40px;
  border: 0;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background var(--speed) var(--ease);
}

.qty button:hover {
  background: var(--ink);
  color: #fff;
}

.qty input {
  width: 54px;
  border: 0;
  text-align: center;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  background: var(--white);
}

.qty input:focus {
  outline: none;
}

.pdp__assurances {
  display: grid;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: var(--text-soft);
  margin-top: 1.1rem;
}

.pdp__assurances span {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.pdp__assurances svg {
  color: var(--indigo);
  flex: 0 0 auto;
}

.pdp__assurances a {
  color: var(--atlas-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pdp__assurances a:hover {
  color: var(--orange);
}

/* ---------------------------------------------------- share this product */

.pdp__share {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
}

.pdp__share-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.pdp__share-label svg {
  color: var(--indigo);
}

.pdp__share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pdp__share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--text-soft);
  font: inherit;
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease;
}

.pdp__share-btn:hover,
.pdp__share-btn:focus-visible {
  transform: translateY(-2px);
  border-color: currentColor;
  box-shadow: 0 8px 16px -12px rgba(11, 31, 58, 0.7);
}

/* class-level display beats the UA rule for [hidden] */
.pdp__share-btn[hidden] {
  display: none;
}

.pdp__share-btn--email:hover,
.pdp__share-btn--copy:hover,
.pdp__share-btn--more:hover {
  color: var(--atlas-blue);
}

.pdp__share-btn--facebook:hover {
  color: #1877f2;
}

.pdp__share-btn--linkedin:hover {
  color: #0a66c2;
}

.pdp__share-btn--whatsapp:hover {
  color: #128c7e;
}

.pdp__share-btn--x:hover {
  color: #000000;
}

.pdp__share-btn--telegram:hover {
  color: #229ed9;
}

.pdp__share-btn--pinterest:hover {
  color: #e60023;
}

.pdp__share-btn--instagram:hover {
  color: #e1306c;
}

.pdp__share-btn--tiktok:hover {
  color: #0b1f3a;
}

.pdp__share-btn--youtube:hover {
  color: #ff0000;
}

/* ------------------------------------------------------ follow us / ad */

.pdp__follow {
  display: grid;
  gap: 1.15rem;
  margin-top: 2rem;
  padding: clamp(1.15rem, 3vw, 1.75rem);
  border-radius: var(--radius-lg);
  background: var(--dark-grad);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 55px -40px rgba(3, 68, 125, 1);
}

.pdp__follow-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}

.pdp__follow-title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.28;
  color: var(--white);
}

.pdp__follow-text {
  margin: 0.5rem 0 0;
  max-width: 62ch;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.76);
}

.pdp__follow-links {
  display: grid;
  gap: 0.65rem;
}

.pdp__follow-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}

.pdp__follow-btn:hover,
.pdp__follow-btn:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
}

.pdp__follow-btn > svg:last-child {
  margin-left: auto;
  flex: 0 0 auto;
  opacity: 0.7;
}

.pdp__follow-btn-text {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.pdp__follow-btn-text strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.pdp__follow-btn-text small {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.7);
}

.pdp__follow-btn--facebook > svg:first-child {
  color: #5b9bf5;
}

.pdp__follow-btn--linkedin > svg:first-child {
  color: #4fa4e8;
}

.pdp__follow-btn--instagram > svg:first-child {
  color: #f472a0;
}

.pdp__follow-btn--facebook:hover {
  border-color: #1877f2;
}

.pdp__follow-btn--linkedin:hover {
  border-color: #0a66c2;
}

.pdp__follow-btn--instagram:hover {
  border-color: #e1306c;
}

@media (min-width: 900px) {
  .pdp__follow {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
  }
}

@media (max-width: 640px) {
  .pdp__share-btn {
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
  }
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  width: 42%;
  color: var(--muted);
  font-weight: 600;
  background: var(--paper-2);
}

.tab-bar {
  display: flex;
  gap: 0.4rem;
  border-bottom: 2px solid var(--line);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tab-bar button {
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-soft);
  padding: 0.6rem 0.9rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
}

.tab-bar button.is-active,
.tab-bar button:hover {
  color: var(--ink);
  border-bottom-color: var(--indigo);
}

/* ----------------------------- 15. Quote basket & forms */
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(1.1rem, 3vw, 2rem);
  align-items: start;
}

.quote-table {
  width: 100%;
  border-collapse: collapse;
}

.quote-table th {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.quote-table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 0.9rem;
}

.quote-table__product {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.quote-table__product img,
.quote-table__fallback {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  color: var(--muted);
  flex: 0 0 auto;
}

.quote-table__product strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--ink);
}

.quote-remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: var(--radius-sm);
}

.quote-remove:hover {
  color: var(--rose);
  background: rgba(207, 59, 77, 0.1);
}

.quote-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.25rem;
  position: sticky;
  top: 96px;
}

.quote-summary h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.quote-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  color: var(--text-soft);
}

.quote-summary__row--total {
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
}

.quote-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
  line-height: 1.5;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 3vw, 1.75rem);
}

.form-grid--2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem 1rem;
}

.field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 0.35rem;
}

.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field input[type='url'],
.field input[type='number'],
.field input[type='date'],
.field input[type='search'],
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.62rem 0.8rem;
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.14);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field--error input,
.field--error select,
.field--error textarea {
  border-color: var(--rose);
}

.checkbox {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.checkbox input {
  margin-top: 3px;
  accent-color: var(--indigo);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1.2rem, 4vw, 2.75rem);
  align-items: start;
}

.info-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.info-card h2,
.info-card h3 {
  color: var(--ink);
}

.info-card ul {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.info-card li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.info-card li svg {
  color: var(--orange);
  flex: 0 0 auto;
  margin-top: 2px;
}

.info-card a {
  color: var(--atlas-blue);
}

/* Second office (Pakistan) under the UAE desk details on /contact. */
.info-card__office {
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.info-card__office h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.info-card__office h3 svg {
  color: var(--orange);
  flex: 0 0 auto;
}

.info-card__office ul {
  margin-top: 0.85rem;
}

/* ---------------------------- 16. Inner page furniture */
.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding-block: clamp(1.1rem, 2.6vw, 1.7rem);
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  line-height: 1.2;
}

.page-hero .lead,
.page-hero p {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-top: 0.3rem;
}

.page-hero .eyebrow {
  background: rgba(242, 101, 34, 0.18);
  color: #ffb894;
  border-color: rgba(242, 101, 34, 0.4);
}

.page-hero .breadcrumbs {
  background: transparent;
  border-bottom: 0;
  padding: 0 0 0.35rem;
  margin: 0;
  font-size: 0.78rem;
}

.breadcrumbs {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.breadcrumbs a {
  color: var(--text-soft);
}

.breadcrumbs a:hover {
  color: var(--indigo-600);
}

.breadcrumbs li + li::before {
  color: var(--muted);
}

.filter-bar {
  background: var(--white);
  border-color: var(--line);
}

.cta-band {
  background: var(--band);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.cta-band h2 {
  color: var(--ink);
}

.cta-band p {
  color: var(--ink-600);
}

.industry {
  border-color: var(--line);
}

.icon-tile {
  background: var(--indigo-100);
  color: var(--indigo-600);
}

.step__num {
  background: var(--ink);
  color: #fff;
}

.empty {
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

/* ------------------------------------------------- 17. Footer */
/* --------------------------------------------------- homepage closing blocks */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.testimonial-card__stars {
  color: var(--orange);
  letter-spacing: 0.15em;
  font-size: 0.9rem;
}

.testimonial-card__quote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-800);
}

.testimonial-card__who {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-100);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  flex: none;
}

.testimonial-card__who strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
}

.testimonial-card__who small {
  color: var(--muted);
  font-size: 0.78rem;
}

.section--dark .section-head h2 {
  color: var(--ink);
}

.section--dark .section-head p {
  color: var(--ink-600);
}

/* Atlas-style section heads: small orange uppercase kicker + compact title */
.section-head .eyebrow {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 0.35rem;
}

.newsletter-band {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
  padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.2rem, 3vw, 2.2rem);
  background: linear-gradient(135deg, rgba(3, 68, 125, 0.1), rgba(3, 68, 125, 0.04));
  border: 1px solid rgba(3, 68, 125, 0.18);
  border-radius: var(--radius-lg);
}

.newsletter-band::before,
.newsletter-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 68, 125, 0.12), transparent 70%);
  pointer-events: none;
}

.newsletter-band::before {
  width: 260px;
  height: 260px;
  top: -80px;
  left: -60px;
}

.newsletter-band::after {
  width: 220px;
  height: 220px;
  bottom: -70px;
  right: -50px;
}

.newsletter-band__text {
  position: relative;
  z-index: 1;
  max-width: 46ch;
}

.newsletter-band__text h2 {
  margin-top: 0.55rem;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.newsletter-band__text p {
  margin-top: 0.35rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.newsletter-band__form {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.newsletter-band__form input[type='email'] {
  min-width: 260px;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
}

.newsletter-band__consent {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* ------------------------------------- need help section (light card + photo) */
.need-help-sec {
  position: relative;
  overflow: hidden;
  background: #e8f3fc;
}

/* Faint concentric rings bleeding out from behind the photo. */
.need-help-sec::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -8%;
  width: min(1100px, 120vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: repeating-radial-gradient(
    circle at center,
    transparent 0 58px,
    rgba(3, 68, 125, 0.07) 58px 60px
  );
  pointer-events: none;
}

.need-help-sec > .container {
  position: relative;
  z-index: 1;
}

.need-help {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: stretch;
}

.need-help--solo {
  grid-template-columns: minmax(0, 1fr);
}

.need-help--solo .need-help__card {
  max-width: 880px;
}

.need-help__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 3vw, 2.4rem);
  box-shadow: 0 24px 60px rgba(3, 68, 125, 0.12);
}

.need-help__card h2 {
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.need-help__lede {
  margin-top: 0.6rem;
  color: var(--ink-600);
  max-width: 54ch;
}

.need-help__contact {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.2rem 0 1.3rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.need-help__contact-ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: rgba(3, 68, 125, 0.09);
  color: var(--atlas-blue);
}

.need-help__contact-txt {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.need-help__contact-txt strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.need-help__contact-txt a {
  color: var(--ink-600);
  font-size: 0.92rem;
  text-decoration: none;
}

.need-help__contact-txt a:hover {
  color: var(--atlas-blue);
  text-decoration: underline;
}

.need-help__photo {
  position: relative;
  min-height: 420px;
}

.need-help__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(3, 68, 125, 0.18);
}

.need-help__form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
}

.need-help__form .field {
  margin-bottom: 0.85rem;
}

.need-help__form label {
  color: var(--ink-800);
}

.need-help__form input[type='text'],
.need-help__form input[type='email'],
.need-help__form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 0.8rem;
}

.need-help__form input::placeholder,
.need-help__form textarea::placeholder {
  color: var(--muted);
}

.need-help__form .checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-600);
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
}

.need-help__form .captcha-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.95rem;
  color: var(--ink-800);
  font-size: 0.85rem;
}

.need-help__form .captcha-box input[type='text'] {
  width: 64px;
  text-align: center;
}

.need-help__form .btn--block {
  width: 100%;
}

@media (max-width: 900px) {
  .need-help {
    grid-template-columns: minmax(0, 1fr);
  }

  .need-help__photo,
  .need-help__photo img {
    min-height: 0;
  }

  .need-help__photo img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: 50% 20%;
  }
}

.footer {
  position: relative;
  overflow: hidden;
  background: #0f0f10;
  color: #9aa3ad;
  margin-top: clamp(1rem, 2.5vw, 1.5rem);
  padding-top: 0;
}

.footer::before {
  display: none;
}

.footer > * {
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.9rem, 2.2vw, 1.6rem);
  padding-block: clamp(1.4rem, 3vw, 2rem) clamp(1rem, 2vw, 1.4rem);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}

.footer__brand img {
  display: block;
  width: auto;
  height: 34px;
}

.footer__brand strong {
  display: block;
  font-family: var(--font-display);
  color: #fff;
  letter-spacing: 0.05em;
}

.footer__tagline {
  font-size: 0.82rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

/* Full-name line under the footer logo. */
.footer__sub {
  display: block;
  font-size: 0.64rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.66);
  margin-top: -0.15rem;
  margin-bottom: 0.35rem;
}

.footer__contact {
  display: grid;
  gap: 0.4rem;
  font-size: 0.84rem;
}

.footer__contact li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.footer__contact svg {
  color: var(--orange);
  flex: 0 0 auto;
  margin-top: 2px;
}

.footer__contact a {
  color: #c5ccd4;
}

.footer__contact a:hover {
  color: #fff;
}

/* Two-office block in the brand column: UAE head office + Pakistan. */
.footer__locations {
  display: grid;
}

.footer__loc + .footer__loc {
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer__loc-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 0.45rem;
}

.footer__loc-title svg {
  color: var(--orange);
  flex: 0 0 auto;
}

.footer__loc .footer__contact {
  font-size: 0.82rem;
}

.footer__loc-scope span {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.45;
}

.footer__col h3 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 0.55rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer__col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

.footer__col ul {
  display: grid;
  gap: 0.32rem;
}

.footer__col a {
  color: #9aa3ad;
  font-size: 0.84rem;
}

.footer__col a:hover {
  color: #fff;
}

.footer__col--desk p {
  font-size: 0.88rem;
  margin-bottom: 0.7rem;
}

.footer__trust {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: #d7e1f0;
}

.footer__trust span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__trust svg {
  color: var(--lime);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #6f7680;
}

.footer__legal {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer__legal a {
  color: #9aa3ad;
}

.footer__legal a:hover {
  color: #fff;
}

.footer__social {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cfd6de;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}

.footer__social a svg {
  width: 20px;
  height: 20px;
}

.footer__social a:hover {
  background: var(--orange);
  color: #fff;
}

.footer__credit strong {
  color: #d7e1f0;
  font-weight: 700;
}

.footer__credit a {
  color: #f0a37a;
  font-weight: 700;
  text-decoration: underline;
}

.footer__credit a:hover {
  color: #fff;
}

/* ------------------------------------------------ 18. Responsive */
@media (max-width: 1500px) {
  .header-search {
    max-width: 640px;
  }

  .header__bar .nav__link {
    font-size: 0.88rem;
  }
}

@media (max-width: 1250px) {
  .header__contact .icontact--mail {
    display: none;
  }
}

/* Tight desktops: compact the blue bar so eight long menu labels still
   fit, and keep the top-bar category button narrow so the search pill
   still has room for the keyword field. */
@media (max-width: 1360px) {
  .header__bar .nav__link {
    font-size: 0.84rem;
    padding-inline: 7px;
  }

  .header-search .nav__catfilter-btn {
    padding-inline: 0.85rem;
    font-size: 0.95rem; /* batch 12: still a large label on tight desktops */
  }

  .header__bar-cta .btn {
    font-size: 0.8rem;
    padding-inline: 0.8rem;
  }
}

@media (max-width: 1180px) {
  :root {
    --header-total: 82px;
  }

  .header__contact {
    display: none;
  }

  .header__bar {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
    color: var(--ink);
  }

  .mobile-nav {
    display: block;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .shop-layout,
  .pdp,
  .quote-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filters {
    position: static;
    display: none;
  }

  .filters.is-open {
    display: block;
  }

  .filters__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--radius-pill);
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--ink);
    cursor: pointer;
  }

  .pdp__gallery {
    position: static;
  }

  .quote-summary {
    position: static;
  }

  .trust-strip__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --header-total: 82px;
  }

  .header-search {
    display: none;
  }

  .brand__logo {
    height: 30px;
  }

  .brand__sub {
    font-size: 0.55rem;
    letter-spacing: 0.02em;
  }

  .header__actions {
    margin-left: auto;
  }

  .header__cta {
    display: none;
  }

  .hero-slider__arrow {
    display: none;
  }

  .quote-table thead {
    display: none;
  }

  .quote-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.35rem 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .quote-table td {
    border: 0;
    padding: 0.15rem 0;
  }

  .cat-grid--slim {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .trust-strip__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .cat-grid--slim {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .cat-card--slim {
    padding: 0.6rem 0.35rem;
    gap: 0.45rem;
  }

  .cat-card--slim .cat-card__media {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
  }

  .cat-card--slim .cat-card__media img {
    padding: 0.3rem;
  }

  .cat-card--slim .cat-card__title {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .hero-slider__slide {
    min-height: 300px;
  }

  .hero-slider__inner {
    padding-block: 1.4rem;
  }

  .hero-slider__eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    margin-bottom: 0.45rem;
  }

  .hero-slider__eyebrow svg {
    display: none;
  }

  .hero-slider__title {
    font-size: 1.5rem;
    line-height: 1.08;
    margin-bottom: 0.45rem;
  }

  .hero-slider__text {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
  }

  .hero-slider__actions {
    gap: 0.5rem;
  }

  .hero-slider__actions .btn {
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }

  .hero-slider__ghost {
    font-size: 3rem;
    bottom: 6%;
  }

  .hero-slider__dots {
    bottom: 0.55rem;
  }

  .hero-slider__dot {
    width: 7px;
    height: 7px;
  }
}

/* Public flash messages (contact form, quote basket, newsletter) */
.site-alert {
  width: min(1200px, calc(100% - 2rem));
  margin: 1.25rem auto 0;
}

/* Contact map */
.map-embed {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

.map-embed__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
  color: var(--ink-600);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

/* Two-office cards (Contact + About) and the paired map embeds. */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.75rem);
}

.loc-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.6vw, 1.6rem);
}

.loc-card__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.loc-card__title {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.loc-card__scope {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-soft);
  margin-bottom: 0.8rem;
}

.loc-card__list {
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.loc-card__list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.loc-card__list svg {
  color: var(--orange);
  flex: 0 0 auto;
  margin-top: 2px;
}

.loc-card__list a {
  color: var(--atlas-blue);
}

.loc-card__map {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--atlas-blue);
}

.loc-card__map:hover {
  text-decoration: underline;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.map-grid .map-embed {
  margin-top: 0;
}

@media (max-width: 760px) {
  .loc-grid,
  .map-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------- 19. Services & resources */
.svc-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.35rem;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.svc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 101, 34, 0.5);
  box-shadow: 0 26px 46px -34px rgba(11, 31, 58, 0.75);
}

.svc-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.svc-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

.svc-card__title a {
  color: inherit;
}

.svc-card__title a:hover {
  color: var(--indigo-600);
}

.svc-card__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-soft);
  flex: 1;
}

.svc-card__more {
  font-size: 0.85rem;
  color: var(--orange);
}

.svc-card__more:hover {
  color: var(--indigo-600);
}

.svc-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.svc-detail__lead {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 1.6rem;
}

.svc-detail__main h2 {
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.svc-detail__points {
  display: grid;
  gap: 0.7rem;
}

.svc-detail__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.svc-detail__check {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(198, 226, 75, 0.45);
  color: #43550a;
  display: grid;
  place-items: center;
}

.svc-detail__aside {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
}

.svc-detail__aside h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}

.svc-detail__aside p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.svc-detail__back {
  justify-content: center;
  font-size: 0.85rem;
  color: var(--ink);
}

.res-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.res-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 101, 34, 0.5);
  box-shadow: 0 26px 46px -34px rgba(11, 31, 58, 0.75);
}

.res-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.res-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}

.res-card__type {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--indigo-100);
  border: 1px solid rgba(242, 101, 34, 0.25);
  border-radius: var(--radius-pill);
  padding: 0.24rem 0.6rem;
}

.res-card__title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.32;
  font-weight: 700;
  color: var(--ink);
}

.res-card__text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-soft);
  flex: 1;
}

.res-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.res-card__meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

/* ------------------------------------------- custom card-row sections */
.card-row__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card-row__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  text-decoration: none;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

a.card-row__card:hover,
a.card-row__card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 31, 58, 0.14);
}

.card-row__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2, #f4f7fb);
}

.card-row__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-row__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.1rem 1.2rem 1.3rem;
}

.card-row__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.32;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.card-row__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
}

@media (max-width: 640px) {
  .card-row__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .svc-detail {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------- 19. Mobile display (data-show)
   Admin-set visibility: data-show="desktop" hides below 768px,
   data-show="mobile" hides from 768px up. Used by built-in sections,
   custom sections, their cards and banner image columns. */
@media (max-width: 767px) {
  [data-show="desktop"] {
    display: none !important;
  }
}

@media (min-width: 768px) {
  [data-show="mobile"] {
    display: none !important;
  }
}

/* ---------------------------- 20. Per-device section copy (th-d / th-m)
   Site Editor > Mobile device tab stores alternate Copy text per section.
   When a mobile override exists the section renders both texts as paired
   spans; this swaps them at the same 767px breakpoint the mobile size and
   design overrides use. Without overrides no spans are emitted. */
.th-m {
  display: none;
}

@media (max-width: 767px) {
  .th-d {
    display: none;
  }

  .th-m {
    display: inline;
  }
}

/* ------------------------------ Section Y: unified card hover ------
   One hover style for every card on the site: the background stays
   white and only the outer line changes colour. No grey fill, no
   lift, no shadow. The global --card-bg setting colours the cards
   (Site Editor > Brand colours > Cards background). */
.cat-card, .product-card, .brand-tile, .info-card, .testimonial-card,
.svc-card, .res-card, .card-row__card, .card, .industry {
  background: var(--card-bg, var(--white));
  transition: border-color var(--speed) var(--ease),
              background-color var(--speed) var(--ease);
}

.card-row__card {
  background: var(--card-x, var(--card-bg, var(--white)));
}

.cat-card--slim,
.promo-card {
  border: 1px solid transparent;
}

.cat-card:hover,
.cat-card--slim:hover,
.product-card:hover,
.brand-tile:hover,
.info-card:hover,
.testimonial-card:hover,
.svc-card:hover,
.res-card:hover,
a.card-row__card:hover,
a.card-row__card:focus-visible,
div.card-row__card:hover,
.card:hover,
.industry:hover {
  background: var(--white);
  border-color: var(--orange);
  transform: none;
  box-shadow: none;
}

.promo-card:hover {
  border-color: var(--orange);
}

.cat-card:hover .cat-card__media img,
.product-card:hover .product-card__media img {
  transform: none;
}

.cat-card--slim:hover .cat-card__title {
  color: var(--ink);
}

/* ------------------------------ Section Y: custom text rows --------- */
.home-custom__text {
  display: grid;
  gap: 1.1rem;
}

.home-custom__row {
  margin: 0;
  line-height: 1.35;
}

/* Section Y: the category flyout now lists EVERY category - let the
   rail scroll instead of clipping once it runs past 8 families.
   Batch 12: the cap moved to the full-height panel, so the rail now
   scrolls inside the panel's own height (see .catfly__rail above). */
.catfly__rail {
  max-height: none;
  overflow-y: auto;
}

/* Section Y: blog index cards, category chips and post layout. */
.blog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.7rem;
}

.blog-chip {
  padding: 0.42rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-bg, var(--white));
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s var(--ease, ease), background 0.2s var(--ease, ease);
}

.blog-chip:hover {
  border-color: var(--orange);
}

.blog-chip.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg, var(--white));
  border: 1px solid var(--line);
  border-radius: var(--radius, 14px);
  overflow: hidden;
  transition: background 0.25s var(--ease, ease), border-color 0.25s var(--ease, ease);
}

.blog-card:hover {
  background: var(--white);
  border-color: var(--orange);
  transform: none;
  box-shadow: none;
}

.blog-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0a2f52 0%, var(--atlas-blue, #03447d) 100%);
  overflow: hidden;
}

.blog-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__mark {
  display: grid;
  place-items: center;
  height: 100%;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.85);
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1.25rem 1.3rem;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate);
}

.blog-card__cat {
  color: var(--orange);
  font-weight: 700;
}

.blog-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
}

.blog-card__title a {
  color: var(--ink);
  text-decoration: none;
}

.blog-card__excerpt {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__more {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--atlas-blue, #03447d);
}

.post-hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius, 14px);
  margin-bottom: 1.6rem;
}

.post-body {
  margin-top: 0.4rem;
}

.post-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2.3rem;
  padding: 1.3rem 1.5rem;
  background: var(--card-bg, var(--white));
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius, 14px);
}

.post-cta p {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}

@media (max-width: 1080px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------- HSE services */
.hse-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.hse-hero__media {
  border-radius: 14px;
  overflow: hidden;
}

.hse-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 380px;
  object-fit: cover;
}

.hse-hero__copy .eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
}

.hse-hero__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.hse-hero__copy p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 1.2rem;
}

.hse-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hse-intro {
  max-width: 60rem;
  margin: 0 auto;
  text-align: center;
}

.hse-intro .prose p {
  font-size: 1.05rem;
  text-align: left;
}

.hse-tagline {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.01em;
}

.hse-ar {
  background: var(--white);
  border: 1px solid var(--line);
  border-right: 4px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 3vw, 2.2rem);
}

.hse-ar h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  color: var(--ink);
  text-align: right;
  margin-bottom: 0.7rem;
}

.hse-ar p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--text-soft);
  text-align: right;
}

.hse-ar ul {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.hse-ar li {
  position: relative;
  padding-right: 1.4rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.hse-ar li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.hse-approach {
  max-width: 62rem;
  margin: 0 auto;
}

.hse-approach > p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 1.1rem;
}

.hse-approach__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.6rem;
}

.hse-approach__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
}

.hse-approach__check {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--orange);
  margin-top: 0.1rem;
}

.hse-ind {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hse-ind__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  text-decoration: none;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.hse-ind__item:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 101, 34, 0.5);
  box-shadow: 0 20px 36px -30px rgba(11, 31, 58, 0.7);
}

.hse-ind__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.hse-ind__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.svc-card__img {
  display: block;
  width: calc(100% + 2.7rem);
  margin: -1.4rem -1.35rem 0.35rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
}

.svc-detail__img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

@media (max-width: 900px) {
  .hse-hero {
    grid-template-columns: 1fr;
  }

  .hse-hero__media img {
    max-height: 300px;
  }
}

@media (max-width: 640px) {
  .hse-hero__actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .hse-ind__item {
    flex: 1 1 calc(50% - 0.4rem);
    padding: 0.75rem 0.9rem;
  }

  .hse-ar {
    border-right-width: 3px;
  }
}

/* ------------------------------------------- mobile contact chrome */
.mobile-topbar,
.mobile-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-topbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: wrap;
    background: var(--orange);
    color: var(--white);
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
  }

  .mobile-topbar a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    text-decoration: none;
    line-height: 1;
  }

  .mobile-topbar a:hover {
    color: var(--white);
    text-decoration: underline;
  }

  .mobile-topbar svg {
    flex: none;
  }

  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .mobile-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 9px 4px 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
  }

  .mobile-bar__item:active {
    background: rgba(255, 255, 255, 0.08);
  }

  .mobile-bar__item--wa {
    color: #25d366;
  }

  .mobile-bar__item--quote {
    color: var(--orange);
  }

  body {
    padding-bottom: 58px;
  }

  /* The floating WhatsApp bubble duplicates the bar on phones. */
  .fab--whatsapp {
    display: none;
  }

  .fab-stack {
    bottom: calc(58px + 14px);
  }

  .cookie {
    bottom: calc(58px + 14px);
  }
}

/* ------------------------------------ header search + basket icons (mobile) */
.header__icons {
  display: none;
}

.header-iconbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}

.header-iconbtn:hover {
  color: var(--indigo-600);
  border-color: var(--indigo-600);
}

.header-cart__count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 860px) {
  .header__icons {
    display: flex;
    gap: 0.5rem;
  }
}

/* ---------------------------------------------------- 27. Catalogues page */
.cat-shelf {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.4rem, 3vw, 2.8rem);
}

/* Every catalogue rule below is scoped under .cat-shelf so it can never
   leak onto the homepage "Shop by category" tiles, which use the same
   .cat-card class name for a completely different card. */
.cat-shelf .cat-card {
  width: clamp(300px, 36vw, 540px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(3, 68, 125, 0.1);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.cat-shelf .cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(3, 68, 125, 0.16);
}

/* The complete first page, never cropped: the card IS the page. */
.cat-shelf .cat-card__page {
  display: block;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  line-height: 0;
}

.cat-shelf .cat-card__page img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 1444;
  object-fit: contain;
}

.cat-shelf .cat-card__page--empty {
  display: grid;
  place-content: center;
  gap: 0.5rem;
  aspect-ratio: 1000 / 1444;
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(160deg, #0b2f52, var(--atlas-blue));
  color: #fff;
}

.cat-shelf .cat-card__page--empty strong {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.14em;
}

.cat-shelf .cat-card__page--empty span {
  font-size: 0.9rem;
  opacity: 0.82;
}

.cat-shelf .cat-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(1rem, 2vw, 1.4rem);
  flex: 1;
}

.cat-shelf .cat-card__title {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cat-shelf .cat-card__text {
  color: var(--ink-600);
  font-size: 0.92rem;
}

.cat-shelf .cat-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.9rem;
}

.cat-shelf .cat-card__meta {
  margin-right: auto;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem) 1rem;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}

.empty-state h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
}

.empty-state p {
  color: var(--ink-600);
  max-width: 52ch;
}

@media (max-width: 640px) {
  .cat-shelf .cat-card {
    width: 100%;
    max-width: 430px;
  }
}

/* =====================================================================
   BATCH 9 (02.12.2026) - footer balance + medium-size About cards
   ===================================================================== */

/* Footer offices band: BOTH offices live in their own full-width row
   under the link columns (UAE left, Pakistan right). Keeping them out
   of the columns is what makes the bar read as even - the brand column
   no longer runs twice as deep as the link columns beside it, and the
   right side is no longer a half-empty column. */
.footer__offices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-top: clamp(1.1rem, 2.4vw, 1.6rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer__offices .footer__loc + .footer__loc {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Vertical hairline between the two offices. */
.footer__offices .footer__loc:nth-child(2) {
  padding-left: clamp(1rem, 3vw, 2.5rem);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

/* Compact rows inside the band: address / phone / e-mail / WhatsApp flow
   on one line each pair instead of a tall stacked list. */
.footer__offices .footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

.footer__offices .footer__contact li {
  max-width: 100%;
}

.footer__offices .footer__loc-scope {
  flex: 1 1 100%;
}

/* About "What we supply": MEDIUM cards (~345px original -> ~460px on
   desktop). The photo area takes the extra space as a portrait crop
   and the body keeps its natural height, so titles and counts stay
   put. Scoped with --tall: the home slim cards and the category shelf
   keep their current size. */
.cat-grid--tall .cat-card {
  min-height: 460px;
}

.cat-grid--tall .cat-card__media {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 300px;
}

.cat-grid--tall .cat-card__body {
  flex: 0 0 auto;
}

/* About "Brands we carry": MEDIUM tiles (~185x148px original ->
   ~256x210px on desktop, 5 across instead of 7 small or 3 huge).
   Scoped with --big so the home brand strip and the /brands listing
   are untouched. */
.brand-grid--big {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.brand-grid--big .brand-tile {
  min-height: 210px;
  padding: 1.5rem 1.25rem;
  gap: 0.6rem;
}

.brand-grid--big .brand-tile__mark {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  font-size: 1.6rem;
}

.brand-grid--big .brand-tile__logo {
  max-width: 200px;
  max-height: 88px;
}

.brand-grid--big .brand-tile__name {
  font-size: 1.02rem;
}

.brand-grid--big .brand-tile__count {
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  .cat-grid--tall .cat-card {
    min-height: 400px;
  }

  .cat-grid--tall .cat-card__media {
    min-height: 250px;
  }

  .brand-grid--big {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }
}

@media (max-width: 760px) {
  .footer__offices {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
  }

  .footer__offices .footer__loc:nth-child(2) {
    padding-left: 0;
    padding-top: 1.1rem;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 640px) {
  .cat-grid--tall .cat-card {
    min-height: 360px;
  }

  .cat-grid--tall .cat-card__media {
    min-height: 210px;
  }

  .brand-grid--big {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

/* ============================ BATCH 11: PDP image zoom + full preview */
.pdp__main {
  cursor: default;
}

@media (hover: hover) and (pointer: fine) {
  .pdp__main:has(img) {
    cursor: zoom-in;
  }
}

.pdp__main img {
  transition: transform 0.18s ease;
  will-change: transform;
  backface-visibility: hidden;
}

/* Full-page lightbox. Sits at the end of the DOM, outside any
   data-reveal wrapper, so position: fixed works everywhere. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120; /* above the header (60) and the mobile drawer (95) */
  display: grid;
  place-items: center;
  padding: clamp(3.4rem, 8vh, 4.6rem) clamp(0.8rem, 5vw, 4.5rem);
  background: rgba(8, 17, 34, 0.94);
  opacity: 1;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
}

.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.lightbox__close {
  top: clamp(0.7rem, 2.4vh, 1.4rem);
  right: clamp(0.7rem, 2.4vw, 1.4rem);
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: clamp(0.6rem, 2.4vw, 1.6rem);
}

.lightbox__nav--next {
  right: clamp(0.6rem, 2.4vw, 1.6rem);
}

.lightbox__nav[hidden],
.lightbox__count[hidden] {
  display: none;
}

.lightbox__count {
  position: absolute;
  bottom: clamp(0.8rem, 3vh, 1.6rem);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .lightbox {
    padding: 3.6rem 0.6rem;
  }

  .lightbox__close,
  .lightbox__nav {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pdp__main img {
    transition: none;
  }
}
