/*
Theme Name: ZakazTort

main styles override
Version: 1.0.2
*/

/*
 * Global effects
*/

/* CSS to prevent scrolling */
body.no-scroll {
    overflow: hidden;
}
.site-header.sticky .effects, .site-header.sticky a {
    transition: none;
}

@media (min-width: 1479px) and (max-width: 1485px), (min-device-width: 1479px) and (max-device-width: 1485px) {
    
}
@media (max-width: 1199px) {
#content {
    margin-top: 100px;
}
}

@media (max-width: 1178px) {
#content {
    margin-top: 40px;
}
}
@media (max-width: 747px) {
#page {
    padding-top: 56px;
}
#content {
   margin-top: 0;
}
h1.page-title {
    margin: 20px 0;
}

}


@media(max-width: 939px) {
.header__callback_btn {
    width: 44px;
    height: 44px;
    font-size: 0;
    padding: 0;
    gap: 0;
}
/* END */
}

@media(max-width: 796px) {
.header__logo-boxname {
    width: 102px;
    margin-left: 2px;
}
.site-header .head__tel a {
    font-size: 18px;
    line-height: 24px;
}
/* END */
}

@media (max-width: 768px) {
.mypopup-modal_position_bottom-right {
    bottom: 80px!important;
    right: 10px!important;
    margin: 0!important;
}
}
@media (min-width: 1179px) {
.burger__menu {
    display: none;
}
#mobile-bar {
    display: none;
}

#mobile__menu_bottom, #mobile__menu_top, .mobile-contact {
    display: none;
}
}

/* HEADER */
@media (max-width: 1199px) {
.site-header {
height: auto;
padding: 10px 20px;
}

.site-header.sticky .header__container {
    padding: 10px 20px;
}

.header__container {
width: 100%;
gap: 10px 15px;
padding: 0;
}

.site-header.sticky .header__logo-img {
    width: 36px;
    height: 43px;
}

.site-header.sticky .header__logo-boxname, .site-header.sticky .head__tel {
display: block;
}

.site-header.sticky .search__box {
transform: translate(0px, 0);
-webkit-transform: translate(0px, 0);
}

/* END */
}

@media (max-width: 1178px) {
#home__navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.04);
}
.site-header .header__logo-name {
    align-items: center;
}
.header__logo-boxname .text-white {
    display: none;
}
.header__menu {
    display: none;
}
.site-header #site-navigation {
    display: flex;
    flex-direction: column;
}
.asl_w_container {
    display: none;
}
#site-navigation {
    padding: 40px 30px;
    display: flex;
    flex-direction: column !important;
    align-items: flex-start !important;
}
#mobile__menu_top {
    width: 100%;
    padding: 20px 0;
    border-bottom: 2px solid #D4AF37;
}
ul#menu-mobile-top {
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 20px;
    list-style: none;
}
.mobile__menu_top_item a {
    line-height: 20px;
    font-size: 18px;
    color: #000000;
    font-family: 'Philosopher';
    font-weight: 700;
}

div#mobile__menu_bottom {
    width: 100%;
    padding: 20px 0;
}
ul#menu-mobile-bottom {
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    list-style: none;
    flex-direction: column;
}
.mobile__menu_bottom_item a {
    padding: 0;
    line-height: 18px;
    font-size: 16px;
    text-align: left;
    color: #7F7F7F;
    font-family: 'Circe';
    font-weight: 400;
}

.site-header.sticky .head__tel {
    display: none!important;
}

.site-header.sticky .header__logo-boxname {
    display: block!important;
}

.burger__container .asl_w_container {
    display: block!important;
}

.burger__container .search__box {
    order: -1;
}

.burger__container .search__box {
    max-width: 100% !important;
}

.mobile-contact a {
    line-height: 22px;
    font-size: 20px;
    color: #000000;
    font-family: 'Philosopher';
    font-weight: 700;
    margin-bottom: 10px;
}

.mobile-contact span {
    font-family: 'Circe';
}

.site-header .header__logo-img {
    width: 30px;
    height: 36px;
}

.header__cart_btn a.cart-contents {
    width: 34px;
    height: 34px;
}

.header__callback_btn {
    width: 34px;
    height: 34px;
    font-size: 0;
    gap: 0;
    padding: 12px 1px 11px 0;
}

.slider__home_block {
    width: 80%;
    top: 80px;
    left: 20px;
}

/* END */
}

@media (max-width: 1178px) {
/* burger */
.menu-primary-in-container {
display: none;
}
.head__time, .head__tel {
    display: none;
}
.burger__menu {
    width: 34px;
    height: 34px;
    padding: 3px;
    border: 1px solid #D4AF37;
    border-radius: 50%;
}
.burger-checkbox {
  position: absolute;
  visibility: hidden;
}
.burger {
  cursor: pointer;
  display: block;
  position: relative;
  border: none;
  background: transparent;
  width: 20px;
  height: 18px;
}
.burger::before,
.burger::after {
  content: '';
  left: 3px;
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 10px;
  background: #D4AF37;
}
.burger::before {
  top: 6px;
  box-shadow: 0 11px 0 #D4AF37;
  transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
}
.burger::after {
  bottom: 4px;
  transition: bottom .3s .15s, transform .3s;
}
.burger-checkbox:checked + .burger::before {
  top: 11px;
  transform: rotate(45deg);
  box-shadow: 0 6px 0 rgba(0,0,0,0);
  transition: box-shadow .15s, top .3s, transform .3s .15s;
}
.burger-checkbox:checked + .burger::after {
  bottom: 5px;
  transform: rotate(-45deg);
  transition: bottom .3s, transform .3s .15s;
}

.header__menu.burger__container {
    position: fixed;
    display: block;
    width: 80%;
    max-width: 400px;
    height: auto;
    overflow-y: scroll;
    top: 56px;
    left: 0;
    bottom: 0;
    z-index: 92;
    background: #efefef;
}

.mobile-contact {
    margin-bottom: 56px;
}

body .asl_r.vertical {
    width: 80% !important;
    left: 0 !important;
    right: 0 !important;
}

/* END */
}




/* HEADER END */

/*
    *
    * media style  footer 1199px
    *
*/
@media(max-width: 1199px) {
.site__info {
display: block;
padding: 47px 20px;
}
.site__info_conteiner {
width: 100%;
padding: 0 20px;
}
.footer__company_conteiner {
padding: 0 20px;
width: 100%;
}
.site-header.sticky .head__tel {
    display: none;
}
.site-header.sticky .header__callback_btn {
    width: 44px;
    height: 44px;
    font-size: 0;
    gap: 0;
    padding: 12px 1px 11px 0;
}

.site-header.sticky .header__callback {
    margin-left: inherit;
}
/* END */
}


/*
    *
    * media style 895px
    *
*/
@media(max-width: 895px) {
.footer_menu {
display: flex;
flex-wrap: wrap;
flex-direction: row;
}
.footer_menu_soc {
max-width: 100%;
flex: 1 1 100%;
}
#custom_html-4 {
margin: 0;
}
.footer_menu_soc h4.widget-title {
text-align: center;
margin: 0 0 20px;
}
/* END */
}

/*
    *
    * media style 749px
    *
*/
@media(max-width: 749px) {
#footer {
    margin-bottom: 76px;
}
.site__info_conteiner {
width: 100%;
padding: 0 20px;
gap: 30px;
}
.site__info_conteiner {
flex-direction: column;
align-content: center;
align-items: center;
justify-content: center;
gap: 22px;
}

/* END */
}

/*
    *
    * media style 680px
    *
*/
@media(max-width: 680px) {
.footer_menu {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.sidebar-wrapper aside {
display: flex;
flex-direction: column;
align-items: flex-start;
}
/* END */
}


/*
    *
    * filling__post media style 895px
    *
*/
@media(max-width: 895px) {
.filling__post {
flex-direction: column;
}

.filling__post_title {
text-align: center;
margin: 20px 0;
}

.filling.type-filling {
margin-bottom: 30px;
padding-bottom: 30px;
}

.filling__post_image {
width: calc(100% - 15px);
padding: 0;
max-width: 300px;
}
/* END */
}

@media(max-width: 759px) {
.filling__post {
padding: 0 20px;
}
.filling__post_content {
width: 100%;
}
/* END */
}

@media(max-width: 330px) {
.site__info_conteiner {
      padding: 0;
}
/* END */
}


/*
 * ********************************** SHOP
*/

@media(max-width: 1199px) {
.post-type-archive .product-cat ul.products.columns-3 {
    gap: 48px 16px;
}
.product-cat ul.products.columns-3 li.product-category {
    width: 31.5%;
}
/* END */
}



@media(max-width: 960px) {
header.woocommerce-products-header {
    margin-bottom: 32px;
}
.post-type-archive .product-cat ul.products.columns-3 {
    gap: 48px 0;
    justify-content: space-evenly;
}
.product-cat ul.products.columns-3 li.product-category {
    width: auto;
}
/* END */
}

@media(max-width: 800px) {
ul.products.columns-3 li.product-category {
    width: 47%;
}
/* END */
}

@media(max-width: 710px) {
.post-type-archive .product-cat ul.products.columns-3 {
    gap: 48px 16px;
    justify-content: space-between;
}
/* END */
}

@media (max-width: 580px) {
.woocommerce-cart .entry-content .woocommerce {
    padding-top: 32px;
}
}

@media(max-width: 560px) {
h1.page-title {
    text-align: center;
}
.home_cat {
  align-content: center !important;
}
.home_cat p {
    margin: 0 auto 36px;
}
.home_cat ul.products.columns-3 {
  justify-content: center;
}
.post-type-archive .product-cat ul.products.columns-3 {
    justify-content: center;
}
ul.products.columns-3 li.product-category {
    width: auto;
}


/* END */
}


/*
 * ********************************** CART
*/
@media(max-width: 889px) {
  tr.woocommerce-cart-form__cart-item.cart_item {
    flex-wrap: wrap;
  }
  .woocommerce-cart-form td.product-name {
    width: 65%;
    flex: 1;
  }
  .woocommerce-cart-form td.product-thumbnail {
    width: 35%;
  }
  .woocommerce-cart-form td.product-info {
    width: 100%;
    flex-direction: row-reverse;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: flex-end;
  }
  .product-info__col {
    min-width: 240px;
    margin-bottom: 0;
  }
  .product-subtotal .weight-based-decor-text {
    display: block;
    margin-left: 0;
    text-align: center;
  }
  .woocommerce-cart .product-remove {
    justify-content: flex-start;
  }
/* END */
}

@media(max-width: 564px) {
  tr.woocommerce-cart-form__cart-item.cart_item {
    flex-direction: column;
  }
  .woocommerce-cart-form td.product-thumbnail {
    width: 100%;
    padding: 0 40px;
  }
  .woocommerce-cart-form td.product-name {
    width: 100%;
  }
  .woocommerce-cart-form td.product-info {
    flex-direction: row;
    margin: 0;
    justify-content: normal;
  }
  .woocommerce-cart .product-remove {
    justify-content: flex-end;
  }
  .woocommerce-cart-form td.product-name a {
    font-size: 24px;
  }
#mypopup_502e4a16930e414107ee22b6198c578f .mypopup-modal {
    width: calc(100% - 40px) !important;
}
/* END */
}

@media(max-width: 452px) {
.woocommerce-cart-form td.product-thumbnail {
    padding: 0 16px;
}
.woocommerce-cart-form td.product-name {
    margin: 0;
}
.woocommerce-cart-form td.product-name a {
    font-size: 22px;
}
.cart_item .product-quantity {
    margin-right: auto;
}
.woocommerce-cart-form td.product-info {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
}
.woocommerce-cart .product-remove {
    justify-content: flex-start;
}
.woocommerce-cart td.actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
/* END */
}

@media(max-width: 360px) {
.woocommerce-cart-form td.product-thumbnail {
    padding: 0;
}
/* END */
}

@media(max-width: 360px) {
dl.tc-epo-metadata {
    grid-template-columns: auto;
}
.woocommerce-cart .cpf-img-on-cart img {
    position: relative !important;
}
/* END */
}

/*
 * ********************************** CHECKOUT
*/

@media(max-width: 1020px) {
#order_review .product-total {
    justify-content: flex-end;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 8px;
}
/* END */
}

@media(max-width: 860px) {
#customer_details {
    flex-direction: column-reverse;
}
#customer_details .col-1 {
    width: 100%;
    margin: 0 auto;
}
#customer_details .col-2 {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}
#custom__checkout .product-img {
    width: 220px;
}
/* END */
}

@media (max-width: 1178px) {
#navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.04);
}
.header__logo-boxname {
   margin-left: 6px;
}
}

@media(max-width: 767px) {
.col2-set .form-row-third {
    width: 48.1%;
    margin-top: 0;
}
/* END */
}

@media(max-width: 480px) {
.woocommerce-page h1.entry-title {
    line-height: 32px;
    font-size: 28px;
}
.metods__delivery_toggle {
    flex-direction: column;
}

/* END */
}

@media(max-width: 420px) {
#custom__checkout .product-img {
    width: 100%;
}
.slider__home_block .btn {
    height: 46px;
}
/* END */
}

@media(max-width: 767px) {
#billing_timedelivery_field {
    width: 48.1%;
    min-width: 48.1%;
    max-width: 48.1%;
    float: right;
    margin-right: 0;
    margin-top: 0;
}
#billing_data_dostavki_field {
    width: 48.1%;
    float: left;
    margin-right: 3.8%;
    margin-top: 0;
}
#billing_address_1_field {
    position: relative;
    float: none;
    clear: both;
}
}
/* END CHECKOUT */

@media(max-width: 370px) {
.site-header {
    padding: 10px 5px;
}
#site-navigation {
    padding: 20px 16px;
}
.slider__home_block {
    top: 40px;
}
.home_cat p {
    font-size: 32px;
}
.contact__block_us h4 {
    line-height: 30px;
    font-size: 24px;
}
.header__menu.burger__container {
    width: 90%;
}
body .asl_r.vertical {
    width: 90% !important;
    left: 0 !important;
    right: 0 !important;
}
.mobile-contact a {
    line-height: 20px;
    font-size: 18px;
}
#mypopup_502e4a16930e414107ee22b6198c578f .mypopup-modal-content {
    padding: 10px;
}
.popup__head {
    font-size: 24px;
    line-height: 30px;
}
.contact-popup input.wpcf7-text {
    padding: 10px 25px;
    border-radius: 20px;
}
.contact-popup input.wpcf7-submit {
    font-size: 20px;
    line-height: 23px;
}
p.inline {
    font-size: 12px;
}
/* END */
}

@media(max-width: 350px) {
.header__container {
    gap: 10px 20px;
}
.slider__home_block h2 {
    line-height: 40px;
    margin: 0 0 10px;
}
/* END */
}


/*
 * ********************************** product-category
*/
@media(max-width: 1199px) {
ul.products.columns-3 li.product {
    width: 48.5%;
}
}

@media(max-width: 1058px) {
.product-details-wrapper {
    padding: 0 20px 43px;
}
}

@media(max-width: 746px) {
.archive  ul.products.columns-3 {
    justify-content: center;
}
ul.products.columns-3 li.product {
    width: auto;
}
}

@media(max-width: 440px) {
.archive-product-img-wrap img {
    min-width: 100% !important;
    height: auto;
}
}

@media(max-width: 410px) {
.tax-product_cat ul.products.columns-3 {
    gap: 48px 0;
}
.product-details-wrapper {
    padding: 0 16px 20px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 20px 0;
}
.product-details .product-sku {
    margin-bottom: 8px;
}
.button.select-product {
    min-height: 46px;
}
a.subcategory__link {
    font-size: 16px;
}
.woocommerce-cat-description h3:first-child {
    line-height: 30px;
    font-size: 28px;
    margin: 0 0 20px;
}
}


/*
 * ********************************** product-single
*/
@media(max-width: 1199px) {
.single__product_after {
    display: flex;
    width: 100%;
    justify-content: center;
}
.upsell__carusel {
    width: calc(100vw - 40px) !important;
}
.quantity {
    width: 100%;
}

}

@media(max-width: 1090px) {
.single__product_images {
    width: 35%;
}
.single-product .woocommerce-product-gallery__image>a>img {
    height: auto;
    width: auto;
    border-radius: 10px;
}
}

@media(max-width: 1000px) {
.single__product_images {
    max-width: 400px;
}
.woocommerce-product-gallery__image {
    width: auto;
    height: auto;
}
.single__product_description {
    flex-direction: column;
}
}

@media(max-width: 980px) {
.single__product_images {
    max-width: 300px;
}
}

@media(max-width: 820px) {
.wrap_weight_filling {
    flex-direction: column;
}
}

@media(max-width: 792px) {
.single__product_wrapper {
    flex-direction: column;
}
.single__product_images {
    max-width: 100%;
    width: 100%;
}
.wrap_weight_filling {
    flex-direction: row;
}
.quantity {
    width: inherit;
}
.single-product .woocommerce-product-gallery__wrapper {
    justify-content: flex-start;
}
}

@media(max-width: 650px) {
.upsell__carusel {
    width: auto!important;
}
.swiper-container.myupsell {
    width: calc(100vw - 40px) !important;
}
}

@media(max-width: 584px) {
.quantity {
    width: 100%;
}

}

@media(max-width: 470px) {
.wrap_weight_filling {
    flex-direction: column;
}
.product-qty {
    margin: 0 0 10px;
}
.single__product_delivery, .single__product_main {
    padding: 18px 12px;
}
}

@media(max-width: 450px) {
.single__product_price {
    flex-direction: column;
}
#additional-accessories ul {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
}
#additional-accessories ul li {
    display: block;
    width: 100%;
    max-width: 100% !important;
}
h3.upsell__carusel_title {
    line-height: 32px;
    font-size: 28px;
}
#mypopup_d395771085aab05244a4fb8fd91bf4ee .mypopup-modal {
    margin: 57px 10px 0 !important;
    width: calc(100% - 20px) !important;
}
.product-popup span {
    line-height: 18px;
    font-size: 14px;
}
}

@media(max-width: 360px) {
.swiper-container.myupsell {
    width: 295px;
}
}

@media(max-width: 768px) {
.single-product #primary-shop {
    padding: 24px 20px 60px;
}
.woocommerce-notices-wrapper {
    position: relative;
}
}