.bundle-card {
    position: relative;
    width: 100%;
    max-width: 591px;
    border: 7px solid #2E3741;
    background: #19212B;
}

/* Badge - overlapping top-left */
.bundle-badge {
    background-color: #2E3741;
    border-bottom-right-radius: 5px;
    height: 34px;
    min-width: 145px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    line-height: normal;
    width: auto;
    display: inline-flex;
}

.bundle-card.selected {
    background-color: #19212B;
    border: 7px solid #1D54A2;
}

.bundle-card.selected .bundle-badge {
    background-color: #1D54A2;
}

/* Main card */
.bundle-card::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 5px;
    right: 5px;
    bottom: 6px;
    background-color: #19212B;
    border: 7px solid #2E3741;
    border-radius: 5px;
    z-index: -1;
}

.bundle-card.selected::after {
    background-color: #19212B;
    border: 7px solid #1D54A2;
}

.card-content {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0px 10px 10px 10px;
    gap: 16px;
}

/* Left Section */
.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bundle-title {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    line-height: normal;
    letter-spacing: normal;
    margin: 0;
}

.bundle-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.channels-text {
    font-size: 15px;
    font-weight: 300;
    color: #fff;
    margin: 0;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.monthly-price {
    font-size: 16px;
    font-weight: 300;
    color: #fff;
}

.trial-note {
    font-size: 14px;
    font-weight: 100;
    color: #fff;
}

/* Right Section */
.right-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-width: 155px;
}

.trial-price-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    margin-bottom: 4px;
}

.trial-label {
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    line-height: normal;
}

.trial-price {
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    line-height: normal;
}

.actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.select-btn {
    background-color: #1D54A2;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 900;
    padding: 8px 16px;
    min-width: 127px;
    cursor: pointer;
    font-family: 'Noto Sans', -apple-system, Roboto, Helvetica, sans-serif;
    line-height: normal;
    transition: opacity 0.2s ease;
    letter-spacing: 1px;
}

.select-btn:hover {
    opacity: 0.9;
}

.bundle-card.selected .select-btn {
    background-color: #2E3741;
}

.details-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 12px;
    font-weight: 100;
    cursor: pointer;
    font-family: 'Noto Sans', -apple-system, Roboto, Helvetica, sans-serif;
    padding: 4px 0;
    transition: text-decoration 0.2s ease;
}

.details-btn:hover {
    color: #307ae1;
}

.details-btn:hover {
    text-decoration: underline;
}

.bundleCardGrid {
    max-height: calc(100vh - 500px);
    overflow: auto;
    margin-bottom: 20px;
}

.dCard {
    display: flex;
    width: 100%;
    align-items: center;
}

.dHeader {
    width: 65%;
    display: flex;
    flex-direction: column;
    padding-right: 10px;
}

.dAmount {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.pTitle {
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
}

.pLabel {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: rgba(255, 255, 255, 0.59);
}

.pAmount {
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    color: #fff;
    text-align: right;
    display: flex;
    line-height: 1.5;
}

.pMonth {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: rgba(255, 255, 255, 0.59);
    text-align: right;
    display: flex;
}

hr {
    border-color: #363F48 !important;
}

.packagesHeader {
    font-weight: 600;
}

.pFinalCard {}

.pTotalTitle {
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.pTotalAmount {
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-size: 18px;
    text-align: right;
}

.pSummaryText {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: rgba(255, 255, 255, 0.59);
    text-align: right;
    display: flex;
}
.backToPrimary {position: absolute;left: 0px;top: 0px;background: #1D54A2;width: 111px;height: 45px;display: flex;align-items: center;justify-content: center;}
.backToPrimary a {
    font-size: 23px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.backToPrimary a:hover {
     color: #fff;
}
.backToPrimary a svg {margin-right: 10px;}
@media (max-width: 991px) {

}
/* Responsive Design */
@media (max-width: 768px) {
    .backToPrimary {
        
    }
    .bundle-card {
        max-width: 100%;
    }

    .card-content {
        flex-direction: column;
        gap: 12px;
        padding: 16px 12px;
    }

    .right-section {
        min-width: auto;
        width: 100%;
        border-top: 1px solid #2E3741;
        padding-top: 12px;
    }

    .bundle-title {
        font-size: 18px;
    }

    .bundleCardGrid {
        max-height: 100%;
    }
}

@media (max-width: 480px) {
    .bundle-badge {
        font-size: 14px;
        min-width: 120px;
    }

    .bundle-title {
        font-size: 16px;
    }

    .card-content {
        padding: 12px 10px;
    }
}