/* =========================================================
   AF GROUP — LAYOUT CLEAN / LIGHT
   Premium industriel, sobre, sans look "template IA"
   Chargé APRÈS app.css, premium.css et phase3.css
   ========================================================= */

:root {
  --layout-navy: #0a2036;
  --layout-navy-2: #102d49;
  --layout-ink: #182230;
  --layout-muted: #667587;
  --layout-line: #dfe5eb;
  --layout-line-soft: #edf0f3;
  --layout-paper: #f6f7f8;
  --layout-white: #ffffff;
  --layout-orange: #e95b17;
  --layout-orange-dark: #c9480c;
  --layout-green: #1d6e4f;
  --layout-font: "Inter", Arial, sans-serif;
  --layout-display: "Barlow", "Inter", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  background: #fff;
}

body {
  margin: 0;
  font-family: var(--layout-font);
  color: var(--layout-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1360px, calc(100% - 56px));
  margin-inline: auto;
}

/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
  position: relative;
  z-index: 120;
  background: var(--layout-navy);
  color: #c8d3de;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  letter-spacing: 0.015em;
}

.topbar-inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.topbar-badge {
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar-note {
  color: #9fb0bf;
}

.topbar-right a {
  color: #fff;
  font-weight: 700;
}

.topbar-divider {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.18);
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--layout-line);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.site-header.is-scrolled {
  border-bottom-color: #d7dde4;
  box-shadow: 0 9px 25px rgba(15, 31, 48, 0.07);
}

.header-main {
  height: 78px;
  min-height: 78px;
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 0;
}

.brand-image {
  display: flex;
  align-items: center;
  width: 188px;
  min-width: 0;
}

.brand-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.desktop-nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
}

.desktop-nav > a,
.mega-button {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #334155;
  font-family: var(--layout-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.17s ease;
}

.desktop-nav > a::after,
.mega-trigger > .mega-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--layout-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.is-active,
.mega-trigger:hover > .mega-button,
.mega-trigger.is-active > .mega-button {
  color: var(--layout-navy);
}

.desktop-nav > a:hover::after,
.desktop-nav > a.is-active::after,
.mega-trigger:hover > .mega-button::after,
.mega-trigger.is-active > .mega-button::after {
  transform: scaleX(1);
}

.mega-button svg {
  width: 13px;
  height: 13px;
  margin-left: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   HEADER TOOLS + BUTTONS
   ========================================================= */

.header-tools {
  display: flex;
  align-items: center;
  gap: 7px;
}

.header-icon,
.mobile-toggle {
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid var(--layout-line);
  border-radius: 2px;
  background: #fff;
  color: var(--layout-navy);
  cursor: pointer;
  box-shadow: none;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}

.header-icon:hover,
.mobile-toggle:hover {
  background: #f7f8f9;
  border-color: #b9c3cd;
}

.header-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button {
  position: relative;
}

.cart-count {
  position: absolute;
  right: -6px;
  top: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 10px;
  background: var(--layout-orange);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.header-quote,
.footer-primary,
.footer-secondary,
.btn {
  border-radius: 2px !important;
  box-shadow: none !important;
}

.header-quote {
  height: 40px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--layout-orange);
  background: var(--layout-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    background 0.17s ease,
    border-color 0.17s ease,
    transform 0.17s ease;
}

.header-quote:hover {
  background: var(--layout-orange-dark);
  border-color: var(--layout-orange-dark);
  transform: translateY(-1px);
}

.btn {
  font-family: var(--layout-font) !important;
  font-weight: 700 !important;
}

.btn-orange {
  background: var(--layout-orange) !important;
  color: #fff !important;
  border: 1px solid var(--layout-orange) !important;
}

.btn-orange:hover {
  background: var(--layout-orange-dark) !important;
  border-color: var(--layout-orange-dark) !important;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.btn-glass:hover {
  background: #fff !important;
  color: var(--layout-navy) !important;
  border-color: #fff !important;
}

.btn-white {
  background: #fff !important;
  color: var(--layout-navy) !important;
  border: 1px solid #fff !important;
}

.btn-darkline {
  background: #fff !important;
  color: var(--layout-ink) !important;
  border: 1px solid #bac4ce !important;
}

/* =========================================================
   MEGA MENU
   ========================================================= */

.mega-trigger {
  position: static;
  height: 100%;
  display: flex;
  align-items: center;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(1280px, calc(100vw - 64px));
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border: 1px solid var(--layout-line);
  border-top: 2px solid var(--layout-orange);
  border-radius: 0;
  box-shadow: 0 22px 45px rgba(15, 31, 48, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    visibility 0.16s ease;
  z-index: 150;
}

.mega-trigger:hover .mega-menu,
.mega-trigger:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-intro {
  padding: 31px 30px 28px;
  background: #f5f6f7;
  border-right: 1px solid var(--layout-line);
}

.mega-intro .eyebrow {
  display: block;
  margin: 0 0 12px;
  color: var(--layout-orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mega-intro strong {
  display: block;
  margin-bottom: 12px;
  color: var(--layout-navy);
  font: 700 28px/1.06 var(--layout-display);
  letter-spacing: -0.025em;
}

.mega-intro p {
  margin: 0;
  color: var(--layout-muted);
  font-size: 11px;
  line-height: 1.7;
}

.mega-intro-links {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.mega-intro-links a {
  width: max-content;
  color: var(--layout-navy);
  font-size: 10px;
  font-weight: 700;
}

.mega-intro-links a::after {
  content: " →";
  color: var(--layout-orange);
}

.mega-intro-links a:hover {
  color: var(--layout-orange);
}

.mega-categories {
  padding: 30px 34px 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 30px;
  align-content: start;
  background: #fff;
}

.mega-category-column {
  min-width: 0;
  display: grid;
  gap: 7px;
  align-content: start;
}

.mega-category-column a {
  color: #617080;
  font-size: 10px;
  line-height: 1.45;
}

.mega-category-column a:hover {
  color: var(--layout-orange);
}

.mega-category-column .mega-title {
  margin-bottom: 3px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--layout-line-soft);
  color: var(--layout-navy);
  font: 700 13px/1.25 var(--layout-display);
}

.mega-footer {
  grid-column: 1/-1;
  min-height: 48px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--layout-line);
  background: #fff;
  color: #748292;
  font-size: 10px;
}

.mega-footer a {
  color: var(--layout-navy);
  font-weight: 700;
}

.mega-footer a:hover {
  color: var(--layout-orange);
}

/* =========================================================
   SEARCH PANEL
   ========================================================= */

.header-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 140;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--layout-line);
  box-shadow: 0 16px 30px rgba(15, 31, 48, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition:
    opacity 0.16s ease,
    visibility 0.16s ease,
    transform 0.16s ease;
}

.header-search-panel.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.search-shell {
  min-height: 76px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto 38px;
  align-items: center;
  gap: 14px;
}

.search-shell > svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #7b8793;
  stroke-width: 1.6;
}

.search-shell input {
  height: 46px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: var(--layout-navy);
  font-size: 14px;
}

.search-shell input:focus {
  border: 0;
  box-shadow: none;
}

.search-shell input::placeholder {
  color: #9aa4ae;
}

.search-shell > button[type="submit"] {
  height: 39px;
  padding: 0 18px;
  border: 1px solid var(--layout-navy);
  border-radius: 2px;
  background: var(--layout-navy);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.search-shell > button[type="submit"]:hover {
  background: var(--layout-navy-2);
}

.search-close {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6d7885;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* =========================================================
   MESSAGES
   ========================================================= */

.toast {
  position: fixed;
  right: 24px;
  top: 126px;
  z-index: 220;
  min-width: 280px;
  max-width: 420px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--layout-line);
  border-left: 3px solid #2d8a5f;
  border-radius: 2px;
  background: #fff;
  color: var(--layout-ink);
  box-shadow: 0 15px 35px rgba(15, 31, 48, 0.12);
  font-size: 11px;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.toast.hide {
  opacity: 0;
  transform: translateY(-7px);
  pointer-events: none;
}

.toast-icon {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f5ee;
  color: #26734f;
  font-weight: 800;
}

.validation-box {
  margin-top: 20px;
  padding: 15px 17px;
  border: 1px solid #efc9bd;
  border-left: 3px solid var(--layout-orange);
  border-radius: 2px;
  background: #fff9f7;
  color: #6e3a2d;
  font-size: 11px;
}

.validation-box strong {
  color: #8c3218;
}

.validation-box ul {
  margin: 8px 0 0 18px;
}

/* =========================================================
   WHATSAPP
   ========================================================= */

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;

  min-width: 48px;
  height: 48px;

  padding: 0 17px 0 14px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  border: 0;
  border-radius: 3px;

  background: #176b49;
  color: #fff;

  box-shadow: 0 10px 25px rgba(10, 23, 37, 0.18);

  font-size: 11px;
  font-weight: 700;

  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.floating-whatsapp:hover {
  background: #10583b;
  transform: translateY(-2px);
}

/* =========================================================
   FOOTER
   ========================================================= */

/* =========================================================
   FOOTER — PREMIUM CORPORATE
   ========================================================= */

.footer {
  margin-top: 80px;
  padding: 0;
  background: #0a1725;
  color: #c8d3dd;
  border-top: 3px solid var(--layout-orange);
}

/* CTA TOP */

.footer-cta {
  min-height: 210px;
  padding: 52px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-eyebrow {
  display: block;
  margin-bottom: 12px;

  color: #f47a3e;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-cta h2 {
  max-width: 820px;
  margin: 0;

  color: #fff;

  font: 700 clamp(34px, 3vw, 52px)/1.02 var(--layout-display);
  letter-spacing: -0.035em;
}

.footer-cta p {
  max-width: 700px;
  margin: 14px 0 0;

  color: #9aabba;

  font-size: 14px;
  line-height: 1.65;
}

.footer-cta-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.footer-cta-actions .footer-primary,
.footer-cta-actions .footer-secondary {
  width: auto;
  height: 48px;
  min-height: 48px;

  margin: 0 !important;
  padding: 0 22px !important;

  display: grid !important;
  place-items: center !important;

  box-sizing: border-box;

  font-family: var(--layout-font) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  text-align: center !important;
  vertical-align: middle !important;

  text-decoration: none !important;
  white-space: nowrap;

  border-radius: 3px;
}

.footer-cta-actions .footer-primary {
  min-width: 170px;

  background: var(--layout-orange) !important;
  border: 1px solid var(--layout-orange) !important;
  color: #fff !important;
}

.footer-cta-actions .footer-secondary {
  min-width: 135px;

  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
}

.footer-cta-actions .footer-primary:hover {
  background: var(--layout-orange-dark) !important;
  border-color: var(--layout-orange-dark) !important;
}

.footer-cta-actions .footer-secondary:hover {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--layout-navy) !important;
}

/* MAIN FOOTER */

.footer-grid {
  padding: 50px 0 54px;

  display: grid;

  grid-template-columns:
    minmax(280px, 1.55fr)
    minmax(120px, 0.65fr)
    minmax(130px, 0.7fr)
    minmax(150px, 0.82fr)
    minmax(190px, 1fr);

  gap: 48px;

  align-items: start;
}

.footer-grid h4 {
  margin: 0 0 18px;

  color: #fff;

  font: 700 13px/1.2 var(--layout-display);

  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-company) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid a,
.footer-grid p,
.footer-hours {
  margin: 0 0 8px;

  color: #95a5b5;

  font-size: 12px;
  line-height: 1.65;
}

.footer-grid a {
  transition:
    color 0.16s ease,
    transform 0.16s ease;
}

.footer-grid a:hover {
  color: #fff;
  transform: translateX(2px);
}

/* COMPANY */

.footer-company p {
  max-width: 470px;
  margin-top: 20px;

  font-size: 12px;
  line-height: 1.75;
}

.footer-wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;

  color: #fff !important;
}

.footer-wordmark strong {
  color: #fff;

  font: 700 29px/1 var(--layout-display);

  letter-spacing: -0.02em;
}

.footer-wordmark strong span {
  color: var(--layout-orange);
}

.footer-wordmark small {
  color: #8295a5;

  font-size: 8px;
  letter-spacing: 0.17em;
}

.footer-company-meta {
  margin-top: 22px;

  display: flex;
  flex-wrap: wrap;
  gap: 22px;

  color: #74899b;

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* CONTACT */

.footer-strong-link {
  margin-top: 2px !important;

  color: #fff !important;

  font-size: 13px !important;
  font-weight: 700;
}

.footer-hours {
  width: 100%;

  margin-top: 13px !important;
  padding-top: 13px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* BOTTOM */

.footer-bottom {
  min-height: 68px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  color: #728597;

  font-size: 9px;
  font-weight: 500;

  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-bottom > div {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-bottom > div span {
  position: relative;
}

.footer-bottom > div span + span::before {
  content: "";

  position: absolute;

  left: -13px;
  top: 50%;

  width: 3px;
  height: 3px;

  border-radius: 50%;

  background: #526577;

  transform: translateY(-50%);
}

/* =========================================================
   FOOTER RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 42px 38px;
  }

  .footer-company {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .footer-grid > div:nth-child(2) {
    grid-column: 2;
  }

  .footer-grid > div:nth-child(3) {
    grid-column: 3;
  }

  .footer-grid > div:nth-child(4) {
    grid-column: 2;
  }

  .footer-grid > div:nth-child(5) {
    grid-column: 3;
  }
}

@media (max-width: 720px) {
  .footer {
    margin-top: 60px;
  }

  .footer-cta {
    min-height: 0;
    padding: 42px 0;
    gap: 25px;
  }

  .footer-cta h2 {
    font-size: 34px;
  }

  .footer-cta p {
    font-size: 13px;
  }

  .footer-cta-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-primary,
  .footer-secondary {
    min-width: 0;
    flex: 1;
  }
  @media (max-width: 720px) {
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 36px 28px;
    }

    .footer-company {
      grid-column: 1 / -1;
      grid-row: auto;
    }

    .footer-grid > div:nth-child(2),
    .footer-grid > div:nth-child(3),
    .footer-grid > div:nth-child(4),
    .footer-grid > div:nth-child(5) {
      grid-column: auto;
    }
  }

  @media (max-width: 460px) {
    .footer-grid {
      grid-template-columns: 1fr;
    }

    .footer-company,
    .footer-grid > div {
      grid-column: 1 !important;
    }
  }
}

@media (max-width: 460px) {
  .footer-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-primary,
  .footer-secondary {
    width: 100%;
  }

  .footer-grid {
    padding: 42px 0;

    grid-template-columns: 1fr 1fr;

    gap: 38px 28px;
  }

  .footer-company {
    grid-column: 1/-1;
    grid-row: auto;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    padding: 20px 0;

    min-height: 0;

    flex-direction: column;
    align-items: flex-start;

    gap: 14px;
  }

  .footer-bottom > div {
    gap: 18px;
    flex-wrap: wrap;
  }
}

@media (max-width: 460px) {
  .footer-cta-actions {
    grid-template-columns: 1fr;
  }

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

  .footer-grid > div:last-child {
    grid-column: auto;
  }
}

/* =========================================================
   MOBILE DRAWER
   ========================================================= */

.mobile-menu,
.mobile-menu-backdrop {
  display: none;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 17px;
  height: 1.5px;
  display: block;
  background: var(--layout-navy);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1240px) {
  .container {
    width: min(100% - 42px, 1360px);
  }

  .header-main {
    grid-template-columns: 176px minmax(0, 1fr) auto;
    gap: 18px;
  }

  .brand-image {
    width: 166px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav > a,
  .mega-button {
    font-size: 11px;
  }

  .header-quote {
    padding: 0 13px;
  }

  .mega-menu {
    width: calc(100vw - 38px);
  }

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

@media (max-width: 1020px) {
  .topbar-note {
    display: none;
  }

  .desktop-nav {
    display: none;
  }

  .header-main {
    height: 72px;
    min-height: 72px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand-image {
    width: 176px;
  }

  .header-quote {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-tools {
    gap: 6px;
  }

  .mega-menu {
    display: none;
  }

  .mobile-menu {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(390px, 90vw);
    z-index: 190;
    flex-direction: column;
    background: #fff;
    box-shadow: -18px 0 45px rgba(15, 31, 48, 0.14);
    transform: translateX(102%);
    transition: transform 0.23s ease;
  }

  .mobile-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 180;
    background: rgba(10, 32, 54, 0.38);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .mobile-menu {
    transform: none;
  }

  body.menu-open .mobile-menu-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-head {
    height: 73px;
    padding: 0 21px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--layout-line);
  }

  .mobile-menu-head img {
    width: 160px;
    height: auto;
  }

  .mobile-menu-head button {
    width: 35px;
    height: 35px;
    border: 1px solid var(--layout-line);
    border-radius: 2px;
    background: #fff;
    color: var(--layout-navy);
    font-size: 22px;
    cursor: pointer;
  }

  .mobile-menu-body {
    padding: 15px 21px 26px;
    display: flex;
    flex-direction: column;
    overflow: auto;
  }

  .mobile-menu-body > a {
    padding: 12px 0;
    border-bottom: 1px solid var(--layout-line-soft);
    color: var(--layout-navy);
    font-size: 12px;
    font-weight: 600;
  }

  .mobile-section-label {
    margin: 21px 0 7px;
    color: #98a2ad;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  .mobile-category {
    border-bottom: 1px solid var(--layout-line-soft);
  }

  .mobile-category summary {
    position: relative;
    padding: 12px 0;
    list-style: none;
    color: var(--layout-navy);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
  }

  .mobile-category summary::-webkit-details-marker {
    display: none;
  }

  .mobile-category summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #8995a2;
    font-size: 17px;
    font-weight: 400;
  }

  .mobile-category[open] summary::after {
    content: "−";
  }

  .mobile-category > div {
    padding: 0 0 12px 13px;
    display: grid;
    gap: 8px;
  }

  .mobile-category > div a {
    color: #657383;
    font-size: 10px;
  }

  .mobile-menu-footer {
    margin-top: auto;
    padding: 17px 21px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid var(--layout-line);
    color: var(--layout-navy);
    font-size: 10px;
    font-weight: 700;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
  }

  .footer-company {
    grid-row: 1/3;
  }

  .footer-grid > div:last-child {
    grid-column: 2/4;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 30px, 1360px);
  }

  .topbar-inner {
    min-height: 30px;
  }

  .topbar-left > span:not(.topbar-badge) {
    display: none;
  }

  .topbar-right span:last-child,
  .topbar-divider:last-of-type {
    display: none;
  }

  .header-main {
    height: 66px;
    min-height: 66px;
  }

  .brand-image {
    width: 148px;
  }

  .header-icon,
  .mobile-toggle {
    width: 37px;
    height: 37px;
  }

  .cart-count {
    right: -5px;
    top: -5px;
  }

  .search-shell {
    min-height: 66px;
    grid-template-columns: 18px minmax(0, 1fr) 34px;
    gap: 8px;
  }

  .search-shell > button[type="submit"] {
    display: none;
  }

  .search-shell input {
    font-size: 12px;
  }

  .footer {
    margin-top: 62px;
  }

  .footer-cta {
    padding: 35px 0 31px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-primary,
  .footer-secondary {
    justify-content: center;
  }

  .footer-grid {
    padding: 36px 0;
    grid-template-columns: 1fr 1fr;
    gap: 32px 26px;
  }

  .footer-company {
    grid-column: 1/-1;
    grid-row: auto;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    padding: 16px 0;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom > div {
    gap: 11px;
    flex-wrap: wrap;
  }

  .floating-whatsapp {
    right: 13px;
    bottom: 13px;
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }

  .floating-whatsapp span {
    display: none;
  }

  .toast {
    top: 106px;
    right: 13px;
    left: 13px;
    min-width: 0;
  }
}

@media (max-width: 460px) {
  .topbar-left {
    display: none;
  }

  .topbar-inner {
    justify-content: flex-end;
  }

  .brand-image {
    width: 138px;
  }

  .header-tools {
    gap: 4px;
  }

  .header-icon,
  .mobile-toggle {
    width: 35px;
    height: 35px;
  }

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

  .footer-grid > div:last-child {
    grid-column: auto;
  }

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

  .mobile-menu {
    width: 92vw;
  }
}
