﻿
:root {
    --category-border-color: #A4D4B4;
    --category-border-width: 1px;
    --mobile-menu-item-height: 34px;
}

body {
    font-family: Inter,Open Sans,sans-serif;
    color: #555;
    line-height: 22px;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
    width: auto\9; /* ie8 */
}

h2 {
    font-size: 20px;
}

.lead {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}


.btn-c4f {
    padding: 5px;
    border: none;
    border-radius: 7px;
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 1.3px;
    background-color: #fbfbfb;
    color: #555;
    margin-top: 5px;
    box-shadow: 2px 2px 5px -1px #4c4c4c;
    cursor: pointer;
    min-width: 80px;
    margin-left: 10px;
    margin-right: 10px;
}

.btn-c4f:hover {
    box-shadow: 2px 2px 5px 1px #4c4c4c;
}

 .btn-c4f[disabled] {
        box-shadow: none;
        background-color: lightgray;
  }

.btn-ok {
        background-color: #214E34;
        color: #fff;
}

.buy-button {
    padding: 5px;
    border: none;
    border-radius: 7px;
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 1.3px;
    color: #fff;
    background-color: #FF7F50;
    box-shadow: 2px 2px 5px -1px #4c4c4c;
    cursor: pointer;
}

    .buy-button:hover {
        box-shadow: 2px 2px 5px 1px #4c4c4c;
        cursor: pointer;
    }

    .buy-button:disabled {
        box-shadow: 0px 0px 0px;
        background-color: #cccccc;
    }

.buy-button-basket {
    margin-top: 5px;
    background-color: #214E34;
}



.section-edit {
    padding: 20px;
    display: flex;
    justify-content: flex-end;
    background-color: #e7eae9;
    min-height: 20px;
}

.section-edit.hidden
    {
        display: none;
    }

.top_nav_bar {
    display: flex;
    align-items: center;
    padding-left: 40px;
    border-bottom: #A4D4B4 4px solid;
    padding-bottom: 5px;
    position: relative;
}


.top_nav_logo a:visited, .mobile-bar-center a:visited {
    text-decoration: none;
}




.top_nav_links {
    display: flex;
    flex: 1 1 auto;
    width: auto;
    flex-direction: row-reverse;
    align-items: center;
    min-width: 0;
}

    .top_nav_links > div:first-child {
        margin-left: auto;
        flex-shrink: 0;
    }

.layout-heb .top_nav_links > div:first-child {
    margin-left: 0;
    margin-right: auto;
}

.top_nav_logo {
    margin-right: 22px;
}

.layout-heb .top_nav_logo {
    margin-left: 22px;
    margin-right: 0;
}


.top_nav_item {
    font-size: 13px;
    font-weight: 600;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
    cursor: pointer;
    line-height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90%;
    z-index: 100;
}

    .top_nav_item:hover {
        background-color: #fafaf9;
    }



.top_nav_submenu {
    position: absolute;
    background-color: #fafaf9;
    display: none;
    /*display: block;*/
    z-index: 1;
}



.top_nav_submenu_shop {
    border: none;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: 0 2px 7px #00000026, 0 5px 17px #0003;
    padding: 16px;
    height: 260px;
    position: absolute;
    top: calc(100% - 38px);
    left: 40px;
    width: 900px;
    margin: 0;
    z-index: 1000;
    background-color: #fafaf9;
}



.layout-heb .top_nav_submenu_shop {
    left: auto;
    right: 40px;
}

.top_nav_item_shop:hover .top_nav_submenu_shop {
    display: block;
}



.top-level-categories
{
    display: inline-block;
}

.top-level-category {
    display: flex;
    margin-top: 4px;
    height: 48px;
}



.top-level-category-image {
        width: 36px;
        border-left: var(--category-border-width) solid var(--category-border-color);
        border-top: var(--category-border-width) solid var(--category-border-color);
        border-bottom: var(--category-border-width) solid var(--category-border-color);
        background-image: url("../myimages/category_dogs.png");
        background-repeat: no-repeat;
        background-position: center;
}

.layout-heb .top-level-category-image {
    border-left: none;
    border-right: var(--category-border-width) solid var(--category-border-color);
}

.top-level-category-caption {
    width: 160px;
    border-top: var(--category-border-width) solid var(--category-border-color);
    border-bottom: var(--category-border-width) solid var(--category-border-color);
    border-right: var(--category-border-width) solid var(--category-border-color);
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
}

.layout-heb .top-level-category-caption {
    border-left: var(--category-border-width) solid var(--category-border-color);
    border-right: none;
}

.top-level-category-arrow {
    width: 32px;
    height: 32px;
    transition: .5s;
    box-shadow: -2px 2px 0 var(--category-border-color);
    transform: rotate(-135deg);
    position: relative;
    left: -18px;
    top: 8px;
    background-color: #fef7ec;
    display: none;
}





.top-level-category-active .top-level-category-arrow {
    display: block;
    background-color: #DCEEDD;
}

.layout-heb .top-level-category-arrow {
    transform: rotate(45deg);
    left: 18px;
    box-shadow: -2px 2px 0 var(--category-border-color);
}



.top-level-category-active .top-level-category-caption {
    border-right: none;
    background-color: #DCEEDD;
}

.layout-heb .top-level-category-active .top-level-category-caption {
    border-left: none;
}


.top-level-category-active .top-level-category-image {
    background-color: #DCEEDD;
}

.top-level-category-active .top-menu-large {
    display: flex;
}

.top-level-category-active-empty {
    background-color: #dfd0bb;
    text-decoration: underline;
}




.top-level-category-image-dogs {
    background-image: url("../myimages/category_dogs1.png");
}

.top-level-category-image-cats {
    background-image: url("../myimages/category_cats1.png");
}


.top-menu-large {
    
    
    left: 245px;
    border: 2px solid var(--category-border-color);
    border-radius: 20px;
    box-shadow: 0 0 3px 0px gray;
    padding: 10px;
    position: absolute;
    display: none;
}

.layout-heb .top-menu-large {
    left: unset;
    right: 245px;
}



.top-menu-large-column
{
    display: inline-flex;
    flex-direction: column;
    padding-right: 20px;
}

.top-menu-large-column-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 6px;
}

.top-menu-cell {
    font-weight: 500;
    padding-top: 6px;
    color: #555;
}

    .top-menu-cell a {
        color: #555;
    }

.top-menu-large-column-header-cell {
    height: 32px;
    color: #555;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-menu-large-column a, .top-menu-large-column a:visited, .top-menu-cell a:visited {
    text-decoration: none;
}



.top-menu-cell:hover a {
    color: #3f1a10;
    text-decoration: underline;
}

.top-menu-large-column-header-cell:hover {
    color: #3f1a10;
    font-weight: 600;
}

.top-menu-large-column-header-cell:hover a{
    text-decoration: none;
}

.top-menu-large-column-separator {
    border-left: 1px dashed var(--category-border-color);
    
}

.menu-edit {
    color: #FF7F50;
}

.menu-edit-hidden {
    display: none;
}



.top-banner {
    min-height: 175px;
    background-image: url('../myimages/bck.jpg');
    background-position: center;
    background-repeat: repeat-x;
}


.mobile-bar {
    display: none;
    justify-content: space-between;
    
}

.mobile-bar-cell {
    min-width: 48px;
    height: 64px;
    /*border: 1px solid black;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mobile-bar-center {
    color: #ca2222;
    font-weight: 600;

}

.mobile-bar-left
{
    font-weight:600;
    font-size: 32px;
    cursor: pointer;
    padding-left: 15px;
}

.mobile-bar-right {
    text-align: right;
}


.prod-price-a {
    color: #ff3f40;
    padding: 5px;
    width: 100%;
    text-align: center;
}

.price-current {
    font-size: 14px;
    font-weight: 700;
}

    .price-current.nodiscount {
        color: #4c4c4c;
    }

.yousave {
    color: #ff3f40;
    font-weight: 700;
}

.strikethrough:before {
    border-top-color: #ff3f40;
}

.top-caption-div {
    background-color: #e7eae9;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-left: 20px;
    padding-right: 20px;
    border-bottom: #A4D4B4 4px solid;
}




@media (max-width:600px) {
    .mobile-bar {
        display: flex;
    }

    .top_nav_bar
    {
        display: none;
    }



}

@media (min-width:600px) {

    .buy-button {
        min-width: 75px;
    }
}


.mobile-menu-section {
    position: absolute;
    width: 100%;
    display: none;
    justify-content: space-around;
    z-index: 1000;
}

    .mobile-menu-section.active {
        transform: translateY(0);
        display: inline-flex;
    }

.mobile-menu {
    display: flex;
    flex-direction: column;
    width: 90%;
    background-color: #fafaf9;
    padding: 20px;
    border-radius: 12px;
    color: #555;
    border: 2px solid var(--category-border-color);
}


.mobile-menu-close-row {
    display: flex;
    height: var(--mobile-menu-item-height);
    justify-content:flex-end;
}

.mobile-menu-close-button {
    cursor: pointer;
    width: 36px;
    height: 36px;
    background-image: url("../myimages/close.png");
    background-position: center;
}

.mobile-menu-category {
    display: flex;
    flex-direction: column;
}

.mobile_menu_level_2 {
    display: flex;
    flex-direction: column;
}

.mobile-menu-category-header {
    height: var(--mobile-menu-item-height);
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
 
}


.mobile-menu-category .mobile-menu-category .mobile-menu-category-header {
    /*background-color: #dfd0bb;*/
}



.mobile-menu-category-header-image {
    text-align: right;
    padding-left: 10px;
    /* padding-right: 2px; */
    /* width: 16px; */
    height: 10px;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 8px;
    margin-left: 8px;
}



.mobile-menu .top-menu-large-column {
    padding-left: 50px;
    padding-bottom: 20px;
    padding-top: 10px;
    font-size: 16px;
    cursor: pointer;
}

.mobile-menu .top-menu-large-column-header {
    justify-content: initial;
    position: relative;
    left: -38px;
}

.mobile-menu .top-menu-cell {
    padding-bottom: 6px;
    padding-top: 6px;
}

    .mobile-menu .top-menu-cell:hover {
        text-decoration: underline;
        font-weight: 600;
        background-color: #eeeeee;
    }

.mobile_menu_level_1 {
    display: none;
    padding-left: 20px;
}

.mobile_menu_level_0.active .mobile_menu_level_1 {
    display: inherit;
}

.mobile_menu_level_2 {
    display: none;
    padding-left: 20px;
}

.mobile_menu_level_1.active .mobile_menu_level_2 {
    display: inherit;
}

.mobile-menu-category-header-image {
    background-image: url("../myimages/menuopen.png");
}

    .mobile-menu-category-header-image.open {
        background-image: url("../myimages/menuclose.png");
    }


.topInfoOuter
{
    display: flex;
}

.topInfoInner {
    display: flex;
}

.top_member_info {
    display: flex;
    line-height: 14px;
}

.welcome_info {
    font-size: 12px;
    font-weight: 400;
    color: #000;
    margin-left: 4px;
    margin-right: 8px;
}

.welcome_info a{
    font-size: 12px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

    .welcome_info a:visited
    {
        text-decoration: none;
    }

    .welcome_info a:hover
    {
        text-decoration: underline;
    }

    .div_icon {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

.divLangButtons {
    margin-left: 12px;
}

.basket_icon {
    margin-left: 12px;
}

.spanRequired {
    color: #ca1ec2;
    font-weight: 700;
}

.strikethrough {
    position: relative;
    color: #808080;
}

    .strikethrough:before {
        position: absolute;
        content: "";
        /*width: 170%;*/
        /*left: -35%;*/
        left: 0;
        top: 50%;
        right: 0;
        border-top: 2px solid white;
        /*border-color: inherit;*/
        -webkit-transform: rotate(-20deg);
        -moz-transform: rotate(-20deg);
        -ms-transform: rotate(-20deg);
        -o-transform: rotate(-20deg);
        transform: rotate(-20deg);
    }

.priceinfo .strikethrough {
    font-weight: 400;
}

    .priceinfo .strikethrough:before {
        border-top-color: red;
    }


/* RTL tweaks (Hebrew pages) */
html[dir="rtl"] .top_nav_bar {
    padding-right: 20px;
    padding-left: 20px;
    box-sizing: border-box;
}

html[dir="rtl"] .top_nav_logo {
    margin-right: 10px; /* небольшой отступ от правого края */
}

.topInfoMobile {
    display: none;
}

.mobile-bar-right .topInfoMobile {
    display: block;
    width: 100%;
}

.topInfoMobileInner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
    min-height: 40px;
}

.topInfoMobileMember {
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 14px;
}

.mobile-signin-link,
.mobile-signout-link {
    color: #555;
    text-decoration: none;
    font-weight: 600;
}

.topInfoMobileBasket img {
    width: 26px;
    height: auto;
}


.top_user_menu {
    position: relative;
    display: flex;
    align-items: center;
}

.top_user_trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.top_user_dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    padding: 14px 14px 10px 14px;
    z-index: 9999;
}

    .top_user_dropdown:before {
        content: "";
        position: absolute;
        top: -7px;
        right: 32px;
        width: 14px;
        height: 14px;
        background: #fff;
        border-top: 1px solid #e5e5e5;
        border-left: 1px solid #e5e5e5;
        transform: rotate(45deg);
    }

.top_user_menu_section {
    margin-bottom: 10px;
}

.top_user_big_action {
    display: block;
    width: 100%;
    background: #111;
    color: #fff !important;
    text-align: center;
    border-radius: 999px;
    padding: 14px 16px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

    .top_user_big_action:hover {
        text-decoration: none;
        color: #fff !important;
    }

.top_user_welcome_back {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}

.top_user_signout_small {
    display: inline-block;
    color: #777 !important;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 10px;
}

.top_user_menu_links {
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.top_user_menu_item {
    display: block;
    padding: 10px 0;
    color: #222 !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

    .top_user_menu_item:hover {
        text-decoration: none;
    }

.mobile_user_menu {
    position: relative;
}

.top_user_dropdown_mobile {
    right: 0;
    min-width: 280px;
}


.top_user_admin_section {
    border-top: 1px solid #eee;
    margin-top: 6px;
    padding-top: 8px;
}

.top_user_menu_item_parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top_user_menu_arrow {
    font-size: 11px;
    transition: transform .2s ease;
}

.top_user_menu_item_parent.open .top_user_menu_arrow {
    transform: rotate(180deg);
}

.top_user_submenu {
    padding-top: 4px;
    padding-left: 14px;
}

.top_user_submenu_item {
    font-size: 15px;
    padding-top: 8px;
    padding-bottom: 8px;
}

html[dir="rtl"] .top_user_submenu {
    padding-left: 0;
    padding-right: 14px;
}



.topInfoMobileInner {
    gap: 14px;
}

.welcome_text_mobile {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    line-height: 14px;
}

.mobile_user_trigger {
    cursor: pointer;
}

.mobile-signout-link {
    display: none;
}

@media (max-width: 991px) {
    .top_user_dropdown {
        position: fixed;
        top: 56px;
        right: 10px;
        left: 10px;
        min-width: auto;
        border-radius: 22px;
    }

        .top_user_dropdown:before {
            right: 120px;
        }
}

html[dir="rtl"] .top_user_dropdown {
    right: auto;
    left: 0;
    text-align: right;
}

    html[dir="rtl"] .top_user_dropdown:before {
        right: auto;
        left: 32px;
    }

html[dir="rtl"] .top_user_dropdown_mobile {
    right: 10px;
    left: 10px;
}

html[dir="rtl"] .top_user_menu_item,
html[dir="rtl"] .top_user_signout_small,
html[dir="rtl"] .top_user_welcome_back {
    text-align: right;
}

.top_user_auth_head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
}

.top_user_auth_icon {
    flex: 0 0 64px;
    width: 64px;
}

    .top_user_auth_icon img {
        display: block;
        width: 64px;
        height: 64px;
        min-width: 64px;
        min-height: 64px;
        max-width: 64px;
        max-height: 64px;
        object-fit: cover;
        border-radius: 50%;
    }

.top_user_auth_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 64px;
    min-width: 0;
    flex: 1 1 auto;
}

.top_user_welcome_back {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top_user_signout_small {
    display: inline-block;
    color: #3b63ff !important;
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 0;
}

.top_user_menu_links {
    border-top: 1px solid #eee;
    padding-top: 12px;
}

.top_user_menu_item {
    display: block;
    padding: 12px 0;
    color: #222 !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

html[dir="rtl"] .top_user_auth_head {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .top_user_auth_text,
html[dir="rtl"] .top_user_welcome_back,
html[dir="rtl"] .top_user_signout_small,
html[dir="rtl"] .top_user_menu_item {
    text-align: right;
}


.app-dialog .modal-dialog {
    width: 92%;
    max-width: 520px;
    margin: 30px auto;
}

.app-dialog .modal-content {
    border: none;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    background: #ffffff;
}

.app-dialog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 12px 24px;
    border-bottom: 1px solid #eef2ee;
}

.app-dialog__title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.app-dialog__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    background: #edf6ef;
    position: relative;
}

.app-dialog__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #214E34;
}

.app-dialog__close {
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #7a877f;
    padding: 0;
    box-shadow: none;
}

    .app-dialog__close:hover {
        color: #214E34;
    }

.app-dialog__body {
    padding: 10px 24px 6px 24px;
}

.app-dialog__message {
    font-size: 16px;
    line-height: 1.7;
    color: #33413a;
}

.app-dialog__footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 24px 24px 24px;
    border-top: 1px solid #eef2ee;
}

.app-dialog__btn {
    min-width: 120px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    box-shadow: none;
    margin: 0;
}

    .app-dialog__btn:hover {
        box-shadow: none;
    }

.app-dialog__btn-secondary {
    background: #f4f7f5;
    color: #214E34;
}

    .app-dialog__btn-secondary:hover {
        background: #eaf1ec;
    }

.app-dialog--info .app-dialog__icon {
    background: linear-gradient(135deg, #edf8f0 0%, #d9efdf 100%);
}

    .app-dialog--info .app-dialog__icon:before {
        content: "i";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -54%);
        font-size: 24px;
        font-weight: 800;
        color: #214E34;
    }

.app-dialog--confirm .app-dialog__icon {
    background: linear-gradient(135deg, #fff4e6 0%, #ffe3bf 100%);
}

    .app-dialog--confirm .app-dialog__icon:before {
        content: "?";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -54%);
        font-size: 24px;
        font-weight: 800;
        color: #c97a16;
    }

.app-dialog--confirm .app-dialog__title {
    color: #9a6117;
}

.app-dialog--error .app-dialog__icon {
    background: linear-gradient(135deg, #fdeeee 0%, #f9d4d4 100%);
}

    .app-dialog--error .app-dialog__icon:before {
        content: "!";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -54%);
        font-size: 24px;
        font-weight: 800;
        color: #c13d3d;
    }

.app-dialog--error .app-dialog__title {
    color: #b83232;
}

.app-dialog--error .app-dialog__message {
    color: #5f2b2b;
}

.layout-heb .app-dialog__header,
.layout-heb .app-dialog__body,
.layout-heb .app-dialog__footer {
    direction: rtl;
    text-align: right;
}

.layout-heb .app-dialog__title-wrap {
    flex-direction: row-reverse;
}

.layout-heb .app-dialog__footer {
    justify-content: flex-start;
}

@media (max-width: 767px) {
    .app-dialog .modal-dialog {
        width: calc(100% - 24px);
        margin: 20px auto;
    }

    .app-dialog__header,
    .app-dialog__body,
    .app-dialog__footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .app-dialog__footer {
        flex-direction: column-reverse;
    }

    .app-dialog__btn {
        width: 100%;
    }

    .app-dialog__title {
        font-size: 20px;
    }
}


@media (min-width: 992px) {
    .topInfoMobile {
        display: none !important;
    }
}


