.store-cta {
    --store-cta-button-width: 220px;
    --store-cta-badge-width: 220px;
    --store-cta-badge-height: calc(var(--store-cta-badge-width) * 0.367);
    --store-cta-button-height: 68px;
    --store-cta-card-text: #202124;
    --store-cta-card-subtext: rgba(95, 99, 104, 0.92);
    --store-cta-surface: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    --store-cta-border: rgba(32, 33, 36, 0.12);
    --store-cta-shadow: 0 8px 22px rgba(32, 33, 36, 0.16);
    --store-cta-hint-text: rgba(29, 29, 31, 0.72);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.store-cta[data-store-cta-tone="inverse"] {
    --store-cta-hint-text: rgba(255, 255, 255, 0.82);
}

.store-cta--sticky {
    --store-cta-button-width: 188px;
    --store-cta-badge-width: 188px;
    --store-cta-buttons-width: min(clamp(805px, 70vw, 1040px), calc(100vw - var(--store-cta-menu-size) - 56px));
    --store-cta-menu-size: 106px;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    height: auto;
    min-height: calc(var(--store-cta-menu-size) + 6px + env(safe-area-inset-bottom));
    padding: 3px max(12px, env(safe-area-inset-right)) calc(3px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(217, 134, 149, 0.18);
    box-shadow: 0 -18px 44px rgba(112, 72, 84, 0.14);
    backdrop-filter: blur(18px);
    display: grid;
    grid-template-columns: minmax(0, var(--store-cta-buttons-width)) var(--store-cta-menu-size);
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.lp-sticky-store-cta.is-lp-chrome-hidden {
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
}

.lp-sticky-store-cta {
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.lp-sticky-store-cta.is-lp-chrome-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.store-cta--sticky .store-cta__buttons {
    display: grid;
    grid-template-columns: minmax(0, 2.72fr) minmax(0, 3.36fr);
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 12px;
}

.store-cta--sticky .store-cta__android-link {
    border-radius: 8px;
    overflow: hidden;
}

.lp-sticky-store-cta__menu {
    width: var(--store-cta-menu-size);
    height: var(--store-cta-menu-size);
    z-index: 1;
    margin: 0;
    border-radius: 999px;
    background: #d98695;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(217, 134, 149, 0.32);
    gap: 5px;
    transition: width 0.22s ease, height 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.lp-sticky-store-cta__menu[aria-expanded="true"] {
    width: calc(var(--store-cta-menu-size) + 16px);
    height: calc(var(--store-cta-menu-size) + 16px);
    border: 6px solid #ffffff;
    box-shadow: 0 18px 42px rgba(217, 134, 149, 0.42);
}

.lp-sticky-store-cta__menu .menu-button__label {
    display: block;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.02em;
}

.lp-sticky-store-cta__menu .menu-button__bars {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.lp-sticky-store-cta__menu .menu-button__bar {
    width: 40px;
    height: 4px;
    background: currentColor;
}

.lp-sticky-store-cta__menu[aria-expanded="true"] .menu-button__bar:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

.lp-sticky-store-cta__menu[aria-expanded="true"] .menu-button__bar:nth-child(2) {
    opacity: 0;
}

.lp-sticky-store-cta__menu[aria-expanded="true"] .menu-button__bar:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

.store-cta--sticky .store-cta__ios-link:hover,
.store-cta--sticky .store-cta__android-link:hover {
    transform: translateY(-2px);
}

.has-sticky-store-cta {
    padding-bottom: calc(122px + env(safe-area-inset-bottom));
}

.store-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.store-cta__ios-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--store-cta-button-width);
    height: var(--store-cta-badge-height);
    max-width: 100%;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.24s ease;
}

.store-cta__ios-link:hover {
    transform: translateY(-4px);
}

.store-cta__android-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--store-cta-button-width);
    height: var(--store-cta-badge-height);
    max-width: 100%;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.store-cta__android-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.store-cta__ios-badge {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.store-cta__android-badge {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transform: none;
    clip-path: none;
}

.store-cta__android-card {
    width: var(--store-cta-button-width);
    max-width: 100%;
    min-width: 0;
    min-height: var(--store-cta-button-height);
    padding: 8px 18px;
    box-sizing: border-box;
    border-radius: 16px;
    border: 1px solid var(--store-cta-border);
    background: var(--store-cta-surface);
    box-shadow: var(--store-cta-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
}

.store-cta__android-title {
    color: var(--store-cta-card-text);
    font-size: 21px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.01em;
}

.store-cta__android-status {
    color: var(--store-cta-card-subtext);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    order: -1;
}

.store-cta .store-cta__hint {
    margin: 0;
    color: var(--store-cta-hint-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

@media (max-width: 759px) {
    .store-cta--sticky {
        --store-cta-button-width: 158px;
        --store-cta-badge-width: 158px;
        --store-cta-buttons-width: 100%;
        --store-cta-menu-size: 68px;
        height: auto;
        min-height: calc(var(--store-cta-menu-size) + 6px + env(safe-area-inset-bottom));
        padding: 3px max(6px, env(safe-area-inset-right)) calc(3px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch;
        padding-right: calc(max(6px, env(safe-area-inset-right)) + var(--store-cta-menu-size) + 8px);
        gap: 0;
    }

    .store-cta--sticky .store-cta__buttons {
        width: 100%;
        max-width: none;
        gap: 4px;
    }

    .lp-sticky-store-cta__menu {
        position: absolute;
        top: 50%;
        right: max(6px, env(safe-area-inset-right));
        transform: translateY(-50%);
    }

    .lp-sticky-store-cta__menu[aria-expanded="true"] {
        width: 78px;
        height: 78px;
        right: max(4px, env(safe-area-inset-right));
        border-width: 5px;
        transform: translateY(-56%);
    }

    .lp-sticky-store-cta__menu .menu-button__label {
        font-size: 14px;
    }

    .lp-sticky-store-cta__menu[aria-expanded="true"] .menu-button__label {
        font-size: 0;
    }

    .lp-sticky-store-cta__menu .menu-button__bars {
        gap: 4px;
    }

    .lp-sticky-store-cta__menu .menu-button__bar {
        width: 28px;
        height: 3px;
    }

    .lp-sticky-store-cta__menu[aria-expanded="true"] .menu-button__bar {
        width: 44px;
        height: 5px;
    }

    .lp-sticky-store-cta__menu[aria-expanded="true"] .menu-button__bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .lp-sticky-store-cta__menu[aria-expanded="true"] .menu-button__bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .has-sticky-store-cta {
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
    }

    .store-cta--sticky .store-cta__android-link,
    .store-cta--sticky .store-cta__ios-link {
        flex: 1 1 0;
        width: 100%;
        min-width: 0;
        max-height: none;
    }

    .store-cta--sticky .store-cta__android-badge {
        transform: none;
    }

    .store-cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-cta__android-card,
    .store-cta__android-link,
    .store-cta__ios-link {
        width: min(var(--store-cta-button-width), 100%);
    }

    .store-cta__android-badge,
    .store-cta__ios-badge {
        width: var(--store-cta-badge-width);
        max-width: 100%;
    }
}

.store-cta--sticky .store-cta__android-link,
.store-cta--sticky .store-cta__ios-link {
    width: 100%;
    height: auto;
    max-height: 112px;
    aspect-ratio: 108.85157 / 40;
}

.store-cta--sticky .store-cta__android-link {
    aspect-ratio: 646 / 192;
}

.store-cta--sticky .store-cta__android-badge,
.store-cta--sticky .store-cta__ios-badge {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: fill;
}

.store-cta--sticky .store-cta__android-badge {
    clip-path: none;
    transform: none;
    transform-origin: center;
}

@media (max-width: 759px) {
    .store-cta--sticky .store-cta__android-badge {
        transform: none;
    }
}
