/*!
Theme Name: Taus
Theme URI: 
Author: Shemedinov Sergey
Author URI: https://t.me/sega207/
Version: 1.1
Tested up to: 8.2
Requires PHP: 8.0
*/

.wpcf7-form-control-wrap {
	width: 100%;
}
.wpcf7-acceptance label {
	display: flex;
	gap: 10px;
}
.wpcf7-list-item {
	margin: 0;
}
.section__img a {
	font-size: 18px;
	font-family: "PT Sans";
	color: rgb(0, 48, 156);
	text-align: center;
	border-color: rgb(255, 255, 255);
	background: #fff;
	border-radius: 8px;
	padding: 12px 30px;
	border: 2px solid #00309c;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	letter-spacing: 0.35px;
}
.section__img a .oq {
	display: none;
}
.section__img a:hover {
	background: rgb(0, 48, 156);
	color: #fff;
}
.section__img a:hover .oq {
	display: block;
}
.section__img a:hover .kok {
	display: none;
}
.section__info-itogi_box2 img {
	width: 140px;
	height: 140px;
	object-fit: cover;
	border-radius: 8px;
}
.section_mashina-box a {
	font-size: 18px;
	font-family: "PT Sans";
	color: rgb(0, 48, 156);
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	padding: 12px 0;
	border-radius: 10px;
	border: 2px solid rgb(0, 48, 156);
	background: #fff;
	letter-spacing: 0.5px;
}
.section_mashina-box a .oq {
	display: none;
}
.section_mashina-box a img {
	width: 25px;
}
.section_mashina-box a:hover {
	background: rgb(0, 48, 156);
	color: #fff;
}
.section_mashina-box a:hover .oq {
	display: block;
}
.section_mashina-box a:hover .kok {
	display: none;
}
.section_mashina-info-video{
	display: none;
}
.section_mashina-info-dakument{
	display: none;
}
.section_mashina-info-video.active {
	display: block;
}
.section_mashina-info-dakument.active {
	display: flex;
}
.product-content-block h1 {
	font-size: 4rem;
	font-weight: 600;
	line-height: 4.5rem;
	letter-spacing: 1px;
}
.product-content-block h2 {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 4rem;
  letter-spacing: 1px;
}
.product-content-block h3 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 3.5rem;
  letter-spacing: 1px;
}
.product-content-block h4 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 3rem;
  margin-top: 0;
  letter-spacing: 1px;
  border-bottom: none;
  text-align: left;
  text-transform: none;
}
.product-content-block h5 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 2.5rem;
  letter-spacing: 1px;
}
.product-content-block h6 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 2rem;
  letter-spacing: 1px;
}
.product-content-block a {
  color: #000;
  text-decoration: underline;
}
.product-content-block p {
  font-size: 18px;
  line-height: 24px;
}
.product-content-block ul {
  padding: 10px 0;
}
.product-content-block li {
  font-size: 18px;
  line-height: 24px;
}
.tab-main-content.product-content-block {
  margin-top: 20px;
}
.section_mashina-info-dakument {
  margin-top: 33px;
}
.section_mashina-info-video {
  margin-top: 33px;
}
.section_mashina-info-video iframe {
  width: 100%;
  height: 50vh;
  border-radius: 12px;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}
.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  max-width: 600px;
  position: relative;
  border-radius: 12px;
}
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #000;
  font-size: 24px;
  cursor: pointer;
}
.modal-content .footer__box-right input {
  border: 1px solid #000;
}
.modal-content .footer__box-right .footer__box-right_check {
  margin-top: 0;
}
.modal-content .footer__box-right button {
  color: #000;
  border: 1px solid #000;
}
.modal-content .footer__box-right {
  margin-top: 20px;
  align-items: center;
}
.modal-content .wpcf7-submit {
  color: #000;
  text-align: center;
}
.modal-content .wpcf7-submit:hover {
  color: #fff;
  border: 1px solid #00309c;
  background-color: #00309c;
  text-align: center;
}
.modal-content {
  font-family: "PT Sans";
}
.main__section4-box1 div, .main__section4-box2 div, .main__section4-box3 div, .main__section4-box4 div, .main__section4-box5 div {
  z-index: 1;
}
.main__section4-box > div > img {
  filter: brightness(0.7);
}
.main__section2-box a {
  background-color: transparent;
}
.tab-content {
	display: none;
}
.tab-content.active {
	display: block;
}
.section_mashina-info-nav .tab-button {
  cursor: pointer;
}
.section_mashina-box > img, .section_mashina-box_info > img {
	width: 100%;
	height: 430px;
	object-fit: contain;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-main {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.gallery-main img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-main img.active {
    opacity: 1;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.gallery-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
}

.gallery-thumbs img.active {
    border-color: #0066cc;
}



@media (max-width: 767px) {
  .modal-content {
    width: 85%;
  }
  .modal-content .footer__box-right .footer__box-right_check {
    margin-top: 0;
    margin-bottom: 20px;
  }
  .section_mashina-box > img, .section_mashina-box_info > img {
    width: 100%;
    height: 250px;
    object-fit: contain;
  }
  .section_mashina-box a {
	  font-size: 16px;
	  gap: 5px;
  }
}

