/* ==========================================================================
   Promos en tu Plaza — "Clara brillante" (mobile-first, 320 px en adelante).
   Fondo claro, texto oscuro de alto contraste y botones con brillo ("glossy")
   solo en lo que se toca: así se distinguen bien sin que todo compita.
   Las plantillas Clásica, Vitrina y Menú solo cambian variables y acentos.
   ========================================================================== */

/* Letra Plus Jakarta Sans servida desde el tema (latín, grosores 500 a 800 en un solo archivo variable; licencia OFL en
   assets/fonts/OFL.txt). Las letras de respaldo usan medidas ajustadas (size-adjust y ascent/descent) para que el
   cambio de la letra del sistema a Plus Jakarta Sans no mueva el diseño (CLS). Arial: iPhone y computadoras;
   Roboto: Android. Medidas calculadas con un texto de muestra en español. */
@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
	font-weight: 500 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2212;
}
@font-face {
	font-family: "PJS Fallback Arial";
	src: local("Arial"), local("ArialMT");
	size-adjust: 104.59%;
	ascent-override: 99.25%;
	descent-override: 21.23%;
	line-gap-override: 0%;
}
@font-face {
	font-family: "PJS Fallback Roboto";
	src: local("Roboto"), local("Roboto-Regular");
	size-adjust: 105.38%;
	ascent-override: 98.5%;
	descent-override: 21.07%;
	line-gap-override: 0%;
}


:root {
	--petp-bg: #f2f5fb;
	--petp-surface: #ffffff;
	--petp-surface-2: #eef1f8;
	--petp-text: #141a33;
	--petp-muted: #3a4260;
	--petp-line: #d7dcea;
	--petp-line-2: #c9d0e2;
	--petp-link: #1f45d6;
	--petp-blue: #2449e0;
	--petp-accent: #2449e0;         /* Color del negocio (se cambia por tarjeta / página). */
	--petp-on-accent: #ffffff;
	--petp-promo: #b42318;
	--petp-open: #135c2a;
	--petp-closed: #3a4260;
	--petp-radius: 20px;
	--petp-radius-sm: 14px;
	--petp-gap: 16px;
	--petp-font: "Plus Jakarta Sans", "PJS Fallback Arial", "PJS Fallback Roboto", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--petp-font-display: var(--petp-font);

	/* Brillo y superficies */
	--petp-sheen: linear-gradient(180deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 52%);
	--petp-sheen-soft: linear-gradient(180deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 55%);
	--petp-g-blue: var(--petp-sheen), linear-gradient(180deg, #4a72ff 0%, #2449e0 100%);
	--petp-on-blue: #ffffff;        /* Texto sobre el color principal (los looks de temporada lo cambian). */
	--petp-g-hero: var(--petp-sheen-soft), linear-gradient(180deg, #3e68ff 0%, #1f45d6 100%);
	--petp-g-soft: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
	--petp-soft-line: #c2cdf5;
	--petp-hero-pill-bg: rgba(255, 255, 255, .95);
	--petp-hero-pill-text: var(--petp-text);
	--petp-g-green: var(--petp-sheen-soft), linear-gradient(180deg, #259243 0%, #1a6e2e 100%);
	--petp-g-orange: var(--petp-sheen-soft), linear-gradient(180deg, #d4531a 0%, #b23a0c 100%);
	--petp-g-red: var(--petp-sheen-soft), linear-gradient(180deg, #d63a2f 0%, #a61f17 100%);
	--petp-g-white: linear-gradient(180deg, #ffffff 0%, #eef1f8 100%);
	--petp-g-dark: linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 52%), linear-gradient(180deg, #2b3352 0%, #141a33 100%);
	--petp-card-bg: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
	--petp-shadow: inset 0 1px 0 #ffffff, 0 1px 2px rgba(20, 26, 51, .05), 0 8px 20px rgba(20, 26, 51, .06);
	--petp-shadow-btn-blue: inset 0 1px 0 rgba(255, 255, 255, .55), 0 3px 8px rgba(36, 73, 224, .3);
	--petp-shadow-btn-white: inset 0 1px 0 #ffffff, 0 1px 3px rgba(20, 26, 51, .08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.petp-noscroll { overflow: hidden; }
/* Tamaño de letra elegido con el botón "AA" (todo el sitio está en rem, así que escala parejo). */
html.petp-fs-1 { font-size: 115%; }
html.petp-fs-2 { font-size: 130%; }

body {
	margin: 0;
	background: var(--petp-bg);
	color: var(--petp-text);
	font: 500 1rem/1.5 var(--petp-font);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--petp-link); text-underline-offset: 2px; }
a:hover { color: var(--petp-link-hover, #1535a8); }
h1, h2, h3 { font-family: var(--petp-font-display); font-weight: 800; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.01em; }
h1 { font-size: 1.75rem; letter-spacing: -.02em; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 8px; }
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.petp-skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.petp-skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--petp-blue); outline-offset: 2px; }

.petp-icon { flex: none; vertical-align: -4px; }
.petp-muted { color: var(--petp-muted); }
.petp-h2 { font-size: 1.25rem; margin: 0; }

/* --- Barra superior ---------------------------------------------------- */
/* Tamaños en px a propósito: la barra no cambia con el botón "AA", para que no se desacomode en celular. */
.petp-topbar {
	display: flex; align-items: center; gap: 8px;
	padding: 12px max(var(--petp-gap), calc((100% - 928px) / 2)); font-size: 16px;
	background: var(--petp-topbar-bg, var(--petp-card-bg)); border-bottom: 1px solid var(--petp-topbar-line, var(--petp-line));
}
.petp-brand { flex: none; display: inline-flex; align-items: center; gap: 8px; color: var(--petp-text); text-decoration: none; font-weight: 800; }
.petp-brand:hover { color: var(--petp-text); }
.petp-brand-mark {
	display: block; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 22%;
	box-shadow: 0 2px 6px rgba(36, 73, 224, .3);
}
.petp-topbar-search {
	display: inline-flex; align-items: center; gap: 6px; color: var(--petp-muted);
	text-decoration: none; font-size: 14px; font-weight: 700;
}
.petp-topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }

/* Herramientas de lectura: "AA" (tamaño de letra) y sol/luna (modo claro u oscuro), juntas al centro. */
.petp-tools { flex: none; margin-inline: auto; display: flex; gap: 8px; }
.petp-tools .petp-fs { margin-inline: 0; }
.petp-mode {
	flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--petp-line); border-radius: 12px;
	background: var(--petp-g-white); color: var(--petp-text); box-shadow: var(--petp-shadow-btn-white); cursor: pointer;
}
.petp-mode-i { display: none; }
.petp-mode[data-state="auto"] .petp-mode-i--auto,
.petp-mode[data-state="light"] .petp-mode-i--light,
.petp-mode[data-state="dark"] .petp-mode-i--dark { display: block; }
.petp-mode:not([data-state="auto"]) { background: var(--petp-g-dark); color: #fff; border-color: transparent; }
@media (max-width: 419px) {
	/* Celular: el logo "P" ya identifica el sitio; el nombre se oculta para que quepan "AA", sol/luna y ubicación. */
	.petp-brand-name { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
	.petp-tools { gap: 6px; }
}

/* Botón "AA": agranda la letra (normal → grande → muy grande → normal). Centrado en la barra. */
.petp-fs {
	flex: none; margin-inline: auto; display: inline-flex; align-items: baseline; justify-content: center; gap: 1px;
	min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--petp-line); border-radius: 12px;
	background: var(--petp-g-white); color: var(--petp-text); box-shadow: var(--petp-shadow-btn-white);
	font-family: var(--petp-font); font-weight: 800; line-height: 42px; cursor: pointer; position: relative;
}
.petp-fs-a1 { font-size: 13px; }
.petp-fs-a2 { font-size: 21px; }
.petp-fs-level { position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); display: flex; gap: 3px; }
.petp-fs-level i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .25; }
html.petp-fs-1 .petp-fs-level i:nth-child(-n+1),
html.petp-fs-2 .petp-fs-level i:nth-child(-n+2) { opacity: 1; }
html.petp-fs-1 .petp-fs, html.petp-fs-2 .petp-fs { background: var(--petp-g-dark); color: #fff; border-color: #141a33; }
@media (min-width: 600px) {
	/* Con espacio: centro exacto (marca | AA | acciones). */
	.petp-topbar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; }
	.petp-fs { margin-inline: 0; }
}

/* Botón de ubicación: rojo = pedirla, verde = activa. */
.petp-geo {
	display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 6px 14px 6px 10px;
	border: 0; border-radius: 999px; font: 800 13px/1.2 var(--petp-font); text-align: left; cursor: pointer; color: #fff;
}
.petp-geo[hidden] { display: none; }
.petp-geo .petp-icon { width: 18px; height: 18px; }
.petp-geo.is-off { background: var(--petp-g-red); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 2px 8px rgba(166, 31, 23, .35); }
.petp-geo.is-off:hover { filter: brightness(1.06); }
.petp-geo.is-on { background: var(--petp-g-green); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 6px rgba(26, 110, 46, .3); cursor: default; white-space: nowrap; }
.petp-geo-check { display: none; font-weight: 800; }
.petp-geo.is-on .petp-geo-check { display: inline; }
@media (max-width: 599px) {
	/* En celular el logo ya lleva al buscador: la lupa sobra y deja espacio al "AA" y al botón de ubicación. */
	.petp-topbar-search { display: none; }
	.petp-brand { gap: 6px; }
	.petp-brand-name { font-size: 14px; line-height: 1.1; max-width: 82px; }
	.petp-geo { max-width: 160px; font-size: 12px; padding: 6px 12px 6px 9px; }
}
@media (max-width: 400px) {
	.petp-geo.is-off .petp-icon { display: none; }
}
@media (max-width: 359px) {
	/* Celulares de 320 px: el verde solo con texto (el color ya dice que está activa). */
	.petp-geo.is-on .petp-icon, .petp-geo.is-on .petp-geo-check { display: none; }
	.petp-geo.is-on { padding: 6px 12px; }
	.petp-brand-mark { width: 32px; height: 32px; font-size: 16px; }
}

/* Popup de ubicación (reutiliza los estilos del popup de anuncio). */
.petp-geo-popup-icon {
	display: inline-grid; place-items: center; width: 56px; height: 56px; margin-top: 4px; border-radius: 50%;
	background: var(--petp-geo-icon-bg, #e3f5e8); color: var(--petp-geo-icon-text, #1a6e2e);
}
.petp-geo-popup-icon .petp-icon { width: 30px; height: 30px; }
.petp-geo-points { text-align: left; margin: 12px 0 16px; padding-left: 20px; color: var(--petp-muted); font-size: .95rem; }
.petp-geo-points li { margin: 4px 0; }
.petp-geo-cta { width: 100%; }

.petp-main { max-width: 960px; margin: 0 auto; padding: 0 var(--petp-gap) 96px; }

/* --- Botones ------------------------------------------------------------ */
.petp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 18px; border: 0; border-radius: 14px;
	background: var(--petp-g-blue); color: var(--petp-on-blue); box-shadow: var(--petp-shadow-btn-blue);
	font: 800 1rem/1.2 var(--petp-font); text-decoration: none; cursor: pointer;
}
.petp-btn:hover { color: var(--petp-on-blue); filter: brightness(1.06); }
.petp-btn--primary { background: var(--petp-g-blue); color: var(--petp-on-blue); }
.petp-btn--wa, .petp-btn--wa:hover { color: #fff; }
.petp-btn--wa { background: var(--petp-g-green); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 4px 12px rgba(26, 110, 46, .28); }
.petp-btn--ghost {
	background: var(--petp-g-white); color: var(--petp-text); border: 1px solid var(--petp-line-2); box-shadow: var(--petp-shadow-btn-white);
}
.petp-btn--ghost:hover { color: var(--petp-text); }
.petp-btn--soft {
	background: var(--petp-soft-bg, var(--petp-g-soft)); color: var(--petp-soft-text, var(--petp-link));
	border: 1px solid var(--petp-soft-line); box-shadow: var(--petp-soft-shadow, inset 0 1px 0 #ffffff, 0 2px 8px rgba(20, 26, 51, .07));
}
.petp-btn--soft:hover { color: var(--petp-soft-hover, #1535a8); }
.petp-btn--small { min-height: 38px; padding: 6px 14px; font-size: .9rem; border-radius: 999px; }

/* --- Distintivos -------------------------------------------------------- */
.petp-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.petp-badge {
	display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px;
	font-size: .8125rem; font-weight: 800; line-height: 1.45; background: var(--petp-surface-2); color: var(--petp-muted);
}
.petp-badge--promo { background: var(--petp-g-red); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.petp-badge--now { background: #1e7b34; color: #fff; text-transform: uppercase; letter-spacing: .03em; font-size: .75rem; }
.petp-badge--open { background: var(--petp-open-bg, #e3f5e8); color: var(--petp-open); }
.petp-badge--closed { background: var(--petp-surface-2); color: var(--petp-closed); }
.petp-badge--sponsored { background: var(--petp-spons-bg, #fff1c2); color: var(--petp-spons-text, #5c3f00); box-shadow: var(--petp-spons-ring, inset 0 0 0 1px #ecd27a); }
.petp-badge--soon { background: var(--petp-soon-bg, #e6ecff); color: var(--petp-soon-text, #1f3c99); }
.petp-badge--off { background: var(--petp-surface-2); color: var(--petp-muted); }
.petp-distance { flex: none; font-size: .875rem; font-weight: 800; color: var(--petp-text); white-space: nowrap; }

/* --- Inicio: título y buscador ------------------------------------------ */
.petp-hero { padding: 18px 0 0; }
.petp-hero h1 { font-size: 1.75rem; line-height: 1.15; margin: 0; }

.petp-search { margin: 12px 0 0; }
.petp-search--compact { margin-top: 12px; }
.petp-search-row {
	display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 6px 6px 16px;
	background: var(--petp-search-bg, linear-gradient(180deg, #ffffff 0%, #f8fafe 100%)); border: 1px solid var(--petp-line-2); border-radius: 16px;
	box-shadow: inset 0 1px 0 #ffffff, 0 4px 14px rgba(20, 26, 51, .07);
}
.petp-search-icon { color: var(--petp-muted); display: inline-flex; }
.petp-search-row input {
	flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; font-weight: 600;
	padding: 8px 0; color: var(--petp-text);
}
.petp-search-row input::placeholder { color: var(--petp-placeholder, #5b6380); opacity: 1; }
.petp-search-row input:focus { outline: none; }
.petp-search-row:focus-within { border-color: var(--petp-blue); box-shadow: 0 0 0 3px rgba(36, 73, 224, .35), 0 4px 14px rgba(20, 26, 51, .07); }
.petp-search-row .petp-btn { min-height: 42px; padding: 0 16px; border-radius: 12px; font-size: .95rem; }

.petp-toggles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.petp-toggle { position: relative; display: inline-flex; cursor: pointer; border: 0; background: none; padding: 0; font: inherit; }
.petp-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.petp-toggle span {
	display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px;
	border-radius: 999px; background: var(--petp-g-white); border: 1px solid var(--petp-line-2); box-shadow: inset 0 1px 0 #ffffff;
	font-size: .9rem; font-weight: 700; color: var(--petp-text);
}
.petp-toggle input:checked + span,
.petp-toggle.is-active span { background: var(--petp-g-blue); color: var(--petp-on-blue); border-color: var(--petp-blue); box-shadow: var(--petp-shadow-btn-blue); }
.petp-toggle input:focus-visible + span { outline: 3px solid var(--petp-blue); outline-offset: 2px; }
.petp-select select {
	min-height: 40px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--petp-line-2);
	background: var(--petp-g-white); color: var(--petp-text); font: inherit; font-size: .9rem; font-weight: 700;
}
.petp-hint { color: var(--petp-muted); font-size: .9rem; }

/* --- Promoción destacada (inicio) --------------------------------------- */
.petp-promo-hero {
	display: flex; margin-top: 18px; overflow: hidden; border-radius: var(--petp-radius); color: #fff; text-decoration: none;
	background: var(--petp-g-hero);
	box-shadow: var(--petp-hero-shadow, inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 24px rgba(31, 69, 214, .28));
}
.petp-promo-hero:hover { color: #fff; }
.petp-promo-hero:focus-visible { outline-offset: 3px; }
.petp-promo-hero.is-soon { background: var(--petp-g-dark); box-shadow: var(--petp-hero-soon-shadow, inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px rgba(20, 26, 51, .25)); }
.petp-promo-hero-img { flex: none; width: 112px; background: rgba(255, 255, 255, .15); display: grid; place-items: center; }
.petp-promo-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.petp-promo-hero-img .petp-initial { width: 100%; height: 100%; font-size: 2.2rem; }
.petp-promo-hero-body { display: flex; flex-direction: column; gap: 6px; padding: 14px; min-width: 0; }
.petp-promo-hero-pill {
	align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--petp-hero-pill-bg); color: var(--petp-hero-pill-text);
	font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
}
.petp-promo-hero-title { font-size: 1.25rem; line-height: 1.15; font-weight: 800; overflow-wrap: anywhere; }
.petp-promo-hero-biz { font-size: .875rem; font-weight: 700; }
.petp-promo-hero-cta {
	align-self: flex-start; margin-top: 2px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
	border-radius: 12px; background: var(--petp-cta-bg, var(--petp-g-soft)); color: var(--petp-cta-text, var(--petp-link));
	box-shadow: inset 0 1px 0 #ffffff, 0 2px 6px rgba(0, 0, 0, .15); font-weight: 800; font-size: .875rem;
}
.petp-promo-hero-cta .petp-icon { width: 18px; height: 18px; }
@media (max-width: 359px) {
	.petp-promo-hero-img { width: 88px; }
}

/* --- Filtros: chips ----------------------------------------------------- */
.petp-filterbox { margin-top: 22px; }
.petp-filterbox > .petp-h2 { margin-bottom: 12px; }
.petp-chips {
	display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; margin: 8px -2px 0;
	scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.petp-chips::-webkit-scrollbar { display: none; }
.petp-chips--inline { flex-wrap: wrap; overflow: visible; }
.petp-chip {
	flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px;
	border-radius: 999px; border: 1px solid var(--petp-line-2); background: var(--petp-g-white); color: var(--petp-text);
	box-shadow: inset 0 1px 0 #ffffff; font: 700 .9rem/1.2 var(--petp-font);
	text-decoration: none; cursor: pointer; white-space: nowrap;
}
.petp-chip:hover { color: var(--petp-text); border-color: #9aa5c4; }
.petp-chip.is-active { background: var(--petp-g-blue); color: var(--petp-on-blue); border-color: var(--petp-blue); box-shadow: var(--petp-shadow-btn-blue); }
.petp-chip--sub { min-height: 36px; padding: 6px 12px; font-size: .875rem; }
.petp-chip-count { font-weight: 700; opacity: .75; }
.petp-chips--attrs { margin-top: 0; }
.petp-chip--attr { gap: 6px; }
.petp-chip--attr .petp-icon { flex: none; }
/* Etiqueta del grupo de características (en el panel C ya la pone el panel). */
.petp-filterbox > .petp-fgroup[data-fgroup="attrs"]::before {
	content: attr(data-label); display: block; margin: 10px 0 2px; font-weight: 800; font-size: 1rem; color: var(--petp-text);
}

/* --- Mosaicos de categoría ---------------------------------------------- */
/* Son .petp-chip para que filters.js (A/B/C) funcione igual. El ancho mínimo va en rem: con "AA" caben menos por renglón. */
.petp-filterbox .petp-tiles, .petp-tiles {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(4.4rem, 1fr)); gap: 10px;
	overflow: visible; margin: 0; padding: 0;
}
.petp-tile {
	flex-direction: column; justify-content: center; gap: 4px; min-width: 0; min-height: 92px; padding: 12px 4px 10px;
	border-radius: 16px; border: 1px solid rgba(20, 26, 51, .12); white-space: normal; text-align: center;
	background: linear-gradient(180deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, 0) 50%), var(--petp-tile, linear-gradient(180deg, #eef1f8 0%, #d9deec 100%));
	box-shadow: inset 0 1px 0 #ffffff, 0 2px 8px rgba(20, 26, 51, .07); color: var(--petp-text);
}
.petp-tile .petp-icon { order: -1; width: 28px; height: 28px; stroke-width: 2; }
.petp-tile-name { font-size: .8125rem; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; hyphens: auto; }
.petp-tile .petp-chip-count { font-size: .75rem; opacity: 1; }
.petp-tile:hover { border-color: rgba(20, 26, 51, .3); }
.petp-tile.is-active {
	background: linear-gradient(180deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, 0) 50%), var(--petp-tile, linear-gradient(180deg, #eef1f8 0%, #d9deec 100%));
	color: var(--petp-text); border-color: var(--petp-blue);
	box-shadow: var(--petp-ring, inset 0 1px 0 #ffffff, 0 0 0 2px var(--petp-blue), 0 4px 12px rgba(36, 73, 224, .25));
}
.petp-tile--durazno { --petp-tile: linear-gradient(180deg, #ffe9dd 0%, #ffd3bc 100%); }
.petp-tile--lila { --petp-tile: linear-gradient(180deg, #f6e8ff 0%, #e6ccfa 100%); }
.petp-tile--cielo { --petp-tile: linear-gradient(180deg, #e2f5ff 0%, #bfe4fa 100%); }
.petp-tile--menta { --petp-tile: linear-gradient(180deg, #e5f8ea 0%, #c3ebcf 100%); }
.petp-tile--mantequilla { --petp-tile: linear-gradient(180deg, #fff7d6 0%, #fce79a 100%); }
.petp-tile--rosa { --petp-tile: linear-gradient(180deg, #ffe8ec 0%, #fac9d2 100%); }
.petp-tile--acero { --petp-tile: linear-gradient(180deg, #eef1f8 0%, #d9deec 100%); }
.petp-tile--arena { --petp-tile: linear-gradient(180deg, #fff0dc 0%, #fbdbb0 100%); }
.petp-tile--lima { --petp-tile: linear-gradient(180deg, #f2fadc 0%, #d9efa6 100%); }
.petp-tile--aqua { --petp-tile: linear-gradient(180deg, #ddf7f4 0%, #b2e9e2 100%); }
/* "Todas": si no hay filtro sobra (se oculta); con un filtro elegido es una barra para volver a ver todo. */
.petp-tile--all.is-active { display: none; }
.petp-tile--all {
	grid-column: 1 / -1; flex-direction: row; min-height: 44px; padding: 8px 14px; border-radius: 14px;
	background: var(--petp-g-white); border-color: var(--petp-line-2);
}
.petp-tile--all .petp-icon { width: 20px; height: 20px; }
.petp-tile--all .petp-tile-name { font-size: .9rem; }
.petp-tiles .petp-more { min-height: 92px; border-radius: 16px; white-space: normal; justify-content: center; }
.petp-fsheet-body .petp-tiles { margin-top: 6px; }

/* --- Filtros del buscador (diseños A/B/C, ver assets/js/filters.js) ---- */
/* A (y sin JavaScript): todos visibles, bajan de renglón. */
.petp-filterbox .petp-chips, .petp-fgroup .petp-chips { flex-wrap: wrap; overflow: visible; }
.petp-fgroup .petp-chips--sub { margin-top: 12px; }
/* B: lo que no cabe en 2 renglones se oculta hasta tocar "+N más". */
.petp-chip.is-overflow { display: none; }
.petp-fgroup.is-expanded .petp-chip.is-overflow { display: inline-flex; }
.petp-more { background: var(--petp-surface); color: var(--petp-link); border: 1.5px solid currentColor; box-shadow: none; font-weight: 800; cursor: pointer; }
/* C: botón "Filtros", etiquetas de filtros activos y panel desde abajo. */
.petp-filter-open {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; padding: 8px 16px;
	border: 1px solid var(--petp-line-2); border-radius: 999px; background: var(--petp-g-white); color: var(--petp-text);
	box-shadow: var(--petp-shadow-btn-white); font: 800 .95rem/1.2 var(--petp-font); cursor: pointer;
}
.petp-filter-count {
	display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
	background: var(--petp-g-blue); color: var(--petp-on-blue); font-size: .78rem;
}
.petp-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.petp-pill {
	display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border-radius: 999px;
	background: var(--petp-g-blue); color: var(--petp-on-blue); font-weight: 700; font-size: .9rem; text-decoration: none; box-shadow: var(--petp-shadow-btn-blue);
}
.petp-pill:hover { color: var(--petp-on-blue); }
.petp-fsheet { position: fixed; inset: 0; z-index: 60; }
.petp-fsheet[hidden] { display: none; }
.petp-fsheet-backdrop { position: absolute; inset: 0; background: rgba(20, 26, 51, .55); }
.petp-fsheet-panel {
	position: absolute; left: 0; right: 0; bottom: 0; max-height: 85vh; display: flex; flex-direction: column;
	background: var(--petp-bg); color: var(--petp-text); border-radius: 24px 24px 0 0;
	box-shadow: 0 -10px 30px rgba(20, 26, 51, .25); animation: petp-sheet .2s ease-out;
	padding-bottom: env(safe-area-inset-bottom);
}
.petp-fsheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 6px; }
.petp-fsheet-head h2 { margin: 0; font-size: 1.25rem; }
.petp-fsheet-x {
	width: 44px; height: 44px; border: 1px solid var(--petp-line-2); border-radius: 50%; background: var(--petp-g-white); color: var(--petp-text);
	font-size: 1.1rem; cursor: pointer;
}
.petp-fsheet-body { overflow: auto; padding: 0 16px 8px; }
.petp-fsheet-body .petp-fgroup::before {
	content: attr(data-label); display: block; margin: 14px 0 2px; font-weight: 800; font-size: 1rem; color: var(--petp-text);
}
.petp-fsheet-body .petp-chip { min-height: 44px; }
.petp-fsheet-body .petp-tile { min-height: 92px; }
.petp-fsheet-foot { padding: 10px 16px 14px; border-top: 1px solid var(--petp-line); }
.petp-fsheet-foot .petp-btn { width: 100%; }
@keyframes petp-sheet { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .petp-fsheet-panel { animation: none; } }

/* --- Resultados --------------------------------------------------------- */
.petp-results { margin-top: 22px; }
.petp-results-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.petp-results-head .petp-h2 { margin-right: auto; }
.petp-results-count { font-size: .875rem; color: var(--petp-text); font-weight: 800; }
.petp-clear { font-size: .9rem; font-weight: 700; flex-basis: 100%; }
.petp-near-status { color: var(--petp-muted); font-size: .9rem; font-weight: 600; margin: 6px 0 0; }

.petp-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 12px; }
@media (min-width: 640px) { .petp-grid { grid-template-columns: 1fr 1fr; } }

/* --- Tarjeta de negocio ------------------------------------------------- */
.petp-card-local {
	position: relative; display: flex; align-items: stretch; overflow: hidden;
	background: var(--petp-card-bg); border: 1px solid var(--petp-line); border-radius: var(--petp-radius); box-shadow: var(--petp-shadow);
}
.petp-card-local.is-sponsored { border-color: #e0b030; box-shadow: inset 0 0 0 1px #e0b030, var(--petp-shadow); }
.petp-card-local.has-photo { flex-direction: column; }
.petp-card-photo { position: relative; overflow: hidden; display: grid; place-items: center; height: 140px; background: var(--petp-surface-2); }
.petp-card-photo > img:not(.petp-card-photo-logo) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.petp-card-photo.is-band { background: var(--petp-sheen), var(--petp-accent); }
.petp-card-photo .petp-card-photo-logo {
	width: 72px; height: 72px; border-radius: 18px; border: 3px solid #fff; background: #fff; box-shadow: 0 4px 12px rgba(20, 26, 51, .2);
}
.petp-card-photo-initial { color: #fff; font-size: 3rem; font-weight: 800; line-height: 1; text-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.petp-card-link { flex: 1; display: flex; gap: 12px; padding: 14px; color: inherit; text-decoration: none; min-width: 0; }
.petp-card-logo {
	flex: none; width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: var(--petp-surface-2);
	display: grid; place-items: center;
}
.petp-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.petp-initial {
	display: grid; place-items: center; width: 100%; height: 100%;
	background: var(--petp-sheen), var(--petp-accent); color: var(--petp-on-accent); font-weight: 800; font-size: 1.4rem;
}
.petp-card-body { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.petp-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.petp-card-name { min-width: 0; font-weight: 800; font-size: 1.1875rem; line-height: 1.2; color: var(--petp-text); text-decoration: none; overflow-wrap: anywhere; }
.petp-card-local.is-compact .petp-card-name { font-size: 1.0625rem; }
/* Enlace "estirado": toda la tarjeta abre el local; los íconos y WhatsApp quedan encima con su propio enlace. */
.petp-card-name::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.petp-card-name:hover { color: var(--petp-text); }
.petp-card-name:focus-visible { outline: none; }
.petp-card-local:has(.petp-card-name:focus-visible) { outline: 3px solid var(--petp-blue); outline-offset: 2px; }
.petp-card-local:hover .petp-card-name { text-decoration: underline; text-underline-offset: 3px; }
.petp-card-meta { color: var(--petp-muted); font-size: .9375rem; font-weight: 600; }
.petp-card-local.is-compact .petp-card-meta { font-size: .875rem; }
.petp-card-promo {
	display: flex; align-items: flex-start; gap: 6px; margin-top: 2px; color: var(--petp-promo);
	font-weight: 700; font-size: .9375rem; line-height: 1.3;
}
.petp-card-promo .petp-icon { width: 16px; height: 16px; margin-top: 2px; }
.petp-card-promo.is-soon, .petp-card-promo.is-off { color: var(--petp-muted); font-weight: 600; }
/* WhatsApp: botón redondo verde. Con foto va sobre la foto; en la versión compacta, a la derecha. */
.petp-card-wa {
	position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 48px; height: 48px; margin: auto 12px auto 0;
	border-radius: 50%; color: #fff; background: var(--petp-g-green); text-decoration: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 3px 8px rgba(26, 110, 46, .3);
}
.petp-card-wa:hover { color: #fff; filter: brightness(1.08); }
.petp-card-local.has-photo .petp-card-wa { position: absolute; top: 10px; right: 10px; margin: 0; border: 2px solid var(--petp-wa-line, #fff); }

.petp-empty {
	background: var(--petp-card-bg); border: 1px solid var(--petp-line); border-radius: var(--petp-radius); padding: 24px; text-align: center; margin-top: 12px;
}
.petp-empty--page { margin: 32px 0; padding: 40px 20px; }

/* Vista previa de un negocio aún no autorizado. */
.petp-preview-bar { position: sticky; top: 0; z-index: 50; margin: 0 0 12px; padding: 12px 16px; border-radius: 0 0 12px 12px; background: #fff4d6; color: #4a3200; border: 2px solid #e0a800; border-top: 0; font-size: 1rem; line-height: 1.4; text-align: center; }

/* --- Banner de anuncio -------------------------------------------------- */
.petp-banner { grid-column: 1 / -1; }
.petp-banner--top { margin: 0 0 20px; }
.petp-banner-item {
	display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--petp-radius);
	background: var(--petp-surface); border: 1px dashed var(--petp-banner-line, #9aa5c4);
}
.petp-banner-item img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--petp-radius-sm); }
.petp-banner-body { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.petp-banner-body p { color: var(--petp-muted); font-size: .9rem; margin: 0; }
/* Bloque "Patrocinado" en la página del negocio. */
.petp-sponsored-ads { gap: 8px; }
.petp-sponsored-ads-head { display: flex; align-items: center; gap: 8px; margin: 0; }
.petp-sponsored-ads-note { color: var(--petp-muted); font-size: .8125rem; font-weight: 700; }
.petp-sponsored-ads-list { display: grid; gap: 12px; }
.petp-ad-card {
	display: flex; flex-direction: column; overflow: hidden; border-radius: var(--petp-radius);
	background: var(--petp-card-bg); border: 1px dashed var(--petp-banner-line, #9aa5c4); box-shadow: var(--petp-shadow);
}
.petp-ad-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.petp-ad-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px 16px; }
.petp-ad-card-body h3 { margin: 0; font-size: 1.125rem; overflow-wrap: anywhere; }
.petp-ad-card-body p { margin: 0; color: var(--petp-muted); font-size: .9375rem; }
.petp-ad-card-label { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--petp-muted); }
@media (min-width: 720px) {
	.petp-ad-card { flex-direction: row; }
	.petp-ad-card-img { width: 36%; aspect-ratio: auto; }
	.petp-sponsored-ads-list { grid-template-columns: 1fr; }
}
.petp-banner-label { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--petp-muted); }

/* --- Plazas (inicio) ---------------------------------------------------- */
.petp-plazas { margin-top: 32px; }
.petp-plazas h2 { margin-bottom: 12px; }
.petp-plaza-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.petp-plaza-list a {
	display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 14px 16px; background: var(--petp-card-bg);
	border: 1px solid var(--petp-line); border-radius: 16px; color: var(--petp-text); text-decoration: none; font-weight: 800; box-shadow: var(--petp-shadow);
}
.petp-plaza-list a .petp-icon:first-child { color: var(--petp-blue); }
.petp-plaza-list a .petp-icon:last-child { margin-left: auto; color: var(--petp-muted); }

/* --- Portada de plaza --------------------------------------------------- */
.petp-plaza-head { padding: 18px 0 4px; }
.petp-plaza-cover { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--petp-radius); margin-bottom: 14px; }
.petp-plaza-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--petp-text); font-weight: 700; }
.petp-plaza-address { display: flex; gap: 6px; color: var(--petp-muted); font-weight: 600; }
.petp-from { background: var(--petp-surface); border: 1px solid var(--petp-line); padding: 8px 12px; border-radius: 12px; display: inline-block; font-weight: 600; }
.petp-section--spaced { margin-top: 24px; }

/* --- Página del negocio ------------------------------------------------- */
.petp-local { display: flex; flex-direction: column; gap: 24px; }

.petp-local-hero { position: relative; }
.petp-cover {
	height: 200px; margin: 0 calc(-1 * var(--petp-gap)); overflow: hidden;
	background: var(--petp-sheen), var(--petp-accent);
}
.petp-cover img { width: 100%; height: 100%; object-fit: cover; }
.petp-local-card {
	position: relative; margin: -40px -2px 0; padding: 0 16px 18px; display: flex; flex-direction: column; gap: 12px;
	background: var(--petp-card-bg); border: 1px solid var(--petp-line); border-radius: 24px;
	box-shadow: inset 0 1px 0 #ffffff, 0 12px 28px rgba(20, 26, 51, .10);
}
.petp-local-id { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.petp-logo {
	flex: none; width: 80px; height: 80px; margin-top: -40px; border-radius: 22px; overflow: hidden; background: #fff;
	border: 4px solid var(--petp-logo-line, #fff); box-shadow: 0 6px 16px rgba(20, 26, 51, .18); display: grid; place-items: center;
}
.petp-logo img { width: 100%; height: 100%; object-fit: cover; }
.petp-logo .petp-initial { font-size: 2.1rem; }
/* Fila de fotos secundarias (hasta 10) en el lugar del cuadro pequeño: se desliza a la derecha. */
.petp-photo-row {
	list-style: none; display: flex; gap: 10px; width: calc(100% + 32px); margin: -40px -16px 0; padding: 0 16px 8px;
	overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.petp-photo-row::-webkit-scrollbar { display: none; }
.petp-photo-row li { flex: none; scroll-snap-align: start; }
.petp-photo-row li:last-child { padding-right: 16px; }
.petp-photo-row .petp-logo { margin-top: 0; display: grid; }
.petp-photo-row .petp-logo:focus-visible { outline-offset: -4px; }
.petp-local-card.no-thumb { padding-top: 18px; }
.petp-local-titles { min-width: 0; }
.petp-local-titles h1 { font-size: 1.875rem; line-height: 1.12; margin: 0; overflow-wrap: anywhere; }
.petp-local-sub { margin: 6px 0 0; color: var(--petp-muted); font-size: 1rem; font-weight: 600; }
.petp-local-sub a { color: var(--petp-muted); font-weight: 700; }
.petp-local-status { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.petp-local-status .petp-badge { font-size: .875rem; padding: 5px 12px; }
.petp-local-status .petp-badge--open { background: var(--petp-g-green); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.petp-local-status .petp-badge--closed { background: var(--petp-closed-bg, #e6e9f2); color: var(--petp-text); }
.petp-local-today { font-size: 1rem; font-weight: 700; }

.petp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.petp-actions .petp-btn { flex: 1 1 9rem; min-height: 54px; padding: 10px 12px; border-radius: 16px; white-space: nowrap; }
.petp-actions .petp-btn--wa { flex-basis: 100%; }
/* Redes del negocio: botones cuadrados solo con el ícono (blanco sobre el color de cada red), junto a "Cómo llegar".
   Van en su propio grupo: si no caben al lado, bajan a su renglón centrados. */
.petp-social-row { flex: 1 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.petp-actions .petp-btn--icon {
	flex: 0 0 54px; width: 54px; height: 54px; min-height: 54px; padding: 0; aspect-ratio: 1 / 1;
	display: grid; place-items: center; color: #fff; border: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 8px rgba(20, 26, 51, .2);
}
.petp-actions .petp-btn--icon:hover, .petp-actions .petp-btn--icon:focus-visible { color: #fff; filter: brightness(1.08); }
.petp-btn--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.petp-btn--facebook { background: #1877f2; }
.petp-btn--tiktok { background: #000; }
.petp-btn--web { background: var(--petp-g-blue); }
.petp-btn--icon .petp-icon { width: 24px; height: 24px; margin: 0; color: #fff; }
.petp-social-img { width: 24px; height: 24px; display: block; }
.petp-brand-icon { display: block; flex: 0 0 auto; fill: currentColor; stroke: none; }
.petp-btn--wa .petp-brand-icon { width: 22px; height: 22px; color: #fff; }
.petp-btn--icon .petp-brand-icon { width: 26px; height: 26px; color: #fff; }

/* Bloques sin caja (promos, acerca de, cerca) y tarjetas (horario, redes, ubicación). */
.petp-block { display: flex; flex-direction: column; gap: 10px; }
.petp-block > h2, .petp-block-head h2 { margin: 0; }
.petp-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.petp-block-head a { font-weight: 800; font-size: .9375rem; }
.petp-section {
	background: var(--petp-card-bg); border: 1px solid var(--petp-line); border-radius: var(--petp-radius); padding: 16px;
	box-shadow: inset 0 1px 0 #ffffff, 0 6px 16px rgba(20, 26, 51, .05);
}
.petp-section > h2 { margin-bottom: 12px; }
.petp-location p { font-size: 1rem; }
/* Tarjetas desplegables (horario y ubicación en la página del negocio): cerradas al cargar. */
.petp-collapse { padding: 0; }
.petp-collapse > summary {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	min-height: 56px; padding: 14px 16px; cursor: pointer; list-style: none; border-radius: var(--petp-radius);
}
.petp-collapse > summary::-webkit-details-marker { display: none; }
.petp-collapse > summary:focus-visible { outline: 3px solid var(--petp-blue); outline-offset: 2px; }
.petp-collapse-head { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.petp-collapse-head h2 { margin: 0; }
.petp-collapse-peek { color: var(--petp-muted); font-size: .9375rem; font-weight: 700; overflow-wrap: anywhere; }
.petp-collapse[open] .petp-collapse-peek { display: none; }
.petp-collapse-icon {
	flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--petp-g-white); border: 1px solid var(--petp-line-2);
	display: grid; place-items: center; color: var(--petp-text);
}
.petp-collapse-icon::before {
	content: ""; width: 9px; height: 9px; margin-top: -4px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
	transform: rotate(45deg); transition: transform .2s ease;
}
.petp-collapse[open] .petp-collapse-icon::before { transform: rotate(-135deg); margin-top: 4px; }
.petp-collapse-body { padding: 0 16px 16px; }
@media (prefers-reduced-motion: reduce) { .petp-collapse-icon::before { transition: none; } }

.petp-promo-list { display: grid; gap: 12px; }
.petp-promo {
	display: flex; flex-direction: column; overflow: hidden; border-radius: var(--petp-radius);
	background: var(--petp-promo-bg, linear-gradient(180deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 50%), linear-gradient(180deg, #fff4e6 0%, #ffe0bd 100%));
	border: 1px solid var(--petp-promo-line, #f3c38e); box-shadow: var(--petp-promo-shadow, inset 0 1px 0 #ffffff, 0 6px 16px rgba(194, 65, 12, .12));
}
.petp-promo.is-soon {
	background: var(--petp-promo-soon-bg, linear-gradient(180deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 50%), linear-gradient(180deg, #f1f4ff 0%, #dde5ff 100%));
	border-color: var(--petp-promo-soon-line, #c2cdf5); box-shadow: var(--petp-promo-soon-shadow, inset 0 1px 0 #ffffff, 0 6px 16px rgba(36, 73, 224, .08));
}
.petp-promo.is-off { background: var(--petp-card-bg); border-color: var(--petp-line); box-shadow: var(--petp-promo-off-shadow, var(--petp-shadow)); }
.petp-promo-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.petp-promo-body { display: flex; gap: 12px; padding: 16px; }
.petp-promo-mark {
	flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff;
	background: var(--petp-sheen-soft), linear-gradient(180deg, #e0661f 0%, #b8400c 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}
.petp-promo.is-soon .petp-promo-mark { background: var(--petp-g-blue); }
.petp-promo.is-off .petp-promo-mark { background: linear-gradient(180deg, #8b93ad 0%, #5b6380 100%); }
.petp-promo-mark .petp-icon { width: 24px; height: 24px; }
.petp-promo-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.petp-promo-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.petp-promo-type { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--petp-promo-text, #5a3a1f); }
.petp-promo.is-soon .petp-promo-type, .petp-promo.is-off .petp-promo-type { color: var(--petp-muted); }
.petp-promo h3 { font-size: 1.1875rem; line-height: 1.2; margin: 2px 0 0; overflow-wrap: anywhere; }
.petp-promo .petp-prose { font-size: 1rem; }
.petp-promo-when { display: flex; gap: 6px; color: var(--petp-promo-text, #5a3a1f); font-size: .9375rem; font-weight: 600; margin: 2px 0 0; }
.petp-promo.is-soon .petp-promo-when, .petp-promo.is-off .petp-promo-when { color: var(--petp-muted); }
.petp-promo-when .petp-icon { width: 18px; height: 18px; margin-top: 2px; }
/* Promoción de otro negocio de la plaza: arriba, de quién es (lleva a su página). */
.petp-promo-local {
	display: flex; align-items: center; gap: 10px; padding: 10px 14px; text-decoration: none; color: var(--petp-text);
	background: var(--petp-card-bg); border-bottom: 1px solid var(--petp-promo-line, #f3c38e);
}
.petp-promo-local:hover, .petp-promo-local:focus-visible { color: var(--petp-text); }
.petp-promo-local:focus-visible { outline: 3px solid var(--petp-blue); outline-offset: -3px; }
.petp-promo-local-logo { flex: none; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; border: 1px solid var(--petp-line); background: #fff; }
.petp-promo-local-logo img { width: 100%; height: 100%; object-fit: cover; }
.petp-promo-local-logo .petp-initial { font-size: 1.1rem; }
.petp-promo-local-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.petp-promo-local-name { font-weight: 800; font-size: 1rem; overflow-wrap: anywhere; }
.petp-promo-local-where { color: var(--petp-muted); font-size: .875rem; font-weight: 600; }
.petp-promo-local-go { flex: none; color: var(--petp-muted); display: inline-flex; }
.petp-promo-local-go .petp-icon { width: 20px; height: 20px; }
.petp-promo.is-soon .petp-promo-local { border-bottom-color: var(--petp-promo-soon-line, #c2cdf5); }
.petp-promo.is-off .petp-promo-local { border-bottom-color: var(--petp-line); }
@media (min-width: 720px) {
	.petp-promo--other { flex-wrap: wrap; flex-direction: row; }
	.petp-promo--other .petp-promo-local { flex-basis: 100%; }
}

.petp-prose { font-size: 1.0625rem; line-height: 1.55; }
.petp-prose p:last-child { margin-bottom: 0; }

/* Horario: el día de hoy resaltado en azul. */
.petp-hours-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.petp-hours-table th, .petp-hours-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--petp-line); font-weight: 600; }
.petp-hours-table td { text-align: right; }
.petp-hours-table tr:last-child th, .petp-hours-table tr:last-child td { border-bottom: 0; }
.petp-hours-table .is-today th, .petp-hours-table .is-today td {
	font-weight: 800; color: var(--petp-on-blue); background: var(--petp-g-blue); border-bottom-color: transparent;
}
.petp-hours-table .is-today th { border-radius: 12px 0 0 12px; }
.petp-hours-table .is-today td { border-radius: 0 12px 12px 0; }
.petp-today { font-size: .8rem; font-weight: 800; margin-left: 4px; color: inherit; }

.petp-social-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.petp-nearby .petp-grid { margin: 4px 0 0; gap: 10px; }
.petp-nearby .petp-sponsored { margin: 8px 0 0; }
.petp-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }

.petp-fab {
	position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 20;
	display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 20px; border-radius: 999px;
	background: var(--petp-g-dark); color: #fff; font-weight: 800; text-decoration: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 22px rgba(20, 26, 51, .35);
}
.petp-fab:hover { color: #fff; }

/* --- Popup de anuncio --------------------------------------------------- */
.petp-popup { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.petp-popup-backdrop { position: absolute; inset: 0; background: rgba(20, 26, 51, .6); }
.petp-popup-dialog {
	position: relative; width: 100%; max-width: 380px; max-height: calc(100vh - 32px); overflow: auto;
	background: var(--petp-card-bg); color: var(--petp-text); border-radius: 24px; padding: 20px; text-align: center;
	box-shadow: 0 20px 50px rgba(20, 26, 51, .35); animation: petp-pop .18s ease-out;
}
.petp-popup-close {
	position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 1px solid var(--petp-line-2); border-radius: 50%;
	background: var(--petp-g-white); color: var(--petp-text); display: grid; place-items: center; cursor: pointer;
}
.petp-popup-img { width: 100%; border-radius: 16px; margin: 8px 0 12px; aspect-ratio: 4 / 3; object-fit: cover; }
.petp-popup-title { font-size: 1.3rem; margin: 8px 32px 8px; }
.petp-popup-text { color: var(--petp-muted); font-weight: 600; }
.petp-popup-cta { width: 100%; margin-top: 8px; min-height: 52px; }
.petp-popup-skip { margin-top: 8px; border: 0; background: none; color: var(--petp-muted); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 10px; }
@keyframes petp-pop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .petp-popup-dialog { animation: none; } html { scroll-behavior: auto; } }

/* --- Pie ---------------------------------------------------------------- */
.petp-footer { text-align: center; color: var(--petp-muted); font-size: .875rem; font-weight: 600; padding: 24px var(--petp-gap) 96px; }
.petp-footer a { color: inherit; }
.petp-footer-small { font-size: .8rem; max-width: 48ch; margin: 0 auto; }

/* --- Pantallas grandes -------------------------------------------------- */
@media (min-width: 720px) {
	h1 { font-size: 2rem; }
	.petp-hero h1 { font-size: 2.2rem; }
	.petp-cover { margin: 16px 0 0; height: 260px; border-radius: 24px; }
	.petp-local-card { margin: -48px 24px 0; }
	.petp-actions .petp-btn--wa { flex-basis: 9rem; }
	.petp-promo { flex-direction: row; }
	.petp-promo-img { width: 40%; aspect-ratio: auto; }
	.petp-fab { display: none; }
	.petp-promo-hero-img { width: 180px; }
}

/* --- Patrocinados (plan Destacado) --------------------------------------- */
.petp-sponsored { margin: 12px 0 8px; padding: 12px; border-radius: var(--petp-radius); background: var(--petp-spons-box-bg, #fff8e1); border: 1px solid var(--petp-spons-box-line, #f1dfa6); }
.petp-sponsored .petp-grid { margin-top: 8px; }
.petp-sponsored-title { font-size: 1rem; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: var(--petp-spons-text, #5c3f00); }
.petp-sponsored-note { font-size: .8rem; font-weight: 600; color: var(--petp-muted); }
.petp-sponsored-cta { font-size: .85rem; font-weight: 700; color: var(--petp-link, #2449e0); text-decoration: underline; }

/* --- Características -------------------------------------------------- */
.petp-attrs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.petp-attr {
	display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px 4px 10px; border-radius: 999px;
	background: var(--petp-g-white); border: 1px solid var(--petp-line-2); box-shadow: inset 0 1px 0 #ffffff; font-size: .875rem; font-weight: 700;
}
.petp-attr .petp-icon { color: var(--petp-text); }
a.petp-attr { color: var(--petp-text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.petp-attr:hover, a.petp-attr:focus-visible { border-color: var(--petp-blue); box-shadow: inset 0 0 0 1px var(--petp-blue); }
.petp-card-attrs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; color: var(--petp-text); }
.petp-card-attr {
	position: relative; z-index: 1; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
	background: var(--petp-g-white); border: 1px solid var(--petp-line-2); color: inherit; text-decoration: none; transition: border-color .15s, color .15s;
}
.petp-card-attr:hover, .petp-card-attr:focus-visible { color: var(--petp-blue); border-color: var(--petp-blue); box-shadow: inset 0 0 0 1px var(--petp-blue); outline: none; }
/* Ubicación respecto a la plaza de referencia */
.petp-here {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 4px;
	padding: 4px 11px; border-radius: 999px; background: var(--petp-g-green); color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); font-weight: 800; font-size: .8125rem; line-height: 1.35; white-space: nowrap;
}
.petp-near-btn {
	position: relative; z-index: 1; align-self: flex-start; display: inline-flex; align-items: center; gap: 5px;
	padding: 4px 11px 4px 9px; border-radius: 999px; background: var(--petp-g-orange); color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); font-weight: 800; font-size: .8125rem; text-decoration: none; line-height: 1.35; white-space: nowrap;
}
.petp-near-btn .petp-icon { width: 15px; height: 15px; }
.petp-near-btn:hover, .petp-near-btn:focus-visible { color: #fff; filter: brightness(.94); }
.petp-near-ref {
	display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0 8px; color: var(--petp-muted); font-size: .9rem; font-weight: 600;
}
.petp-near-ref .petp-icon { width: 18px; height: 18px; }
.petp-near-ref a { font-weight: 800; }

/* --- Barra de look de temporada (colores en assets/css/season-*.css) ---- */
.petp-season-ribbon {
	display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px var(--petp-gap);
	background: var(--petp-ribbon-bg, #141a33); color: var(--petp-ribbon-text, #fff); font-size: 14px; font-weight: 800; line-height: 1.3; text-align: center;
}
.petp-season-preview {
	display: block; padding: 6px var(--petp-gap); background: #141a33; color: #fff; font-size: 13px; font-weight: 700; text-align: center;
}
.petp-season-preview a { color: #ffd0a1; }


/* --- Acciones del negocio ("¿Qué quieres hacer?") ------------------------- */
.petp-acts-list { display: flex; flex-direction: column; gap: 10px; }
.petp-act-btn {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 58px; padding: 12px 18px;
	border: 2px solid var(--petp-soft-line); border-radius: var(--petp-radius-sm); background: var(--petp-g-soft); color: var(--petp-text);
	font: inherit; font-size: 1.05rem; font-weight: 800; text-align: left; cursor: pointer;
}
.petp-act-btn:hover, .petp-act-btn:focus-visible { border-color: var(--petp-blue); }
.petp-act-btn .petp-icon { flex: 0 0 auto; color: var(--petp-link); }
.petp-act-dialog { max-width: 420px; }
/* Personalización (prefs.js): Para ti, favoritos, historial, Mis intereses */
.petp-foryou { margin: 18px 0 8px; }
.petp-foryou-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.petp-foryou-edit, .petp-foryou-later, .petp-footer-prefs { border: 0; background: none; color: var(--petp-link); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 6px 0; }
.petp-foryou-later { color: var(--petp-muted); }
.petp-foryou-cta { padding: 16px; border-radius: var(--petp-radius); border: 2px dashed var(--petp-soft-line); background: var(--petp-surface); }
.petp-foryou-cta p { margin: 0 0 10px; font-weight: 700; font-size: 1.05rem; }
.petp-foryou-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.petp-foryou-row .petp-btn { min-height: 48px; }
.petp-foryou-sub { margin: 16px 0 6px; font-size: 1rem; }
.petp-foryou-chips { flex-wrap: wrap; }
.petp-foryou-empty { color: var(--petp-muted); font-weight: 600; }
.petp-fav { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; margin: 6px 0 10px; padding: 0 16px; border: 2px solid var(--petp-soft-line); border-radius: 999px; background: var(--petp-surface); color: var(--petp-text); font: inherit; font-weight: 700; cursor: pointer; }
.petp-fav[aria-pressed="true"] { border-color: #d63a5a; color: #d63a5a; }
.petp-fav[aria-pressed="true"] svg { fill: currentColor; }
.petp-prefs .petp-popup-dialog { max-width: 460px; text-align: left; }
.petp-prefs-help { color: var(--petp-muted); font-weight: 600; margin: 0 0 12px; }
.petp-prefs-list { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.petp-prefs-opt { position: relative; }
.petp-prefs-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.petp-prefs-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--petp-soft-line); background: var(--petp-surface); font-weight: 700; cursor: pointer; }
.petp-prefs-opt input:checked + span { border-color: var(--petp-blue); background: var(--petp-blue); color: #fff; }
.petp-prefs-opt input:focus-visible + span { outline: 3px solid var(--petp-blue); outline-offset: 2px; }
.petp-prefs-save { width: 100%; min-height: 52px; }
.petp-prefs-push { margin: 0 0 14px; padding: 12px; border: 1px solid var(--petp-line, rgba(127,127,127,.3)); border-radius: 12px; }
.petp-prefs-check { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 700; cursor: pointer; }
.petp-prefs-check input { width: 22px; height: 22px; flex: none; accent-color: var(--petp-blue); }
.petp-prefs-check input:disabled + span { opacity: .6; }
.petp-prefs-push .petp-prefs-help { margin: 8px 0 0; }
.petp-prefs-msg { margin: 8px 0 0; font-weight: 700; color: #16823a; }
.petp-prefs-msg:empty { display: none; }
.petp-prefs-confirm { margin-top: 8px; padding: 12px; border-radius: 12px; background: var(--petp-surface-2, #f2f5fb); }
.petp-prefs-confirm p { margin: 0 0 10px; }
/* "¿Quieres dejarle una reseña?" (review.js) */
.petp-review-toast { position: fixed; left: 12px; right: 12px; bottom: 16px; z-index: 60; max-width: 440px; margin: 0 auto; padding: 16px; border-radius: var(--petp-radius); background: var(--petp-surface); color: var(--petp-text); box-shadow: 0 8px 30px rgba(20, 26, 51, .25); border: 1px solid var(--petp-soft-line); }
.petp-review-toast p { margin: 0 0 12px; font-weight: 600; }
.petp-review-toast-row { display: flex; gap: 10px; align-items: center; }
.petp-review-toast-row .petp-btn { flex: 1; min-height: 48px; }
.petp-review-toast-no { min-height: 48px; padding: 0 14px; border: 0; background: none; color: var(--petp-muted); font: inherit; font-weight: 700; cursor: pointer; }
/* Tarjeta de lealtad en la página del negocio */
.petp-loy-lead { font-size: 1.1rem; margin: 0 0 6px; }
.petp-loy-rule { margin: 0 0 6px; color: var(--petp-muted); font-weight: 600; }
.petp-loy-form { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.petp-loy-label { flex: 1 0 100%; font-weight: 700; }
.petp-loy-form input { flex: 1 1 12rem; min-height: 50px; padding: 0 14px; border: 2px solid var(--petp-soft-line); border-radius: 14px; font: inherit; font-size: 1.05rem; background: var(--petp-surface); color: var(--petp-text); }
.petp-loy-form .petp-btn { min-height: 50px; }
.petp-loy-out { margin-top: 10px; font-weight: 700; }
.petp-loy-out p { margin: 6px 0 0; }
.petp-loy-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.petp-loy-dots span { width: 26px; height: 26px; border-radius: 50%; border: 2px dashed var(--petp-soft-line); }
.petp-loy-dots span.is-on { border: 2px solid #1a6e2e; background: #259243; }
/* Asistentes QR en la página del negocio: tarjetas completas, sin abrir nada. */
.petp-act-cards { display: grid; gap: 14px; }
.petp-act-card { overflow: hidden; border: 2px solid var(--petp-soft-line); border-radius: var(--petp-radius); background: var(--petp-surface); }
.petp-act-card-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.petp-act-card-body { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 14px 16px 16px; }
.petp-act-card-title { margin: 0; font-size: 1.15rem; line-height: 1.25; }
.petp-act-card .petp-act-text { margin: 0; }
.petp-act-card .petp-act-until { align-self: flex-start; margin: 0; }
.petp-act-card-cta { margin-top: 4px; width: 100%; min-height: 54px; justify-content: center; font-size: 1.1rem; }
@media (min-width: 720px) { .petp-act-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.petp-act-biz { margin: 4px 40px 0; font-size: .95rem; font-weight: 800; color: var(--petp-muted); }
.petp-act-text { color: var(--petp-text); font-weight: 600; text-align: left; white-space: normal; }
.petp-act-until { display: inline-block; margin: 0 0 6px; padding: 4px 12px; border-radius: 999px; background: var(--petp-surface-2); font-weight: 800; font-size: .95rem; }
.petp-act-dialog .petp-acts-list { margin: 8px 0; }

/* ==========================================================================
   Planes y precios (/precios/). Celular: tarjetas en columna; escritorio: rejilla.
   ========================================================================== */
.petp-price-hero { text-align: center; padding: 8px 0 4px; }
.petp-price-hero h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin-bottom: 8px; }
.petp-price-hero p { max-width: 36rem; margin: 0 auto; color: var(--petp-muted, #3a4260); }
.petp-price-base { margin: 20px 0; padding: 16px 18px; border-radius: var(--petp-radius); background: var(--petp-surface, #fff); box-shadow: 0 1px 3px rgba(20, 26, 51, .08); }
.petp-price-base h2 { font-size: 1.1rem; }
.petp-price-base ul, .petp-price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.petp-price-base li, .petp-price-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.35; }
.petp-price-ico { flex: 0 0 20px; margin-top: 1px; }
.petp-price-ico.is-yes { color: #16823a; }
.petp-price-ico.is-no { color: #9aa3b8; }
.petp-price-list li.is-off { color: var(--petp-muted, #6b7390); }
.petp-price-list small { display: block; font-size: .85rem; font-weight: 500; color: var(--petp-muted, #3a4260); margin-top: 2px; }
.petp-price-grid { display: grid; gap: 16px; }
.petp-price-card { display: flex; flex-direction: column; gap: 12px; padding: 20px 18px; border-radius: var(--petp-radius); background: var(--petp-surface, #fff); box-shadow: 0 2px 10px rgba(20, 26, 51, .08); border: 2px solid transparent; }
.petp-price-card.is-destacado { border-color: var(--petp-blue, #2449e0); }
.petp-price-card.is-soon { border: 2px dashed var(--petp-line, #d7dcea); box-shadow: none; }
.petp-price-card h2 { margin: 0; font-size: 1.35rem; }
.petp-price-amount { margin: 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.petp-price-amount strong { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; }
.petp-price-amount span { color: var(--petp-muted, #3a4260); font-weight: 600; }
.petp-price-tagline { margin: 0; font-weight: 600; }
.petp-price-list-old { color: var(--petp-muted, #6b7390); font-size: 1.1rem; font-weight: 600; }
.petp-price-quote { font-size: 1.6rem !important; }
.petp-price-launch { margin: -4px 0 0; font-size: .85rem; font-weight: 800; color: #16823a; text-transform: uppercase; letter-spacing: .04em; }
.petp-price-annual { margin: 0; font-size: .95rem; color: var(--petp-muted, #3a4260); font-weight: 600; }
.petp-price-plus { margin: 4px 0 0; font-weight: 800; color: var(--petp-blue, #2449e0); }
.petp-price-cta { margin-top: auto; justify-content: center; gap: 8px; }
.petp-price-cta .petp-brand-icon { width: 22px; height: 22px; }
.petp-price-note { text-align: center; margin: 20px 0 8px; font-size: .95rem; color: var(--petp-muted, #3a4260); }
@media (min-width: 720px) { .petp-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .petp-price-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Invitación a instalar el sitio como app (página del negocio). */
.petp-install { padding: 18px; border-radius: var(--petp-radius); background: var(--petp-surface-2, #eef1f8); }
.petp-install h2 { font-size: 1.15rem; margin: 0; }
.petp-install-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.petp-install-logo { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 22%; box-shadow: 0 2px 6px rgba(36, 73, 224, .3); }
.petp-install p { margin: 0 0 10px; }
.petp-install-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.petp-install-ios { margin-top: 10px; font-size: .95rem; }

/* ==========================================================================
   Catálogo (/{plaza}/{negocio}/catalogo/). Celular: una columna con foto grande; escritorio: rejilla.
   ========================================================================== */
.petp-catalog { padding-bottom: 96px; }
.petp-catalog-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.petp-catalog-back { font-weight: 700; text-decoration: none; }
.petp-catalog-title { display: flex; gap: 12px; align-items: center; }
.petp-catalog-title img { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; background: #fff; }
.petp-catalog-title h1 { margin: 0; font-size: 1.7rem; }
.petp-catalog-title p { margin: 2px 0 0; color: var(--petp-muted); font-weight: 600; }
.petp-catalog-chips { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 8px 0; background: var(--petp-bg, transparent); scrollbar-width: none; }
.petp-catalog-chips a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--petp-soft-line); background: var(--petp-surface); color: var(--petp-text); font-weight: 700; text-decoration: none; white-space: nowrap; }
.petp-catalog-group { margin-top: 22px; scroll-margin-top: 64px; }
.petp-catalog-group h2 { font-size: 1.25rem; margin: 0 0 10px; }
.petp-catalog-grid { display: grid; gap: 14px; }
.petp-catalog-item { overflow: hidden; border: 2px solid var(--petp-soft-line); border-radius: var(--petp-radius); background: var(--petp-surface); }
.petp-catalog-item.is-in { border-color: var(--petp-blue, #2449e0); }
.petp-catalog-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.petp-catalog-img--none { display: grid; place-items: center; background: var(--petp-g-soft, #eef2fc); color: var(--petp-muted); font-size: 2.6rem; font-weight: 800; aspect-ratio: 3 / 1; }
.petp-catalog-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.petp-catalog-body h3 { margin: 0; font-size: 1.15rem; line-height: 1.25; }
.petp-catalog-price { margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--petp-link); }
.petp-catalog-text { margin: 0; color: var(--petp-text); white-space: normal; }
.petp-catalog-qty { margin-top: 6px; }
.petp-catalog-add { width: 100%; min-height: 50px; font-size: 1.05rem; }
.petp-catalog-stepper { display: inline-flex; align-items: center; gap: 4px; border: 2px solid var(--petp-soft-line); border-radius: 14px; padding: 3px; }
.petp-catalog-qty .petp-catalog-stepper { display: flex; justify-content: space-between; width: 100%; }
.petp-catalog-qty .petp-catalog-stepper[hidden] { display: none; }
.petp-catalog-stepper button { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--petp-blue, #2449e0); color: #fff; font: 800 1.4rem/1 var(--petp-font); cursor: pointer; }
.petp-catalog-stepper span { min-width: 36px; text-align: center; font-weight: 800; font-size: 1.1rem; }
.petp-catalog-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--petp-surface); box-shadow: 0 -4px 16px rgba(20, 26, 51, .15); }
.petp-catalog-bar .petp-btn { width: 100%; min-height: 56px; font-size: 1.1rem; }
.petp-catalog-note { margin-top: 24px; text-align: center; color: var(--petp-muted); font-weight: 600; }
.petp-catalog-cart .petp-popup-dialog { max-width: 440px; text-align: left; }
.petp-catalog-cart h2 { margin: 6px 48px 12px 0; }
.petp-cart-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.petp-cart-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.petp-cart-name { font-weight: 700; }
.petp-cart-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; font-weight: 700; }
.petp-cart-label small { font-size: .9rem; font-weight: 500; color: var(--petp-muted); }
.petp-cart-field input, .petp-cart-field textarea { font: inherit; padding: 10px 12px; border: 2px solid var(--petp-soft-line); border-radius: 12px; background: var(--petp-surface); color: var(--petp-text); }
.petp-cart-send { width: 100%; min-height: 56px; margin-top: 6px; }
.petp-cart-help { margin: 10px 0 0; font-size: .9rem; color: var(--petp-muted); }
.petp-catalog-link { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; margin: 4px 0 8px; font-size: 1.1rem; }
@media (min-width: 720px) { .petp-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .petp-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Catálogo 0.53.0: encabezado, buscador, colecciones, presentaciones y ficha de producto. */
.petp-catalog-hero { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; padding: 14px; border-radius: var(--petp-radius); background: var(--petp-surface); border: 2px solid var(--petp-soft-line); }
.petp-catalog-hero.has-cover { position: relative; overflow: hidden; color: #fff; border: 0; background: linear-gradient(180deg, rgba(10, 14, 30, .25), rgba(10, 14, 30, .82)), var(--petp-cover) center / cover no-repeat; min-height: 190px; justify-content: flex-end; }
.petp-catalog-hero.has-cover .petp-catalog-back, .petp-catalog-hero.has-cover .petp-catalog-title p, .petp-catalog-hero.has-cover .petp-catalog-tagline { color: #fff; }
.petp-catalog-hero .petp-catalog-back { align-self: flex-start; }
.petp-catalog-hero.has-cover .petp-catalog-back { position: absolute; top: 12px; left: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 14, 30, .55); }
.petp-catalog-title img { width: 64px; height: 64px; }
.petp-catalog-tagline { margin: 0; font-weight: 600; color: var(--petp-muted); }
.petp-catalog-tools { position: sticky; top: 0; z-index: 6; display: flex; flex-direction: column; gap: 8px; padding: 8px 0; background: var(--petp-bg, #f4f6fb); }
.petp-catalog-search { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 14px; border: 2px solid var(--petp-soft-line); border-radius: 14px; background: var(--petp-surface); }
.petp-catalog-search svg { flex: none; width: 22px; height: 22px; color: var(--petp-muted); }
.petp-catalog-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.05rem; color: var(--petp-text); outline: none; }
.petp-catalog-search:focus-within { border-color: var(--petp-blue, #2449e0); }
.petp-catalog-cols { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.petp-catalog-cols button { flex: 0 0 auto; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--petp-soft-line); background: var(--petp-surface); color: var(--petp-text); font: 700 1rem/1 var(--petp-font); cursor: pointer; white-space: nowrap; }
.petp-catalog-cols button small { font-weight: 600; opacity: .7; }
.petp-catalog-cols button[aria-pressed="true"] { background: var(--petp-blue, #2449e0); border-color: var(--petp-blue, #2449e0); color: #fff; }
.petp-catalog-item[hidden] { display: none; }
.petp-catalog-imglink { position: relative; display: block; }
.petp-catalog-star { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: #ffd34d; color: #3a2a00; font-weight: 800; font-size: .85rem; }
.petp-catalog-name { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.petp-catalog-name a { color: var(--petp-text); text-decoration: none; }
.petp-catalog-labels { margin: 0; color: var(--petp-muted); font-weight: 600; }
.petp-catalog-more { align-self: flex-start; font-weight: 700; padding: 6px 0; }
.petp-catalog-out { margin: 6px 0 0; font-weight: 800; color: var(--petp-muted); }
.petp-catalog-select select { width: 100%; min-height: 48px; padding: 0 12px; border: 2px solid var(--petp-soft-line); border-radius: 12px; background: var(--petp-surface); color: var(--petp-text); font: inherit; font-weight: 600; }
.petp-catalog-qty { display: flex; flex-direction: column; gap: 8px; }
.petp-catalog-empty { margin: 24px 0; text-align: center; font-weight: 700; color: var(--petp-muted); }
.petp-catalog-vars { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.petp-catalog-vars legend { font-weight: 800; margin-bottom: 6px; }
.petp-catalog-var { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 2px solid var(--petp-soft-line); border-radius: 14px; background: var(--petp-surface); cursor: pointer; }
.petp-catalog-var input { width: 22px; height: 22px; accent-color: var(--petp-blue, #2449e0); }
.petp-catalog-var:has(input:checked) { border-color: var(--petp-blue, #2449e0); }
.petp-catalog-var.is-off { opacity: .55; cursor: not-allowed; }
.petp-catalog--item .petp-catalog-back { display: inline-block; margin-bottom: 10px; }
.petp-catalog-gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--petp-radius); scrollbar-width: none; }
.petp-catalog-gallery img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: center; border-radius: var(--petp-radius); background: var(--petp-surface); }
.petp-catalog-gallery-help { margin: 6px 0 0; text-align: center; font-size: .9rem; font-weight: 600; color: var(--petp-muted); }
.petp-catalog-detail { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.petp-catalog-detail h1 { margin: 0; font-size: 1.7rem; line-height: 1.2; }
.petp-catalog-kicker { margin: 0; font-weight: 700; color: var(--petp-muted); text-transform: uppercase; font-size: .85rem; letter-spacing: .03em; }
.petp-catalog-detail .petp-catalog-text { font-size: 1.05rem; line-height: 1.55; }
.petp-catalog-varlist { margin: 0; padding-left: 20px; }
.petp-cart-total { margin: 0 0 12px; font-weight: 800; font-size: 1.1rem; }
@media (min-width: 900px) {
	.petp-catalog--item { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 28px; align-items: start; }
	.petp-catalog--item .petp-catalog-back { grid-column: 1 / -1; }
	.petp-catalog--item .petp-catalog-detail { margin-top: 0; }
}
