/**
 * Product Single Page Styles
 */

/* Переменные */
:root {
    --bonseeds-primary: #84CC16;
    --bonseeds-primary-dark: #65A30D;
    --bonseeds-secondary: #f0f7f0;
    --bonseeds-text: #1a1a1a;
    --bonseeds-gray: #666;
    --bonseeds-border: #e0e0e0;
    --bonseeds-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --bonseeds-radius: 8px;
}

/* Основные стили */
.product-page {
    padding: 30px 0;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Хлебные крошки */
.breadcrumbs {
    margin-bottom: 20px;
    color: var(--bonseeds-gray);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--bonseeds-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--bonseeds-primary-dark);
    text-decoration: underline;
}

/* Основной блок товара */
.product-main {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: var(--bonseeds-radius);
    box-shadow: var(--bonseeds-shadow);
}

/* Галерея */
.product-gallery {
    flex: 1;
}

.gallery-main img {
    width: 100%;
    height: auto;
    border-radius: var(--bonseeds-radius);
    cursor: zoom-in;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.gallery-thumbs .thumb {
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
}

.gallery-thumbs .thumb:hover,
.gallery-thumbs .thumb.active {
    opacity: 1;
    border-color: var(--bonseeds-primary);
}

.gallery-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* Информация о товаре */
.product-info {
    flex: 1;
}

.product-info h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--bonseeds-text);
}

.sku {
    color: var(--bonseeds-gray);
    margin-bottom: 20px;
    font-size: 14px;
}

.product-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
    padding: 15px;
    background: var(--bonseeds-secondary);
    border-left: 4px solid var(--bonseeds-primary);
    border-radius: 4px;
}

/* Характеристики */
.key-characteristics {
    margin-bottom: 30px;
}

.key-characteristics h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--bonseeds-primary);
}

.key-characteristics ul {
    list-style: none;
    padding: 0;
}

.key-characteristics li {
    padding: 8px 0;
    border-bottom: 1px solid var(--bonseeds-border);
}

.key-characteristics li:last-child {
    border-bottom: none;
}

/* Блок цены */
.product-price-block {
    background: #f8f9fa;
    padding: 25px;
    border-radius: var(--bonseeds-radius);
    margin-bottom: 25px;
    text-align: center;
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: var(--bonseeds-primary);
    margin-bottom: 20px;
}

.btn-primary {
    background: var(--bonseeds-primary);
    color: white;
    padding: 15px 40px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s;
    width: 100%;
}

.btn-primary:hover:not(:disabled) {
    background: var(--bonseeds-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary.loading {
    position: relative;
    color: transparent;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Контакты */
.product-contacts {
    background: #fff;
    border: 2px solid var(--bonseeds-primary);
    padding: 20px;
    border-radius: var(--bonseeds-radius);
    text-align: center;
}

.product-contacts h3 {
    color: var(--bonseeds-primary);
    margin-bottom: 15px;
}

.product-contacts a {
    color: var(--bonseeds-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.product-contacts a:hover {
    text-decoration: underline;
}

/* Вкладки */
.product-details {
    background: white;
    padding: 30px;
    border-radius: var(--bonseeds-radius);
    box-shadow: var(--bonseeds-shadow);
}

.tabs {
    margin-top: 40px;
}

.tab-buttons {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--bonseeds-border);
}

.tab-button {
    padding: 15px 30px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--bonseeds-gray);
    transition: all 0.3s;
    position: relative;
}

.tab-button:hover {
    color: var(--bonseeds-primary);
}

.tab-button[aria-selected="true"] {
    color: var(--bonseeds-primary);
}

.tab-button[aria-selected="true"]::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bonseeds-primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-content[aria-hidden="false"] {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Таблица характеристик */
.characteristics-table {
    width: 100%;
    border-collapse: collapse;
}

.characteristics-table tr {
    border-bottom: 1px solid var(--bonseeds-border);
}

.characteristics-table tr:last-child {
    border-bottom: none;
}

.characteristics-table td {
    padding: 12px 0;
}

.char-label {
    font-weight: 600;
    color: #333;
    width: 50%;
}

.char-value {
    color: var(--bonseeds-gray);
}

/* Видео */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.video-item video {
    width: 100%;
    border-radius: var(--bonseeds-radius);
}

/* Адаптивность */
@media (max-width: 768px) {
    .product-main {
        flex-direction: column;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .product-info h1 {
        font-size: 24px;
    }
    
    .price {
        font-size: 28px;
    }
}

/* Анимации */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Утилиты */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* Cache cleared: Вс 21 сен 2025 16:01:47 CEST */
