/* Pronti theme for the Reservándonos delivery widget (/pedidos/).
   Loaded after the vendor CSS: it only sets the widget's --rsvn-* tokens and a slim
   Pronti bar, so the widget keeps working while looking like the rest of the site. */
@font-face { font-family: "Clash Display"; src: url(/fonts/ClashDisplay-Light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url(/fonts/ClashDisplay-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url(/fonts/ClashGrotesk-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url(/fonts/ClashGrotesk-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url(/fonts/ClashGrotesk-Light.woff2) format("woff2"); font-weight: 300; font-display: swap; }

:root {
  --rsvn-color-primary: #334157;
  --rsvn-color-on-primary: #fff6e3;
  --rsvn-color-accent: #6e8ba3;
  --rsvn-color-bg: #f7f5f0;
  --rsvn-color-card: #ffffff;
  --rsvn-color-surface: #efebe3;
  --rsvn-color-surface-alt: #f7f5f0;
  --rsvn-color-border: #e4ded2;
  --rsvn-color-border-strong: #c9c1b2;
  --rsvn-color-text: #334157;
  --rsvn-color-text-strong: #263142;
  --rsvn-color-text-subtle: #6f6b63;
  --rsvn-color-text-muted: #8d887f;
  --rsvn-color-danger: #a64118;
  --rsvn-font-family: "Clash Grotesk", "Helvetica Neue", Arial, sans-serif;
  --rsvn-font-family-headings: "Clash Display", "Helvetica Neue", Arial, sans-serif;
  --rsvn-radius-sm: 2px;
  --rsvn-radius-md: 4px;
  --rsvn-radius-lg: 6px;
}

html, body { background: #f7f5f0; }
body { margin: 0; color: #334157; font-family: "Clash Grotesk", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }

.pd-bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  height: 72px; padding: 0 clamp(20px, 4vw, 64px);
  background: #f7f5f0; border-bottom: 1px solid rgba(51, 65, 87, .16);
}
.pd-bar a, .pd-label { color: #334157; text-decoration: none; font: 400 .62rem/1 "Clash Grotesk", sans-serif; letter-spacing: .3em; text-transform: uppercase; }
.pd-back { justify-self: start; padding: 12px 0; }
.pd-logo img { display: block; width: 64px; height: auto; }
.pd-label { justify-self: end; color: #6e8ba3; }
.pd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pd-soon { max-width: 640px; margin: 0 auto; padding: clamp(96px, 16vh, 180px) 24px; text-align: center; }
.pd-kicker { margin: 0 0 1.4rem; font: 400 .64rem/1.5 "Clash Grotesk", sans-serif; letter-spacing: .3em; text-transform: uppercase; color: #6e8ba3; }
.pd-title { margin: 0 0 1.6rem; font: 300 clamp(1.3rem, 2.4vw, 1.8rem)/1.3 "Clash Display", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.pd-text { margin: 0 0 2rem; font: 300 1.05rem/1.7 "Clash Grotesk", sans-serif; color: #6f6b63; }
.pd-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 0; }
.pd-links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 2em; border: 1px solid #334157; color: #334157; text-decoration: none; font: 400 .64rem/1 "Clash Grotesk", sans-serif; letter-spacing: .28em; text-transform: uppercase; transition: background .3s, color .3s; }
.pd-links a:hover { background: #334157; color: #fff6e3; }

/* Netlify's free-tier badge (fixed, bottom-right, ~200×64) is part of the plan and can't be
   hidden. On phones we leave a clear strip at the bottom of the widget's sheets and of the
   page, so it sits over empty space instead of over "Añadir al carrito" and other buttons. */
@media (max-width: 768px) {
  body { padding-bottom: 160px; }
  /* body + .delivery-engine outranks the widget's own ".delivery-engine .x-modal .modal-footer" */
  body .delivery-engine .modal .modal-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  /* sticky "Ver carrito" bar: grow it downwards so its buttons sit above the badge */
  body .delivery-engine .mob-cart-bar,
  body .delivery-engine .mob-cart-sheet__footer,
  body .delivery-engine .tracking-bottom-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  /* full-height panels (checkout steps) and Bootstrap bottom sheets: same clear strip */
  body .delivery-engine .side-panel,
  body .delivery-engine .offcanvas,
  body .delivery-engine .fixed-bottom { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
