/*
Theme Name: enixpro-child
Author: Denis Borisov
Author URI: https://de-bor.ru
Template: enixpro
Version: 18.0
*/

article {
    width: 100% !important;
    float: none !important;
    position: relative;
}

.woocommerce .button.alt,
.woocommerce ul.products li.product .button {
	background: white;
	box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
	transition: opacity .3s ease;
	border-radius: 0 0 10px 10px;
	min-height: 46px;
	transition: all 0.2s ease-out;
	font-size: 19px;
}
.woocommerce .button.alt {
	min-height: 44px;
	border-radius: 10px;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce ul.products li.product .button:hover {
	background: var(--main-color);
	color: white;
	filter: brightness(90%);
}

.return-to-shop .button.wc-backward {
	background: var(--main-color);
	color: white;
}
.return-to-shop .button.wc-backward:hover {
	background: var(--main-color);
	color: white;
	filter: brightness(90%);
}

.woocommerce .input-text {
	border: none;
	border-radius: 10px;
	min-height: 44px;
	min-width: 80px;
	background: #ebf2f6;
	font-size: 16px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
	padding: 10px 20px;
}

.woocommerce ul#shipping_method li {
	margin: 0;
}

.woocommerce div.product .product_title {
	margin-top: 10px;
}

.product_title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 32px;
    font-family: 'PT Sans', serif;;
}

.woocommerce-LoopProduct-link .woocommerce-Price-amount {
	font-size: 20px;
	color: white;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title, 
.woocommerce ul.products li.product .woocommerce-loop-product__title, 
.woocommerce ul.products li.product h3 {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
min-height: 80px;
padding: .4em .4em;
margin: 0;
font-size: .8em;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title {
	min-height: 56px;
}

.woocommerce-tabs.wc-tabs-wrapper .entry-content {
	font-size: 18px;
}

.wrapper .container .container {
	padding: 0;
}


.summary .woocommerce-Price-amount {
	color: var(--main-color);
	font-size: 34px;
}

.woocommerce-tabs>.tabs {
	display: none;
}

.woocommerce div.product .woocommerce-tabs .panel {
	display: block !important;
}
.woocommerce div.product .woocommerce-tabs .panel p {
	font-size: 16px;
	margin-bottom: 10px;
}

#tab-description h2:nth-child(1), .woocommerce-Tabs-panel h2:nth-child(1) {
	font-size: 24px;
	margin-top: 20px;
	margin-bottom: 20px;
}

#tab-description h3 {
	margin-top: 16px;
}

#tab-description>ul li {
	padding: 4px 8px;
}

#tab-description>ul li:nth-child(even) {
	border-radius: 4px;
	background: #eaeaea;
}

.woocommerce ul.products li.product a img {
	border-radius: 10px 10px 0 0;
	margin: 0;
}

.woocommerce.custom ul.products li.product a img {
	border-radius: 10px;
	box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
}

.woocommerce-loop-product__title {
	background: white;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	border-radius: 10px;
  background: #fff;
	box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
	transition: all .15s ease-out;
	will-change: transform; 
}

.woocommerce ul.products li.product a:hover,
.woocommerce-page ul.products li.product a:hover {
	opacity: 1;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
	opacity: 0.9;
}

.related.products h2 {
	font-size: 24px;
	margin-top: 20px;
	margin-bottom: 20px;
}
.woocommerce ul.products li.product .price {
	margin-bottom: 0;
	padding-bottom: 0;
}
.woocommerce ul.products li.product .button {
	width: 100%;
  text-align: center;
	margin-top: 0;
	box-shadow: none;
}

div.summary,
.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary {
	display: flex;
    flex-direction: column;
    align-items: center;
}

.woocommerce .slick-dots {
	position: relative;
}

.woocommerce .slick-dots li {
    width: 6px;
    height: 6px;
    margin: 12px;

}

.woocommerce .slick-dots li button:before {
	font-size: 6px;
    line-height: 6px;
    width: 6px;
    height: 6px;
}

.woocommerce div.product div.images img {
	border-radius: 10px;
}

.woocommerce div.product div.images img:hover {
	border-radius: 10px;
}

#customer_details>.col-1,
#customer_details>.col-2 {
	max-width: none;
}

.entry-title.block_title {
	margin-top: 10px;
}
h1.entry-title.block_title {
	margin-top: 0;
}

.wcmenucart {
	list-style: none;
}

.wcmenucart-contents {
	color: white;
	padding: 2px 10px;
  border-radius: 10px;
	transition: all 0.2s ease-out;
}

.wcmenucart-contents:hover {
	background: var(--main-color);
	color: white;
}

.wcmenucart-contents i {
	width: 30px;
	font-size: 30px;
	position: relative;
	top: 2px;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last {
	width: 100%;
}

#order_comments {
	min-height: 220px;
	width: 100%;
}

#place_order {
	margin-top: 30px;
}

.woocommerce-product-details__short-description {
	padding-bottom: 15px;
}

/* фикс кривых названий товаров на главной странице */

.readyProject_section .postList-item {
	position: relative;
  padding-bottom: 60px;
}
body .readyProject_section .postList-item-title {
	height: auto;
}
.readyProject_section .cat_price {
	position: absolute;
  bottom: 0;
  width: 100%;
}

.type-product .single_add_to_cart_button, .wc-proceed-to-checkout a, #payment button, .button.alt {
	background: var(--main-color)!important;
}
.button.alt.fastorder {
	background: var(--accent-color)!important;
}

.button.alt.preorder {
	margin-bottom: 2em;
}

.sub-cats {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
	list-style: none;
	padding-left: 0;
	margin-bottom: 15px;
}

.sub-cats a {
	transition: all 0.2s ease-out;
	border-radius: 10px;
	background: var(--main-color);
	padding: 0 12px;
	display: block;
	color: #fff;
}

.sub-cats a:hover {
	filter: brightness(90%);
	color: #fff;
}

.orderby {
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 10px 12px;
	cursor: pointer;
	font-family:'Roboto', sans-serif;
}
select.orderby {
	font-size: 16px;
}

#menu #mega-menu-main-menu {
	display: flex;
  justify-content: space-between;
  align-items: center;
}

#menu #mega-menu-main-menu > li > a {
	display: flex;
	font-size: 22px;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title {
	color: var(--main-color);
}

.slick-dotted.slick-slider {
  max-width: 533px;
  max-height: 100%;
}
.woocommerce div.product div.images img {
  max-width: 533px;
  width: auto;
  max-height: 533px;
  margin: auto;
}
.related.products {
  clear: both;
}

.woocommerce td.product-name dl.variation dt {
  color: #666;
  font-size: 16px;
}
.woocommerce td.product-name dl.variation dd p {
  text-align: left;
  font-size: 18px;
}
.woocommerce a.added_to_cart {
	padding-top: 10px;
	padding-bottom: 10px;
}
.woocommerce a.added_to_cart::after {
	font-family: 'FontAwesome';
	content: '\f291';
	margin-left: 10px;
}
.single-product form.cart {
	text-align: center;
	align-items: center;
	justify-content: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.woocommerce div.product form.cart::after,
.woocommerce div.product form.cart::before {
	display: none;
}
.single-product .added_to_cart.wc-forward {
	color: #fff;
	background: var(--main-color);
	border-radius: 10px;
	max-width: 215px;
	margin: 10px;
	height: 44px;
	display: flex;
	justify-content: center;
  align-items: center;
}
.wccategory .entry-content {
	margin-top: 10px;
}
.wccategory .term-description {
	margin-top: 30px;
	margin-bottom: 30px;
}
.wccategory .entry-content .term-description .second-description {
	margin-bottom: 0;
}
.wccategory .entry-content .term-description p, .wccategory .entry-content .term-description div, .wccategory .entry-content .term-description ul, .wccategory .entry-content .term-description ol {
	margin-bottom: 10px;
}
.wccategory .entry-content .term-description ul, .wccategory .entry-content .term-description ol {
	list-style: initial;
	padding-left: 20px;
}
.woocommerce .products ul, .woocommerce ul.products {
	margin-top: 15px;
	margin-bottom: 0;
}
.woocommerce-order {
	font-size: 16px;
	line-height: 140%;
}
.woocommerce-thankyou-order-received{
	margin-bottom: 15px;
}
.woocommerce-order-details {
	margin-top: 15px;
}
.amount > bdi {
	display: inline-block;
	white-space: nowrap;
	word-spacing: -2px;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	width: 22.15%;
}
.term-description p, .term-description div {
	font-size: 16px;
	line-height: 1.4;
	margin-bottom: 15px;
}
.term-description ul, .term-description ol {
	font-size: 16px;
	line-height: 1.4;
	margin-bottom: 15px;
}
.woocommerce table.shop_attributes th {
	border-left: 1px dotted rgba(0,0,0,.1);
}
.woocommerce div.product .woocommerce-tabs .woocommerce-product-attributes-item p {
	margin-bottom: 0;
}
.summary.entry-summary .product_meta {
	display: flex;
  flex-direction: column;
}
.summary.entry-summary .product_meta span {
	color: #666;
}
.summary.entry-summary .product_meta span span {
	color: #000;
}
.summary.entry-summary .product_meta a {
	color: var(--main-color);
}
.wcmenucart-contents .cart-total {
	word-spacing: -2px;
	margin-right: 14px;
	color: #ddd;
}

.woocommerce-variation-price .pre-price {
	display: none;
}
body .wrapper .callback-main.button {
	background-color: var(--main-color);
}
.woocommerce-message a {
	color: #fff;
}
.woocommerce-message a:hover {
	color: #ebebeb;
}
body .woocommerce-cart-form .woocommerce-cart-form__contents button.button:disabled, body .woocommerce-cart-form .woocommerce-cart-form__contents button.button {
	background-color: var(--main-color);
	color: #fff;
	transition: all .15s ease-out;
	border-radius: 10px;
}
body .woocommerce-cart-form .woocommerce-cart-form__contents button.button:hover {
	filter: brightness(90%);
}
.woocommerce-message {
	border-top: none;
	background: var(--main-color);
	color: #ebebeb;
	border-radius: 10px;
	opacity: 1;
	height: auto;
  animation: hideMessage 0.5s ease 555s forwards;
}

.woocommerce-message::before {
	color: #ebebeb;
}
.shop_table .actions .cart-clear {
	font-size: 16px;
  transition: all .15s ease-out;
  border-radius: 10px;
	padding: .618em 1em;
}
.page .type-page .entry-content ul.woocommerce-error {
	padding-left: 56px;
}
.woocommerce .woocommerce-result-count {
	height: 43px;
	color: #666;
	display: flex;
	gap: 5px;
	align-items: center;
}
.woocommerce .woocommerce-result-count span {
	color: #000;
}
.woocommerce table.shop_attributes, .woocommerce table.shop_attributes td, .woocommerce table.shop_attributes th {
	border: none;
	font-style: normal;
}
.woocommerce span.onsale {
	padding: 8px;
  line-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 30px;
	border-radius: 10px;
	background-color: var(--main-color);
}
.sale del .woocommerce-Price-amount.amount bdi {
	text-decoration: line-through;
	font-size: 16px;
}
.sub-cats.product-cats h2 a {
	display: flex;
	align-items: center;
	gap: 5px;
}
.sub-cats.product-cats img {
	height: 25px;
}
.woocommerce-cart-form__contents button[type="submit"] {
	display: none!important;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
	border-radius: 10px;
}

button.socnav-btn > svg > rect {
	fill: #0E5FBB;
}
.woocommerce-loop-product__link:after, .entry-summary > .price:after{
content:'Цена актуальная до 01.03.2026';
text-align: center;
display: block;
margin: 10px 0px 0px 0px;
font-size: 15px;
}
.content-btn-block {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.content-btn {
background: #01375a;
color: white!important;
padding: 5px;
border-radius: 7px;
}















/* media */

@media screen and (min-width: 1200px) {
	
	.container {
		width: auto;
	}
	
}

@media (max-width: 1200px) {
	
  .woocommerce-order-overview__payment-method {
		margin-top: 15px;
	}

}

@media (max-width: 992px) {
	
	.woocommerce #main div.product .product_title {
		font-size: 26px;
		line-height: 38px;
	}
	.woocommerce-cart-form__cart-item .amount > bdi {
		white-space: nowrap;
    font-size: 16px;
	}

}

@media (min-width: 768px) {
	
	.shop_table .actions button[type=submit] {
		float: right;
		margin-left: 5px;
	}

}

@media (max-width: 768px) {
	
  .entry-title.block_title {
		margin-top: 20px;
		margin-bottom: 20px;
	}
  h1.entry-title.block_title {
		margin-top: 5px;
	}
	
	.wcmenucart {
		margin: 0;
	}

	.wcmenucart-contents {
		padding: 10px;
	}

	.woocommerce-cart-form__cart-item {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	
	.woocommerce-cart-form__cart-item td:first-child {
		flex-grow: 0;
		flex-shrink: 0;
	}
	
	.woocommerce-cart-form__cart-item td:not(:first-child) {
		flex-grow: 1;
		flex-shrink: 1;
	}

	.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
		display: flex;
    flex-direction: column;
    gap: 10px;
	}
	.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li {
		border-right: 0;
	}

	.shop_table .actions .cart-clear {
		text-align: center;
		margin-top: 5px;
	}

	.woocommerce .woocommerce-result-count {
		font-size: 15px;
	}
	
	.search-results .woocommerce ul.products li.product, .search-results .woocommerce-page ul.products li.product {
		width: 48%;
	}

	#tab-description h2:nth-child(1), .woocommerce-Tabs-panel h2:nth-child(1), .related.products h2 {
		font-size: 20px;
		line-height: 1.8;
	}

	.wcmenucart-contents .cart-total {
		display: initial;
	}

	#order_comments {
		min-height: 140px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-category__title, 
	.woocommerce ul.products li.product .woocommerce-loop-product__title, 
	.woocommerce ul.products li.product h3 {
		min-height: 60px;
	}

}


@media (max-width: 576px) {
	.woocommerce a.added_to_cart {
		font-size: 13px;
	}
	.single-product .related.products .added_to_cart.wc-forward {
		margin: 0;
	}
	.woocommerce .products ul, .woocommerce ul.products {
		margin-top: 0;
		padding-top: 15px;
	}
	.related.products ul {
    display: flex;
    overflow-x: scroll;
		-webkit-overflow-scrolling: touch;
    gap: 20px;
		padding-right: 20px;
  }
	.related.products ul::after {
    content: "";
  	min-width: 2px;
  	display: block;
  }
	.related.products h2 {
    position: relative;
	}
	.related.products > h2::after {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 0;
    top: 0;
    background: url(/wp-content/themes/enixpro/img/hand-swipe.png) no-repeat top center;
    background-size: contain;
	}
  .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    flex: 0 0 80%;
    box-shadow: 0px 0px 15px 0 rgb(47 46 33 / 20%);
  }
  .search-results .woocommerce ul.products li.product, .search-results .woocommerce-page ul.products li.product {
    flex: 0 0 48%;
  }
	
}

.entry-content h2{
	font-family: 'Roboto', sans-serif;
	font-size: 20px !important;
}
.entry-content a{
	color: #008de4;
}
.block_content h2{
	font-family: 'Roboto', sans-serif;
	font-size: 20px !important;
}
.block_content a{
	color: #008de4;
}
.term-description h2{
	font-family: 'Roboto', sans-serif;
	font-size: 20px !important;
}
.term-description a{
	color: #008de4;
}
.entry-content td{
	border: 1px solid #008de4;
}
.entry-content th{
	border: 1px solid #008de4;
}
.wp-block-gallery.wp-block-gallery-1 {
	display: flex;
	flex-wrap: wrap;
}
@media (max-width: 420px) {
  
}
@media (max-width: 360px) {
    
}

.footer-info {
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		margin-left: 10px;
		margin-right: 10px;
}

.footer-info-text {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
/* --- ГЛАВНЫЙ КОНТЕЙНЕР --- */
.advantages-block {
    /* Красная рамка и компактные отступы */
    border: 2px solid #E3000F; 
    padding: 15px; 
    margin: 20px 0;
    border-radius: 6px;
    background-color: #FFF8F8; /* Очень светлый фон */
}

/* --- ЗАГОЛОВОК H2 --- */
.advantages-block .advantages-title {
    color: #CC0000;
    text-align: center;
    margin-top: 0;
    margin-bottom: 12px; /* Сокращаем отступ */
    font-size: 1.5em; /* Уменьшаем размер */
    border-bottom: 1px dotted #E3000F;
    padding-bottom: 8px;
}

/* --- СПИСОК (Ключ к компактности: Две колонки) --- */
.advantages-block .advantages-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    
    /* Используем CSS Grid для размещения в две колонки */
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 8px 15px; /* Минимальное расстояние */
}

/* --- ЭЛЕМЕНТЫ СПИСКА (Минимальный шрифт и интервал) --- */
.advantages-block .advantages-list li {
    font-size: 0.9em; /* Маленький шрифт */
    line-height: 1.25; /* Маленький межстрочный интервал */
    position: relative;
    padding-left: 20px; /* Место для маркера */
}

/* Кастомный маркер */
.advantages-block .advantages-list li::before {
    content: '✓';
    color: #E3000F;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* --- ИТОГОВОЕ ПРЕДЛОЖЕНИЕ --- */
.advantages-block .advantages-summary {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #F0A0A0;
    text-align: center;
    font-style: italic;
    font-size: 0.9em; 
    line-height: 1.3;
    color: #555;
}

/* --- ОСНОВНОЙ БЛОК И ЗАГОЛОВОК --- */
.workflow-block {
    padding: 0 15px;
    max-width: 800px;
}

.workflow-block h2 {
    text-align: start;
    font-size: 2em !important;
    margin-bottom: 40px;
    font-weight: 700; 
}

/* --- НУМЕРОВАННЫЙ СПИСОК (Вся шкала) --- */
.workflow-list {
    list-style: none !important; 
    padding: 0;
    counter-reset: step-counter; 
    position: relative;
    /* Убрана вертикальная линия ::before */
}

/* --- ЭЛЕМЕНТ СПИСКА (Каждый этап) --- */
.workflow-list li {
    margin-bottom: 30px;
    padding-left: 60px; /* Отступ для контента */
    position: relative;
    line-height: 1.4;
}

/* --- МАРКЕР ЭТАПА (Идеальное центрирование) --- */
.workflow-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter); 
    
    position: absolute;
    left: 0;
    top: 0;
    width: 40px; 
    height: 40px; 
    line-height: 33px; /* ЭТО КЛЮЧ: Равен высоте, обеспечивает вертикальное центрирование */
    text-align: center;
    border-radius: 50%; 
    
    background-color: #008de4; /* Синий акцент */
    color: white;
    font-weight: bold;
    font-size: 1em;
    border: 3px solid #fff; 
    z-index: 10;
    box-shadow: 0 0 0 4px #008de4; 
}

/* --- СТИЛЬ НАЗВАНИЯ ЭТАПА --- */
.workflow-list li {
    font-size: 1.1em;
    font-weight: 600; 
    color: #333;
}

/* --- ОПИСАНИЕ ЭТАПА --- */
.workflow-list li p {
    font-size: 0.95em;
    color: #7f8c8d; 
    margin-top: 5px; 
    font-weight: normal; 
}

/* --- Ссылки --- */
.workflow-list li p a {
    color: #008de4; 
    text-decoration: none;
    border-bottom: 1px solid #008de4; 
    padding-bottom: 1px;
}

.workflow-list li p a:hover {
    color: #0070b3; 
    border-bottom-color: #0070b3;
}

/* Адаптация: на маленьких экранах возвращаем одну колонку */
@media (max-width: 600px) {
    .advantages-block .advantages-list {
        grid-template-columns: 1fr;
    }
}