/* Poppins — loaded here so every page picks it up via the one stylesheet link. */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ── Reset ─────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #df1f2d;
  /* red */
  --primary-dark: #a80f1b;
  --accent: #111111;
  /* black (was green) */
  --green: #df1f2d;
  /* alias kept; now red so old refs stay on-palette */
  --red: #df1f2d;
  --bg: #f7f7f7;
  --card: #ffffff;
  --border: #e6e6e6;
  --text: #111111;
  --muted: #6b6b6b;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

/* Clip sideways overflow on the root too — with it only on <body>, full-bleed
   children (100vw banners) still widen the page and leave a blank strip. */
html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.header {
  background: #fff;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  position: sticky;
  top: 0;
  z-index: 200;
  gap: 20px;
  box-shadow: 0 2px 14px rgba(80, 20, 20, .14);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
}

.logo-text {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.logo-sub {
  color: rgba(35, 31, 32, .62);
  font-size: 11px;
  font-weight: 500;
}

.logo-sub-wrap {
  line-height: 1.15;
}

/* Logo image (used when assets/logo.png exists) */
.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  display: block;
}

.footer-brand .brand-logo-img {
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* Text wordmark fallback */
.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-wordmark .bw-ic {
  font-size: 24px;
  line-height: 1;
}

.brand-wordmark .bw-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--primary);
}

.brand-wordmark--light .bw-name {
  font-size: 19px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-clearance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  background: #ffd400;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(255, 212, 0, .5);
}

.header-clearance:hover {
  background: #f5c400;
}

@media (max-width: 640px) {
  .header-clearance {
    font-size: 11px;
    padding: 6px 10px;
  }
}

.header-contact {
  color: rgba(35, 31, 32, .7);
  font-size: 12px;
  text-align: right;
}

.header-contact a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.header-contact .header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #25d366;
  vertical-align: middle;
}

.header-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 20px;
}

.header-contact .header-whatsapp:hover {
  color: #128c3e;
}

/* Logged-in user chip + logout (storefront) */
.header-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hu-name {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.hu-role {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 2px 7px;
  border-radius: 999px;
}

.hu-logout {
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(223, 31, 45, .28);
  padding: 5px 12px;
  border-radius: 8px;
  transition: all .15s;
}

.hu-logout:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

@media (max-width: 640px) {
  .header-contact {
    display: none;
  }

  .hu-name .hu-role {
    display: none;
  }
}

/* ── Hero strip ─────────────────────────────────────────────────────────── */
.hero {
  color: #fff;
  min-height: 420px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .68) 34%, rgba(0, 0, 0, .20) 64%, rgba(0, 0, 0, .04) 100%),
    url('banner.jpeg') center / cover no-repeat;
}

.hero-content {
  width: min(520px, 92vw);
  margin-right: auto;
  padding: 44px 18px 44px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .28);
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, .82);
  max-width: 430px;
  margin: 0 0 22px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .25);
}

.hero-badges {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-badge {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(4px);
}

/* ── Hero Carousel ──────────────────────────────────────────────────────── */
/* Keep every homepage banner full-bleed even if it is later moved inside a
   centred/max-width wrapper. 100vw intentionally follows the viewport rather
   than the width of the parent container. */
.home-page .hero-carousel,
.home-page .hero-banner {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Banner: aspect-ratio box. Shorter than the source art (1600/639), so slides
   crop top and bottom via background-size: cover rather than squashing. */
.hero-carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1600 / 415;
  height: auto;
  background: #1a1a1a;
}

.hc-track {
  position: relative;
  height: 100%;
}

/* every slide fills the carousel box → all slides share one fixed height */
.hero-carousel .hero {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-carousel .hero.cms-banner {
  background-size: cover;
  background-color: #fff;
}

/* Artwork-only banners must stay edge-to-edge without trimming their text or
   leaving letterbox gaps when an uploaded image has a slightly different ratio. */
.hero-carousel .hero.no-text {
  background-size: 100% 100%;
}

/* Admin homepage banners are uploaded at 1600 × 639. Match their frame to
   the artwork so `contain` does not create white letterboxing on mobile. */
.hero-carousel.cms-carousel {
  aspect-ratio: 1600 / 639;
}

/* The built-in bulk-buy artwork is a much wider 1400 × 300 graphic. When it
   is the active slide, size the frame to that graphic instead of leaving the
   tall mobile carousel's empty bands above and below it. */
.hero-carousel:has(.hero.no-text.active) {
  aspect-ratio: 1400 / 300;
}

.hero-carousel .hero.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Slim graphic promo banner at the top of the homepage. */
.hero-banner {
  display: block;
  height: clamp(220px, 28vw, 420px);
  overflow: hidden;
  background: #063d8d;
  line-height: 0;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  backdrop-filter: blur(4px);
  transition: background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hc-arrow:hover {
  background: rgba(255, 255, 255, .34);
}

.hc-prev {
  left: 18px;
}

.hc-next {
  right: 18px;
}

.hc-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 9px;
}

.hc-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .15s;
}

.hc-dot.active {
  background: #fff;
}

@media (max-width: 600px) {
  .hc-arrow {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

/* ── Page layout ─────────────────────────────────────────────────────────── */
.page {
  max-width: 1260px;
  margin: 0 auto;
  padding: 28px 16px 120px;
}

/* ── Category tabs ──────────────────────────────────────────────────────── */
/* Make Your Own Kit banner */
.kit-banner {
  background: var(--primary);
  color: #fff;
  padding: 28px 22px;
  margin-bottom: 8px;
}

.kit-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.kit-banner .kit-step {
  font-size: 48px;
  line-height: 1;
}

.kit-banner h1 {
  font-size: 26px;
  margin: 0 0 6px;
}

.kit-banner p {
  margin: 10px 0 12px;
  opacity: .9;
  max-width: 640px;
}

.kit-product-filters {
  max-width: 760px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 10px;
  background: rgba(0, 0, 0, .12);
}

.kit-filter-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.kit-filter-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.kit-filter-fields label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
}

.kit-filter-fields select {
  min-width: 190px;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.kit-price-range {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kit-price-range input {
  width: 95px;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.kit-price-dash {
  color: #fff;
  font-weight: 600;
}

.kit-filter-fields button {
  padding: 10px 15px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: var(--primary);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.kit-filter-fields button:hover {
  background: #ffe5e7;
}

.kit-name-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  max-width: 360px;
}

.kit-name-field input {
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
}

.kit-qty-field {
  max-width: 160px;
  margin-top: 10px;
}

.kit-disclaimer {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
  color: red;
  background: #ffff00;
  border: 1.5px solid #f5c518;
  border-radius: 8px;
  padding: 10px 13px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(245, 197, 24, .35);
}

.kit-disclaimer strong {
  color: #5a4500;
}

@media (max-width: 640px) {
  .kit-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .kit-banner .kit-step {
    font-size: 36px;
  }

  .kit-filter-fields {
    align-items: stretch;
  }

  .kit-filter-fields label,
  .kit-filter-fields select,
  .kit-filter-fields button {
    width: 100%;
  }

  .kit-price-range {
    width: 100%;
  }

  .kit-price-range input {
    flex: 1;
    width: auto;
  }
}

/* Budget chooser */
.budget-chooser {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.bc-title {
  font-weight: 600;
  margin-bottom: 12px;
}

.bc-minmax {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: end;
  margin-bottom: 12px;
}

.bc-minmax label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.bc-minmax input {
  width: 120px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 2px solid var(--border);
  font-size: 14px;
  font-weight: 600;
}

.bc-minmax input:focus {
  outline: none;
  border-color: var(--primary);
}

.bc-apply {
  padding: 9px 22px;
  border-radius: 20px;
  border: 0;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.bc-cat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.bc-cat select {
  padding: 7px 10px;
  border-radius: 8px;
  border: 2px solid var(--border);
  font-size: 13px;
}

/* New / Diwali ribbons on product cards */
.pcard-flags {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
}

.pflag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
}

.pflag.new {
  background: var(--primary);
}

.pflag.diwali {
  background: #111;
}

.pflag.yos {
  background: #111;
}

/* Branded products grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1;
  justify-self: center;
  box-sizing: border-box;
  padding: 24px 18px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 50%;
  text-decoration: none;
  transition: all .16s;
}

.brand-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 22px rgba(223, 31, 45, .16);
  transform: translateY(-2px);
}

.brand-card img {
  width: 100%;
  max-width: 110px;
  height: 62px;
  object-fit: contain;
}

.brand-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cat-tab {
  padding: 8px 20px;
  border-radius: 22px;
  border: 2px solid var(--border);
  background: var(--card);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: all .18s;
  white-space: nowrap;
}

.cat-tab:hover,
.cat-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Supplied visual category artwork, shown as a clickable homepage category grid. */
.category-visual-section {
  margin: 28px;
}

.category-visual-grid {
  --category-tile-gap: 12px;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: var(--category-tile-gap);
  justify-content: center;
  max-width: calc((140px * 10) + (var(--category-tile-gap) * 9));
  margin: 0 auto;
}

.category-visual-card {
  display: block;
  width: 100%;
  aspect-ratio: 290 / 272;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .14);
  transition: transform .16s, box-shadow .16s;
}

.category-visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-visual-card:hover,
.category-visual-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(168, 15, 27, .28);
  outline: none;
}

@media (max-width: 1180px) {
  .category-visual-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .category-visual-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .category-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

/* ── Mega Nav Bar ───────────────────────────────────────────────────────── */
.meganav {
  background: var(--primary);
  position: sticky;
  top: 62px;
  z-index: 500;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .22);
}

.meganav-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
  /* keep everything (incl. search) on one line on desktop */
  /* NOTE: do NOT use overflow:auto here — it clips the open dropdowns */
}

.nav-toggle {
  display: none;
}

.mn-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.mn-link {
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  color: rgba(255, 255, 255, .92);
  font-size: 11.5px;
  font-weight: 500;
  padding: 13px 7px;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: background .15s;
  font-family: inherit;
}

.mn-link:hover,
.mn-item.open>.mn-link,
.mn-link.active {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.mn-link.active {
  box-shadow: inset 0 -3px 0 #fff;
}

.mn-link .caret {
  font-size: 16px;
  line-height: 1;
  opacity: .9;
  transition: transform .18s;
}

.mn-item.open .caret {
  transform: rotate(180deg);
}

.mn-yos-link {
  padding: 5px 6px;
}

.mn-yos-logo {
  display: block;
  width: 50px;
  height: 28px;
  object-fit: contain;
  border-radius: 5px;
  background: #fff;
  padding: 2px 5px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6);
}

/* House-brand dropdown — WANGARI opens WANGARI, EVM and GLOW. */
.mn-brand-link {
  padding: 5px 6px;
  font-weight: 600;
  letter-spacing: .4px;
}

.mn-brand-link .caret {
  margin-left: 5px;
}

.mn-brand-logo {
  display: block;
  width: 50px;
  height: 28px;
  object-fit: contain;
  border-radius: 5px;
  background: #fff;
  padding: 2px 5px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6);
}

.mn-brand-drop {
  min-width: 88px;
}

.mn-brand-drop-link {
  display: flex;
  justify-content: center;
  padding: 8px 14px;
}

.mn-brand-drop-link:hover {
  padding-left: 14px;
}

.mn-drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--primary-dark);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .16s;
  z-index: 510;
}

.mn-item.open .mn-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mn-drop-link {
  display: block;
  padding: 11px 18px;
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: background .12s;
}

.mn-drop-link:last-child {
  border-bottom: none;
}

.mn-drop-link:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  padding-left: 22px;
}

/* Sub-category flyout (e.g. Gift Sets) */
.mn-sub {
  position: relative;
}

.mn-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.flyout-caret {
  opacity: .8;
  font-size: 18px;
  line-height: 1;
}

.mn-flyout {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 210px;
  background: var(--primary-dark);
  border-radius: 0 10px 10px 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: all .16s;
  z-index: 520;
}

.mn-sub:hover>.mn-flyout,
.mn-sub.open>.mn-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* On narrow screens the flyout drops below instead of beside */
@media (max-width: 820px) {
  .mn-flyout {
    position: static;
    left: auto;
    top: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: rgba(0, 0, 0, .18);
  }

  .mn-flyout .mn-drop-link {
    padding-left: 34px;
    font-size: 12px;
  }

  .flyout-caret {
    transform: rotate(90deg);
  }
}

/* wide 4-column product mega panel */
.mn-mega {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  width: min(1180px, calc(100vw - 28px));
  padding: 14px;
  gap: 0;
  background: linear-gradient(110deg, var(--accent) 0%, var(--primary-dark) 50%, var(--primary) 100%);
}

.mn-mega-col {
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, .55);
}

.mn-mega-col:last-child {
  border-right: 0;
}

.mn-mega .mn-drop-link {
  color: #fff;
  border-bottom: 0;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
}

.mn-mega .mn-drop-link:hover {
  padding-left: 16px;
  background: rgba(255, 255, 255, .16);
}

.mn-mega .mn-drop-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.mn-mega-group {
  margin-bottom: 4px;
}

.mn-mega-cat {
  font-weight: 600 !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mn-mega-ico {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  flex: none;
  vertical-align: middle;
}

.mn-mega-emoji {
  display: inline-block;
  width: 32px;
  font-size: 24px;
  text-align: center;
}

/* Subcategories stay collapsed until the category row is hovered or focused. */
.mn-mega-subs {
  display: none;
  flex-direction: column;
  padding: 0 0 4px 28px;
}

.mn-mega-group:hover .mn-mega-subs,
.mn-mega-group:focus-within .mn-mega-subs {
  display: flex;
}

.mn-mega-sub {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  font-size: 12.5px;
  padding: 5px 8px;
  border-radius: 6px;
}

.mn-mega-sub:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

/* Caret sits beside the category name and flips while its subs are showing. */
.mn-mega-caret {
  font-size: 16px;
  line-height: 1;
  opacity: .75;
  transition: transform .15s ease, opacity .15s ease;
}

.mn-mega-group:hover .mn-mega-caret,
.mn-mega-group:focus-within .mn-mega-caret {
  opacity: 1;
  transform: rotate(180deg);
}

.mn-mega .mn-col-title {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 4px 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  margin-bottom: 4px;
}

@media (max-width: 700px) {
  .mn-mega {
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
    padding: 0;
  }

  .mn-mega-col {
    padding: 0;
    border-right: 0;
  }
}

.mn-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding-left: 6px;
  min-width: 0;
  flex-shrink: 1;
}

.mn-search input {
  border: none;
  border-radius: 18px;
  padding: 6px 11px;
  font-size: 11.5px;
  width: 120px;
  max-width: 100%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  outline: none;
  transition: background .15s, width .2s;
}

.mn-search input::placeholder {
  color: rgba(255, 255, 255, .7);
}

.mn-search input:focus {
  background: #fff;
  color: var(--text);
  width: 160px;
}

.mn-search input:focus::placeholder {
  color: var(--muted);
}

/* On smaller screens, let the bar wrap again so nothing is cut off */
@media (max-width: 1024px) {
  .meganav-inner {
    flex-wrap: wrap;
  }

  .mn-link {
    font-size: 12.5px;
    padding: 13px 11px;
  }

  .mn-search {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
  }

  .mn-search input {
    width: 100%;
  }
}

/* ── Active filter bar / empty state ────────────────────────────────────── */
.filter-bar {
  display: none;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  background: #fff1f2;
  border: 1.5px solid var(--primary);
  border-radius: 10px;
  padding: 10px 16px;
}

.filter-bar.show {
  display: flex;
}

.fb-label {
  font-weight: 600;
  color: var(--primary);
  font-size: 13px;
}

.fb-clear {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
}

.fb-clear:hover {
  background: var(--primary-dark);
}

/* Compact single-row price filter (~80% smaller than the old stacked block). */
.price-range-filter {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 10px;
  margin: -4px 0 12px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .04);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.prf-head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
}

.prf-title {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.prf-scope {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.prf-head button {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  margin-left: auto;
}

.prf-values {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.prf-values label {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.prf-values input {
  width: 64px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 6px;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}

/* One shared scale with independently draggable minimum and maximum handles. */
.prf-sliders {
  position: relative;
  height: 26px;
  margin-top: 10px;
}

.prf-slider-track,
.prf-slider-track span {
  position: absolute;
  top: 10px;
  height: 6px;
  border-radius: 999px;
}

.prf-slider-track {
  right: 9px;
  left: 9px;
  background: #e8e8e8;
  overflow: hidden;
}

.prf-slider-track span {
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--primary-dark), var(--primary));
}

.prf-sliders input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 26px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
}

.prf-sliders input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
}

.prf-sliders input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-shadow: 0 2px 7px rgba(168, 15, 27, .28);
  cursor: grab;
  pointer-events: auto;
}

.prf-sliders input[type="range"]::-moz-range-track {
  height: 6px;
  background: transparent;
}

.prf-sliders input[type="range"]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-shadow: 0 2px 7px rgba(168, 15, 27, .28);
  cursor: grab;
  pointer-events: auto;
}

.prf-sliders input[type="range"]:focus-visible::-webkit-slider-thumb {
  outline: 3px solid rgba(223, 31, 45, .3);
  outline-offset: 2px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state .es-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.empty-state .es-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 18px;
}

/* Coming Soon section for taxonomy categories with no products yet. */
.coming-soon-block {
  text-align: center;
  padding: 40px 20px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  background: #fafafa;
}

.coming-soon-block .cs-icon {
  font-size: 40px;
  margin-bottom: 8px;
}

.coming-soon-block .cs-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--accent, #1a1a1a);
  margin-bottom: 6px;
}

.coming-soon-block .cs-text {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Product Detail Page (PDP) ──────────────────────────────────────────── */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .current {
  color: var(--text);
  font-weight: 500;
}

.pdp {
  display: grid;
  grid-template-columns: minmax(380px, 540px) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.pdp-gallery {
  position: sticky;
  top: 174px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pdp-media {
  position: relative;
  background: linear-gradient(145deg, #fff, #f3f8fc);
  border: 1px solid #d8e7f3;
  border-radius: 24px;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 45px rgba(21, 72, 112, .11);
}

.pdp-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  transition: transform .25s ease;
}

.pdp-media:hover img {
  transform: scale(1.12);
}

.pdp-media .pid-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #0d2347;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .35px;
  padding: 6px 11px;
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(13, 35, 71, .2);
}

.pdp-info {
  padding: 30px;
  border: 1px solid #dce9f4;
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 48px rgba(18, 69, 110, .09);
}

.pdp-media .stock-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  bottom: auto;
  width: auto;
}

/* Zoomable main image */
.pdp-media.zoomable {
  cursor: zoom-in;
}

.pdp-media .zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, .62);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
}

.pdp-media.zoomable:hover .zoom-hint {
  opacity: 1;
}

/* Fullscreen zoom lightbox */
.zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, .92);
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.zoom-overlay.open {
  display: flex;
}

.zoom-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform .12s ease-out;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.zoom-overlay img.zoomed {
  cursor: grab;
}

.zoom-overlay img.zoomed:active {
  cursor: grabbing;
}

.zoom-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background .15s;
}

.zoom-close:hover {
  background: rgba(255, 255, 255, .3);
}

.zoom-tip {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  pointer-events: none;
}

.pdp-cat {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.pdp-cat {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 13px;
  padding: 7px 12px;
  border: 1px solid #cfe6f5;
  border-radius: 999px;
  background: #edf8ff;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
}

.pdp-name {
  font-size: 36px;
  font-weight: 700;
  color: #0d2347;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.pdp-name::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 14px;
  border-radius: 5px;
  background: var(--primary);
}

.pdp-desc {
  font-size: 15px;
  color: #5f6f84;
  margin-bottom: 24px;
  line-height: 1.7;
}

.pdp-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 16px;
}

.pdp-meta-box {
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid #dce9f3;
  border-radius: 13px;
  background: #f7fbfe;
}

.pdp-meta-box .lbl {
  font-size: 10px;
  color: #7d8b9e;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .65px;
}

.pdp-meta-box .val {
  margin-top: 4px;
  color: #16345d;
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.pdp-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdp-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px;
  border: 1px solid #dce9f4;
  border-radius: 15px;
  background: #fff;
}

.pdp-thumb {
  width: 68px;
  height: 68px;
  border-radius: 11px;
  border: 2px solid #dce8f2;
  background: #fff;
  padding: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s;
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-thumb.active,
.pdp-thumb:hover {
  border-color: var(--primary);
}

.pdp-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
}

.pdp-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pdp-por-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff9e8;
  border: 1px solid #f1d68a;
  border-radius: 15px;
  padding: 17px 18px;
  margin-bottom: 22px;
}

.pdp-por-box .por-ic {
  font-size: 26px;
}

.pdp-por-box strong {
  color: var(--primary);
  font-size: 16px;
}

.pdp-por-box p {
  font-size: 13px;
  color: var(--text);
  margin-top: 4px;
  line-height: 1.55;
}

.pdp-gst-note {
  font-size: 11.5px;
  color: #8491a3;
  margin: 0 2px 22px;
}

.pdp-tiers {
  border: 1px solid #d7e6f2;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #fff;
}

.pdp-tiers-title {
  background: linear-gradient(135deg, #0d77bb, var(--primary));
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .3px;
  padding: 12px 16px;
}

.pdp-tier-row {
  display: grid;
  grid-template-columns: 1fr .8fr 1.35fr;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #e5eef5;
  font-size: 13px;
}

.pdp-tier-row:last-child {
  border-bottom: none;
}

.pdp-tier-row:nth-child(odd) {
  background: #f8fbfe;
}

.pdp-tier-row .t-qty {
  font-weight: 600;
  color: #334a68;
}

.pdp-tier-row .t-disc {
  color: #1d9b56;
  font-weight: 600;
}

.pdp-tier-row .t-price {
  font-weight: 600;
  color: var(--primary);
  text-align: right;
}

.pdp-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pdp-actions .modal-action-btn {
  min-width: 0;
  min-height: 44px;
  border-radius: 11px;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.pdp-actions .modal-action-btn.primary {
  background: linear-gradient(135deg, var(--primary), #168fc9);
  box-shadow: 0 8px 18px rgba(46, 159, 214, .24);
}

.pdp-actions .modal-action-btn:first-child:last-child {
  grid-column: 1/-1;
}

@media (max-width: 760px) {
  .pdp {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pdp-gallery {
    position: static;
  }

  .pdp-info {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .pdp-name {
    font-size: 27px;
  }

  .pdp-meta {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pdp-tier-row {
    grid-template-columns: 1fr 1fr;
  }

  .pdp-tier-row .t-price {
    grid-column: 1/-1;
    text-align: left;
  }

  .pdp-actions {
    grid-template-columns: 1fr;
  }
}

/* ── Section header ─────────────────────────────────────────────────────── */
.sec-head {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sec-head::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--border);
}

.latest-products-section {
  margin-top: 22px;
}

.view-more-products {
  margin-left: auto;
  color: var(--primary);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.cat-circles-section {
  margin-top: 30px;
  background: #f5f5f5;
  border-radius: 14px;
  padding: 26px 28px 30px;
}

.cat-circles {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 22px;
  justify-content: flex-start;
}

.cat-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 96px;
  text-decoration: none;
  color: var(--text);
}

.cat-circle-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  background: var(--card);
  border: 2px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.cat-circle:hover .cat-circle-badge {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}

.cat-circle-label {
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

.cat-circle:hover .cat-circle-label {
  color: var(--primary);
}

@media (max-width: 600px) {
  .cat-circles {
    gap: 16px 14px;
  }

  .cat-circle {
    width: 78px;
  }

  .cat-circle-badge {
    width: 62px;
    height: 62px;
    font-size: 26px;
  }
}

.homepage-all-products {
  display: none;
}

.category-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 24px 80px;
}

.category-page .breadcrumb {
  width: max-content;
  max-width: 100%;
  margin: 0 0 24px;
  padding: 9px 14px;
  border: 1px solid #dbeaf7;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 5px 18px rgba(21, 85, 135, .06);
  font-size: 12px;
}

.category-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.category-sidebar {
  position: static;
  max-height: none;
  overflow: visible;
  padding: 14px;
  border: 1px solid #dceaf6;
  border-radius: 18px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 12px 34px rgba(20, 76, 122, .08);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.category-sidebar h2 {
  width: 100%;
  padding: 0 4px 11px;
  margin: 0 0 2px;
  border-bottom: 1px solid #e7f0f8;
  color: #0d2347;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.category-sidebar a {
  min-height: 42px;
  padding: 6px 12px;
  border: 1px solid #dfebf5;
  border-radius: 12px;
  color: #42536c;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background .16s, border-color .16s, color .16s, transform .16s;
  flex: 0 0 auto;
}

.category-sidebar a:hover {
  background: #f4f9fd;
  border-color: #dcebf7;
  color: var(--primary-dark);
  transform: translateX(2px);
}

.category-sidebar a.active {
  background: #eaf6ff;
  border-color: #bfe2f7;
  color: var(--primary-dark);
  font-weight: 600;
}

.category-sidebar span {
  color: #7b899c;
  font-size: 12px;
}

.category-sidebar a.active>span:last-child {
  color: var(--primary-dark);
}

.cat-side-ico {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 5px;
  flex: none;
  background: #f4f8fb;
}

.cat-side-emoji {
  display: inline-block;
  width: 30px;
  text-align: center;
  margin-right: 6px;
}

.category-sidebar .cat-side-lbl {
  display: flex;
  align-items: center;
}

.category-sidebar .cat-side-lbl span {
  color: inherit;
  font-size: inherit;
}

/* Expandable category groups (categories that have subcategories). */
.cat-side-group {
  position: relative;
  flex: 0 0 auto;
  border-radius: 11px;
}

.cat-side-group>summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 12px;
  border: 1px solid #dfebf5;
  border-radius: 12px;
  color: #42536c;
  user-select: none;
  transition: background .15s ease, color .15s ease;
}

.cat-side-group>summary::-webkit-details-marker {
  display: none;
}

.cat-side-group>summary:hover {
  background: #f4f9fd;
  border-color: #dcebf7;
  color: var(--primary-dark);
}

.cat-side-group>summary.active {
  background: #eaf6ff;
  border-color: #bfe2f7;
  color: var(--primary-dark);
  font-weight: 600;
}

.cat-side-lbl {
  flex: 1;
  min-width: 0;
}

.cat-side-count {
  color: var(--muted);
  font-size: 12px;
}

.cat-side-caret {
  font-size: 11px;
  color: var(--muted);
  transition: transform .2s ease;
}

.cat-side-group[open]>summary .cat-side-caret {
  transform: rotate(180deg);
}

.cat-side-subs {
  position: absolute;
  z-index: 40;
  top: calc(100% + 7px);
  left: 0;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px;
  border: 1px solid #dceaf6;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(20, 76, 122, .16);
  animation: catSubReveal .2s ease;
}

.cat-side-subs a {
  width: 100%;
  min-height: 36px;
  padding: 6px 10px;
  font-size: 12.5px;
  color: #68778c;
}

.cat-side-subs a:hover,
.cat-side-subs a.active {
  background: #eaf6ff;
  color: var(--primary-dark);
  font-weight: 600;
}

.category-coming-soon {
  display: flex;
  justify-content: center;
}

.category-coming-soon img {
  max-width: 100%;
  width: 600px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
}

@keyframes catSubReveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-results {
  min-width: 0;
}

.category-results-head {
  min-height: 72px;
  margin-bottom: 20px;
  padding: 2px 4px 16px;
  border-bottom: 1px solid #dceaf6;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}

.category-results-head h1 {
  color: #0d2347;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -.7px;
}

.category-results-head h1::after {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 10px;
  border-radius: 5px;
  background: var(--primary);
}

.category-results-head p {
  color: #718096;
  font-size: 13px;
  white-space: nowrap;
}

.category-color-filter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 14px;
  background: #f4f9ff;
  border: 1px solid #d8eafb;
  border-radius: 12px;
}

.category-color-filter label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #52657d;
  font-size: 12px;
  font-weight: 700;
}

.category-color-filter select {
  min-width: 180px;
  padding: 9px 34px 9px 11px;
  border: 1px solid #bfd8ee;
  border-radius: 8px;
  background: #fff;
  color: #0d2347;
  font: inherit;
}

.category-color-filter a {
  padding: 9px 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.category-color-circles {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.category-color-circle {
  position: relative;
  align-items: center;
  cursor: pointer;
}

.category-color-circle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.category-color-circle span {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--swatch-color);
  border: 2px solid #fff;
  box-shadow: 0 1px 5px rgba(13, 35, 71, .3);
}

.category-color-circle small {
  font-size: 9px;
  line-height: 1;
  color: #52657d;
}

.category-color-circle.active span {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.category-results .product-grid {
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 22px;
}

.category-product {
  position: relative;
  min-width: 0;
  padding: 10px 10px 14px;
  border: 1px solid #dce8f2;
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  box-shadow: 0 8px 26px rgba(18, 69, 110, .06);
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.category-product:hover,
.category-product:focus-visible {
  transform: translateY(-5px);
  border-color: #a8d8f2;
  box-shadow: 0 16px 34px rgba(23, 100, 158, .14);
  outline: none;
}

.category-product:hover strong {
  color: var(--primary-dark);
}

.category-product-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 13px;
  background: linear-gradient(145deg, #f7fbfe, #edf5fb);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .28s ease;
}

.category-product:hover .category-product-img img,
.category-product:focus-visible .category-product-img img {
  transform: scale(1.12);
}

.category-product-img span {
  font-size: 42px;
}

.category-product strong {
  min-height: 40px;
  padding: 2px 4px 0;
  color: #172b49;
  font-size: 13.5px;
  line-height: 1.42;
  transition: color .15s;
}

.category-product small {
  padding: 0 4px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.category-product-btn {
  width: 100%;
  min-height: 38px;
  margin-top: auto;
  padding: 9px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #178fc8);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .35px;
  box-shadow: 0 7px 16px rgba(46, 159, 214, .22);
  transition: background .15s, transform .15s, box-shadow .15s;
}

.category-product:hover .category-product-btn,
.category-product:focus-visible .category-product-btn {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 9px 20px rgba(28, 111, 160, .28);
}

.category-pagination {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin-top: 26px
}

.category-pagination a {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--primary);
  text-decoration: none
}

.category-pagination a.active {
  background: var(--primary);
  color: #fff
}

.lp-pagination {
  display: flex;
  gap: 7px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px
}

.lp-pagination .lp-page {
  min-width: 38px;
  text-align: center;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: background .15s, color .15s
}

.lp-pagination .lp-page:hover {
  background: #f2f2f2
}

.lp-pagination .lp-page.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary)
}

.lp-pagination .lp-page.disabled {
  opacity: .4;
  pointer-events: none
}

.lp-pagination .lp-ellipsis {
  padding: 8px 4px;
  color: var(--muted);
  font-weight: 600;
  align-self: center
}

.category-pagination .cp-ellipsis {
  padding: 7px 4px;
  color: var(--muted);
  font-weight: 600
}

@media(max-width:1050px) {
  .category-results .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }
}

@media(max-width:760px) {
  .category-page {
    padding: 18px 12px 50px
  }

  .category-page .breadcrumb {
    margin-bottom: 16px
  }

  .category-layout {
    gap: 20px
  }

  .category-sidebar {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px;
    border-radius: 14px;
    scrollbar-width: thin
  }

  .category-sidebar h2 {
    display: none
  }

  .category-sidebar a,
  .cat-side-group>summary {
    white-space: nowrap
  }

  .cat-side-subs {
    position: static;
    margin-top: 6px;
    box-shadow: none
  }

  .category-results-head {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 14px
  }

  .category-results-head h1 {
    font-size: 25px
  }

  .category-results-head p {
    white-space: normal
  }

  .category-results .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
  }

  .category-product {
    padding: 7px 7px 10px;
    border-radius: 14px
  }

  .category-product strong {
    font-size: 12px;
    min-height: 36px
  }

  .category-product-btn {
    min-height: 35px;
    padding: 8px;
    font-size: 10.5px
  }
}

@media(max-width:420px) {
  .category-results .product-grid {
    grid-template-columns: 1fr 1fr
  }

  .category-product-img {
    border-radius: 10px
  }

  .category-product small {
    font-size: 12px
  }
}

/* ── Product grid ───────────────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.product-grid.homepage-four-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dc-whatsapp-cta {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 34px 0;
  padding: 38px 44px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #0877bd 0%, #04548f 58%, #073b70 100%);
  box-shadow: 0 18px 42px rgba(4, 84, 143, .22);
  overflow: hidden;
  position: relative;
}

.dc-whatsapp-cta::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

.dc-whatsapp-copy,
.dc-whatsapp-action {
  position: relative;
  z-index: 1;
}

.dc-whatsapp-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #bde7ff;
}

.dc-whatsapp-kicker span {
  color: #54d4ff;
  font-size: 18px;
}

.dc-whatsapp-copy h2 {
  margin: 0 0 12px;
  max-width: 600px;
  font-size: 34px;
  line-height: 1.12;
  color: #fff;
}

.dc-whatsapp-copy p {
  margin: 0;
  color: #d8efff;
  font-size: 16px;
}

.dc-whatsapp-action ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.dc-whatsapp-action li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  font-weight: 700;
  color: #e8f7ff;
}

.dc-whatsapp-action li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #55d8ff;
  color: #063f70;
  font-size: 12px;
  font-weight: 900;
}

.dc-whatsapp-action a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #fff;
  color: #075b98;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 27, 61, .24);
  transition: transform .18s, box-shadow .18s;
}

.dc-whatsapp-action a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 27, 61, .3);
}

.dc-whatsapp-action a svg {
  width: 25px;
  height: 25px;
  color: #25D366;
}

.dc-whatsapp-action a b {
  margin-left: auto;
  font-size: 24px;
}

.dc-whatsapp-action small {
  display: block;
  margin: 10px 0 0 18px;
  color: #badff5;
}

.catalogue-download-hero {
  padding: 72px 20px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #073b70, #0877bd);
}

.catalogue-download-hero h1 {
  margin: 0 0 12px;
  font-size: 44px;
  color: #fff;
}

.catalogue-download-hero p {
  margin: 0;
  color: #d9efff;
  font-size: 18px;
}

.catalogue-download-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 24px 70px;
}

.catalogue-download-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.catalogue-download-tabs button {
  padding: 14px 24px;
  border: 1px solid #cfd9e5;
  border-radius: 12px;
  background: #fff;
  color: #3d4652;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.catalogue-download-tabs button.active {
  background: #075b98;
  border-color: #075b98;
  color: #fff;
}

.catalogue-download-panel {
  display: grid;
  gap: 14px;
}

.catalogue-download-panel[hidden] {
  display: none;
}

.catalogue-download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid #dfe5ec;
  border-radius: 14px;
  background: #fff;
}

.catalogue-download-info {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.catalogue-download-info>span:last-child {
  display: grid;
  gap: 4px;
}

.catalogue-download-info strong {
  color: #17243a;
  font-size: 17px;
}

.catalogue-download-info small {
  color: #758198;
  font-size: 14px;
}

.catalogue-download-thumb {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 11px;
  background: #f6f9fc;
  color: #0877bd;
  font-size: 25px;
  font-weight: 800;
}

.catalogue-download-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalogue-download-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.catalogue-download-actions a {
  min-width: 148px;
  padding: 12px 16px;
  border: 1px solid #075b98;
  border-radius: 10px;
  color: #075b98;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.catalogue-download-actions a.with-price {
  background: #0877bd;
  color: #fff;
}

.catalogue-download-actions a:hover {
  filter: brightness(.94);
}

@media(max-width:760px) {
  .product-grid.homepage-four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dc-whatsapp-cta {
    grid-template-columns: 1fr;
    gap: 26px;
    margin: 26px 0;
    padding: 28px 24px;
    border-radius: 20px;
  }

  .dc-whatsapp-copy h2 {
    font-size: 28px;
  }

  .catalogue-download-hero {
    padding: 48px 18px;
  }

  .catalogue-download-hero h1 {
    font-size: 32px;
  }

  .catalogue-download-main {
    padding: 28px 14px 50px;
  }

  .catalogue-download-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalogue-download-actions {
    width: 100%;
  }

  .catalogue-download-actions a {
    flex: 1 1 140px;
  }
}

@media(max-width:420px) {
  .product-grid.homepage-four-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Product card ───────────────────────────────────────────────────────── */
.pcard {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  display: flex;
  flex-direction: column;
  cursor: default;
}

.pcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d9d9d9;
}

.pcard.in-cart {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(223, 31, 45, .2);
}

.pcard.inactive,
.pcard.out-stock {
  opacity: .72;
}

/* image area */
.pcard-img {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: block;
  background: #f0f2f7;
  position: relative;
  flex-shrink: 0;
}

.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  transition: transform .25s;
}

.pcard:hover .pcard-img img,
.pcard:focus-within .pcard-img img {
  transform: scale(1.12);
}

.pcard-img .pid-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 8px;
}

.pcard-img .added-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 8px;
  display: none;
}

.pcard.in-cart .added-tag {
  display: block;
}

.stock-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(17, 17, 17, .92);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 8px;
}

.stock-tag.out,
.stock-tag.unavailable {
  background: var(--red);
}

/* placeholder when no image */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
}

.img-placeholder .ph-icon {
  font-size: 42px;
}

.img-placeholder .ph-text {
  font-size: 11px;
  font-weight: 500;
  opacity: .7;
}

/* card body */
.pcard-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pcard-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  text-decoration: none;
  display: block;
}

.pcard-name:hover {
  color: var(--primary);
}

.pcard-desc {
  font-size: 11.5px;
  color: var(--muted);
  flex: 1;
  line-height: 1.4;
}

/* price badges */
.price-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.pbadge {
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.pbadge-50 {
  background: #fff1f2;
  color: var(--primary);
}

.pbadge-100 {
  background: #f2f2f2;
  color: #111;
}

.pbadge-500 {
  background: #fef0f0;
  color: var(--primary-dark);
  font-style: italic;
}

/* add button */
.add-btn {
  margin-top: 10px;
  width: 100%;
  padding: 9px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s;
}

.add-btn:hover {
  background: var(--primary-dark);
}

.pcard.in-cart .add-btn {
  background: #111;
  color: #fff;
}

.add-btn:disabled {
  background: #c9c9c9;
  color: #fff;
  cursor: not-allowed;
}

/* Guest "login to see price" button (rendered as a link) */
.add-btn-login {
  display: block;
  text-align: center;
  text-decoration: none;
  background: #111;
  color: #fff;
}

.add-btn-login:hover {
  background: var(--primary);
}

/* ── Floating cart bar ──────────────────────────────────────────────────── */
.cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: #fff;
  padding: 14px 24px;
  z-index: 190;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .25);
  transform: translateY(100%);
  transition: transform .3s ease;
}

.cart-bar.visible {
  transform: translateY(0);
}

.cart-bar-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-bar-info .items {
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
}

.cart-bar-info .total {
  font-size: 20px;
  font-weight: 600;
}

.cart-bar-info .total small {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, .6);
}

.cart-items-preview {
  flex: 1;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 0;
}

.cart-chip {
  background: rgba(255, 255, 255, .15);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-chip .rm {
  cursor: pointer;
  opacity: .7;
  font-size: 13px;
}

.cart-chip .rm:hover {
  opacity: 1;
}

.get-quote-btn {
  padding: 13px 32px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s;
}

.get-quote-btn:hover {
  transform: scale(1.03);
}

/* ── Modals ─────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(3px);
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  animation: slideUp .22s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-head {
  background: var(--primary);
  color: #fff;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-head h2 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.modal-head .sub {
  font-size: 12px;
  color: rgba(255, 255, 255, .65);
  margin-top: 2px;
}

.modal-close {
  background: rgba(255, 255, 255, .15);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 10px;
}

.modal-close:hover {
  background: rgba(255, 255, 255, .3);
}

.modal-body {
  padding: 22px;
}

/* qty modal */
.qty-tiers {
  display: flex;
  gap: 10px;
  flex-direction: column;
  margin-bottom: 16px;
}

.qty-tier-btn {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .15s;
  text-align: left;
}

.qty-tier-btn:hover {
  border-color: var(--primary);
  background: #fff1f2;
}

.qty-tier-btn.selected {
  border-color: var(--accent);
  background: #f2f2f2;
}

/* Display-only price tiers (not clickable) */
.qty-tier-btn.info {
  cursor: default;
}

.qty-tier-btn.info:hover {
  border-color: var(--border);
  background: #fff;
}

.qty-tier-btn .qt-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.qty-tier-btn .qt-disc {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.qty-tier-btn .qt-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.qty-tier-btn.por .qt-price {
  color: var(--red);
  font-size: 13px;
  font-style: italic;
}

.custom-qty-row {
  margin: 12px 0;
}

.custom-qty-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 6px;
}

.custom-qty-row input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
}

.custom-qty-row input:focus {
  outline: none;
  border-color: var(--primary);
}

.any-qty-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .3px;
  vertical-align: middle;
  text-transform: uppercase;
}

.any-qty-hint {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}

.por-note {
  background: #fff1f2;
  border: 1px solid var(--primary);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--primary-dark);
  margin: 12px 0;
  display: none;
}

.por-note.show {
  display: block;
}

.modal-action-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
}

.modal-action-btn:hover {
  opacity: .88;
}

.modal-action-btn.primary {
  background: var(--primary);
  color: #fff;
}

.modal-action-btn.accent {
  background: var(--accent);
  color: #fff;
}

/* ── Customer details modal ─────────────────────────────────────────────── */
.details-modal {
  max-width: 520px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media(max-width:480px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.fgroup {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fgroup label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
}

.fgroup input,
.fgroup textarea {
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  transition: border-color .15s;
  outline: none;
}

.fgroup input:focus,
.fgroup textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(223, 31, 45, .12);
}

.fgroup .hint {
  font-size: 11px;
  color: var(--muted);
}

.fgroup.full {
  grid-column: 1/-1;
}

/* order summary inside details modal */
.order-summary {
  background: #f5f6fa;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 16px;
  max-height: 160px;
  overflow-y: auto;
}

.order-summary-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 8px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}

.order-row:last-child {
  border: 0;
}

.order-row .pr-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  flex: 1;
}

.order-row .pr-qty {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.order-row .pr-amt {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 2px solid var(--border);
}

.order-total-row .lbl {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.order-total-row .amt {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

/* ── Quote result page ───────────────────────────────────────────────────── */
.result-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 16px 48px;
}

.result-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.result-hero-card,
.result-card,
.result-panel {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.result-hero-card {
  padding: 24px;
  background: #fff;
}

.result-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 5px;
}

.result-hero-card h1 {
  color: var(--primary);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 8px;
}

.result-hero-card p {
  color: var(--muted);
  max-width: 720px;
  font-size: 14px;
}

.quote-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.quote-stat {
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}

.quote-stat span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 3px;
}

.quote-stat strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
  gap: 18px;
}

.result-card {
  padding: 18px;
  min-width: 0;
}

.result-card-title {
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.summary-line span {
  color: var(--muted);
  font-weight: 600;
}

.summary-line strong {
  color: var(--text);
  text-align: right;
}

.summary-line.grand {
  align-items: center;
  border-bottom: 0;
  padding-bottom: 2px;
}

.summary-line.grand span,
.summary-line.grand strong {
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
}

.selected-card {
  overflow: hidden;
}

.selected-products {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 430px;
  overflow-y: auto;
  padding-right: 4px;
}

.selected-product {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fbfcff;
}

.selected-img {
  width: 58px;
  height: 58px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.selected-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.selected-code {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .4px;
}

.selected-name {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.selected-meta {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.selected-total {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.quote-bottom-actions {
  justify-content: center;
  margin: 26px 0 4px;
}

.result-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s, opacity .15s;
}

.result-btn:hover {
  transform: translateY(-1px);
  opacity: .9;
}

.result-btn-primary {
  background: var(--primary);
  color: #fff;
}

.result-btn-accent {
  background: var(--accent);
  color: #fff;
}

.result-btn-whatsapp {
  background: #111;
  color: #fff;
}

.result-btn-pi {
  background: #111111;
  color: #fff;
  border: 1.5px solid var(--primary);
}

.pi-box {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1.5px solid var(--primary);
  border-radius: 12px;
  background: #fff5f5;
}

.pi-box-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.pi-box-head strong {
  color: #111111;
  font-size: 14px;
  font-weight: 700;
}

.pi-box-head span {
  color: var(--primary-dark);
  font-size: 12px;
}

.pi-fields {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.pi-fields label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 180px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted, #6b7a99);
  text-transform: uppercase;
  letter-spacing: .3px;
}

.pi-fields input {
  padding: 10px 12px;
  border: 1.5px solid var(--border, #dde3ee);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
}

.pi-fields input:focus {
  outline: none;
  border-color: #111111;
}

.pi-fields .result-btn-pi {
  flex: 0 0 auto;
}

.pi-lines {
  margin: 14px 0;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.pi-line {
  display: grid;
  grid-template-columns: 1fr 70px 150px 110px;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1px solid #eeeeee;
  font-size: 13px;
}

.pi-line:last-child {
  border-bottom: 0;
}

.pi-line-head {
  background: #111111;
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.pi-line-name strong {
  color: #111111;
}

.pi-line-qty,
.pi-line-total {
  text-align: right;
  font-weight: 600;
}

.pi-line-head span:nth-child(2),
.pi-line-head span:nth-child(4),
.pi-line-foot span:nth-child(4) {
  text-align: right;
}

.pi-price-input {
  width: 100%;
  padding: 7px 9px;
  border: 1.5px solid var(--primary);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}

.pi-price-input:focus {
  outline: none;
  border-color: #111111;
}

.pi-price-input:disabled,
.pi-price-input[readonly] {
  color: #111111;
  background: transparent;
  border-color: transparent;
  opacity: 1;
  -webkit-text-fill-color: #111111;
}

.pi-por {
  color: var(--primary-dark);
  font-size: 12px;
}

.pi-line-foot {
  background: #fff5f5;
  font-weight: 600;
}

.pi-line-grand {
  font-size: 15px;
  color: #111111;
  font-weight: 700;
}

/* Reseller per-line margin column (PI only) */
.pi-has-margin .pi-line {
  grid-template-columns: 1fr 60px 118px 130px 100px;
}

.pi-margin-cell {
  display: flex;
  gap: 4px;
}

.pi-margin-input {
  width: 60px;
  padding: 6px 6px;
  border: 1.5px solid #2e8b57;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

.pi-margin-type {
  padding: 5px 4px;
  border: 1.5px solid #2e8b57;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.pi-margin-input:focus,
.pi-margin-type:focus {
  outline: none;
  border-color: #111111;
}

/* footer rows only have the last 3 cells → push them right so totals stay aligned */
.pi-has-margin .pi-line-foot span:first-child {
  grid-column: 1 / 4;
}

@media (max-width: 560px) {
  .pi-line {
    grid-template-columns: 1fr 50px 110px 90px;
    gap: 5px;
    font-size: 12px;
    padding: 8px;
  }

  .pi-has-margin .pi-line {
    grid-template-columns: 1fr 44px 92px 92px 80px;
  }

  .pi-margin-input {
    width: 44px;
  }
}

.pi-mode-tabs {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px;
  flex-wrap: wrap;
}

.pi-mode-tab {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border: 1.5px solid #e6e6e6;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #111111;
  text-align: left;
}

.pi-mode-tab small {
  font-weight: 500;
  font-size: 10.5px;
  color: var(--primary-dark);
}

.pi-mode-tab.active {
  background: #111111;
  border-color: #111111;
  color: #fff;
}

.pi-mode-tab.active small {
  color: #fff;
}

.pi-section {
  margin-bottom: 6px;
}

.pi-section-title {
  font-size: 11px;
  font-weight: 600;
  color: #111111;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin: 12px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e6e6e6;
}

.result-alert {
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.result-alert.success {
  background: #f2f2f2;
  border: 1px solid #111111;
  color: #111111;
}

.result-alert.warn {
  background: #fff1f2;
  border: 1px solid var(--primary);
  color: var(--primary-dark);
}

/* PI-ready page has no search/navigation column, so keep its contact links
   together instead of allowing the main three-column header grid to place them. */
.header.pi-result-header {
  display: flex;
  justify-content: space-between;
  height: auto;
  min-height: 96px;
}

.pi-result-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  text-align: right;
}

.pi-result-contact a {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.pi-result-contact a:hover {
  color: var(--primary-dark);
}

@media (max-width: 700px) {
  .header.pi-result-header {
    padding: 8px 12px;
    min-height: 72px;
    gap: 10px;
  }

  .pi-result-contact {
    gap: 5px 12px;
  }

  .pi-result-contact a {
    font-size: 11px;
  }

  .pi-result-contact a:first-child {
    display: none;
  }
}

.direct-link {
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
  word-break: break-all;
}

.result-panel {
  max-width: 520px;
  margin: 44px auto;
  padding: 34px;
  text-align: center;
}

.result-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff0f0;
  color: var(--red);
  font-size: 28px;
  font-weight: 700;
}

.result-panel h2 {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 8px;
}

.result-panel p {
  color: var(--muted);
}

/* ── Admin panel ─────────────────────────────────────────────────────────── */
.admin-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 16px 60px;
}

.admin-login,
.admin-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-login {
  max-width: 420px;
  margin: 54px auto;
  padding: 28px;
}

.admin-login h1,
.admin-top h1 {
  color: var(--primary);
  font-size: 26px;
  margin-bottom: 6px;
}

.admin-login label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin: 16px 0 6px;
}

.admin-login input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 15px;
}

.admin-login button,
.stock-form button {
  border: 0;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
}

.admin-login button {
  width: 100%;
  margin-top: 16px;
  padding: 13px;
}

.admin-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-top p {
  color: var(--muted);
}

.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Keep the primary tab bar visible while scrolling the long admin pages. */
.admin-top .admin-tabs {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 250, 250, .92);
  backdrop-filter: blur(6px);
  padding: 10px 0;
  margin: -4px 0 -4px;
  max-width: 100%;
}

.admin-tabs a,
.admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #fff1f2;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 8px 13px;
  text-decoration: none;
  font-weight: 600;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
}

.admin-tabs a:hover,
.admin-link:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
}

.danger-link {
  color: var(--red);
  background: #fff;
  border-color: var(--red);
}

.admin-actions-cell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 320px;
}

.admin-actions-cell form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-actions-cell input[type="text"] {
  width: 132px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 9px;
}

.admin-tabs a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.admin-alert {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-weight: 600;
}

.admin-alert.success {
  background: #f2f2f2;
  border: 1px solid #111111;
  color: #111111;
}

.admin-alert.error {
  background: #fff0f0;
  border: 1px solid var(--red);
  color: var(--primary-dark);
}

/* Shared admin form layout (Add/Update Reseller, Direct Client, etc.). */
.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  max-width: 760px;
}

.admin-form>label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.admin-form input::placeholder,
.admin-form textarea::placeholder {
  font-weight: 500;
  color: #9aa0a6;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(168, 15, 27, .12);
}

.admin-form textarea {
  resize: vertical;
  min-height: 64px;
}

.admin-form .af-full {
  grid-column: 1 / -1;
}

.admin-form .af-check {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  align-self: end;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.admin-form .af-check input {
  width: auto;
  accent-color: var(--primary);
}

.admin-form button[type="submit"] {
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 26px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}

.admin-form button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(168, 15, 27, .3);
}

.admin-form button[type="submit"]:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .admin-form {
    grid-template-columns: 1fr;
  }
}

.admin-card {
  padding: 20px;
  margin-bottom: 18px;
  transition: box-shadow .18s ease, transform .18s ease;
  animation: adminCardIn .35s ease both;
}

.admin-card:hover {
  box-shadow: 0 6px 22px rgba(0, 0, 0, .08);
}

@keyframes adminCardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger the cards so the page assembles itself on load. */
.admin-card:nth-of-type(1) {
  animation-delay: .02s;
}

.admin-card:nth-of-type(2) {
  animation-delay: .08s;
}

.admin-card:nth-of-type(3) {
  animation-delay: .14s;
}

.admin-card:nth-of-type(4) {
  animation-delay: .20s;
}

.admin-card:nth-of-type(n+5) {
  animation-delay: .26s;
}

@media (prefers-reduced-motion: reduce) {
  .admin-card {
    animation: none;
  }
}

/* Save-confirmation toast (replaces the static success banner). */
.admin-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  transform: translateY(24px) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .3s ease;
  cursor: pointer;
}

.admin-toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.admin-toast-ic {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2ecc71;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  animation: toastPop .4s ease both .1s;
}

@keyframes toastPop {
  0% {
    transform: scale(0);
  }

  70% {
    transform: scale(1.25);
  }

  100% {
    transform: scale(1);
  }
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-card-head h2 {
  color: var(--primary);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 760px;
}

.admin-table th {
  background: var(--primary);
  color: #fff;
  padding: 10px;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.admin-table td {
  border-bottom: 1px solid var(--border);
  padding: 10px;
  vertical-align: middle;
}

.admin-table small {
  color: var(--muted);
}

.admin-card input,
.admin-card select,
.admin-card textarea {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px 10px;
  font: inherit;
}

.admin-product {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
}

.admin-product img {
  width: 46px;
  height: 46px;
  max-width: 46px;
  max-height: 46px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 3px;
  flex-shrink: 0;
}

.stock-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.stock-form input[type="number"] {
  width: 92px;
  padding: 9px 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-weight: 600;
}

.stock-form label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 600;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.admin-summary-grid div {
  background: #f6f8fc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px;
}

.admin-summary-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.admin-summary-grid strong {
  color: var(--text);
}

.admin-dashboard .admin-card-head p {
  color: var(--muted);
  margin-top: 3px;
}

.dashboard-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-stats a {
  background: #f6f8fc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}

.dashboard-stats a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.dashboard-stats span,
.dashboard-stats small {
  display: block;
  color: var(--muted);
}

.dashboard-stats strong {
  display: block;
  font-size: 24px;
  margin: 4px 0;
}

.dashboard-stats small {
  font-size: 12px;
}

.dashboard-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.dashboard-chart-card .admin-card-head {
  margin-bottom: 4px;
}

.dashboard-chart-card .admin-card-head p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.dashboard-bar-chart {
  height: 180px;
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 18px 8px 0;
  border-bottom: 1px solid var(--border);
}

.dashboard-bar-wrap {
  height: 100%;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 5px;
}

.dashboard-bar {
  width: min(34px, 100%);
  min-height: 4px;
  background: var(--primary);
  border-radius: 7px 7px 2px 2px;
}

.dashboard-bar-chart.visitors .dashboard-bar {
  background: #111;
}

.dashboard-bar-value {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.dashboard-bar-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.dashboard-bar {
  transition: height .6s cubic-bezier(.2, .8, .2, 1);
}

/* Pie chart (conic-gradient) + legend. */
.dashboard-pie-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.dashboard-pie {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 6px #fff, 0 4px 16px rgba(0, 0, 0, .12);
  animation: pieSpinIn .7s ease both;
}

@keyframes pieSpinIn {
  from {
    transform: rotate(-120deg) scale(.6);
    opacity: 0;
  }

  to {
    transform: rotate(0) scale(1);
    opacity: 1;
  }
}

.dashboard-pie-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dashboard-pie-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}

.dashboard-pie-legend .pie-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.dashboard-pie-legend .pie-lbl {
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-pie-legend .pie-val {
  margin-left: auto;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-pie {
    animation: none;
  }
}

.admin-notes {
  background: #fff1f2;
  border: 1px solid var(--primary);
  color: var(--primary-dark);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
}

/* ── Profile dashboard ───────────────────────────────────────────────────── */
.profile-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 16px 70px;
}

.profile-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.profile-head h1 {
  color: var(--primary);
  font-size: 26px;
  margin-bottom: 4px;
}

.profile-head p {
  color: var(--muted);
}

.profile-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  flex-shrink: 0;
}

.profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.profile-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .3px;
}

.profile-form input,
.profile-form select,
.profile-form textarea {
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
  text-transform: none;
  letter-spacing: 0;
}

.profile-form input[readonly] {
  background: #f5f6f8;
  color: var(--muted);
  cursor: not-allowed;
}

.profile-form .full,
.profile-note,
.profile-actions {
  grid-column: 1 / -1;
}

.profile-note {
  color: red;
  font-size: 13px;
  font-weight: 600;
}

.profile-actions {
  text-align: right;
}

.profile-actions button {
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 9px;
  font-weight: 700;
  padding: 11px 22px;
  cursor: pointer;
}

.profile-quotes {
  margin-top: 18px;
}

.profile-quotes .profile-head {
  margin-bottom: 12px;
}

.profile-empty {
  border: 1.5px dashed var(--border);
  border-radius: 10px;
  padding: 18px;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
  background: #fafafa;
}

.profile-quote-table-wrap {
  overflow-x: auto;
}

.profile-quote-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.profile-quote-table th {
  background: #fff1f2;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1.5px solid var(--border);
}

.profile-quote-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  vertical-align: middle;
}

.profile-quote-table td span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  margin-top: 2px;
}

.profile-quote-table tbody tr:hover td {
  background: #fafafa;
}

.quote-status {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  margin: 0 !important;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px !important;
  font-weight: 700;
  background: #f1f1f1;
  color: var(--muted) !important;
}

.quote-status.sent {
  background: #e7f6ec;
  color: #128c3e !important;
}

.quote-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.quote-download:hover {
  background: var(--primary-dark);
}

.quote-missing {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

/* ── Misc ─────────────────────────────────────────────────────────────────── */
details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  padding: 8px 0;
}

.items-table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
  margin-top: 10px;
}

.items-table th {
  background: var(--primary);
  color: #fff;
  padding: 7px 8px;
  text-align: left;
}

.items-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
}

.items-table tr:nth-child(even) td {
  background: #f8f9fc;
}

/* ── Mobile navigation ──────────────────────────────────────────────────── */
@media (max-width: 800px) {
  .header {
    height: 58px;
    min-height: 58px;
    padding: 8px 14px;
    gap: 8px;
  }

  .logo-sub-wrap,
  .header-contact,
  .hu-name {
    display: none;
  }

  .header-right,
  .header-user {
    gap: 6px;
    min-width: 0;
  }

  .hu-logout {
    padding: 5px 8px;
    font-size: 11px;
  }

  .meganav {
    top: 58px;
    min-height: 46px;
  }

  .nav-toggle {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }

  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: '';
    transition: transform .18s;
  }

  .nav-toggle-icon {
    position: relative;
  }

  .nav-toggle-icon::before {
    position: absolute;
    top: -6px;
  }

  .nav-toggle-icon::after {
    position: absolute;
    top: 6px;
  }

  .meganav.is-open .nav-toggle-icon {
    background: transparent;
  }

  .meganav.is-open .nav-toggle-icon::before {
    transform: translateY(6px) rotate(45deg);
  }

  .meganav.is-open .nav-toggle-icon::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .meganav-inner {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    padding: 4px 0 12px;
    flex-direction: column;
    align-items: stretch;
    background: var(--primary-dark);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .24);
  }

  .meganav.is-open .meganav-inner {
    display: flex;
  }

  .mn-item,
  .mn-search {
    width: 100%;
    margin: 0;
  }

  .mn-item {
    display: flex;
    flex-direction: column;
  }

  .mn-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 18px;
    font-size: 14px;
  }

  .mn-yos-link,
  .mn-brand-link {
    justify-content: flex-start;
  }

  .mn-drop,
  .mn-flyout {
    display: none;
    position: static;
    min-width: 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    background: rgba(0, 0, 0, .18);
    padding: 0;
  }

  .mn-item.open>.mn-drop {
    display: block;
  }

  .mn-drop-link {
    padding: 10px 32px;
    font-size: 13px;
  }

  .mn-sub:hover>.mn-flyout,
  .mn-sub.open>.mn-flyout {
    display: block;
  }

  .mn-search {
    padding: 10px 16px;
  }

  .mn-search input {
    width: 100%;
  }
}

@media(max-width:900px) {

  /* Taller ratios on narrow screens so the slide copy still fits. */
  .hero-carousel {
    height: auto;
    aspect-ratio: 1600 / 560;
  }

  .hero {
    min-height: 0;
    background-position: center;
  }

  .hero-content {
    width: min(470px, 94vw);
    padding-left: 28px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .admin-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-charts {
    grid-template-columns: 1fr;
  }

  .profile-form {
    grid-template-columns: 1fr;
  }
}

@media(max-width:700px) {
  .header {
    height: 58px;
    min-height: 58px;
    padding: 8px 12px;
    gap: 8px;
  }

  .meganav {
    top: 58px;
  }

  .brand-logo-img {
    height: 46px;
    max-width: 240px;
  }

  .logo-mark {
    font-size: 23px;
  }

  .logo-text {
    font-size: 14px;
  }

  .header-contact {
    font-size: 11px;
    line-height: 1.35;
  }

  .logo-sub-wrap,
  .header-contact,
  .hu-name {
    display: none;
  }

  .header-right,
  .header-user {
    gap: 6px;
    min-width: 0;
  }

  .hu-logout {
    padding: 5px 8px;
    font-size: 11px;
  }

  .page {
    padding: 20px 12px 110px;
  }

  .cat-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    margin: 0 -12px 22px;
    padding-left: 12px;
    padding-right: 12px;
    scrollbar-width: none;
  }

  .cat-tabs::-webkit-scrollbar {
    display: none;
  }

  .cat-tab {
    flex: 0 0 auto;
    padding: 8px 15px;
  }

  .sec-head {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .pcard-body {
    padding: 11px;
  }

  .pcard-name {
    font-size: 12.5px;
  }

  .pcard-desc {
    font-size: 11px;
  }

  .price-badges {
    gap: 4px;
  }

  .pbadge {
    font-size: 10.5px;
    padding: 3px 6px;
  }

  .add-btn {
    font-size: 12px;
    padding: 9px 7px;
  }
}

@media(max-width:600px) {
  .hero-carousel {
    height: auto;
    aspect-ratio: 1600 / 900;
  }

  .hero {
    align-items: flex-end;
  }

  .hero-content {
    width: 100%;
    margin-right: 0;
    padding: 120px 18px 28px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .result-page {
    padding: 18px 12px 34px;
  }

  .result-hero-card {
    padding: 18px;
  }

  .result-hero-card h1 {
    font-size: 24px;
  }

  .quote-stats,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .result-actions {
    flex-direction: column;
  }

  .result-btn {
    width: 100%;
  }

  .selected-product {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .selected-img {
    width: 52px;
    height: 52px;
  }

  .selected-total {
    grid-column: 2;
    justify-self: start;
  }

  .cart-bar {
    padding: 12px;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
  }

  .cart-bar-info {
    min-width: calc(50% - 5px);
  }

  .cart-items-preview {
    display: none;
  }

  .get-quote-btn {
    flex: 1 1 100%;
    width: 100%;
    padding: 12px;
    font-size: 14px;
  }

  .modal-overlay {
    padding: 10px;
    align-items: flex-end;
  }

  .modal {
    max-width: none;
    max-height: calc(100vh - 20px);
    border-radius: 16px 16px 0 0;
    overflow-y: auto;
  }

  .modal-head {
    padding: 15px 16px;
  }

  .modal-body {
    padding: 16px;
  }

  .qty-tier-btn {
    padding: 11px 12px;
    gap: 12px;
  }

  .qty-tier-btn .qt-price {
    font-size: 14px;
    text-align: right;
  }

  .order-summary {
    max-height: 135px;
  }
}

@media(max-width:420px) {
  .header {
    align-items: center;
  }

  .brand-logo-img {
    height: 40px;
    max-width: 180px;
  }

  .header-contact {
    display: none;
  }

  .hu-logout {
    padding: 4px 6px;
    font-size: 10px;
  }

  .hero-carousel {
    height: auto;
    aspect-ratio: 1600 / 1150;
  }

  .hero {
    background-position: 58% center;
  }

  .hero-content {
    padding: 100px 14px 24px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 13.5px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 5px 10px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .pcard {
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
  }

  .cart-bar-info .total {
    font-size: 18px;
  }

  .form-grid-2 {
    gap: 10px;
  }

  .summary-line {
    flex-direction: column;
    gap: 2px;
  }

  .summary-line strong {
    text-align: left;
  }

  .prf-values {
    grid-template-columns: 1fr 1fr;
  }

  .selected-product {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }

  .selected-img {
    width: 48px;
    height: 48px;
  }

  .selected-name {
    font-size: 12px;
  }

  .admin-page {
    padding: 18px 12px 42px;
  }

  .admin-login {
    margin: 32px auto;
    padding: 20px;
  }

  .admin-card {
    padding: 12px;
  }

  .admin-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Site Footer ────────────────────────────────────────────────────────── */
.site-footer {
  background: #fff;
  color: rgba(0, 0, 0, .72);
  margin-top: 60px;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

.home-page .trusted-brands-section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.home-page .trusted-brands-section .dc-brand-strip {
  margin-bottom: 0;
}

.home-page .site-footer {
  margin-top: 0 !important;
}

.footer-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 44px 20px 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 36px;
}

.footer-col a {
  color: rgba(0, 0, 0, .66);
  text-decoration: none;
  display: block;
  padding: 4px 0;
  font-size: 13.5px;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.footer-brand .logo-mark {
  font-size: 22px;
}

.footer-tag {
  color: var(--primary);
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 14px;
}

.footer-addr {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(0, 0, 0, .55);
}

.footer-contacts {
  margin-top: 14px;
}

.footer-contacts a {
  color: var(--primary);
  font-weight: 500;
}

.footer-contacts a.footer-whatsapp-link {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-whatsapp-link svg {
  width: 18px;
  height: 18px;
  color: #25D366;
  flex: 0 0 18px;
}

.footer-title {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.footer-col-catalogue {
  min-width: 360px;
}

/* Quick Links sits last in the row, hard against the right edge.
   The column moves right; its text stays left-aligned. */
.footer-col-quick {
  order: 3;
  justify-self: end;
}

.footer-catalogue-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  column-gap: 24px;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, .12);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1260px;
  margin: 0 auto;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 14px;
}

.footer-social .soc {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform .15s, filter .15s;
  text-decoration: none;
}

.footer-social .soc svg {
  width: 19px;
  height: 19px;
}

.footer-social .soc:hover {
  transform: translateY(-3px);
  filter: brightness(.9);
}

.footer-social .soc-wa {
  background: #25D366;
}

.footer-social .soc-ig {
  background: linear-gradient(135deg, #833AB4, #FD1D1D 55%, #FCAF45);
}

.footer-social .soc-li {
  background: #0A66C2;
}

.footer-social .soc-yt {
  background: #FF0000;
}

.footer-social .soc-fb {
  background: #1877F2;
}

.footer-copy {
  font-size: 12.5px;
  color: rgba(0, 0, 0, .5);
  margin-right: auto;
  text-align: left;
}

.consultation-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0;
  max-width: calc(100vw - 40px);
  padding: 11px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.18;
  box-shadow: 0 7px 22px rgba(18, 140, 62, .32);
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: gap .18s ease, padding .18s ease, transform .15s ease, background .15s ease, opacity .15s ease, visibility 0s linear .15s;
}

.consultation-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.consultation-cta:hover,
.consultation-cta:focus-visible {
  background: #128C3E;
  gap: 10px;
  padding-right: 15px;
  transform: translateY(-2px);
}

.consultation-label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(6px);
  transition: max-width .22s ease, opacity .16s ease, transform .18s ease;
}

.consultation-cta:hover .consultation-label,
.consultation-cta:focus-visible .consultation-label {
  max-width: 230px;
  opacity: 1;
  transform: translateX(0);
}

.consultation-cta small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 500;
  opacity: .94;
}

.consultation-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #25D366;
  font-size: 18px;
  flex: 0 0 34px;
}

.consultation-wa svg {
  width: 21px;
  height: 21px;
  display: block;
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-col-catalogue {
    justify-self: stretch;
    min-width: 0;
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  /* Stacked single column — no longer pinned right. */
  .footer-col-quick {
    justify-self: stretch;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-catalogue-links {
    grid-template-columns: 1fr;
  }

  .consultation-cta {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }
}

/* ── Simple content pages (about / contact) ─────────────────────────────── */
.content-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 40px;
}

.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 46px 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
  max-width: 640px;
  margin: 0 auto;
}

.brand-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
}

.brand-product-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  background: #fff;
  transition: transform .15s, box-shadow .15s;
}

.brand-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .1);
}

.brand-product-image {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}

.brand-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .28s ease;
}

.brand-product-card:hover .brand-product-image img,
.brand-product-card:focus-visible .brand-product-image img {
  transform: scale(1.12);
}

.brand-product-image span {
  font-size: 40px;
}

.brand-product-card strong {
  font-size: 14px;
  line-height: 1.35;
}

.brand-product-card small {
  color: var(--muted);
  font-size: 12px;
}

/* Full-bleed text banners — rendered in a fixed 15:4 frame. */
.distributor-hero,
.contact-hero,
.brands-hero,
.process-hero {
  width: 100%;
  background: #fff;
}

.distributor-hero img,
.contact-hero img,
.brands-hero img,
.process-hero img {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.about-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.about-card .ac-icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.about-card h3 {
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 6px;
}

.about-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.about-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 30px 0;
}

.about-stat {
  text-align: center;
}

.about-stat .num {
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
}

.about-stat .lbl {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.prose {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.prose h2 {
  color: var(--primary);
  font-size: 20px;
  margin: 26px 0 10px;
}

.prose h3 {
  color: var(--accent);
  font-size: 16px;
  margin: 16px 0 6px;
}

.prose ul {
  margin: 8px 0 14px;
  padding-left: 22px;
}

.prose li {
  margin: 4px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 28px;
}

.contact-info-box {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-info-box .ci-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-box .ci-row:last-child {
  border-bottom: none;
}

.contact-info-box .ci-ic {
  font-size: 20px;
}

.contact-info-box .ci-lbl {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.contact-info-box .ci-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.contact-info-box .ci-val a {
  color: var(--primary);
  text-decoration: none;
}

.contact-form-box {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-form-box label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin: 12px 0 5px;
}

.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
  border-color: var(--primary);
}

.flash-msg {
  background: #f2f2f2;
  border: 1.5px solid var(--green);
  color: #111111;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-weight: 500;
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Admin: Banners ─────────────────────────────────────────────────────── */
.banner-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.banner-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.banner-form input {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 13px;
  font-family: inherit;
}

.banner-form>button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 22px;
  font-weight: 600;
  cursor: pointer;
}

.brand-cms-tabs {
  margin-bottom: 16px;
}

.brand-product-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.brand-product-form input,
.brand-product-form select,
.brand-product-form textarea {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px 11px;
  font: inherit;
}

.brand-product-form .brand-product-active {
  flex-direction: row;
  align-items: center;
  padding-top: 31px;
}

.brand-product-form .brand-product-description {
  grid-column: 1 / -1;
}

.brand-product-form>button {
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 11px 22px;
  font-weight: 600;
  cursor: pointer;
}

.banner-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.banner-item {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

.banner-item.off {
  opacity: .55;
}

.banner-item img {
  width: 140px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #eef1f7;
}

.banner-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.banner-meta strong {
  color: var(--primary);
}

.banner-meta span,
.banner-meta small {
  color: var(--muted);
  font-size: 12.5px;
}

.banner-meta a {
  color: var(--accent);
  font-size: 12px;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.banner-actions {
  display: flex;
  gap: 8px;
}

.banner-actions button {
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}

.banner-actions button.danger {
  color: var(--red);
  border-color: var(--red);
}

/* ── Header login button (guests) ───────────────────────────────────────── */
.hu-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background .15s;
}

.hu-login:hover {
  background: var(--primary-dark);
}

/* ── Showcase homepage theme ────────────────────────────────────────────── */
.showcase-strip {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 56px 20px;
}

.showcase-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .30) 100%);
}

.showcase-strip-inner {
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
}

.showcase-strip h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
}

.showcase-strip h1 span {
  color: var(--primary);
}

.showcase-strip p {
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
  max-width: 560px;
  margin-bottom: 16px;
}

.showcase-cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 10px;
  transition: background .15s;
}

.showcase-cta:hover {
  background: var(--primary-dark);
}

.showcase-cats-wrap {
  padding-bottom: 8px;
}

.showcase-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.showcase-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 14px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all .16s;
  font-family: inherit;
}

.showcase-cat:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 22px rgba(223, 31, 45, .16);
  transform: translateY(-2px);
  background: #fff1f2;
}

.showcase-cat .sc-ic {
  font-size: 30px;
  line-height: 1;
}

.showcase-cat .sc-lbl {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

@media (max-width: 560px) {
  .showcase-strip {
    padding: 40px 16px;
  }

  .showcase-strip h1 {
    font-size: 26px;
  }

  .showcase-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* ── Admin: per-product editor (stock + pricing + categories) ───────────── */
.prod-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px 16px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, #fafafa, #f4f4f5);
  box-shadow: inset 0 1px 0 #fff;
}

.prod-filter label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .3px;
}

.prod-filter input {
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
}

.prod-filter input:focus {
  outline: none;
  border-color: var(--primary);
}

.prod-filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prod-filter-actions button {
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 9px;
  font-weight: 700;
  padding: 9px 20px;
  cursor: pointer;
}

.prod-filter-search {
  flex: 1 1 220px;
}

.prod-filter-search input {
  width: 100%;
}

.prod-filter select {
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
}

.prod-filter select:focus {
  outline: none;
  border-color: var(--primary);
}

.prod-range {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 210px;
}

.prod-range-head {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .3px;
}

.prod-range-head em {
  font-style: normal;
  color: var(--primary);
}

.prod-range-track {
  position: relative;
  height: 26px;
  --lo: 0%;
  --hi: 100%;
}

/* Active-range fill between the two thumbs. */
.prod-range-track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 4px;
  background: var(--border);
  border-radius: 3px;
}

.prod-range-track::after {
  content: '';
  position: absolute;
  top: 11px;
  height: 4px;
  left: var(--lo);
  right: calc(100% - var(--hi));
  background: var(--primary);
  border-radius: 3px;
}

.prod-range-track input[type="range"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  margin: 0;
  height: 26px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.prod-range-track input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  border-radius: 3px;
}

.prod-range-track input[type="range"]::-moz-range-track {
  height: 4px;
  background: transparent;
  border-radius: 3px;
}

.prod-range-track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  cursor: pointer;
  margin-top: -6px;
  transition: transform .12s ease;
}

.prod-range-track input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.prod-range-track input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  cursor: pointer;
}

.prod-range-nums {
  display: flex;
  align-items: center;
  gap: 6px;
}

.prod-range-nums input {
  width: 72px;
  padding: 6px 8px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
}

.prod-range-nums input:focus {
  outline: none;
  border-color: var(--primary);
}

.prod-range-nums span {
  color: var(--muted);
  font-weight: 600;
}

.prod-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-weight: 600;
  color: var(--muted);
}

.prod-pager a {
  color: var(--primary);
  text-decoration: none;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 8px 16px;
}

.prod-pager a:hover {
  border-color: var(--primary);
}

.prod-edit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prod-edit {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.prod-edit[open] {
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(168, 15, 27, .10);
}

.prod-edit:hover {
  border-color: var(--primary);
}

/* Compact one-line summary; expands to the edit form on click. */
.pe-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background .15s ease;
}

.pe-summary::-webkit-details-marker {
  display: none;
}

.pe-summary:hover {
  background: #fafafa;
}

.pe-summary img,
.pe-noimg {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.pe-summary-thumb {
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
  transform-origin: left center;
  z-index: 2;
}

.pe-summary-thumb:hover,
.pe-summary-thumb:focus-visible {
  transform: scale(8);
  z-index: 30;
  background: transparent;
  border-color: transparent;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
  outline: none;
}

.prod-edit:has(.pe-summary-thumb:hover),
.prod-edit:has(.pe-summary-thumb:focus-visible) {
  overflow: visible;
  position: relative;
  z-index: 20;
}

.pe-summary-id {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pe-summary-id strong {
  color: var(--primary);
  font-size: 14px;
}

.pe-summary-name {
  color: var(--muted);
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
}

.pe-summary-meta {
  display: flex;
  gap: 6px;
  margin-left: auto;
  flex-wrap: wrap;
}

.pe-chip {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  background: #f1f1f1;
  color: var(--muted);
  white-space: nowrap;
}

.pe-chip.is-on {
  background: #e7f6ec;
  color: #128c3e;
}

.pe-chip.is-off {
  background: #fde8e8;
  color: var(--primary);
}

.pe-chip.is-out {
  background: #fff3cd;
  color: #8a6d00;
}

.pe-summary-edit {
  font-weight: 600;
  color: var(--primary);
  font-size: 12px;
  white-space: nowrap;
  transition: transform .2s ease;
}

.prod-edit[open] .pe-summary-edit {
  transform: rotate(180deg);
}

.pe-form {
  padding: 4px 14px 14px;
  animation: peReveal .22s ease;
}

@keyframes peReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .pe-summary-name {
    max-width: 130px;
  }
}

.pe-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pe-head img {
  width: 46px;
  height: 46px;
  max-width: 46px;
  max-height: 46px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 3px;
  flex-shrink: 0;
}

.pe-head strong {
  color: var(--primary);
}

.pe-active {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.pe-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #f7f9fb;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.pe-tags strong {
  color: var(--primary);
  margin-right: 2px;
}

.pe-tags label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.pe-tags input {
  accent-color: var(--primary);
}

.pe-fields {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.pe-fields label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .3px;
}

.pe-fields input {
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.pe-fields input:focus {
  outline: none;
  border-color: var(--primary);
}

.pe-fields .pe-yt input {
  font-weight: 500;
}

.pe-image-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pe-image-preview {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 3px;
  flex-shrink: 0;
}

.html-editor {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff
}

.html-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px;
  background: #f5f5f5;
  border-bottom: 1px solid var(--border)
}

.html-editor-toolbar button {
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #fff;
  padding: 6px 9px;
  font: inherit;
  cursor: pointer
}

.html-editor-toolbar button.active {
  background: var(--primary);
  color: #fff
}

.html-editor-visual,
.html-editor-source {
  display: block;
  width: 100%;
  min-height: 250px;
  padding: 16px;
  border: 0;
  outline: 0;
  font: 14px/1.65 inherit
}

.html-editor [hidden] {
  display: none !important
}

.cms-rich-content p {
  margin: 0 0 12px
}

.cms-rich-content ul,
.cms-rich-content ol {
  padding-left: 24px
}

.pe-image-row input[type="file"] {
  flex: 1;
  min-width: 0;
  font-weight: 500;
}

.pe-cats {
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 4px 12px;
  margin-bottom: 10px;
}

.pe-cats>summary {
  font-weight: 600;
  color: var(--primary);
}

.pe-cat-count {
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
}

.pe-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  padding: 12px 2px;
}

.pe-cat-group {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}

.pe-cat-main {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}

.pe-cat-main strong {
  color: var(--text);
}

.pe-cat-sub {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--muted);
  padding-left: 16px;
  margin-top: 5px;
}

.pe-cat-group label input {
  accent-color: var(--primary);
}

.pe-actions {
  text-align: right;
}

.pe-actions button {
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 9px;
  font-weight: 700;
  padding: 9px 20px;
  cursor: pointer;
}

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

  .pe-fields .pe-yt {
    grid-column: 1 / -1;
  }
}

/* ── Admin: category manager ────────────────────────────────────────────── */
.cat-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
  max-width: 900px;
}

.cat-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.cat-form input,
.cat-form select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 14px;
  font-family: inherit;
}

.cat-form input:focus,
.cat-form select:focus {
  outline: none;
  border-color: var(--primary);
}

.cat-form .cat-chk {
  flex-direction: row;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}

.cat-form button {
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 9px;
  font-weight: 700;
  padding: 10px 20px;
  cursor: pointer;
}

.cat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cat-block {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}

.cat-block.is-other {
  border-color: var(--primary);
  background: #fff7f7;
}

.cat-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cat-name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-name code,
.cat-sub-pill code {
  background: #f2f2f2;
  color: var(--muted);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 5px;
}

.cat-tag {
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
}

.cat-del {
  background: #fff;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 12.5px;
  cursor: pointer;
}

.cat-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.cat-subs-empty {
  color: var(--muted);
  font-size: 12.5px;
  font-style: italic;
}

.cat-sub-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f7f7f7;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 500;
}

.cat-sub-del {
  background: none;
  border: 0;
  color: var(--red);
  font-weight: 700;
  cursor: pointer;
  padding: 0 2px;
}

.cat-fixed {
  background: #f2f2f2;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 2px 8px;
  border-radius: 999px;
}

.cat-sub-toggle-form {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cat-sub-pill input[type="checkbox"] {
  accent-color: var(--primary);
  cursor: pointer;
}

.cat-sub-pill {
  cursor: pointer;
}

.cat-sub-pill.off {
  opacity: .5;
  text-decoration: line-through;
}

.cat-sub-position {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.cat-sub-position input {
  width: 52px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 5px;
  font: inherit;
}

.cat-sub-save {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--primary);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

/* ── Quote modal: logged-in account chip (replaces customer-detail fields) ── */
.quote-acct {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff1f2;
  border: 1.5px solid var(--primary);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.quote-acct .qa-ic {
  font-size: 26px;
  line-height: 1;
}

.quote-acct .qa-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.quote-acct .qa-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.quote-acct .qa-sub strong {
  color: var(--primary);
}

/* ── Category catalogue downloads ───────────────────────────────────────── */
.cat-download-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.catalog-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--primary);
  background: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.catalog-actions a:first-child {
  background: var(--primary);
  color: #fff;
}

/* Hide injected desktop report widget. */
.webpkg-desktop-report-box {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DC Homepage (showcase) — modern blue/white layout
   ═══════════════════════════════════════════════════════════════════════════ */
/* dc-section sits on .page divs, so neutralise .page's tall 120px bottom padding. */
.page.dc-section {
  padding-top: 0;
  padding-bottom: 0;
  margin: 28px auto;
}

.dc-section {
  margin: 28px auto;
}

/* Brand catalogue — two seamless rows travelling in opposite directions. */
.dc-brand-catalogue {
  overflow: hidden;
  padding: 42px 0 46px;
  background: #fff;
  border-top: 1px solid #edf0f2;
  border-bottom: 1px solid #edf0f2;
  text-align: center;
}

.dc-brand-catalogue h2 {
  margin: 0;
  color: var(--accent);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(30px, 3vw, 44px);
  font-style: italic;
  line-height: 1.1;
}

.dc-brand-catalogue-rule {
  display: block;
  width: 72px;
  height: 3px;
  margin: 14px auto 25px;
  border-radius: 99px;
  background: var(--primary);
}

.dc-logo-marquees {
  display: grid;
  gap: 24px;
}

.dc-logo-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.dc-logo-track {
  display: flex;
  width: max-content;
  animation: dc-logo-scroll-left 32s linear infinite;
  will-change: transform;
}

.dc-logo-marquee-right .dc-logo-track {
  animation-name: dc-logo-scroll-right;
}

.dc-logo-marquee:hover .dc-logo-track {
  animation-play-state: paused;
}

.dc-logo-group {
  display: flex;
  align-items: center;
}

.dc-logo-item {
  display: grid;
  place-items: center;
  width: clamp(145px, 13vw, 210px);
  height: 82px;
  padding: 12px 25px;
  flex: 0 0 auto;
}

.dc-logo-item img {
  display: block;
  width: 60%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .68;
  transition: filter .2s, opacity .2s, transform .2s;
}

.dc-logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.06);
}

@keyframes dc-logo-scroll-left {
  to {
    transform: translateX(-50%);
  }
}

@keyframes dc-logo-scroll-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dc-logo-track {
    animation-play-state: paused;
  }
}

@media (max-width: 600px) {
  .dc-brand-catalogue {
    padding: 30px 0 32px;
  }

  .dc-brand-catalogue-rule {
    margin-bottom: 18px;
  }

  .dc-logo-marquees {
    gap: 14px;
  }

  .dc-logo-item {
    width: 130px;
    height: 70px;
    padding: 10px 18px;
  }
}

.dc-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dc-sec-head h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}

.dc-sec-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.dc-sec-link:hover {
  color: var(--primary-dark);
}

/* Hero — full-bleed edge-to-edge banner image */
/* 100vw counts the scrollbar, so it overflows on mobile — go full-bleed off the
   parent's width instead. */
.dc-hero-banner {
  width: auto;
  margin-left: -20px;
  margin-right: -20px;
  line-height: 0;
  background: #eaf3fb;
}

.dc-hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero (legacy split layout, kept for fallback) */
.dc-hero {
  background: linear-gradient(120deg, #eef6fc 0%, #f7fbfe 60%, #ffffff 100%);
}

.dc-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 40px 20px;
}

.dc-hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--primary-dark);
}

.dc-hero-text h1 {
  font-size: 44px;
  line-height: 1.05;
  font-weight: 700;
  color: var(--accent);
  margin: 10px 0 14px;
}

.dc-hero-text h1 span {
  color: var(--primary);
}

.dc-hero-text>p {
  font-size: 16px;
  color: #555;
  max-width: 460px;
  margin: 0 0 20px;
}

.dc-hero-feats {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.dc-feat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dc-feat-ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #e6f2fb;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.dc-feat strong {
  display: block;
  font-size: 14px;
  color: var(--accent);
}

.dc-feat small {
  color: #777;
  font-size: 12px;
}

.dc-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.dc-btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: .15s;
}

.dc-btn-primary {
  background: var(--primary);
  color: #fff;
}

.dc-btn-primary:hover {
  background: var(--primary-dark);
}

.dc-btn-ghost {
  color: var(--primary-dark);
}

.dc-btn-ghost:hover {
  color: var(--primary);
}

.dc-hero-media {
  height: 340px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 36px rgba(11, 58, 87, .15);
}

/* Category tiles */
.dc-cat-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}

.dc-cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  transition: .15s;
}

.dc-cat-tile:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 22px rgba(46, 159, 214, .18);
  transform: translateY(-3px);
}

.dc-cat-ic {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  font-size: 30px;
}

.dc-cat-ic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dc-cat-lbl {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
}

/* Promo band */
.dc-promo {
  max-width: 1180px;
  margin: 36px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(120deg, #eef6fc, #f7fbfe);
}

.dc-promo-text {
  padding: 36px 34px;
}

.dc-promo-text h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 18px;
}

.dc-promo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.dc-promo-list li {
  font-size: 14px;
  color: #444;
  padding-left: 24px;
  position: relative;
}

.dc-promo-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.dc-promo-media {
  background-size: cover;
  background-position: center;
  min-height: 230px;
}

/* Occasions */
.dc-occ-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.dc-occ-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  transition: .15s;
}

.dc-occ-tile:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 22px rgba(46, 159, 214, .18);
  transform: translateY(-3px);
}

.dc-occ-ic {
  font-size: 30px;
}

.dc-occ-lbl {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
}

/* Brand strip */
.dc-trust-head {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Continuous marquee. The track holds two identical groups and scrolls exactly
   one group's width (-50%), so the loop restarts on a seamless frame. Edges are
   feathered with a mask so chips fade in/out instead of clipping abruptly. */
.dc-brand-strip {
  background: #f4f8fb;
  border-radius: 14px;
  padding: 22px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.dc-brand-track {
  display: flex;
  width: max-content;
  animation: dc-brand-scroll 28s linear infinite;
}

.dc-brand-strip:hover .dc-brand-track {
  animation-play-state: paused;
}

.dc-brand-group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}

.dc-brand-chip {
  font-size: 18px;
  font-weight: 600;
  color: #9aa7b2;
  letter-spacing: .5px;
  white-space: nowrap;
}

@keyframes dc-brand-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Respect users who ask for reduced motion — show a static, centred row. */
@media (prefers-reduced-motion: reduce) {
  .dc-brand-track {
    animation: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .dc-brand-group[aria-hidden="true"] {
    display: none;
  }

  .dc-brand-group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    padding-right: 0;
  }
}

/* Trust bar */
.dc-trustbar {
  background: var(--accent);
  color: #fff;
}

.dc-trustbar {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 22px 20px;
  margin-top: 36px;
}

.dc-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dc-trust-ic {
  font-size: 24px;
}

.dc-trust-item strong {
  display: block;
  font-size: 15px;
}

.dc-trust-item small {
  color: rgba(255, 255, 255, .75);
  font-size: 12px;
}

@media (max-width: 900px) {

  .dc-hero-inner,
  .dc-promo {
    grid-template-columns: 1fr;
  }

  .dc-hero-media {
    height: 220px;
    order: -1;
  }

  .dc-hero-text h1 {
    font-size: 34px;
  }

  .dc-cat-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .dc-occ-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .dc-promo-list {
    grid-template-columns: 1fr;
  }

  .dc-trustbar {
    gap: 24px;
  }
}

@media (max-width: 520px) {

  .dc-cat-row,
  .dc-occ-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── In the Spotlight ─────────────────────────────────────────────────────── */
.spotlight-section {
  margin-top: 34px;
}

.spotlight-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 18px 34px;
  margin-bottom: 22px;
}

.spotlight-title {
  font-size: 30px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  letter-spacing: -.5px;
}

.spotlight-tabs {
  display: flex;
  gap: 30px;
}

.spot-tab {
  background: none;
  border: 0;
  padding: 0 0 4px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color .15s;
}

.spot-tab:hover {
  color: var(--text);
}

.spot-tab.active {
  color: var(--text);
  border-bottom-color: var(--primary);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.spot-card {
  background: #f6f6f6;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}

.spot-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.spot-card.inactive {
  opacity: .7;
}

.spot-card-img {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #ececec;
  overflow: hidden;
}

.spot-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.spot-card:hover .spot-card-img img,
.spot-card:focus-within .spot-card-img img {
  transform: scale(1.12);
}

.spot-card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .18s, transform .18s;
}

.spot-card:hover .spot-card-actions {
  opacity: 1;
  transform: none;
}

.spot-act {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
  transition: background .15s;
}

.spot-act:hover {
  background: var(--primary-dark);
}

.spot-card-body {
  padding: 16px 14px 20px;
}

.spot-card-cat {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .3px;
  text-transform: uppercase;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spot-card-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  line-height: 1.3;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spot-card-name:hover {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .spotlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 760px) {
  .spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .spotlight-title {
    font-size: 24px;
  }

  .spot-tab {
    font-size: 15px;
  }

  .spot-card-actions {
    opacity: 1;
    transform: none;
  }

  .spot-card-name {
    font-size: 15px;
  }
}

/* ── Different Concepts showcase refresh ─────────────────────────────────── */
body {
  background:
    radial-gradient(circle at 18% 0, rgba(0, 119, 204, .06), transparent 34%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 36%, #f8fbff 100%);
  color: #071b3a;
}

.header {
  height: 84px;
  padding: 12px 30px;
  display: grid;
  grid-template-columns: minmax(235px, 1fr) minmax(300px, 670px) minmax(360px, 1fr);
  gap: 24px;
  align-items: center;
  box-shadow: 0 4px 22px rgba(20, 74, 120, .08);
  border-bottom: 1px solid #e7f1fb;
}

.logo {
  min-width: 0;
}

.brand-logo-img {
  height: 56px;
  max-width: 250px;
}

.logo-sub {
  font-size: 14px;
  color: #6b7892;
  font-weight: 500;
}

.header-search {
  position: relative;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 620px;
}

.header .logo {
  flex: 0 0 auto;
}

.header-right {
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-search input {
  width: 100%;
  height: 46px;
  border: 1px solid #cfe0f2;
  border-radius: 10px;
  background: #fff;
  color: #0a2145;
  font: inherit;
  font-size: 15px;
  padding: 0 52px 0 20px;
  box-shadow: 0 8px 24px rgba(11, 79, 145, .05);
  outline: none;
}

.header-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 119, 204, .1);
}

.header-search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 29px;
  line-height: 1;
  font-weight: 600;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.header-search-icon:hover {
  color: var(--primary-dark);
}

.header-right {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    "whatsapp user"
    "meta meta";
  justify-content: end;
  gap: 8px 12px;
}

.header-contact {
  display: contents;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.header-contact .header-whatsapp {
  grid-area: whatsapp;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: #eefbf4;
  border: 1px solid #d2f0df;
  color: #159947;
  box-shadow: 0 7px 18px rgba(20, 160, 75, .08);
  text-decoration: none;
  font-weight: 600;
}

.header-contact .header-whatsapp:hover {
  color: #0e7936;
  background: #e3f8ed;
}

.header-contact-line {
  grid-area: meta;
  display: inline-flex;
  justify-content: flex-end;
  gap: 24px;
  color: var(--primary);
  white-space: nowrap;
}

.header-contact-line a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.header-contact-only {
  display: none;
}

.header-user {
  grid-area: user;
}

.hu-login,
.hu-logout {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  border: 1px solid #cfe0f2;
  background: #eff7ff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  padding: 0 18px;
  text-decoration: none;
}

.hu-login:hover,
.hu-logout:hover {
  background: var(--primary);
  color: #fff;
}

.meganav {
  top: 84px;
  background: linear-gradient(90deg, #0476c8, #0084df);
  box-shadow: 0 6px 18px rgba(0, 91, 165, .22);
}

.meganav-inner {
  min-height: 54px;
  padding: 0 30px;
  align-items: center;
  gap: 18px;
}

.mn-link {
  font-size: 15px;
  font-weight: 600;
  padding: 16px 0;
  gap: 7px;
  color: #fff;
}

.mn-link:hover,
.mn-item.open>.mn-link,
.mn-link.active {
  background: transparent;
  color: #eaf6ff;
}

.mn-link.active {
  box-shadow: inset 0 -3px 0 #fff;
}

.mn-clearance-link {
  color: #fff4a8;
  font-weight: 700;
}

.mn-clearance-link:hover,
.mn-clearance-link.active {
  color: #fff;
}

.mn-drop {
  background: #006fbd;
  border-radius: 0 0 12px 12px;
}

.mn-mega {
  background: linear-gradient(110deg, #0b3a57, #0279c9 70%, #1ba3ea 100%);
}

.mn-cart {
  margin-left: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  color: #fff;
}

.mn-cart-icon {
  font-size: 25px;
  line-height: 1;
}

.mn-cart-count {
  position: absolute;
  right: 0;
  top: 5px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f5c24b;
  color: #08315a;
  font-size: 11px;
  font-weight: 700;
}

.page {
  max-width: 1480px;
  padding: 32px 30px 90px;
}

.page.dc-section {
  margin: 30px auto 44px;
  padding-left: 30px;
  padding-right: 30px;
}

.dc-sec-head,
.spotlight-head,
.sec-head {
  margin-bottom: 26px;
}

.dc-sec-head h2,
.spotlight-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #071b3a;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: 0;
}

.dc-sec-head h2::before,
.spotlight-title::before {
  content: "";
  width: 5px;
  height: 29px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 119, 204, .08);
}

.dc-sec-link {
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
}

.dc-cat-row {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 22px;
}

.dc-cat-tile {
  position: relative;
  min-height: 190px;
  padding: 18px 14px;
  border-radius: 12px;
  border: 1px solid #e0e8f2;
  background: #fff;
  box-shadow: 0 8px 22px rgba(2, 60, 110, .1);
}

.dc-cat-ic {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e9f6ff, #f4efff);
  overflow: hidden;
}

.dc-cat-ic img {
  width: 92%;
  height: 92%;
}

.dc-cat-lbl {
  color: #071b3a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.budget-chooser {
  display: grid;
  grid-template-columns: minmax(245px, 1.1fr) minmax(360px, 1.4fr) minmax(360px, 1.3fr);
  gap: 26px;
  align-items: center;
  padding: 20px 28px;
  margin: 16px 0 32px;
  border-radius: 10px;
  border: 1px solid #cfe0f2;
  background: linear-gradient(120deg, #f5faff, #fff);
  box-shadow: 0 8px 24px rgba(5, 75, 140, .06);
}

.bc-intro {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bc-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef7ff;
  color: var(--primary);
  font-size: 24px;
  box-shadow: 0 8px 18px rgba(0, 119, 204, .11);
}

.bc-title {
  margin: 0;
  color: #071b3a;
  font-size: 19px;
  font-weight: 700;
}

.bc-subtitle {
  color: #56657e;
  font-size: 15px;
  font-weight: 500;
  margin-top: 4px;
}

.bc-minmax {
  margin: 0;
  gap: 28px;
  align-items: end;
}

.bc-minmax label {
  color: #4e5e78;
  font-size: 13px;
  font-weight: 600;
}

.bc-minmax input {
  width: 150px;
  height: 42px;
  border: 1px solid #cfe0f2;
  border-radius: 7px;
  color: #071b3a;
}

.bc-apply {
  height: 42px;
  min-width: 88px;
  border-radius: 9px;
  background: linear-gradient(180deg, #008be5, #0074c6);
  box-shadow: 0 8px 16px rgba(0, 119, 204, .18);
}

.bc-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left: 1px solid #d8e6f4;
}

.bc-benefits span {
  min-height: 46px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-right: 1px solid #d8e6f4;
  color: var(--primary);
  font-size: 25px;
}

.bc-benefits strong,
.bc-benefits small {
  grid-column: 2;
  color: #071b3a;
  line-height: 1.1;
}

.bc-benefits strong {
  font-size: 13px;
  font-weight: 700;
}

.bc-benefits small {
  font-size: 12px;
  font-weight: 600;
}

.spotlight-section {
  margin-top: 30px;
}

.spotlight-head {
  gap: 34px;
}

.spotlight-title::before {
  content: "✦";
  width: auto;
  height: auto;
  background: transparent;
  box-shadow: none;
  color: var(--primary);
  font-size: 31px;
}

.spotlight-tabs {
  gap: 34px;
}

.spot-tab {
  color: #536078;
  font-size: 16px;
  font-weight: 600;
}

.spot-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.spotlight-grid {
  gap: 22px;
}

.spot-card {
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(2, 60, 110, .09);
  overflow: hidden;
}

.spot-card-img {
  aspect-ratio: 1.38 / 1;
  background: linear-gradient(135deg, #e9f6ff, #fff);
}

.spot-card-img img {
  object-fit: contain;
  padding: 12px;
  background: linear-gradient(135deg, #f3f9ff, #ffffff);
}

.spot-card-body {
  padding: 13px 14px 16px;
}

.spot-card-cat {
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
}

.spot-card-name {
  color: #071b3a;
  font-size: 15px;
  font-weight: 700;
}

.latest-products-section {
  margin-top: 34px;
}

.sec-head {
  color: #071b3a;
  font-size: 22px;
  font-weight: 700;
}

.sec-head::after {
  background: #e1ebf6;
}

.view-more-products {
  color: var(--primary);
  font-weight: 700;
}

.pcard {
  border-color: #e0e8f2;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(2, 60, 110, .06);
}

.pcard-img {
  background: #f6faff;
}

.pcard-img img {
  background: #fff;
}

.pbadge-50 {
  background: #eef7ff;
  color: var(--primary);
}

.pbadge-100 {
  background: #f3f7fb;
  color: #071b3a;
}

.add-btn,
.cart-bar,
.modal-head {
  background: var(--primary);
}

@media (max-width: 1180px) {
  .header {
    grid-template-columns: 220px 1fr;
    height: auto;
  }

  .header-search {
    order: 3;
    grid-column: 1 / -1;
  }

  .header-right {
    grid-column: 2;
  }

  .meganav {
    top: 122px;
  }

  .dc-cat-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .budget-chooser {
    grid-template-columns: 1fr;
  }

  .bc-benefits {
    border-left: 0;
  }
}

@media (max-width: 800px) {
  .header {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    padding: 10px 14px;
  }

  .header-search {
    flex: 1 1 100%;
    order: 4;
  }

  .header-right {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .header-contact,
  .header-contact .header-whatsapp {
    display: inline-flex;
  }

  .header-contact-line {
    display: none;
  }

  .meganav {
    top: 112px;
  }

  .meganav-inner {
    padding: 4px 0 12px;
    gap: 0;
  }

  .mn-link {
    padding: 12px 18px;
  }

  .mn-cart {
    margin: 8px 16px;
    justify-content: flex-start;
  }

  .page,
  .page.dc-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .dc-cat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .dc-cat-tile {
    min-height: 170px;
  }

  .bc-minmax {
    gap: 12px;
  }

  .bc-benefits {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bc-benefits span {
    border-right: 0;
    justify-content: start;
    padding: 8px 0;
  }
}

@media (max-width: 520px) {
  .brand-logo-img {
    height: 42px;
    max-width: 180px;
  }

  .header-clearance,
  .header-contact .header-whatsapp,
  .hu-login,
  .hu-logout {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }

  .header-search input {
    height: 40px;
    font-size: 14px;
  }

  .meganav {
    top: 104px;
  }

  .dc-sec-head h2,
  .spotlight-title {
    font-size: 23px;
  }

  .dc-cat-ic {
    width: 88px;
    height: 88px;
  }

  .dc-cat-lbl {
    font-size: 14px;
  }

  .budget-chooser {
    padding: 16px;
  }

  .bc-minmax input {
    width: 100%;
  }

  .bc-minmax label {
    flex: 1 1 120px;
  }
}

/* Final header/nav correction: closer to the supplied Different Concepts ref. */
.header {
  height: 96px;
  padding: 10px 34px;
  grid-template-columns: 340px minmax(360px, 1fr) auto;
  gap: 20px;
  overflow: visible;
  align-items: center;
}

.logo {
  gap: 12px;
  align-items: center;
}

.logo .brand-logo-img {
  width: 104px;
  height: 76px;
  max-width: 104px;
  border-radius: 8px;
  background: #f4f9ff;
  object-fit: contain;
}

.logo-title {
  color: #0d2347;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
}

.logo-sub {
  margin-top: 4px;
  color: #65738e;
  font-size: 16px;
  font-weight: 600;
}

.header-search input {
  height: 42px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: none;
}

.header-search-icon {
  font-size: 23px;
  right: 16px;
}

.header-right {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
}

/* Quote cart sits in the header next to Login / Profile. */
.header-right .mn-cart {
  color: #0d2347;
  text-decoration: none;
  min-width: 42px;
  min-height: 40px;
  margin-left: 0;
  order: 3;
}

.header-clearance,
.header-contact .header-whatsapp,
.hu-login,
.hu-logout {
  min-height: 40px;
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.header-clearance {
  min-width: 162px;
  justify-content: center;
}

.header-contact .header-whatsapp {
  min-width: 162px;
  justify-content: center;
  gap: 8px;
}

.header-contact .header-whatsapp span {
  display: inline;
  white-space: nowrap;
}

.header-whatsapp svg {
  width: 21px;
  height: 21px;
}

.hu-login {
  min-width: 104px;
  justify-content: center;
}

.header-contact-line {
  gap: 22px;
  font-size: 13px;
  line-height: 1.2;
  padding-top: 2px;
}

.meganav {
  top: 96px;
}

.meganav-inner {
  min-height: 50px;
  padding: 0 38px;
  gap: 28px;
}

.mn-link {
  font-size: 14px;
  line-height: 1;
  padding: 17px 0;
  gap: 5px;
}

.mn-link .caret {
  font-size: 16px;
}

.mn-cart {
  min-width: 34px;
  min-height: 34px;
}

.mn-cart-icon {
  font-size: 22px;
}

.mn-cart-count {
  top: 1px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  font-size: 10px;
}

.page.dc-section {
  margin-top: 36px;
}

@media (max-width: 1320px) {
  .header {
    grid-template-columns: 300px minmax(320px, 1fr) auto;
    padding: 12px 22px;
  }

  .meganav-inner {
    padding: 0 22px;
    gap: 18px;
  }

  .mn-link {
    font-size: 13px;
  }

  .header-clearance,
  .header-contact .header-whatsapp,
  .hu-login,
  .hu-logout {
    padding: 0 12px;
    min-width: auto;
  }
}

@media (max-width: 980px) {
  .header {
    height: auto;
    grid-template-columns: 1fr auto;
  }

  .header-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .meganav {
    top: 126px;
  }
}

@media (max-width: 800px) {
  .header {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: 46px 38px;
    gap: 8px;
    padding: 6px 10px;
  }

  .logo {
    width: 72px;
    height: 46px;
    overflow: hidden;
  }

  .logo .brand-logo-img {
    width: 72px;
    height: 46px;
    max-width: 72px;
  }

  .header-right {
    width: 100%;
    min-width: 0;
    margin: 0;
    gap: 3px;
    flex-wrap: nowrap;
  }

  .header-contact {
    min-width: 0;
  }

  .header-contact .header-whatsapp,
  .hu-login,
  .hu-logout {
    min-width: 0;
    height: 34px;
    min-height: 34px;
    padding: 0 7px;
    font-size: 11px;
  }

  .header-whatsapp svg {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .header-right .mn-cart {
    min-width: 30px;
    min-height: 34px;
  }

  .mn-cart-icon {
    font-size: 20px;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .header-search input {
    height: 38px;
    font-size: 13px;
    padding-left: 14px;
  }

  .header-search-icon {
    right: 8px;
    font-size: 23px;
  }

  .logo-title {
    font-size: 14px;
  }

  .logo-sub {
    font-size: 12px;
  }

  .meganav {
    top: 104px;
  }

  .nav-toggle {
    min-height: 44px;
  }

  .page.dc-section {
    margin-top: 22px;
  }

  .dc-sec-head {
    align-items: flex-start;
    gap: 5px 12px;
    flex-wrap: wrap;
  }

  .dc-sec-head h2 {
    font-size: 22px;
  }

  .dc-sec-link {
    margin-left: auto;
    font-size: 13px;
  }
}

/* Bulk product actions */
.bulk-delete {
  background: #b42318 !important;
  border-color: #b42318 !important;
  color: #fff !important
}

.bulk-delete:hover {
  background: #8f1c13 !important
}

.bulk-deactivate {
  background: #f4c542 !important;
  border-color: #d6a900 !important;
  color: #332600 !important
}

.bulk-deactivate:hover {
  background: #ddb124 !important
}

.footer-newsletter form {
  display: flex;
  gap: 0
}

.footer-newsletter input {
  min-width: 0;
  flex: 1;
  padding: 11px;
  border: 1px solid #bbb
}

.footer-newsletter button {
  padding: 11px 14px;
  border: 1px solid #111;
  background: #111;
  color: #fff
}

.footer-newsletter small {
  display: block;
  margin-top: 8px
}

.sku-bulk-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 18px;
  margin: 0 0 20px;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  background: #f8f9fb
}

.sku-bulk-bar strong {
  margin-right: 6px
}

.sku-bulk-bar button {
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 8px;
  white-space: nowrap
}

@media(max-width:700px) {
  .sku-bulk-bar {
    align-items: stretch
  }

  .sku-bulk-bar strong {
    width: 100%
  }

  .sku-bulk-bar button {
    flex: 1
  }
}