/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 27 2026 | 09:34:41 */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

.product-container {
    width: 100%;
    margin: 0 auto;
	padding: 0 15px;
}
.product-wrap {
	max-width: 1200px;
    margin: 40px auto; 
	background: #fff;
    border-radius: 12px;
	font-family: Arial, sans-serif;
}

/* Верхний блок */
.product-top {
    display: flex;
    gap: 40px;
	justify-content: space-between;
    align-items: flex-start;
}

/* Картинка */
.product-gallery-wrapper {
    flex-shrink: 0;
    max-width: 400px;
    width: 100%;
}
.main-image img { 
    max-width: 100%;
    height: auto;
    display: block; 
    margin-bottom: 10px; 
    transition: opacity 0.3s ease; 
	cursor: zoom-in;
}
.main-image.fade img { 
	opacity: 0; 
}
.thumbnail-images { 
	display: flex; 
	gap: 5px; 
}
.thumbnail-images img { 
	width: 60px; 
	height: 60px; 
	object-fit: cover; 
	cursor: pointer; 
	border: 2px solid transparent; 
    transition: border 0.3s ease; 
}
.thumbnail-images img:hover,
.thumbnail-images img.active { 
	border-color: #333; 
}

/* Правая часть */
.product-info {
    flex: 1;  
    min-width: 0;
}
.product-info h1 {
	margin-bottom: 20px;
    font-size: 30px;
	font-weight: 600;    
	color: #1D2C44;
}
.product-info p {
    font-size: 16px;
    margin-bottom: 15px;
}

/* Бейдж */
.product-wrap .badge-hit,
.product-wrap .badge-novinka {
    display: inline-block;    
    color: #fff;
    padding: 3px 15px;
    font-size: 14px;
    border-radius: 6px;
    margin-bottom: 10px;
}
.badge-hit {
	background: #248ef7;
}
.badge-novinka  {
	background: #ff4d4d;
}

/* Иконки */
.icons-row {
    display: flex;
    gap: 15px;
	margin-top: 25px;
}
.icon-item {
    display: flex;
    flex-direction: column;
    width: 150px;
    text-align: center;
    font-size: 12px;
}

.icon-item img {
    width: 65px;
    height: 65px;
    display: block;
    margin: 0 auto 5px;
}

.product-category,
.product-category a.child-cat {
	margin-bottom: 20px;
	color: #0066cc;
}

/* В наличии */
.in-stock {
	display: flex;
    align-items: flex-end;
    gap: 10px;
	margin: 20px 0;
	font-size: 14px;
   	color: #00c168;
    font-weight: bold;
    line-height: 1;    
}

/* Кнопки */
.product-info .btn { 
	display: inline-block; 
	margin: 5px 10px 0 0; 
	padding: 10px 60px;
    background: #0066cc;
    color: #fff; 
	text-decoration: none;
	border: 0;
	border-radius: 25px;
}
.product-info .btn:hover { 
	background: #248ef7; 
}

/* Вкладки */
.product-tabs {
    margin-top: 40px;
	padding: 20px;
    border: 1px solid #E3EFFC;
    border-radius: 12px;
}
.product-tabs ul {
    display: flex;
    gap: 5px;
	width: fit-content;
    margin: 0;
    padding: 5px;
    list-style: none;
    border-radius: 25px;
    background: #f6f6f6;    
}

.product-tabs ul li {
    padding: 8px 20px;
    border-radius: 19px;
	transition: all 0.25s ease;
}
.product-tabs ul li a {
    text-decoration: none;
    font-weight: bold;
    color: #353535;
}
ul li:has(a.active) {
    background: #ffffff;
}
.product-tabs > div {
    display: none;
    padding: 30px 5px;
}
.product-tabs > div.active {
    display: block;
}
.product-tabs h3 {    
    font-size: 18px;
	color: #353535;
	font-weight: bold;
}

/* Таблица */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
    border-radius: 8px;
    overflow: hidden; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	text-align: center;
}

.styled-table thead {
    background-color: #2c3e50;
    color: #fff;
    text-align: left;
}
.styled-table th, .styled-table td {
    padding: 12px 16px;
	text-align: center;
}
.styled-table tbody tr {
    border-bottom: 1px solid #ddd;
}
.styled-table tbody tr:nth-of-type(even) {
    background-color: #f9f9f9;
}
.styled-table tbody tr:nth-of-type(odd) {
    background-color: #fff;
}
.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #2c3e50;
}
.styled-table tbody tr:hover {
    background-color: #f1f1f1;
}
.styled-table th:first-child {
    border-top-left-radius: 8px;
}
.styled-table th:last-child {
    border-top-right-radius: 8px;
}
.styled-table td:first-child:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.styled-table td, .styled-table th {
    vertical-align: middle;
}

/* Комментарии */
#tab-reviews a {
	color: #0066cc;
}
.comments-list {
    margin-top: 20px;
}
.comments-list .comment {
    border: 1px solid #e3effc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fbfdff;
}

.comments-list .comment .comment-author {
    font-weight: bold;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.comments-list .comment .comment-author img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}
.comments-list .comment .comment-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}
.comments-list .comment .comment-content {
    font-size: 14px;
    line-height: 1.6;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}
.comment-form .submit {
    background-color: #0066cc;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.comment-form .submit:hover {
    background-color: #0079d7;
}
.comment-form-cookies-consent {
    font-size: 12px;
    color: #555;
    margin-bottom: 10px;
}
.comment-author .fn {
	font-size: 16px;
    font-weight: 500;
    color: #0079d7;
}

/* Похожие товары */
.related-products {
    margin: 60px 0;
}
.related-products h3 {
    font-size: 24px;
    margin-bottom: 25px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.related-item {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #eee;
    background: #fff;
    transition: all 0.25s ease;
}
.related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.related-img img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}
.related-title {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
	text-align: center;
}

/*Галерея главного изображения товара*/
.img-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.97);
    justify-content: center;
    align-items: center;
}

.img-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.img-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}
.img-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}

.img-nav.prev {
    left: 20px;
}

.img-nav.next {
    right: 20px;
}

.img-nav:hover {
    opacity: 0.7;
}


.have-questions {
	padding: 40px 0;
	background: #0066cc;
	text-align: center;
}

.have-questions h2 {
	margin-bottom: 20px;
    font-size: 38px;
	font-weight: 600;    
	color: #ffffff;
}
.have-questions p {
	margin-bottom: 30px;
    font-size: 16px;  
	color: #ffffff;
}
.have-questions button {
	padding: 15px 30px;
	font-size: 16px;
    font-weight: 500;
    background: #ffffff;
    color: #001e3b !important;
    text-decoration: none;
    border-radius: 25px;
	cursor: pointer;
	border: 0;
    box-shadow: 0px 0px 6px 3px #0000003b;
}
.have-questions button:hover {
    color: #001e3b !important;
    text-decoration: none;
    box-shadow: none;
}

@media (max-width: 1025px) {	
	.product-wrap {
		max-width: 100%;
	}
    .icons-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    .icon-item {
        width: 30%;
    }
}

@media (max-width: 768px) {
    /* Общий контейнер */
    .product-wrap {
		max-width: 100%;
        padding: 15px;
        margin: 20px 0;
    }

    /* Верхний блок → в колонку */
    .product-top {
        flex-direction: column;
        gap: 20px;
    }
	.product-info {
        width: 100%;       
    }

    .product-gallery-wrapper {
        max-width: 100%;
    }

    /* Галерея */
    .product-gallery-wrapper {
        max-width: 100%;
    }

    .thumbnail-images {
        justify-content: center;
        flex-wrap: wrap;
    }

    .thumbnail-images img {
        width: 55px;
        height: 55px;
    }

    /* Заголовок */
    .product-info h1 {
        font-size: 22px;
    }

    /* Кнопки */
    .product-info .btn {
        width: 100%;
        text-align: center;
        margin-right: 0;
    }

    /* Вкладки */
	.product-tabs {
		padding: 10px;
	}
	
    .product-tabs ul {
        width: 100%;
        flex-wrap: wrap;
		justify-content: center;
        gap: 5px;
        flex-direction: column;
		padding: 10px;
    }

    .product-tabs ul li {
        padding: 7px 10px;
        font-size: 14px;
    }

    /* Контент вкладок */
    .product-tabs > div {
        padding: 20px 0;
    }

    /* Таблица */
	.styled-table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
        font-size: 12px;
    }

    .styled-table th,
    .styled-table td {
        padding: 8px;
    }

    /* Комментарии */
    .comments-list .comment {
        padding: 10px;
    }

    .comment-author img {
        width: 36px;
        height: 36px;
    }
	
	/* Похожие товары */
	.related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-img img {
        height: 140px;
    }
}

@media (max-width: 420px) {
	.related-grid {
        grid-template-columns: repeat(1, 1fr);
    }

}

@media (min-width: 1600px) {
    .product-container {
        max-width: 1400px;
    }
	.product-wrap {
        max-width: 1400px;
        margin: 40px auto;
    }
}
