/* Punto de partida: tokens y clases de src/app/globals.css + layout del sitio actual. */

:root {
  --background: #f8fafc;
  --foreground: #0f172a;
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --accent: #0284c7;
  --muted: #64748b;
  --card: #ffffff;
  --border: #e2e8f0;
  --font-sans: "Hubot Sans", Arial, Helvetica, sans-serif;
  --font-display: "Mona Sans", "Hubot Sans", Arial, Helvetica, sans-serif;
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.ficha-price,
.cart-item-name,
.rail-product-name,
.rail-cat-name {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container-page {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.section-title {
  font-size: clamp(1.75rem, 2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.card-surface {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--primary);
  color: white;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: white;
  color: var(--foreground);
  font-weight: 600;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: #f0fdfa;
}

.eyebrow {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}

.muted {
  color: var(--muted);
}

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

.site {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow-x: clip;
}

.site-main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(8px);
}

.nav-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-header-inner {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding-block: 0.75rem;
}

.site-search {
  display: flex;
  align-items: center;
  order: 2;
  flex: 1 1 7rem;
  min-width: 0;
  min-height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: white;
}

.site-search-suggest {
  position: fixed;
  z-index: 80;
  max-height: min(22rem, calc(100vh - 6rem));
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: white;
  box-shadow: 0 12px 28px rgb(15 23 42 / 0.12);
}

.site-search-suggest[hidden] {
  display: none;
}

.site-search-hit {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.5rem;
  padding: 0.45rem 0.7rem;
  border-bottom: 1px solid var(--border);
}

.site-search-hit:last-child {
  border-bottom: 0;
}

.site-search-hit:hover {
  background: #f0fdfa;
}

.site-search-thumb {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: white;
}

.site-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-search-meta {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.15rem;
}

.site-search-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.site-search-price {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.site-search-empty {
  margin: 0;
  padding: 0.85rem 0.9rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-search:focus-within {
  border-color: var(--primary);
}

.site-search input {
  flex: 1;
  min-width: 0;
  height: 2.75rem;
  border: 0;
  background: transparent;
  padding: 0 0.15rem 0 0.75rem;
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.875rem;
  -webkit-appearance: none;
  appearance: none;
}

.site-search input::placeholder {
  color: var(--muted);
}

.site-search input:focus {
  outline: none;
}

.site-search button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  cursor: pointer;
}

.site-search button svg {
  width: 1.15rem;
  height: 1.15rem;
}

.site-header-tools {
  display: inline-flex;
  align-items: center;
  order: 3;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: white;
}

.cart-link {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  min-width: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  padding: 0 0.7rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.cart-link:hover {
  background: #f0fdfa;
}

.cart-link-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

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

.cart-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  display: inline-flex;
  min-width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  padding: 0 0.25rem;
}

.cart-badge[hidden] {
  display: none;
}

.site-logo {
  flex-shrink: 0;
  order: 1;
}

.site-logo img {
  height: 2.15rem;
  width: auto;
}

@media (min-width: 768px) {
  .site-logo img {
    height: 2.5rem;
  }
}

.site-nav {
  display: none;
  flex-basis: 100%;
  flex-direction: column;
  order: 4;
  gap: 0.15rem;
  padding: 0.15rem 0 0.35rem;
}

.nav-checkbox:checked ~ .site-header-inner .site-nav {
  display: flex;
}

.site-nav-link {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 150ms ease, background-color 150ms ease;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-checkbox:checked ~ .site-header-inner .nav-toggle {
  background: #f0fdfa;
}

.nav-checkbox:checked ~ .site-header-inner .site-header-tools {
  border-color: var(--primary);
}

.nav-toggle-bar {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  border-radius: 999px;
  background: var(--foreground);
  transition: transform 150ms ease, opacity 150ms ease;
}

.nav-checkbox:checked ~ .site-header-inner .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-checkbox:checked ~ .site-header-inner .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-checkbox:checked ~ .site-header-inner .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (min-width: 768px) {
  .site-header-inner {
    flex-wrap: nowrap;
  }

  .site-search {
    flex: 1 1 12rem;
    max-width: 18rem;
  }

  .site-header-tools {
    order: 4;
    gap: 0.75rem;
    border: 0;
    background: transparent;
  }

  .cart-link {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
  }

  .cart-link:hover {
    border-color: var(--primary);
    background: white;
  }

  .site-nav {
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    align-items: center;
    order: 3;
    gap: 1.5rem;
    padding: 0;
    margin-left: auto;
  }

  .site-nav-link {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    font-size: 0.875rem;
  }

  .cart-link-text {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
  }

  .nav-toggle {
    display: none;
  }
}

.site-nav-link:hover,
.site-nav-link.is-active {
  color: var(--primary);
  background: #f0fdfa;
}

.site-nav-link--corp,
.site-nav-link--corp:hover,
.site-nav-link--corp.is-active {
  margin-top: 0.35rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.site-nav-link--corp:hover,
.site-nav-link--corp.is-active {
  background: var(--primary-dark);
  color: #fff;
}

@media (min-width: 768px) {
  .site-nav-link:hover,
  .site-nav-link.is-active {
    background: transparent;
  }

  .site-nav-link--corp,
  .site-nav-link--corp:hover,
  .site-nav-link--corp.is-active {
    margin-top: 0;
    min-height: 2.75rem;
    padding: 0.4rem 0.85rem;
    border-radius: 0.75rem;
  }

  .site-nav-link--corp:hover,
  .site-nav-link--corp.is-active {
    background: var(--primary-dark);
    color: #fff;
  }
}

.hero {
  background: linear-gradient(to bottom right, #0f766e, #155e75);
  color: white;
}

.hero-inner {
  display: grid;
  gap: 2rem;
  padding-block: 4rem;
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-copy .eyebrow {
  color: #ccfbf1;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}

.hero-lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1.125rem;
  color: #f0fdfa;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero .btn-primary {
  background: white;
  color: #115e59;
}

.hero .btn-primary:hover {
  background: #f0fdfa;
}

.hero .btn-secondary {
  border-color: rgb(255 255 255 / 0.3);
  background: rgb(255 255 255 / 0.1);
  color: white;
}

.hero .btn-secondary:hover {
  background: rgb(255 255 255 / 0.2);
}

.hero-cats {
  padding: 1.5rem;
  color: var(--foreground);
}

.hero-cats h2 {
  margin: 0;
  font-size: 1.25rem;
}

.hero-cats ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}

.hero-cat:hover {
  border-color: var(--primary);
}

.hero-cat span:last-child {
  color: var(--primary);
}

.section {
  padding-block: 4rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head .eyebrow {
  margin-bottom: 0.5rem;
}

.link-primary {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.highlights {
  border-block: 1px solid var(--border);
  background: white;
}

.highlights-grid {
  display: grid;
  gap: 1.5rem;
  padding-block: 3rem;
}

@media (min-width: 768px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.highlights-grid h3 {
  margin: 0;
  font-size: 1.125rem;
}

.highlights-grid p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.page {
  padding-block: 3rem;
  overflow-x: hidden;
}

.page-intro {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.page-intro .section-title {
  margin-top: 0.5rem;
}

.page-intro p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.cart-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.cart-heading .section-title {
  margin: 0;
}

.cart-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 18px rgb(13 148 136 / 0.22);
}

.cart-heading-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

@media (min-width: 768px) {
  .cart-heading-icon {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 1rem;
  }

  .cart-heading-icon svg {
    width: 1.7rem;
    height: 1.7rem;
  }
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  font-size: 0.875rem;
  color: var(--muted);
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: #f0fdfa;
}

.cat-picker {
  max-width: 28rem;
  margin-bottom: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: white;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.cat-picker[open] {
  border-color: var(--primary);
}

.cat-picker-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.7rem 1rem;
  cursor: pointer;
  list-style: none;
}

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

.cat-picker-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
}

.cat-picker-kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.cat-picker-current {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--foreground);
}

.cat-picker-chevron {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--primary-dark);
  border-bottom: 2px solid var(--primary-dark);
  transform: rotate(45deg) translateY(-2px);
}

.cat-picker[open] .cat-picker-chevron {
  transform: rotate(-135deg) translateY(-2px);
}

.cat-picker-panel {
  display: flex;
  flex-direction: column;
  max-height: min(22rem, 60vh);
  overflow-y: auto;
  padding: 0.35rem 0.45rem 0.55rem;
  border-top: 1px solid var(--border);
}

.cat-picker-item {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  color: var(--foreground);
}

.cat-picker-item:hover,
.cat-picker-item.is-active {
  background: #f0fdfa;
  color: var(--primary-dark);
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 640px) {
  .product-grid {
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  min-width: 0;
  max-width: 100%;
}

.product-card-media {
  display: block;
  aspect-ratio: 1;
  padding: 0.5rem;
  background: white;
  min-width: 0;
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.625rem 0.75rem 0.75rem;
  min-width: 0;
}

.product-card-sku {
  display: none;
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card h3 {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card h3:hover {
  color: var(--primary);
}

.product-card-desc {
  display: none;
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.product-card-price {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.product-card-unit {
  margin: 0;
  font-size: 0.6875rem;
  color: var(--muted);
}

.product-card-cta {
  display: none;
}

.product-card .stock-badge {
  align-self: flex-start;
  max-width: 100%;
  white-space: normal;
  line-height: 1.2;
  padding: 0.15rem 0.4rem;
  font-size: 0.625rem;
}

@media (min-width: 640px) {
  .product-card-media {
    aspect-ratio: 4 / 3;
    padding: 0.75rem;
  }

  .product-card-body {
    gap: 0.75rem;
    padding: 1rem;
  }

  .product-card-sku {
    display: block;
  }

  .product-card h3 {
    margin-top: 0.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    -webkit-line-clamp: 3;
  }

  .product-card-desc {
    display: -webkit-box;
  }

  .product-card-foot {
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.5rem;
  }

  .product-card-price {
    font-size: 1.25rem;
  }

  .product-card-unit {
    font-size: 0.75rem;
  }

  .product-card-cta {
    display: inline-flex;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .product-card .stock-badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }
}

.stock-badge {
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.stock-badge--ok {
  background: #ecfdf5;
  color: #047857;
}

.stock-badge--low {
  background: #fffbeb;
  color: #b45309;
}

.stock-badge--out {
  background: #fef2f2;
  color: #b91c1c;
}

.ficha-page {
  padding-block: 2.5rem;
}

.ficha {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .ficha {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .ficha-commerce-mobile {
    display: none;
  }
}

@media (max-width: 1023px) {
  .ficha-commerce-desktop {
    display: none;
  }
}

.ficha-col--media,
.ficha-col--buy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ficha-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: white;
}

.ficha-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ficha-brands {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .ficha-brands {
    display: flex;
  }
}

.ficha-brand-logo {
  height: 1.75rem;
  width: auto;
}

.ficha-brand-pill {
  border-radius: 999px;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ficha-cat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.ficha-sku {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.pack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pack-chip {
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  color: var(--muted);
}

.pack-chip.is-active {
  border-color: transparent;
  background: #f0fdfa;
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 4px;
}

.ficha-price {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.ficha-unit {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.btn-block {
  width: 100%;
}

.btn-primary:disabled,
.btn-primary.is-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.add-cart,
.wa-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: white;
  overflow: hidden;
}

.qty-stepper button {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  font-size: 1.125rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}

.qty-stepper button:hover {
  background: #f8fafc;
}

.qty-stepper input {
  width: 3.5rem;
  height: 2.75rem;
  border: 0;
  border-inline: 1px solid var(--border);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  background: transparent;
}

.wa-box {
  overflow: hidden;
  border: 2px solid var(--primary);
  border-radius: 0.75rem;
}

.wa-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 0;
  background: white;
  color: var(--primary-dark);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.wa-toggle.is-open span {
  transform: rotate(180deg);
}

.wa-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 18rem;
  overflow-y: auto;
  border-top: 1px solid #ccfbf1;
  background: #f8fffe;
}

.wa-list--mayor {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: white;
  max-height: none;
}

.wa-list li + li {
  border-top: 1px solid #ccfbf1;
}

.wa-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.wa-list a:hover {
  background: #f0fdfa;
}

.wa-icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25d366;
  color: white;
  flex-shrink: 0;
}

.wa-icon svg {
  width: 18px;
  height: 18px;
}

.wa-mayor {
  border: 0;
  background: none;
  padding: 0;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.wa-mayor:hover {
  text-decoration: underline;
}

.ficha-h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.ficha-h2 iconify-icon {
  flex: 0 0 auto;
  font-size: 1.2rem;
  color: var(--primary);
}

.ficha-desc {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.spec-table {
  margin: 0.75rem 0 0;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.spec-table div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
}

.spec-table div:first-child {
  border-top: 0;
}

.spec-table dt {
  margin: 0;
  color: var(--muted);
}

.spec-table dd {
  margin: 0;
  font-weight: 500;
  color: #1e293b;
}

.ideal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.ideal-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: #f0fdfa;
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.ideal-row span iconify-icon {
  flex: 0 0 auto;
  font-size: 0.95rem;
  color: var(--primary);
}

.ficha-commerce {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pay-box {
  border: 1px solid #ccfbf1;
  border-radius: 1rem;
  background: #f4fbfa;
  padding: 1.25rem;
}

.pay-box-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pay-box-title span {
  height: 1px;
  flex: 1;
  background: #99f6e4;
}

.pay-box-title h2 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.pay-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .pay-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pay-grid li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #ccfbf1;
  border-radius: 999px;
  background: white;
  padding: 0.65rem 0.75rem;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
  font-size: 0.875rem;
  font-weight: 500;
}

.pay-icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  flex-shrink: 0;
}

.pay-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.policy-list {
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  background: white;
}

.policy-acc + .policy-acc {
  border-top: 1px solid var(--border);
}

.policy-acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  list-style: none;
}

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

.policy-acc-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #334155;
}

.policy-acc-icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f0fdfa;
  color: var(--primary);
}

.policy-acc-icon svg {
  width: 1rem;
  height: 1rem;
}

.policy-plus,
.policy-minus {
  color: var(--primary);
  font-size: 1.125rem;
}

.policy-minus,
.policy-acc[open] .policy-plus {
  display: none;
}

.policy-acc[open] .policy-minus {
  display: inline;
}

.policy-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.policy-card {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 0.9rem;
}

.policy-card--teal {
  border-color: #ccfbf1;
  background: #f8fffe;
}

.policy-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.policy-kicker--muted {
  color: #334155;
}

.policy-kicker span {
  font-weight: 500;
  text-transform: none;
  color: var(--muted);
}

.policy-checks {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.policy-checks li {
  display: flex;
  gap: 0.65rem;
}

.policy-checks li::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  border-radius: 999px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.7rem;
}

.check-ok::before {
  background-color: #f0fdfa;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m5 12 5 5L20 7' stroke='%230d9488' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.check-no::before {
  background-color: #fff1f2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 7l10 10M17 7 7 17' stroke='%23e11d48' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.policy-example {
  margin-top: 0.75rem;
  border-radius: 0.5rem;
  background: white;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: #475569;
}

.policy-example p {
  margin: 0.25rem 0 0;
}

.policy-example p:first-child {
  margin: 0;
  color: #334155;
}

.policy-warranty {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}

.policy-note {
  margin: 0;
  font-size: 0.75rem;
}

.cart-layout {
  display: grid;
  gap: 1.5rem;
}

.cart-empty[hidden],
.cart-layout[hidden] {
  display: none;
}

@media (min-width: 1024px) {
  .cart-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 32rem;
  margin: 0;
  padding: 1.5rem 1.35rem 1.6rem;
}

.cart-empty h2 {
  margin: 0.25rem 0 0;
  font-size: 1.25rem;
}

.cart-empty .muted {
  margin: 0;
}

.cart-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: #f0fdfa;
  color: var(--primary-dark);
}

.cart-empty-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.cart-panel {
  padding: 0;
  overflow: hidden;
}

.cart-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem 0.9rem;
  border-bottom: 1px solid var(--border);
}

.cart-panel-title {
  margin: 0.3rem 0 0;
  font-size: 1.2rem;
}

.cart-panel-count {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.cart-item {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-top: 1px solid var(--border);
}

.cart-item:first-child {
  border-top: 0;
}

.cart-item-media {
  flex: 0 0 4.5rem;
  width: 4.5rem;
  height: 4.5rem;
  overflow: hidden;
  border-radius: 0.85rem;
  background: #f0fdfa;
  border: 1px solid var(--border);
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  padding: 0.35rem;
  object-fit: contain;
}

.cart-item-media--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ccfbf1 0%, #f0fdfa 100%);
}

.cart-item-mark {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.cart-item-body {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
}

.cart-item-meta {
  margin: 0.3rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.cart-item-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 0.85rem;
  margin-top: 0.7rem;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cart-item-stepper button {
  width: 2.5rem;
  height: 2.5rem;
}

.cart-item-stepper input {
  width: 2.75rem;
  height: 2.5rem;
}

.cart-remove {
  border: 0;
  background: none;
  color: #dc2626;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}

.cart-item-line {
  margin: 0;
  font-weight: 700;
  color: var(--primary-dark);
}

.cart-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem 1.35rem 1.4rem;
}

.cart-form h2 {
  margin: 0.3rem 0 0;
  font-size: 1.2rem;
}

.cart-form-lead {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.cart-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cart-field span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}

.cart-form input,
.cart-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font: inherit;
}

.cart-form textarea {
  min-height: 5.5rem;
}

.cart-assurances {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.cart-assurances li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.cart-assurances li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.25rem;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.cart-form .wa-toggle {
  min-height: 44px;
  padding: 0.85rem 1.15rem;
  background: var(--primary);
  color: white;
  font-size: 1rem;
}

.cart-form .wa-toggle:hover {
  background: var(--primary-dark);
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.breadcrumb span {
  margin-inline: 0.5rem;
}

.breadcrumb-current {
  color: #334155;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.notice {
  margin: 2rem auto;
  max-width: 40rem;
  padding: 1.25rem 1.5rem;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: #020617;
  color: #f1f5f9;
}

.site-footer .site-logo img,
.site-footer img {
  height: 2.5rem;
  width: auto;
}

.site-footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
}

@media (min-width: 1024px) {
  .site-footer-grid {
    grid-template-columns: 1.1fr 0.7fr 1.4fr;
  }
}

.footer-lead {
  margin: 0.75rem 0 0;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.footer-muted {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #5eead4;
}

.footer-link:hover {
  color: #99f6e4;
}

.footer-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #94a3b8;
}

.footer-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.footer-list li + li {
  margin-top: 0.5rem;
}

.footer-list a:hover {
  color: white;
}

.footer-sedes {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .footer-sedes {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-sede {
  border: 1px solid #1e293b;
  background: rgb(15 23 42 / 0.6);
  border-radius: 0.5rem;
  padding: 0.65rem 0.75rem;
}

.footer-sede-name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
}

.footer-sede-address {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #94a3b8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-footer-bottom {
  border-top: 1px solid #1e293b;
  padding-block: 1rem;
}

.site-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

.footer-legal a:hover {
  color: white;
}

.prose-card {
  padding: 1.5rem;
}

.prose-card + .prose-card {
  margin-top: 1rem;
}

.prose-card h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.prose-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.prose-card li + li {
  margin-top: 0.5rem;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.page-kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.page-kicker .section-title {
  margin: 0.3rem 0 0;
}

.contact-grid .page-kicker .section-title,
.contact-corp h2 {
  font-size: 1.35rem;
  line-height: 1.25;
}

.heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 18px rgb(13 148 136 / 0.22);
}

.heading-icon iconify-icon {
  font-size: 1.45rem;
}

.contact-lead {
  margin-top: 1rem;
}

.sede-locator {
  width: 100vw;
  max-width: none;
  margin: 2.25rem 0 0;
  margin-left: calc(50% - 50vw);
  padding-inline: 1.25rem;
}

.sede-locator h2 {
  margin: 0 0 1.85rem;
  font-size: 1.15rem;
  line-height: 1.3;
  text-align: center;
}

.sede-locator-stage {
  position: relative;
  overflow: visible;
}

.sede-locator-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.sede-locator-state {
  fill: #eef2f6;
  stroke: #fff;
  stroke-width: 1.15;
  stroke-linejoin: round;
  pointer-events: fill;
  transition: fill 0.2s ease, stroke-width 0.16s ease, filter 0.2s ease;
}

.sede-locator-state.is-live {
  fill: #5eead4;
  stroke: #fff;
  stroke-width: 1.35;
  cursor: pointer;
}

.sede-locator-state.is-live:hover,
.sede-locator-state.is-live.is-hot {
  fill: #0d9488;
  stroke: #fff;
  stroke-width: 1.5;
}

.sede-locator-aside {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 2.5%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: max-content;
  justify-content: center;
  column-gap: clamp(0.55rem, 1.6vw, 1.1rem);
  row-gap: 0.22rem;
  max-width: min(40rem, 96%);
}

.sede-locator-aside button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.2rem;
  border: 0;
  background: transparent;
  color: #334155;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 550;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.sede-locator-aside button:hover,
.sede-locator-aside button.is-active {
  color: var(--primary-dark);
}

.sede-locator-aside-check {
  flex: 0 0 auto;
  width: 0.7rem;
  height: 0.7rem;
  border: 1.5px solid var(--primary);
  border-radius: 0.2rem;
  background:
    linear-gradient(var(--primary), var(--primary)) center / 0 0 no-repeat;
  position: relative;
}

.sede-locator-aside-check::after {
  content: "";
  position: absolute;
  left: 0.12rem;
  top: 0.02rem;
  width: 0.22rem;
  height: 0.4rem;
  border-right: 1.5px solid var(--primary);
  border-bottom: 1.5px solid var(--primary);
  transform: rotate(40deg);
}

@media (max-width: 767px) {
  .sede-locator-aside {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    max-width: none;
    /* Sube al hueco de Amazonas sin tapar estados activos */
    margin-top: -5.25rem;
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-columns: unset;
    column-gap: 0.65rem;
    row-gap: 0.28rem;
  }
}

.sede-locator-pin {
  cursor: pointer;
  outline: none;
  color: var(--primary);
}

.sede-locator-pin-inner {
  transform-box: fill-box;
  transform-origin: center bottom;
  transform: scale(0.42);
  transition: transform 0.18s ease;
}

.sede-locator-pin.is-active .sede-locator-pin-inner,
.sede-locator-pin:focus-visible .sede-locator-pin-inner {
  animation: sede-pin-bounce 0.55s ease-in-out infinite;
}

@keyframes sede-pin-bounce {
  0%,
  100% {
    transform: scale(0.95) translateY(0);
  }
  50% {
    transform: scale(0.95) translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sede-locator-pin.is-active .sede-locator-pin-inner,
  .sede-locator-pin:focus-visible .sede-locator-pin-inner {
    animation: none;
    transform: scale(0.9);
  }
}

.sede-locator-pin-mark {
  fill: var(--primary);
  stroke: #fff;
  stroke-width: 1.25;
  filter: drop-shadow(0 2px 4px rgb(13 148 136 / 0.35));
}

.sede-locator-pin-shadow {
  fill: rgb(15 23 42 / 0.12);
}

.sede-locator-pin-hole {
  fill: #fff;
}

.sede-locator-pin.is-active .sede-locator-pin-mark,
.sede-locator-pin:focus-visible .sede-locator-pin-mark {
  fill: var(--primary-dark);
}

.sede-locator-pin-badge circle {
  fill: var(--accent);
}

.sede-locator-pin-badge text {
  fill: #fff;
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-body, system-ui, sans-serif);
  pointer-events: none;
}

.sede-locator-labels {
  pointer-events: none;
}

.sede-locator-label {
  fill: #64748b;
  font-size: 7.35px;
  font-weight: 600;
  font-family: var(--font-body, "Hubot Sans", system-ui, sans-serif);
  letter-spacing: 0.01em;
  stroke: none;
}

.sede-locator-label.is-live {
  fill: #0f766e;
}

.sede-locator-label.is-hot {
  fill: #fff;
}

.sede-locator-search {
  width: min(36rem, 100%);
  margin: 1.75rem auto 0;
}

.sede-locator-search-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.sede-locator-search-field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--card);
  box-shadow: 0 8px 20px rgb(15 23 42 / 0.05);
}

.sede-locator-search-field iconify-icon {
  flex: 0 0 auto;
  font-size: 1.15rem;
  color: var(--primary);
}

.sede-locator-search-field input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}

.sede-locator-search-results {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--card);
  box-shadow: 0 12px 28px rgb(15 23 42 / 0.1);
  max-height: 16rem;
  overflow: auto;
}

.sede-locator-search-results button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}

.sede-locator-search-results button:hover,
.sede-locator-search-results button.is-active {
  background: #f0fdfa;
}

.sede-locator-search-results strong {
  font-size: 0.92rem;
  font-weight: 650;
}

.sede-locator-search-results span {
  font-size: 0.78rem;
  color: var(--muted);
}

.sede-locator-search-empty {
  padding: 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.sede-popover {
  position: absolute;
  z-index: 4;
  top: 0.25rem;
  right: 0;
  width: min(22rem, calc(100% - 1.25rem));
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: 0 18px 40px rgb(15 23 42 / 0.16);
}

@media (max-width: 767px) {
  .sede-popover {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 0.85rem;
  }
}

.sede-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem 0.35rem;
}

.sede-dialog-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.sede-dialog-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 0.7rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.sede-dialog-close:hover,
.sede-dialog-close:focus-visible {
  color: var(--foreground);
  background: var(--background);
}

.sede-dialog-close iconify-icon {
  font-size: 1.45rem;
}

.sede-dialog-sede {
  padding: 0.65rem 1.05rem 1.05rem;
}

.sede-dialog-sede + .sede-dialog-sede {
  border-top: 1px solid var(--border);
}

.sede-dialog-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.sede-dialog-address {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.sede-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.sede-dialog-wa {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sede-dialog-wa-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  background: #ecfdf5;
  color: #128c7e;
}

.sede-dialog-wa-link:hover,
.sede-dialog-wa-link:focus-visible {
  background: #d1fae5;
}

.sede-dialog-wa-link iconify-icon {
  font-size: 1.3rem;
}

.sede-dialog-more {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.contact-corp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.35rem 1.4rem 1.5rem;
}

.contact-corp h2 {
  margin: 0;
}

.contact-corp .muted {
  margin: 0;
}

.contact-corp .btn-primary {
  margin-top: 0.35rem;
}

.sede-kicker {
  margin: 3rem 0 1.5rem;
}

.sede-kicker .section-title {
  margin: 0;
  font-size: 1.5rem;
}

.sede-list {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .sede-list {
    grid-template-columns: 1fr 1fr;
  }
}

.sede-card {
  padding: 0;
  overflow: hidden;
  scroll-margin-top: 5.5rem;
}

.sede-card.is-target {
  outline: 2px solid var(--primary);
  box-shadow: 0 0 0 6px rgb(13 148 136 / 0.16);
}

.sede-map-wrap {
  aspect-ratio: 16 / 10;
  background: #e2e8f0;
}

.sede-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.sede-card-body {
  padding: 1.15rem 1.2rem 1.25rem;
}

.sede-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.sede-card p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.sede-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1rem;
}

.sede-actions .btn-primary,
.contact-corp .btn-primary {
  gap: 0.45rem;
}

.sede-actions .btn-primary iconify-icon,
.contact-corp .btn-primary iconify-icon {
  font-size: 1.2rem;
}

.ficha-rail {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.ficha-rail + .ficha-rail {
  margin-top: 2rem;
}

.ficha-rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ficha-rail-title {
  margin-top: 0.35rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.ficha-rail-wrap {
  position: relative;
}

.ficha-rail-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.15rem;
  -webkit-overflow-scrolling: touch;
  padding: 0.15rem 0.15rem 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: #99f6e4 transparent;
}

.ficha-rail-nav {
  display: none;
  position: absolute;
  top: 38%;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  color: var(--primary-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
}

.ficha-rail-nav:hover {
  border-color: var(--primary);
  background: #f0fdfa;
}

.ficha-rail-nav[data-rail-prev] {
  left: -0.4rem;
}

.ficha-rail-nav[data-rail-next] {
  right: -0.4rem;
}

@media (min-width: 768px) {
  .ficha-rail-nav {
    display: inline-flex;
  }

  .ficha-rail-track {
    gap: 1rem;
    padding-inline: 2.25rem;
  }
}

.rail-product {
  flex: 0 0 42%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: start;
}

.rail-product-media {
  display: block;
  aspect-ratio: 1;
  padding: 0.5rem;
  background: white;
  overflow: hidden;
}

.rail-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rail-product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0.55rem 0.7rem 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.rail-product-price {
  margin: 0.35rem 0.7rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.rail-cat {
  flex: 0 0 88%;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.rail-cat:hover {
  border-color: var(--primary);
}

.rail-cat-hero {
  flex: 0 0 5.5rem;
  width: 5.5rem;
  align-self: stretch;
  background: #f0fdfa;
  border-right: 1px solid var(--border);
}

.rail-cat-hero img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 5.75rem;
  padding: 0.45rem;
  object-fit: contain;
}

.rail-cat-hero--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.75rem;
  background: linear-gradient(180deg, #ccfbf1 0%, #f0fdfa 100%);
}

.rail-cat-hero-mark {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
}

.rail-cat-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.8rem 0.9rem 0.85rem;
}

.rail-cat-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.rail-cat-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.rail-cat-go {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
}

@media (min-width: 768px) {
  .rail-product {
    flex-basis: 11.5rem;
  }

  .rail-cat {
    flex-basis: 20rem;
  }

  .rail-cat-hero {
    flex-basis: 6.25rem;
    width: 6.25rem;
  }
}

.corp-page {
  max-width: 48rem;
}

.corp-page .section-title {
  margin-top: 0.5rem;
}

.corp-lead {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted);
}

.corp-lead strong {
  color: var(--foreground);
  font-weight: 600;
}

.corp-grid {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .corp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.corp-card {
  padding: 1.15rem 1.2rem;
}

.corp-card h2 {
  margin: 0;
  font-size: 1rem;
}

.corp-card p {
  margin: 0.45rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.corp-cta {
  margin-top: 1.5rem;
  padding: 1.35rem 1.35rem 1.5rem;
}

.corp-cta h2 {
  margin: 0;
  font-size: 1.15rem;
}

.corp-cta p {
  margin: 0.5rem 0 1rem;
  color: var(--muted);
}

/* —— Categorías mega menú + hero thumbnails —— */
.cat-mega {
  position: relative;
}

.cat-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.cat-mega-trigger iconify-icon {
  font-size: 1rem;
  opacity: 0.75;
  transition: transform 0.18s ease;
}

.cat-mega-trigger[aria-expanded="true"] iconify-icon {
  transform: rotate(180deg);
}

.cat-mega-layer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--cat-mega-top, 4.5rem);
  z-index: 95;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 1rem 1.5rem;
  pointer-events: none;
}

.cat-mega-layer[hidden] {
  display: none !important;
}

.cat-mega-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(15 23 42 / 0.48);
  cursor: pointer;
  pointer-events: auto;
}

.cat-mega-panel {
  position: relative;
  z-index: 1;
  width: min(72rem, 100%);
  max-height: min(92vh, 56rem);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: 0 24px 48px rgb(15 23 42 / 0.18);
  overflow: hidden;
  pointer-events: auto;
}

.cat-mega-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
}

.cat-mega-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--foreground);
}

.cat-mega-all {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.cat-mega-all:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.cat-mega-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.cat-mega-close:hover {
  background: #f1f5f9;
  color: var(--foreground);
}

.cat-mega-body {
  display: grid;
  grid-template-columns: minmax(12rem, 16rem) 1fr;
  min-height: 0;
  flex: 1;
}

.cat-mega-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}

.cat-mega-pane-head {
  flex: 0 0 auto;
  padding: 0.75rem 1rem 0.15rem;
}

.cat-mega-pane-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--foreground);
  text-decoration: none;
}

.cat-mega-pane-link:hover {
  color: var(--primary-dark);
}

.cat-mega-pane-link iconify-icon {
  font-size: 1.05rem;
  color: var(--primary);
}

.cat-mega-empty {
  margin: 0;
  padding: 1.5rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.cat-mega-side {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  border-right: 1px solid var(--border);
  overflow: auto;
  background: #f8fafc;
}

.cat-mega-side-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  color: var(--foreground);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
}

.cat-mega-side-btn iconify-icon {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 1rem;
}

.cat-mega-side-btn:hover,
.cat-mega-side-btn.is-active {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 1px 0 rgb(15 23 42 / 0.04);
}

.cat-mega-side-btn.is-active iconify-icon {
  color: var(--primary);
}

.cat-mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.75rem, 1fr));
  gap: 0.85rem 0.75rem;
  padding: 1rem;
  overflow: auto;
  align-content: start;
  flex: 1;
  min-height: 0;
}

.cat-mega-grid.is-products {
  grid-template-columns: repeat(auto-fill, minmax(7.25rem, 1fr));
}

.cat-hero-card--product .cat-hero-name {
  font-size: 0.72rem;
  font-weight: 550;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--foreground);
  border-radius: 0.75rem;
  padding: 0.35rem;
  transition: background 0.16s ease, transform 0.16s ease;
}

.cat-hero-card:hover,
.cat-hero-card.is-focus {
  background: #f0fdfa;
}

.cat-hero-card.is-focus {
  outline: 2px solid rgb(13 148 136 / 0.35);
  outline-offset: 1px;
}

.cat-hero-media {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.7rem;
  overflow: hidden;
  background: #ccfbf1;
}

.cat-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-hero-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  height: 100%;
  padding: 0.75rem;
  background:
    linear-gradient(145deg, #0d9488 0%, #0f766e 55%, #115e59 100%);
  color: #fff;
  text-align: center;
}

.cat-hero-placeholder-brand {
  font-family: var(--font-display, "Mona Sans", system-ui, sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cat-hero-placeholder-note {
  font-size: 0.65rem;
  opacity: 0.85;
  line-height: 1.25;
}

.cat-hero-name {
  display: block;
  width: 100%;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.cat-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
}

.cat-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 0.9rem;
  margin-top: 0.5rem;
}

.cat-hero-card--page {
  padding: 0;
  align-items: stretch;
  gap: 0.7rem;
}

.cat-hero-card--page .cat-hero-media {
  border-radius: 0.85rem;
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.06);
}

.cat-hero-card--page .cat-hero-copy {
  padding: 0 0.15rem 0.35rem;
}

.cat-hero-card--page .cat-hero-name {
  font-size: 0.98rem;
  text-align: left;
}

.cat-hero-count {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--primary-dark);
}

.cat-hero-desc {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .cat-hero-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1rem;
  }
}

@media (min-width: 960px) {
  .cat-hero-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cat-mega-grid {
    grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
    gap: 1rem;
    padding: 1.15rem;
  }
}

@media (max-width: 767px) {
  .cat-mega-layer {
    top: 0 !important;
    padding: 0;
    align-items: stretch;
    pointer-events: auto;
  }

  .cat-mega-panel {
    width: 100%;
    max-height: none;
    height: 100%;
    border-radius: 0;
  }

  .cat-mega-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .cat-mega-side {
    display: flex;
    gap: 0.35rem;
    padding: 0.65rem;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
  }

  .cat-mega-side li {
    flex: 0 0 auto;
  }

  .cat-mega-side-btn {
    white-space: nowrap;
    padding: 0.55rem 0.75rem;
  }

  .cat-mega-side-btn iconify-icon {
    display: none;
  }
}

body.cat-mega-open {
  overflow: hidden;
}

