/* ==========================================================================
   Fisheye — tienda
   Paleta y tipografías tomadas del diseño original.
   Mobile primero; el layout de escritorio arranca en 1024 px.
   ========================================================================== */

:root {
  --crema: #fdf7ef;
  --arena: #f4eadc;
  --arena-2: #f6ecdd;
  --fondo: #e7dccd;
  --tinta: #3a2317;
  --tinta-oscura: #241710;
  --texto: #6b5344;
  --texto-2: #7a6252;
  --texto-3: #a08b77;
  --borde: #eadfd0;
  --borde-2: #e4d5c1;
  --borde-3: #e0cdb5;
  --naranja: #f2661e;
  --naranja-oscuro: #d8551a;
  --ladrillo: #c2500f;
  --verde: #4e7a5e;
  --claro: #f6e7d6;
  --alerta: #b4531b;

  --dock: 70px;
  --radio: 20px;
  --sombra: 0 20px 44px -28px rgba(58, 35, 23, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--crema);
  color: var(--tinta);
  font-family: 'Nunito Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom));
}

a {
  color: var(--ladrillo);
  text-decoration: none;
}
a:hover {
  color: #8f3a0a;
}

button {
  font-family: inherit;
  cursor: pointer;
  color: inherit;
}
button[disabled] {
  cursor: not-allowed;
}

:focus-visible {
  outline: 2.5px solid var(--naranja);
  outline-offset: 2px;
}
::selection {
  background: #fad5bb;
}

h1,
h2,
h3,
h4 {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-weight: 700;
  margin: 0;
  line-height: 1.08;
}
p {
  margin: 0;
}

img {
  max-width: 100%;
}

/* --- animaciones ---------------------------------------------------- */
@keyframes fe-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes fe-up {
  from { transform: translateY(100%); }
  to { transform: none; }
}
@keyframes fe-left {
  from { transform: translateX(-102%); }
  to { transform: none; }
}
@keyframes fe-right {
  from { transform: translateX(102%); }
  to { transform: none; }
}
@keyframes fe-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes fe-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fe-pop {
  0% { transform: scale(0.9); opacity: 0; }
  60% { transform: scale(1.03); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes fe-shimmer {
  to { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* --- utilidades ----------------------------------------------------- */
.sc {
  scrollbar-width: none;
}
.sc::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.oculto {
  display: none !important;
}
.solo-desktop {
  display: none;
}
.solo-lectores {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.fila-h {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.vista {
  animation: fe-in 0.3s ease both;
}
.ancho {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- botones -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 24px;
  border: none;
  border-radius: 26px;
  background: var(--naranja);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 10px 20px -10px rgba(242, 102, 30, 0.8);
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover:not([disabled]) {
  background: var(--naranja-oscuro);
}
.btn:active:not([disabled]) {
  transform: scale(0.98);
}
.btn[disabled] {
  background: var(--arena);
  color: var(--texto-3);
  box-shadow: none;
}

.btn-linea {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 22px;
  border: 1.8px solid var(--tinta);
  border-radius: 25px;
  background: transparent;
  color: var(--tinta);
  font-size: 15.5px;
  font-weight: 700;
}
.btn-linea:hover {
  background: #f0e2d0;
}

.btn-verde {
  background: var(--verde);
  box-shadow: none;
}
.btn-verde:hover:not([disabled]) {
  background: #3f6650;
}

.btn-oscuro {
  background: var(--tinta);
  color: var(--claro);
  box-shadow: none;
}
.btn-oscuro:hover:not([disabled]) {
  background: var(--tinta-oscura);
}

.btn-texto {
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  color: var(--tinta);
  text-decoration: underline;
  padding: 10px;
}

.btn-full {
  width: 100%;
}

.chip {
  flex: none;
  height: 40px;
  padding: 0 15px;
  border-radius: 20px;
  border: 1.5px solid var(--borde-3);
  background: var(--crema);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tinta);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.chip:hover {
  border-color: var(--naranja);
}
.chip[aria-pressed='true'],
.chip.activo {
  background: var(--tinta);
  border-color: var(--tinta);
  color: var(--claro);
}

/* --- campos --------------------------------------------------------- */
.campo {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  border: 1.5px solid var(--borde-3);
  background: #fff;
  padding: 0 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--tinta);
  outline: none;
}
textarea.campo {
  height: auto;
  border-radius: 20px;
  padding: 14px 16px;
  line-height: 1.55;
  resize: vertical;
}
.campo:focus {
  border-color: var(--naranja);
}
.etiqueta {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--texto-2);
  margin-bottom: 6px;
}

/* ==========================================================================
   Barra superior + encabezado
   ========================================================================== */

.avisos {
  background: var(--tinta);
  color: var(--claro);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
}
.avisos span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.avisos .ast {
  opacity: 0.6;
  color: #f2a06b;
}

.cabecera {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(253, 247, 239, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borde);
}
.cabecera-fila {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  max-width: 1440px;
  margin: 0 auto;
}
.icono-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  border-radius: 14px;
  color: var(--tinta);
  position: relative;
  flex: none;
}
.icono-btn:hover {
  background: var(--arena);
}
.marca {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border: none;
  background: transparent;
  padding: 0;
}
.marca span {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.01em;
  color: var(--tinta);
}
.globo {
  position: absolute;
  top: 5px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--naranja);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid var(--crema);
}

.buscador {
  padding: 0 12px 10px;
  max-width: 1440px;
  margin: 0 auto;
}
.buscador-caja {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 14px;
  border-radius: 23px;
  background: var(--arena);
  border: 1.5px solid var(--borde-2);
}
.buscador-caja input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: var(--tinta);
}

.nav-desktop {
  display: none;
}

/* ==========================================================================
   Barra inferior (mobile)
   ========================================================================== */

.dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: calc(var(--dock) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(253, 247, 239, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--borde);
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.dock button {
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 10px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 700;
  color: var(--texto-3);
  min-width: 58px;
}
.dock button.activo {
  color: var(--tinta);
}
.dock button.activo .dock-icono {
  background: var(--arena);
}
.dock-icono {
  width: 34px;
  height: 26px;
  border-radius: 13px;
  display: grid;
  place-items: center;
}

/* ==========================================================================
   Portada
   ========================================================================== */

.hero {
  position: relative;
  padding: 22px 20px 0;
  background: linear-gradient(#fdf7ef 55%, #f6ecdd);
  overflow: hidden;
}
.hero-burbuja {
  position: absolute;
  top: -30px;
  right: -70px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: #f7e3ce;
}
.hero-aro {
  position: absolute;
  top: 14px;
  right: -30px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1.5px dashed #e4c9ac;
}
.hero-texto {
  position: relative;
  max-width: 600px;
}
.hero h1 {
  font-size: 37px;
  margin: 14px 0 0;
  letter-spacing: -0.02em;
}
.hero p {
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--texto);
  max-width: 24em;
}
.hero-acciones {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 0;
}
.pastilla {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--tinta);
  color: var(--claro);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.hero-paddy {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 8px 0 -6px;
  height: 250px;
}
.hero-paddy .halo {
  position: absolute;
  bottom: 22px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fbebd9, #f0dcc3);
}
.hero-paddy img {
  position: relative;
  height: 238px;
  max-height: 100%;
  object-fit: contain;
  animation: fe-bob 6s ease-in-out infinite;
}

.beneficios {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 20px;
  background: var(--tinta);
}
.beneficios div {
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 18px;
  background: rgba(246, 231, 214, 0.1);
  border: 1px solid rgba(246, 231, 214, 0.18);
  color: var(--claro);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.beneficios .ico {
  color: #f2a06b;
}

.seccion {
  padding: 26px 20px 0;
  max-width: 1440px;
  margin: 0 auto;
}
.seccion h2 {
  font-size: 26px;
}
.seccion .bajada {
  margin: 7px 0 0;
  font-size: 14px;
  color: var(--texto-2);
}

.grilla-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin: 14px 0 0;
}
.tarjeta-cat {
  border: none;
  text-align: left;
  padding: 0;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(58, 35, 23, 0.07);
  transition: transform 0.18s ease;
}
.tarjeta-cat:hover {
  transform: translateY(-3px);
}
.tarjeta-cat .arte {
  height: 104px;
  display: grid;
  place-items: center;
}
.tarjeta-cat .pie {
  padding: 11px 13px 14px;
  background: rgba(255, 255, 255, 0.55);
}
.tarjeta-cat .titulo {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--tinta);
}
.tarjeta-cat .meta {
  font-size: 11.5px;
  color: var(--texto-2);
  margin-top: 2px;
}

.presupuestos {
  display: flex;
  gap: 11px;
  overflow-x: auto;
  padding: 14px 20px 4px;
}
.presupuestos button {
  flex: none;
  width: 154px;
  text-align: left;
  padding: 15px;
  border-radius: 19px;
  border: 1.5px solid var(--borde-2);
  background: var(--crema);
}
.presupuestos button:hover {
  border-color: var(--naranja);
}
.presupuestos .burbuja {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f7e3ce;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.presupuestos .titulo {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-top: 11px;
  line-height: 1.15;
}
.presupuestos .hint {
  font-size: 12.5px;
  color: var(--ladrillo);
  font-weight: 700;
  margin-top: 4px;
}

/* ==========================================================================
   Tarjeta de producto
   ========================================================================== */

.grilla-prods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 20px 0;
  max-width: 1440px;
  margin: 0 auto;
}

.prod {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--borde);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.prod-foto {
  position: relative;
  aspect-ratio: 1;
  border: none;
  padding: 0;
  width: 100%;
  display: grid;
  place-items: center;
  touch-action: pan-y;
  cursor: pointer;
}
.prod-foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sin-foto {
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(58, 35, 23, 0.25);
  display: grid;
  place-items: center;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(58, 35, 23, 0.4);
}
.marca-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 4px 9px;
  border-radius: 12px;
  background: var(--tinta);
  color: var(--claro);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.velo-agotado {
  position: absolute;
  inset: 0;
  background: rgba(253, 247, 239, 0.72);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--texto-2);
}
.flecha-foto {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(253, 247, 239, 0.92);
  box-shadow: 0 3px 10px -3px rgba(58, 35, 23, 0.5);
  display: grid;
  place-items: center;
  color: var(--tinta);
}
.flecha-foto.izq { left: 6px; }
.flecha-foto.der { right: 6px; }

.puntos {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 12px;
  background: rgba(253, 247, 239, 0.9);
}
.puntos button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(58, 35, 23, 0.28);
}
.puntos button.activo {
  width: 16px;
  border-radius: 3px;
  background: var(--tinta);
}

.prod-cuerpo {
  padding: 11px 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.prod-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--texto-3);
  text-transform: uppercase;
}
.prod-nombre {
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  min-height: 2.6em;
  color: var(--tinta);
}
.prod-precio {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 19px;
}
.prod-cuotas {
  font-size: 11.5px;
  color: var(--verde);
  font-weight: 700;
}
.prod-poco {
  font-size: 11px;
  color: var(--alerta);
  font-weight: 700;
}
.prod-falta {
  font-size: 11px;
  color: var(--texto-3);
  font-weight: 700;
}
.prod-add {
  width: 100%;
  height: 40px;
  margin-top: auto;
  border: none;
  border-radius: 20px;
  background: var(--naranja);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.prod-add:hover:not([disabled]) {
  background: var(--naranja-oscuro);
}
.prod-add[disabled] {
  background: var(--arena);
  color: var(--texto-3);
}

/* ==========================================================================
   Paddy / reels / local / boletín
   ========================================================================== */

.bloque-paddy {
  margin: 32px 0 0;
  padding: 26px 20px 30px;
  background: #f1e2ce;
}
.bloque-paddy .fila {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.bloque-paddy img {
  width: 104px;
  flex: none;
}
.bloque-paddy h2 {
  font-size: 25px;
}
.bloque-paddy p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--texto);
}

.reels {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 14px -20px 0;
  padding: 0 20px;
  scroll-snap-type: x mandatory;
}
.reel {
  width: 330px;
  flex: none;
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  background: var(--arena);
  border: 1px solid var(--borde);
}
.reel iframe {
  display: block;
  width: 100%;
  height: 474px;
  border: 0;
}

.local {
  margin: 14px 0 0;
  border-radius: var(--radio);
  overflow: hidden;
  border: 1px solid var(--borde);
  background: #fff;
}
.local > img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.local .cuerpo {
  padding: 15px 15px 17px;
}
.local .mapa {
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  margin: 12px 0 0;
  background: #e4ede7;
}
.local .mapa iframe {
  display: block;
  width: 100%;
  height: 140px;
  border: 0;
}

.boletin {
  margin: 28px 20px 0;
  padding: 22px 18px;
  border-radius: 22px;
  background: var(--tinta);
  color: var(--claro);
}
.boletin h2 {
  font-size: 24px;
  color: var(--crema);
}
.boletin p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.8;
}
.boletin input {
  height: 48px;
  width: 100%;
  border-radius: 24px;
  border: 1.5px solid rgba(246, 231, 214, 0.25);
  background: rgba(246, 231, 214, 0.08);
  padding: 0 16px;
  color: var(--crema);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.boletin input::placeholder {
  color: rgba(246, 231, 214, 0.55);
}

/* ==========================================================================
   Categoría / listado
   ========================================================================== */

.cat-encabezado {
  padding: 18px 20px 20px;
}
.cat-encabezado h1 {
  font-size: 31px;
  letter-spacing: -0.02em;
}
.cat-encabezado p {
  margin: 8px 0 0;
  font-size: 14.5px;
  color: var(--texto);
}
.volver {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px 0 8px;
  margin: 0 0 10px -8px;
  border: none;
  background: transparent;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--texto);
}
.barra-filtros {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 20px;
  background: var(--crema);
  border-bottom: 1px solid var(--borde);
  position: sticky;
  top: 0;
  z-index: 10;
}
.contador {
  padding: 14px 20px 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--texto-3);
  max-width: 1440px;
  margin: 0 auto;
}
.vacio {
  margin: 20px;
  padding: 30px 20px;
  border-radius: 22px;
  background: var(--arena);
  text-align: center;
}
.vacio img {
  width: 120px;
}
.vacio .titulo {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-top: 8px;
}
.vacio p {
  font-size: 13.5px;
  color: var(--texto-2);
  margin-top: 7px;
}

/* ==========================================================================
   Ficha de producto
   ========================================================================== */

.ficha {
  max-width: 1440px;
  margin: 0 auto;
}
.ficha-hero {
  position: relative;
  aspect-ratio: 1;
  margin: 0 12px;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  place-items: center;
  touch-action: pan-y;
}
.ficha-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ficha-hero .flecha-foto {
  width: 38px;
  height: 38px;
}
.ficha-hero .flecha-foto.izq { left: 10px; }
.ficha-hero .flecha-foto.der { right: 10px; }

.miniaturas {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 12px 0;
}
.miniaturas button {
  width: 62px;
  height: 62px;
  flex: none;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--arena);
}
.miniaturas button.activo {
  border-color: var(--naranja);
}
.miniaturas img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ficha-datos {
  padding: 18px 20px 0;
}
.ficha-datos .ruta {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--texto-3);
  text-transform: uppercase;
}
.ficha-datos h1 {
  font-size: 29px;
  margin: 8px 0 0;
  letter-spacing: -0.02em;
}
.ficha-precio {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 34px;
  margin: 12px 0 0;
}
.ficha-estado {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 13.5px;
  font-weight: 700;
}
.ficha-estado .punto {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.aviso-suave {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--arena);
  font-size: 13px;
  color: var(--texto-2);
  line-height: 1.5;
}
.cantidad {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1.6px solid var(--borde-2);
  border-radius: 26px;
  padding: 3px;
}
.cantidad button {
  width: 44px;
  height: 46px;
  border: none;
  background: transparent;
  border-radius: 23px;
  font-size: 19px;
  font-weight: 700;
}
.cantidad span {
  min-width: 26px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
}
.envios {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 20px 0 0;
  padding: 16px;
  border-radius: var(--radio);
  background: var(--arena);
}
.envio {
  display: flex;
  align-items: center;
  gap: 11px;
}
.envio .ico {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 17px;
  background: var(--crema);
  display: grid;
  place-items: center;
  font-size: 15px;
}
.envio .txt {
  flex: 1;
  min-width: 0;
}
.envio .txt b {
  display: block;
  font-size: 13.5px;
}
.envio .txt small {
  font-size: 12px;
  color: var(--texto-2);
}
.envio .costo {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--verde);
  white-space: nowrap;
}

/* ==========================================================================
   Carrito y checkout
   ========================================================================== */

.item-carrito {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--borde);
}
.item-carrito .thumb {
  position: relative;
  width: 78px;
  height: 78px;
  flex: none;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.item-carrito .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item-carrito .mini-cantidad {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1.4px solid var(--borde-2);
  border-radius: 17px;
  padding: 2px;
}
.item-carrito .mini-cantidad button {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
}
.opcion-envio {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1.6px solid var(--borde-2);
  background: #fff;
  text-align: left;
}
.opcion-envio.activo {
  border-color: var(--naranja);
  background: #fdeee3;
}
.resumen {
  margin: 22px 0 0;
  padding: 18px;
  border-radius: var(--radio);
  background: var(--arena-2);
}
.resumen .linea {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  color: var(--texto);
}
.resumen .total {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--tinta);
}

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

.error-caja {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f7e0e3;
  color: var(--alerta);
  font-size: 13.5px;
  font-weight: 700;
}

/* ==========================================================================
   Paneles flotantes: menú, carrito lateral, Paddy
   ========================================================================== */

.velo {
  position: fixed;
  inset: 0;
  background: rgba(36, 23, 16, 0.45);
  animation: fe-fade 0.25s ease both;
  z-index: 60;
  border: none;
  width: 100%;
}
.panel {
  position: fixed;
  z-index: 61;
  background: var(--crema);
  display: flex;
  flex-direction: column;
}
.panel-izq {
  top: 0;
  bottom: 0;
  left: 0;
  width: min(330px, 88vw);
  animation: fe-left 0.3s cubic-bezier(0.2, 0.9, 0.25, 1) both;
  box-shadow: 24px 0 50px -20px rgba(36, 23, 16, 0.4);
  overflow-y: auto;
}
.panel-der {
  top: 0;
  bottom: 0;
  right: 0;
  width: min(400px, 92vw);
  animation: fe-right 0.3s cubic-bezier(0.2, 0.9, 0.25, 1) both;
  box-shadow: -24px 0 50px -20px rgba(36, 23, 16, 0.4);
}
.panel-abajo {
  left: 0;
  right: 0;
  bottom: 0;
  height: 96%;
  border-radius: 28px 28px 0 0;
  animation: fe-up 0.34s cubic-bezier(0.2, 0.9, 0.25, 1) both;
  overflow: hidden;
}
.panel-cabecera {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--borde);
}
.panel-cuerpo {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px 24px;
}
.cerrar {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--arena);
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: var(--tinta);
  flex: none;
}

.menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  min-height: 56px;
  border: none;
  background: transparent;
  border-radius: 16px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--tinta);
}
.menu-item:hover {
  background: var(--arena);
}
.menu-item .cuadro {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 17px;
}

.barra-progreso {
  height: 4px;
  background: var(--borde);
}
.barra-progreso div {
  height: 4px;
  background: var(--naranja);
  border-radius: 2px;
  transition: width 0.35s ease;
}
.respuesta {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 18px;
  border: 1.6px solid var(--borde-2);
  background: #fff;
  text-align: left;
}
.respuesta:hover {
  border-color: var(--naranja);
}
.respuesta.activa {
  border-color: var(--naranja);
  background: #fdeee3;
}
.respuesta .burbuja {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--arena);
  display: grid;
  place-items: center;
  font-size: 17px;
}
.respuesta .txt {
  flex: 1;
  font-size: 15.5px;
  font-weight: 700;
}
.esqueleto {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(100deg, #f1e4d3 30%, #fbf2e6 50%, #f1e4d3 70%);
  background-size: 200% 100%;
  animation: fe-shimmer 1.2s linear infinite;
}

.aviso {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(var(--dock) + 16px + env(safe-area-inset-bottom));
  z-index: 80;
  padding: 13px 16px;
  border-radius: 18px;
  background: var(--tinta);
  color: var(--claro);
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
  animation: fe-pop 0.3s ease both;
  max-width: 420px;
  margin: 0 auto;
}
.aviso .ok {
  color: #8fd0a6;
}
.aviso.malo .ok {
  color: #f0a08b;
}

/* ==========================================================================
   Pie
   ========================================================================== */

.pie {
  padding: 26px 20px 34px;
  font-size: 12.5px;
  color: var(--texto-2);
  line-height: 1.7;
  max-width: 1440px;
  margin: 0 auto;
}
.pie-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 700;
  margin-bottom: 12px;
}
.pie-links button {
  border: none;
  background: transparent;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--ladrillo);
}

/* ==========================================================================
   Escritorio
   ========================================================================== */

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
    background: var(--crema);
  }

  .dock,
  .solo-mobile {
    display: none !important;
  }
  .solo-desktop {
    display: revert;
  }

  .avisos {
    height: 40px;
    font-size: 13px;
    gap: 34px;
  }
  .avisos span:not(.ast) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .cabecera-fila {
    gap: 26px;
    padding: 14px 40px;
    max-width: 1280px;
  }
  .nav-desktop {
    max-width: 1280px;
  }
  .marca {
    flex: none;
  }
  .marca span {
    font-size: 29px;
  }
  .buscador {
    flex: 1;
    max-width: 560px;
    padding: 0;
    margin: 0;
    order: 2;
  }
  .buscador-caja {
    height: 50px;
    border-radius: 25px;
    padding: 0 18px;
  }
  .acciones-cabecera {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    order: 3;
  }
  .btn-cuenta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 14px;
    border: none;
    background: transparent;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 700;
  }
  .btn-cuenta:hover {
    background: var(--arena);
  }
  .btn-carrito-desk {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    height: 56px;
    padding: 0 24px 0 20px;
    border: none;
    border-radius: 28px;
    background: var(--tinta);
    color: var(--claro);
    font-size: 15.5px;
    font-weight: 800;
    box-shadow: 0 10px 22px -12px rgba(58, 35, 23, 0.9);
    transition: background 0.15s ease, transform 0.15s ease;
  }
  .btn-carrito-desk:hover {
    background: var(--tinta-oscura);
    transform: translateY(-1px);
  }
  .btn-carrito-desk svg {
    width: 23px;
    height: 23px;
  }
  .btn-carrito-desk .sep {
    opacity: 0.35;
    font-weight: 400;
  }
  /* El número de artículos, en naranja, para que se encuentre de una. */
  .btn-carrito-desk .cuenta {
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 13px;
    background: var(--naranja);
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
    display: grid;
    place-items: center;
  }
  .btn-carrito-desk.vacio .cuenta {
    background: rgba(246, 231, 214, 0.18);
    color: var(--claro);
  }

  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 40px 10px;
    max-width: 1440px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  .nav-desktop button {
    height: 40px;
    padding: 0 13px;
    border: none;
    background: transparent;
    border-radius: 20px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--tinta);
  }
  .nav-desktop button:hover {
    background: var(--arena);
  }
  .nav-desktop .nav-paddy {
    margin-left: 14px;
    height: 42px;
    padding: 0 18px;
    border-radius: 21px;
    background: #fdeee3;
    color: var(--ladrillo);
    font-size: 14.5px;
    font-weight: 800;
    border: 1.5px solid #f8cfb2;
  }
  .nav-desktop .nav-paddy:hover {
    background: #fbe2d0;
  }

  .hero {
    padding: 56px 40px 0;
    background: linear-gradient(160deg, #fdf7ef 40%, #f6ecdd);
  }
  .hero-burbuja {
    top: -90px;
    right: 120px;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle at 45% 40%, #faeada, #f1dfc7);
  }
  .hero-aro {
    top: 30px;
    right: 60px;
    width: 480px;
    height: 480px;
  }
  .hero-interior {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 40%;
    gap: 30px;
    align-items: center;
    min-height: 520px;
    max-width: 1360px;
    margin: 0 auto;
  }
  .hero h1 {
    font-size: clamp(48px, 5.3vw, 76px);
    margin: 20px 0 0;
    letter-spacing: -0.03em;
    line-height: 0.98;
  }
  .hero p {
    margin: 20px 0 0;
    font-size: 19px;
    max-width: 26em;
  }
  .hero-acciones {
    flex-direction: row;
    gap: 12px;
    margin: 30px 0 0;
    flex-wrap: wrap;
  }
  .hero-acciones .btn,
  .hero-acciones .btn-linea {
    height: 60px;
    padding: 0 28px;
    border-radius: 30px;
    font-size: 18px;
  }
  .hero-paddy {
    height: auto;
    margin: 0;
  }
  .hero-paddy .halo {
    width: 420px;
    height: 420px;
    bottom: 40px;
  }
  .hero-paddy img {
    height: 420px;
  }
  .pastilla {
    padding: 8px 15px;
    font-size: 12px;
  }

  .beneficios {
    justify-content: center;
    gap: 26px;
    padding: 16px 40px;
  }

  .seccion {
    padding: 48px 40px 0;
  }
  .seccion h2 {
    font-size: 38px;
  }
  .seccion .bajada {
    font-size: 16px;
  }

  .grilla-cats {
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
  }
  .tarjeta-cat:nth-child(1),
  .tarjeta-cat:nth-child(2) {
    grid-column: span 6;
  }
  .tarjeta-cat:nth-child(3),
  .tarjeta-cat:nth-child(4),
  .tarjeta-cat:nth-child(5) {
    grid-column: span 4;
  }
  .tarjeta-cat:nth-child(6) {
    grid-column: span 9;
  }
  .tarjeta-cat:nth-child(7) {
    grid-column: span 3;
  }
  .tarjeta-cat .arte {
    height: 150px;
  }
  .tarjeta-cat:nth-child(6) .arte,
  .tarjeta-cat:nth-child(7) .arte {
    height: 120px;
  }
  .tarjeta-cat .titulo {
    font-size: 20px;
  }

  .presupuestos {
    padding: 18px 40px 4px;
    gap: 16px;
  }
  .presupuestos button {
    flex: 1;
    width: auto;
    min-width: 180px;
  }

  .grilla-prods {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 18px 40px 0;
  }
  .grilla-prods.compacta {
    grid-template-columns: repeat(5, 1fr);
  }
  .prod-nombre {
    font-size: 15px;
  }
  .prod-precio {
    font-size: 22px;
  }
  .prod-cuotas {
    font-size: 12.5px;
  }
  .prod-add {
    height: 44px;
    font-size: 14px;
  }

  .bloque-paddy {
    padding: 48px 40px;
  }
  .bloque-paddy .fila {
    max-width: 1000px;
    gap: 28px;
  }
  .bloque-paddy img {
    width: 180px;
  }
  .bloque-paddy h2 {
    font-size: 34px;
  }
  .bloque-paddy p {
    font-size: 17px;
  }
  .bloque-paddy .btn {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
  }

  .reels {
    margin: 18px 0 0;
    padding: 0;
    gap: 16px;
  }
  .reel {
    width: 360px;
  }
  .reel iframe {
    height: 540px;
  }

  .local-desk {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .local > img {
    height: 100%;
    min-height: 320px;
  }
  .local .cuerpo {
    padding: 28px;
  }
  .local .mapa,
  .local .mapa iframe {
    height: 200px;
  }

  .boletin {
    margin: 48px 40px 0;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    border-radius: 28px;
  }
  .boletin h2 {
    font-size: 34px;
  }
  .boletin .form {
    display: flex;
    gap: 10px;
  }

  .cat-encabezado {
    padding: 34px 40px 30px;
  }
  .cat-encabezado h1 {
    font-size: 48px;
  }
  .cat-encabezado p {
    font-size: 17px;
    max-width: 44em;
  }
  .barra-filtros {
    padding: 14px 40px;
  }
  .contador {
    padding: 18px 40px 0;
  }

  .ficha {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    gap: 40px;
    padding: 24px 40px 0;
    align-items: start;
  }
  .ficha-media {
    position: sticky;
    top: 130px;
  }
  .ficha-hero {
    margin: 0;
    border-radius: 26px;
  }
  .miniaturas {
    padding: 12px 0 0;
  }
  .ficha-datos {
    padding: 0;
  }
  .ficha-datos h1 {
    font-size: 40px;
  }
  .ficha-precio {
    font-size: 42px;
  }
  .ficha-relacionados {
    grid-column: 1 / -1;
  }

  .carrito-pagina {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 32px;
    align-items: start;
    padding: 0 40px;
    max-width: 1440px;
    margin: 0 auto;
  }
  .resumen {
    position: sticky;
    top: 130px;
    margin: 0;
  }

  .pie {
    padding: 48px 40px 60px;
  }
  .aviso {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: 340px;
  }
  .panel-abajo {
    left: 50%;
    transform: translateX(-50%);
    width: min(760px, 94vw);
    height: min(92vh, 900px);
    border-radius: 28px;
    bottom: 4vh;
  }
}


/* ==========================================================================
   Paddy en 3D (hero de escritorio)
   Mientras el modelo carga se ve la foto; cuando está listo, se cambian.
   ========================================================================== */

.hero-paddy model-viewer {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  --poster-color: transparent;
  --progress-bar-color: var(--naranja);
  --progress-mask: transparent;
  background: transparent;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: grab;
}
.hero-paddy model-viewer:active {
  cursor: grabbing;
}
.hero-paddy.listo-3d model-viewer {
  opacity: 1;
}
.hero-paddy.listo-3d img {
  display: none;
}

/* Cartelito de "arrastrá para girarlo", solo cuando el 3D ya está andando. */
.hero-paddy.listo-3d::after {
  content: 'Arrastrá para girar a Paddy';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 16px;
  background: rgba(253, 247, 239, 0.9);
  border: 1px solid var(--borde-2);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--texto-2);
  white-space: nowrap;
  pointer-events: none;
  animation: fe-fade 0.6s ease both;
}

@media (min-width: 1024px) {
  .hero-paddy.con-3d {
    position: relative;
    min-height: 520px;
    display: block;
  }
  .hero-paddy.con-3d .halo {
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-paddy.con-3d img {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
  }
}
