/* Native AP choices, compact like the existing o2 option switch. */
.card .ap-front-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    box-sizing: border-box;
    width: 100%;
    min-height: 54px;
    margin: 0 0 9px;
    padding: 3px 6px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}
.card .ap-front-row > .ap-text {
    margin: 0;
    min-width: 0;
    min-height: 18px;
    font-size: .68rem;
    font-weight: 750;
    line-height: 1.25;
}
body:is([data-layout="desktop"], [data-layout="tablet"]) .card .ap-front-row { height: 54px; }
.card .ap-front-row .advisor-help-code { font-size: .58rem; line-height: 1.15; }
.card .ap-front-slot { flex: 0 0 auto; }
.card .ap-front-choice {
    --ap-switch-color: var(--o2-cyan, #00b0f0);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 2px;
    cursor: pointer;
    border-radius: 4px;
    font-size: .68rem;
    font-weight: 750;
    line-height: 1.2;
}
.card[data-operator="vodafone"] .ap-front-choice { --ap-switch-color: #e60000; }
.card[data-operator="ayyildiz"] .ap-front-choice { --ap-switch-color: var(--ayyildiz-red, #e20015); }
.card .ap-front-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.card .ap-front-choice .option-switch {
    position: relative;
    width: 30px;
    height: 17px;
    flex: 0 0 30px;
    border-radius: 999px;
    background: #cbd5e1;
}
.card .ap-front-choice .option-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 17, 44, .3);
}
.card .ap-front-choice input:checked ~ .option-switch { background: var(--ap-switch-color); }
.card .ap-front-choice input:checked ~ .option-switch::after { transform: translateX(13px); }
.card .ap-front-choice input:focus-visible ~ .option-switch {
    outline: 2px solid var(--ap-switch-color);
    outline-offset: 3px;
}
.card .ap-front-choice:hover .ap-front-caption { text-decoration: underline; }
.card .ap-front-native-choice { display: none !important; }

.card[data-operator="vodafone"] .features { height: auto; min-height: 80px; }
.card[data-operator="vodafone"] .features li.tariff-start-credit {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff3f3;
    color: #8c1616;
    font-size: .65rem;
    font-weight: 650;
    line-height: 1.4;
}
.card[data-operator="vodafone"] .features li.tariff-start-credit::before { display: none; }
