.pv-pets{--pet-teal:#00717c;--pet-ink:#15323a}.pet-tabs{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.5rem 0}.pet-tabs a{display:inline-flex;align-items:center;min-height:44px;padding:.6rem 1rem;border:1px solid #8caeb3;border-radius:2rem;color:var(--pet-teal);text-decoration:none;font-weight:650}.pet-tabs a.is-active,.pet-tabs a:hover{background:var(--pet-teal);color:#fff}.pet-tabs a:focus-visible{outline:3px solid #32a9b6;outline-offset:3px}.pet-filters{display:grid;grid-template-columns:1fr 1.4fr auto;gap:1rem;align-items:end;margin-bottom:2rem}.pet-filters label,.pet-form label:not(.form-check){display:block;font-weight:650;margin-bottom:.4rem}.pet-card{min-width:0;border:1px solid #d9e5e7;border-radius:1.2rem;overflow:hidden;background:var(--bs-body-bg,#fff)}.pet-card-image{display:grid;place-items:center;height:230px;background:#e4f4f5;color:#00535d;text-decoration:none;text-align:center;padding:.5rem}.pet-card-image img{height:100%;width:100%;object-fit:contain}.pet-card h2 a{color:inherit;text-decoration:none}.pet-badge{display:inline-flex;align-items:center;border-radius:2rem;padding:.4rem .8rem;background:#e4f4f5;color:#00535d;font-weight:750;font-size:.85rem}.pet-badge--reunida{background:#e5f3e8;color:#245d35}.pet-form{padding:clamp(1.1rem,3vw,2rem);border:1px solid #d9e5e7;border-radius:1.2rem;background:var(--bs-body-bg,#fff);margin-top:1.5rem}.pet-form .form-check{margin-block:.5rem}.pet-form small{display:block;margin-top:.4rem}.pet-form-photo{display:block;width:100%;max-height:260px;object-fit:contain;margin-bottom:1rem;border-radius:1rem}.pet-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,3rem);align-items:start}.pet-detail>div{min-width:0}.pet-detail-photo{display:block;width:100%;max-height:580px;object-fit:contain;border-radius:1.2rem;background:#e4f4f5}.pet-photo-empty{display:grid;place-items:center;min-height:300px;padding:2rem;border-radius:1.2rem;background:#e4f4f5;color:#00535d;font:700 1.8rem Georgia,serif;text-align:center}.pet-facts{display:grid;grid-template-columns:auto 1fr;gap:.6rem 1rem;margin-block:1.5rem}.pet-facts dd{margin:0;overflow-wrap:anywhere}.pet-description{white-space:pre-line;overflow-wrap:anywhere;line-height:1.7}.pet-owner{display:flex;flex-wrap:wrap;align-items:start;gap:1rem;padding-top:1.5rem;margin-top:1.5rem;border-top:1px solid #d9e5e7}.pet-owner>small,.pet-owner>div{flex-basis:100%}.pet-happy{padding:1rem;border-radius:.85rem;background:#e5f3e8;color:#245d35;font-weight:650}.pv-card--mascota .pv-card-imagen{background:linear-gradient(135deg,#15323a,#00717c);color:#fff}
@media(max-width:767.98px){.pet-detail,.pet-filters{grid-template-columns:1fr}.pet-form{padding:1rem}.pv-pets .pet-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.pv-pets .pet-tabs a{flex:none;justify-content:center;min-width:0;min-height:48px;max-width:100%;padding:.7rem .6rem;border-radius:.85rem;font-size:.875rem;line-height:1.35;text-align:center;white-space:normal;word-break:normal;overflow-wrap:normal}.pet-facts{grid-template-columns:1fr;gap:.2rem}.pet-facts dd{margin-bottom:.8rem}.pet-detail h1{font-size:2rem}}
html[data-punto-theme="dark"] .pet-card,html[data-punto-theme="dark"] .pet-form{border-color:#45616a}html[data-punto-theme="dark"] .pet-tabs a{color:#8dd6de}html[data-punto-theme="dark"] .pet-tabs a.is-active{color:#fff}

.pv-pets .btn-primary{background:#00717c;border-color:#00717c;color:#fff;min-height:44px}.pv-pets .btn-primary:hover,.pv-pets .btn-primary:focus-visible{background:#005d66;border-color:#005d66;color:#fff}.pv-pets .btn-outline-primary{color:#00717c;border-color:#00717c;background:transparent;min-height:44px}.pv-pets .btn-outline-primary:hover,.pv-pets .btn-outline-primary:focus-visible{background:#00717c;color:#fff}.pet-owner h2{font-size:1.25rem;font-weight:750}
.pv-pets .pv-nav a{color:#00717c}.pv-pets .btn-primary{box-shadow:0 6px 16px rgba(0,113,124,.14)}
.pv-pets .btn:focus-visible{outline:3px solid #2da9b7;outline-offset:3px}
.pet-initial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;margin-top:2rem}.pet-initial-card{min-width:0;border:1px solid var(--bs-border-color,#dce6e7);border-radius:1rem;padding:1.5rem;background:var(--bs-body-bg,#fff)}.pet-initial-card legend{float:none;width:auto;font-size:1.2rem;font-weight:700;margin-bottom:1rem}.pet-initial-card p{line-height:1.7}.pet-initial-card label{display:block;font-weight:600;margin-bottom:.5rem}.pet-initial-preview{display:block;width:100%;max-height:400px;object-fit:contain;margin-top:1rem;border-radius:.7rem}.pet-initial-card [hidden]{display:none!important}.pet-initial-submit{border-top:1px solid var(--bs-border-color,#ddd);margin-top:2rem;padding-top:1.5rem}@media(max-width:767.98px){.pet-initial-grid{grid-template-columns:minmax(0,1fr)}.pet-initial-card{padding:1.1rem}.pet-initial-submit .btn{width:100%}}

/* Las fotos conservan su marco y el texto ocupa un bloque separado. */
.pv-contenido .pet-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;margin:0 0 1.5rem}
.pv-contenido .pet-tabs a{justify-content:center;text-align:center;min-width:0;border-radius:.85rem;padding:.65rem .55rem;font-size:.85rem;line-height:1.35;word-break:normal;overflow-wrap:normal}
.pv-contenido .pet-card{display:flex;flex-direction:column;min-width:0;box-shadow:0 5px 20px #15323a08}
.pv-contenido .pet-card-image{position:relative;display:block;flex:none;height:auto;aspect-ratio:4/5;overflow:hidden;padding:0;background:#eaf2ed}
.pv-contenido .pet-card-image img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:100%;object-fit:contain;padding:.5rem}
.pv-contenido .pet-card-image>span{position:absolute;inset:0;display:grid;place-items:center;padding:1.5rem}
.pet-card-body{position:relative;flex:1;padding:1.3rem;background:var(--bs-body-bg,#fff);border-top:1px solid #d9e5e7}
.pet-card-body h2{font-size:1.3rem;line-height:1.35}
.pet-card-body p{font-size:.94rem;line-height:1.6;overflow-wrap:anywhere}
.pet-card-body h2 a:hover{text-decoration:underline}
@media(max-width:767.98px){.pv-contenido .pet-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.pv-contenido .pet-tabs a{min-height:48px}}
html[data-punto-theme="dark"] .pet-card-body{border-color:#45616a}
