:where(.cta, .button, .btn, .chip, .icon-btn, .pp-button, .place-chip, .city-button, button, .bottom-nav a, .pp-dock a, summary):not([hidden]) {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

:is(.cta, .button, .btn, .chip, .icon-btn, .pp-button, .place-chip, .city-button, button, .bottom-nav a, .pp-dock a, .header-links a, summary) {
    transition: transform .2s cubic-bezier(.2,.75,.25,1), background-color .22s ease, border-color .22s ease, box-shadow .22s ease, color .22s ease;
}

:is(.cta, .button, .btn, .pp-button, .city-button, .moto-home button) {
    min-height: 44px;
    border-radius: 15px;
}

@media (hover: hover) and (pointer: fine) {
    :is(.cta, .button, .btn, .pp-button, .city-button, .moto-home button):not(:disabled, [aria-disabled="true"]):hover {
        transform: translateY(-2px);
        box-shadow: 0 7px 18px #092a2026;
    }
    :is(.pp-dock a, .header-links a, .icon-btn, .place-chip, .chip, summary):not(:disabled):hover {
        background-color: color-mix(in srgb, currentColor 9%, transparent);
    }
}

:is(.cta, .button, .btn, .pp-button, .city-button, button, .bottom-nav a, .pp-dock a, .header-links a, summary):not(:disabled, [aria-disabled="true"]):active {
    transform: scale(.975);
}

:is(a, button, summary, .city-slide-track):focus-visible {
    outline: 2px solid #0d8660;
    outline-offset: 3px;
}

.city-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .6rem .95rem;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 730;
    font-size: .91rem;
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
}

.city-button-light, .city-button-light:hover { color: #103a2c; background: #f1fff8; }

:is(.pp-home .pp-glass, .city-slide-copy .city-button, .city-promo .city-button, .city-login-card .city-login-submit, .moto-home .moto-actions .button:last-child) {
    color: #352055;
    border-color: #d3b7f4;
    background: #e5d2ff;
    box-shadow: 0 5px 18px #58349129;
}
:is(.pp-home .pp-glass, .city-slide-copy .city-button, .city-promo .city-button, .city-login-card .city-login-submit, .moto-home .moto-actions .button:last-child):hover {
    color: #352055;
    background: #f1e6ff;
    border-color: #d3b7f4;
}
.city-slide-track[data-city-ready] { position: relative; }
.city-slide[data-city-loop] { pointer-events: none; }
.city-discover-head { display: flex; gap: .8rem; align-items: end; justify-content: space-between; flex-wrap: wrap; margin-bottom: .9rem; }
.city-carousel-controls { display: flex; gap: .45rem; }
.city-carousel-controls[hidden], .city-icon-button[hidden], [data-city-secret-toggle][hidden] { display: none; }
.city-icon-button { width: 44px; height: 44px; padding: 0; color: var(--pp-ink); background: var(--pp-paper); border-color: var(--pp-line); font-size: 1.15rem; }
.city-slide-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    border-radius: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: #58a68a transparent;
}
.city-slide { position: relative; min-width: 0; height: clamp(310px, 38vw, 455px); display: grid; align-items: end; scroll-snap-align: start; isolation: isolate; overflow: hidden; border-radius: 24px; background: #164637; color: white; }
.city-slide::after, .city-slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.city-slide img { object-fit: cover; z-index: -2; color: white; }
.city-slide::after { content: ''; z-index: -1; background: linear-gradient(0deg, #071d19ed, #0b241c84 44%, transparent 76%); }
.city-slide-copy { padding: clamp(18px, 4vw, 42px); }
.city-slide-tag { display: inline-flex; padding: .28rem .65rem; border-radius: 999px; color: #063c29; background: #e3ffb3; font-size: .78rem; font-weight: 740; }
.city-slide-copy h3 { color: white; margin: .35rem 0 .65rem; font-size: clamp(1.5rem, 4vw, 3rem); letter-spacing: -.035em; line-height: 1.1; }
.city-slide-credit { display: block; margin-top: .65rem; font-size: .74rem; color: #ecfff6; }
.city-slide-credit a { color: inherit; text-decoration: underline; }

.city-pharmacy, .city-promo { border-radius: 24px; }
.city-pharmacy {
    margin-block: 1.2rem;
    padding: clamp(16px, 3vw, 28px);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #a8dfcd;
    background: linear-gradient(120deg, #eafff5, #edf8fb);
    color: #15382d;
}
.city-pharmacy-copy { flex: 1 1 250px; }
.city-pharmacy h2 { margin: 0 0 .25rem; color: inherit; font-size: clamp(1.27rem, 2.5vw, 1.75rem); line-height: 1.16; }
.city-pharmacy p { margin: 0; color: #345a4e; font-size: .93rem; }
.city-pharmacy-icon, .city-login-icon { width: 52px; height: 52px; flex: 0 0 52px; font-size: 1.45rem; display: grid; place-items: center; border-radius: 16px; background: #d5f5e8; color: #10543c; }
.city-pharmacy .city-button { background: #14553f; color: white; }

.city-promo { overflow: hidden; display: flex; align-items: stretch; background: linear-gradient(128deg, #153b35, #47557e); color: white; }
.city-promo-copy { flex: 1 1 52%; padding: clamp(18px, 4vw, 44px); }
.city-promo-copy span { color: #e3ffb3; font-size: .85rem; font-weight: 730; }
.city-promo h2 { color: white; margin: .4rem 0; overflow-wrap: anywhere; }
.city-promo p { margin: .4rem 0 .9rem; overflow-wrap: anywhere; }
.city-promo .city-button { margin-top: .5rem; }
.city-promo img { object-fit: cover; width: 43%; max-height: 260px; align-self: center; border-radius: 20px; margin: 12px; }

.city-login { padding-block: clamp(20px, 6vw, 76px); }
.city-login-card {
    --login-paper: #fff;
    --login-text: #102d26;
    --login-muted: #4a635c;
    --login-field: #f5f9f7;
    --login-border: #c1d3cb;
    width: min(100%, 500px);
    margin-inline: auto;
    padding: clamp(20px, 5vw, 38px);
    border-radius: 28px;
    border: 1px solid var(--login-border);
    background: var(--login-paper);
    color: var(--login-text);
    box-shadow: 0 18px 52px #14553f12;
}
[data-theme="dark"] .city-login-card { --login-paper: #132c27; --login-text: #effff8; --login-muted: #b4cdc2; --login-field: #10251f; --login-border: #54766a; }
.city-login-card h1 { color: inherit; font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -.055em; margin: .13rem 0; }
.city-login-kicker { font-weight: 740; font-size: .84rem; color: var(--login-muted); margin: .9rem 0 0; }
.city-login-intro, .city-login-signup { color: var(--login-muted); }
.city-login-card form { margin-top: 1.25rem; }
.city-login-card label { display: block; margin: .9rem 0 .38rem; font-size: .92rem; font-weight: 730; }
.city-input-wrap {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding-inline: .88rem .2rem;
    border: 1px solid var(--login-border);
    border-radius: 15px;
    background: var(--login-field);
    color: var(--login-muted);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.city-input-wrap:focus-within { border-color: #188862; box-shadow: 0 0 0 3px #39a88235; }
.city-input-wrap input { min-width: 0; width: 100%; height: 52px; padding: 0 .3rem 0 0; outline: none; border: 0; box-shadow: none; background: transparent; color: var(--login-text); font: inherit; font-size: 16px; }
.city-input-wrap button { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: inherit; cursor: pointer; }
.city-input-wrap button:hover { background: #18886220; }
.city-login-card a { color: var(--login-text); font-weight: 680; text-decoration: underline; text-underline-offset: .16em; }
.city-login-recovery { text-align: right; font-size: .88rem; margin: .65rem 0 1rem; }
.city-login-submit, .city-login-submit:hover { width: 100%; min-height: 51px; color: white; background: #145f47; }
.city-login-signup { margin: 1.1rem 0 0; text-align: center; font-size: .9rem; }
.city-login-hint, .city-login-error { padding: .75rem; border-radius: 12px; font-size: .87rem; }
.city-login-hint { color: #214c3b; background: #e2f6e9; }
.city-login-error { color: #8c282a; background: #fff0ee; }

@media (prefers-reduced-motion: no-preference) {
    .pp-hero { position: relative; }
    .pp-hero[style*="--city-shift"]::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        background: inherit;
        transform: translate3d(0, var(--city-shift), 0) scale(1.1);
    }
    .moto-home .area-map { overflow: hidden; }
    :is(.pp-card-photo, .city-slide) > img, .moto-home .area-map > svg {
        transform: translate3d(0, var(--city-shift, 0px), 0) scale(1.1);
    }
}

@media (max-width: 560px) {
    .city-pharmacy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; }
    .city-pharmacy .city-button { grid-column: 1 / -1; }
    .city-promo { flex-direction: column-reverse; }
    .city-promo img { width: calc(100% - 24px); max-height: 175px; margin: 12px 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
    :is(.cta, .button, .btn, .chip, .icon-btn, .pp-button, .place-chip, .city-button, button, .bottom-nav a, .pp-dock a, .header-links a, summary, .city-input-wrap) {
        transition: none !important;
        transform: none !important;
    }
}
