/* Pet switcher (pet-switcher.js). Same idea as the round pet list on petscare.com: the active pet has a coloured ring. */
.pc-pet-switcher{position:relative;flex:none;display:flex;align-items:center}
.pc-pet-switcher[hidden]{display:none!important}
.pc-pet-current{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:3px 10px 3px 3px;border:1px solid rgba(87,16,142,.18);border-radius:999px;background:#fff;color:#2b1240;font:inherit;cursor:pointer;max-width:13rem}
.pc-pet-current:hover{background:#faf6fd}
.pc-pet-current:focus-visible,.pc-pet-option:focus-visible{outline:3px solid #7c3aed;outline-offset:2px}
.pc-pet-face{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#f5effa;padding:2px;background-clip:content-box;box-shadow:0 0 0 2px #fff,0 0 0 4px #b28ad6}
.pc-pet-face .family-face-stack{display:contents}
.pc-pet-face img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.pc-pet-face .family-initial{font-weight:700;color:#57108e}
.pc-pet-all{color:#57108e}
.pc-pet-paw{width:20px;height:20px;fill:currentColor}
.pc-pet-label{display:flex;flex-direction:column;min-width:0;line-height:1.15;text-align:left}
.pc-pet-label small{font-size:.6875rem;color:#6b5a7b;text-transform:uppercase;letter-spacing:.04em}
.pc-pet-label .pc-pet-name{font-size:.875rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-pet-caret{font-size:.75rem;color:#6b5a7b}
.pc-pet-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:3100;min-width:13rem;max-width:min(18rem,calc(100vw - 16px));max-height:min(60vh,26rem);overflow-y:auto;padding:6px;border-radius:16px;background:#fff;box-shadow:0 18px 50px rgba(32,12,48,.22);border:1px solid #ede5f3}
.pc-pet-menu[hidden]{display:none}
.pc-pet-option{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:6px 10px 6px 6px;border:0;border-radius:12px;background:none;color:#2b1240;font:inherit;font-size:.9375rem;text-align:left;cursor:pointer}
.pc-pet-option:hover{background:#faf6fd}
.pc-pet-option .pc-pet-face{opacity:.6;box-shadow:none}
.pc-pet-option.is-active{background:#f3ebfa;font-weight:600}
.pc-pet-option.is-active .pc-pet-face{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px #57108e}
.pc-pet-option .pc-pet-name{flex:1;white-space:normal;overflow-wrap:anywhere}
.pc-pet-check{color:#57108e;font-weight:700}
body[data-active-pet]:not([data-active-pet=""]) .pc-pet-current .pc-pet-face{box-shadow:0 0 0 2px #fff,0 0 0 4px #57108e}
/* Tablets: face + name; phones: face only (the name is in the accessible label and the menu). */
@media (max-width:1100px){.pc-pet-label small{display:none}.pc-pet-current{max-width:9.5rem}}
@media (max-width:760px){.pc-pet-label,.pc-pet-caret{display:none}.pc-pet-current{padding:3px;border-color:transparent;background:none}.pc-pet-menu{position:fixed;top:60px;right:8px}}
body.pc-large-text .pc-pet-label .pc-pet-name{font-size:1rem}
body.pc-large-text .pc-pet-option{font-size:1.0625rem;min-height:52px}
body.pc-full-view .pc-pet-switcher{display:none!important}
