:root {
  --yellow: #EDCE15;
  --black: #000000;
  --white: #FFFFFF;
  --ink-92: rgba(0, 0, 0, .92);
  --ink-82: rgba(0, 0, 0, .82);
  --ink-64: rgba(0, 0, 0, .64);
  --ink-12: rgba(0, 0, 0, .12);
  --ink-07: rgba(0, 0, 0, .07);
  --white-90: rgba(255, 255, 255, .9);
  --white-72: rgba(255, 255, 255, .72);
  --white-16: rgba(255, 255, 255, .16);
  --white-08: rgba(255, 255, 255, .08);
  --shadow: 0 28px 70px rgba(0, 0, 0, .16);
  --radius: 8px;
  --max: 1180px;
}

@font-face {
  font-family: SentinelSans;
  src: url("assets/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: SentinelSans, system-ui, sans-serif;
  color: var(--black);
  background:
    radial-gradient(circle at 88% 0%, rgba(237, 206, 21, .16), transparent 28rem),
    linear-gradient(180deg, var(--white), var(--white));
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(0, 0, 0, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--white-08);
}
.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}
.brand img {
  width: 74px;
  height: 58px;
  object-fit: contain;
}
.brand span {
  font-size: 15px;
  letter-spacing: .08em;
}
.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white-72);
}
.main-nav a,
.nav-account,
.cart-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--white-72);
  font-size: 13px;
  font-weight: 800;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.main-nav a:hover,
.main-nav a:focus-visible,
.nav-account:hover,
.nav-account:focus-visible,
.cart-button:hover,
.cart-button:focus-visible {
  background: var(--white-08);
  color: var(--white);
  outline: none;
}
.main-nav small {
  color: var(--yellow);
  font-size: 10px;
  text-transform: uppercase;
}
.nav-divider {
  width: 1px;
  height: 26px;
  background: var(--white-16);
  margin: 0 4px;
}
.nav-account-register {
  background: var(--yellow);
  color: var(--black);
}
.nav-account-register:hover,
.nav-account-register:focus-visible {
  background: var(--white);
  color: var(--black);
}
.cart-button {
  border: 1px solid var(--yellow);
  color: var(--yellow);
}
.cart-button b {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-size: 11px;
  line-height: 1;
}
.cart-icon {
  font-size: 15px;
  line-height: 1;
}
.header-cta,
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 20px;
  font-weight: 900;
  font-size: 13px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.header-cta,
.btn-primary {
  background: var(--yellow);
  color: var(--black);
}
.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-secondary.light {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--white-16);
  border-radius: 999px;
  background: transparent;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  min-height: 760px;
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .52;
  filter: saturate(.88) contrast(1.08);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .68) 44%, rgba(0, 0, 0, .3) 100%),
    radial-gradient(circle at 76% 30%, rgba(237, 206, 21, .16), transparent 28rem);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(var(--white-08) 1px, transparent 1px),
    linear-gradient(90deg, var(--white-08) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 52px;
  align-items: center;
  padding: 72px 0;
}
.hero-copy {
  max-width: 780px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 900;
}
.eyebrow.dark { color: var(--black); }
.hero h1,
.section h2 {
  margin: 0;
  font-size: 64px;
  line-height: .96;
  font-weight: 900;
}

.hero h1 {
  font-weight: 600;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--white-72);
  font-size: 18px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-panel {
  display: grid;
  gap: 16px;
}
.spec-card,
.metric-row > div {
  border-radius: var(--radius);
  border: 1px solid var(--white-16);
  background: rgba(0, 0, 0, .48);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.main-spec {
  padding: 28px;
  border-left: 4px solid var(--yellow);
}
.main-spec span,
.metric-row span {
  display: block;
  color: var(--white-72);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
}
.main-spec strong {
  display: block;
  margin-top: 18px;
  color: var(--white);
  font-size: 28px;
  line-height: 1.08;
}
.main-spec p {
  margin: 16px 0 0;
  color: var(--white-72);
  line-height: 1.7;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.metric-row > div {
  padding: 18px;
}
.metric-row b {
  display: block;
  color: var(--yellow);
  font-size: 28px;
}

.trust-strip {
  background: var(--yellow);
  color: var(--black);
  border-bottom: 1px solid var(--ink-12);
}
.trust-grid {
  min-height: 62px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.trust-grid span {
  padding-left: 16px;
  border-left: 2px solid var(--black);
}

.section {
  padding: 104px 0;
  position: relative;
  scroll-margin-top: 96px;
}
.section:nth-of-type(even) {
  background: rgba(0, 0, 0, .035);
}
.split {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 60px;
  align-items: start;
}
.section h2 {
  font-size: 48px;
  color: var(--black);
}
.section-lead,
.section-head p,
.equipment .section-head p,
.contact p {
  margin: 0;
  color: var(--ink-64);
  font-size: 16px;
  line-height: 1.75;
}
.value-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.value-grid article {
  min-height: 178px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-12);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .06);
}
.value-grid span,
.category-card span,
.service-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}
.value-grid b {
  display: block;
  margin-top: 20px;
  font-size: 18px;
}
.value-grid p {
  margin: 10px 0 0;
  color: var(--ink-64);
  line-height: 1.6;
  font-size: 14px;
}

.section-head {
  max-width: 850px;
  margin-bottom: 38px;
}
.section-head.centered {
  text-align: center;
  margin-inline: auto;
}
.section-head.two-col {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr .65fr;
  gap: 44px;
  align-items: end;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-card {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  isolation: isolate;
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
  transition: transform .7s ease, opacity .3s ease;
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .20) 0%, rgba(0, 0, 0, .54) 42%, rgba(0, 0, 0, .92) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .48) 0%, rgba(0, 0, 0, .14) 100%);
}
.category-card div {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .28));
  text-shadow: 0 2px 16px rgba(0, 0, 0, .82);
}
.category-card h3 {
  margin: 20px 0 10px;
  font-size: 28px;
  color: var(--white);
}
.category-card p {
  min-height: 78px;
  color: rgba(255, 255, 255, .92);
  line-height: 1.58;
  font-weight: 600;
}
.category-card a,
.service-grid a,
.blog-grid a,
.product-card footer a {
  color: var(--yellow);
  font-weight: 900;
}
.category-card:hover img {
  transform: scale(1.06);
  opacity: .92;
}

.filtration {
  background: var(--white);
}
.brand-marquee {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--ink-12);
  background: var(--black);
  color: var(--white);
  margin-bottom: 28px;
}
.brand-track {
  display: flex;
  width: max-content;
  gap: 44px;
  padding: 20px 0;
  animation: marquee 26s linear infinite;
}
.brand-track span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand-track span:nth-child(3n) { color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

.filter-brand-panel {
  margin: 34px 0 38px;
  padding: 6px 0;
}
.filter-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 28px 34px;
  max-height: none;
  opacity: 1;
  overflow: visible;
}
.filter-logo-grid.is-open {
  max-height: none;
  opacity: 1;
}
.filter-logo-grid article {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}
.filter-logo-grid img {
  max-width: 150px;
  max-height: 72px;
  object-fit: contain;
  filter: contrast(1.04);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  border-radius: var(--radius);
  border: 1px solid var(--ink-12);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .07);
  display: flex;
  flex-direction: column;
}
.product-card img {
  width: 100%;
  aspect-ratio: 1 / .82;
  object-fit: cover;
  background: rgba(0, 0, 0, .05);
}
.product-card > div {
  padding: 18px;
  flex: 1;
}
.product-card small {
  color: var(--black);
  background: var(--yellow);
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.product-card h3 {
  margin: 18px 0 8px;
  font-size: 20px;
  line-height: 1.15;
}
.product-card p,
.product-card span {
  color: var(--ink-64);
  line-height: 1.55;
  font-size: 14px;
}
.product-card footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0 18px 18px;
}
.product-card footer button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 900;
}
.product-card footer a {
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-12);
  border-radius: 999px;
}
.special-filter {
  margin-top: 20px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.special-filter h3 { margin: 0; font-size: 26px; }
.special-filter p { margin: 8px 0 0; color: var(--white-72); }

.services {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .02)),
    var(--white);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-grid article {
  min-height: 420px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ink-12);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .12);
}
.service-image {
  position: relative;
  width: 100%;
  height: 178px;
  overflow: hidden;
  background: #0b0b0b;
}
.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .04) 0%, rgba(0, 0, 0, .35) 100%);
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.service-grid article:hover .service-image img {
  transform: scale(1.05);
}
.service-content {
  padding: 22px 24px 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.service-grid h3 {
  margin: 18px 0 12px;
  font-size: 24px;
  line-height: 1.1;
}
.service-grid p {
  color: var(--white-72);
  line-height: 1.65;
}
.service-grid a {
  margin-top: auto;
}

.products {
  background: var(--black);
  color: var(--white);
}
.catalog-card {
  min-height: 450px;
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 40px;
  align-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--white-16);
  background:
    radial-gradient(circle at 86% 14%, rgba(237, 206, 21, .24), transparent 19rem),
    rgba(255, 255, 255, .05);
  padding: 46px;
}
.catalog-card h2 { color: var(--white); font-size: 48px; }
.catalog-card p {
  color: var(--white-72);
  line-height: 1.75;
  max-width: 620px;
}
.catalog-visual {
  min-height: 300px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--black);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
}
.catalog-visual span { font-size: 13px; font-weight: 900; letter-spacing: .14em; }
.catalog-visual b { font-size: 88px; line-height: .85; }
.catalog-visual small { font-weight: 900; text-transform: uppercase; }

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.equipment-grid article {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--ink-12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
}
.equipment-grid img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}
.equipment-grid .equipment-product-img {
  padding: 12px;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 50%, rgba(237, 206, 21, .18), transparent 28%),
    linear-gradient(135deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .01));
}
.equipment-grid .scanner-img {
  padding: 34px 24px;
}
.equipment-grid article > div {
  padding: 26px;
}
.equipment-grid small {
  color: var(--ink-64);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.equipment-grid h3 {
  margin: 12px 0;
  font-size: 30px;
}
.equipment-grid p {
  color: var(--ink-64);
  line-height: 1.65;
}
.equipment-grid article > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact {
  background:
    radial-gradient(circle at 0% 20%, rgba(237, 206, 21, .16), transparent 24rem),
    var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 44px;
  align-items: start;
}
.contact h2 { font-size: 46px; }
.whatsapp-link {
  display: inline-flex;
  margin-top: 24px;
  min-height: 48px;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 900;
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--white-72);
  font-size: 13px;
  font-weight: 800;
}
.contact-form label:nth-last-of-type(2),
.contact-form label:nth-last-of-type(1),
.contact-form button {
  grid-column: 1 / -1;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--white-16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  padding: 13px 14px;
  outline: none;
}
.contact-form select option {
  color: var(--black);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--yellow);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.blog-grid article {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--ink-12);
  overflow: hidden;
}
.blog-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.blog-grid span,
.blog-grid h3,
.blog-grid p,
.blog-grid a {
  margin-left: 20px;
  margin-right: 20px;
}
.blog-grid span {
  display: inline-block;
  margin-top: 20px;
  color: var(--black);
  background: var(--yellow);
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.blog-grid h3 {
  font-size: 23px;
  line-height: 1.12;
}
.blog-grid p {
  color: var(--ink-64);
  line-height: 1.6;
}
.blog-grid a {
  display: inline-block;
  margin-bottom: 22px;
}

.footer {
  background: var(--black);
  color: var(--white);
  padding: 62px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 34px;
}
.footer img {
  width: 110px;
}
.footer p,
.footer a {
  color: var(--white-72);
  line-height: 1.65;
}
.footer h3 {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 13px;
  text-transform: uppercase;
}
.footer a {
  display: block;
  margin: 10px 0;
}
.footer-bottom {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--white-08);
  color: var(--white-72);
  font-size: 13px;
}

.modal-overlay,
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 0, 0, .56);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.modal-overlay.is-open,
.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.account-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transform: scale(.98);
  transition: opacity .22s ease, transform .22s ease;
}
.account-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.account-card {
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  position: relative;
  border-radius: 14px;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 38px 90px rgba(0, 0, 0, .32);
  border: 1px solid var(--ink-12);
  padding: 28px;
}
.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ink-12);
  background: var(--white);
  color: var(--black);
  font-size: 24px;
  line-height: 1;
}
.account-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 24px 42px 24px 0;
}
.account-tabs button {
  min-height: 42px;
  border: 1px solid var(--ink-12);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-weight: 900;
}
.account-tabs button.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
}
.account-form {
  display: none;
  gap: 14px;
}
.account-form.is-active {
  display: grid;
}
.account-form h2 {
  margin: -4px 0 8px;
  font-size: 34px;
  line-height: 1.05;
}
.account-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-64);
  font-size: 13px;
  font-weight: 800;
}
.account-form input {
  width: 100%;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .035);
  color: var(--black);
  padding: 13px 14px;
  outline: none;
}
.account-form input:focus {
  border-color: var(--yellow);
  background: var(--white);
}
.account-form small {
  color: var(--ink-64);
  line-height: 1.5;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 125;
  width: min(420px, 100vw);
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--white);
  color: var(--black);
  border-left: 1px solid var(--ink-12);
  box-shadow: -24px 0 70px rgba(0, 0, 0, .22);
  transform: translateX(105%);
  transition: transform .26s ease;
}
.cart-drawer.is-open {
  transform: translateX(0);
}
.cart-head {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  background: var(--black);
  color: var(--white);
}
.cart-head small {
  display: block;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
}
.cart-head strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
}
.cart-head button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--white-16);
  background: transparent;
  color: var(--white);
  font-size: 25px;
}
.cart-items {
  padding: 18px;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 12px;
}
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .025);
}
.cart-item strong {
  font-size: 14px;
  line-height: 1.35;
}
.cart-item span {
  display: block;
  margin-top: 5px;
  color: var(--ink-64);
  font-size: 12px;
}
.cart-item button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--ink-12);
  background: var(--white);
  color: var(--black);
  font-weight: 900;
}
.empty-cart {
  margin: 0;
  color: var(--ink-64);
  line-height: 1.6;
}
.cart-actions {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-top: 1px solid var(--ink-12);
  background: var(--white);
}
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  z-index: 70;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--black);
  border: 2px solid var(--black);
  box-shadow: var(--shadow);
  font-weight: 900;
}
.floating-whatsapp img {
  width: 30px;
  height: 30px;
}

.chatbot {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 75;
}
.chatbot-toggle {
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--white-16);
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  box-shadow: var(--shadow);
  font-weight: 900;
}
.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(360px, calc(100vw - 28px));
  border-radius: 12px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--white-16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .34);
  opacity: 0;
  transform: translateY(14px) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.chatbot-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.chatbot-head {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(237, 206, 21, .22), rgba(255, 255, 255, .04));
  border-bottom: 1px solid var(--white-08);
}
.chatbot-head small {
  display: block;
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.chatbot-head strong {
  display: block;
  margin-top: 4px;
}
.chatbot-head button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--white-16);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-size: 22px;
}
.chatbot-messages {
  max-height: 250px;
  overflow-y: auto;
  padding: 16px;
  display: grid;
  gap: 10px;
}
.bot-message,
.user-message {
  width: fit-content;
  max-width: 92%;
  padding: 11px 13px;
  border-radius: 12px;
  line-height: 1.45;
  font-size: 14px;
}
.bot-message {
  background: rgba(255, 255, 255, .08);
  color: var(--white-90);
}
.user-message {
  justify-self: end;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
}
.chatbot-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 16px 14px;
}
.chatbot-options button {
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid var(--white-16);
  background: rgba(255, 255, 255, .05);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}
.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--white-08);
}
.chatbot-form input {
  min-width: 0;
  border: 1px solid var(--white-16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  padding: 11px 13px;
  outline: none;
}
.chatbot-form input:focus {
  border-color: var(--yellow);
}
.chatbot-form button {
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  padding: 0 14px;
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto auto auto;
  }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: calc(100vh - 82px);
    display: none;
    padding: 24px 20px;
    background: var(--black);
    border-top: 1px solid var(--white-08);
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    z-index: 90;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a,
  .nav-account,
  .cart-button {
    justify-content: space-between;
    min-height: 58px;
    border-bottom: 1px solid var(--white-08);
    border-radius: 0;
  }
  .nav-divider {
    width: 100%;
    height: 1px;
    margin: 8px 0;
  }
  .nav-account-register,
  .cart-button {
    border-radius: 999px;
    border-bottom: 0;
    justify-content: center;
  }
  .header-cta { justify-self: end; }
  .hero-grid,
  .split,
  .contact-grid,
  .section-head.two-col,
  .catalog-card,
  .filter-brand-panel {
    grid-template-columns: 1fr;
  }
  .hero-panel { max-width: 680px; }
  .category-grid,
  .product-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--max)); }
  .site-header .brand span { display: none; }
  .brand img { width: 62px; height: 48px; }
  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }
  .hero,
  .hero-grid {
    min-height: auto;
  }
  .hero-grid {
    padding: 70px 0 52px;
    gap: 34px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .section h2,
  .catalog-card h2,
  .contact h2 {
    font-size: 34px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    padding: 18px 0;
  }
  .section { padding: 70px 0; }
  .value-grid,
  .category-grid,
  .product-grid,
  .service-grid,
  .equipment-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .filter-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .category-card { min-height: 420px; }
  .service-grid article { min-height: 390px; }
  .service-image { height: 210px; }
  .special-filter {
    align-items: flex-start;
    flex-direction: column;
  }
  .metric-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .catalog-card {
    padding: 24px;
  }
  .catalog-visual b { font-size: 62px; }
  
.modal-overlay,
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 0, 0, .56);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.modal-overlay.is-open,
.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.account-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transform: scale(.98);
  transition: opacity .22s ease, transform .22s ease;
}
.account-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.account-card {
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  position: relative;
  border-radius: 14px;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 38px 90px rgba(0, 0, 0, .32);
  border: 1px solid var(--ink-12);
  padding: 28px;
}
.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ink-12);
  background: var(--white);
  color: var(--black);
  font-size: 24px;
  line-height: 1;
}
.account-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 24px 42px 24px 0;
}
.account-tabs button {
  min-height: 42px;
  border: 1px solid var(--ink-12);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-weight: 900;
}
.account-tabs button.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
}
.account-form {
  display: none;
  gap: 14px;
}
.account-form.is-active {
  display: grid;
}
.account-form h2 {
  margin: -4px 0 8px;
  font-size: 34px;
  line-height: 1.05;
}
.account-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-64);
  font-size: 13px;
  font-weight: 800;
}
.account-form input {
  width: 100%;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .035);
  color: var(--black);
  padding: 13px 14px;
  outline: none;
}
.account-form input:focus {
  border-color: var(--yellow);
  background: var(--white);
}
.account-form small {
  color: var(--ink-64);
  line-height: 1.5;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 125;
  width: min(420px, 100vw);
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--white);
  color: var(--black);
  border-left: 1px solid var(--ink-12);
  box-shadow: -24px 0 70px rgba(0, 0, 0, .22);
  transform: translateX(105%);
  transition: transform .26s ease;
}
.cart-drawer.is-open {
  transform: translateX(0);
}
.cart-head {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  background: var(--black);
  color: var(--white);
}
.cart-head small {
  display: block;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
}
.cart-head strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
}
.cart-head button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--white-16);
  background: transparent;
  color: var(--white);
  font-size: 25px;
}
.cart-items {
  padding: 18px;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 12px;
}
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .025);
}
.cart-item strong {
  font-size: 14px;
  line-height: 1.35;
}
.cart-item span {
  display: block;
  margin-top: 5px;
  color: var(--ink-64);
  font-size: 12px;
}
.cart-item button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--ink-12);
  background: var(--white);
  color: var(--black);
  font-weight: 900;
}
.empty-cart {
  margin: 0;
  color: var(--ink-64);
  line-height: 1.6;
}
.cart-actions {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-top: 1px solid var(--ink-12);
  background: var(--white);
}
.floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }
  .chatbot {
    right: 14px;
    bottom: 84px;
  }
  .chatbot-panel {
    width: calc(100vw - 28px);
  }
  .account-card {
    padding: 22px;
  }
  .account-tabs {
    margin-right: 38px;
    grid-template-columns: 1fr;
  }
  .cart-drawer {
    width: 100vw;
  }
  .equipment-grid .equipment-product-img {
    height: 280px;
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Ajustes e-commerce solicitados */
.product-card > div {
  display: grid;
  align-content: start;
  gap: 8px;
}
.product-card h3 {
  margin: 10px 0 0;
}
.product-price {
  display: block;
  margin-top: 8px;
  color: var(--black);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.03em;
}
.product-card footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0 18px 18px;
}
.product-card footer a {
  display: none;
}
.quantity-selector {
  min-height: 42px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  border: 1px solid var(--ink-12);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, .025);
}
.quantity-selector button {
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--white);
  color: var(--black);
  font-size: 20px;
  font-weight: 900;
}
.quantity-selector button:hover,
.quantity-selector button:focus-visible {
  background: var(--yellow);
}
.quantity-selector span {
  text-align: center;
  color: var(--black);
  font-weight: 900;
  font-size: 15px;
}
.equipment-price {
  margin: 4px 0 10px;
}
.equipment-actions {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) 1fr 1fr;
  gap: 10px;
  align-items: center;
}
.equipment-actions .btn,
.equipment-actions button.btn {
  width: 100%;
  justify-content: center;
  border: 0;
}

/* Ventanas de cuenta y carrito en desktop */
.modal-overlay,
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 0, 0, .56);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.modal-overlay.is-open,
.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.account-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transform: scale(.98);
  transition: opacity .22s ease, transform .22s ease;
}
.account-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.account-card {
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  position: relative;
  border-radius: 14px;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 38px 90px rgba(0, 0, 0, .32);
  border: 1px solid var(--ink-12);
  padding: 28px;
}
.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ink-12);
  background: var(--white);
  color: var(--black);
  font-size: 24px;
  line-height: 1;
}
.account-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 24px 42px 24px 0;
}
.account-tabs button {
  min-height: 42px;
  border: 1px solid var(--ink-12);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-weight: 900;
}
.account-tabs button.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
}
.account-form {
  display: none;
  gap: 14px;
}
.account-form.is-active {
  display: grid;
}
.account-form h2 {
  margin: -4px 0 8px;
  font-size: 34px;
  line-height: 1.05;
}
.account-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-64);
  font-size: 13px;
  font-weight: 800;
}
.account-form input {
  width: 100%;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .035);
  color: var(--black);
  padding: 13px 14px;
  outline: none;
}
.account-form input:focus {
  border-color: var(--yellow);
  background: var(--white);
}
.account-form small {
  color: var(--ink-64);
  line-height: 1.5;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 125;
  width: min(440px, 100vw);
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  background: var(--white);
  color: var(--black);
  border-left: 1px solid var(--ink-12);
  box-shadow: -24px 0 70px rgba(0, 0, 0, .22);
  transform: translateX(105%);
  transition: transform .26s ease;
}
.cart-drawer.is-open {
  transform: translateX(0);
}
.cart-head {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  background: var(--black);
  color: var(--white);
}
.cart-head small {
  display: block;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
}
.cart-head strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
}
.cart-head button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--white-16);
  background: transparent;
  color: var(--white);
  font-size: 25px;
}
.cart-items {
  padding: 18px;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 12px;
}
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .025);
}
.cart-item strong {
  font-size: 14px;
  line-height: 1.35;
}
.cart-item span {
  display: block;
  margin-top: 5px;
  color: var(--ink-64);
  font-size: 12px;
}
.cart-subtotal {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}
.cart-qty-actions {
  display: grid;
  grid-template-columns: 32px 30px 32px 32px;
  align-items: center;
  gap: 5px;
}
.cart-qty-actions span {
  margin: 0;
  text-align: center;
  color: var(--black);
  font-weight: 900;
}
.cart-item button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--ink-12);
  background: var(--white);
  color: var(--black);
  font-weight: 900;
}
.cart-item button:hover,
.cart-item button:focus-visible {
  background: var(--yellow);
}
.cart-remove {
  color: var(--black);
}
.cart-total {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-top: 1px solid var(--ink-12);
  background: rgba(237, 206, 21, .18);
}
.cart-total span {
  color: var(--ink-64);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.cart-total strong {
  font-size: 22px;
  line-height: 1;
}
.empty-cart {
  margin: 0;
  color: var(--ink-64);
  line-height: 1.6;
}
.cart-actions {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-top: 1px solid var(--ink-12);
  background: var(--white);
}

/* Chatbot solo con ícono */
.chatbot {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 75;
}
.chatbot-toggle {
  position: relative;
  width: 56px;
  height: 56px;
  min-height: 56px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: #050505;
  color: var(--white);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
}
.chatbot-toggle:hover,
.chatbot-toggle:focus-visible {
  transform: translateY(-2px);
  border-color: var(--yellow);
}
.chatbot-icon {
  width: 27px;
  height: 27px;
}
.chatbot-status-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px #050505;
}

@media (max-width: 760px) {
  .equipment-actions {
    grid-template-columns: 1fr;
  }
  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }
  .chatbot {
    right: 14px;
    bottom: 84px;
  }
  .chatbot-panel {
    width: calc(100vw - 28px);
  }
  .account-card {
    padding: 22px;
  }
  .account-tabs {
    margin-right: 38px;
    grid-template-columns: 1fr;
  }
  .cart-drawer {
    width: 100vw;
  }
}


/* Ajustes finales: selector de cantidad más compacto y carrito con imagen */
.product-card footer {
  gap: 9px;
}
.product-card footer > button[data-add] {
  width: min(100%, 228px);
  min-height: 40px;
  margin-inline: auto;
  display: inline-grid;
  place-items: center;
  padding: 0 18px;
}
.quantity-selector {
  width: min(100%, 186px);
  min-height: 34px;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  justify-self: center;
  margin-inline: auto;
  background: var(--white);
}
.quantity-selector button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 18px;
  line-height: 1;
}
.quantity-selector button:hover,
.quantity-selector button:focus-visible {
  background: var(--yellow);
  color: var(--black);
}
.quantity-selector span {
  min-height: 34px;
  display: grid;
  place-items: center;
  margin: 0;
  line-height: 1;
}
.equipment-actions .quantity-selector {
  width: 174px;
}

.cart-drawer {
  width: min(430px, 100vw);
  background: #fbfaf7;
}
.cart-head {
  min-height: 104px;
  align-items: center;
  padding: 24px;
  background: #fbfaf7;
  color: var(--black);
  border-bottom: 1px solid var(--ink-12);
}
.cart-head small {
  color: #8b7900;
  font-size: 12px;
  letter-spacing: .14em;
}
.cart-head strong {
  margin-top: 6px;
  color: var(--black);
  font-size: 27px;
  line-height: 1.05;
  letter-spacing: -.05em;
}
.cart-head button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-12);
  background: var(--white);
  color: var(--black);
  font-size: 24px;
  line-height: 1;
}
.cart-items {
  padding: 24px 18px;
  gap: 0;
}
.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: start;
  gap: 14px;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--ink-12);
  border-radius: 0;
  background: transparent;
}
.cart-item:first-child {
  padding-top: 0;
}
.cart-item-image {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 0;
  background: rgba(0, 0, 0, .05);
}
.cart-item-content {
  min-width: 0;
}
.cart-item-title {
  display: block;
  color: var(--black);
  font-size: 16px;
  line-height: 1.24;
  letter-spacing: -.03em;
}
.cart-item-meta,
.cart-item-availability {
  display: block;
  margin-top: 4px;
  color: var(--ink-64);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
.cart-subtotal {
  display: block;
  margin-top: 6px;
  color: var(--black);
  font-size: 13px;
  line-height: 1.2;
}
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.cart-qty-actions {
  display: grid;
  grid-template-columns: 30px 34px 30px;
  align-items: center;
  gap: 0;
}
.cart-qty-actions span {
  display: grid;
  place-items: center;
  height: 30px;
  margin: 0;
  color: var(--black);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
.cart-item button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--ink-12);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
}
.cart-remove,
.cart-item button.cart-remove {
  width: auto;
  min-width: 78px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #8a1e14;
  background: var(--white);
  font-size: 13px;
}
.cart-total {
  background: #fff8bf;
}
@media (max-width: 460px) {
  .cart-head strong {
    font-size: 25px;
  }
  .cart-item {
    grid-template-columns: 76px 1fr;
    gap: 12px;
  }
  .cart-item-image {
    width: 76px;
    height: 76px;
  }
  .cart-item-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

.quantity-selector button {
  min-height: 34px;
}


/* Ajustes finales: tipografía más delgada, selector de cantidad lineal y hover de agregar al carro */
.product-card,
.equipment-grid article,
.cart-drawer {
  font-weight: 400;
}

.product-card h3,
.equipment-grid h3,
.cart-item-title {
  font-weight: 600;
  letter-spacing: -0.035em;
}

.product-card p,
.product-card span,
.equipment-grid p,
.cart-item-meta,
.cart-item-availability {
  font-weight: 400;
}

.product-price,
.equipment-price {
  font-weight: 600;
  letter-spacing: -0.025em;
}

.product-card footer,
.equipment-actions {
  gap: 12px;
}

.quantity-selector,
.equipment-actions .quantity-selector {
  width: 100%;
  min-height: 42px;
  height: 42px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.quantity-selector button,
.quantity-selector button:hover,
.quantity-selector button:focus-visible {
  width: 44px;
  height: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(0, 0, 0, .72);
  font-size: 15px;
  line-height: 1;
  font-weight: 400;
  transform: none;
  outline: none;
}

.quantity-selector button:hover,
.quantity-selector button:focus-visible {
  background: rgba(237, 206, 21, .14);
  color: #000;
}

.quantity-selector span {
  min-height: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0;
  text-align: center;
  color: #000;
  font-size: 15px;
  line-height: 1;
  font-weight: 400;
}

.product-card footer > button[data-add],
.equipment-actions button[data-add] {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.product-card footer > button[data-add]:hover,
.product-card footer > button[data-add]:focus-visible,
.equipment-actions button[data-add]:hover,
.equipment-actions button[data-add]:focus-visible {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .14);
  outline: none;
}

.product-card footer > button[data-add]:active,
.equipment-actions button[data-add]:active {
  transform: translateY(0);
  box-shadow: none;
}

@media (max-width: 720px) {
  .quantity-selector,
  .equipment-actions .quantity-selector {
    min-height: 40px;
    height: 40px;
    grid-template-columns: 42px 1fr 42px;
  }

  .quantity-selector button,
  .quantity-selector span {
    height: 40px;
    min-height: 40px;
  }
}

/* Ajustes v7: quitar números en líneas principales y aplicar difuminado a servicios */
.category-card div {
  padding-top: 28px;
}
.category-card h3 {
  margin-top: 0;
}

.service-grid article {
  position: relative;
  min-height: 480px;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
  border: 0;
}
.service-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .50) 46%, rgba(0, 0, 0, .94) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .46) 0%, rgba(0, 0, 0, .12) 100%);
  pointer-events: none;
}
.service-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.service-image::after {
  display: none;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .90;
  filter: saturate(.92) contrast(1.04);
  transition: transform .7s ease, opacity .3s ease;
}
.service-grid article:hover .service-image img {
  transform: scale(1.06);
  opacity: .95;
}
.service-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  min-height: 285px;
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .25) 34%, rgba(0, 0, 0, .42) 100%);
  text-shadow: 0 2px 16px rgba(0, 0, 0, .82);
}
.service-grid h3 {
  margin: 0 0 18px;
  font-size: 25px;
  line-height: 1.08;
  color: var(--white);
}
.service-grid p {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, .88);
  line-height: 1.62;
  font-weight: 400;
}
.service-grid a {
  margin-top: auto;
  width: fit-content;
}

@media (max-width: 760px) {
  .service-grid article {
    min-height: 450px;
  }
  .service-content {
    min-height: 270px;
  }
}

/* Ajustes v8: tarjetas de servicios completas como enlace, sin CTA visible */
.service-grid > .service-card {
  position: relative;
  display: block;
  min-height: 480px;
  width: auto;
  margin-top: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  isolation: isolate;
  border: 0;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .12);
  cursor: pointer;
  transition: transform .28s ease, box-shadow .28s ease;
}
.service-grid > .service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .10) 0%, rgba(0, 0, 0, .42) 48%, rgba(0, 0, 0, .94) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, .10) 100%);
  pointer-events: none;
}
.service-grid > .service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .18);
}
.service-grid > .service-card:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}
.service-grid > .service-card .service-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.service-grid > .service-card .service-image::after {
  display: none;
}
.service-grid > .service-card .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .90;
  filter: saturate(.92) contrast(1.04);
  transition: transform .7s ease, opacity .3s ease;
}
.service-grid > .service-card:hover .service-image img {
  transform: scale(1.06);
  opacity: .96;
}
.service-grid > .service-card .service-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  min-height: 225px;
  padding: 0 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .22) 36%, rgba(0, 0, 0, .45) 100%);
  text-shadow: 0 2px 16px rgba(0, 0, 0, .82);
}
.service-grid > .service-card h3 {
  margin: 0 0 18px;
  font-size: 25px;
  line-height: 1.08;
  color: var(--white);
}
.service-grid > .service-card p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  line-height: 1.62;
  font-weight: 400;
}

@media (max-width: 760px) {
  .service-grid > .service-card {
    min-height: 450px;
  }
  .service-grid > .service-card .service-content {
    min-height: 215px;
    padding-bottom: 28px;
  }
}

/* Ajustes v9: header tipo pill, precios premium y chatbot refinado */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 90;
  width: min(1120px, calc(100% - 24px));
  margin: 12px auto 0;
  border: 1px solid rgba(237, 206, 21, .36);
  border-radius: 999px;
  background:
    radial-gradient(circle at 0% 50%, rgba(237, 206, 21, .22), transparent 32%),
    radial-gradient(circle at 100% 50%, rgba(255, 255, 255, .12), transparent 30%),
    rgba(0, 0, 0, .84);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .10);
  backdrop-filter: blur(18px);
  overflow: visible;
}

.site-header .container {
  width: 100%;
  max-width: none;
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 0 14px 0 22px;
}

.brand {
  min-width: 74px;
  justify-content: flex-start;
}

.brand img {
  width: 68px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(237, 206, 21, .16));
}

.main-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .075);
  color: rgba(255, 255, 255, .74);
  box-shadow: inset 0 1px rgba(255, 255, 255, .09);
}

.main-nav a {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
  font-weight: 850;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(237, 206, 21, .16);
  color: var(--white);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.language-switch button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .02em;
}

.language-switch button.is-active {
  background: var(--yellow);
  color: var(--black);
}

.cart-button {
  min-height: 46px;
  gap: 10px;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(237, 206, 21, .48);
  background: rgba(237, 206, 21, .10);
  color: var(--white);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08);
}

.cart-button:hover,
.cart-button:focus-visible {
  background: rgba(237, 206, 21, .18);
  color: var(--white);
  transform: translateY(-1px);
}

.cart-button b {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 950;
}

.cart-icon {
  font-size: 12px;
  font-weight: 950;
  text-transform: none;
  letter-spacing: .02em;
}

.header-cta {
  min-height: 48px;
  gap: 12px;
  padding: 0 8px 0 20px;
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 12px 30px rgba(237, 206, 21, .22);
}

.header-cta span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  transition: transform .22s ease;
}

.header-cta:hover span,
.header-cta:focus-visible span {
  transform: translateX(3px);
}

.menu-toggle {
  border-color: rgba(237, 206, 21, .38);
  background: rgba(255, 255, 255, .07);
}

.menu-toggle span {
  background: var(--yellow);
}

.product-card {
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .08);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .13);
}

.product-card img {
  background: linear-gradient(135deg, rgba(237, 206, 21, .10), rgba(0, 0, 0, .03));
}

.product-price {
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 6px 10px;
  width: 100%;
  margin-top: 16px !important;
  padding: 15px 16px;
  border: 1px solid rgba(237, 206, 21, .28);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(237, 206, 21, .12), transparent 42%),
    linear-gradient(135deg, #070707, #171717);
  color: var(--white) !important;
  letter-spacing: 0 !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 14px 36px rgba(0, 0, 0, .18);
}

.product-price > span {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, .60) !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .10em !important;
}

.product-price > b {
  color: var(--white);
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -.04em;
}

.product-price > small {
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(237, 206, 21, .36);
  border-radius: 999px;
  background: rgba(237, 206, 21, .12);
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: .06em;
}

.equipment-price > b {
  font-size: clamp(28px, 3vw, 38px);
}

.product-card footer,
.equipment-actions {
  gap: 12px;
}

.quantity-selector,
.equipment-actions .quantity-selector {
  min-height: 44px;
  width: 132px;
  padding: 4px;
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 999px;
  background: rgba(0, 0, 0, .035);
  box-shadow: inset 0 1px rgba(255, 255, 255, .70);
}

.quantity-selector button,
.quantity-selector button:hover,
.quantity-selector button:focus-visible {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 17px;
  box-shadow: none;
}

.quantity-selector button:focus-visible {
  outline: 3px solid rgba(237, 206, 21, .65);
  outline-offset: 2px;
}

.quantity-selector span {
  min-width: 34px;
  color: var(--black);
  font-size: 14px;
  font-weight: 950;
  text-align: center;
}

.product-card footer > button[data-add],
.equipment-actions button[data-add] {
  min-height: 46px;
  flex: 1;
  border: 0;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .16);
}

.product-card footer > button[data-add]:hover,
.product-card footer > button[data-add]:focus-visible,
.equipment-actions button[data-add]:hover,
.equipment-actions button[data-add]:focus-visible {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
  outline: none;
}

.floating-whatsapp {
  right: 22px;
  bottom: 94px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: linear-gradient(135deg, #18c961, #0fa84d);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
}

.floating-whatsapp img {
  width: 29px;
  height: 29px;
}

.chatbot {
  right: 22px;
  bottom: 22px;
}

.chatbot-toggle {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(237, 206, 21, .50);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .24), transparent 30%),
    linear-gradient(135deg, var(--black), #252006);
  color: var(--yellow);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .26);
}

.chatbot-toggle:hover,
.chatbot-toggle:focus-visible {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .32), transparent 30%),
    linear-gradient(135deg, #161204, var(--black));
  color: var(--white);
}

.chatbot-panel {
  right: 0;
  bottom: 74px;
  width: min(390px, calc(100vw - 28px));
  border: 1px solid rgba(237, 206, 21, .36);
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 0%, rgba(237, 206, 21, .18), transparent 34%),
    linear-gradient(180deg, #111, #050505 58%, #000);
  color: var(--white);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .45);
  overflow: hidden;
}

.chatbot-head {
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  background:
    linear-gradient(135deg, rgba(237, 206, 21, .18), rgba(255, 255, 255, .04)),
    rgba(255, 255, 255, .04);
}

.chatbot-head small {
  color: rgba(255, 255, 255, .62);
  letter-spacing: .14em;
}

.chatbot-head strong {
  color: var(--white);
}

.chatbot-head button {
  color: rgba(255, 255, 255, .82);
}

.chatbot-messages {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent),
    transparent;
}

.bot-message,
.user-message {
  border-radius: 16px;
  line-height: 1.48;
}

.bot-message {
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .075);
  color: rgba(255, 255, 255, .86);
}

.bot-message--lead {
  border-left: 3px solid var(--yellow);
}

.user-message {
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
}

.chatbot-options {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 16px 14px;
}

.chatbot-options button {
  min-height: 38px;
  border-color: rgba(237, 206, 21, .24);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
}

.chatbot-options button:hover,
.chatbot-options button:focus-visible {
  border-color: rgba(237, 206, 21, .70);
  background: rgba(237, 206, 21, .16);
  color: var(--white);
  outline: none;
}

.chatbot-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 16px 14px;
  padding: 12px;
  border: 1px solid rgba(237, 206, 21, .22);
  border-radius: 16px;
  background: rgba(237, 206, 21, .08);
}

.chatbot-cta span {
  color: rgba(255, 255, 255, .64);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.chatbot-cta a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-size: 12px;
  font-weight: 950;
}

.chatbot-form {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .035);
}

.chatbot-form input {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .34);
  color: var(--white);
}

.chatbot-form input::placeholder {
  color: rgba(255, 255, 255, .42);
}

.chatbot-form input:focus {
  border-color: rgba(237, 206, 21, .72);
  outline: none;
}

.chatbot-form button {
  background: var(--yellow);
  color: var(--black);
  font-weight: 950;
}

@media (max-width: 1080px) {
  .site-header {
    top: 8px;
    width: min(100% - 16px, 1120px);
    border-radius: 28px;
  }

  .header-inner {
    grid-template-columns: auto auto auto;
    min-height: 70px;
    padding: 0 10px 0 16px;
  }

  .menu-toggle {
    display: block;
    justify-self: center;
  }

  .main-nav {
    position: fixed;
    top: 86px;
    left: 8px;
    right: 8px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: auto;
    padding: 14px;
    border-radius: 22px;
    background: rgba(0, 0, 0, .96);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .36);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: center;
    min-height: 46px;
  }

  .language-switch {
    display: none;
  }

  .cart-button {
    width: 46px;
    min-height: 46px;
    justify-content: center;
    padding: 0;
  }

  .cart-button .cart-icon {
    display: none;
  }

  .header-cta {
    min-height: 46px;
    padding-left: 16px;
  }
}

@media (max-width: 760px) {
  .site-header {
    border-radius: 24px;
  }

  .brand {
    min-width: 58px;
  }

  .brand img {
    width: 54px;
    height: 40px;
  }

  .header-inner {
    grid-template-columns: auto 44px auto;
    gap: 10px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-cta {
    padding: 0 6px 0 13px;
    font-size: 12px;
  }

  .header-cta span {
    width: 32px;
    height: 32px;
  }

  .product-card footer,
  .equipment-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quantity-selector,
  .equipment-actions .quantity-selector {
    width: 100%;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 88px;
    width: 54px;
    height: 54px;
  }

  .chatbot {
    right: 14px;
    bottom: 20px;
  }

  .chatbot-toggle {
    width: 54px;
    height: 54px;
  }

  .chatbot-panel {
    bottom: 70px;
    width: calc(100vw - 28px);
  }

  .chatbot-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .chatbot-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .chatbot-cta a {
    text-align: center;
  }
}

/* Ajustes v10: más industrial, menos decorativo */
.hero {
  min-height: min(760px, 100dvh);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 112% 92% at 24% 48%, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .82) 34%, rgba(0, 0, 0, .52) 62%, rgba(0, 0, 0, .12) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .98) 0%, rgba(0, 0, 0, .90) 30%, rgba(0, 0, 0, .64) 55%, rgba(0, 0, 0, .22) 82%, rgba(0, 0, 0, .08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .30) 0%, rgba(0, 0, 0, .64) 100%);
  pointer-events: none;
}

.hero-media img {
  opacity: .68;
  filter: saturate(.70) contrast(1.1);
  object-position: center;
}

.hero-grid {
  min-height: inherit;
  display: flex;
  align-items: center;
  padding: 118px 0 86px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
  max-width: 780px;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -42px -86px -34px -58px;
  z-index: -1;
  border-radius: 42px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .56) 58%, rgba(0, 0, 0, .10));
  filter: blur(22px);
  pointer-events: none;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(48px, 6.2vw, 88px);
  line-height: .91;
  font-weight: 600;
  letter-spacing: -.04em;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  color: rgba(255, 255, 255, .78);
}

.hero-panel {
  display: none !important;
}

.filter-brand-panel {
  margin: 30px 0 46px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.filter-logo-grid,
.filter-logo-grid.is-open {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(112px, 1fr));
  grid-auto-rows: 74px;
  gap: 18px 38px;
  align-items: center;
  overflow: visible;
}

.filter-logo-grid article {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.filter-logo-grid article img {
  width: auto;
  max-width: 134px;
  max-height: 58px;
  object-fit: contain;
  filter: saturate(.92) contrast(1.02);
}

.product-card {
  border: 1px solid rgba(0, 0, 0, .065);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .07);
}

.product-card > div {
  padding-bottom: 18px;
}

.product-price {
  display: flex !important;
  align-items: baseline;
  gap: 7px;
  width: 100%;
  margin-top: 18px !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--black) !important;
  box-shadow: none;
}

.product-price > span {
  display: none;
}

.product-price > b {
  color: var(--black);
  font-size: clamp(25px, 2vw, 30px);
  line-height: 1;
  font-weight: 850;
  letter-spacing: -.05em;
}

.product-price > small {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(0, 0, 0, .48);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
}

.product-card footer,
.equipment-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 0;
}

.quantity-selector,
.equipment-actions .quantity-selector {
  flex: 0 0 auto;
  width: 112px;
  min-height: 38px;
  height: 38px;
  grid-template-columns: 34px 1fr 34px;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.quantity-selector button,
.quantity-selector button:hover,
.quantity-selector button:focus-visible {
  width: 34px;
  height: 34px;
  min-height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(0, 0, 0, .70);
  font-size: 17px;
  font-weight: 650;
}

.quantity-selector button:hover,
.quantity-selector button:focus-visible {
  background: rgba(0, 0, 0, .06);
  color: #000;
}

.quantity-selector span {
  min-height: 36px;
  height: 36px;
  color: #000;
  font-size: 14px;
  font-weight: 800;
}

.product-card footer > button[data-add],
.equipment-actions button[data-add] {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(0, 0, 0, .88);
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  box-shadow: none;
}

.product-card footer > button[data-add]:hover,
.product-card footer > button[data-add]:focus-visible,
.equipment-actions button[data-add]:hover,
.equipment-actions button[data-add]:focus-visible {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #000;
  transform: translateY(-1px);
  box-shadow: none;
}

.chatbot-panel {
  bottom: 74px;
  height: min(430px, calc(100dvh - 132px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 18px;
}

.chatbot-messages {
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  padding: 16px;
  scroll-behavior: smooth;
}

.bot-message,
.user-message {
  max-width: 88%;
  font-size: 14px;
}

.bot-message--lead {
  border-left: 0;
}

.chatbot-options,
.chatbot-cta {
  display: none !important;
}

.chatbot-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
}

.chatbot-form input {
  min-width: 0;
}

@media (max-width: 980px) {
  .filter-brand-panel {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .filter-logo-grid,
  .filter-logo-grid.is-open {
    width: max-content;
    min-width: 100%;
    grid-template-columns: repeat(7, 128px);
    grid-template-rows: repeat(2, 70px);
    grid-auto-rows: 70px;
    gap: 14px 24px;
  }
}

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

  .hero-grid {
    padding: 104px 0 46px;
    align-items: flex-start;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 11.4vw, 50px);
    line-height: .96;
    font-weight: 600;
    letter-spacing: -.025em;
  }

  .product-card footer,
  .equipment-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .quantity-selector,
  .equipment-actions .quantity-selector {
    width: 100%;
  }

  .chatbot-panel {
    bottom: 68px;
    height: min(410px, calc(100dvh - 112px));
  }
}

.product-card .quantity-selector > button[data-qty-minus],
.product-card .quantity-selector > button[data-qty-plus],
.equipment-actions .quantity-selector > button[data-qty-minus],
.equipment-actions .quantity-selector > button[data-qty-plus] {
  background: transparent !important;
  color: rgba(0, 0, 0, .72) !important;
  border: 0 !important;
  box-shadow: none !important;
}

.product-card .quantity-selector > button[data-qty-minus]:hover,
.product-card .quantity-selector > button[data-qty-plus]:hover,
.product-card .quantity-selector > button[data-qty-minus]:focus-visible,
.product-card .quantity-selector > button[data-qty-plus]:focus-visible,
.equipment-actions .quantity-selector > button[data-qty-minus]:hover,
.equipment-actions .quantity-selector > button[data-qty-plus]:hover,
.equipment-actions .quantity-selector > button[data-qty-minus]:focus-visible,
.equipment-actions .quantity-selector > button[data-qty-plus]:focus-visible {
  background: rgba(0, 0, 0, .055) !important;
  color: #000 !important;
}

.product-card footer > button[data-add],
.equipment-actions button[data-add] {
  flex: 1 1 124px;
  min-width: 124px;
  white-space: nowrap;
}

/* Ajustes v11: header limpio, equipos minimalistas y chat estable */
body {
  background: var(--black);
}

main {
  background: var(--white);
}

.site-header {
  top: 10px;
  margin-top: 10px;
}

.main-nav {
  gap: 0;
}

.main-nav a {
  padding-inline: 15px;
}

.language-switch {
  display: none !important;
}

.equipment-actions {
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
}

.equipment-actions .quantity-selector {
  flex: 0 0 116px;
  width: 116px;
}

.equipment-actions button[data-add] {
  flex: 0 0 auto;
  width: 184px;
  min-width: 180px;
  max-width: none;
}

.equipment-actions .btn-secondary {
  display: none !important;
}

.chatbot-panel {
  border-color: rgba(237, 206, 21, .44);
  background:
    radial-gradient(circle at 0% 0%, rgba(237, 206, 21, .13), transparent 30%),
    #0a0a08;
}

.chatbot-head {
  min-height: 76px;
}

.chatbot-messages {
  scrollbar-width: thin;
  scrollbar-color: rgba(237, 206, 21, .72) rgba(255, 255, 255, .05);
  align-content: start;
  align-items: start;
  grid-auto-rows: max-content;
}

.chatbot-messages::-webkit-scrollbar {
  width: 9px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .05);
  border-radius: 999px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(237, 206, 21, .72);
  border: 2px solid #0a0a08;
  border-radius: 999px;
}

.chatbot-form {
  grid-template-columns: minmax(0, 1fr) 78px;
}

.chatbot-form input {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatbot-form button {
  width: 78px;
  padding-inline: 0;
}

.section {
  scroll-margin-top: 132px;
}

.bot-message,
.user-message {
  height: auto;
  min-height: 0;
}

@media (max-width: 1080px) {
  .main-nav a {
    padding-inline: 16px;
  }
}

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

  .equipment-actions .quantity-selector,
  .equipment-actions button[data-add] {
    width: 100%;
    min-width: 0;
  }

  .chatbot-form {
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  .chatbot-form button {
    width: 72px;
  }
}


/* Accesos de cuenta en el header */
.header-actions .nav-account {
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
}

.header-actions .nav-account-register {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--black);
}

.header-actions .nav-account-register:hover,
.header-actions .nav-account-register:focus-visible {
  background: var(--white);
  color: var(--black);
}

@media (max-width: 1180px) {
  .header-actions .nav-account {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 12px;
  }
}

@media (max-width: 960px) {
  .header-actions .nav-account {
    display: none;
  }

}

.mobile-account-actions {
  display: none;
  gap: 10px;
}

@media (max-width: 960px) {
  .mobile-account-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  .mobile-account-actions .nav-account {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    border-bottom: 0;
    border-radius: 999px;
  }
}

@media (max-width: 1080px) {
  .header-actions .nav-account {
    justify-content: center;
    border-bottom: 0;
    border-radius: 999px;
  }
}


/* Popup de bienvenida a homologaciones */
.homologation-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.homologation-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.homologation-popup {
  position: relative;
  width: min(920px, 100%);
  min-height: 520px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 44%) 1fr;
  background: #050505;
  border: 1px solid rgba(237, 206, 21, .62);
  border-radius: 28px;
  box-shadow: 0 38px 110px rgba(0, 0, 0, .58), 0 0 46px rgba(237, 206, 21, .13);
  transform: translateY(18px) scale(.97);
  transition: transform .32s ease;
}
.homologation-popup-overlay.is-open .homologation-popup {
  transform: translateY(0) scale(1);
}
.homologation-popup::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(237, 206, 21, .24), transparent 34%),
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .16) 45%, rgba(0, 0, 0, .88) 56%, #050505 100%);
  z-index: 1;
}
.homologation-popup-media {
  position: relative;
  min-height: 520px;
  background: var(--black);
}
.homologation-popup-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.05) contrast(1.03);
}
.homologation-popup-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 54px 52px;
  color: var(--white);
}
.homologation-popup-label {
  width: fit-content;
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: var(--black);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.homologation-popup h2 {
  max-width: 430px;
  margin: 0;
  color: var(--white);
  font-size: clamp(34px, 5vw, 56px);
  line-height: .96;
  letter-spacing: -.055em;
}
.homologation-popup p {
  max-width: 370px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.55;
}
.homologation-popup-button {
  width: fit-content;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  color: var(--black);
  background: var(--yellow);
  border: 2px solid var(--yellow);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(237, 206, 21, .22);
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.homologation-popup-button:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--yellow);
  box-shadow: 0 18px 40px rgba(237, 206, 21, .12);
}
.homologation-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(0, 0, 0, .46);
  color: var(--white);
  font-size: 27px;
  line-height: 1;
  backdrop-filter: blur(8px);
}
.homologation-popup-close:hover {
  background: var(--yellow);
  color: var(--black);
}
body.popup-open { overflow: hidden; }

@media (max-width: 760px) {
  .homologation-popup-overlay {
    padding: 18px;
  }
  .homologation-popup {
    width: min(430px, 100%);
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .homologation-popup::before {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .72) 62%, #050505 100%);
  }
  .homologation-popup-media {
    min-height: 310px;
  }
  .homologation-popup-media img {
    height: 310px;
    object-position: center top;
  }
  .homologation-popup-content {
    margin-top: -60px;
    padding: 0 26px 30px;
  }
  .homologation-popup h2 {
    font-size: clamp(34px, 11vw, 44px);
  }
  .homologation-popup p {
    font-size: 15px;
  }
  .homologation-popup-button {
    width: 100%;
  }
}

/* Perfiles de usuario */
[hidden] {
  display: none !important;
}

.account-tabs {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

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

.account-status {
  min-height: 22px;
  margin: 0;
  color: var(--ink-64);
  font-size: 13px;
  line-height: 1.45;
}

.account-status.is-success {
  color: #136f37;
}

.account-status.is-error {
  color: #b42318;
}

.account-profile-summary {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: var(--radius);
  background: rgba(237, 206, 21, .15);
}

.account-profile-summary strong {
  color: var(--black);
}

.account-profile-summary span {
  color: var(--ink-64);
  font-size: 13px;
}

.nav-account-profile {
  border-color: rgba(237, 206, 21, .82) !important;
  background: rgba(237, 206, 21, .12) !important;
  color: var(--white) !important;
}

.nav-account-logout {
  border-color: rgba(255, 255, 255, .14) !important;
  background: rgba(255, 255, 255, .07) !important;
  color: var(--white) !important;
}

.mobile-account-actions .nav-account-profile,
.mobile-account-actions .nav-account-logout {
  color: var(--black) !important;
  background: var(--yellow) !important;
}

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

  .account-card {
    padding: 24px 18px;
  }
}

/* Fase pedidos: carrito, historial y panel */
.account-card {
  width: min(760px, 100%);
}

.account-help-text {
  margin: -4px 0 4px;
  color: var(--ink-64);
  font-size: 14px;
  line-height: 1.55;
}

.orders-list {
  display: grid;
  gap: 12px;
  max-height: 390px;
  overflow-y: auto;
  padding-right: 4px;
}

.order-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .025);
}

.order-card-head,
.order-card-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.order-card-head small {
  display: block;
  color: #8b7900;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.order-card-head strong {
  display: block;
  margin-top: 3px;
  color: var(--black);
  text-transform: capitalize;
}

.order-card-head > b {
  white-space: nowrap;
  color: var(--black);
}

.order-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-64);
  font-size: 13px;
  line-height: 1.55;
}

.order-card-foot {
  color: var(--ink-64);
  font-size: 12px;
  font-weight: 800;
  flex-wrap: wrap;
}

.order-client {
  margin: 0;
  color: var(--ink-64);
  font-size: 13px;
  line-height: 1.45;
}

.order-admin-actions {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: end;
  gap: 8px;
}

.order-status-control {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.order-status-control span {
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.order-status-control select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--ink-12);
  border-radius: 12px;
  background: var(--white);
  color: var(--black);
  padding: 0 36px 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.order-status-control select:focus {
  border-color: var(--yellow);
  outline: none;
  box-shadow: 0 0 0 4px rgba(237, 206, 21, .16);
}

.order-admin-actions button {
  min-height: 34px;
  border: 1px solid var(--ink-12);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.order-admin-actions button:hover,
.order-admin-actions button:focus-visible {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(237, 206, 21, .16);
}

.order-admin-actions button.order-status-save {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--black);
}

.order-admin-actions button:disabled,
.order-status-control select:disabled {
  cursor: wait;
  opacity: .62;
}

.cart-checkout-box {
  display: grid;
  gap: 8px;
  padding: 16px 18px 0;
  background: #fbfaf7;
}

.cart-checkout-box label {
  color: var(--ink-64);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.cart-checkout-box select {
  width: 100%;
  border: 1px solid var(--ink-12);
  border-radius: 14px;
  background: var(--white);
  color: var(--black);
  padding: 12px 14px;
  font-weight: 800;
  outline: none;
}

.cart-checkout-box select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(237, 206, 21, .14);
}

.cart-status {
  min-height: 20px;
  margin: 0;
  color: var(--ink-64);
  font-size: 13px;
  line-height: 1.45;
}

.cart-status.is-success {
  color: #136f37;
}

.cart-status.is-error {
  color: #b42318;
}

#checkoutCart:disabled {
  opacity: .65;
  cursor: wait;
}

@media (max-width: 1120px) {
  .header-actions [data-open-account="orders"],
  .header-actions [data-auth-admin] {
    display: none !important;
  }
}

@media (max-width: 620px) {
  .account-tabs {
    grid-template-columns: 1fr 1fr;
    margin-right: 38px;
  }
  .order-card-head,
  .order-card-foot {
    display: grid;
  }
  .order-card-head > b {
    white-space: normal;
  }
}

/* v24: Panel administrador como sección de página */
.admin-dashboard-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(237, 206, 21, .18), transparent 34%),
    linear-gradient(135deg, #070707 0%, #111111 48%, #1a1600 100%);
  color: var(--white);
  border-top: 1px solid rgba(237, 206, 21, .22);
  border-bottom: 1px solid rgba(237, 206, 21, .18);
}

.admin-dashboard {
  display: grid;
  gap: 22px;
}

.admin-dashboard-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: end;
}

.admin-dashboard-head .eyebrow,
.admin-dashboard-head h2,
.admin-dashboard-head .section-lead {
  color: var(--white);
}

.admin-dashboard-head h2 {
  max-width: 820px;
  margin-bottom: 10px;
}

.admin-dashboard-head .section-lead {
  opacity: .78;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.admin-stats article {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(237, 206, 21, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.admin-stats span,
.admin-stats small {
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-stats strong {
  color: var(--yellow);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.admin-tools {
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(237, 206, 21, .2);
  border-radius: 26px;
  background: rgba(255, 255, 255, .08);
}

.admin-tools label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-tools input,
.admin-tools select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(0, 0, 0, .34);
  color: var(--white);
  padding: 0 16px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.admin-tools select option {
  color: var(--black);
}

.admin-tools input:focus,
.admin-tools select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(237, 206, 21, .16);
}

.admin-dashboard .orders-list {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.admin-dashboard .empty-cart {
  border: 1px dashed rgba(237, 206, 21, .32);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .76);
}

.admin-dashboard .account-status {
  color: rgba(255, 255, 255, .72);
}

.admin-dashboard .account-status.is-success {
  color: #9ef2b2;
}

.admin-dashboard .account-status.is-error {
  color: #ffb4a9;
}

.order-card-admin {
  border-color: rgba(237, 206, 21, .22);
  background: #fbfaf2;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.order-card-admin .order-card-head {
  align-items: center;
}

.order-card-admin .order-card-head strong {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(237, 206, 21, .28);
  color: #2b2600;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.order-client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.order-client-grid p {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
}

.order-client-grid b {
  color: #8b7900;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.order-client-grid span {
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.order-card-admin ul {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.order-card-admin li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .035);
}

.order-card-admin li span {
  color: var(--black);
  font-weight: 800;
}

.order-card-admin li em {
  color: var(--black);
  font-style: normal;
  font-weight: 900;
}

.order-admin-actions button.is-selected {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--black);
}

.order-admin-actions button.is-danger {
  border-color: rgba(180, 35, 24, .2);
  background: #b42318;
  color: var(--white);
}

.order-admin-actions button.is-danger:hover,
.order-admin-actions button.is-danger:focus-visible {
  border-color: #b42318;
  background: #8f1d14;
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(180, 35, 24, .16);
}

.order-contact-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.order-contact-actions a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  padding: 0 14px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.order-contact-actions a:hover,
.order-contact-actions a:focus-visible {
  background: var(--yellow);
  color: var(--black);
}

@media (max-width: 980px) {
  .admin-dashboard-head,
  .admin-tools {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-head .btn {
    width: 100%;
  }

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

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

  .order-status-control {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .admin-stats,
  .order-client-grid,
  .order-card-admin li {
    grid-template-columns: 1fr;
  }

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

  .order-status-control {
    grid-column: auto;
  }

  .order-admin-actions button {
    width: 100%;
  }
}

.payment-help {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.7);
  line-height: 1.45;
}

.order-payment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.order-payment-meta span {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background: rgba(0,0,0,.04);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
}

.order-pay-button {
  border: 0;
  border-radius: 999px;
  background: var(--yellow, #f4d000);
  color: #050505;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
}

.order-pay-button:disabled {
  opacity: .6;
  cursor: wait;
}

.payment-return-notice {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 9999;
  width: min(620px, calc(100vw - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  align-items: center;
  border: 1px solid rgba(244, 208, 0, .45);
  border-radius: 22px;
  background: #08090d;
  color: #fff;
  box-shadow: 0 20px 80px rgba(0,0,0,.45);
  padding: 16px 18px;
}

.payment-return-notice strong {
  font-size: 16px;
}

.payment-return-notice span {
  grid-column: 1 / -1;
  color: rgba(255,255,255,.74);
  font-size: 13px;
  line-height: 1.45;
}

.payment-return-notice button {
  grid-row: 1;
  grid-column: 2;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

/* v27: ajustes de sesión, legibilidad admin, pagos y hero */
.hero-copy::before {
  inset: -62px -140px -46px -70px;
  border-radius: 48px;
  background:
    radial-gradient(ellipse 72% 82% at 30% 48%, rgba(0, 0, 0, .98) 0%, rgba(0, 0, 0, .88) 42%, rgba(0, 0, 0, .58) 70%, transparent 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .94), rgba(0, 0, 0, .68) 58%, rgba(0, 0, 0, .10));
  filter: blur(28px);
}

.hero-copy h1,
.hero-copy > p:not(.eyebrow) {
  text-shadow: 0 3px 28px rgba(0, 0, 0, .74);
}

.header-actions .nav-account-register,
.header-actions [data-open-account="orders"],
.header-actions .nav-account-logout {
  display: none !important;
}

.header-actions .nav-account {
  max-width: 108px;
  min-height: 44px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions .nav-account-profile {
  max-width: 112px;
}

.header-actions .nav-account[hidden] {
  display: none !important;
}

.cart-checkout-box {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

.cart-checkout-box label,
.cart-checkout-box .payment-help {
  color: rgba(0, 0, 0, .62);
}

.cart-checkout-box select {
  background: #fff;
  color: #070707;
}

.admin-dashboard-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(237, 206, 21, .12), transparent 34%),
    linear-gradient(135deg, #050505 0%, #0e0e0c 54%, #171300 100%);
}

.section.admin-dashboard-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(237, 206, 21, .14), transparent 34%),
    linear-gradient(135deg, #050505 0%, #0d0d0b 56%, #171300 100%) !important;
  color: var(--white);
}

.section.admin-dashboard-section .eyebrow,
.section.admin-dashboard-section h2,
.section.admin-dashboard-section .section-lead {
  color: var(--white);
}

.section.admin-dashboard-section .admin-stats article,
.section.admin-dashboard-section .admin-tools {
  border-color: rgba(237, 206, 21, .26);
  background: rgba(255, 255, 255, .065);
}

.section.admin-dashboard-section .admin-stats span,
.section.admin-dashboard-section .admin-stats small,
.section.admin-dashboard-section .admin-tools label {
  color: rgba(255, 255, 255, .74);
}

.section.admin-dashboard-section .admin-tools input,
.section.admin-dashboard-section .admin-tools select {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .48);
  color: var(--white);
}

.admin-dashboard-head .section-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, .72);
}

.order-card-admin {
  border-color: rgba(237, 206, 21, .26);
  background: #0d0d0b;
  color: var(--white);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .24);
}

.order-card-admin .order-card-head small {
  color: rgba(237, 206, 21, .92);
}

.order-card-admin .order-card-head strong {
  background: rgba(237, 206, 21, .18);
  color: var(--white);
}

.order-card-admin .order-card-head > b {
  color: var(--yellow);
}

.order-client-grid p {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .055);
}

.order-client-grid b {
  color: rgba(237, 206, 21, .86);
}

.order-client-grid span {
  color: rgba(255, 255, 255, .92);
}

.order-card-admin ul {
  color: var(--white);
}

.order-card-admin li {
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .055);
}

.order-card-admin li span,
.order-card-admin li b {
  color: rgba(255, 255, 255, .92);
}

.order-card-admin li em {
  color: var(--yellow);
}

.order-card-admin .order-card-foot {
  color: rgba(255, 255, 255, .62);
}

.order-payment-meta span {
  border-color: rgba(237, 206, 21, .18);
  background: rgba(237, 206, 21, .09);
  color: rgba(255, 255, 255, .84);
}

.order-card-admin .order-contact-actions {
  margin-top: 2px;
}

.order-card-admin .order-contact-actions a {
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
}

.order-card-admin .order-contact-actions a[href^="https://wa.me"],
.order-card-admin .order-contact-actions a[href^="https://api.whatsapp"] {
  border-color: rgba(24, 201, 97, .35);
  background: #18c961;
  color: #03170b;
}

.order-card-admin .order-contact-actions a[href^="mailto"] {
  border-color: rgba(237, 206, 21, .32);
  background: rgba(237, 206, 21, .16);
  color: var(--white);
}

.order-card-admin .order-contact-actions a:hover,
.order-card-admin .order-contact-actions a:focus-visible {
  background: var(--yellow);
  color: var(--black);
}

.order-admin-actions button.is-danger {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, .10);
}

@media (max-width: 760px) {
  .hero-copy::before {
    inset: -36px -24px -34px -26px;
    filter: blur(22px);
  }

  .header-actions .nav-account {
    display: none !important;
  }
}


/* Ajuste v31: navegación con Equipo y Productos */
@media (min-width: 901px) {
  .main-nav a { padding-inline: 11px; }
  .main-nav { gap: 0; }
}

/* Catálogo de referencias sin precio */
.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(210px, .85fr) auto;
  align-items: end;
  gap: 16px;
  margin: 6px 0 24px;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .055);
}

.catalog-search,
.catalog-brand-filter {
  display: grid;
  gap: 8px;
  color: rgba(0, 0, 0, .66);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .03em;
}

.catalog-search input,
.catalog-brand-filter select {
  width: 100%;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 13px;
  background: #fff;
  color: #090909;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  outline: none;
}

.catalog-search input:focus,
.catalog-brand-filter select:focus {
  border-color: rgba(0, 0, 0, .65);
  box-shadow: 0 0 0 4px rgba(237, 206, 21, .30);
}

.catalog-results-count {
  min-width: 190px;
  margin: 0;
  padding: 0 4px 13px;
  color: rgba(0, 0, 0, .58);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.catalog-product-card {
  min-width: 0;
}

.catalog-product-card > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 10px;
  object-fit: contain;
  background: #fff;
}

.product-card > .product-image-placeholder {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  min-height: 180px;
  padding: 20px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(237, 206, 21, .46), transparent 28%),
    linear-gradient(145deg, #f6f6f3, #e7e7df);
}

.product-image-placeholder::before {
  content: '';
  position: absolute;
  width: 116px;
  height: 116px;
  top: 22px;
  left: 50%;
  border: 1px dashed rgba(0, 0, 0, .18);
  border-radius: 50%;
  transform: translateX(-50%);
}

.product-image-placeholder::after {
  content: 'FOTO';
  position: absolute;
  top: 72px;
  left: 50%;
  color: rgba(0, 0, 0, .34);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  transform: translateX(-50%);
}

.product-card .product-image-placeholder > span {
  position: relative;
  z-index: 1;
  color: rgba(0, 0, 0, .48);
  font-size: 11px;
  font-weight: 750;
}

.product-image-placeholder > strong {
  position: relative;
  z-index: 1;
  color: #090909;
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

.product-card > .catalog-product-copy {
  flex: 1;
  padding: 18px 18px 16px;
}

.catalog-product-copy > small {
  display: inline-flex;
  width: fit-content;
  color: #050505;
  background: var(--yellow);
}

.catalog-product-copy h3 {
  margin: 16px 0 7px;
  font-size: clamp(21px, 2vw, 25px);
  overflow-wrap: anywhere;
}

.catalog-product-copy p {
  margin: 0 0 7px;
  overflow-wrap: anywhere;
}

.catalog-product-price {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 14px 15px;
  border: 1px solid rgba(237, 206, 21, .55);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(237, 206, 21, .17), rgba(237, 206, 21, .045));
}

.catalog-product-price > small,
.catalog-product-price > strong,
.catalog-product-price > span {
  display: block;
}

.catalog-product-price > small {
  color: rgba(0, 0, 0, .55);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalog-product-price > strong {
  color: #000;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.catalog-product-price > span {
  color: rgba(0, 0, 0, .57);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
}

.catalog-product-price.is-pending {
  border-color: rgba(0, 0, 0, .1);
  background: #f3f2ee;
}

.catalog-product-price.is-pending > strong {
  font-size: 20px;
  letter-spacing: -.02em;
}

.catalog-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.catalog-load-more {
  min-width: 250px;
}

.catalog-load-more[hidden] {
  display: none;
}

.catalog-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 34px;
  border: 1px dashed rgba(0, 0, 0, .18);
  border-radius: 20px;
  background: rgba(0, 0, 0, .025);
  text-align: center;
}

.catalog-empty strong {
  font-size: 20px;
}

.catalog-empty span {
  color: rgba(0, 0, 0, .58);
}

.cart-checkout-box select:disabled {
  cursor: not-allowed;
  opacity: .68;
  background: rgba(0, 0, 0, .045);
}

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

  .catalog-results-count {
    grid-column: 1 / -1;
    padding: 0 4px;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .catalog-toolbar {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .catalog-results-count {
    grid-column: auto;
  }

  .product-card > .product-image-placeholder {
    min-height: 166px;
  }
}

/* Ajustes de compra, pedidos y controles de cierre */
.order-card:not(.order-card-admin) .order-payment-meta span {
  border-color: #d5b900;
  background: var(--yellow);
  color: #080808;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}

#accountClose,
#cartClose,
#chatbotClose,
#homologationPopupClose {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-align: center;
}

#accountClose::before,
#cartClose::before,
#chatbotClose::before,
#homologationPopupClose::before {
  content: '×';
  display: block;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
}

/* Carrito v2: secciones con aire y controles de cantidad centrados */
.cart-drawer {
  width: min(460px, 100vw);
  height: 100vh;
  height: 100dvh;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  background: #f7f6f2;
}

.cart-head {
  min-height: 112px;
  padding: 26px 24px 24px;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px;
}

.cart-item,
.cart-item:first-child {
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .045);
}

.cart-item-image {
  width: 92px;
  height: 92px;
  padding: 7px;
  object-fit: contain;
  border-radius: 14px;
  background: #f3f2ee;
}

.cart-item-content {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.cart-item-title {
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.cart-item-meta,
.cart-item-availability,
.cart-subtotal {
  margin-top: 0;
  line-height: 1.4;
}

.cart-subtotal {
  margin-top: 3px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, .07);
}

.cart-qty-actions {
  flex: 0 0 auto;
  width: 112px;
  height: 38px;
  display: grid;
  grid-template-columns: 36px 38px 36px;
  align-items: center;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;
  background: #fff;
}

.cart-qty-actions span {
  width: 38px;
  height: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1;
}

.cart-item .cart-qty-actions > button {
  width: 36px;
  height: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #000;
  line-height: 0;
}

.cart-item .cart-qty-actions > button:hover,
.cart-item .cart-qty-actions > button:focus-visible {
  background: rgba(237, 206, 21, .2);
}

.cart-remove,
.cart-item button.cart-remove {
  min-width: 82px;
  height: 38px;
  min-height: 38px;
  padding: 0 14px;
}

.cart-total {
  min-height: 68px;
  margin: 0 20px 14px;
  padding: 17px 18px;
  border: 0;
  border-radius: 16px;
  background: #fff3a6;
}

.cart-checkout-box {
  gap: 10px;
  margin: 0 20px 14px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
}

.cart-checkout-box .payment-help {
  margin: 0;
  line-height: 1.5;
}

.cart-actions {
  gap: 10px;
  padding: 18px 20px 22px;
  background: #fff;
}

.cart-actions button {
  min-height: 48px;
}

/* El glifo se dibuja aparte para centrarlo con precisión en todos los navegadores. */
.quantity-selector > button[data-qty-minus],
.quantity-selector > button[data-qty-plus],
.cart-qty-actions > button[data-cart-decrease],
.cart-qty-actions > button[data-cart-increase] {
  font-size: 0 !important;
  line-height: 0 !important;
}

.quantity-selector > button[data-qty-minus]::before,
.cart-qty-actions > button[data-cart-decrease]::before {
  content: '−';
}

.quantity-selector > button[data-qty-plus]::before,
.cart-qty-actions > button[data-cart-increase]::before {
  content: '+';
}

.quantity-selector > button[data-qty-minus]::before,
.quantity-selector > button[data-qty-plus]::before,
.cart-qty-actions > button[data-cart-decrease]::before,
.cart-qty-actions > button[data-cart-increase]::before {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-.5px);
}

.quantity-selector,
.equipment-actions .quantity-selector {
  align-items: center;
}

.quantity-selector > button[data-qty-minus],
.quantity-selector > button[data-qty-plus] {
  align-self: center;
  justify-self: center;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.quantity-selector > span {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  line-height: 1;
}

@media (max-width: 460px) {
  .cart-head {
    min-height: 104px;
    padding: 22px 20px;
  }

  .cart-items {
    gap: 14px;
    padding: 16px;
  }

  .cart-item,
  .cart-item:first-child {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    padding: 15px;
  }

  .cart-item-image {
    width: 82px;
    height: 82px;
  }

  .cart-item-bottom {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cart-total,
  .cart-checkout-box {
    margin-right: 16px;
    margin-left: 16px;
  }

  .cart-actions {
    padding: 16px;
  }
}

/* Carrito v3: contenido arriba y resumen independiente abajo */
.cart-drawer {
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #f5f4ef;
}

.cart-items {
  gap: 18px;
  padding: 24px;
}

.cart-item,
.cart-item:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
}

.cart-item-main {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.cart-item-image {
  width: 100px;
  height: 100px;
}

.cart-item-content {
  align-content: start;
  gap: 6px;
}

.cart-item-bottom {
  width: 100%;
  margin: 0;
  padding-top: 15px;
  border-top-color: rgba(0, 0, 0, .09);
}

.cart-order-summary {
  display: grid;
  gap: 18px;
  max-height: 54dvh;
  overflow-y: auto;
  padding: 22px 24px 24px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  border-radius: 26px 26px 0 0;
  background: #fff;
  box-shadow: 0 -18px 44px rgba(0, 0, 0, .08);
}

.cart-order-summary[hidden] {
  display: none !important;
}

.cart-order-summary .cart-total {
  min-height: 0;
  margin: 0;
  padding: 0 0 17px;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .09);
  border-radius: 0;
  background: transparent;
}

.cart-order-summary .cart-total strong {
  font-size: 21px;
}

.cart-order-summary .cart-checkout-box {
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.cart-order-summary .cart-checkout-box select {
  min-height: 50px;
}

.cart-order-summary .cart-actions {
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
}

.cart-order-summary .cart-actions #checkoutCart {
  min-height: 50px;
}

.cart-order-summary .cart-actions #clearCart {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, .58);
  box-shadow: none;
}

.cart-order-summary .cart-actions #clearCart:hover,
.cart-order-summary .cart-actions #clearCart:focus-visible {
  background: rgba(0, 0, 0, .045);
  color: #000;
}

.cart-drawer.is-empty {
  grid-template-rows: auto minmax(0, 1fr);
}

.cart-drawer.is-empty .cart-items {
  display: grid;
  place-items: center;
  padding: 44px 32px;
  overflow-y: auto;
}

.cart-empty-state {
  width: min(310px, 100%);
  display: grid;
  justify-items: center;
  gap: 13px;
  margin: auto;
  text-align: center;
}

.cart-empty-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin-bottom: 5px;
  border-radius: 50%;
  background: rgba(237, 206, 21, .22);
  color: #5e5100;
}

.cart-empty-icon svg {
  width: 38px;
  height: 38px;
}

.cart-empty-state strong {
  color: #050505;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.cart-empty-state p {
  margin: 0;
  color: rgba(0, 0, 0, .58);
  font-size: 14px;
  line-height: 1.6;
}

.cart-empty-state .cart-empty-cta {
  min-width: 190px;
  min-height: 48px;
  margin-top: 7px;
}

@media (max-width: 460px) {
  .cart-items {
    gap: 16px;
    padding: 18px 16px 22px;
  }

  .cart-item,
  .cart-item:first-child {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    padding: 16px;
  }

  .cart-item-main {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 15px;
  }

  .cart-item-image {
    width: 88px;
    height: 88px;
  }

  .cart-order-summary {
    gap: 16px;
    max-height: 56dvh;
    padding: 20px 18px 22px;
    border-radius: 24px 24px 0 0;
  }

  .cart-drawer.is-empty .cart-items {
    padding: 38px 28px;
  }
}

/* Chatbot conversacional y bandeja administrativa de PQRS */
.chatbot-panel {
  width: min(410px, calc(100vw - 28px));
  height: min(590px, calc(100dvh - 190px));
  max-height: calc(100dvh - 190px);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.chatbot-messages {
  gap: 11px;
  padding: 18px;
}

.bot-message,
.user-message {
  max-width: 90%;
  overflow-wrap: anywhere;
}

.chatbot-choice-list {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 2px;
}

.chatbot-choice-list button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 9px 13px;
  border: 1px solid rgba(237, 206, 21, .32);
  border-radius: 13px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  text-align: left;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.chatbot-choice-list button::after {
  content: '›';
  margin-left: auto;
  padding-left: 12px;
  color: var(--yellow);
  font-size: 20px;
  line-height: 1;
}

.chatbot-choice-list button:hover,
.chatbot-choice-list button:focus-visible {
  border-color: var(--yellow);
  background: rgba(237, 206, 21, .15);
  color: #fff;
  outline: none;
}

.chatbot-choice-list button.is-secondary {
  justify-content: center;
  border-color: rgba(255, 255, 255, .1);
  background: transparent;
  color: rgba(255, 255, 255, .62);
  font-weight: 750;
}

.chatbot-choice-list button.is-secondary::after {
  display: none;
}

.chatbot-form input:disabled,
.chatbot-form button:disabled {
  cursor: wait;
  opacity: .6;
}

.chatbot-target-highlight {
  animation: chatbotTargetPulse 2.2s ease;
}

@keyframes chatbotTargetPulse {
  0%, 100% { box-shadow: none; }
  25%, 72% { box-shadow: 0 0 0 5px rgba(237, 206, 21, .38), 0 22px 55px rgba(0, 0, 0, .15); }
}

.admin-pqrs-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 22px;
  margin-top: 28px;
  padding-top: 30px;
  border-top: 1px solid rgba(237, 206, 21, .24);
}

.admin-pqrs-head .eyebrow,
.admin-pqrs-head h3,
.admin-pqrs-head p {
  color: #fff;
}

.admin-pqrs-head h3 {
  margin: 5px 0 7px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -.04em;
}

.admin-pqrs-head p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  line-height: 1.55;
}

.admin-pqrs-list {
  display: grid;
  gap: 14px;
}

.admin-pqrs-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(237, 206, 21, .22);
  border-radius: 22px;
  background: #fbfaf2;
  color: #050505;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.admin-pqrs-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-pqrs-card-head small {
  display: block;
  color: #786900;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}

.admin-pqrs-card-head strong {
  display: block;
  width: fit-content;
  margin-top: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(237, 206, 21, .3);
  font-size: 13px;
}

.admin-pqrs-card-head time {
  color: rgba(0, 0, 0, .55);
  font-size: 12px;
  font-weight: 750;
}

.admin-pqrs-description {
  margin: 0;
  color: #151515;
  font-size: 15px;
  line-height: 1.6;
}

.admin-pqrs-data {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-pqrs-data p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 13px;
  background: #fff;
}

.admin-pqrs-data b {
  color: rgba(0, 0, 0, .52);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-pqrs-data span {
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 750;
}

.admin-pqrs-card details {
  border-top: 1px solid rgba(0, 0, 0, .09);
  padding-top: 13px;
}

.admin-pqrs-card summary {
  cursor: pointer;
  color: rgba(0, 0, 0, .64);
  font-size: 12px;
  font-weight: 850;
}

.admin-pqrs-card pre {
  max-height: 280px;
  overflow: auto;
  margin: 12px 0 0;
  padding: 14px;
  border-radius: 14px;
  background: #111;
  color: rgba(255, 255, 255, .82);
  font: 12px/1.55 SentinelSans, system-ui, sans-serif;
  white-space: pre-wrap;
}

@media (max-width: 760px) {
  .chatbot-panel {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 90px);
    right: 14px;
    bottom: 18px;
    left: 14px;
    width: auto;
    height: auto;
    max-height: none;
  }

  .chatbot-messages {
    padding: 15px;
  }

  .admin-pqrs-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .admin-pqrs-head .btn {
    width: 100%;
  }

  .admin-pqrs-data {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .admin-pqrs-card-head {
    display: grid;
  }
}

/* Checkout de entrega y centro legal */
.footer-grid {
  grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr));
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.checkout-overlay,
.legal-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(0, 0, 0, .68);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  backdrop-filter: blur(4px);
}

.checkout-overlay.is-open,
.legal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal,
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 145;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.985);
  transition: opacity .22s ease, transform .22s ease;
}

.checkout-modal.is-open,
.legal-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.checkout-card,
.legal-card {
  width: min(1120px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 28px;
  background: #f7f6f2;
  color: var(--black);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .38);
}

.checkout-head,
.legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 96px;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  background: #fff;
}

.checkout-head small,
.legal-head small {
  display: block;
  margin-bottom: 5px;
  color: #8b7900;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.checkout-head h2,
.legal-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.checkout-head button,
.legal-head button {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, .75fr);
  max-height: calc(100dvh - 144px);
  overflow: hidden;
}

.checkout-fields,
.checkout-summary {
  overflow-y: auto;
  scrollbar-width: thin;
}

.checkout-fields {
  display: grid;
  gap: 20px;
  padding: 28px;
}

.checkout-summary {
  padding: 28px;
  border-left: 1px solid rgba(0, 0, 0, .1);
  background: #fff;
}

.checkout-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.checkout-section-title > span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #000;
  font-size: 13px;
  font-weight: 950;
}

.checkout-section-title strong,
.checkout-section-title small {
  display: block;
}

.checkout-section-title strong {
  font-size: 16px;
}

.checkout-section-title small {
  margin-top: 3px;
  color: rgba(0, 0, 0, .56);
  font-size: 12px;
  line-height: 1.4;
}

.checkout-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checkout-field-grid.is-hidden {
  display: none;
}

.checkout-field-full {
  grid-column: 1 / -1;
}

.checkout-fields label,
.checkout-wide-label {
  display: grid;
  gap: 7px;
  color: rgba(0, 0, 0, .66);
  font-size: 12px;
  font-weight: 850;
}

.checkout-fields label > small {
  display: inline;
  color: rgba(0, 0, 0, .48);
  font-weight: 650;
}

.checkout-fields input,
.checkout-fields select,
.checkout-fields textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 13px;
  background: #fff;
  color: #000;
  padding: 13px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.checkout-fields textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
}

.checkout-fields input:focus,
.checkout-fields select:focus,
.checkout-fields textarea:focus {
  border-color: #bda300;
  box-shadow: 0 0 0 4px rgba(237, 206, 21, .16);
}

.checkout-fields select:disabled {
  opacity: .72;
  background: #efeee9;
}

.checkout-consents {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 16px;
  background: #fff;
}

.checkout-consents label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(0, 0, 0, .7);
  font-size: 12px;
  line-height: 1.5;
}

.checkout-consents input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #d8bb00;
}

.checkout-consents a,
.legal-content a {
  color: #695b00;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-legal-consent,
.account-form .form-legal-consent,
.contact-form .form-legal-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(0, 0, 0, .62);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.form-legal-consent input,
.account-form .form-legal-consent input,
.contact-form .form-legal-consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  padding: 0;
  accent-color: #d8bb00;
}

.form-legal-consent a {
  color: #695b00;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout-summary-items {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, .09);
}

.checkout-summary-items article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.checkout-summary-items img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border: 1px solid rgba(0, 0, 0, .09);
  border-radius: 10px;
  background: #f7f6f2;
}

.checkout-summary-items strong,
.checkout-summary-items span {
  display: block;
}

.checkout-summary-items strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-summary-items span {
  margin-top: 3px;
  color: rgba(0, 0, 0, .52);
  font-size: 11px;
}

.checkout-summary-items b {
  font-size: 11px;
  white-space: nowrap;
}

.checkout-summary-row,
.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
  color: rgba(0, 0, 0, .62);
  font-size: 13px;
}

.checkout-summary-row strong {
  color: #000;
}

.checkout-summary-total {
  margin-top: 8px;
  padding-top: 17px;
  border-top: 1px solid rgba(0, 0, 0, .1);
  color: #000;
  font-size: 18px;
  font-weight: 950;
}

.checkout-price-notice {
  margin: 18px 0;
  padding: 14px;
  border-radius: 14px;
  background: rgba(237, 206, 21, .2);
  color: rgba(0, 0, 0, .72);
  font-size: 12px;
  line-height: 1.5;
}

.checkout-status {
  min-height: 20px;
  margin: 0 0 10px;
  color: rgba(0, 0, 0, .62);
  font-size: 12px;
  line-height: 1.45;
}

.checkout-status.is-success { color: #136f37; }
.checkout-status.is-error { color: #b42318; }

.order-delivery-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  background: #fff;
}

.order-delivery-meta p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.order-delivery-meta b {
  color: rgba(0, 0, 0, .5);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.order-delivery-meta span {
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.checkout-actions {
  display: grid;
  gap: 9px;
}

.checkout-actions .btn {
  width: 100%;
  min-height: 48px;
}

#checkoutSubmit:disabled {
  opacity: .62;
  cursor: wait;
}

.legal-overlay { z-index: 150; }
.legal-modal { z-index: 155; }
.legal-card { width: min(980px, 100%); }

.legal-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  background: #fff;
}

.legal-tabs button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;
  background: #fff;
  padding: 0 15px;
  color: #000;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.legal-tabs button.is-active {
  border-color: var(--yellow);
  background: var(--yellow);
}

.legal-content {
  max-height: calc(100dvh - 210px);
  overflow-y: auto;
  padding: 30px;
  background: #f7f6f2;
}

.legal-content article { display: none; }
.legal-content article.is-active { display: block; }

.legal-content h3 {
  margin: 0 0 20px;
  font-size: clamp(26px, 3vw, 40px);
}

.legal-content p {
  max-width: 850px;
  margin: 0 0 16px;
  color: rgba(0, 0, 0, .7);
  font-size: 14px;
  line-height: 1.75;
}

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

@media (max-width: 820px) {
  .checkout-modal,
  .legal-modal {
    padding: 10px;
  }

  .checkout-card,
  .legal-card {
    max-height: calc(100dvh - 20px);
    border-radius: 20px;
  }

  .checkout-head,
  .legal-head {
    min-height: 82px;
    padding: 18px;
  }

  .checkout-layout {
    display: block;
    max-height: calc(100dvh - 102px);
    overflow-y: auto;
  }

  .checkout-fields,
  .checkout-summary {
    overflow: visible;
    padding: 20px;
  }

  .checkout-summary {
    border-top: 1px solid rgba(0, 0, 0, .1);
    border-left: 0;
  }

  .legal-content {
    max-height: calc(100dvh - 190px);
    padding: 22px 18px;
  }
}

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

  .checkout-field-grid {
    grid-template-columns: 1fr;
  }

  .checkout-field-full {
    grid-column: auto;
  }

  .checkout-head h2,
  .legal-head h2 {
    font-size: 25px;
  }

  .checkout-summary-items article {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .checkout-summary-items b {
    grid-column: 2;
  }

  .order-delivery-meta {
    grid-template-columns: 1fr;
  }
}

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

  .checkout-fields,
  .checkout-summary {
    padding: 17px 15px;
  }

  .checkout-section-title {
    align-items: flex-start;
  }

  .legal-tabs {
    padding-inline: 14px;
  }
}

/* Refinamiento visual: checkout desplazable, Nosotros, footer y cierres */
.about {
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(237, 206, 21, .11), transparent 35%),
    #f5f4ef !important;
}

.about-shell {
  grid-template-columns: minmax(360px, .88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: stretch;
}

.about-visual {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-radius: 28px 8px 28px 8px;
  background: #151515;
  box-shadow: 0 34px 80px rgba(0, 0, 0, .2);
  isolation: isolate;
}

.about-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.08);
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.about-visual:hover > img {
  transform: scale(1.035);
}

.about-visual-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .05) 25%, rgba(0, 0, 0, .82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .34), transparent 45%);
}

.about-visual-card {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
  z-index: 2;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: rgba(8, 8, 8, .72);
  color: #fff;
  backdrop-filter: blur(10px);
}

.about-visual-card small,
.about-visual-card strong {
  display: block;
}

.about-visual-card small {
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.about-visual-card strong {
  max-width: 420px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
}

.about-story {
  align-self: center;
}

.about-story h2 {
  max-width: 720px;
  margin: 10px 0 24px;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: .98;
  letter-spacing: -.055em;
}

.about-story .section-lead {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.8;
}

.about-lines {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0 0;
}

.about-lines span {
  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: rgba(0, 0, 0, .7);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about .value-grid {
  margin-top: 22px;
  gap: 10px;
}

.about .value-grid article {
  min-height: 0;
  padding: 18px;
  border-radius: 16px;
  box-shadow: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.about .value-grid article:hover {
  z-index: 1;
  transform: translateY(-3px);
  border-color: rgba(189, 163, 0, .6);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .08);
}

.about .value-grid .value-icon {
  width: 36px;
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
}

.about .value-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about .value-grid b {
  margin-top: 13px;
  font-size: 15px;
}

.about .value-grid p {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.55;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.about-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 950;
}

.about-text-link span {
  color: #9d8700;
  font-size: 20px;
  transition: transform .18s ease;
}

.about-text-link:hover span { transform: translateX(4px); }

.footer {
  position: relative;
  padding: 72px 0 24px;
  background:
    radial-gradient(circle at 7% 15%, rgba(237, 206, 21, .13), transparent 26rem),
    #070707;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow) 0 31%, rgba(237, 206, 21, .18) 31% 100%);
}

.footer-grid {
  position: relative;
  grid-template-columns: minmax(220px, 1.05fr) minmax(340px, 1.4fr) minmax(270px, .95fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: start;
}

.footer-brand img {
  width: 128px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .25));
}

.footer-brand p {
  max-width: 320px;
  margin: 22px 0 16px;
  font-size: 14px;
}

.footer-location {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(255, 255, 255, .6);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-navigation {
  display: grid;
  grid-template-columns: minmax(120px, .72fr) minmax(190px, 1.28fr);
  gap: 34px;
}

.footer h3 {
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: 11px;
  letter-spacing: .14em;
}

.footer-navigation a {
  width: fit-content;
  margin: 9px 0;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  transition: color .18s ease, transform .18s ease;
}

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

.footer-contact-main {
  display: grid !important;
  gap: 4px;
  margin: 0 0 16px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.footer-contact-main span {
  color: rgba(255, 255, 255, .45);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-contact-main strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 12px;
}

.footer-contact > p {
  margin: 17px 0;
  font-size: 12px;
}

.footer-socials {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.footer-socials a {
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(255, 255, 255, .65);
  font-size: 9px;
  font-weight: 900;
}

.footer-socials a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.footer-bottom {
  align-items: center;
  margin-top: 54px;
  padding-top: 22px;
}

.footer-bottom button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .62);
  padding: 6px 0;
  font-size: 11px;
  font-weight: 800;
}

.footer-bottom button span {
  color: var(--yellow);
  font-size: 7px;
  box-shadow: 0 0 0 4px rgba(237, 206, 21, .09);
}

.footer-bottom button:hover { color: #fff; }

.checkout-card {
  height: min(820px, calc(100dvh - 48px));
  max-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
}

.checkout-head {
  flex: 0 0 auto;
}

.checkout-layout {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

.checkout-fields,
.checkout-summary {
  min-height: 0;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.checkout-consents {
  border-color: rgba(0, 0, 0, .08);
  background: rgba(237, 206, 21, .09);
}

.checkout-consents a {
  color: #594d00;
  text-decoration: none;
  border-bottom: 1px solid rgba(89, 77, 0, .4);
}

.checkout-consents a:hover {
  border-bottom-color: #000;
  color: #000;
}

.form-legal-consent {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.contact-form .form-legal-consent,
.contact-form .form-legal-consent span {
  color: #fff !important;
  background: transparent !important;
}

.contact-form .form-legal-consent a {
  color: #fff !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
}

.contact-form .form-legal-consent a:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

#accountClose,
#cartClose,
#chatbotClose,
#homologationPopupClose,
#checkoutClose,
#legalClose,
.payment-return-notice button {
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px;
}

#cartClose,
#chatbotClose,
#checkoutClose,
#legalClose,
.payment-return-notice button {
  position: relative;
}

#accountClose::before,
#accountClose::after,
#cartClose::before,
#cartClose::after,
#chatbotClose::before,
#chatbotClose::after,
#homologationPopupClose::before,
#homologationPopupClose::after,
#checkoutClose::before,
#checkoutClose::after,
#legalClose::before,
#legalClose::after,
.payment-return-notice button::before,
.payment-return-notice button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

#accountClose::after,
#cartClose::after,
#chatbotClose::after,
#homologationPopupClose::after,
#checkoutClose::after,
#legalClose::after,
.payment-return-notice button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 1080px) {
  .about-shell {
    grid-template-columns: minmax(310px, .82fr) minmax(0, 1.18fr);
    gap: 34px;
  }

  .footer-grid {
    grid-template-columns: minmax(210px, .8fr) minmax(0, 1.2fr);
  }

  .footer-contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
    align-items: start;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .09);
  }

  .footer-contact > h3,
  .footer-socials { grid-column: 1 / -1; }
  .footer-contact > p { margin: 0; }
}

@media (max-width: 820px) {
  .about-shell {
    grid-template-columns: 1fr;
  }

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

  .about-story h2 {
    font-size: clamp(38px, 9vw, 56px);
  }

  .checkout-modal {
    padding: 6px;
  }

  .checkout-card {
    width: 100%;
    height: calc(100dvh - 12px);
    max-height: calc(100dvh - 12px);
    border-radius: 18px;
  }

  .checkout-layout {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .checkout-fields,
  .checkout-summary {
    min-height: auto;
    overflow: visible;
    touch-action: auto;
  }

  .checkout-summary {
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }
}

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

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

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

  .footer-contact > h3,
  .footer-socials { grid-column: auto; }
}

@media (max-width: 520px) {
  .about-visual {
    min-height: 400px;
    border-radius: 22px 8px 22px 8px;
  }

  .about-visual-card {
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 17px;
  }

  .about .value-grid {
    grid-template-columns: 1fr;
  }

  .about-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .about-actions .btn,
  .about-text-link {
    justify-content: center;
    width: 100%;
  }

  .footer-navigation {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-head {
    min-height: 74px;
    padding: 15px;
  }

  .checkout-head h2 { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .about-visual > img,
  .about .value-grid article,
  .about-text-link span {
    transition: none;
  }
}

/* Sitio multipágina */
.multi-page-site main > .section:first-child {
  padding-top: 132px;
  min-height: 62vh;
}

.multi-page-site.page-index main > .hero:first-child {
  padding-top: 0;
  min-height: auto;
}

.main-nav a.is-active,
.main-nav a[aria-current="page"] {
  background: var(--yellow);
  color: var(--black);
}

.filtration-page-actions {
  display: flex;
  justify-content: center;
  margin: 34px 0 12px;
}

.products-page-section .catalog-toolbar {
  margin-top: 34px;
}

@media (max-width: 760px) {
  .multi-page-site main > .section:first-child {
    padding-top: 104px;
  }

  .filtration-page-actions .btn {
    width: 100%;
  }
}


/* =========================================================
   BLOG TÉCNICO Y ARTÍCULOS — JULIO 2026
   ========================================================= */
.page-blog,
.page-blog-article {
  background: #050505;
}

.blog-page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 22%, rgba(237, 206, 21, .22), transparent 25rem),
    linear-gradient(115deg, #000 0%, #090909 58%, #171717 100%);
}
.blog-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 58px 58px;
}
.blog-page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 64px;
  align-items: end;
}
.blog-page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(46px, 6vw, 78px);
  line-height: .98;
  font-weight: 650;
  letter-spacing: -.045em;
}
.blog-page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--white-72);
  font-size: 18px;
  line-height: 1.75;
}
.blog-page-hero-stat {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.16);
  border-bottom: 4px solid var(--yellow);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
}
.blog-page-hero-stat strong {
  color: var(--yellow);
  font-size: 68px;
  line-height: .9;
}
.blog-page-hero-stat span {
  max-width: 150px;
  margin-top: 16px;
  color: var(--white);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.blog-library {
  background: #f7f7f5;
}
.blog-grid-library {
  align-items: stretch;
}
.blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 12px !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,0,0,.24);
  box-shadow: 0 28px 68px rgba(0,0,0,.13);
}
.blog-card-media {
  display: block;
  overflow: hidden;
  background: #111;
}
.blog-card-media img {
  height: 268px;
  transition: transform .5s ease;
}
.blog-card:hover .blog-card-media img {
  transform: scale(1.035);
}
.blog-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-bottom: 24px;
}
.blog-card-content span {
  width: max-content;
}
.blog-card-content h2 {
  margin: 18px 20px 0;
  font-size: 25px;
  line-height: 1.13;
  letter-spacing: -.025em;
}
.blog-card-content h2 a {
  margin: 0;
}
.blog-card-content p {
  flex: 1;
  margin-top: 14px;
}
.blog-card-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
}
.blog-card-link b {
  font-size: 18px;
  transition: transform .2s ease;
}
.blog-card-link:hover b {
  transform: translateX(4px);
}

.article-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 78px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 25%, rgba(237,206,21,.2), transparent 28rem),
    #050505;
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 62px 62px;
}
.article-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .62fr);
  gap: 66px;
  align-items: center;
}
.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 750;
}
.article-breadcrumb a:hover {
  color: var(--yellow);
}
.article-hero h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.01;
  letter-spacing: -.045em;
  font-weight: 650;
}
.article-hero-lead {
  max-width: 760px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 17px;
  line-height: 1.78;
}
.article-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}
.article-back-link {
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  border-bottom: 1px solid rgba(255,255,255,.38);
}
.article-hero-media {
  min-height: 430px;
  max-height: 540px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-bottom: 5px solid var(--yellow);
  background: #111;
  box-shadow: 0 30px 80px rgba(0,0,0,.42);
}
.article-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  max-height: 535px;
  object-fit: cover;
}
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 790px) 280px;
  justify-content: space-between;
  gap: 68px;
  align-items: start;
  padding-top: 82px;
  padding-bottom: 112px;
  scroll-margin-top: 100px;
}
.technical-article {
  min-width: 0;
}
.technical-article > p {
  margin: 0 0 22px;
  color: rgba(0,0,0,.74);
  font-size: 17px;
  line-height: 1.86;
}
.technical-article h2,
.technical-article h3,
.technical-article h4 {
  color: var(--black);
  letter-spacing: -.028em;
  scroll-margin-top: 112px;
}
.technical-article h2 {
  margin: 68px 0 22px;
  padding-top: 4px;
  font-size: clamp(32px, 4vw, 43px);
  line-height: 1.08;
}
.technical-article h2:first-child {
  margin-top: 0;
}
.technical-article h3 {
  margin: 44px 0 18px;
  font-size: 28px;
  line-height: 1.15;
}
.technical-article h4 {
  margin: 30px 0 14px;
  font-size: 21px;
  line-height: 1.25;
}
.article-list,
.article-check-list,
.article-error-list {
  display: grid;
  gap: 12px;
  margin: 8px 0 30px;
  padding: 0;
  list-style: none;
}
.article-list li,
.article-check-list li,
.article-error-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(0,0,0,.73);
  font-size: 16px;
  line-height: 1.65;
}
.article-list li::before {
  content: "";
  position: absolute;
  top: .7em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(237,206,21,.19);
}
.article-check-list li::before,
.article-error-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 950;
}
.article-check-list li::before { content: "✓"; color: #506800; }
.article-error-list li::before { content: "×"; color: #a42828; font-size: 22px; line-height: 1; }
.article-note {
  margin: 34px 0;
  padding: 24px 26px;
  border-left: 5px solid var(--yellow);
  background: #f5f3e5;
}
.article-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.article-note p {
  margin: 0;
  color: rgba(0,0,0,.72);
  line-height: 1.7;
}
.article-figure {
  margin: 46px 0 54px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.1);
  background: #080808;
  box-shadow: 0 22px 54px rgba(0,0,0,.11);
}
.article-figure.is-vertical {
  width: min(100%, 560px);
  margin-left: auto;
  margin-right: auto;
}
.article-figure img {
  width: 100%;
  height: auto;
}
.article-table-wrap {
  margin: 28px 0 44px;
  overflow-x: auto;
  border: 1px solid rgba(0,0,0,.12);
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.article-table th,
.article-table td {
  padding: 17px 18px;
  border-bottom: 1px solid rgba(0,0,0,.1);
  text-align: left;
  line-height: 1.45;
}
.article-table th {
  background: var(--black);
  color: var(--yellow);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.article-table tr:last-child td { border-bottom: 0; }
.article-table tr:nth-child(even) td { background: #f7f7f4; }
.article-cta {
  margin-top: 72px;
  padding: 38px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(237,206,21,.18), transparent 20rem),
    var(--black);
}
.technical-article .article-cta h2,
.technical-article .article-cta h3,
.technical-article .article-cta h4 {
  margin-top: 0;
  color: var(--white);
}
.technical-article .article-cta p,
.article-cta .article-list li {
  color: rgba(255,255,255,.74);
}
.article-cta .article-figure {
  margin-bottom: 30px;
  box-shadow: none;
  border-color: rgba(255,255,255,.16);
}
.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.article-aside {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 18px;
  max-height: calc(100vh - 132px);
  overflow: auto;
  scrollbar-width: thin;
}
.article-toc,
.article-help {
  padding: 24px;
  border: 1px solid rgba(0,0,0,.11);
  background: #fff;
}
.article-toc > span {
  display: block;
  margin-bottom: 16px;
  color: var(--black);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.article-toc a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,.08);
  color: rgba(0,0,0,.64);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 720;
}
.article-toc a:hover,
.article-toc a:focus-visible {
  color: var(--black);
}
.article-help {
  border: 0;
  border-top: 5px solid var(--yellow);
  background: var(--black);
  color: var(--white);
}
.article-help strong {
  display: block;
  font-size: 19px;
  line-height: 1.25;
}
.article-help p {
  margin: 12px 0 18px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  line-height: 1.6;
}
.article-help a {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}
.related-articles {
  padding: 96px 0 108px;
  background: #f5f5f2;
}
.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.related-article-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.1);
  background: #fff;
}
.related-article-card > a {
  overflow: hidden;
  background: #111;
}
.related-article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.related-article-card:hover img { transform: scale(1.04); }
.related-article-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}
.related-article-card span {
  width: max-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.related-article-card h3 {
  margin: 17px 0 18px;
  font-size: 23px;
  line-height: 1.14;
}
.related-article-card > div > a {
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .blog-page-hero-grid,
  .article-hero-grid,
  .article-shell {
    grid-template-columns: 1fr;
  }
  .blog-page-hero-stat {
    min-height: 0;
    flex-direction: row;
    align-items: flex-end;
    gap: 18px;
  }
  .article-hero-media {
    width: min(100%, 620px);
    min-height: 360px;
  }
  .article-hero-media img {
    min-height: 360px;
  }
  .article-aside {
    position: static;
    order: -1;
    max-height: none;
    overflow: visible;
  }
  .article-toc {
    columns: 2;
    column-gap: 28px;
  }
  .article-toc > span {
    column-span: all;
  }
  .related-article-card {
    grid-template-columns: 170px 1fr;
  }
}

@media (max-width: 760px) {
  .blog-page-hero,
  .article-hero {
    padding: 64px 0;
  }
  .blog-page-hero-grid,
  .article-hero-grid {
    gap: 38px;
  }
  .blog-page-hero h1,
  .article-hero h1 {
    font-size: 43px;
  }
  .blog-page-hero p:not(.eyebrow),
  .article-hero-lead {
    font-size: 16px;
  }
  .blog-page-hero-stat strong { font-size: 52px; }
  .blog-card-media img { height: 245px; }
  .article-shell {
    gap: 38px;
    padding-top: 54px;
    padding-bottom: 76px;
  }
  .technical-article > p { font-size: 16px; }
  .technical-article h2 { margin-top: 54px; font-size: 32px; }
  .technical-article h3 { font-size: 25px; }
  .article-toc { columns: 1; }
  .article-cta { padding: 28px 22px; }
  .related-articles { padding: 72px 0 82px; }
  .related-articles-grid { grid-template-columns: 1fr; }
  .related-article-card { grid-template-columns: 135px 1fr; min-height: 215px; }
  .related-article-card > div { padding: 22px; }
  .related-article-card h3 { font-size: 19px; }
}

@media (max-width: 520px) {
  .blog-page-hero h1,
  .article-hero h1 { font-size: 36px; }
  .blog-page-hero-stat { align-items: center; }
  .blog-page-hero-stat span { max-width: none; }
  .article-hero-media,
  .article-hero-media img { min-height: 300px; }
  .related-article-card { grid-template-columns: 1fr; }
  .related-article-card > a { height: 210px; }
  .article-cta-actions .btn { width: 100%; }
}

/* Checkout: entrega y pagos Sentinel */
.checkout-option-panel,
.payment-option-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, .11);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(0, 0, 0, .035);
}

.checkout-option-panel[hidden],
.payment-option-panel[hidden],
.checkout-option-panel .is-hidden {
  display: none !important;
}

.checkout-option-heading {
  display: grid;
  gap: 5px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.checkout-option-heading strong,
.payment-option-panel strong {
  color: #000;
  font-size: 15px;
  font-weight: 950;
}

.checkout-option-heading span,
.payment-option-panel p,
.bank-account-details small {
  margin: 0;
  color: rgba(0, 0, 0, .62);
  font-size: 12px;
  line-height: 1.55;
}

.delivery-schedule {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.delivery-schedule span {
  display: grid;
  gap: 4px;
  padding: 11px;
  border-radius: 12px;
  background: #f5f4ef;
  color: rgba(0, 0, 0, .68);
  font-size: 11px;
  line-height: 1.4;
}

.delivery-schedule b {
  color: #000;
  font-size: 11px;
}

.delivery-coverage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.delivery-coverage span {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  border: 1.5px solid #cdb400;
  border-radius: 14px;
  background: #fff4a8;
  color: #0a0a0a;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 5px 14px rgba(116, 99, 0, .12);
}

.payment-option-panel {
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  border-color: rgba(237, 206, 21, .75);
  background: linear-gradient(135deg, rgba(237, 206, 21, .14), #fff 46%);
}

.payment-option-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #000;
  color: var(--yellow);
  font-size: 18px;
  font-weight: 950;
}

.payment-option-panel > div:last-child {
  display: grid;
  gap: 7px;
}

.payment-option-panel a {
  width: fit-content;
  margin-top: 2px;
  color: #574b00;
  font-size: 12px;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.payment-transfer-panel {
  grid-template-columns: minmax(145px, 220px) minmax(0, 1fr);
  align-items: center;
}

.payment-qr {
  width: 100%;
  max-height: 285px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 14px;
  background: #fff;
  object-fit: contain;
}

.bank-account-details {
  display: grid;
  gap: 5px;
}

.bank-account-details p {
  color: rgba(0, 0, 0, .76);
}

.checkout-wompi-fee {
  color: #5c5000;
}

.checkout-wompi-fee strong {
  color: #5c5000;
}

@media (max-width: 620px) {
  .delivery-schedule,
  .payment-transfer-panel {
    grid-template-columns: 1fr;
  }

  .delivery-coverage {
    grid-template-columns: 1fr;
  }

  .delivery-coverage span {
    min-height: 52px;
    font-size: 14px;
  }

  .payment-qr {
    max-width: 260px;
    margin-inline: auto;
  }

  .checkout-option-panel,
  .payment-option-panel {
    padding: 15px;
  }
}


/* Estado del formulario de contacto */
.contact-form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}
.contact-form-status.is-success { color: #176b2c; }
.contact-form-status.is-error { color: #a51d1d; }
