﻿/* Utilidades */
.container-main {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

@media (min-width: 768px) {
  .container-main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.min-h-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bg-white {
  background: #fff;
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.z-50 {
  z-index: 50;
}

.gap-1 {
  gap: 0.25rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 1rem;
}

.ml-auto {
  margin-left: auto;
}

.shrink-0 {
  flex-shrink: 0;
}

.w-full {
  width: 100%;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .md\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .md\:pb-8 {
    padding-bottom: 2rem;
  }

  .md\:px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .md\:pt-5 {
    padding-top: 1.25rem;
  }

  .md\:pb-10 {
    padding-bottom: 2.5rem;
  }
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

/* Dropdowns */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 40;
  min-width: 180px;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 31, 63, 0.12);
}

.dropdown.is-open .dropdown-menu {
  display: block;
}

.dropdown-menu a,
.dropdown-menu button {
  display: block;
  width: 100%;
  padding: 0.5rem 0.85rem;
  text-align: left;
  font-family: "Open Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
  background: #fff3e8;
  color: #ff6600;
}

.rotate-180 {
  transform: rotate(180deg);
}

:root {
  --alprecio-orange: #ff6600;
  --alprecio-orange-soft: #fff3e8;
  --alprecio-blue: #003366;
  --alprecio-yellow: #ffc72c;
  --alprecio-navy: #001f3f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Open Sans", system-ui, sans-serif;
  color: #1a1a1a;
  background-color: #ffffff;
}

.font-lato {
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
}

.font-open {
  font-family: "Open Sans", system-ui, sans-serif;
}

/* â€”â€” Shell â€”â€” */
.site-shell {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.page-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

#site-footer {
  margin-top: auto;
}

.page-content {
  display: flex;
  flex-direction: column;
}

/* —— Header —— */
#site-header {
  display: contents;
}

.site-header {
  background: #fff;
}

.header-top-bar {
  background: var(--alprecio-navy);
  color: #fff;
  font-size: 0.65rem;
}

.header-top-bar__inner {
  min-height: 32px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.header-top-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

.header-top-links--left {
  display: flex;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .header-top-links--left {
    gap: 1rem;
  }
}

.header-top-links--right {
  gap: 0.65rem;
}

.header-top-links__item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-top-links__icon {
  flex-shrink: 0;
  color: #fff;
  opacity: 0.9;
}

.header-top-links__icon svg {
  width: 13px;
  height: 13px;
  display: block;
}

.header-top-links__item--email {
  display: none;
}

@media (min-width: 768px) {
  .header-top-links__item--email {
    display: flex;
  }
}

.header-top-link {
  font-size: inherit;
  color: rgba(255, 255, 255, 0.95) !important;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.header-top-link:hover {
  color: #fff !important;
}

.header-top-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.header-top-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.header-top-social {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.header-top-social-link {
  display: flex;
  color: #fff !important;
  opacity: 0.92;
}

.header-top-social-link:hover {
  opacity: 1;
}

@media (max-width: 767px) {
  .header-top-links--right,
  .header-top-divider,
  .header-top-social {
    display: none;
  }

  .header-top-bar__inner {
    justify-content: center;
  }

  .header-top-actions {
    margin-left: 0;
  }
}

.header-main {
  background: #fff;
  border-bottom: 1px solid #e8eaed;
}

.header-main__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.4rem 0;
}

@media (max-width: 767px) {
  .header-main__inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 0.65rem;
  }

  .header-logo-link {
    grid-column: 1;
    grid-row: 1;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

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

.header-logo-link {
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(180px, 36vw);
  object-fit: contain;
}

@media (min-width: 768px) {
  .header-logo-img {
    height: 44px;
    max-width: 200px;
  }

  .header-main__inner {
    padding: 0.5rem 0;
    gap: 0.75rem 1.15rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-action-item {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: 0 0.35rem;
  margin: 0;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: none;
  box-sizing: border-box;
  line-height: 1.2;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.header-action-item:hover {
  opacity: 0.85;
}

.header-action-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  line-height: 0;
}

.header-action-icon {
  display: block;
  width: 20px;
  height: 20px;
  color: var(--alprecio-navy);
}

.header-action-label {
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--alprecio-navy);
  text-align: left;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .header-actions {
    gap: 0.75rem;
  }

  .header-action-label {
    font-size: 0.72rem;
  }

  .header-action-item {
    gap: 0.35rem;
    padding: 0 0.2rem;
  }

  .header-action-icon-wrap {
    width: 22px;
    height: 22px;
  }

  .header-action-icon {
    width: 22px;
    height: 22px;
  }
}

.header-action-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  color: #fff;
  background: var(--alprecio-orange);
  border-radius: 9999px;
}

.search-bar {
  display: flex;
  align-items: stretch;
  height: 36px;
  margin: 0 auto;
  border: 1px solid #c5cdd6;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.search-bar--header {
  width: 100%;
  max-width: 560px;
  min-width: 0;
  justify-self: center;
}

@media (min-width: 1024px) {
  .search-bar--header {
    max-width: 620px;
  }
}

.search-input {
  flex: 1;
  min-width: 0;
  padding: 0 0.75rem;
  border: none;
  outline: none;
  font-size: 0.8125rem;
  color: #333;
  background: transparent;
}

.search-input::placeholder {
  color: #b0b0b0;
  font-weight: 400;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  flex-shrink: 0;
  background: var(--alprecio-orange);
  border: none;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background 0.2s;
}

.search-btn:hover {
  background: #e55a00;
}

.header-icon-btn {
  padding: 4px 6px !important;
}

.header-icon-svg {
  color: var(--alprecio-navy);
  stroke-width: 1.85;
}

/* â€”â€” Nav bar (fondo blanco) â€”â€” */
.main-nav--white {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #dfe3e8;
  box-shadow: 0 2px 10px rgba(0, 31, 63, 0.06);
}

.main-nav__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem 1.25rem;
  min-height: 56px;
  padding: 0.45rem 0;
}

.main-nav__inner .header-logo-link {
  flex-shrink: 0;
  margin-right: 0.25rem;
}

.main-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  flex-shrink: 0;
}

.main-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--alprecio-navy);
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.main-nav-toggle:hover {
  background: var(--alprecio-orange-soft);
  border-color: #f0c9a8;
  color: var(--alprecio-orange);
}

.main-nav-toggle__svg {
  display: block;
  width: 18px;
  height: 18px;
}

.main-nav-toggle__icon--close {
  display: none;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 300;
}

.main-nav.is-mobile-open .main-nav-toggle__icon--open {
  display: none;
}

.main-nav.is-mobile-open .main-nav-toggle__icon--close {
  display: block;
}

.main-nav-mobile {
  display: none;
  background: #fff;
  border-top: 1px solid #e8ecf0;
  box-shadow: 0 10px 24px rgba(0, 31, 63, 0.08);
}

.main-nav.is-mobile-open .main-nav-mobile {
  display: block;
}

.main-nav-mobile__list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}

.main-nav-mobile__item {
  border-bottom: 1px solid #f0f2f5;
}

.main-nav-mobile__item:last-child {
  border-bottom: none;
}

.main-nav-mobile__link {
  display: block;
  padding: 0.85rem 1rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--alprecio-navy);
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav-mobile__link:hover,
.main-nav-mobile__item--active .main-nav-mobile__link {
  background: var(--alprecio-orange-soft);
  color: var(--alprecio-orange);
}

@media (max-width: 767px) {
  .main-nav__inner {
    gap: 0.5rem;
    min-height: auto;
    padding: 0.5rem 0;
  }

  .main-nav__inner .header-logo-link {
    margin-right: 0;
    min-width: 0;
  }

  .main-nav-list {
    display: none;
  }

  .main-nav-toggle {
    display: inline-flex;
  }

  .main-nav-credi-btn {
    margin-left: 0;
    max-width: 9.5rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.58rem;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .main-nav-mobile {
    display: none !important;
  }
}

.nav-categories-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  height: 32px;
  padding: 0 0.7rem;
  font-family: "Lato", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--alprecio-orange);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.nav-categories-btn:hover {
  background: #e55a00;
}

.main-nav-credi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  font-family: "Lato", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--alprecio-orange);
  border-radius: 5px;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.main-nav-credi-btn:hover {
  background: #e55c00;
}

@media (min-width: 768px) {
  .main-nav-credi-btn {
    height: 34px;
    padding: 0 1rem;
    font-size: 0.7rem;
    border-radius: 6px;
  }

  .nav-categories-btn {
    height: 34px;
    padding: 0 0.85rem;
    font-size: 0.72rem;
    border-radius: 6px;
  }
}

.main-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav-list::-webkit-scrollbar {
  display: none;
}

.main-nav-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.main-nav-link {
  font-family: "Open Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;

  text-transform: uppercase;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .main-nav-link {
    font-size: 0.78rem;
  }

  .main-nav-list {
    padding-left: 0.5rem;
    gap: 1.25rem;
  }
}

.main-nav-link--white {
  display: flex;
  align-items: center;
  padding: 0.35rem 0.6rem;
  color: var(--alprecio-navy);
}

.main-nav-link--white:hover {
  color: var(--alprecio-orange);
}

.main-nav-item--active .main-nav-link--active-white {
  color: var(--alprecio-navy) !important;
  position: relative;
}

.main-nav-item--active .main-nav-link--active-white::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0;
  height: 2px;
  background: var(--alprecio-orange);
  border-radius: 2px 2px 0 0;
}

/* â€”â€” Hero / Banner (ancho casi completo, poco margen lateral) â€”â€” */
.hero-section {
  line-height: 0;
  width: 100%;
  background: #fff;
  padding: 0.35rem 0 0.5rem;
  border-top: none;
}

.hero-section__container {
  line-height: 0;
  width: 100%;
}

.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: none;
  background: #f0f0f0;
}

.hero-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1710 / 375;
}

@media (max-width: 767px) {
  .hero-slides {
    aspect-ratio: 783 / 456;
    height: auto;
  }

  .hero-slide--desktop-only,
  .hero-dot--desktop-only {
    display: none;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hero-slide--active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 31, 63, 0.18);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-nav-btn__icon {
  color: var(--alprecio-navy);
}

.hero-nav-btn:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 14px rgba(0, 31, 63, 0.22);
}

.hero-nav-btn--left {
  left: 14px;
}

.hero-nav-btn--right {
  right: 14px;
}

@media (min-width: 768px) {
  .hero-nav-btn {
    width: 44px;
    height: 44px;
  }

  .hero-nav-btn--left {
    left: 18px;
  }

  .hero-nav-btn--right {
    right: 18px;
  }
}

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: #d4d8dc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.hero-dot.is-active {
  background: var(--alprecio-orange);
  transform: scale(1.1);
}

/* â€”â€” Secciones home (mockup) â€”â€” */
.home-section {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .home-section {
    margin-bottom: 1.5rem;
  }
}

.section-panel {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 31, 63, 0.08);
}

.section-header {
  padding: 0.65rem 1rem;
  text-align: center;
}

.section-header h2 {
  margin: 0;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: clamp(0.8rem, 2.2vw, 1.05rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  color: #fff;
}

.section-header--orange {
  background: var(--alprecio-orange);
}

.section-header--navy {
  background: var(--alprecio-navy);
  border-radius: 12px 12px 0 0;
}

.section-body {
  padding: 1.25rem 1rem 1.5rem;
}

.section-body--pattern {
  background-color: #faf8f5;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(0, 31, 63, 0.04) 0 6px, transparent 6px),
    radial-gradient(circle at 88% 72%, rgba(255, 102, 0, 0.05) 0 8px, transparent 8px),
    radial-gradient(circle at 45% 55%, rgba(0, 31, 63, 0.03) 0 4px, transparent 4px),
    linear-gradient(135deg, transparent 40%, rgba(0, 31, 63, 0.02) 40%, rgba(0, 31, 63, 0.02) 41%, transparent 41%),
    linear-gradient(45deg, transparent 58%, rgba(255, 102, 0, 0.03) 58%, rgba(255, 102, 0, 0.03) 59%, transparent 59%);
}

@media (min-width: 768px) {
  .section-body {
    padding: 1.75rem 1.5rem 2rem;
  }
}

/* â€”â€” CategorÃ­as (mockup: icono izq + texto der) â€”â€” */
.categories-section-v2 {
  background: #fff;
  margin-bottom: 0;
  padding: 0.5rem 0;
}

.categories-section-v2__layout {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 992px) {
  .categories-section-v2__layout {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}

.categories-section-v2__title {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  margin: 0;
  flex-shrink: 0;
  font-family: "Lato", sans-serif;
  font-weight: 900;
  color: var(--alprecio-navy);
  letter-spacing: 0.04em;
}

.categories-section-v2__title-line {
  display: block;
  font-size: clamp(0.88rem, 1.75vw, 1.05rem);
  line-height: 1.12;
  white-space: nowrap;
}

.categories-section-v2__title-line--accent {
  position: relative;
  display: inline-block;
  width: fit-content;
  padding-bottom: 0.2rem;
}

.categories-section-v2__title-line--accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--alprecio-orange);
}

@media (min-width: 992px) {
  .categories-section-v2__title {
    width: auto;
    min-width: 190px;
  }
}

.categories-section-v2__cards {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.categories-cards-list {
  display: flex;
  flex: 1;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.categories-cards-list>li {
  display: flex;
  flex: 1;
  min-width: 0;
}

.category-card {
  box-sizing: border-box;
  display: flex;
  flex: 1;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  width: 100%;
  min-height: 72px;
  padding: 0.45rem 0.6rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 2px solid var(--alprecio-orange);
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.category-card:hover {
  border-color: #e55a00;
  box-shadow: 0 3px 12px rgba(255, 102, 0, 0.15);
  transform: translateY(-1px);
}

.category-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border: 2px solid var(--alprecio-orange);
  border-radius: 10px;
  overflow: hidden;
  background: #f8f9fb;
}

.category-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.category-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.category-card__label {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-family: "Lato", "Open Sans", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  text-align: left;
  line-height: 1.2;
  color: var(--alprecio-navy);
}

.category-card__chevron {
  color: var(--alprecio-orange);
  font-size: 0.85rem;
  line-height: 1;
  font-weight: 700;
}

.category-card__count {
  font-family: "Open Sans", sans-serif;
  font-size: 0.52rem;
  font-weight: 600;
  line-height: 1.2;
  color: #5b7a9d;
}

@media (min-width: 768px) {
  .category-card {
    min-height: 78px;
    padding: 0.5rem 0.65rem;
    gap: 0.6rem;
  }

  .category-card__media {
    width: 64px;
    height: 64px;
  }

  .category-card__label {
    font-size: 0.68rem;
  }

  .category-card__count {
    font-size: 0.56rem;
  }
}

.category-promo-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  flex-shrink: 0;
  min-width: 168px;
  max-width: 200px;
  min-height: 64px;
  height: auto;
  padding: 0.55rem 0.65rem;
  text-decoration: none;
  color: #fff;
  background: var(--alprecio-navy);
  border-radius: 10px;
  transition: background 0.15s ease;
}

@media (min-width: 768px) {
  .category-promo-card {
    min-width: 178px;
    max-width: 210px;
    min-height: 68px;
    padding: 0.6rem 0.75rem;
    gap: 0.4rem;
  }
}

.category-promo-card:hover {
  background: #002a55;
}

.category-promo-card__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.12rem;
  flex: 1;
  min-width: 0;
}

.category-promo-card__title {
  font-family: "Lato", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.category-promo-card__subtitle {
  font-family: "Open Sans", sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
}

.category-promo-card__btn {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.28rem 0.65rem;
  font-family: "Lato", sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--alprecio-navy);
  background: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .category-promo-card__title {
    font-size: 0.9rem;
  }

  .category-promo-card__subtitle {
    font-size: 0.68rem;
  }

  .category-promo-card__btn {
    margin-top: 0.4rem;
    padding: 0.32rem 0.75rem;
    font-size: 0.62rem;
  }
}

.category-promo-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 0.1rem;
}

.category-promo-card__icon {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .category-promo-card__icon {
    width: 48px;
    height: 48px;
  }
}

/* â€”â€” Productos destacados (mockup v2) â€”â€” */
.featured-section-v2 {
  background: #fff;
  padding-top: 1rem;
}

.featured-section-v2__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.featured-section-v2__head h2 {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--alprecio-navy);
  letter-spacing: 0.02em;
}

.featured-section-v2__link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--alprecio-orange) !important;
  text-decoration: none;
  white-space: nowrap;
}

.featured-section-v2__link:hover {
  text-decoration: underline;
}

.featured-section-v2__scroll {
  overflow-x: auto;
  margin: 0 -0.25rem;
  padding: 0 0.25rem 4px;
  scrollbar-width: thin;
}

.featured-products-row {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.featured-products-row>li {
  flex: 0 0 min(200px, 42vw);
  max-width: 220px;
}

@media (min-width: 1200px) {
  .featured-products-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }

  .featured-products-row>li {
    flex: unset;
    max-width: none;
  }

  .featured-section-v2__scroll {
    overflow: visible;
  }
}

.product-card-v2 {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid #dde2e8;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 31, 63, 0.05);
}

.product-card-v2__media {
  position: relative;
  aspect-ratio: 1;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f9fb;
}

.product-card-v2__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-card-v2__badge {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 1;
  padding: 2px 7px;
  font-family: "Lato", sans-serif;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 4px;
}

.product-card-v2__badge--nuevo {
  background: var(--alprecio-navy);
}

.product-card-v2__badge--promo {
  background: var(--alprecio-orange);
}

.product-card-v2__name {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
}

.product-card-v2__description {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 400;
  color: #5c6570;
  line-height: 1.4;
}

.product-card-v2__actions {
  display: flex;
  gap: 0.4rem;
  margin-top: auto;
}

.product-card-v2__btn-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0.45rem 0.35rem;
  font-family: "Lato", sans-serif;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: var(--alprecio-orange);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.product-card-v2__btn-detail:hover {
  background: #e55a00;
}

/* â€”â€” Barra de confianza (tarjeta navy, 4 columnas + etiqueta) â€”â€” */
.trust-bar-section {
  padding: 0.75rem 0 1rem;
  background: #ffffff;
}

.trust-bar__card {
  position: relative;
  background: var(--alprecio-navy);
  border-radius: 10px;
  color: #fff;
  padding: 1.1rem 3.25rem 1.1rem 0.85rem;
  overflow: hidden;
}

.trust-bar__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .trust-bar__card {
    padding: 1.25rem 4rem 1.25rem 0.5rem;
  }

  .trust-bar__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.trust-bar__item {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

@media (min-width: 768px) {
  .trust-bar__item:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }
}

.trust-bar__item-inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.25rem 0.75rem;
}

@media (min-width: 768px) {
  .trust-bar__item-inner {
    gap: 0.75rem;
    padding: 0.35rem 1rem;
  }
}

.trust-bar__icon {
  flex-shrink: 0;
  color: #fff;
  opacity: 0.95;
}

.trust-bar__icon svg {
  display: block;
  width: 36px;
  height: 36px;
}

.trust-bar__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  text-align: left;
}

.trust-bar__title {
  font-family: "Lato", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.trust-bar__subtitle {
  font-family: "Open Sans", sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 768px) {
  .trust-bar__title {
    font-size: 0.82rem;
  }

  .trust-bar__subtitle {
    font-size: 0.68rem;
  }
}

.trust-bar__tag {
  position: absolute;
  right: 14px;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  transform: translateY(-50%) rotate(-18deg);
  pointer-events: none;
}

.trust-bar__tag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 767px) {
  .trust-bar__tag {
    width: 38px;
    height: 38px;
    right: 10px;
  }
}

/* â€”â€” Chat flotante â€”â€” */
.floating-chat-btn {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: transparent;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 31, 63, 0.28);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}

.floating-chat-btn__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.floating-chat-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 31, 63, 0.35);
}

/* —— Modal de bienvenida —— */
#welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

#welcome-modal:has(.welcome-modal.is-open) {
  pointer-events: auto;
}

html.welcome-modal-open,
body.welcome-modal-open {
  overflow: hidden;
}

.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.welcome-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.welcome-modal__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(0, 31, 63, 0.72);
  cursor: pointer;
}

.welcome-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: min(520px, 92vw);
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.welcome-modal.is-open .welcome-modal__dialog {
  transform: scale(1);
}

.welcome-modal__img {
  display: block;
  width: 100%;
  height: auto;
}

.welcome-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--alprecio-navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.welcome-modal__close:hover {
  background: #fff;
  color: var(--alprecio-orange);
}

/* â€”â€” CategorÃ­as (legacy, sin uso) â€”â€” */
.categories-section {
  padding-top: 0.25rem;
  margin-bottom: 0.75rem;
}

.categories-section .section-header {
  padding: 0.45rem 0.75rem;
}

.categories-section .section-header h2 {
  font-size: clamp(0.72rem, 1.8vw, 0.9rem);
  line-height: 1.15;
}

.categories-section .section-body {
  padding: 0.65rem 0.75rem 0.75rem;
}

@media (min-width: 768px) {
  .categories-section .section-body {
    padding: 0.75rem 1rem 0.85rem;
  }
}

.category-track {
  position: relative;
  padding: 0;
}

.category-track::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 32px;
  height: 2px;
  background: var(--alprecio-navy);
  border-radius: 2px;
  z-index: 0;
}

@media (min-width: 768px) {
  .category-track::after {
    top: 38px;
    height: 3px;
  }
}

.category-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 992px) {
  .category-list {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.35rem;
  }
}

.category-item {
  flex: 0 1 auto;
  max-width: 100px;
}

@media (min-width: 992px) {
  .category-item {
    max-width: none;
    flex: 1;
  }
}

.category-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.quick-cat-circle {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 4px;
  background: var(--alprecio-navy);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow:
    0 0 0 1.5px var(--alprecio-navy),
    0 2px 8px rgba(0, 31, 63, 0.2);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.group:hover .quick-cat-circle {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .quick-cat-circle {
    width: 68px;
    height: 68px;
    padding: 5px;
    border-width: 3px;
  }
}

.quick-cat-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.quick-cat-label {
  margin-top: 0.35rem;
  font-family: "Lato", sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--alprecio-navy);
  text-align: center;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .quick-cat-label {
    font-size: 0.62rem;
    margin-top: 0.4rem;
  }
}

@media (min-width: 1200px) {
  .quick-cat-label {
    font-size: 0.68rem;
  }
}

.img-valores {
  width: 100%;
  height: 100%;

}

/* â€”â€” Valores de marca (mismo ancho que productos destacados, 50% altura) â€”â€” */
.valores-marca-section {
  width: 100%;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0.75rem;
  background: #fff;
  line-height: 0;
}

.valores-marca-section__frame {
  background-color: #002b56;
  width: 100%;
  /* 1366Ã—650 â†’ mitad de alto, alineado al grid de productos */
  aspect-ratio: 1366 / 325;
  overflow: hidden;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .valores-marca-section {
    padding-bottom: 1rem;
  }
}

.valores-marca-img {
  display: block;
  width: 100%;
  height: 100%;
  /* cover = ancho completo del contenedor (contain dejaba ~50% de ancho) */
  object-fit: cover;
  object-position: center center;
}

/* â€”â€” Credi-Precio â€”â€” */
.credi-process-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding: 1.5rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 102, 0, 0.12);
  box-shadow: 0 2px 16px rgba(255, 102, 0, 0.1);
}

@media (min-width: 992px) {
  .credi-process-box {
    grid-template-columns: minmax(220px, 1fr) minmax(0, 1.6fr);
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.25rem;
  }
}

.credi-process-title {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-size: clamp(1.1rem, 2.8vw, 1.65rem);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.credi-process-title__brand {
  display: block;
  color: var(--alprecio-navy);
}

.credi-process-title__highlight {
  display: block;
  color: var(--alprecio-orange);
}

.credi-process-title__line {
  display: block;
  color: var(--alprecio-navy);
  font-size: 0.92em;
}

.credi-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .credi-steps {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.25rem;
  }
}

.credi-step-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.credi-step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  max-width: 140px;
  text-align: center;
}

.credi-step-icon {
  flex-shrink: 0;
}

.credi-step-title {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--alprecio-navy);
}

@media (min-width: 768px) {
  .credi-step-title {
    font-size: 0.9rem;
  }
}

.credi-step-desc {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.35;
  color: #4a5568;
}

@media (min-width: 768px) {
  .credi-step-desc {
    font-size: 0.75rem;
  }
}

.credi-step-arrow {
  flex-shrink: 0;
  color: var(--alprecio-orange);
  margin: 0 0.15rem;
  align-self: center;
}

/* â€”â€” Productos destacados â€”â€” */
.featured-section .section-panel {
  background: #fff;
}

.featured-products-body {
  padding: 1rem 0.75rem 1.25rem;
  background: #fff;
}

@media (min-width: 768px) {
  .featured-products-body {
    padding: 1.25rem 1rem 1.5rem;
  }
}

.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .featured-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .featured-products-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  padding: 0.85rem 0.75rem 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 31, 63, 0.06);
}

.product-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 0.65rem;
  border-radius: 8px;
  overflow: hidden;
  background: #fff8f2;
  border: 1px solid #f0e6dc;
}

.product-card-media-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-badge {
  position: absolute;
  top: -4px;
  right: -10px;
  z-index: 1;
  padding: 3px 8px;
  font-family: "Lato", sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  background: var(--alprecio-orange);
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(255, 102, 0, 0.35);
}

.product-card-name {
  margin: 0 0 0.35rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
}

.product-card-price {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  color: #111;
  text-align: center;
}

.product-card-credi {
  margin: 0.25rem 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--alprecio-orange);
  text-align: center;
  line-height: 1.3;
}

.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: auto;
}

.product-btn {
  width: 100%;
  padding: 0.5rem 0.35rem;
  font-family: "Lato", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.product-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.product-btn--orange {
  color: #fff;
  background: var(--alprecio-orange);
}

.product-btn--navy {
  color: #fff;
  background: var(--alprecio-navy);
}

@media (min-width: 768px) {
  .product-btn {
    font-size: 0.68rem;
    padding: 0.55rem 0.5rem;
  }
}

/* —— Footer —— */
.site-footer {
  margin-top: 0;
  background: var(--alprecio-navy);
  color: #fff;
}

.site-footer__inner {
  padding: 1.5rem 0 1.25rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    padding: 2.5rem 0 2rem;
  }
}

.site-footer__grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
  grid-template-areas:
    "brand"
    "contact"
    "support"
    "social";
}

@media (min-width: 768px) {
  .site-footer__grid {
    gap: 1.75rem 2rem;
    grid-template-columns: 1.3fr 1fr 1.15fr 0.75fr;
    grid-template-areas: "brand contact support social";
    align-items: start;
  }
}

.site-footer__brand {
  grid-area: brand;
}

.site-footer__contact-col {
  grid-area: contact;
}

.site-footer__support-col {
  grid-area: support;
}

.site-footer__social-col {
  grid-area: social;
}

.site-footer__logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 240px;
  padding: 0.4rem 0.55rem;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
}

.site-footer__desc {
  margin: 1rem 0 0;
  font-family: "Open Sans", sans-serif;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 300px;
}

.site-footer__col-label {
  margin: 0 0 0.75rem;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--alprecio-orange);
}

.site-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__contact li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.site-footer__contact-icon {
  display: flex;
  flex-shrink: 0;
  color: var(--alprecio-orange);
}

.site-footer__contact-icon svg {
  width: 16px;
  height: 16px;
}

.site-footer__contact-phone {
  font-family: "Open Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--alprecio-orange);
  text-decoration: none;
}

.site-footer__contact-phone:hover {
  text-decoration: underline;
}

.site-footer__contact-link,
.site-footer__contact-text {
  font-family: "Open Sans", sans-serif;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.site-footer__contact-link:hover {
  color: var(--alprecio-orange);
}

.site-footer__social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.site-footer__social-link svg {
  width: 14px;
  height: 14px;
}

.site-footer__social-link:hover {
  border-color: var(--alprecio-orange);
  color: var(--alprecio-orange);
  background: rgba(255, 102, 0, 0.12);
}

.site-footer__support-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__support-link {
  font-family: "Open Sans", sans-serif;
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__support-link:hover {
  color: var(--alprecio-orange);
}

@media (max-width: 767px) {
  .site-footer__brand,
  .site-footer__contact-col,
  .site-footer__support-col,
  .site-footer__social-col {
    min-width: 0;
    text-align: center;
  }

  .site-footer__logo {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer__desc {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer__col-label {
    margin-bottom: 0.65rem;
  }

  .site-footer__contact {
    align-items: center;
  }

  .site-footer__contact li {
    justify-content: center;
    align-items: center;
  }

  .site-footer__contact-phone,
  .site-footer__contact-link,
  .site-footer__contact-text {
    min-width: 0;
    word-break: break-word;
    text-align: center;
  }

  .site-footer__support-links {
    align-items: center;
  }

  .site-footer__support-link {
    display: inline-block;
    max-width: 100%;
    text-align: center;
  }

  .site-footer__social {
    justify-content: center;
  }
}

/* â€”â€” Sucursales â€”â€” */
.locales-page {
  background: #fff;
  padding-bottom: 0.5rem;
}

.locales-hero__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--alprecio-navy);
  border-radius: 12px;
  padding: 1.35rem 1.25rem 1rem;
  overflow: hidden;
  min-height: 140px;
}

@media (min-width: 768px) {
  .locales-hero__card {
    grid-template-columns: minmax(0, 1.1fr) minmax(200px, 0.9fr);
    padding: 1.75rem 1.5rem 1.25rem 2rem;
    min-height: 168px;
  }
}

.locales-hero__dots {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 72px;
  height: 56px;
  opacity: 0.35;
  background-image: radial-gradient(circle, rgba(120, 180, 255, 0.9) 2px, transparent 2px);
  background-size: 14px 14px;
  pointer-events: none;
}

.locales-hero__content {
  position: relative;
  z-index: 1;
}

.locales-hero__title {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.locales-hero__title span {
  color: var(--alprecio-orange);
  font-weight: 900;
}

.locales-hero__text {
  margin: 0.5rem 0 0;
  max-width: 28rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.locales-hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 100px;
}

.locales-hero__visual::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: 28%;
  width: 44px;
  height: 56px;
  background: var(--alprecio-orange);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 6px 18px rgba(255, 102, 0, 0.45);
  z-index: 2;
}

.locales-hero__store-img {
  display: block;
  max-width: 100%;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
}

@media (min-width: 768px) {
  .locales-hero__store-img {
    max-height: 175px;
    margin-right: 0.5rem;
  }
}

.locales-filters {
  padding: 1rem 0 0.75rem;
}

.locales-filters__row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.locales-filter-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: #4b5563;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.locales-filter-pill:hover {
  border-color: var(--alprecio-orange);
  color: var(--alprecio-navy);
}

.locales-filter-pill--active {
  color: #fff;
  background: var(--alprecio-orange);
  border-color: var(--alprecio-orange);
}

.locales-filter-more {
  position: relative;
  flex-shrink: 0;
}

.locales-filter-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 30;
  min-width: 160px;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 31, 63, 0.12);
}

.locales-filter-dropdown button {
  display: block;
  width: 100%;
  padding: 0.5rem 0.85rem;
  text-align: left;
  font-family: "Open Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
  background: transparent;
  border: none;
  cursor: pointer;
}

.locales-filter-dropdown button:hover,
.locales-filter-dropdown__item--active {
  background: var(--alprecio-orange-soft);
  color: var(--alprecio-orange);
}

.locales-main {
  padding-bottom: 1rem;
}

.locales-main__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 992px) {
  .locales-main__grid {
    grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
    gap: 1.25rem;
  }
}

.locales-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: none;
}

@media (min-width: 992px) {
  .locales-list {
    max-height: clamp(360px, 52vh, 480px);
    overflow-y: auto;
    padding-right: 0.25rem;
  }
}

.locales-list-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.65rem;
  align-items: center;
  width: 100%;
  padding: 0.65rem 0.75rem;
  text-align: left;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.locales-list-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.06);
}

.locales-list-card--active {
  border: 2px solid var(--alprecio-orange);
  box-shadow: 0 2px 12px rgba(255, 102, 0, 0.12);
}

.locales-list-card--featured.locales-list-card--active {
  padding-top: 1.5rem;
}

.locales-list-card__badge {
  position: absolute;
  top: 0.45rem;
  left: 0.75rem;
  padding: 0.15rem 0.45rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  background: var(--alprecio-orange);
  border-radius: 4px;
  line-height: 1.2;
}

.locales-list-card__thumb {
  display: block;
  width: 72px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  background: #f3f4f6;
  flex-shrink: 0;
}

.locales-list-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.locales-list-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.locales-list-card__name {
  font-family: "Lato", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--alprecio-blue);
  line-height: 1.2;
}

.locales-list-card__address {
  font-family: "Open Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.35;
  color: #6b7280;
}

.locales-list-card__hours {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.15rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: #374151;
}

.locales-list-card__hours svg {
  flex-shrink: 0;
  color: var(--alprecio-orange);
}

.locales-list-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.15rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--alprecio-navy);
}

.locales-list-card__phone img {
  flex-shrink: 0;
}

.locales-list-card__chevron {
  flex-shrink: 0;
  color: #9ca3af;
}

.locales-list-card--active .locales-list-card__chevron {
  color: var(--alprecio-orange);
}

.locales-list-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--alprecio-blue);
  text-decoration: none;
}

.locales-list-footer:hover {
  color: var(--alprecio-orange);
}

.locales-map-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.locales-map-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #dfe3e8;
  background: #f0f2f5;
}

.locales-map-iframe {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 400px);
  border: 0;
}

@media (min-width: 992px) {
  .locales-map-iframe {
    height: clamp(320px, 48vh, 440px);
  }
}

.locales-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
}

@media (min-width: 640px) {
  .locales-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1rem;
  }
}

@media (min-width: 1100px) {
  .locales-features {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
}

.locales-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
}

.locales-feature__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--alprecio-orange);
}

.locales-feature__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.locales-feature__text strong {
  font-family: "Lato", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--alprecio-navy);
  line-height: 1.2;
}

.locales-feature__text span {
  font-family: "Open Sans", sans-serif;
  font-size: 0.62rem;
  line-height: 1.35;
  color: #6b7280;
}

.locales-credi-banner__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--alprecio-navy);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  overflow: hidden;
  color: #fff;
}

@media (min-width: 900px) {
  .locales-credi-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.75rem;
  }
}

.locales-credi-banner__dots {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 64px;
  height: 52px;
  opacity: 0.3;
  background-image: radial-gradient(circle, rgba(120, 180, 255, 0.9) 2px, transparent 2px);
  background-size: 14px 14px;
  pointer-events: none;
}

.locales-credi-banner__lead {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.locales-credi-banner__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--alprecio-orange);
  color: #fff;
  flex-shrink: 0;
}

.locales-credi-banner__title {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 800;
  line-height: 1.25;
}

.locales-credi-banner__benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .locales-credi-banner__benefits {
    grid-template-columns: repeat(4, auto);
    gap: 0.75rem 1.25rem;
  }
}

.locales-credi-banner__benefits li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

@media (max-width: 599px) {
  .locales-credi-banner__benefits li {
    white-space: normal;
  }
}

.locales-credi-banner__benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  opacity: 0.95;
}

/* â€”â€” Franja Credi-Precio (ofertas + favoritos + solicitud) â€”â€” */
.credi-promo-strip {
  padding: 1rem 0 1.25rem;
  background: #fff;
}

.credi-promo-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: stretch;
}

@media (min-width: 1100px) {
  .credi-promo-strip__grid {
    grid-template-columns: minmax(190px, 0.82fr) minmax(0, 2.2fr) minmax(220px, 0.88fr);
    gap: 0.65rem;
  }
}

.credi-promo-banner {
  display: block;
  min-height: 168px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.credi-promo-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 31, 63, 0.12);
}

.credi-promo-banner__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
  object-position: center;
}

/* Favoritos (centro) */
.credi-promo-favorites {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 168px;
  padding: 0.65rem 0 0.5rem;
  background: #fff;
}

.credi-promo-favorites__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  padding: 0;
}

.credi-promo-favorites__title {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--alprecio-navy);
}

.credi-promo-favorites__link {
  font-family: "Open Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--alprecio-orange);
  text-decoration: none;
  white-space: nowrap;
}

.credi-promo-favorites__link:hover {
  text-decoration: underline;
}

.credi-promo-favorites__list {
  display: flex;
  gap: 0.45rem;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
}

.credi-promo-favorites__list>li {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 1099px) {
  .credi-promo-favorites__list {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .credi-promo-favorites__list>li {
    flex: 0 0 118px;
    min-width: 118px;
  }

  .credi-promo-favorites__list::-webkit-scrollbar {
    height: 4px;
  }
}

.credi-promo-product {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #d8dde3;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.credi-promo-product:hover {
  border-color: #b8c0c8;
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.08);
}

.credi-promo-product__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 78px;
  padding: 0.35rem;
  background: #f8f9fa;
}

.credi-promo-product__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.credi-promo-product__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.45rem 0.5rem 0.55rem;
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.05rem;
  line-height: 1;
}

.product-rating__star {
  font-size: 0.62rem;
  color: #d1d5db;
}

.product-rating__star--filled {
  color: var(--alprecio-orange);
}

.credi-promo-product__name {
  font-family: "Open Sans", sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--alprecio-navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.credi-promo-product__from {
  font-family: "Open Sans", sans-serif;
  font-size: 0.52rem;
  color: #6b7280;
}

.credi-promo-product__price {
  font-family: "Lato", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--alprecio-blue);
  line-height: 1.2;
}

.credi-promo-product__period {
  font-size: 0.58rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .credi-promo-product__name {
    font-size: 0.62rem;
  }

  .credi-promo-product__price {
    font-size: 0.78rem;
  }
}

/* —— Formulario de contacto —— */
.contact-section {
  padding: 1.5rem 0 2.5rem;
}

@media (min-width: 768px) {
  .contact-section {
    padding: 2rem 0 3rem;
  }
}

.contact-section__card {
  display: grid;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 31, 63, 0.1);
}

@media (min-width: 900px) {
  .contact-section__card {
    grid-template-columns: 1fr 1.4fr;
  }
}

.contact-section__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--alprecio-navy);
  color: #fff;
  padding: 1.75rem 1.5rem;
  min-height: 100%;
}

.contact-section__title {
  margin: 0 0 0.65rem;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-section__intro {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.contact-form {
  background: #fff;
  padding: 1.75rem 1.5rem;
}

.contact-form__row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 600px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-form__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--alprecio-navy);
}

.contact-form__optional {
  font-weight: 400;
  color: #9ca3af;
}

.contact-form__input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  color: #1a1a1a;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form__input::placeholder {
  color: #b0b0b0;
}

.contact-form__input:focus {
  outline: none;
  border-color: var(--alprecio-orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.12);
  background: #fff;
}

.contact-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.contact-form__submit {
  align-self: flex-start;
  padding: 0.75rem 1.75rem;
  background: var(--alprecio-orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.contact-form__submit:hover {
  background: #e55a00;
  transform: translateY(-1px);
}

.contact-form__feedback {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.contact-form__feedback--success {
  color: #166534;
}

/* —— Nuestros locales (home) —— */
.branches-home {
  padding: 1rem 0 1.5rem;
}

@media (min-width: 768px) {
  .branches-home {
    padding: 1.25rem 0 2rem;
  }
}

.branches-home__panel {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 31, 63, 0.08);
  background: #fff;
}

.branches-home__header {
  padding: 0.75rem 1rem;
  text-align: center;
  background: var(--alprecio-orange);
}

.branches-home__header h2 {
  margin: 0;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  color: #fff;
}

.branches-home__tabs-wrap {
  position: relative;
  background: #f4f6f9;
  border-bottom: 1px solid #e5e7eb;
}

.branches-home__tabs-wrap::before,
.branches-home__tabs-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.25rem;
  pointer-events: none;
  z-index: 1;
}

.branches-home__tabs-wrap::before {
  left: 0;
  background: linear-gradient(to right, #f4f6f9, transparent);
}

.branches-home__tabs-wrap::after {
  right: 0;
  background: linear-gradient(to left, #f4f6f9, transparent);
}

.branches-home__tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.branches-home__tab {
  flex-shrink: 0;
  scroll-snap-align: center;
  padding: 0.45rem 0.75rem;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--alprecio-navy);
  background: #fff;
  border: 1px solid #d8dee6;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .branches-home__tabs {
    padding: 0.65rem 1rem;
    gap: 0.45rem;
  }

  .branches-home__tab {
    font-size: 0.68rem;
    padding: 0.5rem 0.9rem;
  }
}

.branches-home__tab:hover {
  border-color: var(--alprecio-orange);
  background: var(--alprecio-orange-soft);
}

.branches-home__tab--active {
  color: #fff;
  background: var(--alprecio-orange);
  border-color: var(--alprecio-orange);
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.28);
}

.branches-home__tab--active:hover {
  background: #e55a00;
  border-color: #e55a00;
}

.branches-home__body {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  align-items: stretch;
  background: #fafbfc;
}

@media (min-width: 768px) {
  .branches-home__body {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 1.25rem;
    padding: 1.25rem 1.5rem 1.5rem;
  }
}

.branches-home__media {
  min-width: 0;
}

.branches-home__media-frame {
  position: relative;
  height: 100%;
  min-height: 220px;
  border: 2px solid var(--alprecio-navy);
  border-radius: 10px;
  overflow: hidden;
  background: #eef1f5;
  box-shadow: 0 4px 16px rgba(0, 31, 63, 0.08);
}

.branches-home__img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
  max-height: 260px;
  object-fit: cover;
  object-position: center;
}

.branches-home__map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
}

@media (min-width: 768px) {
  .branches-home__media-frame,
  .branches-home__map {
    min-height: 280px;
  }
}

.branches-home__info {
  min-width: 0;
  display: flex;
}

.branches-home__info-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 31, 63, 0.06);
}

.branches-home__store {
  position: relative;
  background: #f3f5f8;
  border-bottom: 1px solid #e3e8ef;
}

.branches-home__store-img {
  display: block;
  width: 100%;
  height: clamp(120px, 22vw, 150px);
  object-fit: cover;
  object-position: center;
}

.branches-home__details {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1rem 1.1rem;
}

.branches-home__city {
  margin: 0;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--alprecio-orange);
  line-height: 1.2;
}

.branches-home__name {
  margin: 0;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--alprecio-navy);
  line-height: 1.15;
}

.branches-home__meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid #eef1f5;
}

.branches-home__meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.branches-home__meta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--alprecio-orange-soft);
  color: var(--alprecio-orange);
}

.branches-home__meta-icon svg,
.branches-home__meta-icon-svg {
  width: 16px;
  height: 16px;
}

.branches-home__meta-icon img {
  display: block;
  width: 18px;
  height: 18px;
}

.branches-home__meta-text {
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
  color: #3d5166;
}

.branches-home__phone {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--alprecio-navy);
  text-decoration: none;
}

.branches-home__phone:hover {
  color: var(--alprecio-orange);
}

/* —— Sobre nosotros —— */
.about-section {
  padding: 1rem 0 1.5rem;
}

@media (min-width: 768px) {
  .about-section {
    padding: 1.25rem 0 2rem;
  }
}

.about-section__panel {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 31, 63, 0.08);
}

.about-section__header {
  padding: 0.75rem 1rem;
  text-align: center;
  background: var(--alprecio-orange);
}

.about-section__header h2 {
  margin: 0;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  color: #fff;
}

.about-section__body {
  position: relative;
  padding: 1.5rem 1.25rem 1.75rem;
  background: #fff;
  overflow: hidden;
}

@media (min-width: 768px) {
  .about-section__body {
    padding: 2rem 2.5rem 2.25rem;
  }
}

.about-section__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(280px, 55%);
  height: auto;
  opacity: 0.06;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.about-section__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-section__headline {
  margin: 0 0 1.25rem;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: clamp(0.95rem, 2.4vw, 1.2rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--alprecio-navy);
}

.about-section__text {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #374151;
}

.about-section__text:last-child {
  margin-bottom: 0;
}

.about-section__subtitle {
  margin: 1.5rem 0 0.85rem;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--alprecio-navy);
}

/* —— Documentos legales —— */
.legal-page {
  padding: 1.25rem 0 2.5rem;
}

@media (min-width: 768px) {
  .legal-page {
    padding: 1.75rem 0 3rem;
  }
}

.legal-page__hero {
  margin-bottom: 1.5rem;
}

.legal-page__eyebrow {
  margin: 0 0 0.35rem;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--alprecio-orange);
}

.legal-page__title {
  margin: 0 0 0.5rem;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--alprecio-navy);
}

.legal-page__intro {
  margin: 0;
  max-width: 40rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4b5563;
}

.legal-page__layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 992px) {
  .legal-page__layout {
    grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
    gap: 1.75rem;
  }
}

.legal-nav {
  position: sticky;
  top: 5.5rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 31, 63, 0.06);
}

.legal-nav__label {
  margin: 0 0 0.75rem;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--alprecio-navy);
}

.legal-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

@media (max-width: 991px) {
  .legal-nav__list {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
  }

  .legal-nav {
    position: static;
  }
}

.legal-nav__link {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--alprecio-navy);
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .legal-nav__link {
    white-space: normal;
  }
}

.legal-nav__link:hover {
  background: var(--alprecio-orange-soft);
  color: var(--alprecio-orange);
}

.legal-nav__link--active {
  background: var(--alprecio-navy);
  color: #fff;
  border-color: var(--alprecio-navy);
}

.legal-nav__link--active:hover {
  background: #002a55;
  color: #fff;
}

.legal-page__content {
  min-width: 0;
}

.legal-doc[hidden] {
  display: none;
}

.legal-doc__header {
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.15rem;
  background: linear-gradient(135deg, var(--alprecio-navy) 0%, #004080 100%);
  border-radius: 12px;
  color: #fff;
}

@media (min-width: 768px) {
  .legal-doc__header {
    padding: 1.5rem 1.5rem;
  }
}

.legal-doc__updated {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.legal-doc__title {
  margin: 0 0 0.5rem;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 900;
  line-height: 1.25;
}

.legal-doc__summary {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.legal-doc__sections {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.legal-doc__section {
  padding: 1.15rem 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0, 31, 63, 0.04);
}

@media (min-width: 768px) {
  .legal-doc__section {
    padding: 1.35rem 1.5rem 1.5rem;
  }
}

.legal-doc__section-title {
  margin: 0 0 0.75rem;
  padding-bottom: 0.55rem;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--alprecio-navy);
  border-bottom: 2px solid var(--alprecio-orange);
}

.legal-doc__text {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #374151;
}

.legal-doc__text:last-child {
  margin-bottom: 0;
}

.legal-doc__list {
  margin: 0 0 0.85rem 1.25rem;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #374151;
}

.legal-doc__list:last-child {
  margin-bottom: 0;
}

.legal-doc__list-item {
  margin-bottom: 0.45rem;
}

.legal-doc__list-item:last-child {
  margin-bottom: 0;
}

.legal-doc__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 10rem;
  padding: 2rem 1.25rem;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0, 31, 63, 0.04);
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b7280;
  text-align: center;
}

/* —— Preguntas frecuentes —— */
.faq-page {
  padding: 1.25rem 0 2.5rem;
}

@media (min-width: 768px) {
  .faq-page {
    padding: 1.75rem 0 3rem;
  }
}

.faq-page__hero {
  margin-bottom: 1.5rem;
}

.faq-page__eyebrow {
  margin: 0 0 0.35rem;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--alprecio-orange);
}

.faq-page__title {
  margin: 0 0 0.5rem;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--alprecio-navy);
}

.faq-page__intro {
  margin: 0;
  max-width: 40rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4b5563;
}

.faq-page__layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 992px) {
  .faq-page__layout {
    grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
    gap: 1.75rem;
  }
}

.faq-nav {
  position: sticky;
  top: 5.5rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 31, 63, 0.06);
}

.faq-nav__label {
  margin: 0 0 0.75rem;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--alprecio-navy);
}

.faq-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

@media (max-width: 991px) {
  .faq-nav {
    position: static;
  }

  .faq-nav__list {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
  }
}

.faq-nav__link {
  display: block;
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--alprecio-navy);
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

@media (min-width: 992px) {
  .faq-nav__link {
    white-space: normal;
  }
}

.faq-nav__link:hover {
  background: var(--alprecio-orange-soft);
  color: var(--alprecio-orange);
}

.faq-page__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.faq-page__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 10rem;
  padding: 2rem 1.25rem;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0, 31, 63, 0.04);
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b7280;
  text-align: center;
}

.faq-category {
  scroll-margin-top: 6rem;
}

.faq-category__title {
  margin: 0 0 0.85rem;
  padding: 0.65rem 1rem;
  font-family: "Lato", "Open Sans", system-ui, sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--alprecio-orange);
  border-radius: 10px;
}

.faq-category__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 31, 63, 0.04);
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.95rem 1rem;
  text-align: left;
  font: inherit;
  color: var(--alprecio-navy);
  background: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.faq-item__trigger:hover {
  background: #fafbfc;
}

.faq-item--open .faq-item__trigger {
  background: var(--alprecio-orange-soft);
}

.faq-item__question {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.faq-item__icon {
  display: flex;
  flex-shrink: 0;
  color: var(--alprecio-orange);
  transition: transform 0.2s ease;
}

.faq-item__icon svg {
  width: 14px;
  height: 14px;
}

.faq-item--open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__panel {
  padding: 0 1rem 1rem;
}

.faq-item__answer {
  margin: 0;
  padding-top: 0.15rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #4b5563;
  border-top: 1px solid #eef0f3;
  padding-top: 0.85rem;
}