
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --orange: #ff640d;
  --orange-dark: #f05400;
  --ink: #101820;
  --ink-2: #1f2933;
  --muted: #66717c;
  --line: #e5e7eb;
  --soft: #f5f7f9;
  --green: #25d366;
  --white: #ffffff;
  --max: 1220px;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(12, 24, 36, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
svg { width: 1.15em; height: 1.15em; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229,231,235,0.95);
}
.topbar {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 18px 0 20px;
}
.brand img {
  max-width: 160px;
  max-height: 52px;
  object-fit: contain;
}
.search-wrap {
  position: relative;
}
.site-search {
  width: 100%;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafbfc;
  padding: 0 54px 0 18px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.site-search:focus {
  border-color: #b5bdc5;
  background: #fff;
}
.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a939c;
  display: inline-flex;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.wa-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.2;
}
.wa-mini b {
  display: block;
  margin-top: 2px;
  font-size: 14px;
}
.wa-dot {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}
.quote-btn {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  cursor: pointer;
}
.cart-ico {
  position: relative;
  display: inline-flex;
  color: #5b6670;
}
.cart-ico svg {
  width: 26px;
  height: 26px;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 20px;
  height: 20px;
  border-radius: 20px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.cart-count--inline {
  position: static;
  vertical-align: middle;
}
.mobile-menu-btn {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
}
.main-nav {
  border-top: 1px solid #f3f4f6;
}
.main-nav .container {
  display: flex;
  justify-content: center;
  gap: 34px;
  align-items: center;
  min-height: 50px;
}
.main-nav a,
.mobile-nav a {
  font-size: 14px;
  font-weight: 600;
}
.main-nav a {
  position: relative;
  padding: 16px 0;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--orange);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--orange);
}
.mobile-nav {
  display: none;
  padding: 8px 20px 16px;
  border-top: 1px solid var(--line);
}
.mobile-nav.show { display: block; }
.mobile-nav a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid #f2f3f5;
}

.search-results {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 80;
  display: none;
  max-height: 360px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.search-results.show { display: block; }
.search-result {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border-bottom: 1px solid #f2f4f6;
}
.search-result:last-child { border-bottom: 0; }
.search-result img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.search-result small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: #0d2431;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 16, 24, 0.88) 0%, rgba(7, 28, 43, 0.76) 42%, rgba(8, 33, 48, 0.52) 66%, rgba(9, 37, 53, 0.34) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.12), rgba(0,0,0,0.12));
}

.hero-home {
  background-position: center 38%;
}
.hero-home .hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 13, 20, 0.92) 0%, rgba(6, 23, 34, 0.82) 40%, rgba(9, 37, 53, 0.55) 63%, rgba(8, 30, 44, 0.18) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.12), rgba(0,0,0,0.08));
}
.hero-home::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(4,13,20,0), rgba(4,13,20,0.28));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
}
.hero-inner--home {
  min-height: 690px;
  grid-template-columns: minmax(0, 850px);
  padding: 88px 0;
}
.hero-inner--category,
.hero-inner--contact {
  min-height: 430px;
  grid-template-columns: minmax(0, 760px);
  padding: 56px 0;
}
.hero-copy {
  max-width: 820px;
}
.eyebrow {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cfe3ef;
}
.breadcrumbs {
  margin-bottom: 16px;
  font-size: 13px;
  color: #f3d0b7;
}
.hero h1 {
  margin: 0 0 20px;
  max-width: 15ch;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.hero-copy--home h1 {
  max-width: 15ch;
  text-wrap: balance;
}
.hero-copy--home p {
  max-width: 690px;
  font-size: 19px;
}
.hero p {
  max-width: 720px;
  margin: 0 0 28px;
  color: #e7edf1;
  font-size: 18px;
  line-height: 1.65;
}
.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary {
  color: #fff;
  background: var(--orange);
}
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline-light {
  color: #fff;
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.72);
}
.btn-outline {
  color: var(--ink);
  background: #fff;
  border-color: #cad0d6;
}
.btn-outline:hover { background: #f7f8fa; }

.authority {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.authority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.authority-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}
.authority-item:last-child { border-right: 0; }
.auth-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid #ffc49d;
  color: var(--orange);
}
.auth-icon svg { width: 22px; height: 22px; }
.authority-item b {
  display: block;
  font-size: 13px;
}
.authority-item > div > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.section {
  padding: 58px 0;
}
.section.soft { background: var(--soft); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 22px;
}
.section-head--tight {
  margin-bottom: 18px;
}
.section-head h2 {
  margin: 0 0 8px;
  font-size: 34px;
  letter-spacing: -0.03em;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-grid--catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(16, 24, 32, 0.04);
}
.product-img-wrap {
  display: grid;
  place-items: center;
  height: 220px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-meta {
  margin-top: 10px;
  font-size: 12px;
  color: #7a838d;
}
.product-card h3 {
  margin: 5px 0 4px;
  font-size: 17px;
  line-height: 1.35;
}
.pn {
  min-height: 16px;
  color: #7f8790;
  font-size: 11px;
}
.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.card-actions .btn {
  width: 100%;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 10px;
  font-size: 13px;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.card-actions [data-detail] {
  white-space: nowrap;
}

.card-actions [data-add] {
  color: #1f3a49;
  background: #ecedee;
  border-color: #9fb5c1;
}

.card-actions [data-add]:hover {
  color: #132832;
  background: #d1dfe6;
  border-color: #879faa;
}

/* Cambia visualmente "Agregar a cotización" por "Agregar" */
.card-actions [data-add] span {
  font-size: 0;
}

.card-actions [data-add] span::after {
  content: "Agregar";
  font-size: 13px;
}

/* Ver detalles mantiene fondo blanco */
.card-actions [data-detail] {
  color: var(--ink);
  background: #fff;
  border-color: #cad0d6;
}

.card-actions [data-detail]::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101820' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.product-grid--catalog .card-actions [data-detail]::before {
  display: none;
}

.featured-slider {
  position: relative;
}
.featured-viewport {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}
.featured-viewport.dragging { cursor: grabbing; }
.featured-track {
  display: flex;
  transition: transform 0.42s ease;
}
.featured-slide {
  flex: 0 0 100%;
  display: flex;
}

.product-grid--featured {
  width: 100%;
  padding: 2px;
  align-items: stretch;
}

.product-grid--featured .product-card {
  height: 100%;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}
.slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #ced4db;
  background: #fff;
  font-size: 22px;
  cursor: pointer;
}
.slider-dots {
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #d3d9df;
  cursor: pointer;
}
.slider-dot.active {
  background: var(--orange);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.category-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  overflow: hidden;
  border-radius: 18px;
  background: #102231;
  color: #fff;
  box-shadow: var(--shadow);
  transform: translateZ(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(12, 24, 36, 0.22);
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  transition: transform 0.45s ease;
}
.category-card:hover::before {
  transform: scale(1.05);
}
.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,16,22,0.10) 0%, rgba(7,20,29,0.58) 52%, rgba(4,10,16,0.86) 100%);
}
.category-info {
  position: relative;
  z-index: 1;
  padding: 24px;
}
.category-info h3 {
  margin: 0 0 8px;
  font-size: 23px;
}
.category-info p {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
  font-size: 14px;
}
.category-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.8);
  font-weight: 700;
  font-size: 13px;
}

.cta-strip {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, #101f2a, #183343);
}
.cta-strip--contact {
  background-image: linear-gradient(90deg, rgba(9,22,31,0.88), rgba(17,55,74,0.76)), var(--cta-image);
  background-size: cover;
  background-position: center;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 138px;
  padding: 26px 0;
}
.cta-inner h2 {
  margin: 0 0 8px;
  font-size: 34px;
  letter-spacing: -0.03em;
}
.cta-inner p {
  margin: 0;
  color: #dce5eb;
  line-height: 1.6;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}
.catalog-head {
  display: block;
  width: 100%;
  margin-bottom: 24px;
}
.catalog-head h2 {
  margin: 0 0 6px;
  font-size: 34px;
}
.catalog-head p {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.catalog-search {
  min-width: 320px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
}
.cart-aside {
  position: sticky;
  top: 148px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 24, 32, 0.05);
}
.cart-aside h3 {
  margin: 0 0 8px;
}
.aside-copy {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.mini-cart-item {
  display: grid;
  grid-template-columns: 52px 1fr 20px;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eef1f3;
}
.mini-cart-item img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.mini-cart-item b {
  font-size: 11px;
}
.mini-cart-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}
.remove-mini {
  border: 0;
  background: transparent;
  color: #838b94;
  font-size: 18px;
  cursor: pointer;
}
.aside-actions {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}
.aside-actions .btn {
  width: 100%;
  border-radius: 10px;
  min-height: 44px;
}
.empty {
  padding: 18px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.70fr 0.70fr 1.3fr;
  gap: 40px;
}
.footer-logo {
  max-width: 165px;
}
.footer p,
.footer li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.footer h4 {
  margin: 0 0 12px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 8px;
}
.footer-contact-list svg {
  margin-top: 3px;
  color: var(--orange);
}
.copyright {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #8a929a;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 360px;
  gap: 28px;
}
.contact-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(16, 24, 32, 0.05);
}
.contact-panel {
  padding: 28px;
}
.contact-card {
  padding: 26px;
  align-self: start;
}
.contact-card h3 {
  margin: 0 0 18px;
  font-size: 24px;
}
.contact-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.contact-form label {
  display: block;
}
.contact-form span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 13px 14px;
  color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}
.contact-list svg {
  color: var(--orange);
  margin-top: 2px;
}
.contact-list b {
  display: block;
  margin-bottom: 4px;
}
.contact-list span {
  color: var(--muted);
  line-height: 1.6;
}
.contact-note {
  margin-top: 22px;
  padding: 16px;
  border-radius: 14px;
  background: #fff5ee;
  color: #664431;
  line-height: 1.6;
  font-size: 14px;
}

.modal-backdrop,
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: rgba(0,0,0,0.62);
}
.modal-backdrop.show,
.cart-drawer-backdrop.show { display: block; }
.product-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(920px, calc(100% - 28px));
  max-height: 88vh;
  overflow: auto;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 18px;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.modal-close {
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}
.modal-body {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 30px;
  padding: 28px;
}
.modal-image {
  min-height: 340px;
  display: grid;
  place-items: center;
}
.modal-image img {
  width: 100%;
  height: 340px;
  object-fit: contain;
}
.modal-copy h2 {
  margin: 4px 0 8px;
  font-size: 32px;
}
.category-label {
  margin: 12px 0;
  color: var(--muted);
  font-weight: 700;
}
.product-description {
  color: #31383e;
  font-size: 14px;
  line-height: 1.68;
}
.product-description ul { padding-left: 20px; }
.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.modal-actions .btn {
  border-radius: 10px;
}
.link-copy {
  margin-top: 10px;
  color: #8e959d;
  font-size: 10px;
  overflow-wrap: anywhere;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -430px;
  bottom: 0;
  z-index: 110;
  width: min(410px, 94vw);
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -15px 0 40px rgba(0,0,0,0.18);
  transition: right 0.25s ease;
}
.cart-drawer.show { right: 0; }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h3 {
  margin: 0;
}
.drawer-list {
  flex: 1;
  overflow: auto;
  padding: 8px 18px;
}
.drawer-item {
  display: grid;
  grid-template-columns: 70px 1fr 24px;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.drawer-item img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}
.drawer-item h4 {
  margin: 0 0 4px;
  font-size: 13px;
}
.drawer-item small {
  color: var(--muted);
  font-size: 10px;
}
.qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}
.drawer-foot {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-top: 1px solid var(--line);
}
.drawer-foot .btn {
  width: 100%;
  border-radius: 10px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  padding: 11px 16px;
  border-radius: 10px;
  background: #101820;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: 0.2s ease;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1100px) {
  .product-grid,
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .authority-grid { grid-template-columns: repeat(2, 1fr); }
  .authority-item:nth-child(2) { border-right: 0; }
  .catalog-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .cart-aside { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .topbar {
    grid-template-columns: 132px 1fr auto;
    gap: 10px;
  }
  .brand img { max-width: 120px; }
  .search-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .wa-mini { display: none; }
  .quote-btn .label { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .main-nav { display: none; }
  .hero-inner--home,
  .hero-inner--category,
  .hero-inner--contact {
    min-height: auto;
    padding: 50px 0;
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 48px; }
  .authority-item { padding: 18px 14px; }
  .category-grid,
  .product-grid,
  .product-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inner {
    display: block;
    padding: 28px 0;
  }
  .cta-inner .btn { margin-top: 18px; }
  .catalog-head {
    display: block;
  }
  .catalog-search {
    width: 100%;
    min-width: 0;
    margin-top: 14px;
  }
  .contact-form .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright {
    display: block;
  }
  .product-modal {
    max-height: 88vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

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

  .modal-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px 20px 0;
    overflow: hidden;
  }

  .modal-image {
    flex: 0 0 190px;
    min-height: 190px;
    height: 190px;
  }

  .modal-image img {
    width: 100%;
    height: 190px;
    object-fit: contain;
  }

  .modal-copy {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .modal-copy h2 {
    flex: 0 0 auto;
    margin-top: 0;
    font-size: 26px;
  }

  .modal-copy .pn,
  .modal-copy .category-label {
    flex: 0 0 auto;
  }

  .product-description {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 0;
    overscroll-behavior: contain;
  }

  .modal-actions {
    position: sticky;
    bottom: 0;
    z-index: 3;
    flex: 0 0 auto;
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 14px 0 18px;
    background: #fff;
    border-top: 1px solid var(--line);
  }

  .modal-actions .btn {
    width: 100%;
  }

  .link-copy {
    display: none;
  }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--max)); }
  .site-search { height: 52px; }
  .hero h1 { font-size: 40px; }
  .section { padding: 44px 0; }
  .section-head h2,
  .catalog-head h2,
  .cta-inner h2 { font-size: 28px; }
  .category-grid,
  .product-grid,
  .product-grid--catalog { grid-template-columns: 1fr; }
  .authority-grid { grid-template-columns: 1fr; }
  .authority-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .authority-item:last-child { border-bottom: 0; }
    .product-img-wrap {
    height: 290px;
    padding: 18px;
    overflow: hidden;
  }

  .product-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: none !important;
  }
}

.hero-contact {
  background-position: center 45%;
}
.contact-panel {
  background: linear-gradient(180deg, #ffffff, #fbfcfd);
}
.contact-card {
  position: sticky;
  top: 130px;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #ff9a61;
  box-shadow: 0 0 0 3px rgba(255,100,13,0.10);
}


/* =========================================================
   V5 refinements
   ========================================================= */

/* Header */
.topbar {
  grid-template-columns: 180px minmax(280px, 1fr) auto;
}
.header-actions {
  gap: 10px;
}
.brand img {
  max-width: 170px;
  max-height: 52px;
}
.quote-btn {
  min-height: 44px;
  padding: 0 4px 0 10px;
}
.quote-btn .label {
  white-space: nowrap;
}

/* Authority: keep icons centered and prevent generic span styles from overriding them */
.auth-icon {
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  color: var(--orange) !important;
  font-size: inherit !important;
}
.auth-icon svg {
  width: 23px;
  height: 23px;
  display: block;
  overflow: visible;
}
.authority-item > div > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

/* Product image/title behave like ecommerce detail triggers */
.product-img-wrap.product-detail-trigger {
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
}
.product-title-trigger {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.product-title-trigger h3 {
  margin: 5px 0 4px;
}
.product-card .product-img-wrap,
.product-card h3 {
  cursor: pointer;
}
.product-card .product-img-wrap:hover .product-img {
  transform: scale(1.025);
}
.product-img {
  transition: transform 0.22s ease;
}

/* Home spacing */
.home-categories {
  padding-top: 76px;
  padding-bottom: 88px;
}
.home-cta {
  margin-top: 0;
  margin-bottom: 0;
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}
.section-link svg {
  width: 18px;
  height: 18px;
}

/* Featured slider controls */
.slider-controls {
  margin-top: 9px;
  gap: 10px;
}
.slider-arrow {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d9dee3;
  border-radius: 50%;
  background: #fff;
  color: #34414b;
  box-shadow: 0 5px 16px rgba(16, 24, 32, 0.06);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.slider-arrow:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}
.slider-arrow svg {
  width: 16px;
  height: 16px;
}
.slider-dots {
  min-height: 36px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.slider-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  background: #d8dde1;
  transition: width 0.2s ease, border-radius 0.2s ease, background-color 0.2s ease;
}
.slider-dot.active {
  width: 22px;
  border-radius: 999px;
  background: var(--orange);
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 75;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.whatsapp-float__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
}

.whatsapp-float__icon svg {
  display: none;
}

.whatsapp-float__icon::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background: url("https://cdn.simpleicons.org/whatsapp/ffffff") center / contain no-repeat;
}

.whatsapp-float__label {
  display: none;
}

/* Dark footer */
.footer {
  background: #0d1c26;
  border-top: 0;
  color: #fff;
}
.footer h4 {
  color: #fff;
}
.footer p,
.footer li,
.footer a {
  color: #aebac3;
}
.footer a:hover {
  color: #fff;
}
.footer-logo {
  max-width: 175px;
  filter: none;
}
.footer-contact-list svg {
  color: var(--orange);
}
.copyright {
  border-top-color: rgba(255,255,255,0.12);
  color: #81909b;
}

/* Contact page */
.contact-section {
  padding-top: 72px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, #fff 0%, #f7f9fa 100%);
}
.contact-layout--premium {
  grid-template-columns: minmax(0, 1.55fr) 390px;
  gap: 34px;
  align-items: stretch;
}
.contact-panel--premium,
.contact-card--premium {
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(16, 24, 32, 0.08);
}
.contact-panel--premium {
  padding: 34px;
}
.contact-kicker {
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.contact-panel--premium .section-head h2 {
  font-size: 36px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  border-color: #dfe4e8;
  background: #fbfcfd;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #f6a16e;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,100,13,0.10);
}
.form-actions--dual {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-actions--dual .btn {
  min-height: 48px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.btn-whatsapp {
  background: #20bf5a;
  color: #fff;
  border-color: #20bf5a;
}

.btn-whatsapp:hover {
  background: #18a94d;
  border-color: #18a94d;
}

/* Evita que la regla general .contact-form span altere el texto del bot贸n */
.contact-form .btn-whatsapp span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* Oculta el SVG anterior */
.btn-whatsapp > svg {
  display: none;
}

/* Icono oficial de WhatsApp */
.btn-whatsapp::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
  background: url("https://cdn.simpleicons.org/whatsapp/ffffff") center / contain no-repeat;
}
.form-help {
  margin: 12px 0 0;
  color: #8a949d;
  font-size: 11px;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
.form-status {
  display: none;
  margin: 0 0 18px;
  padding: 13px 15px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}
.form-status.show { display: block; }
.form-status.success {
  background: #edf9f1;
  color: #237044;
  border: 1px solid #bfe9ce;
}
.form-status.error {
  background: #fff0ef;
  color: #a33830;
  border: 1px solid #f3c4c0;
}
.contact-card--premium {
  padding: 0;
  overflow: hidden;
  background: #10232f;
  color: #fff;
  border: 0;
}
.contact-card__intro {
  padding: 30px 28px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.contact-card__intro h3 {
  margin: 4px 0 10px;
  color: #fff;
  font-size: 27px;
  line-height: 1.15;
}
.contact-card__intro p {
  margin: 0;
  color: #b9c5cd;
  line-height: 1.6;
  font-size: 13px;
}
.contact-card--premium .contact-kicker {
  color: #ff9156;
}
.contact-methods {
  padding: 8px 18px;
}
.contact-method {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.contact-method:last-child { border-bottom: 0; }
.contact-method:hover {
  background: rgba(255,255,255,0.04);
}
.contact-method__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,100,13,0.12);
  color: #ff8b4a;
}
.contact-method__icon--wa {
  background: #25d366;
  color: #fff;
}

.contact-method__icon--wa svg {
  display: none;
}

.contact-method__icon--wa::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background: url("https://cdn.simpleicons.org/whatsapp/ffffff") center / contain no-repeat;
}

.contact-method__icon svg {
  width: 21px;
  height: 21px;
}
.contact-method__body small,
.contact-location small {
  display: block;
  margin-bottom: 3px;
  color: #8fa0ab;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-method__body strong,
.contact-location strong {
  display: block;
  color: #fff;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.contact-method__body em {
  display: block;
  margin-top: 4px;
  color: #9eacb5;
  font-size: 11px;
  font-style: normal;
  line-height: 1.45;
}
.contact-location {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 22px 28px 28px;
  background: rgba(255,255,255,0.035);
}
.contact-location__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,100,13,0.12);
  color: #ff8b4a;
}
.contact-location__icon svg {
  width: 21px;
  height: 21px;
}
.contact-location span:not(.contact-location__icon) {
  display: block;
  margin-top: 4px;
  color: #9eacb5;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .contact-layout--premium {
    grid-template-columns: 1fr;
  }
  .contact-card--premium {
    max-width: none;
  }
}

@media (max-width: 820px) {

  .cart-aside {
    display: none;
  }
    
  .authority {
    display: none;
  }
  
  .topbar {
    grid-template-columns: 132px 1fr auto;
  }

  .header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-left: auto;
  }
  .home-categories {
    padding-top: 58px;
    padding-bottom: 64px;
  }
  .home-cta {
    margin-top: 0;
    margin-bottom: 0;
  }
  .section-link {
    display: none;
  }
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
    padding: 0;
  }

  .whatsapp-float__icon,
    .whatsapp-float__icon::before {
      width: 30px;
      height: 30px;
    }
  .contact-section {
    padding-top: 50px;
    padding-bottom: 58px;
  }
  .contact-panel--premium {
    padding: 24px;
  }
  .contact-panel--premium .section-head h2 {
    font-size: 30px;
  }
}
.copyright a {
  color: inherit;
  text-decoration: none;
}

.copyright a:hover {
  color: var(--white);
}


/* =========================================================
   FAQ CATEGORÍAS
   ========================================================= */

.faq-section {
  padding: 64px 0 70px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.faq-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.faq-head {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

.faq-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.faq-head h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.faq-head p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.faq-list {
  border-top: 1px solid #dfe3e7;
}

.faq-item {
  border-bottom: 1px solid #dfe3e7;
  background: transparent;
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 18px 42px 18px 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color .2s ease;
}

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

.faq-item summary:hover {
  color: var(--orange);
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary {
  color: var(--ink);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-answer {
  max-width: 780px;
  padding: 0 48px 20px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

@media (max-width: 560px) {
  .faq-section {
    padding: 46px 0 50px;
  }

  .faq-head {
    margin-bottom: 26px;
    text-align: left;
  }

  .faq-head p {
    margin: 0;
  }

  .faq-head h2 {
    font-size: 28px;
  }

  .faq-item summary {
    min-height: 58px;
    padding: 16px 38px 16px 0;
    font-size: 14px;
  }

  .faq-item summary::after {
    right: 2px;
    font-size: 20px;
  }

  .faq-answer {
    padding: 0 36px 18px 0;
    font-size: 14px;
  }
    /* Productos destacados: un producto por slide en móvil */
  .featured-slide--single {
    flex: 0 0 100%;
  }

  .featured-slide--single .product-grid--featured {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .featured-slider .slider-dots {
    gap: 5px;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .featured-slider .slider-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
  }
}

.featured-slider img {
  -webkit-user-drag: none;
  user-select: none;
}

.card-actions [data-detail],
.product-img-wrap.product-detail-trigger,
.product-title-trigger {
  -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   GARANTÍA LOCAL OFICIAL GARMIN
   ========================================================= */

.guarantee-page {
  padding: 58px 0 76px;
  background: #fff;
}

.guarantee-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 12px;
}

.guarantee-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.guarantee-breadcrumbs a:hover {
  color: var(--orange);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 64px;
  align-items: center;
}

.guarantee-copy {
  max-width: 760px;
}

.guarantee-kicker {
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.guarantee-copy h1 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(38px, 4.3vw, 56px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.guarantee-lead {
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.75;
}

.guarantee-info {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.guarantee-info h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.guarantee-info p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.guarantee-info strong {
  color: var(--ink-2);
}

.guarantee-seal-card {
  padding: 38px 34px 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f8fafb);
  text-align: center;
  box-shadow: 0 18px 45px rgba(16, 24, 32, .08);
}

.guarantee-seal-card img {
  display: block;
  width: min(100%, 306px);
  height: auto;
  margin: 0 auto;
}

.guarantee-seal-divider {
  display: block;
  width: 64px;
  height: 1px;
  margin: 28px auto 22px;
  background: #cfd5da;
}

.guarantee-authorized {
  max-width: 340px;
  margin: 0 auto;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.guarantee-cta {
  margin: 0;
}

@media (max-width: 820px) {
  .guarantee-page {
    padding: 48px 0 60px;
  }

  .guarantee-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .guarantee-seal-card {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .guarantee-page {
    padding: 40px 0 50px;
  }

  .guarantee-breadcrumbs {
    margin-bottom: 26px;
  }

  .guarantee-copy h1 {
    font-size: 36px;
  }

  .guarantee-lead {
    font-size: 16px;
  }

  .guarantee-info {
    margin-top: 28px;
    padding-top: 25px;
  }

  .guarantee-info h2 {
    font-size: 22px;
  }

  .guarantee-seal-card {
    padding: 28px 22px;
  }

  .guarantee-seal-card img {
    width: min(100%, 260px);
  }

  .guarantee-authorized {
    font-size: 12px;
    letter-spacing: .08em;
  }
}

/* =========================================================
   HEADER - LOGO + DISTRIBUIDOR AUTORIZADO
   ========================================================= */

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Mantiene el logo amplio */
.brand img {
  width: auto;
  height: auto;
  max-width: 231px;
  max-height: 65px;
  object-fit: contain;
}

/* Si se añadió el texto manualmente en algún HTML, no duplicarlo */
.brand-authorized {
  display: none !important;
}

/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 820px) {

  .brand img {
    max-width: 165px;
    max-height: 52px;
  }

  .brand::after {
    margin-top: 5px;
    font-size: 4.8px;
    line-height: 1.2;
    transform: none;
  }
}

/* =========================================================
   HEADER STICKY COMPACTO
   ========================================================= */

.topbar,
.brand img,
.brand::after,
.site-search,
.main-nav .container,
.main-nav a {
  transition:
    padding .22s ease,
    height .22s ease,
    min-height .22s ease,
    max-width .22s ease,
    max-height .22s ease,
    font-size .22s ease,
    margin .22s ease;
}

/* Desktop */
.site-header.is-scrolled .topbar {
  padding-top: 7px;
  padding-bottom: 8px;
}

.site-header.is-scrolled .brand img {
  max-width: 182px;
  max-height: 50px;
}

.site-header.is-scrolled .brand::after {
  margin-top: 4px;
  font-size: 5.5px;
  line-height: 1.15;
}

.site-header.is-scrolled .site-search {
  height: 46px;
}

.site-header.is-scrolled .search-results {
  top: 54px;
}

.site-header.is-scrolled .main-nav .container {
  min-height: 44px;
}

.site-header.is-scrolled .main-nav a {
  padding-top: 13px;
  padding-bottom: 13px;
}


/* Móvil */
@media (max-width: 820px) {

  .site-header.is-scrolled .topbar {
    padding-top: 7px;
    padding-bottom: 8px;
  }

  .site-header.is-scrolled .brand img {
    max-width: 132px;
    max-height: 42px;
  }

  .site-header.is-scrolled .brand::after {
    margin-top: 3px;
    font-size: 4.3px;
    line-height: 1.15;
  }

  .site-header.is-scrolled .site-search {
    height: 46px;
  }
}