/* *****************************************************
    ** Custom Stylesheet for WHMCS Standard Cart **
    TYHOSTING - Modern Premium Pricing Cards
***************************************************** */

#order-standard_cart {
    font-family: 'Raleway', 'Open Sans', sans-serif !important;
}

/* Products Grid Container */
#order-standard_cart .products {
    margin-top: 20px;
}

/* Pricing Card Wrapper */
#order-standard_cart .products .product {
    display: flex;
    flex-direction: column;
    padding: 30px !important;
    margin: 0 0 30px 0 !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    height: calc(100% - 30px);
}

/* Hover glow & lift animation */
#order-standard_cart .products .product:hover {
    transform: translateY(-6px) !important;
    border-color: #a3e635 !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03), 0 0 20px rgba(163, 230, 53, 0.15) !important;
}

/* Card Header */
#order-standard_cart .products .product header {
    background: transparent !important;
    padding: 0 0 20px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: center;
}

#order-standard_cart .products .product header span {
    font-family: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-weight: 800 !important;
    font-size: 22px !important;
    color: #0f172a !important;
    display: block;
}

/* Stock status */
#order-standard_cart .products .product header .qty {
    float: none !important;
    display: inline-block;
    background-color: #e2e8f0;
    color: #334155;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11px !important;
    font-weight: 600;
    text-transform: uppercase;
    font-style: normal !important;
    margin-top: 8px;
}

/* Card body / Product description */
#order-standard_cart .products .product div.product-desc {
    float: none !important;
    width: 100% !important;
    padding: 25px 0 !important;
    flex-grow: 1; /* Pushes the footer to the bottom */
}

#order-standard_cart .products .product div.product-desc p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

/* Custom list layout with checkmarks */
#order-standard_cart .products .product div.product-desc ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

#order-standard_cart .products .product div.product-desc ul li {
    position: relative;
    padding-left: 28px !important;
    margin-bottom: 12px !important;
    font-size: 14px !important;
    color: #334155 !important;
    line-height: 1.5;
    text-align: left;
}

/* FontAwesome checkmark icon replacement */
#order-standard_cart .products .product div.product-desc ul li::before {
    content: '\f00c' !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    position: absolute;
    left: 0;
    top: 2px;
    color: #a3e635 !important;
    font-size: 14px !important;
}

#order-standard_cart .products .product div.product-desc span.feature-value {
    font-weight: 700;
    color: #0f172a;
}

/* Card Footer / Pricing & CTA */
#order-standard_cart .products .product footer {
    float: none !important;
    width: 100% !important;
    margin: 20px 0 0 0 !important;
    padding: 0 !important;
    border-top: 1px solid #f1f5f9;
    padding-top: 25px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Pricing typography */
#order-standard_cart .products .product div.product-pricing {
    margin-bottom: 0 !important;
    text-align: center;
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

#order-standard_cart .products .product div.product-pricing span.price {
    font-family: 'Raleway', sans-serif !important;
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    display: block;
    margin-bottom: 4px;
}

/* Full width Call to Action Button */
#order-standard_cart .products .product footer .btn-order-now {
    width: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #a3e635 !important;
    border-color: #a3e635 !important;
    color: #030d1a !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 6px -1px rgba(163, 230, 53, 0.2) !important;
    margin: 0 !important;
}

#order-standard_cart .products .product footer .btn-order-now:hover,
#order-standard_cart .products .product footer .btn-order-now:focus,
#order-standard_cart .products .product footer .btn-order-now:active {
    background-color: #8ce600 !important;
    border-color: #8ce600 !important;
    color: #030d1a !important;
    box-shadow: 0 10px 15px -3px rgba(163, 230, 53, 0.4) !important;
    transform: translateY(-1px);
}
