/*
 * Bundle Orders client pages.
 *
 * Mirrors the Order plugin's "wizard" template (boxes listing + configure/summary layout) so bundle
 * pages look like the rest of the order flow, without depending on the Order plugin's stylesheet.
 * Everything is scoped under .bundle-orders. Client portal = Bootstrap 4.
 */

/* Section headings ("Bundles", "Configure ...", "Order Summary") */
.bundle-orders .section-title {
    margin-top: 10px;
}

.bundle-orders .section-title h3 {
    font-weight: bold;
}

/* ---- Catalog: package boxes ---------------------------------------------------------------- */
.bundle-orders .package {
    margin: 10px 0 15px;
    background: #fff;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 3px 1px #acacac;
    border: 2px solid #fff;
}

.bundle-orders .package .package-name {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.bundle-orders .package-name.card-header {
    padding: 5px 10px;
}

.bundle-orders .package h4 {
    font-size: 18px;
    padding: 5px 0;
    margin: 0;
}

.bundle-orders .package .price-box {
    background-color: #efefef;
    padding: 10px;
}

.bundle-orders .package .price-box .regular-price {
    font-size: 12px;
    color: #999;
}

.bundle-orders .package .price-box .bundle-price {
    font-size: 26px;
    font-weight: bold;
    line-height: 1.2;
}

.bundle-orders .package .price-box .bundle-term {
    font-size: 13px;
    color: #777;
}

.bundle-orders .package .description {
    border-bottom: 1px dashed #efefef;
    margin: 0;
    padding: 8px 10px;
}

.bundle-orders .package ul.included {
    text-align: left;
    list-style: none;
    margin: 0;
    padding: 8px 12px;
}

.bundle-orders .package ul.included li {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    border-bottom: 1px dashed #efefef;
}

.bundle-orders .package ul.included li:last-child {
    border-bottom: none;
}

.bundle-orders .package .order {
    padding: 5px;
    background-color: #efefef;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
}

/* ---- Order page: summary card (wizard .card-order) ------------------------------------------ */
.bundle-orders .card-order {
    background-color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    margin-bottom: 15px;
}

.bundle-orders .card-order .table {
    border: none;
    margin-bottom: 0;
}

.bundle-orders .card-order .table > thead > tr > th {
    background: none;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.bundle-orders .card-order .table > tbody > tr > td {
    border: none;
    padding: 8px 4px 4px 4px;
}

.bundle-orders .card-order .price-col {
    text-align: right;
    white-space: nowrap;
}

.bundle-orders .card-order .total-due {
    text-align: right;
}

.bundle-orders .card-order .total-due h4 {
    margin-top: 5px;
}

/* Keep the summary in view while the left column scrolls (desktop only) */
@media (min-width: 768px) {
    .bundle-orders .summary-sticky {
        position: sticky;
        top: 15px;
    }
}
