/*
Theme Name: ZakazTort

home styles override
Version: 1.0.2
*/
.home #content {
    margin-top: 0;
}

.home .site-content-inner {
    max-width: 100% !important;
}
/*
 * На главной шапка header-home
 *
*/
.admin-bar #home__navigation {
    top: 32px;
}

#home__navigation {
    background: transparent;
    box-shadow: none;
}

#home__navigation.site-header .head__time {
    color: #fff;
}

#home__navigation.site-header .header__logo-boxname .text-white {
    color: #fff;
}

#home__navigation:not(.sticky).site-header .head__tel a, #home__navigation:not(.sticky).site-header .head__tel a:visited {
    color: #FFFFFF;
}

#home__navigation ul#menu-primary-in a, #home__navigation ul#menu-primary-in a:visited {
    color: #fff;
}

#home__navigation ul#menu-primary-in .current-menu-item a, #home__navigation ul#menu-primary-in a:hover {
    color: #D4AF37;
}

#home__navigation.site-header .head__tel a:hover {
    color: #D4AF37;
}

.home #home__navigation #menu-primary-in ul.sub-menu li a {
    color: #000;
}

.home #home__navigation #menu-primary-in ul.sub-menu li a:hover {
    color: #D4AF37;
}

/*
 * sticky menu
 *
*/

#home__navigation.sticky {
    background: #fff;
}

#home__navigation.sticky ul#menu-primary-in a, #home__navigation.sticky ul#menu-primary-in a:visited {
    color: #000;
}

#home__navigation.sticky ul#menu-primary-in .current-menu-item a, #home__navigation.sticky ul#menu-primary-in a:hover {
    color: #D4AF37;
}

/*
 * На главной swiper слайдер
 *
*/

.swiper-wrapper {
    max-height: 100%;
    height: 100%;
    display: flex;
}

.mySwiper.swiper {
    margin: 0 !important;
    min-width: 100%;
}

.swiper-slide {
    width: auto;
    max-height: 100%;
}

.mySwiper {
  height: 100%; 
  max-height: 100vw;
  min-height: 0;
  min-width: 0;
  max-width: calc(100vw - 17px); 
  width: 100%;
  overflow: hidden;
}

#slider_home {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

#slider_home:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000;
    opacity: 0.47;
    z-index: 2;
    min-height: 100%;
}


.slider__home_block {
    position: absolute;
    top: 215px;
    width: 100%;
    max-width: 1160px;
    z-index: 6;
    color: #fff;
}

.slider__home_block .btn {
    display: flex;
    width: 212px;
    height: 56px;
    padding: 0;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    text-align: center;
    line-height: 22px;
    font-size: 18px;
    font-family: 'Circe';
    font-weight: 400;
    text-decoration: none;
    background-color: #D4AF37;
    border-radius: 100px;
    -webkit-transition-duration: 0.3s;
    -webkit-transition-delay: 0s;
    -webkit-transition-timing-function: ease;
    transition-duration: 0.3s;
    transition-delay: 0s;
    transition-timing-function: ease;
}

.swiper {
      width: 100%;
      height: 750px;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white; /* Цвет текста */
  text-align: center;
  background-size: cover; /* Заполнение фона */
  background-position: center; /* Центрирование фона */
}

.slider__home_block h1 {
    max-width: 640px;
    display: block;
    margin: 0 0 30px;
    font-size: 72px;
    line-height: 86px;
    font-family: 'Philosopher';
    font-weight: 700;
    color: #fff;
}

.slider__home_block h2 {
    max-width: 640px;
    display: block;
    margin: 0 0 30px;
    font-size: 72px;
    line-height: 86px;
    font-family: 'Philosopher';
    font-weight: 700;
    color: #fff;
}

.slider__home_block h3 {
    line-height: 19px;
    font-size: 16px;
    color: #DDDDDD;
    font-family: 'Circe';
    font-weight: 400;
    margin: 0 0 86px;
}

.slider__home_block p {
    line-height: 19px;
    font-size: 16px;
    color: #DDDDDD;
    font-family: 'Circe';
    font-weight: 400;
    margin: 0 0 86px;
}

/*
 * Категории на главной
*/

.home_cat {
    display: flex;
    flex-direction: column;
    align-content: center;
    padding: 63px 0;
}

.home_cat p {
    display: block;
    margin: 0 0 36px 20px;
    padding: 0;
    line-height: 100%;
    font-size: 36px;
    color: #424242;
    font-family: 'Philosopher';
    font-weight: 700;
}

/*
 * about us
*/
.about__us {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 82px 0 80px;
    justify-content: center;
    background: transparent url('/wp-content/uploads/img_4906.webp') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.about__us:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    min-height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000;
    opacity: 0.48;
    z-index: 1;
}

.about__us_block {
    width: 100%;
    max-width: 684px;
    text-align: center;
    z-index: 2;
}

.about__us_block h3 {
    margin: 0;
    padding: 0;
    font-size: 72px;
    text-align: center;
    line-height: 86px;
    font-family: 'Philosopher';
    font-weight: 700;
    color: #fff;
}

.about__us_block h6 {
    margin: 0;
    padding: 0;
    font-size: 72px;
    text-align: center;
    line-height: 86px;
    font-family: 'Philosopher';
    font-weight: 700;
    color: #fff;
}

.about__us_block p {
    display: block;
    margin: 18px 0 55px;
    line-height: 27px;
    font-size: 16px;
    text-align: center;
    color: #DDDDDD;
    font-family: 'Circe';
    font-weight: 400;
}

.about__us_block .btn {
    display: flex;
    width: 212px;
    height: 56px;
    margin: 0 auto;
    padding: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 22px;
    font-size: 18px;
    font-family: 'Circe';
    font-weight: 400;
    color: #FFFFFF;
    border-color: #FFFFFF;
    text-decoration: none;
    background-color: transparent;
    border: 2px solid #FFFFFF;
    border-radius: 100px;
    -webkit-transition-duration: 0.3s;
    -webkit-transition-delay: 0s;
    -webkit-transition-timing-function: ease;
    transition-duration: 0.3s;
    transition-delay: 0s;
    transition-timing-function: ease;
}

.about__us_block .btn:hover {
    border-color: #E8BA3C;
    background-color: #E8BA3C;
    box-shadow: 0px 8px 35px rgba(212, 175, 55, 0.72);
}

/*
 * reviews about
*/
.reviews__yandex {
    width: 100%;
    max-width: 760px;
}

.home__reviews_about {
    display: grid;
    padding: 92px 20px 51px;
    justify-content: center;
    align-items: start;
    justify-items: stretch;
    background: #f9f9f9;
}

.home__reviews_about_block {
    display: flex;
    width: 1160px;
    flex-direction: column;
    justify-content: flex-start;
}

.home__reviews_about .title {
    display: block;
    padding: 0;
    margin: 0 0 46px;
    line-height: 43px;
    font-size: 36px;
    color: #424242;
    font-family: 'Philosopher';
    font-weight: 700;
}

.reviews__yandex {
    display: flex;
    justify-content: center;
    background-color: #FFFFFF;
    border-radius: 10px;
}

.home__reviews_about iframe body .badge {
    max-width: 100%!important;
}

/*
 * @media
*/

@media(max-width: 1199px) {
#home__navigation.site-header.sticky .header__logo-boxname .text-white {
    color: #000;
}
.home_cat ul.products.columns-3 {
    gap: 48px 16px;
}
.home_cat ul.products.columns-3 li.product-category {
    width: 31.5%;
}
/* END */
}



@media (max-width: 1176px) {
.slider__home_block {
    top: 160px;
    left: 60px;
    width: auto;
    max-width: initial;
}
.home__reviews_about_block {
    width: auto;
}
.contact__block {
    right: inherit;
}
/* END */
}

@media (max-width: 890px) {
.home_cat ul.products.columns-3 li.product {
    width: 48.5%;
}
ul.products.columns-3 li.product-category .archive-img-wrap img {
    width: 100%;
}
}


@media (max-width: 1010px) {
section.contact__us_block {
    padding: 74px 20px;
}
.contact__block {
    max-width: 100%;
}

/* END */
}

@media (max-width: 880px) {
.contact__block {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact__block .contact__form {
    max-width: 490px;
}
/* END */
}

@media (max-width: 810px) {
.home__reviews_about {
    padding: 60px 20px;
}
.reviews__yandex>div {
    width: auto !important;
}

/* END */
}

@media (max-width: 712px) {
.about__us_block {
    max-width: 100%;
    padding: 0 40px;
}
/* END */
}

@media (max-width: 619px) {
.slider__home_block {
    width: 80%;
    top: 120px;
}

/* END */
}

@media (max-width: 580px) {

.slider__home_block h1 {
    font-size: 56px;
    line-height: 66px;
}
	
.slider__home_block h2 {
    font-size: 56px;
    line-height: 66px;
}
.home__reviews_about .title {
    line-height: 36px;
    font-size: 28px;
}

.home_cat ul.products.columns-3 {
    gap: 48px 0;
    justify-content: center;
}

.home_cat ul.products.columns-3 li.product {
    width: 100%;
    max-width: 360px;
}

.home_cat ul.products.columns-3 li.product-category .archive-img-wrap img {
    width: 100%;
    max-width: 360px;
}
/* END */
}

@media (max-width: 530px) {
.slider__home_block {
    top: 100px;
}
.slider__home_block h3 {
    margin: 0 0 20px;
}

.slider__home_block p {
    margin: 0 0 20px;
}

.contact__block_us h4 {
    line-height: 36px;
    font-size: 28px;
    margin: 0 0 32px;
}
.home__reviews_about .title {
    text-align: center;
}
/* END */
}

@media (max-width: 460px) {

.slider__home_block h1 {
    font-size: 36px;
    line-height: 46px;
    max-width: 300px;
}

.slider__home_block h2 {
    font-size: 36px;
    line-height: 46px;
    max-width: 300px;
}
}

/* Table */
@media screen and (max-width:680px){
.wider-table {
	overflow: auto;
	position: relative;
}
.wider-table table {
	display: inline-block;
	vertical-align: top;
	max-width: 100%;
	overflow-x: auto;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}
}