/* ==========================================
   HOME
   ========================================== */

/* =========================================================
     TOKENS — variables globales (único bloque)
     ========================================================= */
:root {
  --blue: rgb(0, 113, 206);
  --blue-bright: rgb(45, 150, 236);
  --blue-deep: rgb(0, 82, 155);
  --blue-deeper: rgb(9, 104, 182);
  --navy: rgb(2, 41, 74);
  --navy-2: rgb(0, 57, 104);
  --ink: rgb(6, 19, 35);
  --ink-mid: rgb(108, 110, 112);
  --line: rgba(0, 0, 0, 0.2);
  --bg: #fff;
  --page-bg: rgb(241, 241, 241);
  --pad-x: clamp(15px, 5.8vw, 100px);
  --shadow-h2: 0 4px 10px rgba(0, 0, 0, 0.2);
  --gap: 30px;
  --max-w: min(1500px, 90vw);
  --head-height: 220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}


/* UTILITIES */
.align-right {
  display: flex;
}

.max-w {
  width: var(--max-w);
  margin: 0 auto;
}


/* =========================================================
     TOP HEADER (azul) — Desktop  (from base.html)
     ========================================================= */
.top-header {
  background: var(--blue);
  color: #fff;
  height: 56px;
  padding: 8px;
  position: relative;
  z-index: 10;
}


.top-header .max-w {
  gap: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.menu-top {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1;
}

.menu-top a {
  color: #fff;
  transition: opacity .15s ease;
}

.menu-top a:hover {
  opacity: 0.8;
}

.menu-top .pill {
  border-radius: 300px;
  padding: 6px 14px;
  transition: background .15s ease;
}

.menu-top .pill.solid {
  background: var(--blue-deep);
}

.menu-top .pill:hover {
  background: var(--blue-deep);
}

.menu-top .pill.solid:hover {
  background: rgba(0, 82, 155, 0.85);
}

.search {
  position: relative;
  width: clamp(240px, 35vw, 500px);
  max-width: 500px;
  height: 40px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.2) 0%, rgba(255, 255, 255, 0) 100%),
    var(--blue-deep);
  border-radius: 5px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.search input {
  flex: 1;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  color: #fff;
  font: 600 15px/1 "Inter", sans-serif;
  padding: 0 60px 0 17px;
  outline: none;
}

.search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  text-align: left;
}

.search button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background: var(--blue);
  display: grid;
  place-items: center;
  transition: background .15s ease;
}

.search button:hover {
  background: rgb(0, 130, 230);
}

.search button svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.burger {
  display: none;
  width: 35px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 100%;
  height: 4px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
  display: none;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.burger.burguer-secondary {
  flex-shrink: 0;
}

.burger.burguer-secondary span {
  background: #fff;
}

/* =========================================================
     SECONDARY HEADER  (from base.html)
     ========================================================= */
.second-header {
  background: #fff;
  box-shadow: var(--shadow-h2);
  position: relative;
  z-index: 5;
  padding: 20px 0px;
}


.second-header .max-w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  width: 230px;
  flex-shrink: 0;
  color: var(--blue);
  display: block;
  -webkit-mask: url("../img/atmoss-logo.svg") center / contain no-repeat;
  mask: url("../img/atmoss-logo.svg") center / contain no-repeat;
  background-color: currentColor;
  height: 45px;
}

.logo img {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1;
  text-transform: uppercase;
}

.main-nav a {
  color: #6C6E70;
  transition: color .15s ease;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* =========================================================
     MAIN SUBNAV  (dropdown debajo del menú principal)
     ========================================================= */
.main-subnav {
  position: absolute;
  top: 100%;
  background: #fff;
  border: 1px solid #e8eaec;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
  z-index: 10;
  display: none;
  width: max-content;
  max-width: 520px;
}

.main-subnav.is-visible {
  display: block;
}

.main-subnav__panel {
  display: none;
}

.main-subnav__panel.is-active {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0px;
  padding: 14px 16px;
}

.main-subnav__panel a {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6C6E70;
  padding: 8px 14px;
  border-radius: 20px;
  width: 33%;
  /*white-space: nowrap;*/
  text-transform: none;
  line-height: 1.4;
  transition: color .15s ease, border-color .15s ease;
}

.main-subnav__panel a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

#form-results {
  position: relative;
  z-index: 6;
}

#searchForm {
  position: relative;
  z-index: 3;
}

#searchInput {
  position: relative;
  z-index: 3;
}

#results {
  position: absolute;
  max-height: 75vh;
  overflow-y: auto;
  width: 100%;
  top: 0px;
  border-radius: 10px;
  background: #fff;
  padding: 40px 20px 20px;
  z-index: 2;
  max-width: 500px;
  top: 8px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.45);

}

.result {
  padding: 10px 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 20px;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.result:hover * {
  color: var(--blue);
}

.result:hover img {
  transform: translateY(-2px);
}

.result img {
  height: 60px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  transition: all ease 0.25s;
}

.result p {
  margin: 0px;
  color: var(--ink-mid);
  width: calc(100% - 100px);
  font-size: 0.9em;
}

#results {
  display: none;
}

#results>p,
#search-results-2>p {
  color: var(--ink-mid);
  text-align: center;
}

.search-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
}

.search-spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


#form-results-2 {
  position: relative;
  z-index: 6;
}

#search_2 {
  position: relative;
  z-index: 3;
}

#search-results-2 {
  display: none;
  position: absolute;
  width: 100%;
  max-height: 75vh;
  overflow-y: auto;
  top: calc(100% + 8px);
  left: 0;
  border-radius: 10px;
  background: #fff;
  padding: 20px;
  z-index: 2;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.45);
}


/* =========================================================
     OFF-CANVAS  (from base.html)
     ========================================================= */
.offcanvas {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--header-h, 156px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(4px);
  z-index: 4;
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 30px;
  overflow-y: auto;
  z-index: 500;
}

.offcanvas.is-open {
  display: flex;
}

.offcanvas-section h4 {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  text-align: left;
}

.offcanvas-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offcanvas-section li {
  border-bottom: 1px dashed var(--line);
}

.offcanvas-section li:first-child {
  border-top: 1px dashed var(--line);
}

.offcanvas-section a {
  display: block;
  padding: 12px 0;
  color: var(--ink-mid);
  font-weight: 500;
  text-transform: uppercase;
  text-align: left;
  transition: color .15s ease;
}

.offcanvas-section a:hover {
  color: var(--blue);
}

.offcanvas-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.offcanvas-item>a {
  flex: 1;
}

.offcanvas-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-mid);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  padding: 12px 0 12px 16px;
  transition: color .15s ease, transform .2s ease;
  transform-origin: center;
}

.offcanvas-toggle[aria-expanded="true"] {
  color: var(--blue);
  transform: rotate(45deg);
}

.offcanvas-sub {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 10px 4px;
}

.offcanvas-sub.is-open {
  display: block;
}

.offcanvas-sub li {
  border-bottom: none;
}

.offcanvas-sub li:first-child {
  border-top: none;
}

.offcanvas-sub a {
  padding: 7px 0;
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: none;
  color: var(--ink-mid);
}

/* =========================================================
     FOOTER  (from base.html)
     ========================================================= */
.footer {
  position: relative;
  color: #fff;
  background:
    linear-gradient(rgba(2, 41, 74, 0.7), rgba(0, 113, 206, 0.7)),
    url("../img/footer-bg.jpg") center / cover no-repeat,
    var(--navy);
  padding: clamp(30px, 5vw, 114px) var(--pad-x) clamp(30px, 5vw, 89px);
}

.footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 349px);
  gap: clamp(24px, 4vw, 80px);
  align-items: center;
}

.footer-text h2 {
  margin: 0 0 clamp(20px, 2.5vw, 40px);
  font-weight: 700;
  font-size: clamp(1.562rem, 3vw, 2.812rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}

.footer-text p {
  margin: 0;
  font-size: clamp(1.25rem, 1.6vw, 1.562rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.95);
}

.footer-cta {
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.footer-cta .ttl {
  font-size: clamp(1.562rem, 2vw, 1.719rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}

.footer-cta .sub {
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.92);
}

.footer-cta .btn {
  width: 100%;
  max-width: 290px;
  padding: 17px 22px;
  border-radius: 999px;
  background: var(--blue-deeper);
  border: 2px solid var(--blue-deeper);
  color: #fff;
  font-size: clamp(1.125rem, 1.8vw, 1.719rem);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: background .15s ease, transform .1s ease;
}

.footer-cta .btn:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.footer-cta .btn:active {
  transform: translateY(1px);
}

.footer-legal {
  background: var(--blue-deep);
  color: #fff;
  padding: 25px var(--pad-x);
  display: flex;
  justify-content: center;
}

.footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 4vw, 60px);
  font-size: 0.9375rem;
  line-height: 1;
}

.footer-legal a {
  transition: opacity .15s ease;
}

.footer-legal a:hover {
  opacity: 0.8;
}

/* HEADERS */

.header-base {
  min-height: var(--head-height);
  display: flex;
  position: relative;
  background: linear-gradient(rgb(45, 150, 236) 0%, rgb(26, 59, 99) 55%);
  color: #fff;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header-base:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../img/ilum-head-bg.jpg) center / cover no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.85;
  pointer-events: none;
}

.header-base h1 {
  font-size: 2.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 3;
}

.head__inner {
  position: relative;
  z-index: 1;
  padding: 0 var(--pad-x);
  width: 100%;
  max-width: var(--max-w);
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.header-base.subcategoria .head__inner {
  max-width: var(--max-w);
  padding: clamp(50px, 6vw, 88px) 0;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.head__title {
  display: flex;
  align-items: center;
  gap: 22px;
}

.head__icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgb(223, 176, 20);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.head__icon img {
  width: 28px;
  /*height: 26px;*/
  filter: brightness(0) invert(1);
}

.head__subtitle {
  margin: 0;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #fff;
}

/* =========================================================
     RESPONSIVE — header/footer (from base.html)
     ========================================================= */
@media (max-width: 980px) {
  .top-header {
    height: auto;
  }

  .top-header .max-w {
    flex-direction: column;
    height: auto;
    padding: 15px 0;
    gap: 20px;
    align-items: stretch;
  }

  .top-header .search {
    order: 1;
    width: 100%;
    max-width: none;
  }

  .top-header .menu-top {
    order: 2;
    justify-content: space-between;
    width: 100%;
  }

  #results {
    left: auto;
    right: 0px;
  }

  .second-header .max-w {
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
  }

  .logo {
    width: 210px;
  }

  .header-base h1 {
    text-align: center;
    font-size: 1.6em;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    max-width: 600px;
    text-align: center;
    gap: 24px;
  }

  .footer-text h2,
  .footer-text p {
    text-align: center;
  }

  .footer-cta {
    width: 100%;
  }
}

@media (max-width: 1335px) {

  .top-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 201;
    padding-top: env(safe-area-inset-top, 0px);
  }

  .top-header .max-w {
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 15px 0;
  }

  .top-header #form-results {
    flex-grow: 1;
  }

  .burger.burguer-secondary {
    width: 0;
    overflow: hidden;
    margin-right: 0px;
    transition: all 0.3s ease;
  }

  body.with-subburger .burger.burguer-secondary {
    width: 35px;
    margin-right: 20px;
  }

  .top-header {
    flex-direction: row;
    padding: 0px;
    align-items: center;
    height: auto;
  }

  .top-header .menu-top {
    display: none;
  }

  .top-header .search {
    height: 45px;
    width: 100%;
    max-width: none;
  }

  .top-header .search button {
    width: 31px;
    height: 31px;
    top: 7px;
  }

  .second-header .max-w {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
  }

  .logo {
    width: 190px;
  }

  .main-nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header-base.subcategoria .head__inner,
  .crumb {
    flex-direction: column;
  }

  .head__title {
    gap: 10px;
  }

  .head__icon,
  .crumb img {
    width: 45px;
    height: 45px;
  }

  .head__icon img {
    width: 18px;
    height: auto;
  }
}

@media (max-width: 767px) {

  .footer {
    padding: 30px 15px;
  }

  .footer-text h2 {
    font-size: 1.328rem;
  }

  .footer-text p {
    font-size: 1.063rem;
  }

  .footer-cta {
    padding: 30px 15px;
  }

  .footer-cta .ttl {
    font-size: 1.328rem;
  }

  .footer-cta .sub {
    font-size: 0.85rem;
  }

  .footer-cta .btn {
    font-size: 0.956rem;
    padding: 18px 22px;
  }

  .footer-legal ul {
    font-size: 0.797rem;
  }
}

/* =========================================================
     HOME — Page body
     ========================================================= */
.home {
  --gutter: clamp(15px, 6.6vw, 114px);
  background: var(--page-bg);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 4.5vw, 70px);
  padding-bottom: clamp(40px, 5vw, 70px);
}

.home-section {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  box-sizing: border-box;
}

/* ---- HERO ---- */
.home-hero {
  position: relative;
  color: #fff;
  background: var(--ink);
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background: url("../img/home-hero-bg.png") right center / cover no-repeat, var(--ink);
}

.home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(6, 19, 35) 0%, rgba(6, 19, 35, 0.85) 38%, rgba(6, 19, 35, 0) 70%);
}

.home-hero__inner {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(50px, 7vw, 90px) 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  min-height: clamp(380px, 32vw, 485px);
  justify-content: center;
}

.home-hero h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2.125rem, 4vw, 3.375rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue-bright);
  max-width: 670px;
  text-wrap: balance;
}

.home-hero__lead {
  margin: 0;
  font-size: clamp(1.125rem, 1.6vw, 1.562rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 570px;
}

.home-hero__search {
  margin-top: 6px;
  width: 100%;
  max-width: 486px;
  height: 69px;
  border-radius: 10px;
  border: 2px solid rgba(45, 150, 236, 0.35);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  padding: 8px 8px 8px 27px;
  gap: 10px;
  backdrop-filter: blur(6px);
}

.home-hero__search input {
  flex: 1;
  height: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--blue-bright);
  font: 500 18px/1 "Inter", sans-serif;
  letter-spacing: -0.04em;
}

.home-hero__search input::placeholder {
  color: rgba(45, 149, 236, 0.85);
}

.home-hero__search button {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: var(--blue);
  display: grid;
  place-items: center;
  transition: background .15s ease;
}

.home-hero__search button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.home-hero__search button svg {
  width: 22px;
  height: 22px;
  color: var(--bg)
}

/* ---- TWO-PANEL BANNERS (catálogo / asesoramiento / series) ---- */
.home-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}

.home-banner {
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.10);
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  border: 5px solid #fff;
  border-width: 3px 3px 5px 3px;
}

.home-banner__media {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.home-banner__body {
  padding: 15px 15px 15px 50px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 50%;
  justify-content: center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 10%);

}

.home-banner h3 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue-bright);
}

.home-banner p {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--ink-mid);
}

.home-banner__cta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.home-banner.catalogo {
  background: url(../img/bg_catalogo.jpg) no-repeat;
  background-size: cover;

}

.home-banner.servicio {
  background: url(../img/bg_asesoramiento.jpg) no-repeat;
  background-size: cover;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  background: transparent;
  text-align: center;
  border: 1.5px solid var(--blue-bright);
  color: var(--blue-bright);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: -0.02em;
  transition: background .15s ease, color .15s ease;
}

.pill-btn:hover {
  background: var(--blue-bright);
  color: #fff;
}

.pill-btn--solid {
  background: var(--blue-bright);
  color: #fff;
}

.pill-btn--solid:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

/* ---- SECTION TITLE WITH RULE ---- */
.home-title {
  position: relative;
  text-align: center;
  padding: 14px 0;
}

.home-title::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.20);
}

.home-title h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 30px;
  background: var(--page-bg);
  font-weight: 700;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue-bright);
}

/* ---- NOVEDADES (product strip — no slider, simple grid) ---- */
.novedades {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 28px);
}

.nov-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--ink-mid);
  transition: transform .15s ease;
}

.nov-card:hover {
  transform: translateY(-2px);
}

.nov-card:hover .nov-card__label {
  color: var(--blue);
}

.nov-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: #fff center / 70% no-repeat;
  border: 1px solid rgb(225, 225, 225);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.nov-card__label {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
  transition: color .15s ease;
}

/* ---- FICHAS TÉCNICAS strip ---- */
.fichas {
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.06);
  padding: 0 clamp(20px, 2.5vw, 30px);
  height: 108px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: visible;
  position: relative;
}

.fichas__img {
  position: absolute;
  bottom: -6px;
  right: 60px;
  width: min(350px, 30%)
}

.fichas__left {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
  min-width: 0;
}

.fichas h3 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .fichas {
    justify-content: center;
  }

  .fichas__img {
    display: none;
  }
}

@media(max-width:768px) {
  #form-results-2 {
    width: 100%;
  }
}

/* =========================================================
     CATEGORÍAS Y PRODUCTOS — Slider rows
     ========================================================= */
.cat-row {
  --tile-w: 217px;
  position: relative;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  box-sizing: border-box;
}

.cat-row__viewport {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--gap);
  row-gap: var(--gap);
  align-items: stretch;
}

.cat-row__fixed {
  flex: 0 0 calc(100% / 6);
}

.cat-tile {
  width: 100%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  height: auto;
}

.ver_todo_square {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgb(201, 201, 202);
  font-size: 0.875rem;
  color: var(--blue);
  transition: all ease 0.25s;
}

.ver_todo_square:hover {
  background: var(--blue);
  color: #fff;
}

/* The leading category card with icon */
.cat-lead {
  border-radius: 10px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 12px;
  text-align: center;
  transition: transform .15s ease, filter .15s ease;
  position: relative;
}

.cat-lead:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.cat-lead__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  color: #fff;
  display: grid;
  place-items: center;
}

.cat-lead__icon svg {
  width: 100%;
  height: 100%;
}

.cat-lead__title {
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.cat-lead__count {
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.cat-lead--ilum {
  background: rgb(223, 176, 20);
}

.cat-lead--mat {
  background: rgb(80, 177, 160);
}

.cat-lead--dom {
  background: rgb(130, 81, 142);
}

.cat-lead--apa {
  background: rgb(76, 127, 195);
}

/* Scrollable middle — takes all remaining space after the 1/6 lead tile */
.cat-row__scroller-wrap {
  flex: 1 1 0;
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.cat-row__scroller {
  padding-top: 2px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5 * var(--gap)) / 6);
  gap: var(--gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 6px;
}

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

/* Two-row variant: grid con cat-tile en col 1 (span 2 filas) + 5 cols de pares de cards */
.cat-row--two-rows .cat-row__scroller {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5 * var(--gap)) / 6);
  gap: var(--gap);
  padding-bottom: 20px;
  padding-top: 2px;
}

.cat-row--two-rows .cat-tile {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
}

.cat-row--two-rows .cat-card-h {
  width: auto;
  min-width: unset;
}

/* Tile dentro de scroller de fila única: mismo slot que cat-card-h, cuadrado */
.cat-row:not(.cat-row--two-rows) .cat-row__scroller .cat-tile {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.cat-card-h {
  width: 100%;
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  color: var(--ink-mid);
  transition: transform .15s ease;
}

.cat-card-h:hover {
  transform: translateY(-2px);
}

.cat-card-h:hover .cat-card-h__label {
  color: var(--blue);
}

.cat-card-h__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background-color: #fff;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  border: 1px solid rgb(201, 201, 202);
}

.cat-card-h__label {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
  transition: color .15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  width: 100%;
}

/* Trailing "Ver todo" (legacy — unused) */
.cat-verall--legacy {
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgb(201, 201, 202);
  display: grid;
  place-items: center;
  text-align: center;
  transition: transform .15s ease, border-color .15s ease, color .15s ease;
  color: var(--ink-mid);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.cat-verall:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  color: var(--blue);
}

/* Slider arrows */
.cat-arrow {
  position: absolute;
  /* pill row (~34px) + row-gap (20px) + half tile height - half arrow height */
  top: calc(50% - 23px);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgb(201, 201, 202);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: background .15s ease, border-color .15s ease, opacity .15s ease;
  z-index: 3;
  color: var(--ink-mid);
}

.cat-arrow:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.cat-arrow:disabled,
.cat-arrow[aria-disabled="true"] {
  opacity: 0.35;
  pointer-events: none;
  display: none;
}

@media(max-width:1280px) {

  .cat-row__scroller,
  .cat-row--two-rows .cat-row__scroller {
    grid-auto-columns: calc((100% - 5 * var(--gap)) / 5)
  }
}

@media(max-width:980px) {

  .cat-row__scroller,
  .cat-row--two-rows .cat-row__scroller {
    grid-auto-columns: calc((100% - 5 * var(--gap)) / 3)
  }
}

@media(max-width:768px) {

  .cat-row__scroller,
  .cat-row--two-rows .cat-row__scroller {
    grid-auto-columns: calc((100% - 5 * var(--gap)) / 3)
  }
}

@media(max-width:568px) {

  .cat-row__scroller,
  .cat-row--two-rows .cat-row__scroller {
    grid-auto-columns: calc((100% - 5 * var(--gap)) / 2)
  }
}


.cat-arrow--prev {
  left: -23px
}

.cat-arrow--next {
  right: -23px
}

.cat-arrow svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1024px) {
  .cat-arrow--prev {
    left: 5px;
  }

  .cat-arrow--next {
    right: 5px;
  }
}

/* ---- HIGHLIGHT BANNERS (between rows) ---- */
.home-series {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}

.serie-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 231px;
  display: flex;
  align-items: center;
  color: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.10);
}

.serie-card__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.serie-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 60%, rgba(0, 0, 0, 0) 100%);
}

.serie-card--domotica .serie-card__bg {
  background-image: url("../img/home-serie-domotica-bg.jpg");
}

.serie-card--perfil .serie-card__bg {
  background-image: url("../img/home-serie-perfil-bg.jpg");
}

.serie-card__body {
  position: relative;
  z-index: 1;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 60%;
}

.serie-card h3 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  text-wrap: balance;
}

.serie-card .pill-btn {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
  align-self: flex-start;
}

.serie-card .pill-btn:hover {
  background: #fff;
  color: var(--ink);
}

/* =========================================================
     RESPONSIVE — home body
     ========================================================= */
@media (max-width: 1100px) {
  .novedades {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .home-banners {
    grid-template-columns: 1fr;
  }

  .home-series {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .cat-row {
    --tile-w: 150px;
  }
}

@media (max-width: 600px) {
  .home-hero h1 {
    font-size: 2rem;
  }

  .home-hero__lead {
    font-size: 1.062rem;
  }

  .home-hero__search {
    height: 56px;
    padding: 6px 6px 6px 18px;
    max-width: 100%;
  }

  .home-banner.catalogo,
  .home-banner.servicio {
    background-size: 150%;
    padding-top: 50%;
    background-color: #fff;

  }

  .home-banner__body {
    width: 100%;
    padding: 20px;
  }

  .home-hero__search input {
    font-size: 1rem;
  }

  .home-hero__search button {
    width: 44px;
    height: 44px;
  }

  .home-banner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-banner__body {
    padding: 22px;
  }

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

  .novedades>.nov-card:nth-child(n+5) {
    display: flex;
  }

  .novedades>.nov-card:nth-child(n+7) {
    display: none;
  }

  .nov-card__label {
    font-size: 0.75rem;
  }

  .fichas {
    height: 80px;
    padding: 0 18px;
    border-radius: 14px;
  }

  .fichas h3 {
    font-size: 1.125rem;
    white-space: normal;
    line-height: 1.1;
  }

  .pill-btn {
    padding: 9px 18px;
    font-size: 0.8125rem;
  }

  .serie-card__body {
    max-width: 78%;
    padding: 22px 22px;
  }

  /* MOBILE — categorías 2 por fila (incl. cabecera fija) */
  .cat-row__viewport {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .cat-row__scroller-wrap {
    grid-column: 1 / -1;
  }

  .cat-tile,
  .cat-card-h,
  .cat-card-h__img {
    width: 100%;
  }

  .cat-verall-float,
  .cat-row__verall {
    display: none;
  }

  .cat-tile {
    width: 100%;
  }

  .cat-arrow {
    display: none;
  }

  .cat-lead__title {
    font-size: 1rem;
  }

  .cat-lead__count {
    font-size: 0.75rem;
  }

  .cat-card-h__label {
    font-size: 0.75rem;
  }
}

/* =========================================================
     ILUMINACIÓN — page body
     ========================================================= */
.ilum {
  --gutter: clamp(20px, 6.6vw, 114px);
  background: rgb(241, 241, 241);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 4vw, 53px);
  padding-bottom: clamp(50px, 6vw, 80px);
}


/* ---- Section wrapper ---- */
.ilum-section {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0px;
  box-sizing: border-box;
}

/* ---- Featured series cards (2 columns) ---- */
.ilum-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 40px);
  width: 100%;
  box-sizing: border-box;
}

.feat-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  aspect-ratio: 750 / 231;
  min-height: 200px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: block;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.feat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.feat-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.feat-card__bg {
  position: absolute;
  inset: 0;
  background-color: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.35));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.feat-card__thumb {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  height: 70%;
  max-height: 70%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.feat-card__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.feat-card__thumb--circle {
  width: 148px;
  height: 148px;
  max-height: none;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 5px solid #fff;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  top: 50%;
  transform: translateY(-50%);
}

.feat-card__thumb--circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feat-card__body {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: clamp(18px, 2.2vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  max-width: 60%;
}

.feat-card__body h3 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  text-wrap: balance;
}

.feat-card__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background .15s ease;
}

.feat-card__btn::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
}

.feat-card:hover .feat-card__btn {
  background: var(--blue-deep);
}

/* ---- Categories grid ---- */
.ilum-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: clamp(20px, 2.5vw, 40px);
  row-gap: clamp(20px, 2.5vw, 40px);
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  color: rgb(108, 110, 112);
  transition: transform .15s ease;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

.cat-card:hover {
  transform: translateY(-2px);
}

.cat-card:hover .cat-card__label {
  color: var(--blue);
}

.cat-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background-color: #fff;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  border: 1px solid rgb(201, 201, 202);
  transition: border-color .15s ease;
}

.cat-card.is-active .cat-card__img {
  border-color: var(--blue);
  border-width: 2px;
}

.cat-card.is-active .cat-card__label {
  color: var(--blue);
}

.cat-card__label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
  transition: color .15s ease;
}

.cat-card__count {
  font-weight: 500;
  color: rgb(150, 152, 154);
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .ilum-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .ilum-features {
    grid-template-columns: 1fr;
  }

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

  .head__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
  }

  .head__title {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .head__subtitle {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .ilum-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .feat-card {
    aspect-ratio: auto;
    min-height: 180px;
  }

  .feat-card__body {
    max-width: 65%;
  }

  .feat-card__thumb {
    right: 3%;
  }

  .feat-card__thumb--circle {
    width: 120px;
    height: 120px;
  }

  .head__icon {
    width: 40px;
    height: 40px;
  }

  .head__icon img {
    width: 14px;
    height: 17px;
  }

  .header-base {
    padding-left: 0;
    padding-right: 0;
  }

  .head__inner {
    padding-left: 15px;
    padding-right: 15px;
  }

  .ilum-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* ==========================================
   APLIQUES
   ========================================== */


/* =========================================================
     APLIQUES — Hero compact + breadcrumb
     ========================================================= */

.crumb {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}

.crumb__parent {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.18s ease;
}

.crumb__parent:hover {
  color: rgba(255, 255, 255, 0.85);
}

.crumb__current {
  color: #fff;
}

.crumb__count {
  font-weight: 500;
  font-size: clamp(0.9375rem, 1.1vw, 1.125rem);
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.75);
  align-self: center;
}

/* =========================================================
     APLIQUES — Body layout (sidebar + list)
     ========================================================= */
.cat-body {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 30px var(--pad-x) 80px;
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: 40px;
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .cat-body {
    grid-template-columns: 1fr;
  }
}

/* ---------- Sidebar ---------- */
.filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
}

.filter-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.04em;
  color: #000;
}

.check {
  display: inline-flex;
  align-self: flex-end;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.04em;
  color: var(--ink-mid);
  cursor: pointer;
  user-select: none;
}

.check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check .box {
  width: 12px;
  height: 12px;
  border: 1px solid rgb(201, 201, 202);
  border-radius: 2px;
  background: #fff;
  transition: all 0.15s ease;
  position: relative;
}

.check input:checked+.box {
  background: var(--blue);
  border-color: var(--blue);
}

.check input:checked+.box::after {
  content: "";
  position: absolute;
  inset: 1.5px 2px 2px 1.5px;
  background: #fff;
  clip-path: polygon(14% 50%, 0 64%, 38% 100%, 100% 18%, 86% 6%, 38% 72%);
}

.check:hover {
  color: var(--ink);
}

.filter-divider {
  height: 1px;
  background: rgb(201, 201, 202);
  width: 203px;
  align-self: flex-end;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
  margin-top: 4px;
}

.chip {
  padding: 2px 8px;
  min-width: 41px;
  text-align: right;
  border: 1px solid rgb(201, 201, 202);
  border-radius: 3px;
  background: #fff;
  font-size: 0.9375rem;
  color: var(--ink-mid);
  letter-spacing: -0.04em;
  transition: all 0.15s ease;
}

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

.chip.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.side-banner {
  margin-top: 12px;
  display: block;
  width: 268px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.side-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.side-banner__img {
  height: 200px;
  background: #eee center / cover no-repeat;
  border-bottom: 1px solid rgba(156, 156, 156, 0.18);
}

.side-banner__body {
  padding: 16px 14px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-banner__body h4 {
  margin: 0;
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgb(45, 150, 236);
}

.side-banner__body p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink-mid);
}

.side-banner__btn {
  align-self: flex-start;
  margin-top: 4px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--blue-deeper);
  color: #fff;
  font-size: 0.9375rem;
  letter-spacing: -0.04em;
  transition: background 0.15s ease;
}

.side-banner:hover .side-banner__btn {
  background: var(--blue);
}

/* =========================================================
     APLIQUES — Product cards
     ========================================================= */
.prod-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.prod-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.prod-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.prod-card.is-open {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.10);
}

.prod-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  padding: 20px;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
  max-height: 220px;
  opacity: 1;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, padding 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.prod-card.is-open .prod-row {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}

.prod-row__gallery {
  display: flex;
  gap: 7px;
  align-items: flex-start;
}

.prod-thumb {
  position: relative;
  width: 164px;
  height: 164px;
  border-radius: 7px;
  border: 1px solid rgb(201, 201, 202);
  background: #fff center / contain no-repeat;
}

.prod-thumb--mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 35px;
}

.prod-thumb--mini>div {
  width: 35px;
  height: 35px;
  border-radius: 4px;
  border: 1px solid rgb(201, 201, 202);
  background: #fff center / contain no-repeat;
}

.prod-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prod-title {
  margin: 0;
  font-weight: 600;
  font-size: 1.275rem;
  line-height: 1.1;
  color: var(--blue);
  letter-spacing: -0.01em;
}

.prod-attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.prod-attr {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--navy);
}

.prod-attr__val {
  padding: 3px 8px;
  min-width: 60px;
  text-align: center;
  border: 1px solid rgb(201, 201, 202);
  border-radius: 4px;
  color: var(--ink-mid);
  font-size: 0.875rem;
}

.prod-actions {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  color: var(--blue);
  font-size: 0.75rem;
}

.prod-actions a,
.prod-actions button {
  color: var(--blue);
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
}

.prod-actions>*:first-child {
  padding-left: 0;
}

.prod-actions .sep {
  width: 1px;
  height: 18px;
  background: rgb(201, 201, 202);
}

.prod-cta {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--blue);
  border: 1px solid #fff;
  color: #fff;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.18s ease, opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(2px);
  pointer-events: none;
}

.prod-card:hover .prod-cta,
.prod-card:focus-within .prod-cta {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.prod-cta:hover {
  background: var(--blue-deep);
}

.prod-cta__chev {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.prod-card.is-open .prod-cta__chev {
  transform: rotate(180deg);
}

/* ---------- Open detail (animated reveal) ---------- */
.prod-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.prod-card.is-open .prod-detail {
  grid-template-rows: 1fr;
}

.prod-detail__close {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: currentColor;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.prod-detail__close:hover {
  background: rgba(0, 0, 0, 0.16);
}

.prod-card.is-open .prod-detail__close {
  display: flex;
}

.prod-detail__inner {
  overflow: hidden;
  min-height: 0;
}

.prod-detail__pad {
  padding: 20px 20px 26px 20px;
  display: grid;
  grid-template-columns: calc(30% - 20px) calc(70% - 20px);
  gap: 40px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease 0.05s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
}

.prod-card.is-open .prod-detail__pad {
  opacity: 1;
  transform: translateY(0);
}

.det-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.prod-detail hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  grid-column: span 2;
  width: 90%;
  border-color: rgb(239 239 239 / 22%);
}

.det-hero {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  border: 1px solid rgb(201, 201, 202);
  background: #fff center / contain no-repeat;
  position: relative;
  overflow: hidden;
}

.det-zoom {
  position: absolute;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mid);
  cursor: pointer;
}

.det-zoom--tl {
  top: 12px;
  left: 12px;
}

.det-zoom--c {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.85;
}

.det-zoom {
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.det-hero:hover .det-zoom {
  opacity: 1;
  pointer-events: auto;
}

.det-hero:hover .det-zoom--c {
  opacity: 0.95;
}

@media (min-width: 1600px) {
  .prod-detail__pad {
    grid-template-columns: calc(50% - 20px) calc(50% - 20px);
  }

  .det-row__col1,
  .det-row__col2 {
    width: 100%;
  }

  .det-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.det-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.det-thumbs>div {
  width: 75px;
  height: 75px;
  border-radius: 5px;
  border: 1px solid rgb(201, 201, 202);
  background: #fff center / cover no-repeat;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.det-thumbs>div:hover {
  border-color: var(--blue);
}

.det-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.det-title {
  margin: 0;
  font-weight: 600;
  font-size: 1.275rem;
  color: var(--blue);
  line-height: 1.15;
  padding-right: 30px;
}

.det-section h4 {
  margin: 0 0 14px;
  font-weight: 700;
  color: #000;
}

.det-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 0 0 14px;
}

.det-row+.det-row {
  border-top: 1px dashed rgb(201, 201, 202);
  padding-top: 14px;
}

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

.det-ref {
  font-size: 0.8125rem;
  color: rgb(201, 201, 202);
  letter-spacing: 0.02em;
}

.det-name {
  font-size: 0.9575rem;
  color: #000;
  line-height: 1.25;
}

.det-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  color: var(--blue);
  margin-top: 4px;
  align-self: flex-start;
}

.det-row__col2 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.det-specs {
  width: 48%;
  border: 1px solid rgb(201, 201, 202);
  border-radius: 5px;
}

.det-spec {
  border-bottom: solid 1px rgb(201, 201, 202);
  padding: 14px 10px;
}

.det-spec:last-child {
  border-bottom: 0;
}

.det-spec__label {
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

.det-spec__val {
  display: block;
  font-size: 0.8125rem;
}

@media(min-width: 1024px) and (max-width: 1300px) {
  .prod-detail__pad {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media(max-width: 578px) {
  .det-row__col2 {
    grid-template-columns: 1fr;
  }
}

.det-acc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 300px;
  overflow-y: scroll;
  padding-right: 10px;
}

.det-acc__row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  padding: 12px 0 14px;
  border-bottom: 1px dashed rgb(201, 201, 202);
  align-items: center;
}

.det-acc__row:last-child {
  border-bottom: 0;
}

.det-acc__img {
  width: 120px;
  height: 105px;
  border-radius: 5px;
  border: 1px solid rgb(201, 201, 202);
  background: #fff center / cover no-repeat;
}

.det-acc__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.det-acc__name {
  font-size: 0.9375rem;
  color: var(--ink-mid);
}

.det-acc__more {
  font-size: 0.8125rem;
  color: var(--blue);
  align-self: flex-start;
}

.det-acc__ficha {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--blue);
  white-space: nowrap;
}

.accessories-cont {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .prod-row {
    grid-template-columns: auto 1fr;
    gap: 20px;
    /*padding-top: 70px;*/
  }

  .prod-detail hr {
    grid-column: 1;
  }

  .accessories-cont {
    grid-column: 1;
  }

  .prod-cta {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    top: 16px;
    right: 16px;
  }

  .prod-detail__pad {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .det-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .det-acc__img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
}

@media (max-width: 768px) {
  .side-banner {
    width: 100%;
  }

  .prod-row {
    max-height: initial;
    grid-template-columns: 1fr;
  }

  .prod-thumb--mini>div:nth-child(4) {
    display: none;
  }

  .prod-attrs {
    gap: 10px;
    width: 100%;
  }

  .prod-attr {
    justify-content: space-between;
    width: 100%;
  }

  .prod-actions {}

  .prod-actions a {
    padding: 5px 0 !important;
    display: block;
    width: 100%;
  }

  .prod-actions a svg {
    display: inline;
  }

  .prod-actions .sep {
    display: none !important;
  }

  .det-spec {
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 560px) {

  .det-acc__row {
    grid-template-columns: 1fr;
  }

  .det-specs {
    width: 100%;
  }

  .det-specs:first-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .det-specs:last-child {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-top: 0;
  }

  .prod-thumb {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
  }

  .prod-thumb--mini>div {
    width: 50px;
    height: 50px;
  }

  .prod-thumb--mini {
    width: 50px;
  }

  .prod-title {
    font-size: 1.125rem;
  }
}

/* =========================================================
     LIGHTBOX
     ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 19, 35, 0.85);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 120px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox.is-open {
  display: flex;
  opacity: 1;
}

.lightbox__stage {
  position: relative;
  max-width: min(900px, 100%);
  max-height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.lightbox.is-open .lightbox__img {
  transform: scale(1);
  opacity: 1;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  z-index: 2;
}

.lightbox__close {
  top: -64px;
  right: 0;
  transform: none;
  width: 44px;
  height: 44px;
}

.lightbox__close:hover {
  background: #fff;
}

.lightbox__nav--prev {
  left: -64px;
}

.lightbox__nav--next {
  right: -64px;
}

.lightbox__nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.lightbox__counter {
  position: absolute;
  bottom: -44px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.lightbox__thumbs {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.lightbox__thumbs>button {
  width: 56px;
  height: 56px;
  border-radius: 5px;
  background: #fff center / cover no-repeat;
  opacity: 0.55;
  transition: opacity 0.15s ease, outline 0.15s ease;
  outline: 2px solid transparent;
}

.lightbox__thumbs>button:hover {
  opacity: 0.85;
}

.lightbox__thumbs>button.is-active {
  opacity: 1;
  outline-color: #fff;
}

@media (max-width: 720px) {
  .lightbox {
    padding: 60px 12px 130px;
  }

  .lightbox__nav--prev {
    left: 8px;
  }

  .lightbox__nav--next {
    right: 8px;
  }

  .lightbox__close {
    top: -52px;
    right: 8px;
  }
}


/* =========================================================
     NOSOTROS — page body
     ========================================================= */
.nosotros {
  --gutter: clamp(20px, 6.5vw, 111.5px);
  display: flex;
  flex-direction: column;
  gap: clamp(50px, 6vw, 80px);
  padding-bottom: clamp(50px, 6vw, 80px);
}

/* ---- Hero head band ---- */
/* ---- Section wrapper (centered to gutter) ---- */
.nos-section {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0;
}

/* ---- Intro: text left + photo collage right ---- */
.nos-intro {
  display: grid;
  grid-template-columns: minmax(0, 701fr) minmax(0, 724fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.nos-intro__text h2 {
  margin: 0 0 40px;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--blue);
  text-wrap: balance;
}

.nos-intro__text p {
  margin: 0 0 18px;
  font-size: 1.125rem;
  line-height: 1.45;
  letter-spacing: -0.04em;
  color: rgb(68, 68, 68);
}

.nos-intro__text p:last-child {
  margin-bottom: 0;
}

.nos-intro__text strong {
  font-weight: 700;
  color: var(--ink);
}

/* Photo collage (3 overlapping photos) */
.nos-collage {
  position: relative;
  aspect-ratio: 724 / 446;
  width: 100%;
}

.nos-collage__photo {
  position: absolute;
  border-radius: 15px;
  border: 10px solid #fff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.nos-collage__photo--1 {
  /* bottom-left */
  left: 0%;
  top: 30.7%;
  width: 50.7%;
  aspect-ratio: 367 / 247;
  background-image: url("../img/nosotros-photo-1.jpg");
  z-index: 1;
}

.nos-collage__photo--2 {
  /* top-right (largest, the office shot) */
  left: 38.3%;
  top: 0%;
  width: 61.7%;
  aspect-ratio: 447 / 206;
  background-image: url("../img/nosotros-photo-2.jpg");
  z-index: 2;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.nos-collage__photo--3 {
  /* bottom-right */
  left: 47.5%;
  top: 52.7%;
  width: 46.7%;
  aspect-ratio: 338 / 211;
  background-image: url("../img/nosotros-photo-3.jpg");
  z-index: 3;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

/* ---- Almacen: 2 column grid ---- */
.nos-almacen {
  display: grid;
  grid-template-columns: minmax(0, 809fr) minmax(0, 632fr);
  gap: clamp(30px, 3vw, 40px);
  align-items: start;
}

.nos-almacen__left {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 3vw, 40px);
}

.nos-almacen__top {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: clamp(30px, 3vw, 40px);
}

.nos-almacen__top>.nos-photo--shelves {
  flex: 1 1 280px;
  max-width: 280px;
  align-self: stretch;
}

.nos-almacen__top>.nos-stat-card {
  flex: 1 1 0;
  align-self: stretch;
}

.nos-photo {
  border-radius: 10px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.nos-photo--shelves {
  background-image: url("../img/nosotros-warehouse-1.jpg");
  min-height: 280px;
}

.nos-photo--aisle {
  background-image: url("../img/nosotros-warehouse-2.jpg");
  aspect-ratio: 809 / 262;
  min-height: 220px;
}

.nos-stat-card {
  border-radius: 10px;
  background: linear-gradient(rgb(0, 113, 206) 0%, rgb(0, 57, 104) 100%);
  color: #fff;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  min-height: 305px;
}

.nos-stat-card__strong,
.nos-stat-card__soft {
  font-size: clamp(1.375rem, 2.4vw, 2.188rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0;
}

.nos-stat-card__strong {
  font-weight: 700;
}

.nos-stat-card__soft {
  font-weight: 400;
}

.nos-almacen__right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nos-almacen__right p {
  margin: 0 0 18px;
  font-size: 1.125rem;
  line-height: 1.45;
  letter-spacing: -0.04em;
  color: rgb(68, 68, 68);
}

.nos-almacen__right p:last-of-type {
  margin-bottom: 0;
}

.nos-almacen__right strong {
  font-weight: 700;
  color: var(--ink);
}

.nos-offer h3 {
  margin: 0 0 14px;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue);
}

.nos-offer__lead {
  margin: 0 0 22px;
  font-size: 1.125rem;
  line-height: 1.45;
  letter-spacing: -0.04em;
  color: rgb(68, 68, 68);
}

.nos-offer__lead+.nos-offer__lead {
  margin-top: -10px;
}

.nos-offer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nos-offer__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.125rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: rgb(68, 68, 68);
}

.nos-offer__list li::before {
  content: "";
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent var(--blue);
  border-radius: 1px;
}

/* ---- Map ---- */
.nos-map {
  width: 100%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.6) 28%, rgba(255, 255, 255, 0) 50%),
    url("../img/nosotros-map.jpg") center / cover no-repeat;
  min-height: clamp(320px, 42vw, 736px);
  padding: clamp(30px, 4vw, 45px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nos-map h2 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue);
}

.nos-map p {
  margin: 0;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #000;
}


/* ==========================================
   ILUMINACIÓN
   ========================================== */


/* =========================================================
     RESPONSIVE — collapse all columns at first breakpoint
     ========================================================= */
@media (max-width: 980px) {

  .nos-intro,
  .nos-almacen,
  .nos-almacen__top {
    grid-template-columns: 1fr;
  }

  .nos-almacen__top {
    flex-direction: column;
  }

  .nos-almacen__top>.nos-photo--shelves {
    max-width: none;
    flex-basis: auto;
  }

  .nos-almacen__left,
  .nos-almacen__right {
    width: 100%;
  }

  /* Stack the collage instead of overlapping */
  .nos-collage {
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .nos-collage__photo {
    position: static;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-width: 6px;
  }

  .nos-collage__photo--2 {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 7;
  }

  .nos-photo--shelves {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .nos-photo--aisle {
    aspect-ratio: 16 / 6;
    min-height: 0;
  }

  .nos-stat-card {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .nos-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .nos-map {
    padding-left: 15px;
    padding-right: 15px;
  }

  .nos-stat-card {
    padding: 28px 22px;
  }
}

/* ==========================================
   SERVICIO TÉCNICO
   ========================================== */

.st-page {
  background: var(--page-bg);
  display: flex;
  flex-direction: column;
}

/* ---- Hero ---- */
.st-head {
  position: relative;
  min-height: 408px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    url("../img/st-hero-bg.jpg") center / cover no-repeat,
    var(--navy);
  color: #fff;
  padding: clamp(60px, 8vw, 138px) 0 clamp(60px, 8vw, 100px);
}


.st-head__inner {
  position: relative;
  z-index: 1;
}

.st-head h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.5vw, 2.8125rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.st-head__sub {
  margin: 0;
  font-size: clamp(1.125rem, 2vw, 1.625rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  opacity: 0.9;
}

/* ---- Disclaimer ---- */
.st-disclaimer {
  padding: 35px 20px 75px 20px;
  text-align: center;
  margin-top: -50px;
  z-index: 2;
  background: url(../img/adorno.png) top center no-repeat;
  background-size: min(780px, 95%) 50px;
  display: flex;
  justify-content: center;
}


.st-note {
  width: min(500px, 70%)
}

.st-disclaimer__main {
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.04em;
  width: min();
}

.st-disclaimer__note {
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.4;
  margin: 0 auto;
  letter-spacing: -0.04em;
  max-width: 540px;
}

/* ---- Cards ---- */
.st-cards {
  padding: 0 0 clamp(40px, 5vw, 60px);
}

.st-cards__inner {
  display: flex;
  gap: clamp(16px, 3vw, 43px);
  align-items: stretch;
}

.st-card {
  flex: 1;
  background: #fff;
  border: 1px solid rgb(201, 201, 202);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.st-card__title {
  font-size: clamp(1.5rem, 2.5vw, 2.1875rem);
  font-weight: 600;
  color: var(--blue);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.st-card__title strong {
  font-weight: 800;
}

.st-card__subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.st-card__body {
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.4;
  margin: 0;
  letter-spacing: -0.04em;
}

.st-card__section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue);
  margin: 0;
  letter-spacing: -0.04em;
}

/* Reutiliza el mismo patrón de bullet triangular que .nos-offer__list */
.st-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.st-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.st-card__list li::before {
  content: "";
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--blue);
  margin-top: 4px;
}

/* ---- CTA ---- */
.st-cta {
  padding: 0 0 clamp(60px, 6vw, 80px);
}

.st-cta__inner {
  display: flex;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.st-cta__card {
  flex-shrink: 0;
  width: clamp(280px, 35vw, 547px);
  min-height: 247px;
  border-radius: 10px;
  background: linear-gradient(121.82deg, var(--blue) 2.07%, var(--navy-2) 96.44%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.st-cta__card-title {
  font-size: clamp(1.375rem, 2.2vw, 2.1875rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
  max-width: 55%;
}

.st-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 28px;
  border-radius: 999px;
  background: var(--blue-deeper);
  border: 2px solid #fff;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  transition: background 0.15s ease;
  position: relative;
  z-index: 1;
  align-self: flex-start;
}

.st-cta__btn:hover {
  background: var(--blue-deep);
}

.st-cta__card-img {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  overflow: hidden;
  border-radius: 0 8px 8px 0;
}

.st-cta__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
  max-width: none;
}

.st-cta__info {
  flex: 1;
  min-width: 0;
}

.st-cta__info-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 20px;
  letter-spacing: -0.04em;
}

.st-cta__info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.st-cta__info-list li {
  font-size: 1.125rem;
  color: #444;
  line-height: 1.5;
  letter-spacing: -0.04em;
}

/* Responsive */
@media (max-width: 900px) {
  .st-cards__inner {
    flex-direction: column;
  }

  .st-cta__inner {
    flex-direction: column;
  }

  .st-cta__card {
    width: 100%;
  }

  .st-cta__card-title {
    max-width: 60%;
  }

  .st-note * {
    font-size: 1em;
  }
}

@media (max-width: 600px) {
  .st-disclaimer {
    padding-bottom: 30px;
  }

  .st-head__sub {
    padding-left: 0;
  }

  .st-cta__card-img {
    width: 45%;
  }

  .st-cta__card-title {
    max-width: 52%;
  }
}


/* ==========================================
   DESCARGAS
   ========================================== */


/* Search */
.descargas-search {
  padding: 0px var(--pad-x) 40px;
  margin-top: -30px;
  z-index: 2;
  display: flex;
  justify-content: center;
  position: relative;

  background: var(--page-bg);

}

.descargas-search__bar {
  display: flex;
  width: 685px;
  max-width: 100%;
  height: 56px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  transform: translateY(-30px);
}

.descargas-search__bar input {
  flex: 1;
  border: none;
  padding: 0 20px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  font-family: inherit;
}

.descargas-search__bar input::placeholder {
  color: var(--ink-mid);
}

.descargas-search__bar button {
  width: 66px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s ease;
}

.descargas-search__bar button:hover {
  background: var(--blue-deep);
}

.descargas-search__bar button svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

/* Table */
.descargas-table-section {
  background: var(--page-bg);
  padding: 0 var(--pad-x) 60px;
  display: flex;
  justify-content: center;
  min-height: 500px;
}

.descargas-table-wrap {
  width: 850px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.descargas-table {
  width: 100%;
  border-collapse: collapse;
}

.descargas-table thead th {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.descargas-table tbody tr {
  height: 39px;
}

.descargas-table tbody tr:nth-child(odd) {
  background: #fff;
}

.descargas-table tbody tr:nth-child(even) {
  background: var(--page-bg);
}

.descargas-table tbody td {
  font-size: 1rem;
  font-weight: 400;
  padding: 10px;
}

.descargas-table tbody tr:nth-child(odd) td {
  color: var(--ink-mid);
}

.descargas-table tbody tr:nth-child(even) td {
  color: #444;
}

.descargas-table thead th:nth-child(1),
.descargas-table tbody td:nth-child(1) {
  width: 21%;
}

.descargas-table thead th:nth-child(2),
.descargas-table tbody td:nth-child(2) {
  width: 59%;
}

.descargas-table thead th:nth-child(3),
.descargas-table tbody td:nth-child(3) {
  width: 20%;
  text-align: right;
}

.td-link {
  color: inherit;
  transition: color .15s ease;
}

.td-link:hover {
  color: var(--blue);
}

.dl-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  transition: color .15s ease;
}

.dl-link:hover {
  color: var(--blue);
}

.dl-link svg {
  width: 7px;
  height: 11px;
  flex-shrink: 0;
}

/* Pagination */
.descargas-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 24px;
}

.pag-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgb(88, 90, 93);
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  font-family: inherit;
  text-decoration: none;
}

.pag-btn.pag-disabled {
  background: rgb(200, 200, 200);
  cursor: default;
  pointer-events: none;
  opacity: 0.5;
}

.pag-btn:hover {
  background: var(--blue);
  color: #fff;
}

.pag-btn.pag-active {
  font-weight: 400;
  color: var(--blue);
}

.pag-btn.pag-active:hover {
  color: #fff;
}

.pag-btn.pag-arrow {
  background: rgb(153, 153, 153);
  color: #fff;
}

.pag-btn.pag-arrow:hover {
  background: var(--blue-deep);
}

.pag-btn.pag-arrow svg {
  width: 8px;
  height: 12px;
}

.pag-ellipsis {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgb(88, 90, 93);
  background: #fff;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .header-base h1 {
    font-size: 1.5rem;
  }

  .descargas-table thead th:nth-child(2),
  .descargas-table tbody td:nth-child(2) {
    display: none;
  }
}


/* ==========================================
   POLÍTICA DE PRIVACIDAD
   ========================================== */

.privacidad-body {
  background: var(--page-bg);
  padding: 48px var(--pad-x) 64px;
  display: flex;
  justify-content: center;
}

.privacidad-card {
  background: #fff;
  border-radius: 20px;
  max-width: 1024px;
  width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.privacidad-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

.privacidad-card a {
  color: var(--blue);
}

.privacidad-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin: 8px 0 0;
}

.privacidad-card ul,
.privacidad-card ol {
  margin: 0;
  padding-left: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacidad-card li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
}

@media (max-width: 768px) {
  .privacidad-card {
    padding: 28px 20px;
    border-radius: 12px;
  }

  .privacidad-card h3 {
    font-size: 0.9375rem;
  }

  .privacidad-card li {
    font-size: 0.9375rem;
  }

  .privacidad-card p {
    font-size: 0.9rem;
  }
}


/* ==========================================
   CONTACTO
   ========================================== */



/* Body */
.contact-body {
  background: var(--page-bg);
  padding: 40px var(--pad-x) 60px;
  display: flex;
  justify-content: center;
}

.contact-card {
  background: #fff;
  width: 984px;
  max-width: 100%;
  padding: 30px 38px;
  border-radius: 20px;
  margin-top: -60px;
  position: relative;
}

.contact-card__lead {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--ink-mid);
  margin: 0 0 20px;
}

/* Opción principal */
.copt {}

.copt__header {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 15px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 10px;

}

.copt__header:hover .copt__text strong {
  color: var(--blue);
}

.copt__radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgb(180, 180, 180);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s ease;
}

.copt__radio--sm {
  width: 14px;
  height: 14px;
}

.copt.is-active>.copt__header .copt__radio,
.csubopt.is-active>.csubopt__header .copt__radio {
  border-color: var(--blue);
}

.copt.is-active>.copt__header .copt__radio::after,
.csubopt.is-active>.csubopt__header .copt__radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.copt__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.copt__text strong {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  transition: color .15s ease;
}

.copt__text span {
  font-size: 0.9375rem;
  color: var(--ink-mid);
}

/* Acordeón body */
.copt__body {
  display: none;
  padding-bottom: 24px;
}

.copt.is-active>.copt__body {
  display: block;
}

.copt__body-inner {
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.copt__body-desc {
  font-size: 0.9375rem;
  color: var(--ink-mid);
  margin: 0;
}

/* Aviso amarillo */
.contact-alert {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgb(223, 176, 20, 0.2);
  padding: 14px 18px;
  border-radius: 4px;
}

.contact-alert__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgb(223, 176, 20, 1);
  color: #fff;
  font-size: 1.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-alert p {
  font-size: 1rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}

/* Info de contacto */
.contact-info-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9375rem;
  color: var(--ink);
}

.contact-info-row a {
  color: var(--blue);
}

/* Formulario */
.cform {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.cform input,
.cform textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 9px 14px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  border-radius: 5px;
  background: #fff;
  transition: border-color .15s ease;
}

.cform input:focus,
.cform textarea:focus {
  border-color: var(--blue);
}

.cform input::placeholder,
.cform textarea::placeholder {
  color: var(--ink-mid);
}

.cform textarea {
  resize: vertical;
  min-height: 110px;
}

.cform__btn {
  align-self: flex-end;
  background: rgb(9, 104, 182);
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  font-family: inherit;
  padding: 10px 32px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background .15s ease;
}

.cform__btn:hover {
  background: var(--blue-deep);
}

.cform__privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ink-mid);
  cursor: pointer;
}

.cform__privacy input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--blue);
  width: 14px;
  height: 14px;
  border: none;
  padding: 0;
}

.cform__privacy a {
  color: var(--blue);
}

/* Sub-opciones (Preventa / Post Venta) */
.csubopt {}

.csubopt__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  width: 100%;
}

.csubopt__header strong {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  transition: color .15s ease;
}

.csubopt__header:hover strong {
  color: var(--blue);
}

.csubopt__body {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding-left: 26px;
  padding-bottom: 16px;
}

.csubopt.is-active>.csubopt__body {
  display: flex;
}

/* Radios de requisitos */
.csubopt-prereqs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.csubopt-prereq {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--ink-mid);
  cursor: pointer;
}

.csubopt-prereq input[type="radio"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--blue);
}

.csubopt-prereq a {
  color: var(--blue);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-card {
    padding: 20px 16px;
  }

  .contact-card__lead {
    font-size: 1.328rem;
    text-align: center;
  }

  .contact-alert p {
    font-size: 0.956rem;
  }

  .contact-alert__icon {
    font-size: 1.169rem;
    width: 30px;
    height: 30px;
  }

  .contact-info-row {
    font-size: 0.797rem;
    flex-direction: column;
    gap: 6px;
  }

  .copt__text strong {
    font-size: 0.956rem;
  }

  .copt__text span {
    font-size: 0.797rem;
  }

  .copt__body-inner {
    padding-left: 0;
  }

  .copt__body-desc {
    font-size: 0.797rem;
  }

  .csubopt__header strong {
    font-size: 0.956rem;
  }

  .csubopt__body {
    padding-left: 0;
  }

  .csubopt-prereq {
    font-size: 0.797rem;
  }

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

  .cform input,
  .cform textarea {
    font-size: 0.797rem;
  }

  .cform__btn {
    font-size: 1.063rem;
  }

  .cform__privacy {
    font-size: 0.744rem;
  }
}

.filters__reset {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--blue-deeper);
  color: #fff;
  font-size: 0.9375rem;
  letter-spacing: -0.04em;
  transition: background 0.15s ease;
}

.icon-invert {
  filter: brightness(0) invert(1);
}

.video-fondo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Clave: hace que el video cubra todo sin deformarse */
  transform: translate(-50%, -50%);
  /* Lo centra perfectamente */
  z-index: 0;
  /* Va al fondo */
}

@media (max-width: 980px) and (min-width: 768px) {
  .side-banner__img {
    width: 40%;
    background: #eee center / cover no-repeat;
    background-position: -25%;
  }

  .side-banner {
    display: flex;
    width: 100%;
    flex-direction: row;
  }
}

/* =========================================================
   MOBILE FILTER BAR & DRAWER (< 980px)
   ========================================================= */
.filter-bar {
  display: none;
}

.filter-backdrop {
  display: none;
}

.filter-drawer__header {
  display: none;
}

@media (max-width: 979px) {

  main.ilum.categoria {
    gap: 0;
  }

  /* Bar below the nav */
  .filter-bar {
    display: flex;
    align-items: center;
    padding: 10px var(--pad-x);
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
    justify-content: space-between;
  }

  .filter-bar p {
    color: #9b9b9b;
    text-align: right;
    font-size: 0.75rem;
    margin: 0;
    padding: 0;
  }

  .filter-bar__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #e2f2ff;
    color: var(--blue);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .filter-bar__btn.has-active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
  }

  .filter-bar__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--blue-deeper);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
  }

  .filter-bar__btn.has-active .filter-bar__count {
    background: rgba(255, 255, 255, 0.35);
  }

  /* Backdrop */
  .filter-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 299;
  }

  .filter-backdrop.is-open {
    display: block;
  }

  /* Drawer: convert aside into a slide-in panel */
  .filters {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(300px, 85vw);
    background: #fff;
    z-index: 300;
    overflow-y: auto;
    padding: 0 20px 24px;
    text-align: left;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .filters.is-open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  }

  /* Drawer header */
  .filter-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 12px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 12px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }

  .filter-drawer__title {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #000;
  }

  .filter-drawer__close {
    padding: 4px;
    color: var(--ink-mid);
    transition: color 0.15s ease;
  }

  .filter-drawer__close:hover {
    color: var(--ink);
  }

  /* Reset desktop-specific alignment inside drawer */
  .filters .check {
    align-self: flex-start;
  }

  .filters .filter-divider {
    width: 100%;
    align-self: stretch;
  }

  .filters .chip-row {
    justify-content: flex-start;
  }

  /* Side banner: keep vertical inside the narrow drawer */
  .filters .side-banner {
    display: block !important;
    width: 100% !important;
    flex-direction: column !important;
  }

  .filters .side-banner__img {
    width: 100% !important;
    height: 150px;
    background-position: center !important;
  }

  .chip {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .filter-bar {
    position: sticky;
    top: 75px;
    z-index: 100;
  }

  .side-banner {
    display: none !important;
  }
}

.prod-thumb__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 100%;
  font-size: 11px;
  font-weight: 600;
  background: var(--blue-deeper);
  color: #fff;
  height: 35px;
  width: 35px;
  text-align: center;
  line-height: 35px;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.prod-thumb__badge--big {
  height: 50px;
  width: 50px;
  line-height: 50px;
  font-size: 16px;
}

.subfamilies-list {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  /*padding: 30px var(--pad-x) 30px;*/
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 8rem));
  column-gap: clamp(20px, 2.5vw, 40px);
  row-gap: clamp(20px, 2.5vw, 40px);
  justify-content: center;
}

.stock-in {
  display: flex;
  border-radius: 7px;
  background: oklch(0.982 0.018 155.826);
  color: oklch(0.527 0.154 150.069);
  width: auto;
  margin: 5px auto 5px 0;
  flex: 1 auto;
  padding: 3px 10px;
  font-size: 13px;
  border: 1px solid #D8F4E2;
}

.stock-out {
  display: flex;
  border-radius: 7px;
  background: oklch(0.971 0.013 17.38);
  color: oklch(0.505 0.213 27.518);
  width: auto;
  margin: 5px auto 5px 0;
  flex: 1 auto;
  padding: 3px 10px;
  font-size: 13px;
  border: 1px solid #FCDADB;
}

/*Cookies*/
#freeprivacypolicy-com---nb {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  top: initial;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  max-width: 100%;
  background-color: #dddddd;
}

#cc-nb-title,
.cc-pc-head-lang-select {
  display: none !important;
}

.freeprivacypolicy-com---nb .cc-nb-text {
  font-size: 14px !important;
  margin: 0 !important;
}

.freeprivacypolicy-com---nb .cc-nb-main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  padding: 20px !important;
}

.freeprivacypolicy-com---reset div {
  padding: 0 15px;
}

.cc-nb-buttons-container button {
  width: 100%;
}

.freeprivacypolicy-com---palette-light .cc-nb-okagree,
.freeprivacypolicy-com---palette-light .cc-cp-foot-save {
  background-color: var(--blue-deeper) !important;
}

.freeprivacypolicy-com---palette-light .cc-nb-reject {
  background-color: var(--blue-deeper) !important;
}

.freeprivacypolicy-com---pc-dialog {
  font-family: 'Cairo', sans-serif;
}

.freeprivacypolicy-com---pc-dialog .cc-cp-foot-byline {
  opacity: 0 !important;
}

.cc-cp-body-tabs li:nth-child(3) {
  display: none !important;
}

.termsfeed-com---nb-interstitial {
  bottom: 3vw !important;
  top: initial !important;
}

.termsfeed-com---palette-light .cc-nb-okagree,
.cc-cp-foot-save {
  background-color: var(--blue-deeper) !important;
}

.termsfeed-com---palette-light .cc-nb-reject {
  background-color: rgba(0, 113, 206, 0.6) !important;
}

@media(max-width:768px) {
  .freeprivacypolicy-com---pc-dialog .cc-cp-body-content-entry {
    padding: 25px 0 !important;
  }
}

#open_preferences_center {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--green-3);
  border-radius: 100%;
  padding: 10px;
  z-index: 50;
}