
/* стили cart
@import  url("cart.css"); */

.product-image {
    width: 100px;
    display: flex; 
    align-items: center; 
}

.product-content a {
    font-size: 24px;
}

.product-content p {
    margin-top: 10px;
}

.product-buy {
    text-align: right;
}

.product-price {
    margin-bottom: 15px;
    font-size: 24px;
    line-height: 36px;
    font-weight: bold;
    color: #333333 !important;
}

.product-sale {
    font-size: 20px;
    line-height: 24px;
    position: relative;
    color: #81859C;
}

.product-sale::after {
    content: "";
    border-bottom: 2px solid #81859C;
    position: absolute;
    top: 39%;
    left: 0;
    right: 0;
}

.cart-old-price {
    font-size: 14px;
    text-decoration: line-through;
    color: salmon;
}

.buy-bar {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 18px 0;
    background: linear-gradient(to right, #E3C6D3, #AFCBFF);
    z-index: 9;
    
}

.buy-bar__subtotal {
    font-weight: 700;
    margin-bottom: 0;
}

.buy-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.buy-bar__price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 50px;
}

.btn.buy-bar-btn {
    width: 174px;
    height: 25px;
    padding: 8px 15px;
    text-transform: none;
}

.buy-bar__old-price {
    margin-right: 18px;
    /*font-family: 'Montserrat', sans-serif;*/
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    -webkit-text-decoration-line: line-through;
    text-decoration-line: line-through;
}

.buy-bar__current-price {
    /*font-family: 'Montserrat', sans-serif;*/
    font-size: 24px;
    line-height: 29px;
    font-weight: 700;
    color: #1062AA;
}

.modal {
    overflow-y: hidden !important;
    z-index: 99999999;
}

.modal-background {
    z-index: 9999999;
    background: #000;
    opacity: 0.3;
    display: none;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
}

.modal-body {
    overflow-y: auto !important;
    max-height: 500px;
}

.modal-header button {
    padding: 3px 10px;
    border-radius: 250px;
    background-color: #1E7CCF;
    border: none;
    color: white;
    font-size: 16px;
    line-height: 24px;
    margin: 10px;
}

.modal-dialog {
    max-width: 75% !important;
    /* margin-top: 10%; */
    margin-top: 5%;
}

.cart-image {
     /* width: 75px; */

}

.payment-option {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.payment-option img {
    max-width: 80px;
    margin-right: 10px;
}

.payment-option input {
    margin-left: 0px!important;
}

.payment-option label {
    margin-bottom: 0px;
    display: flex;
    justify-content: space-between;
    margin-left: 10px;
    padding-left: 15px;
}

.cartblock-row {
    display: flex!important;
    flex-wrap: nowrap!important;
}

.cartblock-one {
    /* width: 20%; */
    width: 15%;
    display: flex;
    align-items: center;
    
}

.cartblock-two {
    /* width: 40%; */
    width: 20%;
}

.cartblock-three {
    /* width: 40%; */
    width: 70%;
    font-size: 15px;
    display: flex;
}

.cartblock-fore {
    justify-content: center;
    align-items: center!important;
}

.cartblock-seven {
    width: 100px;
    margin-right: 30px;
}

.cartblock-five {
    margin-right: 30px;
}

.cartblock-eight {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cartblock-eight .remove-button {
    width:18px;
    height:18px;
    vertical-align: middle;
    display: inline-block;
}

.delete-word {
    display: none;
}

.modal-cartblock {
    display: flex;
    justify-content: center;
}

.modal-body {
    /* max-height: 600px; */
    max-height: 70vh;
}

.cartblock-start {
    margin-right: 30px;
    width: 70%;
}

.payform {
    width: 40%;
}

.cartblock-two h5 {
    font-size: 15px;
}
.cartblock-two p {
    font-size: 12px;
}


.add_quantity {
    padding: 5px 10px 5px 10px;
}
.minus_quantity {
    padding: 5px 10px 5px 10px;
}

@media(max-width: 1251px) {
    .modal-cartblock {
        flex-flow: column;
        /* padding-top: 200px; */
    }
    .cartblock-two h5 {
        font-size: 20px;
    }
    .cartblock-two p {
        font-size: 12px;
    }
    .cartblock-start {
        width: 100%;
        margin-right: 0px;
    }
    .payform {
        width: 100%;
    }
    .cartblock-two {
        width: 30%;
        /* width: 20%; */
    }
    .cartblock-three {
        width: 50%;
        /* width: 70%; */
    }
}

@media(max-width: 1000px) {
    .product-content {
        font-size: 15px;
    }
    .product-content a {
        font-size: 20px;
    }
    .product-image {
        display: block; 
        align-items: normal; 
    }
    .product-price {
        font-size: 20px;
    }
    .product-sale {
        font-size: 16px;
    }
    .cartblock-one {
        width: 10%;
    }
    .cartblock-three {
        width: 65%;
    }
    .cartblock-seven {
        margin-right: 10px;
    }
    .cartblock-five {
        margin-right: 10px;
    }
    .cartblock-two h5 {
        font-size: 17px;
    }
    .cartblock-two p {
        font-size: 12px;
    }
}

@media(max-width: 768px) {
    /* .product-content {
        font-size: 12px;
    }
    .product-content a {
        font-size: 16px;
    }
    .product-image {
        width: 50px;
    }
    .product-price {
        font-size: 16px;
    }
    .product-sale {
        font-size: 12px;
    } */
    .modal-cartblock {
        /* padding-top: 300px; */
        display: block;
    }
    .product-container {
        flex-flow: column;
        align-items: center;
        text-align: center;
    }
    .product-buy {
        text-align: center;
    }
    .products-container {
        margin-right: 1rem!important;
        margin-left: 1rem!important;
    }
    .modal-dialog {
        max-width: 100%!important;
        margin-top: 5%;
        height: 95% !important;
    }
    .modal-content {
        height: 100%;
    }
    .modal-body {
        max-height: 100%!important;
    }
    .cartblock-row {
        flex-flow: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .cartblock-one {
        width: 100%;
        display: block; 
        align-items: normal; 
    }
    .cartblock-two {
        width: 100%;
    }
    .cartblock-three {
        width: 100%;
    }
    .cartblock-two h5 {
        font-size: 20px;
    }
    .cartblock-two p {
        font-size: 12px;
    }
    .cartblock-fore {
        align-items: flex-start!important;
        justify-content: space-between;
    }
    .cartblock-eight {
        flex-flow: column;
        text-align: right;
    }
    .cartblock-six {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .delete-word {
        display: block;
        margin-left: 5px;
    }
    .cartblock-three {
        display: block;
    }
    .cartblock-start {
        height: auto;
    }
}
@media(max-height: 400px) {
    .modal-body {
        max-height: 45vh!important;
    }
}


/* стили cart */



.blog-sidebar-style1 {
    background-color:#f2f7fd;
    border-radius:20px;
    padding:10px;
    
    position: sticky;
    top: 140px;
    align-self: flex-start;
}

header.wp-block-template-part {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0);
    z-index: 10;
}

.feature-item-4 {
    background-color: #eef1f4;
    border-radius: 20px;
    padding: 28px 24px;    
    display: flex;}

.product-features-item {
    background-color: white;
    border-radius: 20px;
    border: 1px solid #CED7E2;
    padding: 18px 14px;
    min-height: 180px;
}

.grid-item-center {
    align-items: center;
    justify-content: center;}

.text-center {    
    text-align: center;
    vertical-align: middle;
}

.rounded-choose-us {    border: 1px solid #CED7E2;
    border-radius: 20px;}

.my-yes {background-color: #27ae60; color:white;padding:2px;border-radius: 5px;}

.my-no {background-color: #e73f32; color:white;padding:2px;border-radius: 5px;}

.my-table1, 
.my-table1 th, b
.my-table1 td {
    border-color: #1767a5; 
    padding: 8px; 
    text-align: left; 
}

.my-table1 th {
   
}

.my-table1 tr:nth-child(even) {
    background-color: #f2f7fd; 
}





.single-post .entry-content .wp-block-image img {
    border: 3px solid #f2f7fd;
}

.taxonomy-category a[rel="tag"] {
    
 
    color: #dd3333;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    
}

.taxonomy-category a[rel="tag"]:hover {
    color: darkred; /* Цвет текста при наведении */
}

.max-height100 img {max-height:100px;}

.air-mail-style {
    background-image: repeating-linear-gradient(135deg, #F29B91 0px, #F09290 30px, #FFFFFF 30px, #FFFFFF 50px, #83B3DB 50px, #84ADCB 80px, #FFFFFF 80px, #FFFFFF 100px);
}

.air-mail-style-container {
  background-image: repeating-linear-gradient(135deg, #F29B91 0px, #F09290 30px, transparent 30px, transparent 50px, #83B3DB 50px, #84ADCB 80px, transparent 80px, transparent 100px);
  padding: 7px;
  
}

.air-mail-style-container .wp-block-media-text {
    padding:20px;
    background-color:#f2f7fd;
    
}

.container .inner { 
    background: white; width: 100%; height: 100%;
}

.background1 {background-color:#f2f7fd;}

.selected-block1 {
    margin:20px;
    padding:10px;
    background-color:#fff9eb;
}

.widget-banner-1 {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(90deg,rgba(229,161,190,.25),rgba(207,185,245,.25) 50%,rgba(130,192,240,.25)),#f2f3f5;
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }
}


.wp-element-button, .wp-block-button__link {
    background-color: #1e7ccf;  
    color: #FFFFFF;             
}

.wp-element-button:hover, .wp-block-button__link:hover {
    background-color: #3898e2;  
    color: #FFFFFF;             
}

.wp-element-button:active, .wp-block-button__link:active {
    background-color: #1e7ccf;  
    color: #FFFFFF;             
}


.products-list {
  display: flex;
  flex-wrap: wrap; /* Размещение элементов на нескольких строках */
  gap: 20px; /* Расстояние между элементами */
  margin: 0 auto;
}


.product-container {
  flex: 1 1 calc(50% - 20px); /* Три элемента на строку */
  max-width: calc(50% - 20px); /* Ограничение ширины одного элемента */
  box-sizing: border-box; /* Учитываем `padding` и `border` */
}

@media screen and (max-width: 1024px) {
  .product-container {
    flex: 1 1 calc(50% - 20px); /* Переключение на два элемента на строку для средних экранов */
    max-width: calc(50% - 20px);
  }
}

@media screen and (max-width: 768px) {
  .product-container {
    flex: 1 1 100%; /* Один элемент на строку для мобильных устройств */
    max-width: 100%;
  }
}


.custom-columns {
    display: flex;
    align-items: stretch;
}

.custom-columns .wp-block-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.my-green-btn a {
    background-color:#008e00;
}

.my-learn-more-btn a {
    background-color:#f19391;
}

.my-green-btn a:hover {
    background-color:#00c400;
}