:root {
  --ink: #111b26;
  --muted: #5d6c7e;
  --paper: #f3f6f9;
  --white: #ffffff;
  --red: #d93030;
  --blue: #0b4f8a;
  --navy: #0a1724;
  --turquoise: #13d5de;
  --turquoise-dark: #0795a7;
  --orange: #13d5de;
  --steel: #d9e1ea;
  --green: #16785f;
  --shadow: 0 22px 60px rgba(10, 23, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, var(--paper) 420px),
    var(--paper);
  line-height: 1.5;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(8, 16, 24, 0.86) 0%, rgba(8, 16, 24, 0.62) 42%, rgba(8, 16, 24, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 16, 24, 0.52), rgba(8, 16, 24, 0.06));
}

html[dir="rtl"] .footer span {
  text-align: left;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(310px, 365px) minmax(0, 1fr) max-content;
  align-items: center;
  gap: clamp(14px, 1.7vw, 26px);
  min-height: 104px;
  padding: 12px clamp(18px, 2.4vw, 34px) 12px clamp(10px, 1.2vw, 18px);
  background:
    linear-gradient(90deg, rgba(4, 14, 24, 0.99), rgba(7, 21, 34, 0.98) 58%, rgba(6, 35, 47, 0.98));
  border-bottom: 1px solid rgba(19, 213, 222, 0.18);
  box-shadow: 0 18px 46px rgba(4, 14, 24, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--white);
  overflow: hidden;
}

.brand-logo {
  flex: 0 0 auto;
  width: clamp(126px, 10vw, 148px);
  height: auto;
  max-height: 86px;
  object-fit: contain;
  object-position: center;
  padding: 0;
  border-radius: 5px;
  background: transparent;
  box-shadow: none;
}

.brand span {
  display: grid;
  gap: 6px;
  align-content: center;
  min-width: 0;
  flex: 1 1 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(16px, 1.08vw, 19px);
  line-height: 1.05;
  letter-spacing: 0;
}

.brand small {
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(12px, 0.86vw, 13px);
  line-height: 1.34;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: clamp(8px, 0.8vw, 14px);
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  font-size: clamp(9px, 0.72vw, 11px);
  text-transform: uppercase;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex: 0 0 auto;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--turquoise);
}

.nav-offers-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 0 9px;
  border: 1px solid rgba(255, 122, 24, 0.55);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(229, 51, 45, 0.92), rgba(255, 122, 24, 0.9));
  box-shadow: 0 8px 22px rgba(255, 122, 24, 0.16);
}

.nav .nav-offers-link:hover {
  color: #ffffff;
  border-color: rgba(19, 213, 222, 0.95);
  background: linear-gradient(135deg, var(--turquoise-dark), var(--turquoise));
}

.nav-bestsellers-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 0 9px;
  border: 1px solid rgba(19, 213, 222, 0.55);
  border-radius: 999px;
  color: #06131d;
  background: linear-gradient(135deg, #e7fdff, var(--turquoise));
  box-shadow: 0 8px 22px rgba(19, 213, 222, 0.16);
}

.nav .nav-bestsellers-link:hover {
  color: #06131d;
  border-color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, #ffffff, var(--turquoise));
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.site-header .button,
.site-header .header-cta {
  min-height: 40px;
  padding-inline: 13px;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  background: linear-gradient(135deg, var(--turquoise-dark), var(--turquoise));
  color: var(--white);
}

.supplier-hero-button {
  color: var(--white);
  border-color: rgba(19, 213, 222, 0.9);
  background: rgba(7, 149, 167, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.supplier-hero-button:hover {
  background: linear-gradient(135deg, var(--turquoise-dark), var(--turquoise));
}

.outline-dark {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}

.outline-dark:hover {
  color: var(--white);
  background: var(--navy);
}

.account-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 7px;
  min-width: max-content;
}

.language-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.language-icon-only {
  justify-content: center;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.language-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #c7d0da;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 36%),
    linear-gradient(135deg, #eef8f5, #e9f3fb);
  color: var(--blue);
  box-shadow: inset 0 -8px 16px rgba(23, 105, 170, 0.08);
}

.language-icon-only:hover .language-icon {
  border-color: var(--turquoise);
  color: var(--turquoise-dark);
  box-shadow:
    inset 0 -8px 16px rgba(23, 105, 170, 0.08),
    0 0 0 3px rgba(19, 213, 222, 0.16);
}

.language-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-control select {
  width: auto;
  min-width: 88px;
  min-height: 36px;
  padding: 0 8px;
  border-radius: 7px;
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.header-cart {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #c7d0da;
  border-radius: 6px;
  background: var(--white);
  color: #253444;
  cursor: pointer;
  padding: 0;
}

.header-cart:hover,
.header-cart.has-items {
  border-color: var(--green);
  color: var(--green);
  background: #eef8f5;
}

.header-cart svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-cart span {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
}

.header-loyalty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(19, 213, 222, 0.78);
  border-radius: 7px;
  color: var(--turquoise);
  background: rgba(19, 213, 222, 0.12);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.login-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #c7d0da;
  border-radius: 7px;
  color: var(--white);
  font-weight: 800;
  font: inherit;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.login-link:hover {
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.header-logout {
  min-height: 34px;
  padding-inline: 12px;
  border-radius: 7px;
  font-size: 12px;
  white-space: nowrap;
}

.client-greeting {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  max-width: 126px;
  padding: 0 8px;
  border: 1px solid rgba(19, 213, 222, 0.78);
  border-radius: 6px;
  background: rgba(19, 213, 222, 0.12);
  color: var(--turquoise);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 1;
  transition: opacity 0.8s ease, max-width 0.25s ease, padding 0.25s ease;
}

.client-greeting.fade-out {
  opacity: 0;
}

.client-greeting.compact-account {
  max-width: 105px;
  padding-inline: 7px;
}

.catalog-access-note {
  display: inline-flex;
  align-items: center;
  max-width: 150px;
  color: var(--turquoise);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.login-link svg,
.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
}

.dark-button {
  color: #253444;
  border-color: #c7d0da;
  background: var(--white);
}

.site-header .header-logout {
  color: var(--turquoise);
  border-color: rgba(19, 213, 222, 0.72);
  background: rgba(19, 213, 222, 0.08);
}

.site-header .header-logout:hover {
  color: var(--navy);
  border-color: var(--turquoise);
  background: var(--turquoise);
}

[data-client-only][hidden] {
  display: none !important;
}

[hidden],
[data-guest-only][hidden],
[data-admin-only][hidden],
[data-client-logout][hidden] {
  display: none !important;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 84px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 47%, rgba(11, 79, 138, 0.12), transparent 34%),
    linear-gradient(90deg, rgba(4, 14, 24, 0.92) 0%, rgba(8, 24, 39, 0.62) 44%, rgba(8, 24, 39, 0.1) 100%),
    linear-gradient(0deg, rgba(4, 14, 24, 0.5), rgba(4, 14, 24, 0.04));
}

.hero-content {
  position: relative;
  width: min(820px, 100%);
  padding: clamp(46px, 8vw, 92px) clamp(20px, 5vw, 72px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--turquoise);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 13px;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-article-search {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 10px;
  width: min(680px, 100%);
  margin-top: 28px;
  padding: 10px;
  border: 1px solid rgba(19, 213, 222, 0.34);
  border-radius: 15px;
  background: rgba(4, 14, 24, 0.58);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.hero-article-search-field {
  position: relative;
  display: block;
  margin: 0;
}

.hero-article-search-field span {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--turquoise);
  font-size: 22px;
  font-weight: 900;
  pointer-events: none;
}

.hero-article-search-field input {
  width: 100%;
  min-height: 52px;
  border: 2px solid rgba(19, 213, 222, 0.56);
  border-radius: 11px;
  padding: 0 18px 0 50px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  font-size: 16px;
  font-weight: 800;
}

.hero-article-search-field input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.hero-article-search-field input:focus {
  outline: 3px solid rgba(19, 213, 222, 0.2);
  background: rgba(255, 255, 255, 0.14);
}

.hero-article-search button {
  min-height: 52px;
  border: 0;
  border-radius: 11px;
  padding: 0 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--turquoise-dark), var(--turquoise));
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(19, 213, 222, 0.2);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 680px;
}

.hero-stats span {
  padding: 14px;
  border-left: 3px solid var(--orange);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.82);
}

.hero-stats strong {
  display: block;
  color: var(--white);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  max-width: 100%;
  padding: 0 clamp(18px, 4vw, 56px);
  background: var(--white);
  border-bottom: 1px solid rgba(10, 23, 36, 0.12);
}

.feature-strip article {
  min-height: 110px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 20px 12px;
  background: var(--white);
  text-align: center;
}

.feature-strip span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-strip p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.about-stf {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(26px, 5vw, 70px);
  max-width: 1260px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 82px) clamp(18px, 4vw, 56px) 0;
}

.about-copy {
  padding-top: 22px;
}

.about-copy h2,
.brand-section h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.about-copy p {
  color: var(--muted);
}

.about-visual {
  min-height: 360px;
  display: grid;
  place-items: center;
  border-radius: 2px;
  background:
    linear-gradient(0deg, rgba(10, 23, 36, 0.08), rgba(10, 23, 36, 0.08)),
    linear-gradient(135deg, #d7dee6 0 38%, #f8fafc 38% 47%, #aeb9c6 47% 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.storefront-card {
  width: min(520px, 86%);
  min-height: 120px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 22px;
  border-top: 10px solid var(--turquoise);
  background: linear-gradient(135deg, var(--navy), #12365a);
  color: var(--white);
  text-transform: uppercase;
  box-shadow: 0 20px 46px rgba(10, 23, 36, 0.34);
}

.store-logo-image {
  width: min(330px, 90%);
  height: 130px;
  margin-bottom: 14px;
  object-fit: contain;
  border-radius: 4px;
  background: #20272a;
}

.storefront-card strong {
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.05;
}

.storefront-card small {
  margin-top: 8px;
  color: var(--turquoise);
  font-weight: 900;
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1260px;
  margin: -1px auto 0;
  background: linear-gradient(90deg, var(--navy), #0c2a45);
  color: var(--white);
  box-shadow: var(--shadow);
}

.metrics-band div {
  min-height: 92px;
  display: grid;
  place-items: center;
  align-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.metrics-band strong {
  color: var(--turquoise);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.metrics-band span {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.promo-banner {
  position: relative;
  max-width: 1200px;
  min-height: 360px;
  margin: 30px auto 0;
  border-radius: 8px;
  overflow: hidden;
  background: #111a22;
  box-shadow: var(--shadow);
}

.promo-track {
  position: relative;
  min-height: 360px;
}

.promo-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: clamp(28px, 4vw, 50px);
  color: var(--white);
  opacity: 0;
  transition: opacity 0.55s ease;
}

.promo-slide.active {
  opacity: 1;
}

.promo-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 26, 0.84), rgba(10, 18, 26, 0.42) 58%, rgba(10, 18, 26, 0.12)),
    linear-gradient(0deg, rgba(10, 18, 26, 0.45), rgba(10, 18, 26, 0.06));
}

.promo-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.promo-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 10px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--turquoise-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.promo-offer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 66px;
  margin: 0 0 14px;
  padding: 8px 18px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--turquoise-dark), var(--turquoise));
  box-shadow: 0 18px 38px rgba(19, 213, 222, 0.28);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

.promo-copy h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

.promo-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.35;
  font-weight: 800;
}

.promo-copy a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 18px;
  padding: 0 15px;
  border-radius: 7px;
  background: var(--turquoise-dark);
  color: var(--white);
  font-weight: 900;
}

.promo-dots {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.promo-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.promo-dots button.active {
  background: var(--white);
}

.audiences,
.section,
.import-section,
.supplier-section,
.quote-section,
.footer {
  padding-inline: clamp(18px, 4vw, 56px);
}

.audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 46px auto 0;
  position: relative;
  z-index: 2;
}

.audiences article,
.category,
.supplier-form,
.quote-form {
  background: var(--white);
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.audiences article {
  padding: 26px;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #edf3f8;
  color: var(--blue);
  font-size: 17px;
  font-weight: 900;
}

h2,
h3,
p {
  margin-top: 0;
}

.audiences h2,
.category h3 {
  margin-bottom: 8px;
}

.audiences p,
.category p,
.section-heading p,
.split p,
.quote-copy p,
.footer p {
  color: var(--muted);
}

.client-commerce-hub {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(19, 213, 222, 0.2);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 252, 253, 0.94)),
    var(--white);
  box-shadow: var(--shadow);
}

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

.client-commerce-head h2 {
  margin: 0 0 6px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.client-commerce-head p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.client-commerce-actions button,
.mini-watch-button,
.stock-watch-button {
  min-height: 38px;
  border: 1px solid rgba(19, 213, 222, 0.62);
  border-radius: 8px;
  padding: 0 14px;
  color: #06131d;
  background: linear-gradient(135deg, #e7fdff, var(--turquoise));
  font-weight: 900;
  cursor: pointer;
}

.client-commerce-actions button:last-child {
  color: var(--white);
  border-color: rgba(255, 122, 24, 0.52);
  background: linear-gradient(135deg, #e5332d, #ff7a18);
}

.client-commerce-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.client-commerce-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(10, 23, 36, 0.09);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(10, 23, 36, 0.08);
}

.portal-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 210px;
}

.portal-card-count {
  display: block;
  margin: 8px 0 14px;
  color: var(--turquoise-dark);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
}

.portal-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 40px;
  margin-top: auto;
  padding: 0 16px;
  border: 1px solid rgba(19, 213, 222, 0.65);
  border-radius: 8px;
  color: #06131d;
  background: linear-gradient(135deg, #e7fdff, var(--turquoise));
  font-weight: 900;
  text-decoration: none;
}

.portal-card-button:hover {
  color: #06131d;
  box-shadow: 0 12px 26px rgba(19, 213, 222, 0.2);
}

.client-commerce-card-wide {
  grid-column: 1 / -1;
}

.client-portal-page {
  scroll-margin-top: 128px;
}

.client-portal-page[hidden] {
  display: none;
}

.mini-article-list-page {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-commerce-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.client-commerce-card-title > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--turquoise-dark), var(--turquoise));
  font-weight: 900;
}

.client-commerce-card-title h3 {
  margin: 0 0 2px;
  font-size: 19px;
}

.client-commerce-card-title p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.mini-article-list {
  display: grid;
  gap: 10px;
}

.client-commerce-card-wide .mini-article-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-article-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) minmax(120px, auto);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(10, 23, 36, 0.08);
  border-radius: 9px;
  background: #f8fbfd;
}

.mini-article-photo {
  display: grid;
  place-items: center;
  width: 58px;
  height: 48px;
  overflow: hidden;
  border-radius: 8px;
  background: #edf3f8;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.mini-article-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mini-article-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mini-article-body strong,
.mini-article-body span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-article-body strong {
  font-size: 15px;
}

.mini-article-body span {
  font-size: 13px;
  font-weight: 800;
}

.mini-article-body small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--white);
  background: var(--turquoise-dark);
  font-size: 11px;
  line-height: 1;
}

.mini-article-side {
  display: grid;
  justify-items: end;
  gap: 5px;
  text-align: right;
}

.mini-order-control {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-cart-qty {
  width: 54px;
  min-height: 36px;
  padding: 5px 7px;
  border: 1px solid #c7d0da;
  border-radius: 7px;
  color: var(--ink);
  background: #fbfcfd;
  font-weight: 900;
  text-align: center;
}

.mini-cart-icon {
  width: 40px;
  height: 36px;
}

.client-commerce-card:not(.client-commerce-card-wide) .mini-article-card {
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
}

.client-commerce-card:not(.client-commerce-card-wide) .mini-article-photo {
  width: 50px;
  height: 42px;
}

.client-commerce-card:not(.client-commerce-card-wide) .mini-article-body span {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.18;
}

.client-commerce-card:not(.client-commerce-card-wide) .mini-article-body small {
  flex-wrap: wrap;
  gap: 5px;
  line-height: 1.15;
}

.client-commerce-card:not(.client-commerce-card-wide) .mini-article-side {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: center;
  justify-items: start;
  width: 100%;
  padding-top: 8px;
  border-top: 1px solid rgba(10, 23, 36, 0.08);
  text-align: left;
}

.client-commerce-card:not(.client-commerce-card-wide) .mini-article-side .price-stack,
.client-commerce-card:not(.client-commerce-card-wide) .mini-article-side .discount-price {
  grid-column: 1 / -1;
  max-width: 100%;
}

.client-commerce-card:not(.client-commerce-card-wide) .mini-article-side .quantity-offer-detail {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 7px 9px;
  font-size: 10px;
}

.client-commerce-card:not(.client-commerce-card-wide) .mini-order-control {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  flex-wrap: nowrap;
}

.client-commerce-card:not(.client-commerce-card-wide) .mini-watch-button {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  min-width: 92px;
}

.client-commerce-card:not(.client-commerce-card-wide) .mini-cart-qty {
  width: 48px;
  min-height: 34px;
}

.client-commerce-card:not(.client-commerce-card-wide) .mini-cart-icon {
  width: 36px;
  height: 34px;
}

.mini-stock,
.mini-stock-low {
  font-size: 12px;
  font-weight: 900;
}

.mini-stock {
  color: var(--green);
}

.mini-stock-low,
.low-stock-alert {
  color: #b42318;
}

.mini-empty {
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  color: var(--muted);
  background: #f5f9fc;
  font-weight: 800;
}

.loyalty-points {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
  color: var(--turquoise-dark);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.loyalty-points span {
  color: var(--ink);
  font-size: 16px;
  text-transform: uppercase;
}

.loyalty-points small {
  color: var(--muted);
  font-size: 16px;
}

.loyalty-card p {
  color: var(--muted);
  font-weight: 700;
}

.loyalty-rule {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--turquoise-dark) !important;
  background: rgba(19, 213, 222, 0.1);
}

.loyalty-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6eef4;
}

.loyalty-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--turquoise-dark), var(--turquoise));
}

.loyalty-gift-box {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed rgba(19, 213, 222, 0.55);
  border-radius: 8px;
  background: #f5fdfe;
}

.loyalty-gift-box strong {
  color: var(--ink);
}

.loyalty-gift-box span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.loyalty-history-wrap {
  max-height: 230px;
  margin-top: 14px;
  overflow: auto;
  border: 1px solid #dce3ea;
  border-radius: 8px;
}

.loyalty-history {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 12px;
}

.loyalty-history th,
.loyalty-history td {
  padding: 9px 10px;
  border-bottom: 1px solid #e4ebf1;
  text-align: left;
}

.loyalty-history th {
  color: #334252;
  background: #edf3f7;
  font-size: 11px;
  text-transform: uppercase;
}

.nav-gifts-link {
  color: var(--turquoise) !important;
}

.loyalty-catalog-section {
  scroll-margin-top: 128px;
}

.loyalty-catalog-head {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.loyalty-balance-panel {
  display: grid;
  gap: 5px;
  min-width: min(100%, 270px);
  padding: 16px 18px;
  border: 1px solid rgba(19, 213, 222, 0.35);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(19, 213, 222, 0.12), rgba(255, 255, 255, 0.94));
}

.loyalty-balance-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.loyalty-balance-panel strong {
  color: var(--turquoise-dark);
  font-size: 30px;
  line-height: 1;
}

.loyalty-balance-panel small {
  color: var(--muted);
  font-weight: 800;
}

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

.gift-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(6, 19, 33, 0.09);
}

.gift-card img {
  width: 100%;
  height: 138px;
  object-fit: contain;
  border: 1px solid #e0e8ef;
  border-radius: 8px;
  background: #f5f9fc;
}

.gift-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.gift-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.gift-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gift-card-meta span,
.gift-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef7f8;
  color: var(--turquoise-dark);
  font-size: 12px;
  font-weight: 900;
}

.gift-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gift-card-actions small {
  color: var(--muted);
  font-weight: 800;
}

.gift-redeem-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  filter: grayscale(0.4);
}

.gift-history-panel {
  margin-top: 22px;
}

.gift-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--turquoise);
  border-radius: 8px;
  color: var(--turquoise-dark);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
}

.low-stock-alert {
  display: block;
  width: 100%;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.stock-watch-button {
  min-width: 128px;
  color: var(--turquoise-dark);
  background: var(--white);
}

.company-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 52px);
  max-width: 1200px;
  margin: 28px auto 0;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(10, 23, 36, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 23, 36, 0.96), rgba(11, 79, 138, 0.92)),
    var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.company-strip h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.08;
}

.company-strip p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
}

.brand-section {
  max-width: 1200px;
  margin: 34px auto 0;
  padding: clamp(28px, 5vw, 44px) clamp(18px, 4vw, 56px);
  background: var(--white);
  border: 1px solid rgba(10, 23, 36, 0.08);
  border-radius: 2px;
  text-align: center;
  box-shadow: var(--shadow);
}

.brand-section h2 {
  max-width: 760px;
  margin-inline: auto;
}

.brand-grid {
  display: block;
  margin: 26px 0 22px;
  overflow: hidden;
}

.brand-grid span,
.brand-family-card {
  display: grid;
  place-items: center;
  min-height: 118px;
  border: 1px solid #e1e7ed;
  background: #fbfcfd;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
}

.brand-family-card {
  flex: 0 0 174px;
  min-height: 104px;
  padding: 14px 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.brand-family-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 79, 138, 0.35);
  box-shadow: 0 16px 34px rgba(10, 23, 36, 0.11);
}

.brand-family-card img {
  width: 100%;
  height: 70px;
  object-fit: contain;
}

.brand-logo-marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brand-logo-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: familyLogoScroll var(--logo-scroll-duration, 44s) linear infinite;
}

.brand-logo-marquee:hover .brand-logo-track {
  animation-play-state: paused;
}

@keyframes familyLogoScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.brand-family-card strong {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #edf3f8;
  color: var(--blue);
  font-size: 18px;
}

.brand-family-card span {
  min-height: auto;
  border: 0;
  background: transparent;
  font-size: 13px;
  line-height: 1.15;
}

.brand-family-card small {
  color: var(--muted);
  font-weight: 800;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 92px;
}

.import-section {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 92px;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 30px;
}

.section-heading h2,
.split h2,
.quote-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.import-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.import-drop,
.catalog-preview {
  background: var(--white);
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.import-drop {
  padding: clamp(22px, 4vw, 34px);
}

.import-drop svg {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.import-drop h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.import-drop p {
  color: var(--muted);
}

.import-drop input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.sql-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 8px;
}

.file-button,
.template-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 8px 8px 0 0;
  padding: 0 16px;
  border-radius: 7px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.file-button {
  color: var(--white);
  background: var(--blue);
}

.template-button {
  color: var(--blue);
  border: 1px solid var(--blue);
  background: #f4f9fd;
}

.import-note {
  min-height: 22px;
  margin: 16px 0 0;
  font-weight: 800;
}

.import-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.import-summary div {
  display: grid;
  align-content: center;
  min-height: 110px;
  padding: 22px;
  background: #182530;
  color: var(--white);
  border-radius: 8px;
}

.import-summary strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.import-summary span {
  color: rgba(255, 255, 255, 0.76);
}

.catalog-preview {
  margin-top: 18px;
  overflow-x: auto;
}

.public-catalog-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 320px);
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #e4e9ef;
  background: var(--white);
}

.client-quick-search-strip {
  position: sticky;
  top: 112px;
  z-index: 9;
  padding: 10px clamp(18px, 4vw, 64px);
  background: rgba(245, 250, 252, 0.96);
  border-bottom: 1px solid rgba(19, 213, 222, 0.22);
  box-shadow: 0 12px 28px rgba(4, 14, 24, 0.08);
  backdrop-filter: blur(10px);
}

.client-quick-search-strip-form,
.client-quick-search-main {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}

.client-quick-search-field {
  position: relative;
  display: block;
  margin: 0;
}

.client-quick-search-field span {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--turquoise-dark);
  font-size: 22px;
  font-weight: 900;
  pointer-events: none;
}

.client-quick-search-field input {
  width: 100%;
  min-height: 54px;
  border: 2px solid rgba(19, 213, 222, 0.58);
  border-radius: 13px;
  padding: 0 18px 0 52px;
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 28px rgba(4, 14, 24, 0.06);
}

.client-quick-search-field input:focus {
  outline: 3px solid rgba(19, 213, 222, 0.18);
  border-color: var(--turquoise);
}

.client-quick-search-strip-form button,
.client-quick-search-main button[type="submit"] {
  min-height: 54px;
  border: 0;
  border-radius: 13px;
  padding: 0 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--turquoise-dark), var(--turquoise));
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(19, 213, 222, 0.2);
}

.quick-search-section {
  padding-top: 44px;
  transition: box-shadow 0.35s ease, outline-color 0.35s ease;
}

.quick-search-section.is-highlighted,
#catalogue.is-highlighted {
  outline: 3px solid rgba(19, 213, 222, 0.5);
  outline-offset: 6px;
  box-shadow: 0 0 0 12px rgba(19, 213, 222, 0.12), 0 24px 60px rgba(4, 14, 24, 0.12);
}

.compact-heading {
  margin-bottom: 18px;
}

.client-quick-search-main {
  max-width: none;
  margin-bottom: 14px;
}

.quick-search-status {
  margin: 10px 0 18px;
  color: var(--muted);
  font-weight: 800;
}

.quick-results-wrap {
  overflow-x: auto;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 18px 52px rgba(4, 14, 24, 0.08);
}

.quick-results-table {
  width: 100%;
  min-width: 1160px;
  border-collapse: collapse;
}

.quick-results-table th,
.quick-results-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #e4e9ef;
  text-align: left;
  vertical-align: middle;
}

.quick-results-table th {
  color: #334252;
  font-size: 12px;
  text-transform: uppercase;
  background: #f0f7f9;
}

.article-family-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 44px;
  border: 1px solid rgba(15, 52, 76, 0.1);
  border-radius: 8px;
  background: #f5f9fb;
  overflow: hidden;
}

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

.article-family-fallback {
  display: inline-flex;
  align-items: center;
  max-width: 180px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.stock-ok,
.stock-ko {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 900;
}

.stock-ok {
  color: #087a63;
  background: rgba(17, 190, 171, 0.14);
}

.stock-ko {
  color: #b14518;
  background: rgba(255, 136, 64, 0.16);
}

.quick-quote-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(19, 213, 222, 0.72);
  border-radius: 9px;
  padding: 0 12px;
  color: var(--turquoise-dark);
  background: rgba(19, 213, 222, 0.08);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.quick-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.catalog-preview table {
  width: 100%;
  min-width: 1100px;
  border-collapse: collapse;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-top: 1px solid #e4e9ef;
  background: #fbfdff;
  font-weight: 900;
}

.catalog-pagination div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.catalog-pagination button {
  min-height: 34px;
  min-width: 36px;
  padding: 0 10px;
  border: 1px solid #c7d0da;
  border-radius: 7px;
  color: var(--ink);
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.catalog-pagination button.active {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

.catalog-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.catalog-preview th,
.catalog-preview td {
  padding: 14px 16px;
  border-bottom: 1px solid #e4e9ef;
  text-align: left;
  vertical-align: middle;
}

.catalog-preview th {
  color: #334252;
  font-size: 13px;
  text-transform: uppercase;
  background: #f0f4f8;
}

.product-reference {
  min-width: 150px;
  white-space: nowrap;
}

.product-reference strong {
  font-size: 15px;
  font-weight: 900;
}

.product-designation {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  color: #172434;
}

.article-photo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 7px;
  overflow: hidden;
  background: #edf3f8;
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
}

.article-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-photo-button {
  border: 0;
  padding: 0;
  cursor: zoom-in;
}

.article-photo-button:hover {
  outline: 3px solid rgba(22, 120, 95, 0.25);
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(8, 16, 24, 0.78);
}

.image-viewer img {
  max-width: min(92vw, 980px);
  max-height: 86vh;
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.image-viewer-close {
  position: absolute;
  top: 20px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.35);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.price-ht {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.price-ht strong {
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}

.price-ht span {
  margin-left: 1px;
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
}

.discount-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.price-stack {
  display: inline-grid;
  gap: 6px;
  align-items: start;
}

.quantity-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  min-height: 22px;
  margin-top: 6px;
  padding: 0 8px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #e5332d, #ff7a18);
  box-shadow: 0 8px 18px rgba(229, 51, 45, 0.2);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-drop-badge {
  background: linear-gradient(135deg, #087b86, #18c7d1);
  box-shadow: 0 8px 20px rgba(24, 199, 209, 0.26);
}

.quantity-down-arrow {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: #ffffff;
  background: #d92525;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.quantity-flame {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  font-size: 14px;
  line-height: 1;
}

.quantity-saving {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 999px;
  color: #08724f;
  background: rgba(225, 249, 241, 0.95);
  font-size: 10px;
  font-weight: 900;
}

.quantity-offer-detail {
  display: grid;
  width: fit-content;
  gap: 5px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 122, 24, 0.35);
  border-radius: 8px;
  color: #8f2b00;
  background: #fff3e4;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  white-space: normal;
}

.price-drop-detail {
  border-color: rgba(24, 199, 209, 0.5);
  color: #005f68;
  background: linear-gradient(180deg, #f0feff, #ffffff);
}

.price-drop-detail strong {
  color: #005f68;
}

.quantity-price-arrow {
  color: #d92525;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.quantity-offer-detail .price-ht {
  color: #c5271f;
}

.quantity-offer-detail .price-ht strong {
  font-size: 17px;
}

.quantity-offer-final .price-ht strong {
  font-size: 20px;
}

.price-drop-detail .quantity-offer-final .price-ht {
  color: #007f72;
}

.price-drop-detail .quantity-offer-final .price-ht strong {
  font-size: 24px;
}

.quantity-offer-old {
  color: var(--red);
}

.quantity-offer-old .price-ht {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #000000;
}

.quantity-offer-old .price-ht strong {
  font-size: 14px;
}

.quantity-offer-old .price-ht span {
  font-size: 10px;
}

.old-price {
  color: var(--red);
}

.old-price .price-ht {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #000000;
}

.old-price .price-ht strong {
  font-size: 15px;
}

.old-price .price-ht span {
  font-size: 11px;
}

.new-price {
  color: var(--green);
}

.discount-badge {
  align-self: center;
  padding: 3px 7px;
  border-radius: 999px;
  color: #08724f;
  background: #e7f7ef;
  font-size: 12px;
  font-weight: 900;
}

.promotion-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 6px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--white);
  background: var(--turquoise-dark);
  font-size: 11px;
  font-weight: 900;
}

.family-promo-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 22px;
  margin: 0 0 7px;
  padding: 0 8px;
  border-radius: 999px;
  color: #052431;
  background: linear-gradient(135deg, #bff9ff, var(--turquoise));
  box-shadow: 0 8px 18px rgba(19, 213, 222, 0.18);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

select option.family-promo-option {
  color: var(--turquoise-dark);
  font-weight: 900;
}

.cart-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--green);
  border-radius: 7px;
  background: #eef8f5;
  color: var(--green);
  cursor: pointer;
}

.catalog-order-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 116px;
}

.catalog-order-qty {
  width: 58px;
  min-height: 38px;
  padding: 6px 8px;
  border: 1px solid #c7d0da;
  border-radius: 7px;
  color: var(--ink);
  background: #fbfcfd;
  font-weight: 900;
  text-align: center;
}

.cart-button:hover {
  background: var(--green);
  color: var(--white);
}

.cart-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
}

.cart-panel {
  margin-top: 18px;
  padding: 20px;
  background: var(--white);
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cart-popover {
  position: fixed;
  top: 82px;
  right: clamp(14px, 4vw, 56px);
  z-index: 30;
  width: min(460px, calc(100vw - 28px));
  max-height: calc(100vh - 105px);
  overflow: auto;
  margin-top: 0;
}

.orders-popover {
  width: min(560px, calc(100vw - 28px));
}

.cart-header,
.cart-footer,
.cart-line,
.cart-controls {
  display: flex;
  align-items: center;
}

.cart-header,
.cart-footer,
.cart-line {
  justify-content: space-between;
  gap: 16px;
}

.cart-header h3 {
  margin: 0;
  font-size: 24px;
}

.cart-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #c7d0da;
  border-radius: 7px;
  background: #f4f9fd;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.cart-lines {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.cart-line {
  padding: 12px 0;
  border-top: 1px solid #e4e9ef;
}

.cart-line span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.cart-line-price {
  color: var(--ink) !important;
  font-weight: 900;
}

.quantity-applied {
  display: inline-flex !important;
  width: fit-content;
  margin-top: 5px;
  padding: 4px 7px;
  border-radius: 999px;
  color: #08724f !important;
  background: #dff8f0;
  font-size: 11px !important;
  font-weight: 900;
}

.print-quantity-note {
  color: #08724f !important;
  background: transparent;
  padding-left: 0;
}

.cart-controls {
  gap: 8px;
  flex-shrink: 0;
}

.cart-controls button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #c7d0da;
  border-radius: 7px;
  background: #f4f9fd;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.cart-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px solid #e4e9ef;
  font-weight: 900;
}

.cart-confirm {
  width: 100%;
  margin-top: 16px;
}

.cart-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--green);
  font-weight: 800;
}

.order-lines {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.order-card {
  padding: 14px;
  border: 1px solid #dbe4ed;
  border-radius: 8px;
  background: #fbfdff;
}

.order-card-head,
.order-items div,
.order-totals span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-card-head strong {
  display: block;
  font-size: 18px;
}

.order-card-head span,
.order-items span {
  color: var(--muted);
  font-size: 13px;
}

.order-status {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef8f5;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.order-items {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e4e9ef;
}

.order-items strong {
  white-space: nowrap;
}

.order-totals {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid #dbe4ed;
}

.order-totals span:last-child {
  color: var(--green);
  font-size: 17px;
  font-weight: 900;
}

.client-orders-page {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  padding: clamp(24px, 5vw, 56px);
  background: #f6f8fa;
}

.client-orders-nav,
.client-orders-history {
  background: var(--white);
  border: 1px solid rgba(22, 32, 42, 0.1);
  box-shadow: 0 8px 26px rgba(20, 35, 50, 0.08);
}

.client-orders-nav {
  align-self: start;
  padding: 28px 26px;
}

.client-orders-nav h2 {
  margin-bottom: 28px;
  font-size: 22px;
}

.client-orders-nav a {
  display: block;
  padding: 11px 0;
  color: #303942;
  font-weight: 700;
}

.client-orders-nav a.active {
  color: var(--blue);
}

.client-orders-history {
  padding: 28px;
}

.client-orders-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.client-orders-title h2 {
  margin: 0;
}

.client-orders-filters {
  display: grid;
  grid-template-columns: minmax(170px, 230px) 150px 150px minmax(260px, 1fr);
  gap: 26px;
  margin-bottom: 20px;
}

.client-order-search {
  position: relative;
  margin: 0;
}

.client-order-search span {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-left: 1px solid #cfd8e2;
  color: #42556a;
  background: #eef3f8;
  font-size: 24px;
}

.client-order-search input {
  padding-right: 54px;
}

.client-orders-table-wrap,
.client-order-detail-table-wrap {
  overflow-x: auto;
}

.client-orders-table,
.client-order-detail-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.client-orders-table th,
.client-orders-table td,
.client-order-detail-table th,
.client-order-detail-table td {
  padding: 13px 14px;
  border: 1px solid #dce3ea;
  text-align: left;
  vertical-align: middle;
}

.client-orders-table th,
.client-order-detail-table th {
  color: #334252;
  font-size: 12px;
  text-transform: uppercase;
  background: #f0f4f8;
}

.client-orders-table tbody tr:nth-child(odd) {
  background: #f1f1f1;
}

.client-orders-table tbody tr:nth-child(even),
.client-order-detail-table tbody tr {
  background: var(--white);
}

.client-order-code {
  border: 0;
  padding: 0;
  color: #004dff;
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.client-order-amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.client-order-yes {
  color: #008000;
  font-weight: 900;
}

.client-order-no {
  color: #ff0000;
  font-weight: 900;
}

.client-orders-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.client-orders-pagination button {
  min-width: 32px;
  height: 32px;
  border: 0;
  border-radius: 4px;
  color: #334252;
  background: #eef1f4;
  font-weight: 900;
}

.client-orders-pagination button.active {
  color: var(--white);
  background: #39b878;
}

.client-order-detail {
  margin-top: 24px;
  padding: 20px;
  border: 2px solid #dce3ea;
  border-radius: 8px;
  background: #fbfdff;
}

.client-order-detail-head,
.client-order-detail-totals span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.client-order-detail-head {
  margin-bottom: 16px;
}

.client-order-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.client-order-detail-head h3 {
  margin: 0 0 4px;
  font-size: 24px;
}

.client-order-detail-head span {
  color: var(--muted);
}

.client-order-detail-close {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #c7d0da;
  border-radius: 7px;
  background: #f4f9fd;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.client-order-detail-totals {
  display: grid;
  gap: 8px;
  max-width: 360px;
  margin: 18px 0 0 auto;
  padding-top: 14px;
  border-top: 2px solid #dce3ea;
}

.client-order-detail-totals span:last-child {
  color: var(--green);
  font-size: 18px;
  font-weight: 900;
}

.category {
  padding: 24px;
}

.category span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 900;
}

.category-photo {
  display: block;
  width: 100%;
  height: 120px;
  margin-bottom: 18px;
  border-radius: 7px;
  object-fit: contain;
  background: #f3f7fb;
  border: 1px solid #e4e9ef;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-list div {
  padding: 22px 0 22px 22px;
  border-left: 4px solid var(--orange);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(10, 23, 36, 0.06);
}

.service-list strong {
  display: block;
  margin-bottom: 8px;
}

.supplier-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  max-width: 1200px;
  margin: 92px auto 0;
}

.supplier-copy {
  padding: clamp(24px, 4vw, 36px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 149, 167, 0.18), rgba(19, 213, 222, 0.04)),
    linear-gradient(135deg, #071624, #0d2b3c);
  box-shadow: var(--shadow);
}

.supplier-copy .eyebrow,
.supplier-copy h2 {
  color: var(--white);
}

.supplier-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.supplier-benefits {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.supplier-benefits span {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.supplier-benefits span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--turquoise);
  box-shadow: 0 0 18px rgba(19, 213, 222, 0.55);
}

.supplier-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
}

.supplier-form h3 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.supplier-form p {
  margin-bottom: 0;
  color: var(--muted);
}

.supplier-form textarea {
  resize: vertical;
  min-height: 112px;
}

.quote-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
  max-width: 1200px;
  margin: 92px auto;
}

.client-access {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: 1200px;
  margin: 92px auto 0;
  padding: 28px clamp(18px, 4vw, 34px);
  background: #ffffff;
  border: 1px solid rgba(22, 32, 42, 0.1);
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.client-access h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
}

.client-access p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.client-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.login-button {
  color: var(--blue);
  border-color: var(--blue);
  background: #f4f9fd;
}

.auth-status {
  margin: 12px 0 0;
  color: var(--green);
  font-weight: 800;
}

.client-locked-panel {
  max-width: 920px;
  margin: 34px auto 0;
  padding: 22px;
  border: 1px solid #dbe4ed;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.client-locked-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.client-locked-panel p {
  margin: 0;
  color: var(--muted);
}

.chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
}

.chatbot-toggle {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 32%),
    linear-gradient(135deg, var(--turquoise-dark), var(--turquoise));
  color: var(--white);
  box-shadow: 0 18px 42px rgba(19, 213, 222, 0.32);
  cursor: pointer;
}

.chatbot-toggle svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: min(380px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid #dbe4ed;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: #182530;
  color: var(--white);
}

.chatbot-header strong,
.chatbot-header span {
  display: block;
}

.chatbot-header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.chatbot-header button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: transparent;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

.chatbot-messages {
  display: grid;
  gap: 10px;
  max-height: 310px;
  min-height: 180px;
  overflow-y: auto;
  padding: 16px;
  background: #f6f8fa;
}

.chat-message {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.chat-message.bot {
  justify-self: start;
  background: var(--white);
  border: 1px solid #dce5ee;
  color: var(--ink);
}

.chat-message.user {
  justify-self: end;
  background: var(--blue);
  color: var(--white);
}

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 0;
}

.chatbot-suggestions button {
  min-height: 32px;
  border: 1px solid #c7d0da;
  border-radius: 999px;
  background: var(--white);
  color: #253444;
  font-weight: 800;
  cursor: pointer;
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  padding: 12px 16px 16px;
}

.chatbot-form input {
  min-height: 44px;
}

.chatbot-form button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: var(--turquoise-dark);
  color: var(--white);
  cursor: pointer;
}

.chatbot-form svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[dir="rtl"] .chatbot {
  right: auto;
  left: 22px;
}

html[dir="rtl"] .chatbot-panel {
  right: auto;
  left: 0;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.document-grid label {
  padding: 14px;
  border: 1px dashed #b9c7d5;
  border-radius: 8px;
  background: #f8fbfd;
}

.document-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

label {
  display: grid;
  gap: 8px;
  color: #344253;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c7d0da;
  border-radius: 7px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fbfcfd;
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  background: var(--navy);
  color: var(--white);
}

.footer-logo {
  width: 150px;
  height: auto;
  display: block;
  margin-bottom: 14px;
  padding: 0;
  border-radius: 4px;
  background: transparent;
}

.footer p,
.footer span,
.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-cgu {
  max-width: 520px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.58) !important;
}

.footer span,
.footer a {
  display: block;
  text-align: right;
}

.footer-contact {
  display: grid;
  gap: 8px;
  min-width: min(100%, 420px);
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.footer-contact span a {
  display: inline;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.footer-contact span a:hover {
  color: var(--turquoise);
}

.map-link {
  margin-bottom: 2px;
  font-weight: 800;
  text-decoration: none;
}

.map-link:hover {
  color: var(--white);
}

.map-button {
  width: fit-content;
  margin-left: auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
  color: var(--white) !important;
  font-weight: 900;
  text-decoration: none;
}

.map-button:hover {
  border-color: var(--turquoise);
  background: var(--turquoise-dark);
}

@media (max-width: 1320px) {
  .site-header {
    grid-template-columns: minmax(300px, 1fr) max-content;
    row-gap: 10px;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 0;
  }

  .account-actions {
    margin-left: auto;
    max-width: 100%;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(280px, 1fr) max-content;
    align-items: center;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-cta {
    display: inline-flex;
  }

  .account-actions {
    margin-left: auto;
    max-width: 100%;
    overflow-x: auto;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 760px;
  }

  .hero-stats,
  .feature-strip,
  .about-stf,
  .metrics-band,
  .audiences,
  .client-commerce-grid,
  .company-strip,
  .brand-grid,
  .category-grid,
  .import-panel,
  .document-grid,
  .public-catalog-tools,
  .client-orders-page,
  .client-orders-filters,
  .split,
  .supplier-section,
  .quote-section,
  .client-access {
    grid-template-columns: 1fr;
  }

  .client-quick-search-strip {
    position: static;
    padding: 12px 18px;
  }

  .client-quick-search-strip-form,
  .client-quick-search-main,
  .hero-article-search {
    grid-template-columns: 1fr;
  }

  .client-quick-search-strip-form button,
  .client-quick-search-main button[type="submit"],
  .hero-article-search button {
    width: 100%;
  }

  .login-link span {
    display: none;
  }

  .feature-strip {
    padding-inline: 0;
  }

  .about-stf {
    padding-top: 42px;
  }

  .about-visual {
    min-height: 280px;
  }

  .client-actions {
    justify-content: flex-start;
  }

  .mini-article-list-page {
    grid-template-columns: 1fr;
  }

  .audiences {
    margin-top: 24px;
    padding-top: 20px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .client-commerce-head {
    align-items: stretch;
    flex-direction: column;
  }

  .client-commerce-actions {
    justify-content: stretch;
  }

  .client-commerce-actions button {
    flex: 1 1 180px;
  }

  .client-commerce-card-wide .mini-article-list {
    grid-template-columns: 1fr;
  }

  .mini-article-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .mini-article-side {
    grid-column: 1 / -1;
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: 1fr;
    padding-inline: 14px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-logo {
    width: 120px;
    height: 44px;
    object-fit: contain;
  }

  .brand strong {
    max-width: 170px;
    font-size: 14px;
  }

  .brand small {
    font-size: 10px;
    line-height: 1.2;
  }

  .nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .account-actions {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .account-actions .header-cta {
    flex: 0 0 auto;
  }

  .client-greeting,
  .header-logout {
    max-width: 126px;
    font-size: 12px;
  }

  .site-header .header-cta {
    padding-inline: 10px;
  }

  .hero {
    min-height: 720px;
  }

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

  .footer {
    display: block;
  }

  .footer span {
    text-align: left;
  }
}

.stf-login-modal[hidden] {
  display: none;
}

.stf-login-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(2, 14, 24, 0.68);
  backdrop-filter: blur(8px);
}

.stf-login-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border: 1px solid rgba(18, 195, 205, 0.24);
  border-radius: 18px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(18, 195, 205, 0.14), transparent 34%),
    #ffffff;
  box-shadow: 0 28px 90px rgba(2, 14, 24, 0.34);
  color: #071522;
}

.stf-login-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid #d8e2ea;
  border-radius: 50%;
  background: #f6fafc;
  color: #0b2235;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.stf-login-shield {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #071522, #0d3440);
  box-shadow: 0 12px 28px rgba(18, 195, 205, 0.24);
}

.stf-login-shield svg,
.stf-mini-shield svg {
  width: 28px;
  height: 28px;
}

.stf-login-shield path {
  fill: none;
  stroke: #16d6df;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stf-login-card .eyebrow {
  margin: 18px 0 8px;
  color: #11aeb8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stf-login-card h2 {
  margin: 0 0 18px;
  color: #071522;
  font-size: 30px;
  line-height: 1.1;
}

.stf-login-card label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: #24384a;
  font-size: 14px;
  font-weight: 800;
}

.stf-login-card input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfdbe5;
  border-radius: 10px;
  padding: 0 14px;
  color: #071522;
  background: #fbfdff;
  font: inherit;
  font-weight: 700;
}

.stf-login-card input:focus {
  outline: 2px solid rgba(18, 195, 205, 0.28);
  border-color: #11aeb8;
}

.stf-security-check {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #d8e5ed;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbfd, #eef8fa);
}

.stf-security-check-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #071522;
  font-size: 18px;
}

.stf-mini-shield {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #071522;
  color: #16d6df;
  font-weight: 900;
}

.stf-security-check p {
  margin: 12px 0;
  color: #53677a;
  line-height: 1.55;
}

.stf-turnstile-widget {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 12px 0 6px;
}

.stf-turnstile-placeholder {
  width: 100%;
  padding: 16px;
  border: 1px dashed #94b8c2;
  border-radius: 12px;
  background: #ffffff;
  color: #315064;
  font-weight: 800;
}

.stf-turnstile-local,
.stf-login-submit {
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 900;
}

.stf-turnstile-local {
  padding: 10px 14px;
  color: #064047;
  background: rgba(18, 195, 205, 0.16);
}

.stf-turnstile-status {
  min-height: 22px;
  font-weight: 900;
}

.stf-turnstile-status.success {
  color: #087a63;
}

.stf-turnstile-status.error {
  color: #d62f35;
}

.stf-turnstile-note {
  padding-top: 10px;
  border-top: 1px solid #d8e5ed;
  font-size: 13px;
}

.stf-login-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #0b2235, #12c3cd);
  box-shadow: 0 14px 34px rgba(18, 195, 205, 0.24);
}

.stf-login-submit:hover,
.stf-login-close:hover,
.stf-turnstile-local:hover {
  filter: brightness(1.04);
}

@media (max-width: 560px) {
  .stf-login-modal {
    padding: 12px;
  }

  .stf-login-card {
    padding: 22px;
    border-radius: 14px;
  }

  .stf-login-card h2 {
    font-size: 25px;
  }
}

/* MERCURE catalogue familles intégré */
.mercure-family-catalog{
  margin-top:40px;
}
.nav-catalog-link{
  color:#00d4e7;
  font-weight:900;
}
.mercure-family-catalog .old-price{
  color:#c10000;
  font-weight:900;
  text-decoration:line-through;
}
.mercure-family-catalog .new-price{
  color:#087a66;
  font-size:24px;
  font-weight:900;
}
.mercure-family-catalog .discount-badge{
  display:inline-flex;
  margin-top:6px;
  padding:4px 9px;
  border-radius:999px;
  background:#d9f7ec;
  color:#087a66;
  font-weight:900;
}

/* B2B - Bannières serveur */
.stf-live-promo-banner{
  min-height:320px;
  border-radius:16px;
  overflow:hidden;
  display:flex;
  align-items:center;
  padding:50px;
  color:white;
  transition:.35s ease;
}

.stf-live-promo-content{
  max-width:620px;
}

.stf-live-promo-label{
  display:inline-flex;
  padding:8px 14px;
  border-radius:999px;
  background:#18c7d8;
  color:white;
  font-weight:900;
  text-transform:uppercase;
  margin-bottom:14px;
}

.stf-live-promo-content h2{
  font-size:42px;
  margin:0 0 12px;
  color:white;
}

.stf-live-promo-content p{
  font-size:21px;
  font-weight:800;
  color:white;
}

.stf-live-promo-content a{
  display:inline-flex;
  margin-top:10px;
  padding:12px 18px;
  border-radius:10px;
  background:#18c7d8;
  color:white;
  text-decoration:none;
  font-weight:900;
}

/* OEM court dans le tableau B2B */
.oem-short{
  max-width:180px;
  line-height:1.35;
  font-weight:800;
  color:#122033;
}

/* OEM court dans tableau B2B */
.oem-short{
  max-width:180px;
  line-height:1.35;
  font-weight:800;
  color:#122033;
}
