/* KTM Details Card Styles */

.spec-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
    transition: box-shadow 0.3s ease;
}

.spec-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.spec-card-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

/* Left side - Image */


.spec-card-image img:hover {
    transform: scale(1.05);
}



.spec-card-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #D71920;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

/* Right side - Specifications */
.spec-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.spec-card-header {
    margin-bottom: 20px;
}

.spec-card-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}

.spec-card-location {
    color: #D71920;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-card-specs {
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #555;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item i {
    color: #D71920;
    font-size: 16px;
    min-width: 20px;
    text-align: center;
}

.spec-item-label {
    font-weight: 600;
    color: #333;
    min-width: 100px;
}

.spec-item-value {
    color: #666;
}

.spec-card-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.spec-card-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.spec-card-btn-primary {
    background-color: #D71920;
    color: white;
}

.spec-card-btn-primary:hover {
    background-color: #0d0d0e;
    transform: translateY(-2px);
}

.spec-card-btn-secondary {
    background-color: #f0f0f0;
    color: #333;
    border: 2px solid #D71920;
}

.spec-card-btn-secondary:hover {
    background-color: #D71920;
    color: white;
    transform: translateY(-2px);
}

.spec-card-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-card-price {
    font-size: 22px;
    font-weight: bold;
    color: #D71920;
}

/* Responsive Design */
@media (max-width: 768px) {
    .spec-card-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    

    .spec-card-content {
        padding: 20px;
    }

    .spec-card-title {
        font-size: 20px;
    }

    .spec-item {
        font-size: 13px;
        padding: 8px 0;
    }

    .spec-item-label {
        min-width: 80px;
    }

    .spec-card-actions {
        flex-direction: column;
    }

    .spec-card-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .spec-card {
        margin-bottom: 20px;
    }

    .spec-card-content {
        padding: 15px;
    }

    .spec-card-title {
        font-size: 18px;
    }

   

    .spec-item {
        font-size: 12px;
        padding: 6px 0;
    }

    .spec-card-status {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 11px;
    }

    .spec-card-price {
        font-size: 18px;
    }
}

/*  Details Page Styles */

.spec-card-image {
    width: 100%;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: #f5f5f5; */
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.spec-card-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* background-color: #f5f5f5; */
}

.spec-card-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .spec-card-image {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .spec-card-image {
        min-height: 200px;
    }
}

