/* ==================== КАРТОЧКА ТОВАРА ==================== */
.breadcrumbs { padding: 100px 0 20px; font-size: 13px; color: #999; }
.breadcrumbs a { color: #666; text-decoration: none; }
.breadcrumbs a:hover { color: #000; }
.breadcrumbs .sep { margin: 0 8px; color: #ddd; }
.breadcrumbs .current { color: #000; font-weight: 500; }

.single-product { padding: 20px 0 80px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 64px; }

/* Галерея */
.product-gallery { position: sticky; top: 100px; }
.gallery-main { 
    position: relative; 
    border-radius: 20px; 
    overflow: hidden; 
    background: #f8f8f8; 
    border: 1px solid #eee; 
    margin-bottom: 16px; 
    aspect-ratio: 1; 
}
.gallery-img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }

/* Стрелки */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #eee;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #000;
}

.gallery-arrow:hover {
    background: #f5c518;
    border-color: #f5c518;
    box-shadow: 0 4px 15px rgba(245, 197, 24, 0.3);
}

.gallery-arrow-prev { left: 16px; }
.gallery-arrow-next { right: 16px; }

.gallery-arrow svg {
    width: 20px;
    height: 20px;
}

/* Миниатюры */
.gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    flex-shrink: 0;
    background: #f8f8f8;
}

.gallery-thumb:hover { border-color: #ccc; }
.gallery-thumb.active { border-color: #f5c518; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Инфо */
.product-info { display: flex; flex-direction: column; gap: 24px; }
.product-category-badge { display: inline-block; background: #fff9e6; color: #000; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 6px 14px; border-radius: 20px; width: fit-content; border: 1px solid #f5c518; }
.product-title { font-size: 32px; font-weight: 300; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }

/* Кнопки */
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-pdf, .btn-download, .btn-buy { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.3s; cursor: pointer; }
.btn-pdf { background: #000; color: #fff; border: none; }
.btn-pdf:hover { background: #333; transform: translateY(-2px); }
.btn-download { background: #fff; color: #000; border: 1px solid #ccc; }
.btn-download:hover { border-color: #f5c518; background: #fff9e6; transform: translateY(-2px); }
.btn-buy { background: #fff; color: #000; border: 1px solid #ccc; }
.btn-buy:hover { border-color: #f5c518; background: #fff9e6; transform: translateY(-2px); }

/* Описание */
.product-description { border-top: 1px solid #eee; padding-top: 24px; }
.description-content { font-size: 15px; line-height: 1.8; color: #555; }
.description-content p { margin-bottom: 12px; }
.description-content ul { padding-left: 20px; margin-bottom: 16px; }
.description-content li { margin-bottom: 6px; }

/* Баннер */
.product-banner { margin-bottom: 48px; border-radius: 16px; overflow: hidden; border: 1px solid #eee; }
.banner-img { width: 100%; height: auto; display: block; }

/* Характеристики */
.product-specs-full { border-top: 1px solid #eee; padding-top: 48px; }
.product-specs-full h2 { font-size: 24px; font-weight: 300; text-align: center; margin-bottom: 32px; }
.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.specs-item { background: #f9f9f9; border: 1px solid #eee; border-radius: 12px; padding: 20px; text-align: center; transition: all 0.3s; }
.specs-item:hover { border-color: #f5c518; transform: translateY(-2px); }
.specs-label { display: block; font-size: 12px; color: #999; text-transform: uppercase; margin-bottom: 8px; }
.specs-value { font-size: 16px; font-weight: 600; color: #000; }
.specs-full { grid-column: 1 / -1; font-weight: 700; font-size: 16px; }

/* Адаптив */
@media (max-width: 1024px) { 
    .product-layout { gap: 40px; } 
    .specs-grid { grid-template-columns: repeat(3, 1fr); } 
}

@media (max-width: 768px) {
    .product-layout { grid-template-columns: 1fr; gap: 32px; }
    .product-gallery { position: static; }
    .product-title { font-size: 24px; }
    .product-actions { flex-direction: column; }
    .btn-pdf, .btn-download, .btn-buy { width: 100%; justify-content: center; }
    .specs-grid { grid-template-columns: repeat(2, 1fr); }
    .breadcrumbs { padding-top: 90px; }
    .gallery-arrow { width: 36px; height: 36px; }
    .gallery-arrow-prev { left: 8px; }
    .gallery-arrow-next { right: 8px; }
}