/* Основные стили товара */
.part-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.breadcrumbs {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.search-container{
    margin-bottom: 20px;
}
.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Основной блок */
.part-detail-main {
    background: #fff;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 15px;

    margin-bottom: 40px;
    align-items: start;
}

/* Галерея *//* Галерея */
.part-gallery-wrapper {

    max-height: 100vh; /* Ограничиваем высоту */
    overflow: hidden; /* Скрываем переполнение */
}


.part-info__stock-status__part-price{
    gap: 20px;
    display: flex;
    align-items: center;
}

.mySwiperMain {

    overflow: hidden;

    height: 400px; /* Фиксируем высоту */
}

.mySwiperMain img {
    background: linear-gradient(to bottom, #f9f9f9, #f0f0f0);
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.mySwiperThumbs {
    height: 80px;
    margin-top: 10px;
}

.mySwiperThumbs .swiper-slide {
    opacity: 0.6;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.mySwiperThumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #007bff;
}

.mySwiperThumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Информация о товаре */
.part-info {
    padding: 20px;
}

.part-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.stock-status {

    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.stock-status.in-stock {
    background: #e8f5e8;
    color: #2e7d32;
}

.stock-status i {
    margin-right: 8px;
}

.part-price {
    margin-bottom: 25px;
}

.price-value {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
}

.price-request {
    font-size: 24px;
}

/* Быстрые характеристики */
.quick-specs {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #666;
}

.spec-value {
    font-weight: 500;
    color: #333;
}

/* Кнопки */
.part-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-outline__but{
    width: 100%;
    display: flex;
    justify-content: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    flex-direction: column;
}

.btn i {
    margin-right: 8px;
}

.btn-secondary {
    background: #535353;
    color: white;
}

.btn-secondary:hover {
    background: #3e3e3e;
    transform: translateY(-2px);
}

.btn-primary {
    background: #000000;
    color: white;
}

.btn-primary:hover {
    background: #292929;
    transform: translateY(-2px);
}

.btn-outline {

    background: transparent;
    border:  2px solid #575757;
    color: #000000;
}

.btn-outline:hover {
    background: #000000;
    color: white;
    border:  2px solid #000000;
}

/* Блоки описания */
.short-description,
.additional-info,
.full-specifications {

    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.short-description h2,
.additional-info h2,
.full-specifications h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.description-content {
    line-height: 1.6;
    color: #555;
}

.additional-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
}

.highlight-block {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    color: #856404;
}

.highlight-block i {
    margin-right: 10px;
    font-size: 18px;
}

/* Полные характеристики */
.full-specifications .spec-group {
    margin-bottom: 25px;
}

.full-specifications .spec-group h3 {
    font-size: 18px;
    color: #007bff;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #dee2e6;
}

.full-specifications .spec-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
}

.full-specifications .spec-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.full-specifications .spec-key {
    font-weight: 600;
    color: #666;
}

.full-specifications .spec-val {
    color: #333;
}

/* Адаптивность */
@media (max-width: 968px) {
    .part-detail-main {
        grid-template-columns: 1fr;

    }

    .part-actions {
        grid-template-columns: 1fr;
    }

    .full-specifications .spec-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .part-detail {
        padding: 15px;
    }

    .part-title {
        font-size: 24px;
    }

    .price-value {
        font-size: 28px;
    }

    .btn {
        padding: 12px 15px;
        font-size: 14px;
    }
}