/* Sarışan Dijital V13
   - Ödeme yönteminde yalnızca aktif kartta "Seçildi" görünür.
   - Paket fiyatları alt satırda aynı hizada durur.
   - Paket seçim hareketi sadeleştirilir. */

/* ---------------------------------------------------------------
   ÖDEME YÖNTEMİ DURUM METNİ
   --------------------------------------------------------------- */
body.checkout-724 .checkout20-methods li .checkout20-method-copy .bottom .selected {
    display: none !important;
}

body.checkout-724 .checkout20-methods li .checkout20-method-copy .bottom .default {
    display: inline-flex !important;
}

body.checkout-724 .checkout20-methods li.selected .checkout20-method-copy .bottom .default {
    display: none !important;
}

body.checkout-724 .checkout20-methods li.selected .checkout20-method-copy .bottom .selected {
    display: inline-flex !important;
}

/* ---------------------------------------------------------------
   PAKET KARTLARI
   Miktar üstte; hizmet türü ve fiyat aynı alt hizadadır.
   --------------------------------------------------------------- */
body.page-category .service--content .pack--list .pack,
body.page-category .service--content .pack--list .pack.available {
    display: grid !important;
    min-height: 86px !important;
    height: 86px !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    align-items: stretch !important;
    column-gap: 10px !important;
    row-gap: 6px !important;
    padding: 12px 14px 11px !important;
    transform: none !important;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease !important;
}

body.page-category .service--content .pack--list .pack span.amount {
    grid-column: 1 / 3 !important;
    grid-row: 1 !important;
    align-self: start !important;
    justify-self: start !important;
    margin: 0 !important;
    line-height: 1 !important;
}

body.page-category .service--content .pack--list .pack span.type {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: end !important;
    justify-self: start !important;
    min-width: 0 !important;
    margin: 0 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body.page-category .service--content .pack--list .pack span.price,
body.page-category .service--content .pack--list .pack.selected span.price,
body.page-category .service--content .pack--list .pack:hover span.price {
    grid-column: 2 !important;
    grid-row: 2 !important;
    position: static !important;
    align-self: end !important;
    justify-self: end !important;
    margin: 0 !important;
    padding: 6px 9px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Kart tıklamasında zıplama yerine sade renk ve kenarlık geçişi. */
body.page-category .service--content .pack--list .pack:hover,
body.page-category .service--content .pack--list .pack.selected {
    transform: none !important;
}

body.page-category .service--content .pack--list .pack:hover {
    border-color: color-mix(in srgb, var(--main-color) 45%, #dfe4ef) !important;
    background: color-mix(in srgb, var(--main-color) 2.5%, #fff) !important;
    box-shadow: 0 5px 14px rgba(12, 29, 70, .06) !important;
}

body.page-category .service--content .pack--list .pack.selected {
    border-color: var(--main-color) !important;
    background: color-mix(in srgb, var(--main-color) 5%, #fff) !important;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--main-color) 42%, transparent),
                0 6px 16px color-mix(in srgb, var(--main-color) 8%, transparent) !important;
}

body.page-category .service--content .pack--list .pack::before,
body.page-category .service--content .pack--list .pack::after,
body.page-category .service--content .pack--list .pack.selected::before,
body.page-category .service--content .pack--list .pack.selected::after {
    display: none !important;
    content: none !important;
}

@media (max-width: 768px) {
    body.page-category .service--content .pack--list .pack,
    body.page-category .service--content .pack--list .pack.available {
        min-height: 80px !important;
        height: 80px !important;
        column-gap: 7px !important;
        row-gap: 5px !important;
        padding: 11px 10px 10px !important;
    }

    body.page-category .service--content .pack--list .pack span.price,
    body.page-category .service--content .pack--list .pack.selected span.price,
    body.page-category .service--content .pack--list .pack:hover span.price {
        padding: 5px 7px !important;
    }
}
