/**
 * Объединенный CSS файл
 * Создан: 2025-12-07 12:11:41
 */

/* ========================================
   ИЗ: product-page.css
   ======================================== */

.single-product .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.single-product .site-content {
    padding: 0;
    background: #FAFAFA;
}

.single-product .ast-container .site-content {
    padding: 0 !important;
}

.single-product main {
    padding: 0 !important;
}

.product-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #FAFAFA;
    min-height: 60vh;
}

.product-page .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.product-page .breadcrumbs {
    padding: 15px 0;
    margin-bottom: 30px;
    color: #71717A;
    font-size: 14px;
}

.product-page .breadcrumbs a {
    color: #84CC16;
    text-decoration: none;
    transition: all 0.3s;
}

.product-page .breadcrumbs a:hover {
    color: #65A30D;
}

.product-main {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.product-gallery .gallery-main {
    border-radius: 16px;
    overflow: hidden;
    background: #F9FAFB;
    margin-bottom: 20px;
}

.product-gallery .gallery-main img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

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

.gallery-thumbs .thumb:hover {
    border-color: #84CC16;
}

.gallery-thumbs .thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info h1 {
    font-size: 2.5rem;
    color: #1E293B;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-info .sku {
    color: #71717A;
    font-size: 14px;
    margin-bottom: 20px;
}

.product-excerpt {
    font-size: 1.125rem;
    color: #52525B;
    line-height: 1.6;
    margin-bottom: 30px;
}

.key-characteristics {
    background: #F9FAFB;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.key-characteristics h3 {
    font-size: 1.25rem;
    color: #1E293B;
    margin-bottom: 15px;
}

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

.key-characteristics li {
    padding: 8px 0;
    border-bottom: 1px solid #E4E4E7;
    color: #52525B;
}

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

.product-price-block {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border-radius: 12px;
}

.product-price-block .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #84CC16;
}

.add-to-cart-btn {
    flex: 1;
    padding: 15px 30px;
    background: linear-gradient(135deg, #84CC16, #65A30D);
    color: white !important;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.3);
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(132, 204, 22, 0.4);
    filter: brightness(1.1);
    color: white !important;
}

.product-contacts {
    padding: 25px;
    background: #F9FAFB;
    border-radius: 12px;
    border-left: 4px solid #84CC16;
}

.product-contacts h3 {
    color: #1E293B;
    margin-bottom: 15px;
}

.product-contacts a {
    color: #84CC16;
    text-decoration: none;
    font-weight: 600;
}

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

.product-details {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #E4E4E7;
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #71717A;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.tab-button:hover {
    color: #1E293B;
}

.tab-button.active {
    color: #84CC16;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #84CC16;
}

.tab-content {
    display: none;
    padding-top: 30px;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

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

.tab-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #52525B;
}

.tab-content h2 {
    font-size: 1.75rem;
    color: #1E293B;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.tab-content h3 {
    font-size: 1.5rem;
    color: #1E293B;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.tab-content h4 {
    font-size: 1.25rem;
    color: #1E293B;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.tab-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: #52525B;
    font-size: 1rem;
}

.tab-content ul,
.tab-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: #52525B;
    line-height: 1.8;
}

.tab-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.tab-content li strong {
    color: #1E293B;
    font-weight: 600;
}

.tab-content strong {
    color: #1E293B;
    font-weight: 600;
}

.tab-content em {
    font-style: italic;
    color: #52525B;
}

.tab-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tab-content table th,
.tab-content table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #E4E4E7;
}

.tab-content table th {
    background: #F9FAFB;
    font-weight: 600;
    color: #1E293B;
}

.tab-content table tr:last-child td {
    border-bottom: none;
}

.tab-content table tr:hover {
    background-color: #F9FAFB;
}

.tab-content .wp-block-group,
.tab-content .wp-block-columns,
.tab-content .wp-block-column {
    margin-bottom: 1.5rem;
}

.tab-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.characteristics-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    display: table;
}

.characteristics-table tbody {
    display: table-row-group;
}

.characteristics-table tr {
    border-bottom: 1px solid #E4E4E7;
    transition: background-color 0.2s;
    display: table-row;
}

.characteristics-table tr:hover {
    background-color: #F9FAFB;
}

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

.characteristics-table td {
    padding: 15px 0;
    vertical-align: top;
    display: table-cell;
}

.char-label {
    font-weight: 600;
    color: #1E293B;
    width: 40%;
    padding-right: 20px;
}

.char-value {
    color: #52525B;
    line-height: 1.6;
    width: 60%;
}

.tab-content h2 {
    font-size: 2rem;
    color: #1E293B;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.tab-content h3 {
    font-size: 1.5rem;
    color: #1E293B;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tab-content h4 {
    font-size: 1.25rem;
    color: #1E293B;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.tab-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #52525B;
    font-size: 1rem;
}

.tab-content ul,
.tab-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: #52525B;
}

.tab-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.tab-content strong {
    color: #1E293B;
    font-weight: 600;
}

.tab-content table {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.tab-content table td,
.tab-content table th {
    padding: 12px;
    text-align: left;
}

@media (max-width: 768px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px;
    }
    
    .product-price-block {
        flex-direction: column;
        text-align: center;
    }
    
    .add-to-cart-btn {
        width: 100%;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .tab-content h2 {
        font-size: 1.5rem;
    }
    
    .tab-content h3 {
        font-size: 1.25rem;
    }
}

/* ========================================
   ИЗ: product-single.css
   ======================================== */


.product-page {
    padding: 30px 0;
    background: #FAFAFA;
    min-height: 60vh;
}

.product-page .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.breadcrumbs {
    margin-bottom: 20px;
    color: var(--bs-gray-500);
    font-size: 14px;
}

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

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

.product-main {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: var(--bs-radius);
    box-shadow: var(--bs-shadow-sm);
}

.product-gallery {
    flex: 1;
}

.gallery-main img {
    width: 100%;
    height: auto;
    border-radius: var(--bs-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(--bs-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(--bs-text-primary);
}

.sku {
    color: var(--bs-gray-500);
    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(--bs-primary);
    border-radius: 4px;
}

.key-characteristics {
    margin-bottom: 30px;
}

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

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

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

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

.product-price-block {
    background: #f8f9fa;
    padding: 25px;
    border-radius: var(--bs-radius);
    margin-bottom: 25px;
    text-align: center;
}

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

.btn-primary {
    background: var(--bs-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(--bs-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(--bs-primary);
    padding: 20px;
    border-radius: var(--bs-radius);
    text-align: center;
}

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

.product-contacts a {
    color: var(--bs-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(--bs-radius);
    box-shadow: var(--bs-shadow-sm);
}

.tabs {
    margin-top: 40px;
}

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

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

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

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

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

.tab-content {
    display: none;
    padding-top: 30px;
    animation: fadeIn 0.3s ease-in-out;
}

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

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

.tab-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #52525B;
}

.tab-content h2 {
    font-size: 1.75rem;
    color: #1E293B;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.tab-content h3 {
    font-size: 1.5rem;
    color: #1E293B;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.tab-content h4 {
    font-size: 1.25rem;
    color: #1E293B;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.tab-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: #52525B;
    font-size: 1rem;
}

.tab-content ul,
.tab-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: #52525B;
    line-height: 1.8;
}

.tab-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.tab-content li strong {
    color: #1E293B;
    font-weight: 600;
}

.tab-content strong {
    color: #1E293B;
    font-weight: 600;
}

.tab-content em {
    font-style: italic;
    color: #52525B;
}

.tab-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tab-content table th,
.tab-content table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #E4E4E7;
}

.tab-content table th {
    background: #F9FAFB;
    font-weight: 600;
    color: #1E293B;
}

.tab-content table tr:last-child td {
    border-bottom: none;
}

.tab-content table tr:hover {
    background-color: #F9FAFB;
}

.tab-content .wp-block-group,
.tab-content .wp-block-columns,
.tab-content .wp-block-column {
    margin-bottom: 1.5rem;
}

.tab-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.characteristics-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    display: table;
}

.characteristics-table tbody {
    display: table-row-group;
}

.characteristics-table tr {
    border-bottom: 1px solid var(--bs-border);
    display: table-row;
    transition: background-color 0.2s;
}

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

.characteristics-table tr:hover {
    background-color: #f9fafb;
}

.characteristics-table td {
    padding: 15px 0;
    vertical-align: top;
    display: table-cell;
}

.char-label {
    font-weight: 600;
    color: #1E293B;
    width: 40%;
    padding-right: 20px;
}

.char-value {
    color: #52525B;
    line-height: 1.6;
    width: 60%;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.video-item video {
    width: 100%;
    border-radius: var(--bs-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;
    }
    
    .tab-content h2 {
        font-size: 1.5rem;
    }
    
    .tab-content h3 {
        font-size: 1.25rem;
    }
}

.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;
}

/* ========================================
   ИЗ: video-styles.css
   ======================================== */

.product-videos {
    margin: 60px 0;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.product-videos h3 {
    color: #2c5f2d;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-wrapper video,
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.video-item {
    margin-bottom: 30px;
}

.video-item h4 {
    color: #2c5f2d;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.video-item p {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .product-videos {
        padding: 20px 10px;
        margin: 40px 0;
    }
    
    .product-videos h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .video-item {
        margin-bottom: 25px;
    }
    
    .video-item h4 {
        font-size: 18px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-wrapper {
        border-radius: 6px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .product-videos {
        padding: 30px 15px;
    }
    
    .videos-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (min-width: 1025px) {
    .product-videos {
        padding: 40px 20px;
    }
    
    .videos-grid {
        gap: 30px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .video-wrapper video {
        
        -webkit-tap-highlight-color: transparent;
    }
}

.video-wrapper video[poster] {
    object-fit: cover;
}

.video-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #90C140;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-wrapper.loading::before {
    opacity: 1;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

