/* store_v1 — public catalogue.
   AI-AGENT: the visual identity comes from the catalogue the customer was already using: navy
   blue header, white cards over an almost-white background and the basket as a column on the
   right. Before changing colours, look at the screenshots of the original AppSheet in docs/. */

:root {
  /* AI-AGENT: these values come from the CSS of the site the customer uses TODAY
     (script.google.com/…/exec, copy in docs/brand/current_catalogue.css). NOT from the
     Index.html in the zip, which is an older version —it does not even have a basket— and
     carried a different gradient. When in doubt about a colour, read the live CSS; do not
     deduce it from a screenshot. */
  --navy: #0a2540;
  --navy-light: #13385f;
  --navy-soft: rgba(10, 37, 64, .55);
  --ink: #0a2540;
  --text-main: #1c2733;
  --text-soft: #6b7684;
  --text-faint: #a7b2bf;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --gray-mid: #e3e7ec;
  --border: #dbe1e8;
  --border-2: #dbe1e8;
  --success: #1f9254;
  --error: #c62828;
  --shadow: 0 4px 18px rgba(10, 37, 64, .08);
  --shadow-2: 0 10px 30px rgba(10, 37, 64, .14);
  --radius: 11px;
  --radius-basket: 20px;
  --radius-md: 11px;
  --radius-sm: 8px;
  --max-width: 1440px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { font-size: 15px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font);
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--navy-soft); }

/* ---------- Header ---------- */

.header-bar {
  /* 🔴 El degradado se hace CON LAS VARIABLES DE LA MARCA. Aquí había tres azules escritos a
     fuego —copiados del catálogo del primer cliente— y era el sitio más visible de toda la web:
     se cambiaba el color en Ajustes, cambiaba todo menos la barra de arriba, y parecía que el
     ajuste no funcionaba. Los dos tonos salen de `/marca.css`. */
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  flex: none;
}

/* The logo is single-colour, so it is painted with a mask: the same file works white over the
   header and blue over a light background. */
.brand-logo {
  /* 🔴 Una IMAGEN, no una máscara CSS. La máscara servía para pintar de blanco un
     único SVG, y eso sólo funciona con un logo de un solo color: el de una empresa
     cualquiera tiene los que tenga. Por eso hay dos ficheros, uno por fondo. */
  width: auto;
  max-width: 108px;
  height: 47px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text span { font-size: 11px; letter-spacing: .08em; color: #8fa3bd; text-transform: uppercase; }

.search-box {
  margin-left: auto;
  position: relative;
  width: min(430px, 42vw);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  padding: 9px 16px 9px 40px;
  font: inherit;
  font-size: 13.5px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.search-box input::placeholder { color: rgba(255, 255, 255, .55); }

.search-box input:focus {
  outline: none;
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .34);
}

.search-icon { color: rgba(255, 255, 255, .6); }

/* ---------- Filter bar ---------- */

.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.filters {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 13px 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filters-label {
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--text-soft);
  font-weight: 600;
}

.filters select {
  appearance: none;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236b7684' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center/11px;
  padding: 9px 34px 9px 14px;
  font: inherit;
  font-size: 13.5px;
  color: var(--text-main);
  min-width: 168px;
  cursor: pointer;
}

.filters select:focus { outline: 2px solid #9dbde0; outline-offset: 1px; }

.filters-clear {
  margin-left: auto;
  color: var(--ink);
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
}

/* 🔴 La raya de debajo NO era `text-decoration`: era un `border-bottom: 1px solid currentColor`,
   que se ve igual. Fuera del todo — en una barra llena de desplegables competía con ellos por la
   atención sin decir nada.

   Lo que responde al ratón es el TONO, no una raya. Una raya que aparece y desaparece mueve el
   texto medio píxel y se nota; un color no mueve nada. */
.filters-clear:hover { color: var(--accent, var(--navy-soft)); }

/* ---------- Page ---------- */

.page {
  flex: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: start;
}

.search-summary {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 13.5px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 20px;
}

/* ---------- Card ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow .15s, transform .15s;
}

.card:hover { box-shadow: var(--shadow-2); transform: translateY(-4px); }

.card-image {
  border: 0;
  background: #f1f3f6;
  padding: 0;
  height: 205px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  width: 100%;
}

.card-image img {
  max-width: 86%;
  max-height: 86%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.no-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: 12px;
}

.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.card-title { margin: 0; font-size: 14px; line-height: 1.25; min-height: 36px; }

.card-title button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.card-title button:hover { color: var(--accent, var(--navy-soft)); }

.card-meta { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.card-meta > div { display: flex; gap: 5px; font-size: 11.5px; line-height: 1.35; color: var(--text-soft); }
.card-meta dt { color: var(--ink); font-weight: 700; margin: 0; }
.card-meta dd { margin: 0; color: var(--text-soft); }

.card-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 0;
  padding-top: 11px;
  border-top: 1px solid var(--border);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

/* The price of one, once the figure on the left has become the price of several. */
.card-each {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
}

.card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ---------- Stepper and buttons ---------- */

.stepper { display: flex; align-items: center; gap: 4px; }

.stepper button {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border-2);
  background: #fff;
  border-radius: 6px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.stepper button:hover { border-color: var(--navy-soft); color: var(--navy-soft); }

.stepper input {
  width: 34px;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-size: 13.5px;
  padding: 4px 0;
  background: transparent;
  color: var(--text-main);
}

.stepper input:focus { border-color: var(--border-2); outline: none; }

.btn-primary {
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 12px;
  cursor: pointer;
  transition: background .12s;
}

.btn-primary:hover { background: var(--navy-light); }
.btn-primary:disabled { background: #b9c2ce; cursor: not-allowed; }
/* The error page uses it on an <a>, which would otherwise come out underlined. */
a.btn-primary { display: inline-block; text-decoration: none; }

.btn-secondary {
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover { border-color: var(--navy-soft); }

.btn-block { width: 100%; }

/* ---------- Basket ---------- */

.basket {
  position: sticky;
  top: 22px;
  border-radius: var(--radius-basket);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.basket-head {
  background: var(--navy);
  color: #fff;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 14px;
}

.basket-count {
  background: rgba(255, 255, 255, .18);
  border-radius: 999px;
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  padding: 0 7px;
}

.basket-lines { max-height: 46vh; overflow-y: auto; }

.basket-empty {
  margin: 0;
  padding: 26px 16px;
  color: var(--text-faint);
  font-size: 13px;
  text-align: center;
}

.basket-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.basket-line:last-child { border-bottom: 0; }

.basket-thumb {
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #f1f3f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.basket-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.basket-data { min-width: 0; flex: 1; }

.basket-name {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.basket-detail { font-size: 11px; color: var(--text-soft); }

.basket-remove {
  border: 0;
  background: none;
  color: var(--error);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 5px;
}

.basket-remove:hover { background: #fdecec; }

.basket-foot { padding: 14px 16px 16px; border-top: 1px solid var(--border); }

.basket-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.basket-total strong { font-size: 17px; color: #111a26; }

.basket-note { margin: 9px 0 0; font-size: 11px; color: var(--text-faint); text-align: center; }

/* ---------- Paginator and empty state ---------- */

.paginator {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--text-soft);
  font-size: 13px;
}

.paginator-size { margin-left: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-soft); }
.paginator-size a { padding: 2px 6px; border-radius: 5px; }
.paginator-size a.current { background: var(--navy); color: #fff; }

.paginator a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--border-2);
  border-radius: 7px;
  padding: 7px 14px;
  background: #fff;
}

.empty {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 60px 20px;
  text-align: center;
  color: var(--text-soft);
}

/* ---------- Modals ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.modal[hidden] { display: none; }

.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 30, 52, .55); }

.modal-box {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(9, 20, 38, .38);
  width: min(580px, 100%);
  max-height: 92vh;
  overflow-y: auto;
}

.modal-narrow { width: min(560px, 100%); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover { color: var(--text-main); }

.detail-image {
  background: #f1f3f6;
  height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px 14px 0 0;
}

.detail-image img { max-width: 74%; max-height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.detail-image .no-image { font-size: 13px; }

.detail-body { padding: 22px 26px 26px; }
.detail-body h2 { margin: 0 0 18px; font-size: 20px; color: var(--ink); line-height: 1.3; }

.detail-data { margin: 0 0 18px; }

.detail-data > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.detail-data dt { margin: 0; color: var(--text-soft); }
.detail-data dd { margin: 0; color: var(--text-main); text-align: right; font-weight: 600; }

.detail-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.detail-price { font-size: 21px; font-weight: 700; color: #111a26; }

.detail-actions { display: flex; align-items: center; gap: 14px; }
.detail-actions .stepper { flex: none; }

/* ---------- Quote-request form ---------- */

.request { padding: 26px 28px 28px; }
.request h2 { margin: 0 0 20px; font-size: 15px; text-align: center; color: var(--ink); letter-spacing: .01em; }

.field { margin-bottom: 14px; }

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 5px;
}

.required { color: var(--error); }

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 9px 12px;
  font: inherit;
  font-size: 13.5px;
  color: var(--text-main);
  background: #fff;
}

.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(29, 79, 134, .12); }

.field textarea { resize: vertical; }

.request-notice {
  font-size: 11.5px;
  color: var(--text-soft);
  font-style: italic;
  line-height: 1.45;
  margin: 4px 0 16px;
}

.request-error {
  background: #fdecec;
  border: 1px solid #f5c6c6;
  color: #96201f;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  margin: 0 0 14px;
}

.request-done { padding: 34px 28px; text-align: center; }
.request-done h2 { margin: 14px 0 10px; color: var(--ink); font-size: 19px; }
.request-done p { color: var(--text-soft); font-size: 13.5px; margin: 0 0 10px; }
.request-done .btn-primary { margin-top: 14px; }

.request-tick {
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border-radius: 50%;
  background: #e8f6ee;
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Error page ---------- */

/* It had no styles of its own: a 404 came out as bare browser HTML. */
.page-error {
  flex: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 90px 26px;
  text-align: center;
}

.error-hint { color: var(--text-soft); font-size: 14px; margin-top: -6px; }
.error-code {
  margin: 0;
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  color: var(--gray-mid);
}

.page-error h1 { margin: 10px 0 6px; font-size: 22px; color: var(--ink); }
.page-error p { margin: 0 0 22px; color: var(--text-soft); }

/* ---------- Footer ---------- */

.footer-bar {
  padding: 16px 26px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-faint);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
}

.footer-bar .heart { color: #e0245e; }
.footer-bar a { color: var(--text-soft); text-decoration: none; }
.footer-bar a:hover { color: var(--ink); }
.footer-sep { color: var(--border-2); }
.footer-version { font-variant-numeric: tabular-nums; }

/* ---------- Narrow screens ---------- */

@media (max-width: 1080px) {
  .page { grid-template-columns: minmax(0, 1fr); }
  .basket { position: static; order: -1; }
  .basket-lines { max-height: 240px; }
}

@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .search-box { width: 100%; margin-left: 0; }
  .filters select { flex: 1 1 44%; min-width: 0; }
  .filters-clear { margin-left: 0; }
  .page { padding: 18px 14px; }
}

/* ---------- Sale by bag or box, and notices ---------- */

.per-pack {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  margin-left: 3px;
}

.indicative-price {
  margin: 2px 0 0;
  font-size: 11px;
  color: #a7b2bf;
}

/* The notice ribbon goes OVER the image: it is the first thing you have to see about a
   discontinued product, even before its price. */
.card { position: relative; }

.notice-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: #fdf4e5;
  border: 1px solid #f3ddb4;
  color: #8a5200;
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: help;
}

.detail-notice {
  background: #fdf4e5;
  border: 1px solid #f3ddb4;
  color: #8a5200;
  border-radius: 9px;
  padding: 10px 13px;
  font-size: 12.5px;
  margin: 0 0 16px;
  line-height: 1.45;
}

/* ---------- Units in the basket ---------- */

.basket-stepper {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: none;
}

.basket-step {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--border-2, #cfd6e0);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.basket-step:hover { border-color: var(--navy); }

.basket-qty {
  min-width: 22px;
  text-align: center;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

/* ---------- Discount on the card ---------- */

.card-was {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-faint);
  text-decoration: line-through;
}

.card-off {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  background: #e8f5ec;
  color: #1f7a44;
  white-space: nowrap;
}

/* ---------- Footer ---------- */

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
}

.footer-right { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }

@media (max-width: 640px) {
  .footer-bar { justify-content: center; text-align: center; }
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 56px;
  color: var(--text-main);
}

.legal h1 { font-size: 24px; color: var(--navy); margin: 0 0 6px; }
.legal .legal-updated { color: var(--text-faint); font-size: 12.5px; margin: 0 0 26px; }
.legal h2 { font-size: 16px; color: var(--navy); margin: 26px 0 8px; }
.legal p, .legal li { font-size: 14px; line-height: 1.65; }
.legal ul { padding-left: 20px; }

.legal table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 10px 0 4px; }
.legal th, .legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal th { color: var(--text-soft); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.legal code { font-size: 12.5px; background: #f1f3f6; padding: 1px 5px; border-radius: 4px; }

/* ---------- The footer at the bottom, always ----------
   🔴 The body was already a flex column with `min-height:100vh`, but nothing inside it grew: with
   a short page —an error, the cookie policy, an empty search— the footer sat wherever the text
   ended, halfway up a screen full of background. Whatever the page's main block is has to take
   the leftover height.

   `100dvh` for phones, where `100vh` counts a browser bar that is not there and leaves the
   footer just below the fold; the `100vh` line stays in front of it for anything that does not
   understand the newer unit. */

body { min-height: 100vh; min-height: 100dvh; }

body > main,
body > .page,
body > .legal,
body > .content { flex: 1 0 auto; }

body > footer { flex: none; }

/* El señuelo: fuera de la pantalla, no `display:none`. Algunos programas se saltan lo que está
   oculto con display, y lo que se busca es justo que lo rellenen. */
.trap {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Buscador de direcciones ---------- */

.address-picker { position: relative; }

.address-suggest {
  position: absolute;
  z-index: 30;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border-2, #cfd6e0);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(10, 37, 64, .16);
  padding: 4px;
}

.address-choice {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 8px 10px;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  color: var(--text-main);
  cursor: pointer;
}

.address-choice:hover { background: #f1f4f8; color: var(--navy); }

.field-pair { display: grid; grid-template-columns: 1fr 1.4fr 1.2fr; gap: 10px; }
.request-hint { margin: 5px 0 0; font-size: 11.5px; color: var(--text-faint); }

@media (max-width: 560px) {
  .field-pair { grid-template-columns: 1fr; }
}

.request-shield {
  margin: 14px 0 0;
  font-size: 11px;
  color: var(--text-faint);
  line-height: 1.45;
}

/* ---------- Aviso de medición ----------
   Abajo y estrecho: un aviso que tapa media pantalla es lo que hace que la gente pulse «aceptar»
   sin leerlo, y entonces el consentimiento no vale nada. */
.cookie-notice {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 720px;
  margin: 0 auto;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 15px 18px;
}

.cookie-text { flex: 1; min-width: 260px; font-size: 13px; line-height: 1.5; color: var(--text-main); }
.cookie-text a { color: var(--ink); }
.cookie-buttons { display: flex; gap: 8px; margin-left: auto; }
.cookie-buttons button { white-space: nowrap; }

@media (max-width: 560px) {
  .cookie-buttons { width: 100%; }
  .cookie-buttons button { flex: 1; }
}
