@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

:root {
    --text-color: #1c274c;
    --color1: #e41d5e;
    --color2: #272a2b;
    --color3: #171717;
    --color4: #f1f5f9;
    --color5: #00ab3a;

    --border-radius: 20px;
    --margin-top: 30px;
    --padding: 20px;
    --gap: 20px;

    --font-family: 'Montserrat', sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
}

@media (min-width: 768px) {
    :root {
        --margin-top: 40px;
        --padding: 30px;
    }
}

*, ol, ul {
    padding: 0;
    margin: 0;
    outline: none;
    box-sizing: border-box;
}

section.mt {
    margin-top: 30px;
}

@media (min-width: 768px) {
    section.mt {
        margin-top: 40px;
    }
}

a {
    text-decoration: none;
}

h1.cat {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: var(--font-weight-bold)
}

h2 {
    font-size: 20px;
    font-weight: 400;
}

.page {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 20px;
}

.page ul, .page ol {
    padding-left: 30px;
    padding-bottom: 20px;
}


@media (min-width: 768px) {
    .page {
        padding: 40px;
    }
}

h2.cat-name {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    margin: 20px 0 0 0;
}

@media (min-width: 768px) {
    h1.cat {
        font-size: 24px;
    }

    h2.cat-name {
        font-size: 20px;
    }
}

body {
    background-color: var(--color4);
    min-height: 100vh;
    position: relative;
    padding-bottom: 715px;
    color: var(--text-color) !important;
    font-family: var(--font-family);
    font-weight: var(--font-weight-regular);
}

@media (min-width: 768px) {
    body {
        padding-bottom: 430px;
    }
}

@media (min-width: 992px) {
    body {
        padding-bottom: 360px;
    }
}

img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

.breadcrumb {
    padding: 10px 0;
    margin: 10px 0 0 0;
    font-size: 14px;
}

.breadcrumb-item > a {
    text-decoration: none;
    color: #9e9e9e;
    transition: .3s;
}

.breadcrumb-item.active {
    color: #9e9e9e;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #9e9e9e;
}

.breadcrumb-item > a:hover {
    color: var(--color1);
}

@media (max-width: 991px) {
    .breadcrumb {
        display: flex;
        flex-wrap: nowrap;
        overflow: auto;
        scrollbar-width: none; /*mozilla*/
    }

    .breadcrumb::-webkit-scrollbar {
        display: none; /*chrome*/
    }

    .breadcrumb-item {
        display: flex;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .breadcrumb-item > a {
        background-color: #fff;
        padding: 2px 8px;
        border-radius: 8px;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        content: '';
        background-image: url('/img/svg/arrow-right.svg');
        width: 26px;
        height: 8px;
        background-size: 16px 16px;
        background-repeat: no-repeat;
        background-position: center;
        transform: translateY(8px);
    }

    .breadcrumb-item + .breadcrumb-item {
        padding-left: 0;
    }

    .breadcrumb-item.active {
        display: none;
    }

    .breadcrumb-item > a {
        color: var(--text-color);
    }
}

/*.all-content {*/
/*    padding-bottom: 20px;*/
/*}*/

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
}

@media (min-width: 768px) {

    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
        gap: 20px;
    }
}

.short-item__right-box {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    gap: 5px;
    align-items: center;
}

.short-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    transition: .3s;
    position: relative;
    padding: 0 0 115px 0;
}

.stiker {
    position: absolute;
    left: 10px;
    top: 10px;
    opacity: .8;
}

.stiker__item {
    color: #fff;
    border-radius: 8px;
    padding: 3px 10px;
    font-size: 14px;
}

.short-item img {
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    border-radius: 18px 18px 0 0;
    width: 100%;
}

@media (min-width: 768px) {
    .short-item {
        display: block;
        position: relative;
        gap: 20px;
        padding: 0 0 125px 0;
    }

    .short-item:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, .04), 0 1px 20px rgba(0, 0, 0, .08);
    }
}

.short-item.active {
    /*border: 2px solid var(--color5);*/
}

.short-item__ves {
    color: #9e9e9e;
    font-size: 14px;
}

.short-item__name {
    font-size: 14px;
    color: var(--text-color);
    margin-top: 10px;
    padding: 0 10px;
    word-wrap: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* number of lines to show */
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media (min-width: 768px) {
    .short-item__name {
        margin-top: 20px;
        padding: 0 20px;
        font-size: 16px;
    }
}

.short-item__price {
    font-size: 16px;
    color: var(--text-color);
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    font-weight: var(--font-weight-bold);
}

.short-item__price.active {
    color: var(--color1);
}

.short-item__price__sale {
    color: #9e9e9e;
    line-height: 20px;
    font-weight: var(--font-weight-bold);
    font-size: 16px;
}

@media (min-width: 768px) {
    .short-item__price {
        font-size: 18px;
    }
}

.flycart {
    display: none;
}

.flycart__title {
    padding: 20px;
    font-size: 18px;
    background-color: var(--color2);
    width: 100%;
    border-radius: 10px 10px 0 0;
}

#flycart__body {
    padding: 20px;
    background-color: var(--color3);
    border-radius: 0 0 10px 10px;
}

@media (min-width: 992px) {
    .flycart {
        display: block;
    }
}

.bottom-cart {
    position: fixed;
    left: 0;
    bottom: -60px;
    width: 100%;
    transition: .3s;
}

.bottom-cart.active {
    bottom: 0;
}

.bottom-cart__bg {
    background-color: var(--color2);
    padding: 5px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    border-top: 1px solid #1d1d1d;
}

.bottom-cart__btn {
    padding: 7px 20px;
    border-radius: 10px;
    background-color: var(--color1);
    cursor: pointer;
}

.bottom-cart__btn:hover {
    color: #fff;
}

.bottom-cart__summa {
    background-color: var(--color3);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff
}

.bottom-cart__summa span.count {
    background-color: var(--color1);
    border-radius: 5px;
    font-size: 14px;
    line-height: 14px;
    width: 26px;
    height: 26px;
    right: -10px;
    top: -3px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-cart__summa span.count img {
    width: 16px;
}

.bottom-cart__summa span.summa {
    line-height: 20px !important;
}

.bottom-cart__summa span.summa img {
    width: 20px;
}

a.bottom-cart__confirm {
    color: #fff;
}

@media (min-width: 992px) {
    .bottom-cart {
        display: none;
    }
}

.short-item__bottom {
    position: absolute;
    left: 0;
    bottom: 10px;
    padding: 0 10px;
    width: 100%;
}

@media (min-width: 768px) {
    .short-item__bottom {
        bottom: 20px;
        padding: 0 20px;
    }
}

.owl-carousel .short-item {
    height: 100%;
}

.full-cart__item__price-box .plus-minus-box {
    margin-top: 10px;
}

.full-card__grid .plus-minus-box {
    max-width: 130px;
    margin: 5px 0 0 auto;
}

.plus-minus-box {
    align-items: center;
    gap: 5px;
    background-color: #F1F5F9;
    border-radius: 10px;
    color: var(--text-color);
    width: 100%;
    display: none;
    grid-template-columns: 40px 1fr 40px;
    text-align: center;
}

.plus-minus-box.active {
    display: grid;
}

@media (min-width: 768px) {
    .plus-minus-box {
        gap: 10px;
    }
}

.item-input {
    font-size: 16px;
    line-height: 10px;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
}

@media (min-width: 768px) {
    .item-input {
        font-size: 18px;
    }
}

.plus-minus-box .minus-item {
    display: flex;
}

.plus-minus-box .item-input {
    font-weight: var(--font-weight-bold);
}

.minus-item, .plus-item {
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 10px;
    outline: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color5);
}

.plus-item img, .minus-item img {
    width: 15px;
}

@media (min-width: 768px) {
    .minus-item, .plus-item {
        width: 40px;
        height: 40px;
    }

    .plus-item img, .minus-item img {
        width: 14px;
    }

    .minus-item:hover, .plus-item:hover {
        background-color: var(--color5);
        opacity: .8;
    }
}

.short-item__bottom__price {
    display: flex;
    gap: 10px;
    align-items: baseline;
    margin-bottom: 10px;
}

.flycart__item {
    border-radius: 10px;
    background-color: #171717;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 10px;
}

.plus-item__buy {
    display: none;
    transition: .3s;
}

.plus-item__buy:hover {
    opacity: .8;
}

.full-card__grid .plus-item__buy, .full-card__grid .plus-item__buy.active {
    display: none;
}

.plus-item__buy.active {
    display: block;
    color: #fff;
    background-color: var(--color5);
    border-radius: 10px;
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
}

/*sticky*/
@media (max-width: 991px) {
    body {
        margin-top: 80px !important;
    }

    header {
        position: fixed !important;
        left: 0;
        top: 0;
        right: 0;
        z-index: 1010;
    }
}

@media (min-width: 992px) {
    .sticky {
        position: fixed !important;
        left: 0;
        top: -46px;
        right: 0;
        z-index: 1010;
    }
}

.footer {
    color: var(--text-color);
    background-color: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.footer__in {
    padding: 20px 0;
    display: grid;
    gap: 20px;
}

.footer__in ul {
    list-style: none;
    display: grid;
    gap: 5px;
}

.footer__in ul li a {
    color: var(--text-color);
    transition: .3s;
}

.footer__in ul li a:hover {
    color: var(--color1);
}

@media (min-width: 768px) {
    .footer__in {
        grid-template-columns: 1fr 1fr;
    }

    .footer__contact {
        grid-area: 2/2;
        grid-row: 1;
    }
}

@media (min-width: 992px) {
    .footer__in {
        padding: 40px 0;
        display: flex;
        justify-content: space-between;
    }

    .footer__contact {
        text-align: right;
    }
}

.footer__title {
    font-weight: var(--font-weight-bold);
    font-size: 18px;
    margin-bottom: 15px;
}

.footer .telegram, .footer .watsup {
    max-width: 38px;
}

.footer__massenger {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    align-items: center;
}

.footer a:hover {
    color: var(--text-color);
}

.footer__logo img {
    max-width: 100px;
}

.footer__phone {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
}

@media (min-width: 992px) {
    .footer__phone {
        font-size: 22px;
    }
}

.footer__btn {
    background-color: var(--color1);
    border-radius: 10px;
    color: #fff;
    padding: 8px 20px;
    transition: .3s;
    cursor: pointer;
    text-align: center;
}

.footer__btn:hover {
    opacity: .8;
}

.contact__title {
    font-size: 16px;
    margin-bottom: 15px;
}

.contact__text {
    font-weight: var(--font-weight-bold);
}

@media (min-width: 768px) {
    .contact__title {
        font-size: 18px;
    }
}

.contact__text a {
    color: var(--text-color);
    font-weight: var(--font-weight-bold);
}

.contact__map {
    margin-top: 30px;
}

.contact__map iframe {
    border-radius: 10px;
}

.owl-next-btn, .owl-prev-btn {
    position: absolute;
    top: calc(50% - 40px);
    right: 0;
    background-color: #fff;
    border: 1px solid var(--color5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 6px;
}

.owl-next-btn span, .owl-prev-btn span {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 26px;
    font-size: 49px;
}

.owl-next-btn, .owl-prev-btn {
    transition: .3s;
}

.owl-next-btn {
    right: -10px;
}

.owl-prev-btn {
    left: -10px;
}

.owl-prev-btn.disabled, .owl-next-btn.disabled {
    opacity: 0;
}

.header_account_in a {
    color: var(--text-color);
}

.header_account_in a:hover {
    color: var(--text-color);
}

.header_account_in {
    display: none;
}

.header_account_in.active {
    display: grid;
    gap: 10px;
    position: absolute;
    top: 67px;
    right: 0;
    width: calc(100% - 20px);
    margin: 10px;
    height: auto;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
    padding: 20px;
    z-index: 1;
}

.header_account_in__login {
    font-weight: var(--font-weight-bold);
    margin-bottom: 10px;
    font-size: 16px;
}

.header_account_in__favorit {
    font-weight: var(--font-weight-medium);
    display: flex;
    gap: 10px;
    align-items: center;
}

.header_account_in__favorit:hover img {
    transform: translateY(-2px);
}

.header_account_in__favorit img {
    width: 25px;
    transition: .3s;
    margin-right: 10px;
}

.header_account__icons img {
    height: 38px !important;
}

@media (min-width: 992px) {
    .header_account {
        position: relative;
    }

    .header_account_in.active {
        top: 50px;
        width: 300px;
        margin: 0;
    }
}

.btn-primary:hover {
    color: #fff;
    background-color: var(--color5);
    border-color: var(--color5);
    opacity: .8;
}

.btn {
    border-radius: 10px;
}

.btn-primary {
    color: #fff;
    background-color: var(--color5);
    border-color: var(--color5);

    transition: .3s;
}

.btn-check:checked + .btn-primary, :not(.btn-check) + .btn-primary:active, .btn-primary:first-child:active, .btn-primary.active, .btn-primary.show {
    color: #fff;
    background-color: var(--color5);
    border-color: var(--color5);
}

.btn.btn-secondary {
    background-color: var(--color4);
    color: var(--text-color);
    border-color: #c7c7c7;
}

.btn-lg {
    font-size: 18px;
    font-weight: var(--font-weight-medium);
}

.slider-main {
    margin: -14px auto 0 auto;
    max-width: 1296px;
}

@media (min-width: 992px) {
    .slider-main {
        margin: 0 auto;
    }

    .slider-main img {
        border-radius: var(--border-radius);
    }
}

.pvz__map iframe {
    border-radius: var(--border-radius);
}

.main_map {
    padding: 20px;
    background-color: #fff;
    border-radius: 20px;
    margin-top: 20px;
}

.main_map iframe {
    border-radius: 10px;
}

.lSAction > a {
    width: 40px !important;
    height: 40px !important;
    background-color: #fff;
    border: 1px solid var(--color5);
    border-radius: 50%;
    background-size: 30px 30px;
    opacity: 1 !important;
    background-repeat: no-repeat;
}

.lSAction > a.lSPrev {
    background-image: url("/img/svg/arrow-left.svg") !important;
    background-position: 3px 4px !important;
}

.lSAction > a.lSNext {
    background-image: url("/img/svg/arrow-right.svg") !important;
    background-position: 5px 4px !important;
}

.owl-carousel {
    margin-top: 20px;
}

.zabyli-parol {
    margin-bottom: 20px;
    cursor: pointer;
    transition: .3s;
}

.zabyli-parol:hover {
    color: var(--color1);
}

/*перемотка к якорю с учетом фиксированной шапки*/
.cat-name:before {
    display: block;
    content: " ";
    margin-top: -80px;
    height: 80px;
    visibility: hidden;
}

#reviews:before {
    display: block;
    content: " ";
    margin-top: -80px;
    height: 80px;
    visibility: hidden;
}

@media (min-width: 992px) {
    .cat-name:before {
        display: block;
        content: " ";
        margin-top: -140px;
        height: 140px;
        visibility: hidden;
    }

    #reviews:before {
        display: block;
        content: " ";
        margin-top: -130px;
        height: 130px;
        visibility: hidden;
    }
}

select#dynamicmodel-pol, select#dynamicmodel-payment_method {
    background-color: #F1F5F9;
    border: 1px solid #D8E7ED;
    border-radius: 10px;
}

.history {
    display: grid;
    grid-template-columns: 40px 1fr 1fr 1fr;
    gap: 10px;
}

.history__title {
    font-weight: bold;
}

a.history__box {
    display: grid;
    grid-template-columns: 40px 1fr 1fr 1fr;
    gap: 10px;
    background-color: #fff;
    border-radius: 10px;
    color: var(--text-color);
    padding: 5px 0;
}

.open-items__box-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.open-items__box-grid div:nth-child(even) {
    text-align: right;
}

.open-items__in {
    display: grid;
    grid-template-columns: 1fr 60px 60px;
    border-bottom: 1px solid var(--color4);
    padding: 10px 0;
    gap: 0 10px;
}

.open-items__in div:nth-child(3) {
    text-align: right;
}

.open-items .open-items__in:last-child {
    border: none;
}

.itogo {
    grid-column: 1 / -1;
    text-align: right;
}

@media (min-width: 768px) {
    a.history__box {
        padding: 10px;
    }

    .history {
        padding: 10px;
    }

    a.history__box:hover {
        background-color: #f1f5f9;
    }

    .open-items__in {
        display: grid;
        grid-template-columns: 1fr 100px 100px;
        gap: 10px;
    }

    .open-items__box-grid div:nth-child(even) {
        text-align: left;
    }
}

.payment_method__box {
    display: grid;
    grid-template-columns: 1fr 20px;
    align-items: center;
    margin-bottom: 20px;
}

.payment_method__box:last-child {
    margin-bottom: 0;
}

.payment_method__delete {
    cursor: pointer;
}

.abort_order {
    color: var(--color1);
    font-weight: 600;
    text-decoration: underline;
    margin-bottom: 10px;
    font-size: 14px;
    display: block;
}

.abort_order:hover {
    text-decoration: underline;
}