/* =========================================================
   RODEO CRUZELIS PIZZA — STYLES.CSS
   Full width + responsive + ligero
   ========================================================= */

:root {
  --page-width: 100%;

  --green: #009335;
  --yellow: #fff200;
  --red: #ef3030;
  --dark-red: #b91f1f;
  --white: #ffffff;
  --black: #1f1f1f;
  --gray: #f2f2f2;
  --muted: #ffffff;

  --font-display: "Alfa Slab One", Georgia, serif;

  --topbar-height: 38px;
  --nav-height: 108px;

  --shadow-card: 0 5px 12px rgba(0, 0, 0, 0.28);
  --shadow-button: 0 6px 0 rgba(0, 0, 0, 0.35);
}

/* RESET */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-display);
}

body.no-scroll {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font-family: inherit;
}

button {
  cursor: pointer;
}

/* PAGE */

.page {
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--white);
  overflow: hidden;
}

/* TOPBAR */

.topbar {
  width: 100%;
  min-height: var(--topbar-height);
  background: var(--yellow);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 14px;
  font-size: clamp(10px, 1.2vw, 14px);
  line-height: 1.1;
  text-transform: uppercase;
  position: relative;
}

/* NAVBAR */

.navbar {
  width: 100%;
  height: var(--nav-height);
  background: var(--green);
  display: grid;
  grid-template-columns: 140px 1fr 180px;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(20px, 6vw, 90px);
  position: sticky;
  top: 0;
  z-index: 50;
  position: fixed;
}

.logo img {
  width: clamp(70px, 7vw, 98px);
  display: block;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  color: var(--white);
  text-transform: uppercase;
  font-size: clamp(16px, 1.8vw, 25px);
  white-space: nowrap;
}

.menu a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.menu a:hover {
  color: var(--yellow);
  transform: translateY(-2px);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
}

.icon-btn {
  border: 0;
  background: transparent;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  position: relative;
  color: var(--yellow);
  padding: 0;
}

#cartCount {
  position: absolute;
  top: -8px;
  right: -5px;
  background: var(--red);
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 12px;
  border-radius: 999px;
  padding: 3px 7px;
}

/* HERO */

.hero {
  width: 100%;
  min-height: calc(100vh - var(--topbar-height) - var(--nav-height));
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.06)),
    url("img/hero1.png") center / cover no-repeat;
  overflow: hidden;
}

.hero-copy {
  position: absolute;
  top: clamp(40px, 9vh, 90px);
  right: clamp(20px, 7vw, 110px);
  width: min(420px, 90vw);
  text-align: center;
  z-index: 3;
}

.hero-copy h1 {
  margin: 0 0 28px;
  color: var(--yellow);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(355px, 90vw);
  min-height: clamp(72px, 8vw, 96px);
  padding: 18px 32px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1;
  text-transform: uppercase;
  box-shadow: var(--shadow-button);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 rgba(0, 0, 0, 0.35);
}

.running-pizzas {
  position: absolute;
  right: clamp(14px, 5vw, 70px);
  bottom: clamp(18px, 5vw, 56px);
  width: min(420px, 45vw);
  z-index: 2;
  pointer-events: none;
}

/* DOTS */

.dots {
  height: 45px;
  width: 100%;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.dots span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--muted);
}

/* SECCIONES */

.block {
  width: 100%;
  background: var(--white);
  padding: clamp(24px, 4vw, 56px) clamp(20px, 7vw, 110px);
}

.block h2 {
  margin: 0 0 18px;
  color: var(--red);
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1;
  text-transform: uppercase;
}

.subtitle {
  margin: -8px 0 18px;
  color: var(--red);
  font-size: clamp(14px, 1.5vw, 18px);
  text-transform: uppercase;
}

/* PRODUCT GRID */

.products {
  width: 100%;
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}

.products-4 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.products-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* PRODUCT CARD */

.card {
  background: #ffffff;
  box-shadow: var(--shadow-card);
  border: 1px solid #ffffff;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  padding: 14px;
  text-align: center;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: var(--white);
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  padding: 5px 9px;
  text-transform: uppercase;
  z-index: 2;
}

.card img {
  width: 100%;
  height: clamp(120px, 14vw, 180px);
  object-fit: contain;
  margin-top: 12px;
}

.card h3 {
  margin: 8px 0 4px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
}

.card p {
  margin: 0 0 8px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.25;
}

.price {
  color: var(--red);
  font-size: 24px;
  line-height: 1;
  margin-bottom: 8px;
}

.card button {
  border: 0;
  background: var(--red);
  color: var(--white);
  border-radius: 999px;
  padding: 9px 14px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

/* LOCATION / MAPS */

.location-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(260px, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}

.branch-map {
  width: 100%;
  min-height: 260px;
  background: var(--gray);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  font-family: Arial, sans-serif;
  color: #666;
  box-shadow: var(--shadow-card);
}

.branch-map iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}

.location-copy {
  color: var(--red);
  text-transform: uppercase;
}

.location-copy p,
.location-copy h3 {
  margin: 0 0 16px;
}

.location-copy h3 {
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1;
}

.map-link {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--red);
  text-decoration: underline;
  font-size: 14px;
}

.branch-btn {
  border: 0;
  background: var(--yellow);
  color: var(--red);
  border-radius: 999px;
  padding: 14px 20px;
  font-size: clamp(16px, 2vw, 21px);
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.28);
}

/* CART DRAWER */

.cart-drawer {
  position: fixed;
  top: 0;
  right: -390px;
  width: 370px;
  max-width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 200;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.25);
  transition: right 0.25s ease;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-head,
.cart-foot {
  padding: 18px;
  border-bottom: 1px solid #eeeeee;
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-head h3 {
  margin: 0;
}

.cart-head button {
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
}

.cart-items {
  flex: 1;
  padding: 18px;
  overflow-y: auto;
}

.cart-empty {
  color: #666;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eeeeee;
}

.cart-item-title {
  font-weight: 900;
  margin-bottom: 4px;
}

.cart-item-meta {
  color: #666;
  font-size: 13px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
}

.qty-value {
  min-width: 24px;
  text-align: center;
  font-weight: 900;
}

.remove-btn {
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-decoration: underline;
}

.cart-item-price {
  font-weight: 900;
  color: var(--red);
  white-space: nowrap;
}

.cart-foot {
  border-top: 1px solid #eeeeee;
  border-bottom: 0;
}

.cart-foot p {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
}

#checkoutOpenBtn {
  width: 100%;
  border: 0;
  background: var(--red);
  color: var(--white);
  padding: 14px;
  border-radius: 999px;
  font-weight: 900;
  margin-top: 12px;
}

/* CHECKOUT MODAL */

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.58);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.checkout-modal.open {
  display: flex;
}

.checkout-card {
  width: min(100%, 520px);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 18px;
  padding: 24px;
  position: relative;
  font-family: Arial, sans-serif;
}

.checkout-card h2 {
  margin: 0 0 18px;
  color: var(--red);
  font-family: var(--font-display);
  text-transform: uppercase;
}

.checkout-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
}

#checkoutForm {
  display: grid;
  gap: 14px;
}

#checkoutForm label {
  display: grid;
  gap: 6px;
  font-weight: 900;
}

#checkoutForm input,
#checkoutForm textarea,
#checkoutForm select {
  width: 100%;
  border: 2px solid #eeeeee;
  border-radius: 12px;
  padding: 12px;
  font-family: Arial, sans-serif;
  font-size: 15px;
}

#checkoutForm input:focus,
#checkoutForm textarea:focus,
#checkoutForm select:focus {
  outline: none;
  border-color: var(--red);
}

.payment-element {
  min-height: 70px;
  border: 2px dashed #dddddd;
  border-radius: 14px;
  padding: 14px;
  color: #666;
  background: #fafafa;
}

#payButton {
  border: 0;
  background: var(--red);
  color: var(--white);
  border-radius: 999px;
  padding: 15px;
  font-size: 16px;
  font-weight: 900;
}

.site-footer {
  background: var(--green);
  color: var(--white);
  padding: 34px clamp(20px, 7vw, 110px) 24px;
  border-top: 10px solid var(--yellow);
}

.footer-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(13px, 1.2vw, 17px);
  line-height: 1.35;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--white);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.22);
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-links span {
  color: var(--yellow);
}

.footer-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 42px 0 36px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--red);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.26);
}

.footer-social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.footer-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 22px);
  text-transform: uppercase;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.28);
  text-align: center;
}

.footer-call-btn:hover {
  transform: translateY(-2px);
}

.footer-legal-copy {
  max-width: 1180px;
}

.footer-legal-copy p {
  margin: 0 0 22px;
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 700;
  line-height: 1.45;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 760px) {
  .site-footer {
    padding: 18px 18px 26px;
  }

  .footer-links {
    gap: 8px 10px;
    font-size: 13px;
  }

  .footer-links span {
    display: none;
  }

  .footer-social-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin: 36px 0;
  }

  .footer-apps {
    flex-wrap: wrap;
  }

  .app-badge {
    min-width: 135px;
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 32px 20px 18px;
  }
}
/* =========================
   COVERAGE MESSAGE (ZONAS)
   ========================= */

.coverage-message {
  margin: 10px 0 16px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  text-transform: none;
}

.coverage-message.success {
  color: #087f3f;
}

.coverage-message.warning {
  color: #b91f1f;
  background: #fff3cd;
  border: 1px solid #ffdf7e;
  border-radius: 12px;
  padding: 10px 12px;
}

/* =========================
   PRODUCT UI UPGRADE
   ========================= */

.products {
  align-items: stretch;
}

.card {
 
  border: 3px solid #f2d199;
  border-radius: 22px;
  padding: 18px 14px 16px;
  min-height: 280px;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 13px 0 rgba(0, 0, 0, 0.18);
}

.card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px dashed rgba(239, 48, 48, 0.18);
  border-radius: 16px;
  pointer-events: none;
}

.card img {
  width: 100%;
  height: clamp(140px, 15vw, 190px);
  object-fit: contain;
  margin: 6px 0 10px;

  transition: transform 0.18s ease;
}


.card h3 {
  margin: 4px 0 6px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.card p {
  margin: 0 0 10px;
  max-width: 90%;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  color: #5b2f17;
  text-align: center;
}

.price {
  margin: 4px 0 12px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1;
  text-shadow: 1px 1px 0 rgba(255, 242, 0, 0.7);
}

.card button {
  width: 100%;
  max-width: 190px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.25);
  filter: brightness(1.04);
}

.card button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

/* =========================
   GENERAL BUTTON UPGRADE
   ========================= */

.hero-btn,
.branch-btn,
.footer-call-btn,
#checkoutOpenBtn,
#payButton,
.coverage-modal-content button {
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.hero-btn:hover,
.branch-btn:hover,
.footer-call-btn:hover,
#checkoutOpenBtn:hover,
#payButton:hover,
.coverage-modal-content button:hover {
  transform: translateY(-3px);
  filter: brightness(1.03);
}

.hero-btn:active,
.branch-btn:active,
.footer-call-btn:active,
#checkoutOpenBtn:active,
#payButton:active,
.coverage-modal-content button:active {
  transform: translateY(2px);
}

/* =========================
   CART BUTTONS UPGRADE
   ========================= */

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--red);
  color: white;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.22);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.qty-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

.remove-btn {
  color: var(--red);
  font-weight: 900;
}

.remove-btn:hover {
  color: var(--dark-red);
}

/* =========================
   FOOTER ICON HOVER
   ========================= */

.footer-social a {
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.footer-social a:hover {
  transform: translateY(-4px) rotate(-3deg);
  filter: brightness(1.05);
}

.footer-whatsapp-btn {
  background: var(--red);
}

.simple-form {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.simple-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.simple-form input,
.simple-form textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #eee;
  border-radius: 12px;
  font-family: Arial, sans-serif;
}

.simple-form button {
  width: fit-content;
  border: 0;
  background: var(--red);
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
}

/* =========================
   SUBPÁGINAS — BRAND UI
   ========================= */

.legal-page {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 78px) clamp(18px, 5vw, 64px);
  font-family: Arial, sans-serif;
}

.legal-page::before {
  content: "Rodeo Cruzelis Pizza";
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  box-shadow: 0 4px 0 rgba(0,0,0,.18);
}

.legal-page h1 {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 64px);
  line-height: .95;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 rgba(0,0,0,.12);
}

.legal-page > p:first-of-type {
  display: inline-block;
  margin: 0 0 28px;
  padding: 10px 14px;
  border-left: 6px solid var(--green);
  background: #fff7df;
  color: #5b2f17;
  font-weight: 800;
}

.legal-page h2 {
  margin: 34px 0 10px;
  padding-top: 18px;
  border-top: 2px dashed rgba(0,150,64,.25);
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 32px);
  line-height: 1;
  text-transform: uppercase;
}

.legal-page p {
  max-width: 840px;
  margin: 0 0 14px;
  color: #3f2a1d;
  font-family: Arial, sans-serif;
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 600;
  line-height: 1.65;
}

.legal-page strong {
  color: var(--red);
}

.legal-page a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 5px 0 rgba(0,0,0,.22);
  transition: transform .15s ease, box-shadow .15s ease;
}

.legal-page a:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 rgba(0,0,0,.22);
}

/* FORMULARIOS EN SUBPÁGINAS */

.simple-form {
  max-width: 720px;
  margin: 30px 0;
  padding: 26px;
  border: 3px solid #f0d4a5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 0 rgba(0,0,0,.12);
}

.simple-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #5b2f17;
  font-family: Arial, sans-serif;
  font-weight: 900;
}

.simple-form input,
.simple-form textarea,
.simple-form select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #ead6cc;
  border-radius: 14px;
  background: #fffdf6;
  color: #1f1f1f;
  font-family: Arial, sans-serif;
  font-size: 15px;
}

.simple-form input:focus,
.simple-form textarea:focus,
.simple-form select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(239,48,48,.12);
}

.simple-form button {
  width: fit-content;
  border: none;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-size: 15px;
  text-transform: uppercase;
  box-shadow: 0 5px 0 rgba(0,0,0,.22);
}

.feedback-success {
  display: none;
  max-width: 720px;
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: #dff5e4;
  color: #087f3f;
  font-family: Arial, sans-serif;
  font-weight: 900;
}

/* SUCURSALES */

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 34px 0;
}

.branch-card {
  background: #fff;
  border: 3px solid #f0d4a5;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 8px 0 rgba(0,0,0,.12);
}

.branch-top h2 {
  border: none;
  padding: 0;
  margin: 0;
  color: var(--red);
}

.branch-card p {
  font-size: 14px;
}

.branch-badge {
  display: inline-flex;
  margin: 12px 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--red);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.branch-contact {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.branch-call-btn,
.branch-whatsapp-btn,
.branch-map-btn,
.branch-detect-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  box-shadow: 0 4px 0 rgba(0,0,0,.18);
}

.branch-call-btn,
.branch-detect-btn {
  background: var(--yellow);
  color: var(--red);
}

.branch-whatsapp-btn {
  background: var(--red);
  color: #fff;
}

.branch-map-btn {
  background: var(--green);
  color: #fff;
}

/* FIX nombres largos en cards de sucursales */

.branch-card {
  overflow: hidden;
}

.branch-top {
  display: block;
}

.branch-top h2 {
  max-width: 100%;
  font-size: clamp(10px, 2vw, 17px);
  line-height: 0.95;
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: auto;

  letter-spacing: 2px; 
}

.branch-badge {
  margin-top: 12px;
}

.branch-card p {
  word-break: normal;
  overflow-wrap: anywhere;
}

.branch-contact {
  align-items: flex-start;
}

.branch-call-btn,
.branch-whatsapp-btn,
.branch-map-btn {
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

/* MOBILE */

@media (max-width: 760px) {
  .legal-page {
    padding: 34px 18px 48px;
  }

  .legal-page h1 {
    font-size: 34px;
  }

  .legal-page h2 {
    font-size: 22px;
  }

  .simple-form {
    padding: 18px;
    border-radius: 18px;
  }

  .branch-contact {
    flex-direction: column;
  }

  .branch-call-btn,
  .branch-whatsapp-btn,
  .branch-map-btn,
  .branch-detect-btn {
    width: 100%;
  }
}

/* =========================
   MOBILE PRODUCT TUNING
   ========================= */

@media (max-width: 760px) {
  .card {
    min-height: 260px;
    padding: 16px 14px;
  }

  .card img {
    height: 150px;
  }

  .card h3 {
    font-size: 20px;
  }

  .card p {
    font-size: 13px;
  }

  .card button {
    max-width: 100%;
    min-height: 48px;
    font-size: 15px;
  }
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .navbar {
    grid-template-columns: 90px 1fr 120px;
    padding: 0 22px;
  }

  .menu {
    gap: 24px;
    font-size: 18px;
  }

  .hero-copy {
    right: 24px;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 126px;
  }

  .topbar {
    font-size: 10px;
    padding: 8px;
  }

  .navbar {
    height: auto;
    min-height: var(--nav-height);
    grid-template-columns: 70px 1fr 80px;
    grid-template-rows: 70px auto;
    padding: 8px 14px 12px;
  }

  .logo img {
    width: 62px;
  }

  .nav-actions {
    grid-column: 3;
    grid-row: 1;
  }

  .icon-btn {
    font-size: 28px;
  }

  .menu {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 18px;
    font-size: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .menu::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: calc(100vh - var(--topbar-height) - var(--nav-height));
    background-position: 35% center;
  }

  .hero-copy {
    top: 38px;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 18px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .hero-btn {
    min-width: 0;
    width: 88%;
    min-height: 72px;
    font-size: 22px;
  }

  .running-pizzas {
    width: 82vw;
    max-width: none;
    right: 10px;
    bottom: 20px;
  }

  .block {
    padding: 22px 18px;
  }

  .block h2 {
    font-size: 25px;
  }

  .products-4,
  .products-3,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .card img {
    height: 145px;
  }

  .cart-drawer {
    width: 100%;
    right: -100%;
  }

  .checkout-card {
    width: 100%;
    max-height: 94vh;
    border-radius: 14px;
  }
}

/* =========================
   COVERAGE MODAL
   ========================= */
.coverage-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}

.coverage-modal.show {
  display: flex;
}

.coverage-modal-content {
  width: min(92vw, 440px);
  background: var(--white);
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  border: 4px solid var(--yellow);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.32);
}

.coverage-modal-content h3 {
  margin: 0 0 12px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1;
  text-transform: uppercase;
}

.coverage-modal-content p {
  margin: 0 0 20px;
  color: var(--black);
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.coverage-modal-content button {
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--red);
  padding: 13px 24px;
  font-family: var(--font-display);
  font-size: 17px;
  text-transform: uppercase;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.25);
}

.footer-social a.footer-whatsapp-btn {
  background: var(--red);
}

.footer-social a.footer-whatsapp-btn img {
  filter: none;
}
