/* MIF Tech | GPL v2 or later. Only deployment-owned classes inside the generated slot. */
#mif-slot-used-cars .odinv-grid,
#mif-slot-used-cars .odinv-card,
#mif-slot-used-cars .odinv-media,
#mif-slot-used-cars .odinv-image,
#mif-slot-used-cars .odinv-image-note,
#mif-slot-used-cars .odinv-slide-button,
#mif-slot-used-cars .odinv-counter,
#mif-slot-used-cars .odinv-body,
#mif-slot-used-cars .odinv-title,
#mif-slot-used-cars .odinv-price,
#mif-slot-used-cars .odinv-specs,
#mif-slot-used-cars .odinv-fallback,
#mif-slot-used-cars .odinv-fallback-text {
    box-sizing: border-box;
    font-family: inherit;
    letter-spacing: normal;
}

#mif-slot-used-cars .odinv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin: 24px 0;
    padding: 0;
    text-align: left;
}

#mif-slot-used-cars .odinv-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    background: #fff;
    color: #1a1e25;
    box-shadow: 0 2px 8px rgba(0, 30, 70, 0.06);
}

#mif-slot-used-cars .odinv-media {
    display: flex;
    position: relative;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #e8edf2;
    touch-action: pan-y pinch-zoom;
}

#mif-slot-used-cars .odinv-image {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    user-select: none;
}

#mif-slot-used-cars .odinv-slide-button {
    display: flex;
    position: absolute;
    top: 50%;
    z-index: 1;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    background: rgba(20, 25, 32, 0.62);
    color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    font: inherit;
    font-size: 0;
    line-height: 0;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
}

/* Chevrons are drawn with borders so they stay optically centered regardless of the host font. */
#mif-slot-used-cars .odinv-slide-button::before {
    content: "";
    display: block;
    box-sizing: border-box;
    width: 12px;
    height: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    border-top: 2.5px solid #fff;
    border-right: 2.5px solid #fff;
    background: transparent;
}

#mif-slot-used-cars .odinv-prev::before {
    transform: translateX(3px) rotate(-135deg);
}

#mif-slot-used-cars .odinv-next::before {
    transform: translateX(-3px) rotate(45deg);
}

#mif-slot-used-cars .odinv-prev {
    left: 8px;
    right: auto;
}

#mif-slot-used-cars .odinv-next {
    right: 8px;
    left: auto;
}

#mif-slot-used-cars .odinv-slide-button:hover {
    background: rgba(20, 25, 32, 0.9);
    color: #fff;
}

#mif-slot-used-cars .odinv-slide-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px rgba(20, 25, 32, 0.72);
}

#mif-slot-used-cars .odinv-counter {
    display: block;
    position: absolute;
    bottom: 10px;
    left: 50%;
    z-index: 1;
    max-width: calc(100% - 32px);
    margin: 0;
    padding: 4px 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(20, 25, 32, 0.72);
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    transform: translateX(-50%);
    pointer-events: none;
    user-select: none;
}

#mif-slot-used-cars .odinv-image-note {
    display: block;
    margin: 0;
    padding: 20px;
    color: #4a5060;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}

#mif-slot-used-cars .odinv-body {
    display: block;
    flex: 1;
    margin: 0;
    padding: 18px 20px;
}

#mif-slot-used-cars .odinv-title {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1a1e25;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

#mif-slot-used-cars .odinv-price {
    display: block;
    margin: 0 0 10px;
    padding: 0;
    color: #004d87;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.5;
}

#mif-slot-used-cars .odinv-specs {
    display: block;
    margin: 0;
    padding: 0;
    color: #4a5060;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

#mif-slot-used-cars .odinv-fallback {
    display: block;
    margin: 24px 0;
    padding: 0;
    text-align: center;
}

#mif-slot-used-cars .odinv-fallback-text {
    display: block;
    margin: 0;
    padding: 0;
    color: var(--mif-color-text, #1a1e25);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    #mif-slot-used-cars .odinv-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}
