/* ===== СТРАНИЦА ТОВАРА ===== */

/* Хлебные крошки темные */
.breadcrumb--dark {
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb--dark a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb--dark a:hover {
    color: var(--accent);
}

.breadcrumb--dark span:last-child {
    color: var(--accent);
}

/* Секция товара */
.product-section {
    padding: 40px 0 60px;
    background: #161616;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Галерея */
.product-gallery__main {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #1d1c1c;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-gallery__main img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Информация о товаре */
.product-category {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff6f00;
    margin-bottom: 15px;
}

.product-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-price-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-price {
    font-size: 36px;
    font-weight: 700;
    color: #33ff00;
}

.product-price-unit {
    font-size: 16px;
    color: #95a5a6;
}

.product-description {
    margin-bottom: 30px;
}

.product-description p {
    font-size: 16px;
    line-height: 1.7;
    color: #bdc3c7;
}

/* Характеристики */
.product-features {
    margin-bottom: 30px;
    background: #1d1c1c;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-features h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.product-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.product-features li {
    color: #bdc3c7;
    font-size: 15px;
}

.product-features li span {
    color: #95a5a6;
    margin-right: 8px;
}

/* Преимущества */
.product-advantages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

/* Карточка товара как ссылка */
.product-card {
    background-color: #161616;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none; /* Убираем подчеркивание */
    color: inherit; /* Наследуем цвет текста */
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Убираем стандартные стили ссылки для заголовков и текста */
.product-card .product-card__title {
    text-decoration: none;
    color: #e8b830;
}

.product-card .product-card__description {
    text-decoration: none;
    color: #666;
}

/* Кнопка внутри карточки */
.product-card .product-card__button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: auto;
}

.product-card:hover .product-card__button {
    background: linear-gradient(135deg, #d35400, #e67e22);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

/* Выбор объема */
.product-volume-selector {
    margin-bottom: 25px;
}

.product-volume-selector h3 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 15px;
}

.volume-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.volume-btn {
    padding: 12px 24px;
    background: #1d1c1c;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-btn:hover {
    border-color: rgba(230, 126, 34, 0.5);
    color: #ffffff;
}

.volume-btn.active {
    background: linear-gradient(135deg, #e67e22, #d35400);
    border-color: #e67e22;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #bdc3c7;
    font-size: 14px;
}

.advantage-icon {
    width: 24px;
    height: 24px;
    background: rgba(230, 126, 34, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: bold;
}

/* Кнопки действий */
.product-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.btn--large {
    padding: 16px 35px;
    font-size: 16px;
    flex: 1;
    text-align: center;
}

/* Доставка */
.product-delivery {
    display: flex;
    gap: 30px;
}

.delivery-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #95a5a6;
    font-size: 14px;
}

.delivery-icon {
    font-size: 20px;
}

/* Секция применения */
.product-application {
    padding: 60px 0;
    background: #1d1c1c;
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.application-card {
    background: #161616;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.application-card:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 126, 34, 0.3);
}

.application-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.application-card h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 15px;
}

.application-card p {
    font-size: 14px;
    color: #95a5a6;
    line-height: 1.5;
}

/* Другие товары */
.other-products {
    padding: 60px 0;
    background: #161616;
}

.other-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.other-product-card {
    background: #1d1c1c;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.other-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 126, 34, 0.3);
}

.other-product-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.other-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.other-product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.other-product-info h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 8px;
}

.other-product-info p {
    font-size: 14px;
    color: #95a5a6;
    margin-bottom: 15px;
}

.other-product-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 10px;
}

.other-product-link {
    color: #e8b830;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.other-product-card:hover .other-product-link {
    color: var(--accent);
    padding-left: 5px;
}

.back-to-catalog {
    text-align: center;
    margin-top: 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #95a5a6;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--accent);
}

/* Адаптивность */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .application-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .other-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 28px;
    }
    
    .product-features ul {
        grid-template-columns: 1fr;
    }
    
    .product-advantages {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-delivery {
        flex-direction: column;
        gap: 15px;
    }
    
    .application-grid {
        grid-template-columns: 1fr;
    }
    
    .other-product-card {
        flex-direction: column;
    }
    
    .other-product-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 24px;
    }
    
    .product-price {
        font-size: 28px;
    }
    
    .product-features {
        padding: 20px;
    }
}