@charset "UTF-8";

/* Компоновка карточки товара */
.product-grid { 
    display: grid; 
    grid-template-columns: minmax(320px, 550px) 1fr; 
    gap: 50px; 
    margin-top: 30px; 
}

@media (max-width: 992px) { 
    .product-grid { grid-template-columns: 1fr; gap: 30px; } 
}

/* Современный дизайн крутилки Swiper */
.product-gallery .swiper { 
    width: 100%; 
    height: 450px; 
    border-radius: 12px; 
    border: 1px solid var(--border); 
    background: #fff;
}
.product-gallery .swiper-slide img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

/* Кастомные стрелки Swiper */
.product-gallery .swiper-button-next,
.product-gallery .swiper-button-prev {
    color: var(--dark);
    background: rgba(255, 255, 255, 0.9);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.product-gallery .swiper-button-next:after,
.product-gallery .swiper-button-prev:after { font-size: 18px; font-weight: bold; }
.product-gallery .swiper-pagination-bullet-active { background: var(--primary) !important; }

/* Блок информации о товаре */
.product-info h1 { 
    margin-top: 0; 
    font-size: 32px; 
    font-weight: 800; 
    line-height: 1.2;
    color: var(--dark);
}
.product-info .price { 
    font-size: 30px; 
    color: var(--primary); 
    font-weight: 800; 
    margin: 20px 0; 
    letter-spacing: -0.5px;
}

.btn-add-to-cart { 
    background: var(--accent); 
    color: white; 
    border: none; 
    padding: 16px 35px; 
    font-size: 18px; 
    font-weight: 700;
    border-radius: 6px; 
    cursor: pointer; 
    width: 100%;
    box-shadow: 0 4px 14px rgba(0, 180, 216, 0.3);
    transition: all 0.2s ease;
}
.btn-add-to-cart:hover { 
    background: #0096b4; 
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}

/* Переработка вывода опций в стильные интерактивные плашки */
.option-group-box {
    margin-bottom: 25px; 
    border: 1px solid var(--border); 
    padding: 20px; 
    border-radius: 8px;
    background: #fff;
}
.option-group-box h4 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin: 0 0 15px 0;
}
.option-group-box label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.option-group-box label:hover {
    border-color: var(--accent);
    background: var(--light-bg);
}
.option-group-box input[type="radio"]:checked + text,
.option-group-box label:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background: #f0f7ff;
    color: var(--primary);
}

/* Технические характеристики */
.attributes-table { width: 100%; border-collapse: collapse; margin-top: 30px; }
.attributes-table th, 
.attributes-table td { border-bottom: 1px solid var(--border); padding: 12px 0; text-align: left; background: none; }
.attributes-table th { color: var(--text-muted); font-weight: 500; width: 45%; }
.attributes-table td { color: var(--dark); font-weight: 600; }
