
/* ===========================
   TIPOGRAFÍAS
   - Caveat se carga desde Google Fonts en los HTML
   - Berlin (principal) va autohospedada para asegurar que se vea igual
   =========================== */

@font-face {
  font-family: "Berlin Sans FB Demi";
  src:
    url("../fonts/BerlinSansFBDemi.woff2") format("woff2"),
    url("../fonts/BerlinSansFBDemi.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


:root {
  --bielsa-yellow: #ffcc00;
  --bielsa-blue: #00347c;
  --gray-light: #f4f4f4;
  --gray-medium: #c4c4c4;
  --gray-dark: #666666;
  --font-main: "Berlin Sans FB Demi", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-slogan: "Caveat", "Comic Sans MS", cursive;
  --radius-card: 12px;
  --brand-carousel-duration: 25s;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--bielsa-blue);
  background-color: #ffffff;
}

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

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

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Sections */
.section {
  padding: 2rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.8rem;
}

.section-header h2 {
  font-size: 2.9rem; /* +1rem respecto al base inicial */
  margin-bottom: 0.5rem;
}

.section-header h3 {
  font-size: 2.7rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 2.05rem;
}

.section-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-small {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--bielsa-blue);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.btn-secondary {
  background: #9b9b9b;
  color: #ffffff;
}

.btn-secondary:hover {
  background: #7c7c7c;
}

/* Placeholders */
.placeholder {
  background: #dcdcdc;
  border-radius: var(--radius-card);
}

.placeholder.square {
  aspect-ratio: 1 / 1;
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: #ffffff;
  border-bottom: 2px solid #e5e5e5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo img {
  height: 30px;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  font-size: 1rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.25rem;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--bielsa-yellow);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--bielsa-yellow);
  border-radius: 999px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--bielsa-blue);
  border-radius: 2px;
}

/* Home */
.section-home {
  padding-top: 0;
}

.home-hero-visual {
  height: 50vh;
  min-height: 320px;
  display: flex;
  align-items: stretch;
  background: #ffffff;
}

.hero-visual-inner {
  flex: 1;
  display: flex;
  align-items: stretch;
}

.hero-main-banner {
  position: relative;
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero-main-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--bielsa-blue);
  padding: 1.5rem;
}

.hero-banner-title {
  font-size: 3.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.hero-banner-subtitle {
  font-family: var(--font-slogan);
  font-size: 2.9rem;
}

/* Home products */
.section-home-products {
  padding-top: 3.3rem;
}

.home-products-grid {
  margin-bottom: 2.5rem;
}

/* Product circular cards */
.home-product-card {
  display: flex;
  justify-content: center;
}

.product-circle {
  position: relative;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #16a34a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.product-image-wrap {
  position: absolute;
  inset: 24% 20% 22% 20%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-wrap img {
  max-height: 100%;
  width: auto;
}

.product-code {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 2px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.product-name-pill {
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  width: 80%;
  text-align: center;
  font-size: 1.3rem; /* +0.5rem */
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.product-name-pill p {
  margin: 0;
}

.product-price-badge {
  position: absolute;
  right: -18px;
  top: 28%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 20% 20%, #ffeb3b, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.6rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.product-price-badge span {
  transform: translateY(-2px);
}

.home-offer-text {
  text-align: center;
  margin-bottom: 2.5rem;
  margin-top: 3.5rem;
}

.home-offer-text-large-top {
  margin-top: 4rem;
}

.home-offer-headline {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Locations */
.home-locations-grid {
  align-items: stretch;
}

.home-location-card {
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius-card);
  border: 1px solid #e5e5e5;
  background: #ffffff;
}

.home-location-body {
  display: flex;
  gap: 1.2rem;
  align-items: stretch;
}

.home-location-photo {
  flex: 0 0 42%;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.home-location-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-location-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-location-card .btn {
  margin-top: 1rem;
  align-self: flex-start;
}

.home-location-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #ffffff;
  border: 2px solid var(--bielsa-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
}

.home-location-icon img {
  width: 70%;
  height: auto;
}

.home-location-card h4 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem; /* +0.5 */
}

.home-location-card p {
  margin: 0.15rem 0;
}

/* Yellow block for pillars only */
.home-yellow-block {
  background: transparent;
}

.home-yellow-block .home-pillars {
  background: transparent;
}

.home-yellow-block .pillar-card {
  background: var(--bielsa-yellow);
  border: none;
}

.home-yellow-block .section-header h3 {
  color: var(--bielsa-blue);
}

/* Pillars */
.home-pillars-grid {
  align-items: stretch;
}

.pillar-card {
  padding: 1.9rem 1.3rem 2.2rem;
  border-radius: var(--radius-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

.pillar-icon {
  margin: 0 auto 0.9rem;
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: #ffffff;
  border: 2px solid var(--bielsa-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-icon img {
  width: 70%;
  height: auto;
}

.pillar-card h4 {
  font-size: 1.75rem; /* +0.5 */
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.pillar-card p {
  font-size: 1.5rem; /* +0.5 */
}

/* Extra spacing */
.section-sub-block {
  margin-top: 3.4rem;
}

.section-sub-block-large-top {
  margin-top: 4.2rem;
}

/* Brand carousel */
.home-brands {
  margin-top: 3.5rem;
}

.brands-carousel {
  position: relative;
  overflow: hidden;
}

.brands-track {
  display: flex;
  gap: 1.5rem;
  animation: brand-scroll var(--brand-carousel-duration) linear infinite;
}

.brand-logo-slide {
  flex: 0 0 160px;
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid #e5e5e5;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.brand-logo-slide img {
  max-height: 48px;
  width: auto;
}

@keyframes brand-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* CTA band full width */
.home-cta-band {
  background: var(--bielsa-yellow);
  padding: 3rem 0;
  margin-top: 3rem;
}

.home-cta {
  text-align: center;
}

.home-cta h3 {
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 1.7rem;;
}

/* Generic grids */
.cards-grid {
  display: grid;
  gap: 2rem;
}

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

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

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

.section-actions {
  margin-top: 2rem;
  text-align: center;
}

.section-sub-block.center {
  text-align: center;
}

/* Supermercados page */
.section-supermarkets-page .section-header {
  margin-bottom: 2rem;
}

.supermarket-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}


.locations-map{
  margin: 2.2rem 0;
}
.locations-map img{
  width: 100%;
  height: auto;
  display: block;
}

.supermarket-card {
  border-radius: var(--radius-card);
  border: 1px solid #e5e5e5;
  padding: 1.6rem;
  background: #ffffff;
}

.supermarket-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.supermarket-photo img {
  width: 100%;
  height: 286px;
  object-fit: cover;
}

/* Dónde estamos: fotos más altas sin afectar a otras páginas */
.page-dondeestamos .supermarket-photo img{
  height: 426px;
}

.supermarket-info h3 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}

.supermarket-info p {
  margin: 0.15rem 0;
}

.supermarket-map-embed {
  margin-top: 1.2rem;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.supermarket-map-embed iframe {
  width: 100%;
  height: 220px;
  border: 0;
}

/* Productos page */
.section-products-page {
  background: #ffffff;
}

.products-grid {
  margin-bottom: 3rem;
}

/* Nosotros */
.section-about .about-hero {
  margin-bottom: 2.5rem;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.section-about .about-hero img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.about-secondary-image {
  margin: 0 auto 2.5rem;
  max-width: 820px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.about-secondary-image img {
  width: 100%;
  height: auto;
}

.about-text-block {
  max-width: none;
  margin: 0 0 2.5rem;
  text-align: center;
  font-size: 1.2rem;
}

.about-services .service-mini {
  text-align: center;
}

.about-services .service-mini p {
  margin-top: 0.5rem;
}

/* Contacto */
.section-contact-page .contact-form-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form {
  border-radius: var(--radius-card);
  background: var(--bielsa-yellow);
  padding: 1.8rem 1.6rem;
  border: none;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.95rem;
}

.form-row input,
.form-row textarea {
  border-radius: 6px;
  border: 1px solid #d0d0d0;
  padding: 0.5rem 0.6rem;
  font-family: inherit;
  font-size: 0.96rem;
}

.contact-extra-info {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 1.1rem;
}


/* Pilares en página Nosotros también con fondo amarillo */
.section-about .pillar-card {
  background: var(--bielsa-yellow);
  border: none;
}

/* Footer */
.site-footer {
  background: var(--bielsa-yellow);
  color: var(--bielsa-blue);
  padding: 1.4rem 0;
  margin-top: 2.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-left p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-label {
  font-size: 0.9rem;
}

.social-icons {
  display: flex;
  gap: 0.4rem;
}

.social-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--bielsa-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-links a {
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-separator {
  margin: 0 0.4rem;
}

/* Responsive */
@media (max-width: 960px) {
  .cards-grid-3,
  .cards-grid-2,
  .brands-grid,
  .supermarket-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .supermarket-photo img {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 72px;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    transform: translateY(-200%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 0.75rem 1.25rem 1rem;
  }

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

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

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

  .home-hero-visual {
    height: auto;
    padding-top: 1.5rem;
  }

  /* one column stacks */
  .cards-grid-3,
  .cards-grid-2,
  .brands-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-location-body {
    flex-direction: column;
  }

  .home-location-photo {
    flex-basis: auto;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 2.1rem;
  }

  .section-header h3 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1.3rem;
  }

  .hero-banner-title {
  font-size: 3.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

  .hero-banner-subtitle {
  font-family: var(--font-slogan);
  font-size: 2.9rem;
}
}

/* Bloques legales */
.section-legal .legal-block {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: left;
  font-size: 1.02rem;
}

.section-legal .legal-block h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.section-legal .legal-block p {
  margin-bottom: 0.6rem;
}

.section-legal .legal-block ul {
  padding-left: 1.2rem;
  margin-bottom: 0.8rem;
}

.section-legal .legal-block li {
  margin-bottom: 0.35rem;
}

/* Ajuste iconos sociales con SVG */
.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  padding: 0;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  color: var(--bielsa-blue);
}

.social-icon svg path {
  fill: currentColor;
}


/* Material Symbols (Google Icons) */
.feature-icon.material-symbols-outlined {
  font-size: 34px;
  line-height: 1;
  color: var(--bielsa-blue);
}
.home-location-icon .material-symbols-outlined {
  font-size: 30px;
  color: var(--bielsa-blue);
}
.pillar-icon .material-symbols-outlined {
  font-size: 40px;
  color: var(--bielsa-blue);
}
.social-icon-ms.material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
  color: var(--bielsa-blue);
}

.social-icon img {
  width: 100%;
  height: 100%;
  display: block;
}


/* Contacto: lista de canales */
.contact-channels {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.45rem;
}
.contact-channels li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.contact-channels a {
  color: inherit;
  text-decoration: none;
}
.contact-channels a:hover {
  text-decoration: underline;
}
.mobile-icon {
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
  opacity: 0.85;
}


/* Dónde estamos: servicios debajo del mapa */
.supermarket-services {
  list-style: none;
  padding: 0.9rem 1rem 1.1rem;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.supermarket-services li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.supermarket-services .service-icon {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
  opacity: 0.85;
}

/* Google Material Symbols baseline */
.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}


/* ===========================
   HAZTE CLIENTE (wizard)
   =========================== */

.hc-wrap { max-width: 980px; margin: 0 auto; }
.hc-hero { text-align: center; margin-bottom: 24px; }
.hc-hero h2 { margin-bottom: 8px; }
.hc-hero p { margin: 0 auto; max-width: 60ch; }

/* Selector Empresa / Particular */
.hc-type{
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-card);
  padding: 1.25rem;
  background: #fff;
  margin: 0 auto 18px;
}
.hc-type__intro{
  margin: 0 auto 1rem;
  max-width: 75ch;
  text-align: center;
}
.hc-type__actions{
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hc-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0 22px;
}
.hc-stepdot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  background: #f4f4f4;
  border: 1px solid rgba(0,0,0,.06);
}
.hc-stepdot .num {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: #2bb673;
  color: #fff;
}
.hc-stepdot .label { font-weight: 700; }
.hc-stepdot.is-active { outline: 2px solid rgba(43,182,115,.35); }
.hc-stepdot.is-done .num { background: #1e8a56; }

.hc-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  padding: 18px;
}

.hc-step { display: none; }
.hc-step.is-active { display: block; }

.hc-panel { display: none; }
.hc-panel.is-active { display: block; }

.hc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hc-grid .full { grid-column: 1 / -1; }

.hc-field label { display: block; font-weight: 700; margin: 0 0 6px; }
.hc-field input, .hc-field select, .hc-field textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
  outline: none;
}
.hc-field input:focus, .hc-field select:focus, .hc-field textarea:focus {
  border-color: rgba(43,182,115,.75);
  box-shadow: 0 0 0 3px rgba(43,182,115,.15);
}

.hc-upload {
  border: 1px dashed rgba(0,0,0,.25);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 10px;
  background: #fafafa;
}
.hc-upload .hint { font-size: .95rem; opacity: .9; }
.hc-upload .file-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: start;
}
.hc-upload .material-symbols-outlined { font-size: 28px; }
.hc-upload input[type="file"] { width: 100%; }
.hc-filename { font-size: .95rem; opacity: .85; }

.hc-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.hc-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hc-actions .btn[disabled] { opacity: .55; cursor: not-allowed; }

.hc-msg {
  display: none;
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: #f7f7f7;
}
.hc-msg.is-error { border-color: rgba(200,0,0,.25); background: rgba(200,0,0,.06); }
.hc-msg.is-success { border-color: rgba(43,182,115,.35); background: rgba(43,182,115,.10); }

.btn.is-loading { opacity: .8; position: relative; }
.btn.is-loading::after {
  content: "…";
  margin-left: 6px;
}

.hc-checks { display: grid; gap: 8px; margin-top: 8px; }
.hc-checks label { display: flex; gap: 10px; align-items: start; }
.hc-checks input { width: auto; margin-top: 3px; }

@media (max-width: 860px) {
  .hc-steps { grid-template-columns: 1fr; }
  .hc-grid { grid-template-columns: 1fr; }
}


/* Dónde estamos - mapa SVG */
.donde-map-wrap{
  margin: 32px auto 12px;
  width: 100%;
  max-width: 1100px;
}
.donde-map-svg{
  width: 100%;
  height: auto;
  display: block;
}


/* Formularios - estado y anti-spam */
.hp-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
}

.form-status{
  display:none;
  margin: 14px 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}

.form-status.is-ok{
  display:block;
  background: rgba(19, 167, 95, 0.12);
  border: 1px solid rgba(19, 167, 95, 0.35);
}

.form-status.is-err{
  display:block;
  background: rgba(220, 38, 38, 0.10);
  border: 1px solid rgba(220, 38, 38, 0.30);
}

/* Contacto - centrar bloque inferior */
.contact-extra-info.center{
  text-align:center;
}
.contact-extra-info.center .contact-channels{
  display:inline-block;
  text-align:left;
  margin: 10px auto 0;
}
@media (max-width: 700px){
  .contact-extra-info.center .contact-channels{
    display:block;
    text-align:left;
  }
}

/* Nosotros - bloques imagen + párrafo */
.about-image-paragraph{
  margin-top: 22px;
  margin-bottom: 46px;
}
.about-image-paragraph img{
  width: 100%;
  height: auto;
  display:block;
  border-radius: var(--radius-card);
  box-shadow: 0 10px 26px rgba(0,0,0,0.14);
  margin-bottom: 18px;
}
.about-image-paragraph p{
  margin: 0;
}
.section-page-hero .hero-main-banner{
  border-radius: 0;
  box-shadow: none;
}
.section-page-hero .home-hero-visual{
  height: 55vh;
  min-height: 360px;
}


/* Supermarket details with icons */
.supermarket-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.25rem 0;
}
.supermarket-detail .material-symbols-outlined {
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 0.1rem;
}
.supermarket-inline-map {
  margin-top: 1rem;
}
.supermarket-inline-map img {
  width: 100%;
  height: auto; /* respeta el alto real del SVG */
  max-height: none;
  min-height: 0;
  object-fit: contain;
  display: block;
}


/* Cookie banner */
.cookie-banner{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 14px 16px;
  display: none;
}
.cookie-banner__inner{
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}
.cookie-banner__inner p{
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}
.cookie-banner__inner a{
  color: #f5c23a;
  text-decoration: underline;
  font-weight: 700;
}
.cookie-banner__btn{
  background: #f5c23a;
  border: none;
  color: #111;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}

/* Page-specific layout overrides */
.page-dondeestamos .supermarket-grid{
  grid-template-columns: 1fr;
}

.page-dondeestamos .supermarket-detail{
  display:flex;
  align-items:center;
  gap:10px;
}
.page-dondeestamos .supermarket-detail .material-symbols-outlined{
  flex:0 0 auto;
  font-size:22px;
  line-height:1;
}


/* Hazte cliente: volver a elegir tipo */
.hc-backbar{
  display:flex;
  justify-content:flex-start;
  margin: 6px 0 14px;
}
.hc-backbar__btn{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #e5e5e5;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}
.hc-backbar__btn .material-symbols-outlined{
  font-size: 20px;
  line-height: 1;
}


/* Hazte cliente: botón seleccionado */
.page-haztecliente .hc-type__actions .btn.is-selected{
  background:#f2c94c; /* amarillo */
  color:#1d3b8b; /* azul */
  border-color:#f2c94c;
}
.page-haztecliente .hc-type__actions .btn.is-selected:hover{
  filter: brightness(0.98);
}

/* Hazte cliente: validación */
.page-haztecliente .hc-error{
  display:none;
  margin-top: 6px;
  font-size: 0.9rem;
  color:#b00020;
}
.page-haztecliente .hc-field input.is-invalid,
.page-haztecliente .hc-field select.is-invalid,
.page-haztecliente .hc-field textarea.is-invalid{
  border-color:#b00020;
  outline-color:#b00020;
}
