.mb-slider {
    max-width: 800px;
    margin: auto;
    position: relative;
}

/* =========================
   HERO VIEWPORT (FIXED HEIGHT)
   ========================= */
.mb-main {
    position: relative;
    height: 450px;
    min-height: 450px;
    max-height: 450px;
    overflow: hidden;
    border-radius: 10px;
}

/* IMPORTANT: lock track to full height */
.mb-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease;
}

/* CRITICAL FIX: force slide sizing */
.mb-slide {
    min-width: 100%;
    height: 450px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center center;
    display: block;
}


/* =========================
   ARROWS (NO BACKGROUND)
   ========================= */
.mb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 40px;
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    padding: 0;
    line-height: 1;
}

.mb-arrow-left {
    left: 10px;
}

.mb-arrow-right {
    right: 10px;
}

/* =========================
   THUMB CAROUSEL (UNCHANGED LOGIC)
   ========================= */
.mb-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
    align-items: center;

    /* hide scrollbar (modern browsers) */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.mb-thumbs::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.mb-thumb {
    width: 150px;
    height: 150px;
    min-width: 150px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
    display: block;
    cursor: pointer;
    opacity: 0.6;
    border-radius: 8px;
    transition: 0.3s;
}

.mb-thumbs-wrapper {
    overflow: hidden;
    margin-top: 15px;
}

.mb-thumbs-track {
    display: flex;
    gap: 10px;
    transition: transform 0.4s ease;
    will-change: transform;
}

.mb-thumb.active {
    opacity: 1;
    border: 3px solid #992423;
}