/*
 * 7Boutik Premium Comparison
 * Parent: premium_comparison
 * Custom styling for WHMCS 9.1
 */

/* 7Boutik hosting package headers */
#order-premium_comparison .price-table-container
.price-table .top-head {
    background: #30343B;
    background-image: none;
    filter: none;
}

/* Package title */
#order-premium_comparison .price-table-container
.price-table .top-head .top-area {
    border-bottom-color: #454A52;
}

/* Price section */
#order-premium_comparison .price-table-container
.price-table .top-head .price-area {
    border-top-color: #454A52;
    color: #FFFFFF;
}

/* Commander buttons */
#order-premium_comparison .price-table-container
a.order-button {
    background: #F97316;
    background-image: none;
    filter: none;
    color: #FFFFFF;
    border-radius: 5px;
    box-shadow: none;
    text-shadow: none;
}

/* Hover effect */
#order-premium_comparison .price-table-container
a.order-button:hover {
    background: #EA580C;
    background-image: none;
    filter: none;
    color: #FFFFFF;
}

/* Mobile heading spacing */
@media (max-width: 767px) {
    #order-premium_comparison #headline {
        font-size: 23px;
        line-height: 1.3;
    }

    #order-premium_comparison #tagline {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 12px;
    }
}

/* 7Boutik – Force charcoal hosting package headers */
#order-premium_comparison .price-table-container .price-table .top-head,
#order-premium_comparison .price-table-container .price-table.active .top-head {
    background: #30343B !important;
    background-image: none !important;
    filter: none !important;
}

#order-premium_comparison .price-table-container .price-table .top-head .top-area {
    border-bottom-color: #454A52 !important;
}

#order-premium_comparison .price-table-container .price-table .top-head .price-area {
    border-top-color: #454A52 !important;
    color: #FFFFFF !important;
}

/* 7Boutik – Hosting card alignment */

/* Align cards at the top of each row */
#order-premium_comparison .price-table-container > ul > li {
    vertical-align: top;
}

/* Consistent card widths */
#order-premium_comparison .price-table-container .price-table,
#order-premium_comparison .price-table-container .price-table.active {
    width: 270px;
    min-width: 270px;
}

/* Consistent package header height */
#order-premium_comparison .price-table-container .price-table .top-head {
    min-height: 180px;
}

/* Mobile: allow cards to fit smaller screens */
@media (max-width: 600px) {
    #order-premium_comparison .price-table-container .price-table,
    #order-premium_comparison .price-table-container .price-table.active {
        width: 100%;
        min-width: 0;
    }

    #order-premium_comparison .price-table-container > ul > li {
        width: 100%;
        max-width: 340px;
        box-sizing: border-box;
    }
}

/* 7Boutik – Consistent hosting card heights */
#order-premium_comparison .price-table-container .price-table {
    min-height: 480px;
}

/* Avoid unnecessary empty space on mobile */
@media (max-width: 600px) {
    #order-premium_comparison .price-table-container .price-table {
        min-height: 0;
    }
}
