/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart-child
*/

/* .container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
} */

body .site-content {
	margin-bottom: 0px;
}

.header-phone {
	border: 2px solid #00f;
	border-radius: 50px;
	padding: 13.5px 10px;
}

.header-phone span {
	color: #00f;
	font-weight: 600;
	font-size: 19px;
}

/* Headings */

.avtopricep-h1 .elementor-heading-title, .avtopricep-h1 .title {
  font-size:64px;
  font-size:4rem;
  font-family:'Montserrat',sans-serif;
  line-height:1.4em;
  text-transform:uppercase;
}
.avtopricep-h2 .elementor-heading-title, h2, .entry-content h2, .avtopricep-h2 .title {
  font-size:34px;
  font-size:2.125rem;
  font-family:'Montserrat',sans-serif;
  line-height:1.4em;
  text-transform:uppercase;
}
.avtopricep-h3 .elementor-heading-title, h3, .entry-content h3, .avtopricep-h3 .title {
  font-size:24px;
  font-size:1.5rem;
  font-family:'Montserrat',sans-serif;
  line-height:1.3em;
}
h4,
.entry-content h4 {
  font-size:20px;
  font-size:1.25rem;
  line-height:1.2em;
  font-family:'Montserrat',sans-serif;
}
h5,
.entry-content h5 {
  font-size:18px;
  font-size:1.125rem;
  line-height:1.2em;
  font-family:'Montserrat',sans-serif;
}
h6,
.entry-content h6 {
  font-size:15px;
  font-size:0.9375rem;
  line-height:1.25em;
  font-family:'Montserrat',sans-serif;
}

/* Backgrounds */

.avtopricep-bg-main {
	background-color: #040470;
}

.avtopricep-bg-secondary {
	background-color: #020eb5;
}

.avtopricep-bg-fixed {
	background-attachment: fixed;
}

/* Images */
.avtopricep-border-radius img {
  border-radius: 16px;
}

.avtopricep-border-radius-blue {
  border-radius: 16px;
  border: 3px solid #2F00FD;
  overflow: hidden;
}

.avtopricep-img-hover-zoom {
  overflow: visible; /* [1.2] Hide the overflowing of child elements */
}

.avtopricep-img-hover-zoom img {
  transition: transform .35s ease;
}

.avtopricep-img-hover-zoom:hover img {
  transform: scale(1.115);
}

/* Icons */
.avtopricep-icon.vc_icon_element.vc_icon_element-outer .vc_icon_element-inner .vc_icon_element-icon {
  color: #1104F7 !important;
  font-size: 3.85em !important;
}

/* Icon Box */
.avtopricep-values .wpb_wrapper {
  border: 3px solid #2D03E0;
  border-radius: 25px;
  padding: 30px 20px 10px 20px;
  margin-bottom: 30px;
}

/* Accordeon */
.avtopricep-accordeon.vc_tta.vc_general {
	border-radius: 5px;
	overflow: hidden;
}
.avtopricep-accordeon.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel.vc_active .vc_tta-panel-title > a {
	color: #fff;
	background: #3033c1;
}
.avtopricep-accordeon.vc_tta .vc_tta-controls-icon.vc_tta-controls-icon-plus::before, .avtopricep-accordeon.vc_tta .vc_tta-controls-icon.vc_tta-controls-icon-plus::after {
	border-color: #FFF !important;
}
.avtopricep-accordeon.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-body {
	background-color: #3033c1;
}
.avtopricep-accordeon .wd-text-block {
  color: #fff;
}
.avtopricep-accordeon.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-heading, .avtopricep-accordeon.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-heading:hover {
	background-color: #3033c1;
}
.avtopricep-accordeon.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-title > a {
	color: #FFF;
}

/* Iconbox */
.avtopricep-iconbox-category .info-box-wrapper {
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
	margin: 15px;
  padding: 10px;
	border-radius: 30px;
	background: #f5f5f5;
}

.avtopricep-iconbox-category .info-box-wrapper img {
	/* filter: brightness( 103% ) contrast( 96% ) saturate( 81% ) blur( 0px ) hue-rotate( 336deg ); */
	border-radius: 4px 4px 4px 4px;
	box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.07);
}

.avtopricep-iconbox-category .wd-info-box .info-box-content {
  padding: 27px 40px 0px 40px;
}

/* Divider */
.avtopricep-divider .vc_sep_holder .vc_sep_line {
  border-color: #062FFE;
}

/* Buttons */

body .elementor-button.elementor-size-sm, body .elementor-button.elementor-size-xs, body .elementor-button.elementor-size-md, body .elementor-button.elementor-size-lg, body .elementor-button.elementor-size-xl, body .elementor-button {
	font-size: 14px;
	font-size: 0.875rem;
}

body .elementor-button.elementor-size-sm, body .elementor-button.elementor-size-xs, body .elementor-button.elementor-size-md, body .elementor-button.elementor-size-lg, body .elementor-button.elementor-size-xl, body .elementor-button {
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	border-bottom-right-radius: 30px;
	border-bottom-left-radius: 30px;
	padding-top: 17px;
	padding-right: 40px;
	padding-bottom: 17px;
	padding-left: 40px;
}

.elementor-button-wrapper .elementor-button {
	font-weight: 700;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1em;
	text-transform: uppercase;
}

.price-button-wrapper .price-button {
	background: #0AB404;
	font-weight: 600;
	width: 100%;
	border-radius: 25px;
  padding: 17px 10px;
}

.price-button-wrapper .price-button .amount {
	color: #fff;
}

.buy-now-button-wrapper .buy-now {
	background: #031bed;
	color: #fff;
	font-weight: 600;
	width: 100%;
	border-radius: 25px;
  padding: 17px 10px;
}

.buy-now-button-wrapper .buy-now:hover, .price-button-wrapper .price-button:hover {
  background: red;
}

/* Gravity Forms */

.gform_confirmation_message {
  margin-left: auto;
  margin-right: auto;
}

.gform_required_legend {
  display: none;
}

.gform_wrapper.gravity-theme .gfield input, .gform_wrapper.gravity-theme .gfield textarea {
	border-color: #00f;
	border-width: 2px;
	border-radius: 5px;
}

.gform_zakaz_zvonka_wrapper .gform_zakaz_zvonka .gfield_required {
	color: red;
}

.gform_wrapper.gravity-theme #field_submit input, .gform_wrapper.gravity-theme .gform_footer input {
	background: #020eb5;
	color: #fff;
	border-radius: 5px;
}

.gform_wrapper.gravity-theme #field_submit input:hover, .gform_wrapper.gravity-theme .gform_footer input:hover {
  background: red;
}

.gform_zakaz_zvonka {
  width: 100%;
  display: flex;
}

.gform_zakaz_zvonka .gform_body .gform_fields {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
}

.gform_zakaz_zvonka .gfield {
  flex: 1;
  min-width: 0; /* Предотвращает переполнение flex-элементов */
}

.gform_zakaz_zvonka .gform_body {
	max-width: 66.33%;
	display: inline-flex;
	width: 100%;
	align-items: end;
}

.gform_wrapper .gform_zakaz_zvonka .gform_footer {
	width: 33.33%;
	max-width: 33.33%;
	display: inline-flex;
	justify-content: center;
	margin-top: 0;
	align-items: end;
}

.gform_zakaz_zvonka .ginput_container input {
	background-color: #ffffff;
	color: #000 !important;
}

.gform_zakaz_zvonka_wrapper .gform_validation_errors {
	background: #fff !important;
}

.gform_zakaz_zvonka li.gfield.gfield_error, .gform_zakaz_zvonka li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
	background-color: rgba(255, 223, 224, 0.88) !important;
}

.gform_zakaz_zvonka .name_first .gform-field-label--type-sub {
  display: none !important;
}

.gform_wrapper .gform_zakaz_zvonka .gform_footer .gform_button {
	color: #ffffff;
	background-color: #2937FF;
	border-style: none;
	border-radius: 5px 5px 5px 5px;
	box-shadow: 0px 0px 0px -100px rgba(252.40751037597656, 252.40751037597656, 252.40751037597656, 0.5);
	margin-top: 30px;
	height: 25px;
}

.gform_wrapper .gform_zakaz_zvonka .gform_footer .gform_button:hover {
  background-color: red;
}

@media screen and (max-width: 767px) {
  .gform_zakaz_zvonka {
    display: block;
  }

  .gform_zakaz_zvonka .gform_body .gform_fields {
      flex-direction: column;
      gap: 15px;
  }

  .gform_zakaz_zvonka .gform_body {
    max-width: 100%;
    display: block;
  }

  .gform_wrapper .gform_zakaz_zvonka .gform_footer {
    width: 100%;
    max-width: 100%;
  }
  
  .gform_zakaz_zvonka .gfield {
    width: 100%;
  }
  
  .gform_wrapper .gform_zakaz_zvonka .gform_footer .gform_button {
    height: 42px;
    width: 80%;
  }
}

/* Footer */
.footer-container {
	margin-top: 40px;
}
.footer-container .widget_nav_menu .sub-menu {
	display: none !important;
}

/* WooCommerce */
.avtopricep-price-buttons-wrapper {
  display: flex;
  margin-bottom: 25px;
}
.avtopricep-price-buttons-wrapper .price-button-wrapper, .avtopricep-price-buttons-wrapper .buy-now-button-wrapper {
  display: inline-flex;
  width: 100%;
  padding: 10px;
}
.wd-back-btn.wd-style-icon {
	display: none;
}

.wd-builder-off .single-product-page > div:not(:last-child) {
	margin-bottom: 10px !important;
}

#tab-item-title-description {
  display: none;
}

/* WooCommerce - Product Archive */
.extra-description {
  margin: 10px 0;
  font-size: 14px;
  color: #777;
  line-height: 1.4;
}
.extra-description p {
  margin-bottom: 0;
}

.product-grid-item {
  height: 100%;
}

.product-wrapper {
	height: 100%;
	display: flex;
	flex-direction: column;
	border-radius: 30px !important;
	overflow: hidden;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5) !important;
}

.product-element-top {
  overflow: hidden;
}

.product-element-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-element-bottom {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: center;
}

.product-element-bottom .details-button {
  background-color: #062FEE;
  border-radius: 30px;
  color: #fff;
  transition: transform 0.3s ease;
}

.product-element-bottom .details-button:hover {
  transform: scale(1.05);
}

.wd-entities-title {
	height: 48px;
	overflow: hidden;
	margin-bottom: 10px;
	font-weight: 600;
}

/* WooCommerce - Single Product */
@media (max-width: 768.98px) {
	body.single-product .wd-carousel {
        max-height: 280px;
    }
} 

.single-product .wd-carousel {
	max-height: 417px;
}

.single-product .wd-nav .description_tab {
  display: none;
}

.single-product .product-tabs-wrapper {
  border-top: 0;
  padding-top: 0;
}

.single-product .product-image-summary-inner .product-images {
	align-content: center;
}

.single-product .product-image-summary-inner .product-images, .single-product .product-image-summary-inner .entry-summary, .additional-product-data .additional-options-wrapper, .additional-product-data .additional-description-wrapper {
	margin-bottom: 25px;
}

.single-product .product-image-summary-inner .product-images .woocommerce-product-gallery {
  height: 100%;
  align-items: center;
}

.single-product .product-image-summary-inner .product-images .woocommerce-product-gallery, .single-product .entry-summary .summary-inner, .additional-product-data .additional-options, .additional-product-data .additional-description {
	padding: 10px 10px 10px 10px;
	background-color: #FFFFFF;
  border: 3px solid #2F00FD;
  border-radius: 25px;
}

.technical-specifications table, .technical-specifications td, .technical-specifications th, .additional-options table, .additional-options td, .additional-options th {
  border: 1px solid #ddd;
}

.product_title.entry-title {
	margin-bottom: 20px;
	text-align: center;
	text-transform: uppercase;
}

.single-product :is(.breadcrumbs, .yoast-breadcrumb) {
	color: var(--color-gray-900);
	line-height: 16px;
	text-align: center;
  margin-bottom: 20px;
}

/* WooCommerce - Category Widget */

.wd-cats-element .category-grid-item {
  height: 100%;
}

.wd-cats-element .wrapp-category {
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5) !important;
	align-items: center;
}

.wd-cats-element .category-image-wrapp {
  overflow: hidden;
}

.wd-cats-element .category-image-wrapp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wd-cats-element .hover-mask {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: end;
	text-align: center !important;
	transform: unset !important;
	position: relative !important;
	inset-inline: unset !important;
	width: calc(100% - 60px);
}

.wd-cats-element .wd-entities-title {
	margin: 0;
	padding: 10px;
	overflow: visible;
	position: unset !important;
	bottom: unset !important;
	inset-inline-start: unset !important;
	height: unset;
	font-size: 16px !important;
	font-weight: 600;
	margin-bottom: 10px !important;
}

.wd-cats-element .category-details-button {
	background-color: #062FEE;
	color: #fff;
	padding: 12px 10px;
	border-radius: 25px;
}

/* Дополнительные опции прицепа */
.additional-product-data {
  margin-bottom: 60px !important;
}

.additional-product-data .additional-options-wrapper, .additional-product-data .additional-description-wrapper {
  display: inline-flex;
  width: 100%;
}

.additional-product-data .additional-options, .additional-product-data .additional-description {
	width: 100%;
	align-content: center;
}

/* Стили для текста до таблицы */
.before-options ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.before-options ul li {
  position: relative;
  padding-left: 20px;
}

.before-options ul li:before {
  content: "•";
  position: absolute;
  left: 0;
}

/* Стили для таблицы */
.options-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.options-table td {
  padding: 8px;
  border-bottom: 1px solid #e2e2e2;
}

/* Стили для текста после таблицы */
.after-options {
  margin-top: 20px;
  white-space: pre-wrap;
}

.single-product .technical-specifications table td {
	padding: 5px 10px;
}

/* Стиль CTA кнопки */

.avtopricep99-blue-button {
    background: linear-gradient(135deg, rgb(0,0,255), rgb(30,30,255));
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 8px 45px;
    min-height: 60px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    line-height: 1.2;
    box-shadow: 0 4px 15px rgba(0, 0, 255, 0.3);
    cursor: pointer;
    outline: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.avtopricep99-blue-button:hover {
    background: linear-gradient(135deg, rgb(0,0,200), rgb(25,25,230));
    box-shadow: 0 6px 20px rgba(0, 0, 255, 0.4);
    transform: translateY(-2px);
}

.avtopricep99-blue-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 0, 255, 0.3);
    transition: transform 0.1s ease;
}

.avtopricep99-blue-button:focus {
    outline: 2px solid rgba(0, 0, 255, 0.5);
    outline-offset: 2px;
}

.avtopricep99-blue-button:disabled {
    background: #cccccc;
    color: #666666;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.avtopricep99-blue-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.avtopricep99-blue-button:hover::before {
    left: 100%;
}