/* extra GP styles */

.d-flex {
    display: flex;
}



.mt-3 {margin-top: 3em}

@media (min-width:768px) {
    .d-md-flex {display: flex !important;}
}
.flex-between {
    justify-content: space-between;
    align-items: center;
}

.gp-blog-rightsdb > aside[class^="col-sm"] {width: 100% !important;padding: 0 !important;float: none !important;}



.gp-card-button-cart, #simplecheckout_button_confirm {
    border: 0;

    margin-left: 5px;
    border-radius: 6px;
    font-size: 14px;
    background-color: var(--button-bg-hover-color);
    font-weight: 400;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 13px 15px 13px;
    box-sizing: border-box;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.3s ease-out;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

}
#simplecheckout_button_confirm {height: auto;padding: 20px 15px;transition: 0.3s}
#simplecheckout_button_confirm:hover {opacity: 0.9}
#simplecheckout_button_confirm::before {
    content: "\e013"; /* Код символа для галочки в Bootstrap 3 */
    font-family: 'Glyphicons Halflings'; /* Шрифт, который используется для иконок в Bootstrap 3 */
    padding-right: 5px; /* Отступ между иконкой и текстом */
}

#banner0 img {border-radius: 5px}

body.product-product #banner0 {margin: 50px 0 15px}
@media (min-width: 1200px) and (max-width:1499px) {

    .product-layout.product-grid.grid-style.col-lg-3 .gp-card-button-cart {width: auto}

}
.gp-card-button-cart i.icons {margin-left:5px;}

.product-category .descr-wrapper {}
.product-category .descr-wrapper table {width: 100%}
.product-category .descr-wrapper table td {padding:5px;border: 1px solid #cccccc;text-align: center}
.product-category .descr-wrapper table td p {margin-bottom: 0;}
.product-category .descr-wrapper h2 {font-size: 2rem}
.product-category .descr-wrapper h3 {font-size: 1.5rem}



.gp-cat-prods-wrapper .gp-stock-status {
    font-size: 12px;
}

.odcatwall {transition: 0.6s}
.odcatwall:hover {opacity: 0.9}
.category-product-count {color: #999}

@media (min-width: 1440px) {
    .slider-container {min-height: 296px}

}
.gp-cat-prods-wrapper .gp-stock-status.gp-in_stock, .status-line.gp-in_stock span, .status-line.gp-in_stock i,
.gp-content-caption .gp-stock-status.gp-in_stock, .status-line.gp-in_stock span, .status-line.gp-in_stock i
{ color: #36A55C !important;text-transform: none !important;}

.gp-stock-status.gp-out_of_stock i { display:none !important}

.gp-status-line {

}

.gp-card-extraline1 {
    margin-top: 5px;
}
.gp-recently-wrapper {margin-bottom: 15px}
.gp-cat-prods-wrapper .gp-card-extraline1 > span,
.gp-recently-wrapper .gp-card-extraline1 > span {
    font-size: 11px;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* Ограничение до двух строк */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Добавление троеточия для обрезки */
    max-height: 1em; /* Приблизительная высота двух строк, зависит от line-height */
    line-height: 1em; /* Настроить в зависимости от шрифта */

    overflow: -moz-hidden-unscrollable;
    overflow: hidden;
    margin-bottom: 10px;

}

.similar-products .block-title {margin: 0;width: 100%;text-align: center}
.similar-products .block-title span {font-size: 18px;text-align: center}

.similar-products .caption h4  {max-height: none!important;-webkit-line-clamp: 4;}
.similar-products .product-layout {margin: 20px}

.gp-side-column {/*border-left: 1px solid #CCC8C8*/}
.gp-side-column h3:first-child {margin:0 20px 20px;font-size: 22px}
@media (min-width: 768px) {
    .gp-side-column {padding-right: 0}
}

@media (max-width: 767px) {
    .recently_viewed-products-header,
    .similar-products .block-title {padding:0 20px}
}

@media (min-width: 768px) {
    .similar-products .product-layout {margin: 10px 0 10px 10px}
}

.product-layout.col-md-4 .gp-card-extraline1 > span {font-size: 10px}


.gp-recently-wrapper .caption p:not(.price) {
   display: none;
}

/*  blog entries */
/* карточки с тенью */
.post-item, .gp-single-post, .sdb-post-card, .sdb-module-wrapper,
.post-page .post-layout {
    background-color: #FFFFFF;
    transition: all 300ms ease-in-out;
    background: var(--card-bg-color);
    padding: var(--card-padding);
    box-shadow: var(--card-shadow);
    border-radius: var(--card-border-radius);}
.blog-module .post-item .post-cation .post-name a {-webkit-line-clamp: 4 !important;}




@media (min-width: 768px) {
    .post-item {display:flex;}

    .post-page .post-layout {margin-left:10px;margin-right: 10px;}

    .post-image {
        flex-basis: 33%;
    }

    .post-cation {
        flex-basis: 66%;
        min-height: 225px;
    }
}


body.mobile-layout .blog-module .post-content .post-item {
    padding: 5px;

}
body.common-home .blog-module .post-content .post-intro,
body.mobile-layout .blog-module .post-content .post-author
{display: none !important;}

.gp-post-intro .btn-more {text-align: center}

.d-none {display:none;}

@media (min-width:768px) {
    .post-page .post-layout.col-sm-4 {
        width: 30% !important
    }
    .d-md-none {display: none !important;}
    .d-md-block {display: block !important;}
    .policy-block .inner {display: flex;
    justify-content: space-between}
    .policy-block .col::after {right: -45px !important;}
}


.logo-footer-wrapper {margin-bottom: 15px;text-align: center;}
.logo-footer-wrapper img  {width: 100%}

.sdb-module-wrapper {margin-bottom: 20px;}


.gp-content-caption {font-size: 70%;}
.gp-cat-prodcard-bottom {margin-top: 10px;}
.gp-cat-prods-wrapper .product-layout.product-list .gp-cat-prodcard-bottom p.price {line-height: 36px}

.gp-cat-prodcard-bottom p.price {
    margin-left: 0 !important;
}



@media (max-width:499px) {
    .gp-card-extraline1 {display:block}
    .gp-card-extraline1 .gp-cat-card-modelname {display:none}
    .gp-cat-prodcard-bottom {text-align: center}
    .gp-card-button-cart {width:100%;margin:10px 0;}
    .gp-rightsdb {margin-top: 30px;}
    .product-thumb .product-item .image {max-width: 100% !important}
}
@media (min-width:500px) {
    .gp-cat-prodcard-bottom {display:flex;justify-content: space-between;align-content: center}

}

.recentlyviewed-products {padding:10px}

body.information-information #recentlyviewed-products {padding-top:80px}

/* страница товара */

.product-info-details .product-tags,
.product-info-details .product-tags a {color: #e7e7e7 !important;}

@media (min-width: 768px) {
    .product-image-details {min-height: 400px}

}

@media (max-width: 767px) {
    h1.product-info-details {font-size: 2rem}
    #product-product .product-info-details.price {font-size: 1.8rem}
}




/* theme modules fixes */
.products-container .countdown-module .product-thumb .product-item .caption > .inner {position: unset !important;}
.countdown-module .swiper-viewport .product-thumb .product-item .caption h4 {min-height: 90px}
.countdown-module .box-label {position: absolute;margin: 0 !important}

@media (min-width: 1600px) {
    .countdown-module .product-thumb .product-item > div {float:none;width:100%}
    .countdown-module .product-thumb .product-item .image {width:100% !important;max-width: 100%}
    .countdown-module .product-thumb .product-item .caption h4 a {font-size: 16px;}
}

.similar-products .price, .similar-products .price-new, .similar-products .price-old {
    font-size: 12px !important;
}

.product-info-details .product-tags {display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em;}
.similar-products .caption h4 {
    line-height: 1.3em !important;
    font-size: 12px !important;
    margin-top: 15px !important;
}

.swiper-viewport .product-thumb .product-item .caption h4 {min-height: 54px}


.swiper-viewport .swiper-slide {margin-bottom: 15px;}



body.information-information #content {
    background-color: #FFFFFF;
    padding:30px;
   /* box-shadow: rgba(0, 0, 0, 0.05) 8px 8px 22px 0px; */
    box-shadow: var(--card-shadow);
    border-radius: var(--card-border-radius);

}

/*article styles*/
body.plaza-blog .post-grid .post-intro {display: none !important;}
.stattya-long ul {padding-left:5px}
@media (min-width:768px) {
    .stattya-small-images img {max-width: 30%}
}

/* TABLES GP*/
/*.product-info-details-more .tab-content #tab-description table {background-color: #ececec} */
.product-info-details-more .tab-content #tab-description table td ul {margin-left:20px;}
.product-info-details-more .tab-content #tab-description table td,
.product-info-details-more .tab-content #tab-description table th
{border: 1px solid #5e5e5e; padding: 2px;}

@media (max-width: 767px) {
    body.product-product #content {padding: 0 !important}
    body.product-product #content .product-details {padding: 10px !important}
    .product-info-details-more iframe {max-width: 100% !important;}
    .product-info-details-more table {max-width: 100% !important;overflow: scroll;
        display: block;}
    .product-info-details-more table td {padding: 1px !important;}
    .product-info-details-more .tab-content table td p {margin:2px !important;}
    .product-info-details-more .tab-content {padding:10px !important;}
    #recentlyviewed-products, .similar-products > h3 {text-align: center}
    .gp-recently-wrapper {margin: 20px 5px}
    .gp-recently-wrapper .product-layout {margin: 20px 0}


}

body.plaza-blog-post table {width: 100%;}
body.plaza-blog-post table td {border: 1px solid #c0c0c0;padding:2px 5px}
body.plaza-blog-post table tr:first-child {text-align: center;background-color: #fafafa}
body.plaza-blog-post table tr:hover {background-color: #fdfdfd
}
body.plaza-blog-post table td:not(:first-child) {text-align: center;}


/*#tab-description table, .post-description table {width:100% !important;} */
#tab-description ul {padding-left:10px}
#tab-description ul li {word-wrap: break-word;}
#tab-description table p, .post-description table p {margin-bottom: 0;}
.table-type1 {margin:auto;}
.table-type1 td, .table-type2 td {
    margin: auto;
    border:1px solid #cccccc;
    padding:6px;
}
.table-type2 tr td:not(:first-child) {text-align: center;}

@media (max-width:767px) {
    .table-type2 {
        font-size: 80%;
    }
    #product-product .product-info-details #button-cart {min-width: 150px !important;}
    #product-product #tab-description img {height: auto !important;}

}



/* checkout */
.gp-recount {background-color: #5e5e5e !important;}


.simplecheckout-block {
    border: 1px solid #eee;
}

#payment_method_list img {max-height: 40px;}
#payment_method_list label {display: flex;align-items: center; line-height: 1;}

#shipping_method_list .price {display: none!important;}
#payment_address_form .control-label {line-height: 1;text-align: left !important;}

#d_quickcheckout .panel .panel-heading {background-color:#2b2d2f}

#d_quickcheckout .btn-primary:not(:hover) {background-color:#2b2d2f !important;background-image: none !important;}
#d_quickcheckout .panel-title span {color: #FFFFFF}
#d_quickcheckout #shipping_method_list strong.title {display: none}

/* SHIPPING METHODS */

#simplecheckout_shipping label[for="novaposhta.department"],
#simplecheckout_shipping label[for="novaposhta.poshtomat"] {
    display: flex !important;
    align-items: center;
}


#simplecheckout_shipping label[for="novaposhta.department"]::after,
#simplecheckout_shipping label[for="novaposhta.poshtomat"]::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 5px;
    background-size: contain;
    background-repeat: no-repeat;
}
#simplecheckout_shipping label[for="novaposhta.department"]::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 171.4 171.39'><path fill='%23EB3323' d='M100.77,139.11v-35.65H70.55v35.65H47.42l28.05,28.06c5.64,5.62,14.76,5.62,20.4,0l28.06-28.06H100.77z M32.26,123.99V47.4L4.22,75.45c-5.63,5.63-5.63,14.77,0,20.4L32.26,123.99z M70.52,32.23v35.64h30.25V32.23h23.16l-28.1-28c-5.63-5.63-14.77-5.63-20.4,0l-28.02,28H70.52z M167.08,75.41l-28.03-28v76.51l28.06-28.06c5.66-5.58,5.73-14.68,0.15-20.34l-0.12-0.12z'/></svg>");


}
#simplecheckout_shipping label[for="novaposhta.poshtomat"]::after {
    background-image: url(../image/shipping/poshtomat.png) }

@media (min-width: 1280px) {
    .row-shipping_address_address_1 label[for="shipping_address_address_1"] { padding-top: 0 !important;
        line-height: 18px;
    }

    #simplecheckout_form_0 .simplecheckout-right-column {display: flex; flex-wrap: wrap; gap: 1em }
    .simplecheckout-right-column #simplecheckout_shipping {max-width:63% }
    .simplecheckout-right-column #simplecheckout_payment {max-width:35% }
    #simplecheckout_shipping .simplecheckout-block-content {display: flex; flex-wrap: wrap; }

    #simplecheckout_shipping .simplecheckout-block-content > div {flex-basis: 50%;width: 50%; margin-top: 0 !important; }
    #simplecheckout_form_0 #simplecheckout_comment {width: 100%}
}


#simplecheckout_cart .quantity button[data-onclick="removeProduct"] {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

#simplecheckout_cart .quantity button[data-onclick="removeProduct"]:hover {
    background-color: #5a6268;
    border-color: #545b62;
}


@media (max-width:380px) {
    body.checkout-checkout.mobile-layout #cart_view .qc-checkout-product.panel-body .qc-quantity input {
        max-width: 80%;
    }


    body.checkout-checkout.mobile-layout #cart_view .qc-checkout-product.panel-body {
        padding: 0;
        border: 1px solid;
    }
    body.checkout-checkout.mobile-layout #cart_view .qc-checkout-product.panel-body .qc-totals {padding: 5px}
}

@media (min-height: 768px) {
    #shipping_method_list  {column-count: 2}
    #d_quickcheckout .checkbox, #d_quickcheckout .radio {margin-top: 0}
}


/* filters */
/* фильтры в столбики */
.gp-ocfilter-col2 div.ocf-option-values,
.gp-ocfilter-col3 div.ocf-option-values,
#option-10120.list-group-item div.ocf-option-values, #option-10067.list-group-item div.ocf-option-values,
#option-10121.list-group-item div.ocf-option-values {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}
.gp-ocfilter-col2 div.ocf-option-values > label,
#option-10120.list-group-item div.ocf-option-values > label,
#option-10067.list-group-item div.ocf-option-values > label,
#option-10121.list-group-item div.ocf-option-values > label {flex-basis: 50%;}

.gp-ocfilter-col3 div.ocf-option-values > label {flex-basis: 30%;}


/*vendors*/

body.product-manufacturer #content {}
body.product-manufacturer #content h2 {margin-bottom:5px;}
body.product-manufacturer #content > div.row {margin-bottom:25px;}


/* TABLES GP*/
/*.product-info-details-more .tab-content #tab-description table {background-color: #ececec} */
.product-info-details-more .tab-content #tab-description table td ul {margin-left:20px;}

body.plaza-blog-post table {width: 100%;}
body.plaza-blog-post table td {border: 1px solid #c0c0c0;padding:2px 5px}
body.plaza-blog-post table tr:first-child {text-align: center;background-color: #fafafa}



/*checkout*/

@keyframes gp-product-warning-pulse {
    0%, 91%, 100% {
        opacity: 1;
    }
    93% {
        opacity: 0.35;
    }
    95% {
        opacity: 1;
    }
}


#simplecheckout_cart  .alert-danger.simplecheckout-warning-block {
    line-height: 16px;
    background-color: #FBE467 !important;
}

table.simplecheckout-cart  td.name a {line-height: 18px;
    display: block;}
table.simplecheckout-cart td span.product-warning {
    line-height: 16px;
    background-color: #FBE467 !important;
    display: inline-block;
    animation: gp-product-warning-pulse 3s linear infinite;
}

table.simplecheckout-cart td.quantity .btn {padding: 10px !important;  }
@media (max-width: 767px) {
    table.simplecheckout-cart td.quantity .btn-danger {padding: 10px}
}

.gp-checkout-success-order {
    margin: 0 0 20px;
    padding: 16px 20px;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    background-color: #f4fbf6;
    text-align: center;
}

.gp-checkout-success-order__label {
    margin: 0 0 6px;
    font-size: 14px;
    color: #555;
}

.gp-checkout-success-order__number {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #1faf19;
}



.ajax-result-container .product-thumb .product-item .caption h4 a {font-size: 12px;line-height: 16px;text-transform: none}