/*!
Theme Name: kausar-aqua
Theme URI: https://them.es/starter
Author: Kausar Aqua
Author URI: 
Description: 
Version: 3.6.1
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: kausar-aqua
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */
/*@font-face {
    font-family: 'Days';
    src: url('fonts/DaysOne-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}*/
@font-face {
    font-family: 'Pehlevi';
    src: url('fonts/pehlevi-r.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Ускоряет отображение текста */
}
/* Общий фон скроллбара */
::-webkit-scrollbar {
  width: 12px; /* Ширина полосы */
  scrollbar-color: #3498db #ecf0f1;
}

/* Трек (фон под ползунком) */
::-webkit-scrollbar-track {
  background: #c3efd1;
  border-radius: 10px;
}

/* Ползунок (сам перетаскиваемый элемент) */
::-webkit-scrollbar-thumb {
    border: 1px solid #ecf0f1;
  background: #3b9456;
  border-radius: 10px;
width:10px;
}

/* При наведении на ползунок */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}
.nav-bar-top {
        background-color: #238741;/*#023875*/
}
.nav-bar-top .navbar-toggler-icon{
    filter: invert(1);
}
.nav-bar-top .navbar-toggler {
    border-color:#fff;
}
.nav-bar-top  .navbar-toggler:focus {
    box-shadow:0 0 1px 1px #fff;
}
.nav-bar-top .nav-link {
    color:#fff;
    font-weight: 600;
    transition:.15s;
}
.nav-bar-top .nav-link:hover,.nav-bar-top .nav-link:focus {
    color:#eee;
        margin-top: -2px;
}
.nav-bar-top .navbar-nav {
    justify-content: space-around;
    width: 100%;
}
.h-logo{
        padding-bottom: 25px;
}
.address,.phone {
    font-size:16px;
}
.address span:nth-of-type(1),
.phone span:nth-of-type(1) {
    font-weight:600;
    color:#999;
}
.phone span p{
        color: #003778;
    font-size: 22px;
    font-weight: 700;
}
.bg{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    overflow: hidden;
    bottom: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    z-index: -1;
}
.overlay{
   position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #00000048;
}
#sync1 .owl-prev,#sync1 .owl-next,
#sync3 .owl-prev,#sync3 .owl-next {
    position: absolute;
    top: 0;
    left: 10px;
        height: 97%;
    width: 32px;

}
#sync1 .owl-prev span,#sync1 .owl-next span,
#sync3 .owl-prev span,#sync3 .owl-next span{
        color: transparent;
    font-size: 4rem;
    display: flex;
    align-items: center;
    line-height: 100%;
    padding: 25px 5px;
    padding-bottom: 45px;
    padding-right: 7px;
    height: 100%;
    transition:0.5s;
}
#sync1 .owl-next,
#sync3 .owl-next {
    right:10px;
        left: inherit;
}
#sync1 .owl-prev:hover span,#sync1 .owl-next:hover span,#sync1:hover .owl-nav span,
#sync3 .owl-prev:hover span,#sync3 .owl-next:hover span,#sync3:hover .owl-nav span {
    color:#fff;
}
#sync1 .owl-nav {
   
}
#section1 {
    padding-bottom:25px;
}
#section3 h1 {
        font-family: 'Pehlevi';
    text-align: center;
    padding: 15px 0;
    font-size: 4rem;
    color:#379253;
}
body h2 {
   font-family: 'Pehlevi';
    text-align: center;
    font-size: 3rem;
    padding: 15px 0; 
    letter-spacing: 1px;
     
}
#proisvodstvo h2, #section5 h2,#section7 h2,
.green{
    color:#379253;
}
#section2 {
    min-height:85vh;
}
#section-products .owl-carousel .owl-item img {
    max-height:70vh;
    object-fit: contain;
}
.section2-txt {
    padding-top:200px;
    padding-bottom:200px;
    text-align:center;
    font-size:25px;
    font-weight:600;
    color:#fff;
   
}
.section2-txt p {
    font-family: 'Pehlevi';
    font-size: 4rem;
    letter-spacing: 1px;
    max-width: 767px;
    font-weight: normal;
}
/* Делаем боковые слайды полупрозрачными */
.s3-carousel .owl-item {
    transition: all 0.4s ease;
    opacity: 0.5;
    transform: scale(0.9); /* Слегка уменьшаем боковые */
}
.s3-text,
.s4-text{
    font-size:18px;
    padding:25px 0;
}
/* Центральный слайд — яркий и в полный размер */
.s3-carousel .owl-item.center,
.s4-carousel .owl-item.center,
.s5-carousel .owl-item.center{
    opacity: 1;
    transform: scale(1);
}
.s3-carousel,
.s4-carousel,
.s5-carousel{
    margin-top:25px;
}
#sync2 .owl-item,#sync4 .owl-item {
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
#sync2 .owl-item.current,
#sync4 .owl-item.current{
  opacity: 1;
  border-bottom: 3px solid #ff0000; /* Подсветка активной миниатюры */
}

/* Важно: чтобы не было горизонтальной прокрутки у всей страницы */
.s3-carousel,.s4-carousel,.s5-carousel {
    overflow: hidden;
}
.s4-carousel .owl-item > div {
    position:relative;
}
.s4-carousel .owl-item span:nth-of-type(1) {
    display:flex;
    width:100%;
    align-items:center;
    justify-content:center;
    font-weight:600;
    font-size:20px;
        padding: 0 25px;
}
.s4-carousel .owl-item span:nth-of-type(2) {
    display:flex;
    width:100%;
    align-items:center;
    justify-content:center;
        padding: 0 25px;
        text-align:center;
        font-size: 20px;
    background: #3b9456;
}
.s4-carousel .owl-item span:nth-of-type(2) p{
        margin: 0 auto;
     max-width: 575px; 
     color:#fff;
     line-height: 120%;
    padding: 20px;
}
#section4,#section5_1 {
    color:#fff;
    padding-top: 55px;
    padding-bottom: 100px;
}
#section5{
    padding: 25px 0;
}
.top, #section6 .top+ .container{
    position:relative;
    z-index:1;
}
.headblock {
    color:#fff;
    padding-top: 50px;
    padding-bottom: 200px;
}
.block-preim {
    position:relative;
    top:-125px;
    justify-content:center;
}
.wr-pr {
    padding: 15px;
    background: #fff;
    box-shadow: 0 0 0 1px #344d34;
    display: flex;
        flex-direction: column;
    text-align: center;
    border-radius: 5px;
    height: 100%;
    justify-content: space-between;
}
#trade .item{
    display:flex;
    flex-direction:column;
    align-items:center;
}
.wr-pr span:nth-of-type(1) {
    font-weight:600;
    font-size:20px;
        color: #3b9456;
        font-style: italic;
        line-height: 24px;
}
#section3 {
       position:relative;
}
#section6{

    position:relative;
}
#section7 .col {
    display:flex;
    flex-direction:column;
    gap:5px;
}
#section7 .col span:nth-of-type(1) {
        color: #379253;
    font-weight: 600;
    font-size: 20px;
    font-style: italic;
}
.dum-kbr {
    display:flex;
    background: #fff;
    color: #000;
        justify-content: center;
    align-items: center;
    gap:15px;
    border-radius:10px;
    box-shadow: 0 0 1px 3px #379252;
    margin-bottom:25px;
}
.bl-txt {
       max-width: calc((100% - 120px) / 2);
    width: 100%;
    text-align: center;
        font-weight: 500;
         padding:10px;
}
.bl-img {
   max-width:120px;
}
.bl-img img{
    max-width:100%;
}

@media (max-width:992px){
    .wr-pr span:nth-of-type(1){
        font-size:17px;
    }
    .section2-txt p,#section3 h1 {
        font-size: 3rem;
    }
    body h2 {
      font-size: 2.5rem;  
    }
}
@media (max-width:767px){
.dum-kbr {
    flex-direction:column;
}
   .bl-txt {
       max-width:100%;
   } 
}
@media (max-width:575px){
    body h2 {
      font-size: 1.5rem;  
    }
    .wr-pr span:nth-of-type(1){
        font-size:19px;
    }
    .section2-txt p,#section3 h1 {
        font-size: 2rem;
    }
}