:root {
  color-scheme: light;
  --paper: #ffffff;
  --blue-wash: #f3f7fd;
  --green-wash: #f1faf5;
  --photo: #f5f5f4;
  --navy: #003b84;
  --blue: #0a51ab;
  --green: #1dbb66;
  --green-dark: #0b6b39;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: #e3eaf3;
  --shadow: 0 8px 24px rgb(0 59 132 / 10%);
  --shadow-hover: 0 16px 34px rgb(0 59 132 / 18%);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
.button {
  min-height: 48px;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

a {
  color: var(--navy);
}

svg {
  display: block;
}

svg path,
svg circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--paper);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.announcement-bar {
  background: var(--navy);
  color: var(--paper);
}

.announcement-inner {
  display: grid;
  min-height: 40px;
  grid-template-columns: 44px minmax(0, 1fr) 44px auto;
  align-items: center;
  justify-items: center;
  gap: 6px;
}

.announcement-inner p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--paper);
  font-size: 14px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  max-height: 2.9em;
}

.announcement-inner p.is-sliding {
  animation: announcement-slide .3s ease both;
}

.announcement-arrow,
.announcement-toggle {
  min-width: 44px;
  min-height: 40px;
  padding: 6px;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-size: 13px;
}

.announcement-arrow svg {
  width: 18px;
  height: 18px;
  margin: auto;
}

.announcement-toggle {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(12px);
}

.header-row {
  display: grid;
  min-height: 82px;
  grid-template-columns: auto minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-isotipo {
  display: block;
  width: 30px;
  height: 36px;
  object-fit: contain;
}

.brand span {
  letter-spacing: -.04em;
}

.search-form {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  align-items: center;
}

.search-form input {
  width: 100%;
  min-height: 52px;
  padding: 10px 112px 10px 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
}

.search-form input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgb(0 59 132 / 16%);
}

.search-form input::placeholder {
  color: var(--muted);
  opacity: 1;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

input[type="search"]::-ms-clear {
  display: none;
}

.search-icon {
  position: absolute;
  z-index: 1;
  left: 15px;
  color: var(--navy);
  pointer-events: none;
}

.search-icon svg {
  width: 20px;
  height: 20px;
}

.search-submit {
  position: absolute;
  right: 4px;
  display: inline-flex;
  width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #0b1f33;
}

.search-submit:hover {
  background: #159b52;
}

.search-submit svg {
  width: 20px;
  height: 20px;
}

.icon-button {
  display: inline-flex;
  width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: currentColor;
}

.icon-button svg,
.carousel-arrow svg,
.quantity-button svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: 52px;
  width: 40px;
  min-height: 40px;
}

.search-suggestions {
  position: absolute;
  z-index: 2;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: min(60vh, 420px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow-hover);
}

.search-suggestion-option {
  display: grid;
  min-height: 58px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 9px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.search-suggestion-option:last-child {
  border-bottom: 0;
}

.search-suggestion-option[aria-selected="true"],
.search-suggestion-option:hover {
  background: var(--blue-wash);
}

.search-suggestion-option:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--ink);
  outline-offset: -3px;
}

.search-suggestion-name {
  min-width: 0;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggestion-meta {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  grid-column: 1;
  gap: 2px 10px;
  color: var(--muted);
  font-size: 12px;
}

.search-suggestion-price {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.search-suggestion-option mark {
  padding: 0 2px;
  background: var(--green-wash);
  color: var(--ink);
}

.search-suggestion-all {
  position: sticky;
  bottom: 0;
  display: block;
  width: 100%;
  min-height: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  background: var(--paper);
  color: var(--navy);
  font-weight: 700;
}

.search-results-section {
  scroll-margin-top: 150px;
  padding-block: 38px 48px;
}

.search-results-heading {
  align-items: center;
}

.search-results-heading h2 {
  max-width: 820px;
}

.header-order {
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 26px;
  padding-bottom: 10px;
}

.primary-nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.primary-nav a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.button-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--paper);
}

.button-primary:hover:not(:disabled) {
  background: var(--navy);
}

.button-light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--navy);
}

.button-light:hover:not(:disabled),
.button-secondary:hover:not(:disabled),
.button-quiet:hover:not(:disabled) {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--paper);
}

.button-secondary,
.button-quiet {
  border-color: var(--navy);
  background: var(--paper);
  color: var(--navy);
}

.button-small {
  min-height: 48px;
  padding-inline: 14px;
}

.button-whatsapp {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--paper);
}

.hero {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 96px);
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--paper);
}

.hero-eyebrow,
.section-kicker {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}

.hero-eyebrow {
  color: #dce9fb;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.05;
}

h1,
h2,
h3,
.brand {
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1 {
  max-width: 640px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.8vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -.055em;
}

.hero-lede {
  max-width: 470px;
  margin: 0 0 28px;
  color: #eef5ff;
  font-size: 18px;
  line-height: 1.35;
}

.hero-link {
  align-self: flex-start;
  border-color: var(--green);
  background: var(--green);
  color: #0b1f33;
}

.hero-link:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--navy);
}

.hero-metrics {
  display: grid;
  max-width: 580px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 44px;
}

.metric-card {
  min-width: 0;
  padding: 14px 12px;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 12px;
  background: rgb(255 255 255 / 10%);
}

.metric-value {
  display: block;
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
}

.metric-card span {
  display: block;
  margin-top: 7px;
  color: #e3efff;
  font-size: 14px;
}

.hero-visual {
  display: flex;
  min-width: 0;
  min-height: 590px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 52px) 26px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
}

.editorial-label {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.editorial-product-open,
.product-open {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.editorial-product-open:hover .product-name,
.product-open:hover .product-name {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.marquee-toggle {
  min-width: 64px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.carousel-dots {
  display: flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  min-height: 12px;
  padding: 0;
  border: 1px solid var(--paper);
  border-radius: 50%;
  background: transparent;
}

.carousel-dot[aria-selected="true"] {
  border-color: var(--paper);
  background: var(--green);
}

.content-section {
  padding-block: 72px 78px;
}

.section-blue {
  background: var(--blue-wash);
}

.section-green {
  background: var(--green-wash);
}

.section-kicker {
  color: var(--blue);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.4vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -.06em;
}

.section-lede {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.carousel-layout {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 10px;
  align-items: center;
}

.carousel-arrow {
  display: inline-flex;
  width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--navy);
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy);
}

.carousel-arrow:hover {
  background: var(--navy);
  color: var(--paper);
}

.product-carousel {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  gap: 16px;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-carousel::-webkit-scrollbar {
  display: none;
}

.editorial-product {
  display: flex;
  min-width: 0;
  flex: 0 0 calc((100% - 64px) / 5);
  flex-direction: column;
  container-type: inline-size;
  scroll-snap-align: start;
}

.editorial-product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: var(--photo);
}

.editorial-product-image img,
.product-image img,
.category-panel-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}

.editorial-product:hover .editorial-product-image img,
.product-card:hover .product-image img {
  transform: scale(1.035);
}

.editorial-product-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.editorial-product:hover .editorial-product-body,
.product-card:hover {
  box-shadow: var(--shadow-hover);
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 27px;
  margin-top: 10px;
}

.badge {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.badge-green {
  background: var(--green);
  color: #0b1f33;
}

.badge-blue {
  background: #dce9fb;
  color: var(--navy);
}

.badge-navy {
  background: var(--navy);
  color: var(--paper);
}

.product-name {
  margin: 0;
  color: var(--navy);
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.editorial-product-body .product-name {
  min-height: 2.25em;
}

.product-meta,
.product-stock,
.product-expiry {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.product-identity {
  display: grid;
  gap: 2px;
  overflow-wrap: anywhere;
}

.product-identity span {
  display: block;
}

.product-price {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.price-tax-note {
  display: inline;
  margin-left: 6px;
  color: var(--green-dark);
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.carousel-progress {
  height: 3px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 99px;
  background: rgb(0 59 132 / 14%);
}

.carousel-progress span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width .2s ease;
}

.about-section {
  background: var(--paper);
}

.fact-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fact-card,
.why-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.fact-card:hover,
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.fact-number {
  display: block;
  margin-bottom: 28px;
  color: var(--green-dark);
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
}

.fact-card h3,
.why-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
}

.fact-card p,
.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.why-section {
  background: var(--blue-wash);
}

.why-grid {
  list-style: none;
  padding: 0;
  margin-block: 0;
  counter-reset: why;
}

.why-card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 16px;
}

.why-number {
  display: block;
  background: linear-gradient(135deg, var(--blue), var(--green));
  background-clip: text;
  color: transparent;
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 58px;
  font-weight: 700;
  line-height: .9;
}

.category-section {
  background: var(--paper);
}

.category-carousel {
  margin-top: 28px;
}

.category-carousel:first-child {
  margin-top: 0;
}

.category-carousel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.category-carousel-heading h3 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
}

.category-carousel .carousel-layout {
  width: 100%;
}

.laboratory-section {
  overflow: hidden;
  background: var(--navy);
  color: var(--paper);
}

.laboratory-section .section-heading h2,
.laboratory-section .section-kicker {
  color: var(--paper);
}

.laboratory-section .section-kicker {
  color: #cde2ff;
}

.laboratory-section .marquee-toggle {
  color: var(--paper);
}

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

.laboratory-chip {
  display: flex;
  min-width: 0;
  min-height: 72px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 12px;
  background: rgb(255 255 255 / 9%);
  color: var(--paper);
  text-align: left;
}

.laboratory-chip:hover {
  border-color: var(--green);
  background: var(--green);
  color: #0b1f33;
}

.laboratory-chip strong {
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 600;
}

.laboratory-chip span {
  margin-top: 4px;
  color: #d8e7f7;
  font-size: 14px;
}

.laboratory-chip:hover span {
  color: #0b1f33;
}

.marquee-viewport {
  margin-top: 34px;
  overflow: hidden;
  border-top: 1px solid rgb(255 255 255 / 20%);
  border-bottom: 1px solid rgb(255 255 255 / 20%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee-track.is-paused {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
}

.marquee-item {
  padding: 14px 28px;
  border-inline-start: 1px solid rgb(255 255 255 / 20%);
  color: var(--paper);
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 19px;
  font-weight: 600;
  white-space: nowrap;
}

.catalog-shell {
  scroll-margin-top: 130px;
  padding-block: 84px 100px;
}

.catalog-shell > .section-heading {
  margin-bottom: 22px;
}

.keyboard-hint {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

kbd {
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 14px;
}

.filters-disclosure {
  margin-bottom: 22px;
}

.filters-summary {
  display: none;
}

.filters-icon {
  display: none;
}

.filters {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) minmax(140px, 1fr) minmax(150px, 1fr) minmax(140px, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--blue-wash);
}

.filter-field {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.filter-field label,
.filter-label {
  color: var(--muted);
  font-size: 14px;
}

.filter-field select,
.quantity-input {
  width: 100%;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: var(--paper);
  color: var(--ink);
}

.filter-field select:focus,
.quantity-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgb(0 59 132 / 16%);
}

.check-label {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
}

.check-label input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
}

.filter-reset {
  width: 100%;
}

.catalog-status {
  min-height: 25px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

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

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  container-type: inline-size;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
  content-visibility: auto;
  contain-intrinsic-size: 500px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  transform: translateY(-3px);
}

.product-image {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  background: var(--photo);
}

.product-image-large {
  width: 100%;
  max-width: none;
}

.product-card-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.quantity-controls {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.quantity-button {
  display: inline-flex;
  width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
}

.quantity-value {
  display: inline-grid;
  min-width: 28px;
  place-items: center;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.load-more {
  display: flex;
  width: fit-content;
  margin: 30px auto 0;
}

.site-footer {
  padding-block: 56px calc(56px + env(safe-area-inset-bottom));
  background: var(--navy);
  color: var(--paper);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-logo {
  display: block;
  width: 148px;
  height: 118px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--paper);
  object-fit: contain;
}

.footer-brand {
  margin: 0 0 8px;
  color: var(--paper);
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.footer-official,
.footer-muted {
  margin: 0 0 5px;
  color: #dce9fb;
  font-size: 14px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  color: var(--paper);
  text-align: right;
}

.footer-contact .footer-link {
  color: var(--paper);
}

.site-footer a {
  color: var(--paper);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #dce9fb;
}

.empty-state {
  padding: 56px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--blue-wash);
  text-align: center;
}

.empty-state p:not(.empty-icon),
.order-empty p:not(.empty-icon) {
  color: var(--muted);
  font-size: 15px;
}

.empty-icon svg {
  width: 28px;
  height: 28px;
  margin: auto;
  color: var(--blue);
}

.dialog {
  width: min(940px, calc(100% - 24px));
  max-height: min(90dvh, 900px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 80px rgb(0 23 58 / 28%);
}

.dialog::backdrop {
  background: rgb(0 28 67 / 55%);
}

.dialog-inner {
  padding: clamp(20px, 4vw, 48px);
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.dialog-header h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
}

.detail-information {
  min-width: 0;
}

.detail-price {
  margin-top: 0;
  font-size: 26px;
}

.detail-list {
  margin: 24px 0 30px;
}

.detail-row {
  display: grid;
  grid-template-columns: minmax(110px, .35fr) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.detail-row dt {
  color: var(--muted);
  font-size: 14px;
}

.detail-row dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.detail-add-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quantity-input {
  width: 96px;
  text-align: center;
}

.order-dialog {
  inset: 0 0 0 auto;
  width: min(540px, 100%);
  max-height: none;
  height: 100dvh;
  margin: 0;
  border-radius: 18px 0 0 18px;
}

.order-inner {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.order-scroll {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 12px;
}

.order-lines {
  display: grid;
  gap: 0;
  min-height: 0;
  overflow: visible;
}

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

.order-line-image {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 10px;
}

.order-line-info {
  min-width: 0;
  flex: 1;
}

.order-line-name {
  margin: 0 0 5px;
  color: var(--navy);
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.order-line-info .product-identity {
  margin-top: 5px;
}

.order-line-price {
  margin-top: 9px;
  font-size: 18px;
}

.order-line-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
}

.order-quantity {
  width: 72px;
}

.order-empty {
  margin: auto 0;
  padding: 32px 10px;
  text-align: center;
}

.order-summary {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  margin-top: 16px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.order-footer {
  position: sticky;
  z-index: 3;
  bottom: 0;
  flex: 0 0 auto;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 -8px 18px rgb(0 59 132 / 8%);
}

.order-footer .order-summary {
  gap: 5px;
  padding: 0 0 10px;
  margin: 0;
  border-top: 0;
}

.order-footer .order-actions {
  gap: 8px;
}

.order-footer #enviar-pedido {
  min-height: 52px;
}

.order-disclosure {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.order-disclosure summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  list-style: none;
}

.order-disclosure summary::-webkit-details-marker {
  display: none;
}

.order-disclosure summary::after {
  content: "+";
  color: var(--blue);
  font-size: 20px;
  font-weight: 500;
}

.order-disclosure[open] summary::after {
  content: "−";
}

.order-disclosure-content {
  padding-bottom: 4px;
}

.order-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 0 0 10px;
}

.order-secondary-link {
  min-height: 36px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.order-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.order-summary span,
.order-note {
  color: var(--muted);
  font-size: 14px;
}

.order-total {
  color: var(--navy);
  font-size: 19px;
}

.order-actions {
  display: grid;
  flex: 0 0 auto;
  gap: 8px;
}

.order-note-field {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.order-note-field textarea {
  width: 100%;
  min-height: 74px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  resize: vertical;
}

.order-delivery-field {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.order-delivery-field input {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.order-delivery-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.order-line-conflict {
  padding-inline: 8px;
  border: 1px solid #c94a4a;
  border-radius: 8px;
  background: #fff6f6;
}

.order-stock-warning {
  margin: 5px 0 0;
  color: #8b1e1e;
  font-size: 12px;
  font-weight: 700;
}

.account-links {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  justify-content: flex-end;
  white-space: nowrap;
}

.account-profile-link {
  min-width: 0;
  max-width: 100%;
}

.account-profile-link > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-link.button {
  min-width: 0;
  max-width: 210px;
  min-height: 44px;
  overflow: hidden;
  padding: 10px 14px;
  font-size: 13px;
  text-overflow: ellipsis;
}

.account-link {
  color: var(--navy);
  font-weight: 800;
}

.account-link.button-primary,
.account-link.button-primary:hover,
.account-link.button-primary:focus-visible,
.account-link.button-primary:active {
  color: var(--paper);
}

.order-note {
  margin: 16px 0 0;
}

.toast {
  position: fixed;
  z-index: 40;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  max-width: min(380px, calc(100% - 32px));
  padding: 13px 16px;
  border: 1px solid var(--navy);
  border-radius: 10px;
  background: var(--navy);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-order-bar {
  display: none;
}

.product-image[data-action] {
  cursor: pointer;
}

.product-image[data-action]:hover {
  box-shadow: 0 0 0 3px rgb(10 81 171 / 28%);
}

.product-image[data-action]:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
}

.stock-disponible { color: var(--green-dark); }
.stock-ultimas-unidades { color: #7a4300; font-weight: 700; }
.stock-agotado { color: #8b1e1e; font-weight: 700; }

.quick-quantity-controls {
  min-width: 0;
}

.quick-quantity-input {
  width: 64px;
  min-height: 48px;
  padding: 8px 3px;
  border: 0;
  color: var(--navy);
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.quick-quantity-input:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: -3px;
}

.order-line-name {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.order-line-name:hover { text-decoration: underline; text-underline-offset: 3px; }

.mobile-order-summary {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.mobile-order-summary > span:last-child {
  color: var(--muted);
  font-size: 12px;
}

.order-after-send {
  margin: 16px 0 0;
  color: var(--muted);
}

.order-after-send a,
.primary-nav a:last-child {
  color: var(--blue);
  font-weight: 800;
}

.placeholder-art {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: clamp(16px, 8%, 30px);
  background: var(--photo);
  color: var(--muted);
}

.placeholder-title {
  max-width: 100%;
  margin: 0;
  color: var(--muted);
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.1rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1;
  overflow-wrap: anywhere;
}

.placeholder-category {
  max-width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.order-line-image .placeholder-art {
  gap: 3px;
  padding: 7px;
}

.order-line-image .placeholder-title {
  font-size: .72rem;
}

.order-line-image .placeholder-category {
  font-size: .6rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes title-rise {
  from { transform: translateY(24px); }
  to { transform: translateY(0); }
}

@keyframes announcement-slide {
  from { transform: translateX(var(--announcement-shift, 14px)); }
  to { transform: translateX(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1100px) {
  .header-row {
    grid-template-columns: auto minmax(180px, 1fr) auto auto;
    gap: 16px;
  }

  .primary-nav {
    gap: 18px;
  }

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

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

@media (max-width: 767px) {
  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .shell {
    width: min(100% - 24px, 1240px);
  }

  .announcement-inner {
    grid-template-columns: 34px minmax(0, 1fr) 34px auto;
    gap: 2px;
  }

  .announcement-inner p {
    font-size: 13px;
    line-height: 1.3;
  }

  .announcement-toggle {
    min-width: 42px;
    padding-inline: 4px;
    font-size: 12px;
  }

  .header-row {
    min-height: 74px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding-block: 10px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-isotipo {
    width: 26px;
    height: 32px;
  }

  .header-order {
    display: inline-flex;
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .account-links {
    grid-column: 2;
    grid-row: 3;
    min-width: 0;
    flex-wrap: wrap;
    max-width: 100%;
    justify-content: flex-end;
    padding-bottom: 0;
  }

  .account-link.button { max-width: min(52vw, 190px); min-height: 44px; }
  .account-links .account-profile-link { max-width: min(42vw, 150px); flex: 1 1 92px; }

  .search-form {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .primary-nav {
    position: relative;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    padding-right: 28px;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 30px), transparent 100%);
    scrollbar-width: none;
    white-space: nowrap;
  }

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

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

  .hero-copy {
    padding: 48px 24px 44px;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-metrics {
    gap: 6px;
    margin-top: 30px;
  }

  .metric-card {
    padding: 12px 8px;
  }

  .metric-card span {
    font-size: 13px;
  }

  .hero-visual {
    min-height: 520px;
    padding: 18px 12px 20px;
  }

  .content-section {
    padding-block: 54px 60px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
  }

  .section-heading h2 {
    font-size: clamp(2.1rem, 10vw, 3.4rem);
  }

  .section-lede {
    font-size: 16px;
  }

  .carousel-layout {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 4px;
  }

  .carousel-arrow {
    width: 36px;
    min-height: 48px;
    border-radius: 10px;
  }

  .product-carousel {
    gap: 12px;
    scroll-padding-inline: 2px;
  }

  .editorial-product {
    flex-basis: 62%;
  }

  .editorial-product-body {
    padding: 13px 12px 15px;
  }

  .editorial-product-body .product-name {
    min-height: 0;
  }

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

  .fact-card,
  .why-card {
    padding: 16px;
  }

  .fact-number {
    margin-bottom: 20px;
  }

  .fact-card h3,
  .why-card h3 {
    font-size: 17px;
  }

  .fact-card p,
  .why-card p {
    font-size: 14px;
  }

  .why-card {
    display: block;
  }

  .why-number {
    margin-bottom: 18px;
    font-size: 50px;
  }

  .category-carousel {
    margin-top: 24px;
  }

  .category-carousel-heading h3 {
    font-size: 20px;
  }

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

  .laboratory-chip {
    min-height: 80px;
    padding: 10px;
  }

  .marquee-item {
    padding-inline: 20px;
    font-size: 17px;
  }

  .catalog-shell {
    padding-block: 62px 84px;
  }

  .filters-disclosure {
    border-block: 1px solid var(--line);
  }

  .filters-summary {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    cursor: pointer;
    list-style: none;
  }

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

  .filters-icon {
    display: block;
    width: 20px;
    height: 20px;
    transition: transform .2s ease;
  }

  .filters-disclosure[open] .filters-icon {
    transform: rotate(45deg);
  }

  .filters {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .filter-reset {
    width: fit-content;
  }

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

  .product-card-body {
    padding: 12px 10px 13px;
  }

  .product-card-actions {
    align-items: stretch;
  }

  .product-card-actions .button-small {
    width: 100%;
    flex: 1 1 100%;
    padding-inline: 8px;
    font-size: 14px;
  }

  .product-card .product-name {
    font-size: 16px;
  }

  .product-card .product-price {
    font-size: 18px;
  }

  .product-card .product-meta,
  .product-card .product-stock,
  .product-card .product-expiry {
    font-size: 14px;
  }

  .product-card .product-identity {
    font-size: 13px;
  }

  .badge {
    font-size: 12px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .order-dialog {
    inset: auto 0 0;
    width: 100%;
    height: min(92dvh, 760px);
    border-radius: 18px 18px 0 0;
  }

  .order-line {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .order-line-controls {
    grid-column: 1 / -1;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .mobile-order-bar {
    position: fixed;
    z-index: 19;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--paper);
  }

  .mobile-order-bar {
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .mobile-order-label {
    display: block;
    color: var(--muted);
    font-size: 14px;
  }

  .mobile-order-bar .button {
    flex: 0 0 auto;
  }

  .toast {
    bottom: calc(90px + env(safe-area-inset-bottom));
  }

  .footer-grid,
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

.section-blue :focus-visible,
.section-green :focus-visible {
  outline-color: var(--ink);
}

.laboratory-section :focus-visible,
.hero-copy :focus-visible,
.hero-showcase-toolbar :focus-visible,
.hero-visual > .carousel-dots :focus-visible {
  outline-color: var(--paper);
}

/* Ronda 9 — guía visual medida: densidad, tarjetas compactas y mosaico real. */
body {
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #fafafb;
}

h1,
h2,
h3,
.brand,
.metric-value,
.footer-brand,
.order-line-name,
.product-name,
.placeholder-title {
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.brand {
  font-weight: 800;
}

.hybrid-hero {
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
}

.hero-copy {
  padding: clamp(42px, 5vw, 72px) clamp(24px, 6vw, 88px);
}

.hero-copy h1 {
  max-width: 610px;
  font-size: clamp(2.8rem, 4.7vw, 4.65rem);
  font-weight: 800;
  letter-spacing: -.065em;
}

.hero-visual {
  display: grid;
  min-height: 0;
  place-items: center;
  padding: clamp(20px, 3vw, 34px);
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
}

.hero-mosaic {
  display: grid;
  width: 100%;
  max-width: 640px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-mosaic-card {
  animation: mosaic-rise .55s ease both;
  animation-delay: calc(var(--mosaic-index, 0) * 90ms);
}

@keyframes mosaic-rise {
  from { transform: translateY(16px); }
  to { transform: translateY(0); }
}

.hero-mosaic .product-card,
.editorial-product,
.product-card {
  overflow: hidden;
  border: 1px solid #d9e0e8;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 5px 16px rgb(0 30 72 / 10%);
}

.hero-mosaic .product-card:hover,
.editorial-product:hover,
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgb(0 30 72 / 17%);
}

.product-image,
.editorial-product-image {
  position: relative;
  border-radius: 0;
  background: #f5f5f4;
}

.product-image > .product-badges,
.editorial-product-image > .product-badges {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  min-height: 0;
  margin: 0;
}

.product-badges {
  flex-wrap: nowrap;
  max-width: calc(100% - 16px);
  overflow: visible;
}

.badge {
  max-width: 100%;
  overflow: visible;
  border-radius: 4px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.badge-green {
  background: var(--green);
  color: #0b1f33;
}

.product-card-body,
.editorial-product-body {
  padding: 12px 13px 13px;
  border-top: 1px solid #d9e0e8;
  box-shadow: none;
}

.product-open,
.editorial-product-open {
  position: relative;
  padding-right: 28px;
}

.product-open svg,
.editorial-product-open svg {
  position: absolute;
  top: 1px;
  right: 0;
  width: 19px;
  height: 19px;
  color: var(--navy);
}

.product-name,
.editorial-product-body .product-name {
  display: -webkit-box;
  min-height: 2.3em;
  overflow: hidden;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-identity {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-meta,
.product-stock,
.product-expiry {
  margin-top: 7px;
}

.product-stock {
  font-size: 14px;
}

.product-price {
  margin-top: 11px;
  color: var(--navy);
  font-size: 21px;
  font-weight: 800;
}

.price-tax-note {
  display: block;
  margin: 2px 0 0;
  font-size: 12px;
}

.product-card-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  align-items: stretch;
  padding-top: 12px;
}

.product-card-actions .button-small {
  min-width: 0;
  padding-inline: 8px;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
}

.quantity-controls {
  border-radius: 5px;
}

.quantity-button {
  width: 42px;
}

.quantity-value {
  min-width: 22px;
}

.section-heading {
  align-items: end;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-bottom: 3px;
  color: var(--navy);
  font-size: clamp(1.5rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.035em;
}

.section-lede {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.section-link {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.content-section {
  padding-block: 54px 60px;
}

.product-carousel {
  gap: 14px;
}

.editorial-product {
  flex: 0 0 210px;
  min-width: 0;
}

.editorial-product-image {
  aspect-ratio: 1 / 1;
  border: 0;
}

.editorial-product-body {
  min-height: 230px;
}

.category-carousel {
  margin-top: 24px;
}

.category-carousel-heading {
  margin-bottom: 10px;
}

.category-carousel-heading h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
}

.about-section {
  background: #f1f4f9;
}

.fact-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.fact-card {
  flex: 0 0 280px;
  min-height: 220px;
  padding: 18px;
  border: 1px solid #d9e0e8;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 5px 14px rgb(0 30 72 / 8%);
  scroll-snap-align: start;
}

.fact-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.fact-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 6px;
  background: #dce9fb;
  color: var(--navy);
}

.fact-icon svg {
  width: 24px;
  height: 24px;
}

.fact-tag {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.fact-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
}

.fact-card p {
  color: var(--muted);
  font-size: 14px;
}

.why-section {
  background: #fafafb;
}

.why-timeline {
  max-width: 760px;
  margin-block: 0;
  padding: 8px 0 0;
  list-style: none;
}

.why-step {
  position: relative;
  display: grid;
  min-height: 112px;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.why-step:not(:last-child)::after {
  position: absolute;
  top: 48px;
  bottom: 0;
  left: 23px;
  width: 2px;
  background: #d4dbe4;
  content: "";
}

.why-step.is-passed:not(:last-child)::after,
.why-timeline.is-complete .why-step:not(:last-child)::after {
  background: linear-gradient(180deg, var(--navy), var(--green));
}

.why-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid #c6ced9;
  border-radius: 50%;
  background: var(--paper);
  color: #6f7b89;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.why-step.is-passed .why-number {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--paper);
}

.why-step.is-current .why-number {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--paper);
}

.why-step-copy {
  padding: 3px 0 24px;
}

.why-step-copy h3 {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.why-step-copy p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.detail-lots {
  display: grid;
  gap: 4px;
}

.detail-lot {
  margin: 0;
}

.laboratory-section .section-heading h2 {
  color: var(--paper);
}

.back-to-top {
  position: fixed;
  z-index: 22;
  right: 20px;
  bottom: 20px;
  display: inline-grid;
  width: 50px;
  height: 50px;
  min-height: 50px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--navy);
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy);
  box-shadow: 0 8px 20px rgb(0 30 72 / 18%);
}

.back-to-top svg {
  width: 21px;
  height: 21px;
}

.back-to-top:hover {
  background: var(--navy);
  color: var(--paper);
}

@media (min-width: 768px) {
  .hero-mosaic .product-card-actions .button-small {
    padding-inline: 10px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hybrid-hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-block: 46px;
  }

  .hero-visual {
    min-height: 0;
    padding: 22px;
  }

  .hero-mosaic {
    width: min(100%, 440px);
    grid-template-columns: repeat(2, 210px);
    justify-content: center;
  }

  .hero-mosaic-card {
    width: 210px;
  }
}

@media (max-width: 767px) {
  .hybrid-hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 42px 24px 38px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .hero-visual {
    display: block;
    padding: 14px 12px 18px;
  }

  .hero-mosaic {
    display: flex;
    max-width: none;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .hero-mosaic-card {
    flex: 0 0 150px;
    scroll-snap-align: start;
  }

  .hero-mosaic .product-card-body {
    padding: 10px;
  }

  .hero-mosaic .product-card-actions {
    grid-template-columns: 1fr;
  }

  .hero-mosaic .quantity-controls {
    justify-content: center;
  }

  .section-heading {
    align-items: end;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 18px;
  }

  .section-heading > div {
    min-width: 0;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .section-lede {
    font-size: 14px;
  }

  .section-link {
    font-size: 14px;
  }

  .carousel-layout {
    position: relative;
    display: block;
  }

  .carousel-layout > .carousel-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 36px;
    min-height: 48px;
    transform: translateY(-50%);
  }

  .carousel-layout > .carousel-arrow:first-child {
    left: 2px;
  }

  .carousel-layout > .carousel-arrow:last-child {
    right: 2px;
  }

  .product-carousel {
    padding-inline: 0;
    scroll-padding-inline: 42px;
  }

  .editorial-product {
    flex-basis: 150px;
  }

  .editorial-product-body {
    min-height: 222px;
    padding: 10px;
  }

  .editorial-product .product-card-actions {
    grid-template-columns: 1fr;
  }

  .fact-card {
    flex-basis: 260px;
  }

  .why-timeline {
    padding-inline: 4px;
  }

  .why-step-copy h3 {
    font-size: 17px;
  }

  .why-step-copy p {
    font-size: 14px;
  }

  .back-to-top {
    right: 14px;
    bottom: calc(86px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-mosaic-card {
    animation: none;
  }

  .why-timeline.is-complete .why-step:not(:last-child)::after {
    background: var(--blue);
  }
}

@media (max-width: 767px) {
  .search-results-section {
    scroll-margin-top: 220px;
    padding-block: 28px 38px;
  }

  .search-results-heading {
    align-items: flex-start;
  }

  .search-results-heading .button {
    flex: 0 0 auto;
  }
}

@container (max-width: 260px) {
  #grid-resultados-busqueda .product-card-actions,
  #grid-productos .product-card-actions,
  .editorial-product .product-card-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  #grid-resultados-busqueda .quantity-controls,
  #grid-productos .quantity-controls,
  .editorial-product .quantity-controls {
    width: 100%;
    justify-content: space-between;
  }

  #grid-resultados-busqueda .quantity-button,
  #grid-productos .quantity-button,
  .editorial-product .quantity-button {
    width: 44px;
    min-width: 44px;
  }

  #grid-resultados-busqueda .quick-quantity-input,
  #grid-productos .quick-quantity-input,
  .editorial-product .quick-quantity-input {
    width: auto;
    min-width: 32px;
    flex: 1 1 auto;
  }

  #grid-resultados-busqueda .product-card-actions .button-small,
  #grid-productos .product-card-actions .button-small,
  .editorial-product .product-card-actions .button-small {
    width: 100%;
    min-height: 44px;
    flex: 0 0 auto;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
}

.account-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-block: 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--blue-wash); color: var(--navy); }
.account-banner p { margin: 0; font-size: 13px; font-weight: 700; }
.account-banner div { display: flex; flex-wrap: wrap; gap: 7px; }
.price-gate { display: inline-flex; align-items: center; min-height: 42px; color: var(--navy); font-weight: 800; text-decoration: none; }
.search-suggestion-login { color: var(--navy); font-size: 12px; font-weight: 800; white-space: nowrap; }
.account-profile-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; text-decoration: none; }
.account-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); }

@media (max-width: 520px) {
  .account-banner { align-items: flex-start; flex-direction: column; }
  .account-banner div, .account-banner .button { width: 100%; }
  .account-banner .button { justify-content: center; }
  .account-links { gap: 4px; }
  .account-link.button { padding-inline: 8px; font-size: 12px; }
}

/* Lote Q: pedido claro, táctil y sin precios para visitantes. */
.placeholder-icon { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.order-line-controls .quantity-button { width: 44px; min-height: 44px; }
.order-line-controls .quantity-button:disabled { opacity: .45; }
.order-line-subtotal { margin: 5px 0 0; color: var(--navy); font-size: 13px; font-weight: 800; }
.remove-line { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; gap: 4px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--navy); font-weight: 700; }
.remove-line svg { width: 16px; height: 16px; }
.remove-line-text { font-size: 11px; }
.toast-with-action { display: flex; align-items: center; gap: 12px; }
.toast-message { min-width: 0; }
.toast-action { min-height: 40px; padding: 7px 10px; border: 1px solid var(--paper); border-radius: 7px; background: transparent; color: var(--paper); font-weight: 800; white-space: nowrap; }
.delivery-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; }
.delivery-shortcuts .is-selected { border-color: var(--blue); background: var(--blue); color: var(--paper); }
.order-confirmation { margin: auto 0; padding: 20px 0; }
.order-confirmation h2 { color: var(--navy); font-size: 2rem; }
.confirmation-number { color: var(--blue); font-size: 1.25rem; font-weight: 800; }
.confirmation-lines { display: grid; gap: 8px; margin: 18px 0; }
.confirmation-line { display: flex; min-height: 56px; align-items: center; gap: 10px; padding: 6px; border-bottom: 1px solid var(--line); }
.confirmation-image { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 8px; }
.confirmation-line-name { font-weight: 700; }
.confirmation-total { display: block; margin-top: 8px; color: var(--navy); }
.confirmation-actions { display: grid; gap: 8px; }
