/* ==========================================================================
   Web de Viaviventi by Trébol (plantilla propia: plantilla.html y pagina.html).
   Diseño V2: papel claro, crema y arena, marrón como acento; titulares en
   Georgia y texto en Arial (letras del sistema: no se descarga ninguna).
   Sin carruseles automáticos ni librerías de movimiento.
   Solo afecta a la web: el panel no carga este archivo.
   ========================================================================== */

/* ---------- Tokens ---------- */
body.site {
  --paper: #fbf9f5;
  --cream: #f1ece5;
  --sand: #e8e0d6;
  --ink: #282620;
  --muted: #6d685e;
  --brand: #79553e;
  --brand-dark: #5e412e;
  --line: #ded8d0;
  --white: #fff;
  --serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  --sans: Arial, Helvetica, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --max: 1280px;
  --header-h: 88px;

  /* Nombres que usan los componentes comunes (base.css) */
  --font: var(--sans);
  --bg: var(--paper);
  --surface: var(--paper);
  --ink-2: var(--ink);
  --field: #cfc6ba;
  --hover: var(--cream);
  --sunken: var(--cream);
  --brand-ink: var(--brand-dark);
  --brand-on: #fff;
  --brand-tint: rgba(121, 85, 62, .1);
  --radius: 2px;

  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html:has(body.site) { scroll-behavior: smooth; scroll-padding-top: 100px; }
.site button, .site a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.site h1, .site h2, .site h3, .site p { margin: 0; }
.site h1, .site h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: 1.09; }
.site h3 { font-size: 19px; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.site :lang(zh) h1, .site :lang(zh) h2 { letter-spacing: 0; }
.site :focus-visible { outline: 2px solid var(--brand); outline-offset: 6px; }
.site main:focus { outline: none; }
.site small { font-size: 12px; }
.site [hidden] { display: none !important; }

.site .wrap { max-width: var(--max); margin: 0 auto; width: calc(100% - 112px); padding: 0; }
.site .section { padding: 90px 0; }
.site .eyebrow { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--brand); line-height: 1.7; }
.site :lang(zh) .eyebrow { letter-spacing: .1em; font-size: 12px; }
.site .section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 32px; }
.site .section-head h2 { font-size: 43px; margin-top: 10px; }
.site .section-head p:not(.eyebrow) { max-width: 400px; color: var(--muted); font-size: 14px; margin-top: 12px; }
.site .text-link { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; padding: 5px 0; border-bottom: 1px solid var(--brand); width: max-content; max-width: 100%; color: var(--brand); font-weight: 500; }
.site .text-link i { font-size: 17px; }

/* ---------- Botones ---------- */
.site .btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 11px; min-height: 49px; padding: 13px 23px;
  border: 1px solid var(--brand); border-radius: 2px; font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: 0;
  transition: background-color .15s, color .15s, border-color .15s;
}
.site .btn i { font-size: 20px; }
.site .btn-primary, .site .btn-brand, .site .btn-ink { background: var(--brand); border-color: var(--brand); color: #fff; }
.site .btn-primary:hover:not(:disabled), .site .btn-brand:hover:not(:disabled), .site .btn-ink:hover:not(:disabled) { background: var(--brand-dark); border-color: var(--brand-dark); }
.site .btn-outline, .site .btn-line { background: transparent; border-color: var(--brand); color: var(--brand); }
.site .btn-outline:hover:not(:disabled), .site .btn-line:hover:not(:disabled) { background: #eae2d8; border-color: var(--brand); }
.site .btn-small, .site .btn-sm { min-height: 43px; padding: 10px 19px; font-size: 12px; }
.site .btn-lg { min-height: 52px; font-size: 14px; }
.site .btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.site .icon-btn { color: var(--ink); }
.site .icon-btn:hover { background: var(--cream); }

.site .skip-link { position: fixed; top: -80px; left: 18px; z-index: 200; padding: 10px 20px; background: var(--ink); color: #fff; }
.site .skip-link:focus { top: 12px; }

/* ---------- Aviso y cabecera ---------- */
.site .announcement { text-align: center; background: var(--cream); font-size: 9px; letter-spacing: .18em; line-height: 30px; color: #6b5747; text-transform: uppercase; }
.site :lang(zh) .announcement { letter-spacing: .08em; font-size: 11px; }
.site .header { position: sticky; top: 0; z-index: 30; background: rgba(251, 249, 245, .97); border-bottom: 1px solid rgba(222, 216, 208, .65); }
.site .header-in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.site .brand { display: block; flex: none; }
.site .brand img { width: 180px; height: 60px; object-fit: contain; }
.site .nav { display: flex; gap: 30px; margin-left: auto; align-items: center; }
.site .nav a { font-size: 12px; line-height: 1.6; padding: 10px 0; position: relative; white-space: nowrap; }
.site .nav a::after { content: ""; height: 1px; background: var(--brand); position: absolute; bottom: 4px; left: 0; right: 100%; transition: right .15s; }
.site .nav a:hover::after { right: 0; }
/* Instagram y TikTok, solo el icono, junto a las secciones */
.site .nav-social { display: flex; align-items: center; gap: 6px; margin-left: -8px; }
.site .nav .nav-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; font-size: 19px; color: var(--ink); transition: color .15s; }
.site .nav .nav-social a::after { display: none; }
.site .nav .nav-social a:hover { color: var(--brand); }
.site .header-actions { display: flex; align-items: center; gap: 10px; }
.site .menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: none; font-size: 25px; color: var(--ink); }
.site [data-lang-switch]:empty { display: block; width: 118px; height: 38px; }
.site .langs { border-color: var(--line); background: var(--paper); border-radius: 2px; }
.site .langs button { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .06em; border-radius: 1px; }
.site .langs button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.site .langs-toggle { border-color: var(--line); background: var(--paper); border-radius: 2px; font-family: var(--sans); font-weight: 600; font-size: 12px; }
/* En el móvil, ES | EN siempre a la vista, como en escritorio (sin el botón plegable del icono 文A) */
@media (max-width: 560px) {
  .site .langs-toggle { display: none; }
  .site .langs-wrap .langs { display: inline-flex; position: static; flex-direction: row; align-items: center; box-shadow: none; padding: 2px; }
  .site .langs-wrap .langs button { height: 33px; min-width: 30px; padding: 0 6px; font-size: 10px; }
}
/* Los pedidos de esta web van por la app: fuera el pedido por WhatsApp aunque esté activado en el panel */
.site .cart-btn, .site .cart-float, .site .card .btn[data-add], .site #pd-add { display: none !important; }

/* ---------- Portada ---------- */
.site .hero { display: grid; grid-template-columns: 1.04fr 1fr; max-width: 1600px; margin: auto; background: #eee7dd; min-height: 620px; }
.site .hero-copy { align-self: center; padding: 65px 58px 65px max(56px, calc((100vw - 1280px) / 2)); position: relative; }
.site .hero h1 { font-size: clamp(48px, 4.5vw, 69px); margin-top: 22px; max-width: 580px; }
.site .hero h1 em { font-style: italic; font-weight: 400; color: var(--brand); }
.site .hero-description { font-size: 16px; line-height: 1.8; max-width: 390px; margin: 26px 0 31px; color: #5e574d; }
.site .hero-note { margin-top: 26px; font-size: 12px; color: var(--muted); }
.site .hero-note a { border-bottom: 1px solid #a69b8e; margin-left: 5px; padding-bottom: 2px; }
.site .hero-image { position: relative; min-width: 0; min-height: 620px; overflow: hidden; background: #e5dccf; }
.site .hero-image > img { height: 100%; width: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 50% 0%; }
/* Las fotos de «Destacadas», en una tira con scroll horizontal y sin barra (script.js) */
.site .hero-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.site .hero-track::-webkit-scrollbar { display: none; }
.site .hero-track > img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; scroll-snap-align: start; user-select: none; }
.site .hero-track.dragging { scroll-snap-type: none; cursor: grabbing; }
/* Cada foto abre la ficha de su prenda (script.js → data-open) */
.site .hero-image img[data-open] { cursor: pointer; }
.site .hero-track.dragging > img { cursor: grabbing; }
.site .image-label { z-index: 1; position: absolute; bottom: 23px; right: 28px; color: #564b40; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; padding: 8px 12px; background: rgba(251, 249, 245, .65); }
.site .label-short { display: none; }

.site .essentials { border-bottom: 1px solid var(--line); background: var(--paper); }
.site .essentials-in { display: grid; grid-template-columns: repeat(3, 1fr); padding: 26px 0; gap: 15px; }
.site .essential { display: flex; justify-content: center; align-items: center; gap: 12px; border-right: 1px solid var(--line); }
.site .essential:last-child { border: 0; }
.site .essential i { color: var(--brand); font-size: 24px; flex: none; }
.site .essential strong { display: block; font-size: 13px; font-weight: 500; }
.site .essential span { display: block; color: var(--muted); font-size: 11px; margin-top: 1px; }
/* Copia de las condiciones dentro de la portada: solo en el móvil (ver max-width: 680px) */
.site .hero-essentials { display: none; }

/* ---------- La colección (tarjetas de sitio.js) ---------- */
.site .toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 32px; }
.site .count { font-size: 12px; color: var(--muted); white-space: nowrap; }
.site .count:empty { display: none; }
.site .chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 2px; }
.site .chips::-webkit-scrollbar { display: none; }
.site .chip { height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 2px; background: transparent; font-size: 12px; white-space: nowrap; flex: none; }
.site .chip:hover { background: var(--cream); }
.site .chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.site .search { display: flex; align-items: center; gap: 10px; height: 42px; width: 300px; padding: 0 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; }
.site .search:focus-within { border-color: var(--brand); }
.site .search i { color: var(--muted); font-size: 17px; }
.site .search input { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; font-size: 13px; color: var(--ink); }
/* Con pocas prendas (lo normal aquí) no hace falta buscar ni filtrar */
.site .catalog.few .toolbar { display: none; }

.site .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 20px; }
.site .card { display: flex; flex-direction: column; min-width: 0; }
.site .card .pic { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--cream); }
.site .card .pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .25s ease; }
.site .card .g-slide:hover img { transform: scale(1.025); }
/* El «+» de la esquina: la foto abre la ficha */
.site .card .pic::after {
  content: "+"; position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 32px; height: 32px; display: grid; place-items: center;
  background: rgba(251, 249, 245, .92); border-radius: 50%; color: var(--brand); font-size: 20px; line-height: 1; pointer-events: none;
}
.site .card h3 { order: -1; margin-top: 14px; font-size: 13px; line-height: 1.5; letter-spacing: .005em; font-weight: 400; }
.site .card .pic { order: -2; }
.site .card .meta { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 11px; color: var(--muted); }
.site .card .new { color: var(--brand); font-weight: 600; }
.site .card .new i { display: none; }
.site .card .new::before { content: "· "; color: var(--muted); font-weight: 400; }
.site .card .sizes, .site .card .price { margin-top: 2px; font-size: 11px; color: var(--muted); }
.site .gallery { position: relative; }
.site .g-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.site .g-track::-webkit-scrollbar { display: none; }
.site .g-track.dragging { scroll-snap-type: none; cursor: grabbing; }
.site .g-track img { -webkit-user-drag: none; user-select: none; }
.site .g-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; padding: 0; border: 0; background: none; overflow: hidden; display: block; }
.site button.g-slide { cursor: zoom-in; }
.site .g-arrow { position: absolute; top: 50%; z-index: 2; width: 34px; height: 34px; margin-top: -17px; border: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(251, 249, 245, .92); color: var(--brand); font-size: 15px; opacity: 0; transition: opacity .2s; }
.site .g-prev { left: 10px; }
.site .g-next { right: 10px; }
.site .gallery:hover .g-arrow, .site .g-arrow:focus-visible { opacity: 1; }
@media (hover: none) { .site .g-arrow { opacity: 1; width: 30px; height: 30px; margin-top: -15px; } }
.site .g-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.site .g-dots span { width: 5px; height: 5px; border-radius: 50%; background: rgba(40, 38, 32, .25); }
.site .g-dots span.on { background: var(--brand); }
.site .lot-pick { display: flex; gap: 6px; margin-top: 10px; }
.site .lot-pick button { flex: 1; min-height: 34px; border: 1px solid var(--line); border-radius: 2px; background: transparent; font-size: 12px; }
.site .lot-pick button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.site .catalog .empty { display: grid; justify-items: center; gap: 10px; padding: 56px 24px; background: var(--cream); text-align: center; }
.site .catalog .empty > i { font-size: 34px; color: var(--brand); }
.site .catalog .empty h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: -.02em; }
.site .catalog .empty p { color: var(--muted); font-size: 14px; max-width: 44ch; }
.site .catalog .empty .btn { margin-top: 8px; }
.site .catalog .empty #reset:not([hidden]) + .empty-app { display: none; }

.site .collection-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--line); }
.site .collection-note { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); }
.site .collection-note i { font-size: 15px; }
.site .more-btn { font-size: 12px; display: flex; align-items: center; gap: 10px; min-height: 44px; border: 1px solid var(--line); background: none; padding: 8px 18px; border-radius: 2px; }
.site .more-btn:hover { background: var(--cream); }
.site .more-btn i { font-size: 16px; }

/* ---------- Cómo comprar ---------- */
.site .buy-section { background: var(--cream); padding: 72px 0; }
.site .buy-intro { text-align: center; margin-bottom: 45px; }
.site .buy-intro h2 { font-size: 43px; margin-top: 9px; }
.site .buy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.site .buy-step { padding-right: 35px; border-right: 1px solid #d5cbbf; }
.site .buy-step:last-child { border: 0; padding-right: 0; }
.site .step-num { font-family: var(--serif); color: #a1866e; font-size: 32px; line-height: 1; margin-bottom: 20px; }
.site .buy-step h3 { font-size: 18px; letter-spacing: -.015em; margin-bottom: 11px; }
.site .buy-step p { font-size: 13px; line-height: 1.8; color: #686054; max-width: 330px; }
.site .buy-step p strong { font-weight: 600; color: #51473c; }
.site .buy-help { margin-top: 36px; padding-top: 24px; border-top: 1px solid #d8cec1; display: flex; justify-content: center; align-items: center; gap: 14px; font-size: 12px; color: #645c50; }
.site .buy-help a { color: var(--brand); border-bottom: 1px solid #ac9781; font-weight: 600; }

/* ---------- La app ---------- */
.site .app-section { display: grid; grid-template-columns: 1fr 1fr; gap: 86px; align-items: center; }
.site .app-visual { min-height: 510px; background: #eee7df; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.site .app-visual::before { content: ""; position: absolute; width: 320px; height: 320px; border: 1px solid #ddd0c0; border-radius: 50%; top: 80px; left: 50%; transform: translateX(-50%); }
.site .app-visual::after { content: ""; position: absolute; width: 435px; height: 435px; border: 1px solid #e1d7ca; border-radius: 50%; top: 20px; left: 50%; transform: translateX(-50%); }
.site .phone { position: relative; z-index: 2; background: #fff; width: 202px; height: 365px; border: 6px solid #332f2a; border-radius: 29px; box-shadow: 0 22px 35px rgba(70, 50, 30, .13); overflow: hidden; display: flex; align-items: stretch; }
.site .phone img { width: 100%; height: 100%; object-fit: contain; }
.site .app-caption { position: absolute; bottom: 26px; z-index: 3; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #766352; }
.site .app-copy h2 { font-size: 48px; margin-top: 13px; max-width: 480px; }
.site .app-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.9; color: var(--muted); max-width: 420px; margin: 24px 0; }
.site .app-benefits { padding: 0; margin: 0 0 28px; list-style: none; }
.site .app-benefits li { display: flex; gap: 10px; align-items: center; font-size: 13px; margin: 10px 0; }
.site .app-benefits i { color: var(--brand); font-size: 17px; }
.site .store-links { display: flex; flex-wrap: wrap; gap: 12px; }
.site .store-link { display: flex; align-items: center; gap: 11px; min-height: 56px; padding: 10px 17px; color: #fff; background: #282620; border: 1px solid #282620; border-radius: 4px; }
.site .store-link:hover { background: #4a4137; }
.site .store-link i { font-size: 26px; }
.site .store-copy { line-height: 1.3; }
.site .store-link small { font-size: 9px; letter-spacing: .02em; display: block; }
.site .store-link strong { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.site .guide-link { margin-top: 24px; display: inline-flex; gap: 10px; align-items: center; border: 0; border-bottom: 1px solid #a8937d; background: none; font-size: 12px; padding: 7px 0; color: var(--brand); }
.site .guide-link i { font-size: 18px; }

/* ---------- Preguntas frecuentes ---------- */
.site .faq-section { border-top: 1px solid var(--line); padding: 54px 0 65px; }
.site .faq-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 90px; }
.site .faq-heading h2 { font-size: 36px; margin-top: 9px; }
.site .faq-heading p:not(.eyebrow) { font-size: 13px; color: var(--muted); margin-top: 17px; max-width: 300px; }
.site .faq-list details { border-bottom: 1px solid var(--line); }
.site .faq-list details:first-child { border-top: 1px solid var(--line); }
.site .faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center; font-size: 14px; padding: 19px 0; }
.site .faq-list summary::-webkit-details-marker { display: none; }
.site .faq-list summary i { font-size: 16px; flex: none; transition: transform .15s; }
.site .faq-list details[open] summary i { transform: rotate(45deg); }
.site .faq-list details p { padding: 0 36px 20px 0; font-size: 13px; line-height: 1.8; color: var(--muted); }

/* ---------- Contacto y showroom ---------- */
.site .contact-section { background: #e6ddd2; padding: 58px 0; }
.site .contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.site .contact-copy h2 { font-size: 43px; max-width: 470px; margin: 10px 0 18px; }
.site .contact-copy p:not(.eyebrow) { font-size: 13px; color: #62584d; max-width: 390px; margin-bottom: 25px; }
.site .visit-card { border-left: 1px solid #cdbfac; padding-left: 50px; }
.site .visit-card .eyebrow { display: flex; gap: 9px; align-items: center; }
.site .visit-card .eyebrow i { font-size: 18px; }
.site .visit-card h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -.025em; margin-top: 13px; }
.site .visit-card address { font-size: 14px; font-style: normal; line-height: 1.8; margin: 14px 0; color: #62584d; }
.site .visit-card p:not(.eyebrow) { font-size: 12px; color: #756a5c; margin: 12px 0 14px; }
.site .contact-links { display: flex; align-items: center; gap: 23px; flex-wrap: wrap; }

/* ---------- Pie ---------- */
.site .footer { padding: 34px 0 20px; background: var(--paper); color: var(--ink); }
.site .footer-main { display: flex; gap: 30px; align-items: center; justify-content: space-between; }
.site .footer-brand img { width: 145px; height: auto; }
.site .footer-main > p { font-size: 11px; line-height: 1.7; color: var(--muted); max-width: 230px; }
.site .footer-contact { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; font-size: 12px; }
.site .footer-contact a { display: flex; align-items: center; gap: 8px; }
.site .footer-contact i { font-size: 17px; }
.site .footer-bottom { border-top: 1px solid var(--line); margin-top: 27px; padding-top: 17px; display: flex; justify-content: space-between; gap: 14px; font-size: 10px; color: #7d766b; }
.site .footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.site .footer-legal a:hover { text-decoration: underline; }

/* ---------- Ventanas propias (<dialog>: descarga y guía) ---------- */
.site .vv-dialog { padding: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); max-width: calc(100vw - 32px); max-height: calc(100dvh - 40px); border-radius: 4px; box-shadow: 0 35px 100px rgba(0, 0, 0, .2); overscroll-behavior: contain; }
.site .vv-dialog::backdrop { background: rgba(30, 27, 23, .55); }
.site .close-dialog { position: absolute; right: 15px; top: 15px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; color: var(--ink); }
.site .close-dialog:hover { background: var(--cream); }
body.site.dialog-open { overflow: hidden; }
.site .store-dialog { width: 560px; padding: 48px 42px 40px; }
.site .store-dialog .modal-logo { width: 160px; height: auto; margin: 0 0 28px; }
.site .store-dialog h2 { font-size: 36px; margin-bottom: 15px; }
.site .store-dialog p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.site .store-dialog .store-link { flex: 1; justify-content: center; }
.site .store-dialog .modal-note { font-size: 11px !important; margin: 24px 0 0 !important; padding-top: 18px; border-top: 1px solid var(--line); }
.site .store-dialog .modal-note button { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; padding: 0; border: 0; background: none; }

.site .guide-dialog { width: 870px; padding: 32px 38px; }
.site .guide-dialog h2 { font-size: 33px; margin: 8px 40px 20px 0; }
.site .guide-tabs { display: flex; gap: 7px; border-bottom: 1px solid var(--line); padding-bottom: 18px; overflow-x: auto; }
.site .guide-tab { display: flex; gap: 8px; align-items: center; font-size: 11px; border: 1px solid var(--line); background: none; padding: 9px 12px; white-space: nowrap; border-radius: 2px; flex: none; }
.site .guide-tab b { font-weight: 400; }
.site .guide-tab span { font-size: 10px; color: var(--muted); }
.site .guide-tab[aria-current="step"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.site .guide-tab[aria-current="step"] span { color: #fff; }
.site .guide-content { display: grid; grid-template-columns: 240px 1fr; gap: 45px; align-items: center; padding: 22px 0; }
.site .guide-screen { background: #ece5dc; padding: 16px; display: flex; align-items: center; justify-content: center; height: 345px; border-radius: 2px; }
.site .guide-screen img { max-height: 313px; width: auto; max-width: 100%; object-fit: contain; border-radius: 10px; }
.site .guide-text h3 { font-family: var(--serif); font-size: 31px; font-weight: 400; letter-spacing: -.02em; margin: 10px 0 17px; }
.site .guide-text p:not(.eyebrow) { font-size: 13px; color: var(--muted); line-height: 1.85; }
.site .guide-text .guide-tip { font-size: 11px !important; margin-top: 18px; border-left: 2px solid #cbb8a3; padding: 5px 0 5px 14px; }
.site .guide-controls { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; gap: 12px; }
.site .guide-counter { font-size: 11px; color: var(--muted); }
.site .guide-controls .btn:disabled { opacity: .45; cursor: default; }

/* ---------- Capas de sitio.js: ficha, pedido, legales, avisos ---------- */
.site .sheet, .site .dialog { background: var(--paper); }
.site .dialog { border-radius: 4px; border: 1px solid var(--line); box-shadow: 0 35px 100px rgba(0, 0, 0, .2); }
.site .dialog h2, .site .sheet-head h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; font-size: 30px; }
.site .scrim { background: rgba(30, 27, 23, .55); }
.site .cookie-bar { background: var(--paper); border-color: var(--line); border-radius: 4px; }
/* .site h3/p { margin: 0 } quitaba los espacios del panel de los textos legales */
.site .legal-body { font-size: 14px; line-height: 1.7; color: var(--muted, #6f665d); }
.site .legal-body h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; font-size: 21px; color: var(--ink, #1e1b17); margin: 28px 0 8px; }
.site .legal-body p { margin: 0 0 10px; }
.site .legal-body ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 4px; }
.site .legal-body .legal-date { font-size: 13px; margin: 0 0 4px; }
.site .legal-body .legal-note { margin-top: 18px; font-size: 13px; }
.site .toast { border-radius: 2px; }

.site .product-dialog { width: max-content; max-width: calc(100% - 32px); padding: 0; overflow: hidden; }
/* La foto, sin bandas: su caja tiene la forma de la foto (--pd-ratio, que pone
   script.js al abrir la ficha) y la altura que quepa; la derecha, 410 px como antes. */
.site .pd { --pd-info: 410px; --pd-h: min(600px, calc(100dvh - 32px), calc((100vw - 32px - var(--pd-info)) / var(--pd-ratio, .75))); display: grid; grid-template-columns: auto var(--pd-info); height: var(--pd-h); }
.site .pd-pic { position: relative; background: var(--cream); height: var(--pd-h); aspect-ratio: var(--pd-ratio, .75); overflow: hidden; }
.site .pd-pic .g-track { position: absolute; inset: 0; }
.site .pd-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.site .pd-info { padding: 65px 35px 35px; align-self: center; display: flex; flex-direction: column; overflow-y: auto; max-height: var(--pd-h); }
.site .pd-info .ref { color: var(--brand); }
.site .pd-info h2 { font-size: 37px; margin: 12px 0 14px; padding-right: 0; }
.site .pd-meta, .site .pd-price { font-size: 13px; color: var(--muted); }
.site .pd-meta:empty, .site .pd-desc:empty { display: none; }
.site .pd-desc { white-space: pre-line; font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 8px; }
.site .pd-text { font-size: 13px; color: var(--muted); line-height: 1.9; margin: 12px 0 20px !important; }
.site .private-note { display: flex; gap: 9px; font-size: 11px; align-items: center; color: var(--brand); margin: 0 0 18px !important; }
.site .private-note i { font-size: 16px; }
.site .pd-info .btn { width: 100%; margin-top: 10px; }
.site .pd-small { display: block; font-size: 10px; color: #7c756a; margin-top: 20px; }
.site .product-dialog .close-dialog { top: 15px; right: 15px; }

.site .drawer { width: min(480px, 100%); }
.site .drawer .sheet-body { padding-top: 8px; gap: 0; }
.site .line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; align-items: center; }
.site .line img { width: 64px; height: 80px; object-fit: cover; background: var(--cream); }
.site .line small { display: block; color: var(--muted); }
.site .line-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.site .stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 36px; }
.site .stepper button { width: 34px; height: 34px; border: 0; background: none; }
.site .stepper span { min-width: 28px; text-align: center; }
.site .remove { border: 0; background: none; color: var(--muted); font-size: 12px; padding: 0; text-decoration: underline; }
.site .order-fields { display: grid; gap: 18px; padding-top: 20px; }
.site .drawer-foot { padding: 18px 24px calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 10px; background: var(--cream); }
.site .summary { display: flex; justify-content: space-between; }
.site .drawer-foot .btn { width: 100%; }
.site .drawer-foot .note { font-size: 12px; color: var(--muted); text-align: center; }
.site .form-error { color: #991b1b; font-size: 12px; }
.site .cart-empty { text-align: center; padding: 64px 8px; }
.site .cart-empty i { font-size: 40px; color: var(--muted); }
.site .cart-empty .btn { margin-top: 20px; }
.site .link { text-decoration: underline; text-underline-offset: 3px; }
.site .wc-ok { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 12px; background: var(--cream); font-size: 12px; }
.site .wc-steps { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.site .wc-contact { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; margin-top: 20px; }
.site .wc-contact.no-qr { grid-template-columns: 1fr; }
.site .qr { aspect-ratio: 1; background: #fff; display: flex; align-items: center; justify-content: center; }
.site .qr img { width: 100%; height: 100%; object-fit: contain; }
.site .preview { margin-top: 18px; max-height: 160px; overflow-y: auto; white-space: pre-wrap; font-size: 12px; background: var(--cream); padding: 12px; }

/* ---------- Páginas de información (pagina.html) ---------- */
.site .info-main { padding-top: 48px; padding-bottom: 90px; }
.site .crumbs { font-size: 12px; color: var(--muted); }
.site .crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.site .crumbs li + li::before { content: "/"; margin-right: 8px; }
.site .crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.site .doc { max-width: 760px; margin-top: 28px; }
.site .doc h1 { font-size: 48px; }
.site .doc-lead { margin-top: 22px; font-size: 17px; line-height: 1.7; color: #5e574d; max-width: 56ch; }
.site .doc-lead:empty { display: none; }
.site .doc-body section { margin-top: 48px; }
.site .doc-body h2 { font-size: 32px; }
.site .doc-body p, .site .doc-body ul { margin-top: 14px; max-width: 64ch; font-size: 14px; line-height: 1.85; color: #4d473f; }
.site .doc-body ul { padding-left: 22px; }
.site .doc-body li + li { margin-top: 6px; }
.site .doc-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.site .doc-body .map, .site .doc-body iframe { width: 100%; min-height: 320px; border: 0; }

/* ---------- Adaptable ---------- */
@media (min-width: 1600px) {
  .site .hero-copy { padding-left: 160px; }
  .site .hero { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}
@media (max-width: 1180px) {
  .site .wrap { width: calc(100% - 72px); }
  .site .nav { gap: 22px; }
  .site .hero { min-height: 590px; }
  .site .hero-copy { padding: 50px 35px 50px 36px; }
  .site .hero-image { min-height: 590px; }
  .site .hero h1 { font-size: 55px; }
  .site .hero .btn { padding: 12px 16px; font-size: 12px; }
  .site .app-section { gap: 52px; }
  .site .app-copy h2 { font-size: 43px; }
  .site .buy-grid { gap: 26px; }
  .site .buy-step { padding-right: 24px; }
  .site .faq-layout { gap: 55px; }
  .site .footer-main > p { display: none; }
  .site .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .site .nav { display: none; }
  .site .menu-btn { display: flex; }
  .site .header-actions { margin-left: auto; }
  .site .header.open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    margin: 0; padding: 10px 24px 24px; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .site .header.open .nav a { font-size: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site .header.open .nav a::after { display: none; }
  .site .header.open .nav-social { margin: 14px 0 0 -8px; gap: 10px; }
  .site .header.open .nav .nav-social a { width: 44px; height: 44px; font-size: 24px; border-bottom: 0; }
}
@media (max-width: 900px) {
  .site { --header-h: 80px; }
  .site .brand img { width: 165px; height: 55px; }
  .site .hero h1 { font-size: 46px; }
  .site .hero-copy { padding: 36px 28px 36px 36px; }
  .site .hero-image { min-height: 565px; }
  .site .hero .btn-row { flex-direction: column; max-width: 270px; }
  .site .hero { min-height: 565px; }
  .site .hero-description { font-size: 14px; margin: 22px 0; }
  .site .hero-note { font-size: 11px; }
  .site .section { padding: 66px 0; }
  .site .section-head h2 { font-size: 37px; }
  .site .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 16px; }
  .site .card h3 { font-size: 12px; }
  .site .essential { gap: 9px; }
  .site .essential strong { font-size: 12px; }
  .site .essential span { font-size: 10px; }
  .site .buy-step h3 { font-size: 16px; }
  .site .buy-step p { font-size: 12px; }
  .site .app-section { gap: 35px; }
  .site .app-visual { min-height: 440px; }
  .site .app-copy h2 { font-size: 37px; }
  .site .app-copy > p:not(.eyebrow) { font-size: 13px; margin: 18px 0; }
  .site .store-links { gap: 8px; }
  .site .store-link { padding: 9px 12px; }
  .site .store-link strong { font-size: 13px; }
  .site .store-link small { font-size: 8px; }
  .site .contact-layout { gap: 40px; }
  .site .contact-copy h2 { font-size: 37px; }
  .site .visit-card { padding-left: 32px; }
  .site .visit-card h3 { font-size: 27px; }
  .site .footer-contact { gap: 18px; font-size: 11px; }
  .site .search { width: 100%; }
}
@media (max-width: 680px) {
  html:has(body.site) { scroll-padding-top: 88px; }
  .site { --header-h: 73px; }
  .site .wrap { width: calc(100% - 40px); }
  .site .announcement { font-size: 8px; line-height: 26px; letter-spacing: .13em; }
  .site .header-in { gap: 10px; }
  .site .brand img { width: 128px; height: 46px; }
  .site .header-actions { gap: 6px; }
  .site .header-actions .btn-small { font-size: 10px; padding: 9px 11px; min-height: 37px; }
  .site .menu-btn { width: 37px; height: 40px; }
  .site [data-lang-switch]:empty { width: 70px; }
  .site .hero { grid-template-columns: 1fr; min-height: 0; }
  .site .hero-copy { padding: 40px 24px 34px; }
  .site .hero .eyebrow { font-size: 9px; }
  .site .hero h1 { font-size: 48px; margin-top: 16px; line-height: 1.04; max-width: 400px; }
  .site .hero-description { font-size: 14px; max-width: 340px; line-height: 1.75; margin: 21px 0 24px; }
  .site .hero .btn-row { flex-direction: row; max-width: none; gap: 9px; }
  .site .hero .btn { font-size: 12px; min-height: 47px; gap: 8px; padding: 12px 13px; flex: 1; }
  .site .hero .btn i { font-size: 17px; }
  .site .hero .label-wide { display: none; }
  .site .hero .label-short { display: inline; }
  .site .hero-note { margin-top: 18px; font-size: 11px; }
  .site .hero-image { min-height: 0; height: 410px; }
  .site .image-label { bottom: 16px; right: 18px; font-size: 8px; }
  .site .essentials-in { padding: 21px 0; gap: 8px; }
  .site .essentials { display: none; }
  /* Franja blanca de borde a borde: los márgenes negativos anulan el padding de .hero-copy */
  .site .hero-essentials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px -24px -34px; padding: 22px 24px; background: #fff; }
  .site .essential { display: block; text-align: center; padding: 0 6px; }
  .site .essential i { display: block; margin: 0 auto 8px; font-size: 20px; }
  .site .essential strong { font-size: 11px; line-height: 1.5; }
  .site .essential span { font-size: 9px; line-height: 1.6; margin-top: 4px; }
  .site .section { padding: 50px 0; }
  .site .section-head { display: block; margin-bottom: 24px; }
  .site .section-head h2 { font-size: 34px; margin-top: 8px; }
  .site .section-head p:not(.eyebrow) { font-size: 12px; max-width: 330px; }
  .site .section-head > .text-link { margin-top: 18px; font-size: 11px; }
  .site .eyebrow { font-size: 9px; }
  .site .grid { gap: 25px 12px; }
  .site .card .pic::after { width: 28px; height: 28px; bottom: 9px; right: 9px; font-size: 18px; }
  .site .card h3 { margin-top: 10px; }
  .site .collection-bottom { flex-direction: column; align-items: center; gap: 17px; margin-top: 24px; padding-top: 20px; }
  .site .collection-note { font-size: 10px; gap: 7px; }
  .site .buy-section { padding: 48px 0; }
  .site .buy-intro { text-align: left; margin-bottom: 29px; }
  .site .buy-intro h2 { font-size: 34px; }
  .site .buy-grid { grid-template-columns: 1fr; gap: 0; }
  .site .buy-step { position: relative; padding: 0 0 24px 48px; margin-bottom: 24px; border-right: 0; border-bottom: 1px solid #d5cbbf; }
  .site .buy-step:last-child { padding: 0 0 0 48px; margin-bottom: 0; border-bottom: 0; }
  .site .step-num { position: absolute; left: 0; top: 1px; font-size: 27px; }
  .site .buy-step h3 { font-size: 17px; margin-bottom: 7px; }
  .site .buy-step p { font-size: 13px; max-width: 100%; }
  .site .buy-help { display: block; text-align: left; margin-top: 27px; padding-top: 22px; line-height: 1.8; }
  .site .buy-help a { display: inline-block; margin-top: 5px; }
  .site .app-section { display: flex; flex-direction: column-reverse; gap: 29px; }
  .site .app-copy { width: 100%; }
  .site .app-copy h2 { font-size: 38px; max-width: 340px; }
  .site .app-copy > p:not(.eyebrow) { margin: 19px 0; max-width: none; }
  .site .app-benefits li { font-size: 12px; }
  .site .store-links { gap: 10px; }
  .site .app-copy .store-link { flex: 1; max-width: 210px; justify-content: center; }
  .site .store-link { padding: 9px 13px; min-height: 54px; }
  .site .store-link strong { font-size: 15px; }
  .site .app-visual { width: 100%; min-height: 365px; }
  .site .app-visual::before { width: 260px; height: 260px; top: 35px; }
  .site .app-visual::after { width: 340px; height: 340px; top: -5px; }
  .site .phone { height: 285px; width: 163px; border-width: 5px; border-radius: 23px; margin-top: -20px; }
  .site .app-caption { bottom: 18px; font-size: 9px; }
  .site .faq-section { padding: 38px 0 45px; }
  .site .faq-layout { grid-template-columns: 1fr; gap: 25px; }
  .site .faq-heading h2 { font-size: 31px; }
  .site .faq-heading p:not(.eyebrow) { font-size: 12px; margin-top: 10px; max-width: none; }
  .site .faq-list summary { font-size: 13px; padding: 17px 0; }
  .site .faq-list details p { font-size: 12px; padding-right: 10px; }
  .site .contact-section { padding: 43px 0; }
  .site .contact-layout { grid-template-columns: 1fr; gap: 35px; }
  .site .contact-copy h2 { font-size: 37px; max-width: 330px; }
  .site .visit-card { padding: 28px 0 0; border-left: 0; border-top: 1px solid #cdbfac; }
  .site .visit-card h3 { font-size: 27px; }
  .site .visit-card address { font-size: 13px; margin: 11px 0; }
  .site .footer { padding: 29px 0 20px; }
  .site .footer-main { align-items: start; gap: 26px; flex-direction: column; }
  .site .footer-brand img { width: 140px; }
  .site .footer-contact { gap: 14px 22px; font-size: 11px; }
  .site .footer-bottom { flex-direction: column; font-size: 9px; line-height: 1.8; gap: 9px; margin-top: 23px; }
  .site .store-dialog { padding: 38px 24px 26px; }
  .site .store-dialog h2 { font-size: 31px; }
  .site .store-dialog p:not(.eyebrow) { font-size: 13px; }
  .site .store-dialog .modal-logo { width: 140px; margin-bottom: 23px; }
  .site .store-dialog .store-link { min-width: 138px; padding: 10px; }
  .site .product-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; }
  .site .pd { display: block; height: auto; }
  .site .pd-pic { width: 100%; height: auto; max-height: 62dvh; }
  .site .pd-info { padding: 25px 24px; max-height: none; overflow: visible; }
  .site .pd-info h2 { font-size: 31px; margin: 9px 0 12px; }
  .site .pd-text { font-size: 12px; line-height: 1.8; margin-bottom: 16px !important; }
  .site .private-note { font-size: 10px; margin-bottom: 13px !important; }
  .site .pd-info .btn { min-height: 45px; margin-top: 9px; font-size: 12px; }
  .site .guide-dialog { width: calc(100% - 24px); max-width: 100%; padding: 25px 20px; max-height: calc(100dvh - 24px); }
  .site .guide-dialog h2 { font-size: 28px; margin: 8px 30px 17px 0; }
  .site .guide-tabs { gap: 6px; padding-bottom: 13px; }
  .site .guide-tab { padding: 8px 10px; font-size: 10px; gap: 5px; }
  .site .guide-content { display: flex; flex-direction: column-reverse; gap: 20px; align-items: stretch; padding: 18px 0; }
  .site .guide-screen { height: 230px; padding: 12px; }
  .site .guide-screen img { max-height: 206px; }
  .site .guide-text h3 { font-size: 27px; margin: 6px 0 12px; }
  .site .guide-text p:not(.eyebrow) { font-size: 12px; line-height: 1.8; }
  .site .guide-controls .btn { padding: 10px 14px; min-height: 42px; font-size: 11px; }
  .site .close-dialog { right: 10px; top: 10px; width: 35px; height: 35px; }
  .site .doc h1 { font-size: 36px; }
  .site .doc-body h2 { font-size: 26px; }
}
@media (max-width: 360px) {
  .site .hero h1 { font-size: 42px; }
  .site .hero .btn { font-size: 10px; padding: 11px 9px; gap: 5px; }
  .site .hero-copy { padding-left: 20px; padding-right: 20px; }
  .site .hero-essentials { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .site .brand img { width: 112px; }
  .site .header-actions .btn-small { padding: 8px 9px; }
  .site .wrap { width: calc(100% - 32px); }
  .site .essential strong { font-size: 10px; }
  .site .store-link { padding: 9px; }
  .site .store-link strong { font-size: 13px; }
}
/* Móviles muy estrechos: no cabe todo en la cabecera; «Descargar app» ya está en la portada */
@media (max-width: 345px) {
  .site .header-actions .btn-small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.site) { scroll-behavior: auto; }
}
@media print {
  .site .header { position: static; }
  .site .header-actions, .site .nav, .site .btn, .site .text-link, .site .guide-link, .site .more-btn, dialog { display: none !important; }
  .site .section { padding: 25px 0; }
  .site .hero, .site .hero-image { min-height: 450px; }
  .site .wrap { width: 90%; }
}
