/* 2026-10 site güncellemeleri: menüye Yedek Parça ve Makinalar eklendiğinde
   1351–1399 px genişlikte menü alt satıra kaymasın (tema bu ölçüyü 1350 px'e kadar uyguluyordu). */
@media only screen and (min-width: 1351px) and (max-width: 1399px) {
    .navbar.validnavs.navbar-default .navbar-nav li a {
        padding: 30px 10px !important;
        font-size: 14px;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1199px) {
    .navbar.validnavs.navbar-default .navbar-nav li a {
        padding: 30px 6px !important;
        font-size: 13.5px;
    }
}

/* ===== Makinalar (panelden yönetilen) ===== */
.yt-machines-intro {
    max-width: 820px;
    margin: 0 auto 36px;
    color: #4b5a5c;
    font-size: 16px;
    line-height: 1.75;
    text-align: center;
}

.yt-machine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.yt-machine-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e3e9e8;
    border-radius: 16px;
    background: #fff;
    color: #1d2f30;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(29, 47, 48, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.yt-machine-card:hover {
    color: #1d2f30;
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(29, 47, 48, .12);
}

.yt-machine-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    background: #f4f6f5;
}

.yt-machine-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.yt-machine-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 20px;
}

.yt-machine-card__body h2 {
    margin: 0;
    font-size: 19px;
    line-height: 1.3;
}

.yt-machine-card__body p {
    margin: 0;
    color: #5d6b6d;
    font-size: 14px;
    line-height: 1.6;
}

.yt-machine-card__more {
    margin-top: auto;
    color: #f58220;
    font-weight: 700;
    font-size: 14px;
}

.yt-machine-card--small strong {
    padding: 12px 14px;
    font-size: 15px;
}

.yt-other-machines {
    margin-top: 50px;
}

.yt-other-machines h3 {
    margin-bottom: 20px;
}

.yt-machine-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.yt-machine-thumbs button {
    width: 72px;
    height: 72px;
    padding: 4px;
    border: 2px solid #e3e9e8;
    border-radius: 10px;
    background: #fff;
}

.yt-machine-thumbs button.active,
.yt-machine-thumbs button:hover {
    border-color: #f58220;
}

.yt-machine-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#machine-gallery .carousel-control-prev-icon,
#machine-gallery .carousel-control-next-icon {
    border-radius: 50%;
    background-color: rgba(29, 47, 48, .55);
    background-size: 55%;
}
