/* Productos de Ortopedia — catálogo satélite (paleta Nueva Fernández) */
:root {
  --po-ink: #1a2b3c;
  --po-muted: #5c6b7a;
  --po-line: rgba(2, 106, 191, 0.14);
  --po-paper: #f5f8fb;
  --po-white: #ffffff;
  --po-blue: #026ABF;
  --po-blue-2: #014a87;
  --po-blue-soft: #e8f3fb;
  --po-accent: #026ABF;
  --po-wa: #25d366;
  --po-serif: "Cormorant Garamond", Georgia, serif;
  --po-sans: "Source Sans 3", system-ui, sans-serif;
  --po-max: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.po-body {
  margin: 0;
  font-family: var(--po-sans);
  color: var(--po-ink);
  background: var(--po-paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--po-blue-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.po-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--po-white);
  box-shadow: 0 1px 0 var(--po-line);
}
.po-nav-inner {
  max-width: var(--po-max);
  margin: 0 auto;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr auto;
  gap: 16px;
  align-items: center;
}

.po-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--po-ink);
  text-decoration: none;
  min-width: 0;
}
.po-logo:hover { text-decoration: none; }
.po-logo:hover .po-logo-name { color: var(--po-blue); }
.po-logo:hover .po-logo-mark {
  background: linear-gradient(145deg, var(--po-blue) 0%, var(--po-blue-2) 100%);
  box-shadow: 0 4px 14px rgba(2, 106, 191, 0.28);
}
.po-logo-mark {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0380e0 0%, var(--po-blue-2) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(2, 106, 191, 0.22);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.po-logo-mark > i {
  font-size: 1.2rem;
  line-height: 1;
}
.po-logo-mark > span {
  font-family: var(--po-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}
.po-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.po-logo-name {
  font-family: var(--po-serif);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--po-ink);
  transition: color 0.15s ease;
}
.po-logo-by {
  font-family: var(--po-sans);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--po-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.po-logo-by em {
  font-style: italic;
  font-weight: 400;
  margin-right: 0.15em;
}

.po-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 460px;
  width: 100%;
  justify-self: center;
  min-width: 0;
}
.po-search-hint {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--po-blue);
  font-size: 0.95rem;
  animation: po-search-point 1.35s ease-in-out infinite;
}
.po-search {
  display: flex;
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(2, 106, 191, 0.22);
  background: #fff;
  border-radius: 999px;
  overflow: visible;
  position: relative;
  box-shadow: 0 1px 2px rgba(19, 37, 54, 0.04), inset 0 1px 0 rgba(255,255,255,0.8);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.po-search:focus-within {
  border-color: rgba(2, 106, 191, 0.55);
  box-shadow: 0 0 0 3px rgba(2, 106, 191, 0.12);
}
.po-search-wrap:focus-within .po-search-hint,
.po-search-wrap.is-typing .po-search-hint {
  opacity: 0;
  animation: none;
  width: 0;
  margin: 0;
  overflow: hidden;
  transition: opacity 0.2s ease, width 0.2s ease;
}
.po-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 11px 8px 11px 18px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--po-ink);
  outline: none;
  min-width: 0;
  border-radius: 999px 0 0 999px;
}
.po-search button {
  border: 0;
  background: var(--po-blue-soft);
  margin: 4px;
  padding: 0 14px;
  min-width: 42px;
  border-radius: 999px;
  color: var(--po-blue-2);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.po-search button:hover {
  background: var(--po-blue);
  color: #fff;
}
.po-sugerencias {
  position: absolute;
  top: calc(100% + 8px);
  left: 12px;
  right: 12px;
  background: #fff;
  border: 1px solid var(--po-line);
  border-radius: 14px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 1200;
  box-shadow: 0 10px 28px rgba(19, 37, 54, 0.12);
}
@keyframes po-search-point {
  0%, 100% { transform: translateX(0); opacity: 0.55; }
  50% { transform: translateX(7px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .po-search-hint { animation: none; opacity: 0.75; }
}
.po-sugerencias .sugerencia-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  cursor: pointer;
  border-bottom: 1px solid #f0f3f6;
  background: #fff;
  text-align: left;
}
.po-sugerencias .sugerencia-item:hover,
.po-sugerencias .sugerencia-item.is-active {
  background: #eaf5ff;
}
.po-sugerencias .sugerencia-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #eef2f6;
  border: 1px solid var(--po-line);
  flex-shrink: 0;
}
.po-sugerencias .sugerencia-texto {
  min-width: 0;
  flex: 1;
}
.po-sugerencias .sugerencia-texto strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--po-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.po-sugerencias .sugerencia-texto small {
  display: block;
  font-size: 0.75rem;
  color: var(--po-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.po-sugerencias mark {
  background: #ffe08a;
  color: inherit;
  padding: 0 1px;
}

.po-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}
.po-nav-links a {
  color: var(--po-ink);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.po-nav-links a:hover,
.po-nav-links a.is-active { color: var(--po-blue-2); }

.po-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 1.55rem;
  line-height: 1;
}
.po-cart-link i {
  font-size: 1.55rem;
}
.po-cart-count {
  position: absolute;
  top: -9px;
  right: -13px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--po-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.po-mobile-nav {
  display: none;
  border-top: 1px solid var(--po-line);
  background: #fff;
}
.po-mobile-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--po-muted);
  text-decoration: none;
}
.po-mobile-nav i { font-size: 1rem; color: var(--po-blue); }

.po-main { min-height: 60vh; }

/* Hero tipográfico (sin foto de portada) */
.po-hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}
.po-hero--plain {
  background:
    radial-gradient(1200px 420px at 12% -10%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(135deg, #026ABF 0%, #014a87 55%, #013a6b 100%);
  min-height: min(42vh, 360px);
  align-items: center;
}
.po-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.po-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 106, 191, 0.55) 0%, rgba(2, 106, 191, 0.18) 48%, rgba(1, 40, 70, 0.12) 100%),
    linear-gradient(180deg, rgba(1, 40, 70, 0.1) 0%, rgba(1, 40, 70, 0.55) 100%);
}
.po-hero-copy {
  position: relative;
  z-index: 1;
  max-width: var(--po-max);
  margin: 0 auto;
  padding: 44px 20px 48px;
  width: 100%;
}
.po-hero-brand {
  margin: 0 0 10px;
  font-family: var(--po-serif);
  font-size: clamp(2.1rem, 5.5vw, 3.3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.po-hero-lead {
  margin: 0 0 22px;
  max-width: 34rem;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  opacity: 0.96;
}
.po-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.po-hero--plain .po-btn-primary {
  background: #fff;
  color: var(--po-blue);
}
.po-hero--plain .po-btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.po-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.po-btn:hover { text-decoration: none; transform: translateY(-1px); }
.po-btn-primary {
  background: #fff;
  color: var(--po-blue);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.po-btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
}
.po-btn-solid {
  background: var(--po-blue);
  color: #fff;
}
.po-btn-outline {
  background: var(--po-white);
  color: var(--po-blue);
  border-color: var(--po-blue);
}
.po-btn-wa {
  background: var(--po-wa);
  color: #fff;
}

/* Sections */
.po-wrap {
  max-width: var(--po-max);
  margin: 0 auto;
  padding: 28px 18px 40px;
}
.po-section-title {
  margin: 0 0 8px;
  font-family: var(--po-serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--po-ink);
}
.po-section-lead {
  margin: 0 0 22px;
  color: var(--po-muted);
  max-width: 46rem;
}

/* Alquileres highlight */
.po-alq-banner {
  margin: 20px auto 0;
  max-width: var(--po-max);
  padding: 0 18px;
  position: relative;
  z-index: 2;
}
.po-alq-card {
  background: var(--po-white);
  border: 1px solid var(--po-line);
  border-left: 4px solid var(--po-blue);
  box-shadow: 0 10px 30px rgba(2, 106, 191, 0.1);
  padding: 22px 22px 20px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.po-alq-card h2 {
  margin: 0 0 6px;
  font-family: var(--po-serif);
  font-size: 1.55rem;
}
.po-alq-card p {
  margin: 0;
  color: var(--po-muted);
}
.po-alq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

/* Product grid */
.po-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
.po-card {
  background: var(--po-white);
  border: 1px solid var(--po-line);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.po-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(19, 37, 54, 0.1);
}
.po-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  background: #eef2f6;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.po-card-media img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #eef2f6;
}
.po-card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
}
.po-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--po-ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.3em * 2);
}
.po-card-title a {
  color: inherit;
  text-decoration: none;
}
.po-card-sub {
  margin: 0;
  color: var(--po-muted);
  font-size: 0.88rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.35em * 2);
  flex: 0 0 auto;
}
.po-card-price {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--po-blue);
}
.po-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.po-card-actions--stack {
  grid-template-columns: 1fr;
}
.po-card-actions .po-btn {
  padding: 9px 10px;
  font-size: 0.85rem;
}
.po-card-buy {
  display: grid;
  gap: 8px;
  /* Reserva alto de label + select + botón para alinear Añadir entre tarjetas */
  min-height: 6.4rem;
  align-content: end;
}
.po-talle-lbl {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--po-muted);
  text-align: left;
}
.po-talle-select {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--po-line);
  border-radius: 2px;
  font: inherit;
  font-size: 0.88rem;
  background: #fff;
  color: var(--po-ink);
}
.po-variantes {
  margin: 14px 0 8px;
}
.po-variantes strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
}
.po-var-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.po-var-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--po-line);
  background: #fff;
  color: var(--po-ink);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.po-var-chip:hover { border-color: var(--po-blue); color: var(--po-blue); text-decoration: none; }
.po-var-chip--on {
  background: var(--po-blue);
  border-color: var(--po-blue);
  color: #fff;
}

/* Detail */
.po-detail {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
}
.po-detail-media {
  background: #fff;
  border: 1px solid var(--po-line);
  padding: 0;
  overflow: hidden;
}
.po-galeria {
  width: 100%;
}
.po-galeria-box {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f4f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.po-galeria-box img.po-slide {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  position: absolute;
  inset: 0;
  margin: auto;
  cursor: zoom-in;
}
.po-flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  border: none;
  background: rgba(2, 106, 191, 0.9);
  color: #fff;
  font-size: 1.25rem;
  padding: 8px 12px;
  cursor: pointer;
  line-height: 1;
}
.po-flecha:hover { background: #014a87; }
.po-flecha-izq { left: 10px; }
.po-flecha-der { right: 10px; }
.po-modal-imagen {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  padding-top: 48px;
  background: rgba(0, 0, 0, 0.9);
}
.po-modal-imagen img {
  display: block;
  margin: 0 auto;
  max-width: 92%;
  max-height: 88vh;
  object-fit: contain;
}
.po-modal-cerrar {
  position: absolute;
  top: 12px;
  right: 22px;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}
.po-detail-media img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  margin: 0 auto;
}
.po-detail-eyebrow {
  margin: 0 0 6px;
  color: var(--po-muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.po-detail-secondary {
  margin: 0 0 16px;
  font-family: var(--po-sans);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--po-muted);
}
.po-detalle-extra {
  margin-top: 36px;
  max-width: var(--po-max);
}
.po-detalle-html {
  background: #fff;
  border: 1px solid var(--po-line);
  padding: 18px 20px;
  color: var(--po-ink);
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.po-detalle-html img {
  max-width: 100%;
  height: auto;
}
.po-detalle-html p { margin: 0 0 0.85em; }
.po-detalle-html p:last-child { margin-bottom: 0; }

.po-qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.po-qty-row input {
  width: 72px;
  padding: 10px;
  border: 1px solid var(--po-line);
  font: inherit;
}

/* Checkout */
.po-checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 22px;
  align-items: start;
}
.po-cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--po-line);
  align-items: center;
}
.po-cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: #eef2f6;
}
.po-cart-item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}
.po-summary {
  background: #fff;
  border: 1px solid var(--po-line);
  padding: 18px;
  position: sticky;
  top: 86px;
}
.po-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 12px 0 12px;
}
.po-cart-aviso {
  margin: 0 0 16px;
  padding: 10px 12px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--po-muted);
  background: #f6f8fa;
  border-left: 3px solid var(--po-accent, #026ABF);
}
.po-empty {
  text-align: center;
  padding: 48px 16px;
  background: #fff;
  border: 1px solid var(--po-line);
}
.po-empty--404 { padding: 56px 20px; }
.po-404-code {
  margin: 0 0 8px;
  font-family: var(--po-serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--po-blue);
  line-height: 1;
}

.po-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  color: var(--po-muted);
}
.po-crumbs a { color: var(--po-blue-2); text-decoration: none; }
.po-crumbs a:hover { text-decoration: underline; }
.po-crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--po-line);
  font-weight: 600;
}
.po-crumbs [aria-current="page"] { color: var(--po-ink); font-weight: 600; }

.po-howto {
  margin: 28px 0 8px;
}
.po-howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.po-howto-card {
  background: #fff;
  border: 1px solid var(--po-line);
  padding: 18px 18px 16px;
  border-radius: 12px;
}
.po-howto-card h2 {
  margin: 0 0 10px;
  font-family: var(--po-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--po-ink);
}
.po-howto-card ol {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--po-muted);
  font-size: 0.92rem;
}
.po-howto-card ol li { margin-bottom: 6px; }
.po-howto-card p {
  margin: 0 0 8px;
  color: var(--po-muted);
  font-size: 0.92rem;
}
.po-howto-note { font-size: 0.82rem !important; }
.po-howto-tel { margin-top: 10px !important; }
.po-howto-card--wa .po-btn { margin-top: 4px; }

.po-wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1400;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 12px 14px;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.po-wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  color: #fff !important;
}
.po-wa-float i { font-size: 1.45rem; line-height: 1; }
.po-wa-float-label { letter-spacing: 0.01em; }

@media (max-width: 720px) {
  .po-howto-grid { grid-template-columns: 1fr; }
  .po-wa-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .po-wa-float {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .po-wa-float i { font-size: 1.7rem; }
}

/* Alquileres page cards */
.po-rent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.po-rent-card {
  background: #fff;
  border: 1px solid var(--po-line);
  padding: 12px;
  text-align: center;
}
.po-rent-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 8px;
}
.po-rent-card p {
  margin: 0;
  font-weight: 600;
  font-size: 0.92rem;
}

.po-footer {
  margin-top: 40px;
  background: var(--po-blue);
  color: rgba(255,255,255,0.9);
  padding: 28px 18px 18px;
}
.po-footer a { color: #fff; }
.po-aviso-seguridad {
  max-width: var(--po-max);
  margin: 0 auto 20px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.12);
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}
.po-aviso-seguridad strong {
  color: #fff;
  font-weight: 700;
}
.po-footer-inner {
  max-width: var(--po-max);
  margin: 0 auto 16px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
.po-footer-copy {
  max-width: var(--po-max);
  margin: 0 auto;
  font-size: 0.82rem;
  opacity: 0.85;
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.18);
}

/* Pagina de terminos */
.po-legal { padding-bottom: 40px; }
.po-legal-card {
  background: var(--po-white);
  border: 1px solid var(--po-line);
  border-radius: 4px;
  padding: 28px 22px 32px;
  border-top: 4px solid var(--po-blue);
}
.po-legal-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  color: var(--po-muted);
  font-size: 0.88rem;
}
.po-legal-badge {
  display: inline-block;
  background: var(--po-blue-soft);
  color: var(--po-blue-2);
  border: 1px solid var(--po-line);
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 700;
  font-size: 0.82rem;
}
.po-legal-summary {
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  border: 1px solid var(--po-line);
  border-radius: 4px;
  padding: 14px 16px;
  margin: 0 0 18px;
}
.po-legal-summary ul {
  margin: 8px 0 0;
  padding-left: 1.15rem;
  color: var(--po-muted);
}
.po-legal-summary li { margin-bottom: 4px; }
.po-legal-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.po-legal-index a {
  background: var(--po-paper);
  border: 1px solid var(--po-line);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--po-blue-2);
}
.po-legal-index a:hover { background: var(--po-blue-soft); text-decoration: none; }
.po-legal-note {
  background: var(--po-paper);
  border-left: 4px solid var(--po-blue);
  padding: 12px 14px;
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--po-muted);
}
.po-legal-card h2 {
  font-family: var(--po-serif);
  font-size: 1.2rem;
  margin: 22px 0 8px;
  color: var(--po-ink);
}
.po-legal-card p {
  margin: 0 0 12px;
  color: var(--po-muted);
  line-height: 1.65;
  text-align: justify;
}

.po-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--po-ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
}
.po-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Layout con menu de categorias a la izquierda */
.po-with-cats {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.po-cat-aside {
  position: sticky;
  top: 88px;
}
.po-cat-menu {
  background: var(--po-white);
  border: 1px solid var(--po-line);
  border-radius: 4px;
  padding: 12px 12px 14px;
}
.po-cat-menu-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--po-line);
}
.po-cat-menu-head strong {
  font-family: var(--po-serif);
  font-size: 1.2rem;
  color: var(--po-ink);
}
.po-cat-all {
  font-size: 0.88rem;
  color: var(--po-blue-2);
  font-weight: 600;
}
.po-cat-empty {
  margin: 0;
  font-size: 0.9rem;
  color: var(--po-muted);
}
.po-cat-group {
  border-bottom: 1px solid var(--po-line);
  padding: 4px 0;
}
.po-cat-group:last-child { border-bottom: 0; }
.po-cat-group > summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--po-ink);
  padding: 8px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.po-cat-group > summary::-webkit-details-marker { display: none; }
.po-cat-group > summary::after {
  content: "+";
  color: var(--po-muted);
  font-weight: 600;
  font-size: 1rem;
}
.po-cat-group[open] > summary::after { content: "–"; }
.po-cat-subs {
  list-style: none;
  margin: 0 0 8px;
  padding: 0 0 4px 6px;
}
.po-cat-subs li { margin: 0; }
.po-cat-link,
.po-sub-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 3px;
  font-size: 0.9rem;
  color: var(--po-ink);
  text-decoration: none;
}
.po-cat-link { font-weight: 600; color: var(--po-blue-2); }
.po-sub-link { color: var(--po-muted); }
.po-cat-link:hover,
.po-sub-link:hover {
  background: var(--po-blue-soft);
  color: var(--po-blue-2);
  text-decoration: none;
}
.po-cat-link.is-on,
.po-sub-link.is-on {
  background: var(--po-blue-soft);
  color: var(--po-blue-2);
  font-weight: 700;
}
.po-cat-n {
  font-size: 0.75rem;
  color: var(--po-muted);
  font-weight: 600;
}

@media (max-width: 980px) {
  .po-grid { grid-template-columns: repeat(3, 1fr); }
  .po-detail,
  .po-checkout-layout,
  .po-alq-card,
  .po-footer-inner { grid-template-columns: 1fr; }
  .po-alq-actions { justify-content: flex-start; }
  .po-with-cats { grid-template-columns: 1fr; gap: 18px; }
  .po-cat-aside { position: static; }
  .po-cat-menu { max-height: none; }
}

@media (max-width: 720px) {
  .po-nav-inner {
    grid-template-columns: 1fr auto;
  }
  .po-logo { gap: 10px; }
  .po-logo-mark { width: 40px; height: 40px; border-radius: 10px; }
  .po-logo-name { font-size: 1.12rem; }
  .po-logo-by {
    white-space: normal;
    font-size: 0.64rem;
  }
  .po-search-wrap { grid-column: 1 / -1; order: 3; max-width: none; justify-self: stretch; }
  .po-nav-links li:not(:last-child) { display: none; }
  .po-mobile-nav { display: flex; }
  .po-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .po-card-actions { grid-template-columns: 1fr; }
  .po-hero--plain { min-height: auto; }
  .po-hero-copy { padding: 36px 18px 40px; }
  .po-alq-banner { margin-top: 16px; }
  .po-cat-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
  }
  .po-cat-menu-head { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .po-grid { grid-template-columns: 1fr; }
  .po-cat-menu { grid-template-columns: 1fr; }
}
