/* PC landing page: year_round_prevention.php */
.yrp {
    --yrp-navy: #12314a;
    --yrp-pink: #ff3c78;
    --yrp-blue: #0875cb;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    color: var(--yrp-navy);
    background: #fff;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-size: 19px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.65;
    word-break: normal;
    text-align: left;
}

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

/* Restore typography inheritance after the shared pc_basic.css reset.
   Keep specificity low so the component rules below take precedence. */
.yrp :where(h1, h2, h3, h4, h5, h6, header, footer, section, div, p, ul, ol, li, dl, dt, dd, article, table, th, td, img, form, input, textarea, select, button) {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    line-height: inherit;
    word-break: inherit;
}

.yrp-inner {
    position: relative;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.yrp-risk.yrp-section,
.yrp-benefits.yrp-section,
.yrp-shopping {
    padding: 0;
}

.yrp-risk>.yrp-inner {
    padding: 40px 30px;
}

.yrp-benefits>.yrp-inner {
    padding: 20px 30px 26px;
}

.yrp-shopping>.yrp-inner {
    padding: 26px 30px 24px;
}

.yrp :where(h1, h2, h3, p, ol) {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}

.yrp h1,
.yrp h2,
.yrp h3 {
    color: inherit;
    font-family: inherit;
    font-weight: 900;
    line-height: 1.4;
}

.yrp img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.yrp a {
    color: inherit;
    text-decoration: none;
}

.yrp button,
.yrp input {
    font: inherit;
}

.yrp button,
.yrp a {
    -webkit-tap-highlight-color: transparent;
}

.yrp button {
    cursor: pointer;
}

.yrp a:focus-visible,
.yrp button:focus-visible,
.yrp input:focus-visible {
    outline: 3px solid #0875cb;
    outline-offset: 5px;
}

.yrp a:hover,
.yrp button:hover {
    filter: brightness(.96);
}

.yrp em {
    font-style: normal;
    font-weight: 900;
}

.yrp .yrp-pink {
    color: var(--yrp-pink);
}

.yrp .yrp-blue {
    color: var(--yrp-blue);
}

.yrp-hero {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    line-height: 0;
}

#yrp-top .yrp-hero h1.yrp-hero-title {
    margin: 0;
    padding: 0;
    border-bottom: none;
    line-height: 0;
}

.yrp .yrp-hero-image {
    display: block;
    width: 100%;
    height: auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 82%, rgba(0, 0, 0, .85) 88%, rgba(0, 0, 0, .35) 95%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 82%, rgba(0, 0, 0, .85) 88%, rgba(0, 0, 0, .35) 95%, transparent 100%);
}

.yrp .yrp-hero-mosquito {
    position: absolute;
    top: 7%;
    left: 49%;
    width: calc(6.5% - 15px);
    height: auto;
    pointer-events: none;
}

.yrp-section {
    padding: 40px 30px;
}

.yrp-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 36px;
    letter-spacing: -.04em;
}

.yrp-heading>img {
    flex: 0 0 auto;
    width: 45px;
    height: 45px;
    object-fit: contain;
    margin: 0 8px;
}

.yrp-risk {
    background: linear-gradient(#fff, transparent 60px), radial-gradient(ellipse at 0 0, #e0f5ff, transparent 45%), linear-gradient(#fff 65%, #fff7f9);
}

.yrp-risk .yrp-heading {
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: none;
    color: #082c64;
    font-size: clamp(33px, 3.3vw, 36px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -.045em;
}

.yrp-risk .yrp-heading>.yrp-pink {
    color: #ff3c78;
    font-size: 1.25em;
    background: linear-gradient(transparent 84%, #fff7b0 84%);
}

.yrp-risk .yrp-heading>img {
    width: 50px;
    height: 50px;
    margin: 0 0 0 -8px;
}

.yrp-intro {
    max-width: 44em;
    margin: 18px auto 22px;
    font-size: 20px;
    line-height: 1.9;
    text-align: center;
    color: #476494;
    font-weight: 700;
}

.yrp-stages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    padding: 0 18px;
    list-style: none;
}

.yrp-stage {
    position: relative;
    height: 250px;
    padding: 15px 20px;
    border: 2px solid #e0f4ff;
    border-radius: 22px;
    background: linear-gradient(130deg, #f8fdff, #edf8ff);
    transition: transform .2s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .yrp-stage:hover {
        z-index: 1;
        transform: scale(1.03);
    }
}

.yrp-number {
    display: grid;
    flex: 0 0 auto;
    width: 55px;
    height: 55px;
    place-items: center;
    padding-bottom: .1em;
    border-radius: 50%;
    background: var(--yrp-blue);
    color: #fff;
    font-size: 43px;
    font-weight: 900;
    line-height: 1;
}

.yrp-stage>.yrp-number {
    width: 48px;
    height: 48px;
    font-size: 36px;
    position: absolute;
    left: 20px;
    top: 12px;
}

.yrp-stage h3 {
    margin-left: 60px;
    font-size: 22px;
    line-height: 1.25;
}

.yrp-stage h3 small {
    color: #1497e7;
    font-size: 17px;
}

.yrp-stage>img {
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 250px;
    height: 116px;
    object-fit: contain;
    transform: translateX(-50%);
}

.yrp-stage>img.yrp-larvae-frame,
.yrp-stage>img.yrp-mosquito-frame,
.yrp-stage>img.yrp-heart-frame {
    opacity: 0;
    pointer-events: none;
}

.yrp-stage:hover>img.yrp-larvae-frame,
.yrp-stage:hover>img.yrp-mosquito-frame,
.yrp-stage:hover>img.yrp-heart-frame {
    animation: yrp-larvae-flipbook .8s steps(1, end) infinite;
}

.yrp-stage:hover>img.yrp-flipbook-base {
    animation: yrp-flipbook-base .8s steps(1, end) infinite;
}

@keyframes yrp-flipbook-base {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes yrp-larvae-flipbook {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.yrp-stage:not(:last-child)::after {
    position: absolute;
    top: 90px;
    right: -47px;
    width: 46px;
    height: 45px;
    background: linear-gradient(90deg, #caedff, #49baff);
    clip-path: polygon(0 22%, 55% 22%, 55% 0, 100% 50%, 55% 100%, 55% 78%, 0 78%);
    content: '';
}

.yrp-stage-last>.yrp-number {
    background: var(--yrp-pink);
}

.yrp-stage-last h3 small {
    color: #ff3b78;
}

.yrp-period {
    position: absolute;
    bottom: 9px;
    right: 15px;
    min-width: 150px;
    padding: 0 12px;
    border-radius: 30px;
    background: #4b7fa5;
    color: white;
    text-align: center;
    font-weight: 700;
    line-height: 1.5;
}

.yrp-stage-last .yrp-period {
    background: #656d73;
}

.yrp-warning {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    min-height: 185px;
    gap: 20px;
    margin-top: 48px;
    padding: 18px 25px;
    overflow: visible;
    border-radius: 24px;
    background: #ffedf2;
}

.yrp-warning>div:first-child {
    z-index: 1;
    flex: 0 1 auto;
    min-width: 0;
}

.yrp-warning h3 {
    display: flex;
    align-items: center;
    font-size: 33px;
    letter-spacing: -.04em;
}

.yrp-warning h3 img {
    width: 62px;
    height: 62px;
    margin-right: 15px;
    object-fit: contain;
}

.yrp-warning h3 span {
    color: #ff045b;
    background: linear-gradient(transparent 76%, #fff8ac 76%);
}

.yrp-warning p {
    margin: 10px 0 0 10px;
    font-size: 19px;
    font-weight: 700;
    color: #42618e;
}

.yrp-warning p strong {
    color: #ff2268;
}

.yrp .yrp-warning-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    margin-top: 14px;
    padding: 12px 14px;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: #b82c59;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none;
}
.yrp .yrp-warning-link-text { flex: 1; min-width: 0; }
.yrp .yrp-warning-link-arrow {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: #ed5b89;
}
.yrp .yrp-warning-link-arrow::before {
    width: 8px;
    height: 8px;
    margin-left: -3px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    content: '';
}
@media (hover: hover) {
    .yrp .yrp-warning-link:hover { background: #ffd4e5; border-color: #ed5b89; }
}

.yrp-warning-picture {
    position: relative;
    flex: 0 0 320px;
    width: 320px;
    align-self: flex-start;
    overflow: hidden;
}

.yrp-warning-picture>img {
    width: 100%;
    margin-bottom: -4.3%;
}

.yrp-ahs {
    position: relative;
    isolation: isolate;
    width: min(1172px, calc(100% - 28px));
    min-height: 430px;
    margin: 14px auto;
    padding: 24px 28px 14px;
    border: 3px solid #e5f6ff;
    border-radius: 22px;
    background: linear-gradient(120deg, #fff, #fff);
}

.yrp-ahs .yrp-heading {
    position: relative;
    z-index: 1;
    justify-content: flex-start;
    font-size: 34px;
}

.yrp-ahs .yrp-heading>.yrp-blue:first-of-type {
    font-size: 53px;
}

.yrp-underline {
    background: linear-gradient(transparent 75%, #c9eaff 75%);
}

.yrp-ahs-copy {
    position: relative;
    z-index: 1;
    width: calc(100% - 450px);
    margin-top: 18px;
    font-size: 19px;
}

.yrp-ahs-logo {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 620px;
    max-width: 100%;
    margin: 0 0 15px;
    padding: 18px 25px;
    border-radius: 17px;
    background: #edf7fc;
}

.yrp-ahs-logo img {
    width: 237px;
}

.yrp-ahs-logo strong {
    font-size: 22px;
}

.yrp .yrp-source {
    margin-top: 10px;
    font-size: 12px;
    color: #8a9cb7;
}

.yrp-ahs-pets {
    position: absolute;
    z-index: 0;
    isolation: isolate;
    right: 15px;
    bottom: 0;
    width: 430px;
    height: 280px !important;
    overflow: hidden;
}

.yrp-ahs-pets {
    aspect-ratio: 1448 / 1086;
    pointer-events: none;
}

.yrp-ahs-pets > video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.yrp-ahs-pets > video {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    object-fit: cover;
    object-position: center bottom;
    /* Compensate for the wider framing and extra whitespace in the movie. */
    transform: scale(1.2);
    transform-origin: center bottom;
}

.yrp-ahs-badge {
    position: absolute;
    z-index: 2;
    transform: translateZ(0);
    right: 12px;
    top: 12px;
    width: 230px;
}

.yrp-benefits.yrp-section {
    margin-bottom: 0;
    padding: 20px 30px 26px;
    background: linear-gradient(#f1fbff, #f8fdff);
}

.yrp-benefits .yrp-heading {
    font-size: 35px;
}

.yrp-emphasis::before,
.yrp-emphasis::after {
    display: inline-block;
    flex: 0 0 22px;
    width: 22px;
    height: 44px;
    background: url('/img/year_round_prevention/decoration_emphasis_right.webp') center / contain no-repeat;
    content: '';
}

.yrp-emphasis::after {
    background-image: url('/img/year_round_prevention/decoration_emphasis_left.webp');
}

.yrp-benefits .yrp-heading.yrp-emphasis {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 0 26px;
    font-size: clamp(22px, 3.19vw, 35px);
}

.yrp-emphasis::before,
.yrp-emphasis::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.yrp-emphasis::before { left: 0; }
.yrp-emphasis::after { right: 0; }

.yrp-benefits .yrp-emphasis > img {
    width: clamp(32px, 3.8vw, 45px);
    height: auto;
    margin: 0 4px;
}

.yrp-benefits-intro {
    margin: 5px 0 16px;
    text-align: center;
    font-size: 20px;
}

.yrp-benefit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.yrp-benefit {
    position: relative;
    min-width: 0;
    padding: 14px 17px 12px;
    border-radius: 20px;
    background: #fffefa;
}

.yrp-benefit h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    letter-spacing: -.04em;
}

.yrp-benefit h3>.yrp-number {
    width: 50px;
    height: 50px;
    font-size: 41px;
}

.yrp-benefit p {
    margin: 5px 0 0 63px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.75;
}

.yrp-benefit-spring {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    align-items: start;
}

.yrp-benefit-spring > h3 {
    grid-column: 1 / -1;
    grid-row: 1;
}

.yrp-benefit-spring > .yrp-vet-copy {
    grid-column: 1;
    grid-row: 2 / 4;
    min-width: 0;
    margin-top: 0;
}

.yrp-benefit-spring > .yrp-vet-comparison {
    grid-column: 2;
    grid-row: 2 / 4;
    min-width: 0;
    margin-top: 0;
}

.yrp .yrp-vet-copy > .yrp-vet-intro {
    margin-top: 0;
}

.yrp .yrp-benefit-spring .yrp-vet-note {
    margin: 20px 0 0 63px;
    padding: 16px 12px 50px;
    min-height: 123px;
}

.yrp .yrp-benefit-spring .yrp-vet-note-image {
    right: 8px;
    bottom: 0;
    width: 120px;
}

.yrp .yrp-benefit-spring .yrp-vet-caption {
    margin: 16px 0 0 63px;
    color: #5b6f88;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

.yrp-benefit-spring h3 em {
    color: #ff8a07;
}

.yrp-benefit-spring .yrp-number {
    background: #ff8a07;
}

.yrp-benefit-savings h3 em {
    color: #72ae7b;
}

.yrp-benefit-savings .yrp-number {
    background: #279d47;
}

.yrp-benefit-parasites {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    align-items: start;
}

.yrp-benefit-parasites > h3 {
    grid-column: 1 / -1;
    grid-row: 1;
}

.yrp-benefit-parasites > p {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    margin-top: 0;
    font-size: 19px;
}

.yrp-benefit-parasites > .yrp-cold-note {
    grid-column: 1;
    grid-row: 3;
    min-width: 0;
    margin-left: 63px;
}

.yrp-benefit-parasites h3 {
    color: #fa6477;
}

.yrp-benefit-parasites .yrp-number {
    background: #fa6477;
}

.yrp-benefit-routine h3 {
    font-size: 23px;
}

.yrp-vet-comparison {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-top: 12px;
}

.yrp-vet-comparison>div {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    min-height: 280px;
    border-radius: 15px;
    background: #f0efed;
    text-align: center;
    transition: transform .2s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .yrp-vet-comparison>div:hover {
        z-index: 1;
        transform: scale(1.05);
    }
}

.yrp-vet-comparison>div:last-child {
    background: #fff0ec;
}

.yrp-vet-comparison b {
    display: block;
    width: 110px;
    max-width: calc(100% - 20px);
    margin: 10px auto 6px;
    padding: 3px 10px;
    border-radius: 20px;
    background: #89939a;
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
}

.yrp-vet-comparison>div:last-child b {
    background: #ff507a;
}

.yrp-vet-comparison strong {
    display: block;
    min-height: 54px;
    padding: 0 8px;
    font-size: 20px;
    line-height: 1.5;
}

.yrp-vet-comparison>div:last-child strong {
    color: #963535;
}

.yrp-vet-comparison img {
    width: 100%;
    height: 130px;
    object-fit: contain;
}

.yrp .yrp-vet-note {
    margin: 12px 0 0;
    padding: 10px 12px;
    border: 1px solid #f0c7a5;
    border-radius: 10px;
    background: #fffdf6;
    color: #614b3c;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}
.yrp .yrp-vet-note-title { display: block; color: #bd601d; font-weight: 700; }
.yrp .yrp-vet-intro br { display: inline; }
.yrp .yrp-vet-note-copy { display: block; margin-top: 6px; }

.yrp .yrp-vet-comparison > div:first-child > img {
    width: calc(116% + 20px);
    max-width: none;
    height: 170px;
    margin: -20px calc(-8% - 10px);
    object-fit: contain;
    clip-path: inset(20px 0);
}

.yrp .yrp-vet-comparison > div:last-child > img {
    width: calc(100% + 10px);
    max-width: none;
    height: 140px;
    margin-inline: -5px;
    transform: translateY(10px);
}

.yrp-vet-comparison>span {
    align-self: center;
    color: #77c6ee;
    font-size: 37px;
}

.yrp-benefit-routine {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    align-items: center;
    align-self: stretch;
}

.yrp-benefit-routine > h3 {
    grid-column: 1 / -1;
    grid-row: 1;
}

.yrp-benefit-routine > p {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    margin-top: 0;
}

.yrp .yrp-routine-picture {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    min-height: 0;
    width: 100%;
    max-width: 440px;
    height: auto !important;
    margin: 0;
    object-fit: contain;
    object-position: center;
}

.yrp .yrp-parasites-picture {
    grid-column: 2;
    grid-row: 3;
    align-self: center;
    justify-self: center;
    width: 100%;
    max-width: 480px;
    height: auto;
    margin: 0;
}

.yrp-cold-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    background: #eaf7ff;
}

.yrp-cold-note>img {
    flex-shrink: 0;
}

.yrp .yrp-cold-note p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
}

.yrp-shopping {
    position: relative;
    overflow: hidden;
    background: #fffdf7;
}

.yrp-shopping::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max(1200px, 100%);
    aspect-ratio: 2970 / 900;
    z-index: 1;
    background: linear-gradient(rgba(247, 250, 239, .35) 40%, #f7faef);
    pointer-events: none;
}

.yrp-shopping > .yrp-inner {
    z-index: 2;
}

.yrp-shopping-video {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max(1200px, 100%);
    aspect-ratio: 2970 / 900;
    object-fit: cover;
    object-position: center 30%;
    pointer-events: none;
}

.yrp-habit-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Match the full-width video height (724 / 2970), with a gap before search. */
    min-height: max(300px, calc(24.38vw - 10px));
    padding: 0 30px;
    color: #143c24;
}

.yrp-habit-copy h2 {
    font-size: 47px;
    letter-spacing: -.05em;
}

.yrp-habit-copy h2 span {
    display: inline-block;
    margin-left: -.5em;
    color: #ff7900;
}

.yrp-habit-copy p {
    margin-top: 10px;
    color: #303b35;
    font-size: 22px;
    font-weight: 600;
}

.yrp-search-card {
    position: relative;
    z-index: 1;
    width: 1030px;
    max-width: 100%;
    margin: 0 auto 15px;
    padding: 23px 60px 8px;
    border: 2px solid #deedce;
    border-radius: 28px;
    background: #fffffff5;
    box-shadow: 0 4px 12px #57713214;
    text-align: center;
}

.yrp-search-card h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    color: #173d21;
    font-size: 41px;
}

.yrp-search-card h2.yrp-emphasis {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    padding-inline: 30px;
}

.yrp-search {
    display: flex;
    height: 66px;
    margin: 10px 0 14px;
    overflow: hidden;
    border: 2px solid #deded7;
    border-radius: 40px;
    background: #fff;
    box-shadow: 0 3px 10px #77684820;
}

.yrp-search input {
    flex: 1;
    min-width: 0;
    padding: 0 28px;
    border: 0;
    border-radius: 40px 0 0 40px;
    background: #fff;
    color: #263c30;
    font-size: 23px;
}

.yrp-search input::placeholder {
    color: #969c99;
}

.yrp-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 180px;
    border: 0;
    background: linear-gradient(#73bb4b, #459d37);
    color: #fff;
    font-size: 29px;
    font-weight: 900;
}

.yrp-search-symbol {
    position: relative;
    width: 24px;
    height: 24px;
    border: 4px solid currentColor;
    border-radius: 50%;
}

.yrp-search-symbol::after {
    position: absolute;
    width: 13px;
    height: 4px;
    right: -10px;
    bottom: -5px;
    background: currentColor;
    transform: rotate(48deg);
    content: '';
}

.yrp-guide {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 30px;
    border: 1px solid #ffc37d;
    border-radius: 40px;
    color: #ff710e !important;
    background: #fffaf2;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 2px 6px #ceae6720;
}

.yrp .yrp-guide:hover {
    background: #ffead2;
    filter: none;
}

.yrp-guide span {
    font-size: 33px;
    line-height: 1;
}

.yrp-search-card>p {
    margin-top: 7px;
    color: #666;
    font-size: 17px;
}

.yrp-products {
    margin: 0 auto;
}

.yrp-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 0 80px;
}

.yrp-tabs button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1;
    height: 74px;
    padding: 0 20px;
    border: 2px solid transparent;
    border-bottom: none;
    border-radius: 28px 28px 0 0;
    background: #eeede8;
    color: #89766e;
    font-size: 30px;
    font-weight: 900;
}

.yrp-tabs button img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.yrp-tabs button[aria-selected="true"] {
    position: relative;
    z-index: 1;
    border-color: #81c86d;
    background: #fff;
    color: #234c29;
}

.yrp-tabs button[aria-selected="true"]::after {
    position: absolute;
    bottom: 0;
    width: 62%;
    height: 4px;
    border-radius: 5px;
    background: #76bd5d;
    content: '';
}

.yrp-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 15px;
    position: relative;
    padding: 20px 18px;
    border: 1px solid #ecebe4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 3px 12px #58462b0d;
}

.yrp-category-grid[hidden] {
    display: none;
}

.yrp-category-grid a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 7px 12px;
    border: 2px solid #efefeb;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 3px 5px #00000006;
    font-size: 20px;
    font-weight: 700;
}

.yrp-category-grid a:hover {
    background: #fff;
    filter: none;
    border-color: #94c97a;
}

.yrp-category-grid a img {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.yrp-category-grid a>span:last-child {
    margin-left: auto;
    color: #777;
    font-size: 30px;
}

.yrp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Keep the desktop composition on narrower PC windows. */
@media (max-width: 1100px) {
    .yrp {
        font-size: 17px;
    }

    .yrp-heading,
    .yrp-benefits .yrp-heading {
        font-size: 30px;
    }

    .yrp-warning h3 {
        font-size: 28px;
    }

    .yrp-warning p {
        font-size: 18px;
    }

    .yrp-ahs .yrp-heading {
        font-size: 26px;
    }

    .yrp-ahs-copy {
        width: calc(100% - 370px);
        font-size: 17px;
    }

    .yrp-ahs-logo {
        gap: 15px;
        padding: 15px;
    }

    .yrp-ahs-logo img {
        width: 200px;
    }

    .yrp-ahs-logo strong {
        font-size: 18px;
    }

    .yrp-ahs-pets {
        width: 350px;
    }

    .yrp-ahs-badge {
        width: 195px;
    }

    .yrp-benefit h3 {
        font-size: 23px;
    }

    .yrp-benefit-routine h3 {
        font-size: 20px;
    }

    .yrp-benefit p {
        margin-left: 0;
    }

    .yrp-habit-copy {
        padding: 0;
    }

    .yrp-habit-copy h2 {
        font-size: 41px;
    }

    .yrp-category-grid {
        gap: 10px;
    }

    .yrp-category-grid a {
        padding: 6px;
        font-size: 18px;
    }

    .yrp-category-grid a img {
        width: 44px;
        height: 44px;
    }
}

/* Tablet layout, including iPad portrait and landscape widths. */
@media (max-width: 1199px) {
    .yrp .yrp-hero-mosquito {
        left: 48.6%;
        width: calc(9.1% - 15px);
    }
    .yrp-hero {
        overflow: hidden;
    }

    .yrp .yrp-hero-image {
        width: 140%;
        max-width: none;
        margin-left: -20%;
    }

    body:has(.yrp) {
        min-width: 0;
    }

    body:has(.yrp) #header {
        max-width: 100%;
        overflow-x: auto;
    }

    .yrp-risk>.yrp-inner,
    .yrp-benefits>.yrp-inner,
    .yrp-shopping>.yrp-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .yrp-risk .yrp-heading {
        flex-wrap: wrap;
        font-size: clamp(33px, 3.3vw, 36px);
    }

    .yrp-stages {
        gap: 28px;
        padding: 0;
    }

    .yrp-stage {
        padding: 12px;
    }

    .yrp-stage>.yrp-number {
        left: 10px;
    }

    .yrp-stage h3 {
        margin-left: 55px;
        font-size: 22px;
    }

    .yrp-stage h3 small {
        font-size: 17px;
    }

    .yrp-stage:not(:last-child)::after {
        right: -28px;
        width: 26px;
    }

    .yrp-warning h3 {
        flex-wrap: wrap;
        font-size: 26px;
    }

    .yrp-warning-picture {
        flex-basis: 250px;
        width: 250px;
    }

    .yrp-ahs-logo {
        flex-wrap: wrap;
        gap: 10px;
    }

    .yrp-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .yrp-search-card {
        padding: 22px 24px 12px;
    }

    .yrp-search-card h2 {
        gap: 12px;
        font-size: 33px;
    }

    .yrp-tabs {
        padding: 0 20px;
    }

    .yrp-habit-copy h2 {
        font-size: 35px;
    }

    .yrp-habit-copy p {
        max-width: 65%;
        font-size: 22px;
    }

    .yrp-habit-copy p br {
        display: none;
    }
}

@media (max-width: 900px) {
    .yrp-heading {
        flex-wrap: wrap;
    }

    .yrp-benefit p br {
        display: none;
    }

    .yrp-stage {
        height: 250px;
    }

    .yrp-stage h3 {
        font-size: 20px;
    }

    .yrp-stage h3 small {
        font-size: 15px;
    }

    .yrp-stage>.yrp-number {
        width: 42px;
        height: 42px;
        font-size: 33px;
    }

    .yrp-stage h3 {
        margin-left: 44px;
    }

    .yrp-stage>img {
        width: 100%;
    }

    .yrp-period {
        right: 8px;
        min-width: 0;
        font-size: 15px;
    }

    .yrp-warning {
        gap: 12px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .yrp-warning-picture {
        flex-basis: 210px;
        width: 210px;
    }

    .yrp-warning h3 img {
        width: 44px;
        height: 44px;
        margin-right: 8px;
    }

    .yrp-warning p br {
        display: none;
    }

    .yrp-ahs {
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        grid-template-rows: auto 1fr;
        column-gap: 16px;
        padding: 20px;
    }

    .yrp-ahs .yrp-heading {
        grid-column: 1;
        flex-wrap: wrap;
        font-size: 29px;
    }

    .yrp-ahs-copy {
        grid-column: 1;
        width: 100%;
        min-width: 0;
        font-size: 18px;
    }

    .yrp-ahs-pets {
        position: relative;
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: end;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto !important;
    }

    .yrp-ahs-badge {
        top: 12px;
        bottom: auto;
        right: 20px;
        width: 234px;
    }

    .yrp-benefit-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .yrp-benefits .yrp-heading {
        font-size: 29px;
    }

    .yrp .yrp-benefit h3 {
        font-size: 25px;
    }

    .yrp .yrp-benefit>p {
        margin-left: 0;
    }

    .yrp-routine-picture,
    .yrp-savings-picture {
        flex: none;
        height: auto !important;
        min-height: 0;
        margin: 18px auto 0;
    }

    .yrp-habit-copy {
        min-height: 310px;
    }

    .yrp-habit-copy h2 {
        font-size: 31px;
    }

    .yrp-habit-copy p {
        max-width: 55%;
    }

    .yrp-search-card h2 {
        font-size: 29px;
    }

    .yrp-search input {
        padding: 0 18px;
        font-size: 19px;
    }

    .yrp-search button {
        width: 130px;
        font-size: 24px;
    }

    .yrp-guide {
        padding: 8px 16px;
        font-size: 19px;
    }

    .yrp-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yrp-tabs button {
        font-size: 25px;
    }
}

@keyframes yrp-mosquito-float {
    0%, 100% { transform: translate(0, 0) rotate(-4deg); }
    25% { transform: translate(-6px, -8px) rotate(3deg); }
    50% { transform: translate(4px, -12px) rotate(-3deg); }
    75% { transform: translate(8px, -4px) rotate(4deg); }
}

@keyframes yrp-arrow-emerge {
    0%, 10% { opacity: 0; transform: translateX(-8px) scale(.92); }
    40%, 70% { opacity: 1; transform: translateX(0) scale(1); }
    100% { opacity: 0; transform: translateX(6px) scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
    .yrp .yrp-hero-mosquito {
        animation: yrp-mosquito-float 3s ease-in-out infinite;
    }
    .yrp-stage:not(:last-child)::after {
        animation: yrp-arrow-emerge 2.8s ease-in-out infinite;
    }

    .yrp-stage:nth-child(2)::after {
        animation-delay: .45s;
    }

    html:has(.yrp) {
        scroll-behavior: smooth;
    }

    .yrp a,
    .yrp button {
        transition: filter .15s ease, border-color .15s ease;
    }
}

/* PC category navigation */
.pet-category {
    width: min(100%, 1000px);
    margin: 0 auto;
    padding: 24px 0 10px;
    font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
.pet-category .pet-category__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 0 24px;
    color: #28120d;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.3;
}
.pet-category__heading-text {
    position: relative;
    padding: 0 12px;
    white-space: nowrap;
}
.pet-category__heading-text > span {
    color: #0063cb;
    font-size: 1.2em;
}
.pet-category .pet-category__paw { width: 60px; height: 60px; object-fit: contain; }
.pet-category__paw--right { transform: scaleX(-1); }
.pet-category__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}
.pet-category .pet-category__card {
    --category-color: #0065cb;
    --category-bright: #24a5ff;
    --category-border: #cceaff;
    --category-tint: #eff8ff;
    display: block;
    min-width: 0;
    padding: 5px;
    overflow: hidden;
    border: 2px solid var(--category-border);
    border-radius: 22px;
    background: linear-gradient(#fff 65%, var(--category-tint));
    box-shadow: 0 1px 4px rgba(30, 50, 70, .06);
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.pet-category .pet-category__card--dog-flea-tick {
    --category-color: #ff6526;
    --category-bright: #ff9c43;
    --category-border: #ffe9c8;
    --category-tint: #fff8ee;
}
.pet-category .pet-category__card--cat-heartworm {
    --category-color: #17682c;
    --category-bright: #45bf7a;
    --category-border: #ccefe3;
    --category-tint: #f3fbf7;
}
.pet-category .pet-category__card--cat-flea-tick {
    --category-color: #f40b58;
    --category-bright: #ff658c;
    --category-border: #ffd5e8;
    --category-tint: #fff3f7;
}
.pet-category .pet-category__photo {
    display: block;
    width: 100%;
    max-width: none;
    aspect-ratio: 2.36 / 1;
    height: auto;
    object-fit: cover;
    border-radius: 17px;
}
.pet-category__caption {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 82px;
    padding: 8px 12px;
    color: var(--category-color);
}
.pet-category__icon { flex: 0 0 52px; width: 52px; height: 52px; color: var(--category-bright); }
.pet-category__label {
    flex: 1;
    color: var(--category-color);
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1.4px;
    line-height: 1.3;
    white-space: nowrap;
}
.pet-category__animal { color: #28120d; }
.pet-category__arrow {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--category-bright), var(--category-color));
}
.pet-category__arrow::before {
    width: 15px;
    height: 15px;
    margin-left: -6px;
    content: "";
    border-top: 5px solid #fff;
    border-right: 5px solid #fff;
    border-radius: 2px;
    transform: rotate(45deg);
}
.pet-category .pet-category__card:hover { transform: translateY(-2px); box-shadow: 0 2px 6px rgba(30, 50, 70, .09); }
.pet-category .pet-category__card:focus-visible { outline: 3px solid var(--category-color); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
    .pet-category .pet-category__card { transition: none; }
}

/* Switching to year-round prevention */
.yrp .yrp-switch {
    --yrp-switch-pink: #c90062;
    margin-bottom: 0;
    padding: 24px 14px 28px;
    background: #fcf8ec;
}
.yrp-switch-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    grid-template-areas: "heading heading" "continue picture" "stock picture" "warning warning";
    gap: 14px 0;
    max-width: 1172px;
    margin: 0 auto;
    padding: 32px 62px 24px;
    border-radius: 32px;
    background: #fff;
}
.yrp-switch-heading {
    grid-area: heading;
    justify-self: center;
    width: fit-content;
    max-width: 100%;
}
.yrp .yrp-switch-title {
    position: relative;
    margin: 0;
    padding: 0 48px;
    color: var(--yrp-switch-pink);
    font-size: 44px;
    font-weight: 800;
    line-height: 1.35;
    text-align: left;
}
.yrp-switch-title::before,
.yrp-switch-title::after {
    position: absolute;
    top: -12px;
    width: 50px;
    height: 50px;
    background: url('/img/year_round_prevention/switch_accent_left.webp') center / contain no-repeat;
    content: '';
    pointer-events: none;
}
.yrp-switch-title::before { left: 0; }
.yrp-switch-title::after { right: 0; background-image: url('/img/year_round_prevention/switch_accent_right.webp'); }
.yrp .yrp-switch-intro {
    margin: 14px 48px 0;
    color: #333;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.7;
}
.yrp .yrp-switch-picture {
    grid-area: picture;
    position: relative;
    z-index: 1;
    align-self: center;
    justify-self: end;
    width: calc(100% + 36px);
    max-width: 520px;
    max-height: 300px;
    height: auto;
    object-fit: contain;
    object-position: left center;
}
.yrp-switch-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-self: center;
    align-items: center;
    gap: 12px;
    padding: 12px 40px 12px 12px;
    border: 2px solid #ffedf2;
    border-radius: 20px;
    background: #fff;
}
.yrp-switch-continue { grid-area: continue; }
.yrp-switch-stock { grid-area: stock; }
.yrp-switch-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fdebf0;
}
.yrp .yrp-switch-icon img { width: 58px; height: 58px; object-fit: contain; }
.yrp .yrp-switch-card h3 {
    display: inline-block;
    margin: 0 0 8px;
    padding: 5px 16px;
    border-radius: 40px;
    background: #fdeef3;
    color: var(--yrp-switch-pink);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.4;
}
.yrp .yrp-switch-card p {
    position: relative;
    margin: 0;
    padding-left: 1.4em;
    color: #182146;
    font-size: 17px;
    line-height: 1.65;
}
.yrp-switch-card p::before { position: absolute; left: 0; content: '→'; }
.yrp-switch-warning {
    grid-area: warning;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding: 18px 24px;
    border-radius: 20px;
    background: #fce9e9;
}
.yrp-switch-warning-icon {
    display: grid;
    align-self: stretch;
    place-items: center;
    padding-right: 20px;
    border-right: 2px dashed #f496a4;
}
.yrp .yrp-switch-warning-icon img { width: 88px; height: auto; }
.yrp .yrp-switch-warning h3 {
    margin: 0 0 6px;
    color: var(--yrp-switch-pink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.4;
}
.yrp .yrp-switch-warning p { margin: 0; color: #182146; font-size: 17px; line-height: 1.7; }
@media (max-width: 1100px) {
    .yrp .yrp-switch-title { font-size: 36px; }
    .yrp .yrp-switch-picture { width: calc(100% + 20px); }
    .yrp-switch-card { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; padding: 12px 32px 12px 12px; }
    .yrp-switch-icon { width: 68px; height: 68px; }
    .yrp .yrp-switch-icon img { width: 54px; height: 54px; }
    .yrp .yrp-switch-card h3 { font-size: 20px; padding: 5px 12px; }
    .yrp .yrp-switch-card p { font-size: 17px; }
}

/* Generic medicine and bulk purchase savings */
.yrp .yrp-benefit-savings {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    grid-template-areas: "title title" "intro intro" "cost picture" "bulk bulk" "cta cta";
    gap: 18px 24px;
    padding: 26px;
    border: 1px solid #edf8ff;
    border-radius: 26px;
    background: #fff;
    box-shadow: none;
    color: #12314a;
}
.yrp .yrp-benefit-savings > h3 {
    grid-area: title;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -.035em;
}
.yrp .yrp-benefit-savings h3 > .yrp-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #279d47;
    font-size: 41px;
}
.yrp .yrp-benefit-savings h3 > span:last-child { min-width: 0; }
.yrp .yrp-benefit-savings h3 em {
    display: inline-block;
    padding: 0 3px;
    border-radius: 8px;
    background: linear-gradient(transparent 82%, #ddf2d3 82%);
    color: #279d47;
}
.yrp .yrp-benefit-savings > .yrp-savings-intro {
    grid-area: intro;
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
}
.yrp .yrp-savings-picture {
    grid-area: picture;
    align-self: center;
    justify-self: center;
    width: 100%;
    max-width: 440px;
    min-height: 0;
    height: auto !important;
    margin: 0;
    object-fit: contain;
}
.yrp .yrp-savings-cost {
    grid-area: cost;
    min-width: 0;
    margin: 0;
    padding: 18px 20px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 0 16px rgba(79, 174, 99, .18);
    font-size: 17px;
    line-height: 1.7;
}
.yrp .yrp-savings-cost h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.4;
}
.yrp-savings-cost h4::after { flex: 1; min-width: 16px; border-top: 2px dashed #b6e3b9; content: ''; }
.yrp .yrp-savings-cost h4 img { flex-shrink: 0; width: 48px; height: 48px; object-fit: contain; }
.yrp .yrp-savings-prices { margin: 0 0 14px; padding: 0; }
.yrp-savings-prices > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px; margin-bottom: 8px; }
.yrp .yrp-savings-prices dt { margin: 0; padding: 5px 8px; border-radius: 30px; background: #edf0f1; font-size: 16px; font-weight: 700; line-height: 1.5; text-align: center; }
.yrp .yrp-savings-price-generic dt { background: #e0f3ff; }
.yrp .yrp-savings-prices dd { margin: 0; padding: 0; font-size: 17px; line-height: 1.6; }
.yrp-savings-prices dd strong { font-size: 23px; font-weight: 900; white-space: nowrap; }
.yrp .yrp-savings-cost .yrp-savings-result {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #edf8ec;
    color: #0a8c35;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.7;
    text-align: center;
}
.yrp-savings-result > strong { padding: 0 2px; border-radius: 6px; background: linear-gradient(transparent 74%, #fff89b 74%); font-size: 36px; white-space: nowrap; }
.yrp-savings-result > strong > span { font-size: .65em; }
.yrp .yrp-savings-cost .yrp-savings-note { margin: 8px 0 0; color: #5b6b76; font-size: 12px; font-weight: 400; line-height: 1.6; }
.yrp .yrp-benefit-savings > .yrp-savings-bulk-copy {
    grid-area: bulk;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.7;
}
.yrp .yrp-savings-bulk-copy img { flex-shrink: 0; width: 54px; height: 54px; object-fit: contain; }
.yrp-savings-bulk-copy strong { border-radius: 6px; background: linear-gradient(transparent 80%, #d4efff 80%); color: #0875cb; font-weight: 900; }
.yrp .yrp-savings-cta {
    grid-area: cta;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(680px, 100%);
    max-width: 100%;
    margin: 0;
    padding: 16px 24px;
    border-radius: 50px;
    background: linear-gradient(#1c9cde, #0067c6);
    box-shadow: 0 5px 12px rgba(0, 103, 198, .2);
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.5;
    text-align: center;
}
.yrp-savings-cta > span { font-size: 1.5em; line-height: 1; }
@media (max-width: 1100px) {
    .yrp .yrp-benefit-savings { padding: 20px; gap: 16px; }
    .yrp .yrp-benefit-savings > h3 { font-size: 26px; }
    .yrp .yrp-savings-cost { padding: 14px; }
    .yrp .yrp-savings-cost h4 { font-size: 21px; }
    .yrp .yrp-savings-prices dt { font-size: 14px; }
    .yrp .yrp-savings-prices dd { font-size: 15px; }
    .yrp-savings-prices dd strong { font-size: 21px; }
    .yrp .yrp-savings-cost .yrp-savings-result { font-size: 18px; }
    .yrp-savings-result > strong { font-size: 30px; }
}

/* SL1 ordering and search navigation */
.yrp-sl1-order { position: relative; z-index: 1; width: min(980px, 100%); margin: 0 auto 24px; }
.yrp .yrp-sl1-order-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 18px 24px;
    border-radius: 40px;
    background: linear-gradient(#1c9cde, #0067c6);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.5;
    text-align: center;
}
.yrp-sl1-order-main > span { flex-shrink: 0; font-size: 1.5em; line-height: 1; }
.yrp .yrp-sl1-login-note { margin: 8px 0 20px; color: #526372; font-size: 14px; text-align: center; }
.yrp-sl1-order-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.yrp .yrp-sl1-order-categories > a { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px; border: 2px solid #79c6e7; border-radius: 16px; background: #fff; color: #12314a; font-size: 19px; font-weight: 700; line-height: 1.5; }
.yrp .yrp-sl1-order-categories img { flex-shrink: 0; width: 44px; height: 44px; object-fit: contain; }
.yrp-sl1-order-categories > a > span:last-child { flex-shrink: 0; margin-left: auto; color: #0875cb; font-size: 28px; }
.yrp .yrp-search-card--sl1 h2 { font-size: 26px; line-height: 1.5; }

/* Monthly routine heading matches the savings heading on desktop. */
.yrp .yrp-benefit-routine h3 > .yrp-routine-heading { min-width: 0; text-align: left; text-indent: 0; }
.yrp .yrp-routine-label { display: inline; text-indent: 0; white-space: normal; }
.yrp .yrp-routine-result {
    display: inline-block;
    border-radius: 4px;
    background: linear-gradient(transparent 78%, #fff3a2 78%);
    font-size: inherit;
    font-weight: 900;
    line-height: inherit;
    text-indent: 0;
    white-space: nowrap;
}
.yrp .yrp-benefit-routine > h3 {
    gap: 16px;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -.035em;
}
@media (max-width: 1100px) {
    .yrp .yrp-benefit-routine > h3 { font-size: 26px; }
}

/* Keep button chevrons complete and independent of font glyph metrics. */
.yrp .yrp-button-arrow {
    display: block;
    flex: 0 0 auto;
    width: 12px;
    height: 20px;
    overflow: visible;
}
.yrp .yrp-sl1-order-categories > a > .yrp-button-arrow { margin-left: auto; }

/* Illustration positioned inside the vaccination note with a small overhang. */
.yrp .yrp-vet-note {
    position: relative;
    overflow: visible;
    margin-right: 18px;
    container-type: inline-size;
    min-height: 100px;
    padding-right: 12px;
    padding-bottom: 14px;
}
.yrp .yrp-vet-note-image {
    position: absolute;
    z-index: 1;
    top: auto;
    right: -18px;
    bottom: -14px;
    width: 120px;
    max-width: none;
    height: auto;
    transform: none;
}

.yrp .yrp-vet-note-title { font-size: min(1em, 4.1cqi); white-space: nowrap; }

/* Hover treatment for the primary SL1 calls to action. */
.yrp .yrp-sl1-order-main,
.yrp .yrp-savings-cta {
    transition: box-shadow .2s ease;
}
@media (hover: hover) {
    .yrp .yrp-sl1-order-main:hover,
    .yrp .yrp-savings-cta:hover {
        background: linear-gradient(#138aca, #005bad);
        box-shadow: 0 7px 16px rgba(0, 91, 173, .28);
        filter: none;
    }
}

/* Intro emphasis matching the prevention guidance. */
.yrp .yrp-intro { color: var(--yrp-navy); text-align: center; }
.yrp .yrp-intro-emphasis { color: var(--yrp-pink); font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
.yrp .yrp-intro-key { font-size: 1.2em; font-weight: 900; text-align: center; }

.yrp .yrp-ahs-copy > p { text-align: left; }
.yrp .yrp-ahs-text { color: var(--yrp-navy); font-weight: 700; }
.yrp .yrp-ahs-emphasis { color: #f00020; font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
