.ml-bike-grid-wrapper {
    width: 100%;
}

.ml-bike-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .ml-bike-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ml-bike-grid {
        grid-template-columns: 1fr;
    }
}

.ml-bike-item {
    padding: 16px;
    background: #fff;
	text-align: center;
}

.ml-bike-thumb-wrapper {
    margin-bottom: 10px;
}

.ml-bike-thumb {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ml-bike-thumb img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .3s ease;
}

.ml-bike-thumb:hover img {
    transform: scale(1.03);
}

.ml-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ml-bike-thumb:hover .ml-thumb-overlay {
    opacity: 1;
}

.ml-bike-title {
    font-size: 18px;
    margin: 8px 0 10px;
}

.ml-accordion-toggle {
    width: 100%;
    text-align: left;
    border: 1px solid #ddd;
    background: #f7f7f7;
    padding: 8px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.ml-accordion-content {
    display: none;
    border: 1px solid #ddd;
    border-top: none;
    padding: 10px;
    font-size: 14px;
    background: #fff;
	text-align: left;
}

.ml-accordion-icon {
    font-weight: bold;
    font-size: 16px;
}

.ml-inquire-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    background: #F36B1D;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
	text-align: center;
}

.ml-inquire-btn:hover {
    filter: brightness(0.9);
}


/* Modal styles */

.ml-bike-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 999999;
}

.ml-bike-modal.ml-open {
    display: block;
}

.ml-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
}

.ml-bike-modal-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
	z-index:9;
}

.ml-bike-modal-content {
    position: relative;
    max-width: 99vw;
    max-height: 90vh;
    background: #000;
    padding: 10px;
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.ml-modal-image-wrap {
    max-width: 100%;
    max-height: 80vh;
}

#ml-modal-image {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    margin: 0 auto;
}

.ml-modal-close {
    position: absolute;
    top: 0px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.ml-modal-prev,
.ml-modal-next {
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    padding: 0 10px;
}
