/* Aircraft Card */
.aircraft-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 15px;
    font-size: 13px;
}

.aircraft-info-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.aircraft-info-icon {
    width: auto !important;
    height: 18px;
    flex-shrink: 0;
}

.aircraft-info-label {
    flex: 0 0 40%;
    max-width: 40%;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aircraft-info-value {
    flex: 1 1 60%;
    color: #555;
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 0; /* Prevents flex overflow */
}

.aircraft-model-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    
    line-height: 1.2em;
    height: 2.4em;
    
    margin: 20px 0px 10px 15px !important;
    font-size: 18px !important;
    letter-spacing: 1px;
    color: #000;
    font-weight: 500;
    word-break: break-word;
}

.aircraft-price-title {
    margin-top: 20px !important;
    margin-left: 18px !important;
    font-size: 22px !important;
    color: #000;
    font-weight: 600;
}

.button-group button {
    font-size: 14px;
    padding: 10px 20px;
}

.aircraft-info-row.location-row {
    margin-top: 10px !important;
    display: flex;
    align-items: flex-start; /* Keeps icon at the top if text wraps */
}

.aircraft-info-row.location-row .aircraft-info-value {
    display: -webkit-box;
    -webkit-line-clamp: 2;    /* Show exactly 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    
    /* Adjust line-height and min-height based on your font size */
    line-height: 1.2em;       
    min-height: 2.4em;        /* line-height * 2 = reserved space */
    word-break: break-word;
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .aircraft-info {
        font-size: 18px;
        gap: 12px;
    }
    
    .aircraft-info-icon {
        width: auto !important;
        height: 20px;
    }
    
    .aircraft-info-label {
        min-width: 90px;
        max-width: 250px;
    }
    
    .aircraft-model-title {
        font-size: 20px !important;
    }
    
    .aircraft-price-title {
        font-size: 26px !important;
    }
        
    .button-group button {
        font-size: 15px;
        padding: 11px 22px;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .aircraft-info {
        font-size: 15px;
        gap: 14px;
    }
    
    .aircraft-info-icon {
        width: auto !important;
        height: 22px;
    }
    
    .aircraft-info-label {
        min-width: 100px;
    }
    
    .aircraft-model-title {
        font-size: 23px !important;
    }
    
    .aircraft-price-title {
        font-size: 28px !important;
    }
        
    .button-group button {
        font-size: 16px;
        padding: 12px 24px;
    }
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
    .aircraft-info {
        font-size: 16px;
        gap: 16px;
    }
    
    .aircraft-model-title {
        font-size: 22px !important;
    }
    
    .aircraft-price-title {
        font-size: 30px !important;
    }
       
    .button-group button {
        font-size: 17px;
        padding: 13px 26px;
    }
}


/* Engine Card */
.engine-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 15px;
    font-size: 13px;
}

.engine-info-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.engine-info-icon {
    width: auto !important;
    height: 18px;
    flex-shrink: 0;
}

.engine-info-label {
    flex: 0 0 40%;
    max-width: 40%;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.engine-info-value {
    flex: 1 1 60%;
    color: #555;
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 0; /* Prevents flex overflow */
}

.engine-model-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    
    line-height: 1.2em;
    height: 2.4em;
    
    margin: 20px 0px 10px 15px !important;
    font-size: 18px !important;
    letter-spacing: 1px;
    color: #000;
    font-weight: 500;
    word-break: break-word;
}

.engine-price-title {
    margin-top: 20px !important;
    margin-left: 18px !important;
    font-size: 22px !important;
    color: #000;
    font-weight: 600;
}

.button-group button {
    font-size: 14px;
    padding: 10px 20px;
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .engine-info {
        font-size: 14px;
        gap: 12px;
    }
    
    .engine-info-icon {
        width: auto !important;
        height: 20px;
    }
    
    .engine-info-label {
        min-width: 90px;
        max-width: 250px;
    }
    
    .engine-model-title {
        font-size: 20px !important;
    }
    
    .engine-price-title {
        font-size: 26px !important;
    }
        
    .button-group button {
        font-size: 15px;
        padding: 11px 22px;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .engine-info {
        font-size: 15px;
        gap: 14px;
    }
    
    .engine-info-icon {
        width: auto !important;
        height: 22px;
    }
    
    .engine-info-label {
        min-width: 100px;
    }
    
    .engine-model-title {
        font-size: 23px !important;
    }
    
    .engine-price-title {
        font-size: 28px !important;
    }
        
    .button-group button {
        font-size: 16px;
        padding: 12px 24px;
    }
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
    .engine-info {
        font-size: 16px;
        gap: 16px;
    }
    
    .engine-model-title {
        font-size: 22px !important;
    }
    
    .engine-price-title {
        font-size: 30px !important;
    }

    .button-group button {
        font-size: 17px;
        padding: 13px 26px;
    }
}


/* Parts Card */
.parts-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 15px;
    font-size: 13px;
}

.parts-info-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.parts-info-label {
    flex: 0 0 40%;
    max-width: 40%;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.parts-info-value {
    flex: 1 1 60%;
    color: #555;
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 0; /* Prevents flex overflow */
}

.parts-info-icon {
    width: auto !important;
    height: 18px;
    flex-shrink: 0;
}

.parts-model-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    
    line-height: 1.2em;
    height: 2.4em;
    
    margin: 20px 0px 10px 15px !important;
    font-size: 18px !important;
    letter-spacing: 1px;
    color: #000;
    font-weight: 500;
    word-break: break-word;
}

.parts-price-title {
    margin-top: 20px !important;
    margin-left: 18px !important;
    font-size: 22px !important;
    color: #000;
    font-weight: 600;
}

.button-group button {
    font-size: 14px;
    padding: 10px 20px;
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .parts-info {
        font-size: 14px;
        gap: 12px;
    }
    
    .parts-info-icon {
        width: auto !important;
        height: 20px;
    }
    
    .parts-info-label {
        min-width: 90px;
        max-width: 250px;
    }
    
    .parts-model-title {
        font-size: 20px !important;
    }
    
    .parts-price-title {
        font-size: 26px !important;
    }
        
    .button-group button {
        font-size: 15px;
        padding: 11px 22px;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .parts-info {
        font-size: 15px;
        gap: 14px;
    }
    
    .parts-info-icon {
        width: auto !important;
        height: 22px;
    }
    
    .parts-info-label {
        min-width: 100px;
    }
    
    .parts-model-title {
        font-size: 23px !important;
    }
    
    .parts-price-title {
        font-size: 28px !important;
    }    
    .button-group button {
        font-size: 16px;
        padding: 12px 24px;
    }
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
    .parts-info {
        font-size: 16px;
        gap: 16px;
    }
    
    .parts-model-title {
        font-size: 22px !important;
    }
    
    .parts-price-title {
        font-size: 30px !important;
    }
        
    .button-group button {
        font-size: 17px;
        padding: 13px 26px;
    }
}