/**
 * Elementor Equipment Widget Styles
 * Version: 1.0.3
 */

/* Main wrapper */
.equipment-card-wrapper {
    text-align: center;
    font-family: sans-serif;
    padding: 20px;
    
    /* NEW: Add flexbox for internal card layout */
    display: flex;
    flex-direction: column;
    height: 100%;
    
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    /*border-radius: 8px;*/
    /*background: #fff;*/
    /*transition: box-shadow 0.3s ease;*/
}

/* Equipment image */
.equipment-image {
    max-width: 100%;
    height: auto;
    /*border-radius: 8px;*/
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 13px 13px 13px 13px !important;
}

/* Equipment title */
.equipment-title {
    font-family: "Roboto", Sans-serif;
    font-size: 32px;
    color: #E31937;
    margin: 0 0 5px 0;
    line-height: 1.2;
    font-weight: 800;
    text-transform: inherit;
}

/* Equipment subtitle */
.equipment-subtitle {
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

/* NEW: Content wrapper for flexible content */
.equipment-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Equipment description */
.equipment-description {
    font-size: 15px;
    color: #000;
    margin: 0 0 15px 0;
    line-height: 1.4;
    text-align: left;
    font-weight: 400;
}

/* Features list */
.features-list {
    list-style-position: outside;
    text-align: left;
    padding: 0 0 0 20px;
    margin: 0 0 20px 0;
    color: #555;
    flex-grow: 1; /* NEW: Allow features to expand and fill space */
}

.feature-item {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #000000;
    list-style-type: disc;
}

/* NEW: Footer wrapper for bottom-aligned elements */
.equipment-footer {
    margin-top: auto;
}

/* Equipment price */
.equipment-price {
    font-family: "Roboto", Sans-serif;
    font-size: 26px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.1;
}

/* Spec sheet link */
.spec-sheet-link {
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    color: #C3172F;
    font-weight: 500;
    text-decoration: none !important;
    display: block;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.spec-sheet-link:hover {
    color: #D63333;
    text-decoration: none;
}

/* Enquire button */
.enquire-button {
    font-family: "Helvetica", Sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    display: inline-block;
    background-color: #E72B2D !important;
    color: #fff !important;
    padding: 8px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border-width: 1px 1px 1px 1px;
    border: 1px solid #E72B2D;
    border-radius: 4px 4px 4px 4px;
    text-decoration: none !important;
}

.enquire-button:hover {
    color: #E72B2D !important;
    background-color: #FFFFFF !important;
    border-color: #E72B2D !important;
}

.enquire-button:active {
    transform: translateY(0);
}

/* NEW: Ensure Elementor widgets take full height */
.elementor-widget-equipment_card {
    height: 100%;
}

.elementor-widget-equipment_card .elementor-widget-container {
    height: 100%;
    display: flex;
}

/* Responsive design */
@media (max-width: 768px) {
    .equipment-card-wrapper {
        padding: 15px;
    }
    
    .equipment-title {
        font-family: "Roboto", Sans-serif;
        font-size: 32px;
        font-weight: 800;
    }
    
    .equipment-subtitle {
        color: #000000;
        font-family: "Roboto", Sans-serif;
        font-size: 16px;
        font-weight: 600;
    }
    
    .equipment-price {
        color: #000000;
        font-family: "Roboto", Sans-serif;
        font-size: 26px;
        font-weight: 600;
    }
    
    .enquire-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .equipment-card-wrapper {
        padding: 10px;
    }
}