/*
 * Exilon mobile catalog drill-down for Codazon themes.
 *
 * Codazon keeps rendering the category URLs and content. This layer only
 * changes the mobile navigation state and presentation.
 */

.pd-mobile-menu-panel {
    display: none;
}

@media (max-width: 767px) {
    html.nav-before-open,
    html.nav-open,
    body.pd-mobile-menu-open {
        overflow: hidden !important;
    }

    .nav-before-open .page-wrapper,
    .nav-open .page-wrapper {
        left: 0 !important;
        transform: none !important;
    }

    .nav-sections {
        bottom: 0 !important;
        box-sizing: border-box;
        height: 100vh !important;
        height: 100dvh !important;
        left: -100% !important;
        margin: 0 !important;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        position: fixed !important;
        right: auto !important;
        top: 0 !important;
        transform: none !important;
        transition: left .25s ease !important;
        width: 100% !important;
        z-index: 1000;
        -webkit-overflow-scrolling: touch;
    }

    .nav-open .nav-sections {
        left: 0 !important;
    }

    .rtl-layout .nav-sections {
        left: auto !important;
        right: -100% !important;
        transition-property: right !important;
    }

    .nav-open .rtl-layout .nav-sections,
    .rtl-layout.nav-open .nav-sections {
        left: auto !important;
        right: 0 !important;
    }

    .pd-mobile-nav-header {
        align-items: center;
        background: #fff;
        border-bottom: 1px solid var(--pd-header-border, #e7e7e7);
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        min-height: 62px;
        padding: 8px 12px 8px 16px;
        position: sticky;
        top: 0;
        z-index: 20;
    }

    .pd-mobile-nav-brand {
        align-items: center;
        display: flex;
        min-width: 0;
    }

    .pd-mobile-nav-brand .logo {
        margin: 0;
        max-width: 165px;
    }

    .pd-mobile-nav-brand .logo img {
        display: block;
        max-height: 44px;
        width: auto;
    }

    .pd-mobile-nav-close,
    .pd-drilldown-close,
    .pd-drilldown-back,
    .pd-drilldown-next,
    .pd-drilldown-opener {
        appearance: none;
        box-shadow: none;
        font: inherit;
        text-transform: none;
        -webkit-appearance: none;
    }

    .pd-mobile-nav-close,
    .pd-drilldown-close {
        align-items: center;
        background: transparent;
        border: 0;
        border-radius: 50%;
        color: #323232;
        display: inline-flex;
        flex: 0 0 44px;
        height: 44px;
        justify-content: center;
        line-height: 1;
        margin: 0;
        padding: 0;
        width: 44px;
    }

    .pd-mobile-nav-close > span::before,
    .pd-drilldown-close > span::before {
        content: "\E977";
        display: inline-block;
        font: normal normal normal 18px/1 CodazonFont;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .pd-mobile-nav-close:hover,
    .pd-mobile-nav-close:focus,
    .pd-drilldown-close:hover,
    .pd-drilldown-close:focus {
        background: #f3f5f4;
        color: var(--pd-header-green, #00ae58);
    }

    .pd-drilldown-stage {
        background: #fff;
        bottom: 0;
        box-sizing: border-box;
        height: 100vh;
        height: 100dvh;
        left: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        position: fixed;
        right: 0;
        top: 0;
        transform: translateX(100%);
        transition: transform .25s ease, opacity .2s ease, visibility 0s linear .25s;
        visibility: hidden;
        width: 100%;
        z-index: 1100;
    }

    .pd-drilldown-stage.pd-is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
        transition-delay: 0s;
        visibility: visible;
    }

    .pd-drilldown-panel,
    .cdz-menu .pd-drilldown-panel,
    .cdz-menu .groupmenu-drop.pd-drilldown-panel {
        background: #fff !important;
        bottom: 0;
        box-shadow: none !important;
        box-sizing: border-box;
        display: block !important;
        height: 100%;
        left: 0;
        list-style: none;
        margin: 0 !important;
        opacity: 1 !important;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 0 0 28px !important;
        pointer-events: none;
        position: absolute !important;
        right: 0;
        top: 0;
        transform: translateX(100%);
        transition: transform .25s ease, visibility 0s linear .25s;
        visibility: hidden;
        width: 100% !important;
        z-index: 1;
        -webkit-overflow-scrolling: touch;
    }

    .pd-drilldown-panel.pd-is-current {
        pointer-events: auto;
        transform: translateX(0);
        transition-delay: 0s;
        visibility: visible;
        z-index: 3;
    }

    .pd-drilldown-panel.pd-is-ancestor {
        transform: translateX(-28%);
        transition-delay: 0s;
        visibility: visible;
        z-index: 2;
    }

    .pd-drilldown-panel-header {
        align-items: center;
        background: #fff;
        border-bottom: 1px solid var(--pd-header-border, #e7e7e7);
        box-sizing: border-box;
        display: grid !important;
        grid-template-columns: minmax(44px, 1fr) minmax(0, 2fr) 44px;
        list-style: none;
        margin: 0 !important;
        min-height: 62px;
        padding: 8px 8px 8px 4px !important;
        position: sticky !important;
        top: 0;
        z-index: 12;
    }

    .pd-drilldown-back {
        align-items: center;
        align-self: stretch;
        background: transparent;
        border: 0;
        color: #323232;
        display: inline-flex;
        gap: 7px;
        justify-self: start;
        margin: 0;
        min-height: 44px;
        min-width: 44px;
        padding: 0 8px;
        text-align: left;
    }

    .pd-drilldown-back:hover,
    .pd-drilldown-back:focus {
        color: var(--pd-header-green, #00ae58);
    }

    .pd-drilldown-back-icon {
        display: inline-flex;
        line-height: 1;
    }

    .pd-drilldown-back-icon::before {
        content: "\f104";
        display: inline-block;
        font: normal normal normal 22px/1 FontAwesome;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .pd-drilldown-back-label {
        font-size: 13px;
        font-weight: 500;
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pd-drilldown-title {
        color: #1c1c1c;
        font-size: 17px;
        font-weight: 600;
        line-height: 1.25;
        min-width: 0;
        overflow: hidden;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pd-drilldown-next,
    .cdz-menu .pd-drilldown-next {
        align-items: center;
        background: #fff;
        border: 0;
        border-bottom: 1px solid #ededed;
        border-radius: 0;
        color: #323232;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        margin: 0;
        min-height: 52px;
        padding: 4px 12px 4px 16px;
        text-align: left;
        width: 100%;
    }

    .pd-drilldown-next:hover,
    .pd-drilldown-next:focus {
        background: #f7faf8;
        color: var(--pd-header-green, #00ae58);
    }

    .pd-drilldown-next-content {
        align-items: center;
        display: flex;
        flex: 1 1 auto;
        font-size: 15px;
        font-weight: 500;
        gap: 10px;
        min-width: 0;
    }

    .pd-drilldown-next-content .menu-icon {
        flex: 0 0 auto;
    }

    .pd-drilldown-next-icon {
        align-items: center;
        display: inline-flex;
        flex: 0 0 44px;
        height: 44px;
        justify-content: center;
    }

    .pd-drilldown-next-icon::before {
        content: "\f105";
        display: inline-block;
        font: normal normal normal 27px/1 FontAwesome;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .rtl-layout .pd-drilldown-back-icon::before {
        content: "\f105";
    }

    .rtl-layout .pd-drilldown-next-icon::before {
        content: "\f104";
    }

    .pd-drilldown-panel > li.item {
        box-sizing: border-box;
        display: block;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        width: 100%;
    }

    .pd-drilldown-panel > li.item > a:not(.pd-drilldown-view-all),
    .pd-drilldown-panel .groupdrop-link > li.item > a {
        align-items: center;
        background: #fff;
        border-bottom: 1px solid #ededed;
        box-sizing: border-box;
        color: #323232;
        display: flex;
        font-size: 15px;
        font-weight: 500;
        min-height: 52px;
        padding: 10px 60px 10px 16px;
        width: 100%;
    }

    .pd-drilldown-view-all,
    .cdz-menu a.pd-drilldown-view-all {
        align-items: center;
        background: #f1f8f4;
        border: 1px solid rgba(0, 174, 88, .24);
        border-radius: 10px;
        box-sizing: border-box;
        color: var(--pd-header-green, #00ae58) !important;
        display: flex !important;
        font-size: 15px;
        font-weight: 600;
        justify-content: center;
        margin: 18px 16px 0 !important;
        min-height: 48px;
        padding: 10px 16px !important;
        text-align: center;
        width: calc(100% - 32px) !important;
    }

    .pd-drilldown-view-all-item {
        display: block !important;
        list-style: none;
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
    }

    .pd-drilldown-view-all:hover,
    .pd-drilldown-view-all:focus {
        background: var(--pd-header-green, #00ae58);
        color: #fff !important;
    }

    .pd-drilldown-panel .groupmenu-drop-content,
    .pd-drilldown-panel .menu-tabs,
    .pd-drilldown-panel .row,
    .pd-drilldown-panel [class*="col-"] {
        box-sizing: border-box;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .pd-drilldown-panel .groupmenu-drop-content,
    .pd-drilldown-panel .menu-tabs {
        padding: 16px !important;
    }

    .pd-drilldown-panel img,
    .pd-drilldown-panel .groupdrop-banner img,
    .pd-drilldown-panel .groupdrop-banner-pos {
        height: auto !important;
        max-width: 100% !important;
        position: static !important;
        width: 100% !important;
    }

    .pd-drilldown-panel-placeholder,
    .pd-drilldown-link-placeholder {
        display: none !important;
    }

    .mobi-vertcial-menu-container .pd-drilldown-opener.menu-title,
    .pd-drilldown-opener {
        cursor: pointer;
        width: 100%;
    }

    .pd-mobile-nav-close:focus-visible,
    .pd-drilldown-close:focus-visible,
    .pd-drilldown-back:focus-visible,
    .pd-drilldown-next:focus-visible,
    .pd-drilldown-view-all:focus-visible,
    .pd-drilldown-opener:focus-visible {
        outline: 3px solid rgba(0, 174, 88, .38);
        outline-offset: -3px;
    }

    /* The burger panel replaces Codazon's Menu / Account / Settings tabs. */
    .nav-sections > .nav-sections-items,
    .nav-sections .nav-sections-item-title,
    .nav-sections .section-item-title,
    .nav-sections .nav-sections-item-content,
    .nav-sections .section-item-content,
    .nav-sections .pd-mobile-menu-legacy-contacts {
        display: none !important;
    }

    body > .pd-mobile-menu-panel {
        display: none !important;
    }

    .nav-sections > .pd-mobile-menu-panel {
        background: #f5f6f5;
        display: block !important;
        min-height: calc(100dvh - 62px);
    }

    .pd-mobile-nav-header {
        display: grid;
        gap: 8px;
        grid-template-columns: minmax(0, 1fr) auto 44px;
        justify-content: initial;
    }

    .pd-mobile-nav-brand {
        overflow: hidden;
    }

    .pd-mobile-menu-language {
        align-items: center;
        display: flex;
        justify-content: flex-end;
        min-width: 48px;
    }

    .pd-mobile-menu-language:empty {
        display: none;
        min-width: 0;
    }

    .pd-mobile-language,
    .pd-mobile-language .switcher-options {
        margin: 0;
        position: relative;
    }

    .pd-mobile-language .switcher-trigger {
        align-items: center;
        background: #fff;
        border: 1px solid var(--pd-header-border, #e3e3e3);
        border-radius: 9px;
        color: #323232;
        display: inline-flex;
        font-size: 13px;
        font-weight: 600;
        gap: 5px;
        height: 38px;
        justify-content: center;
        line-height: 1;
        margin: 0;
        min-width: 46px;
        padding: 0 8px;
    }

    .pd-mobile-language .switcher-trigger::after {
        content: "\f107";
        display: inline-block;
        font: normal normal normal 12px/1 FontAwesome;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .pd-mobile-language .switcher-options.active .switcher-trigger::after {
        transform: rotate(180deg);
    }

    .pd-mobile-language .switcher-dropdown,
    .pd-mobile-language .options ul.dropdown {
        background: #fff;
        border: 1px solid var(--pd-header-border, #e3e3e3);
        border-radius: 9px;
        box-shadow: 0 10px 24px rgba(28, 28, 28, .14);
        inset: calc(100% + 6px) 0 auto auto;
        list-style: none;
        margin: 0 !important;
        min-width: 58px;
        padding: 5px !important;
        position: absolute;
        z-index: 40;
    }

    .pd-mobile-language .switcher-option {
        margin: 0;
    }

    .pd-mobile-language .switcher-option a {
        border-radius: 6px;
        color: #323232;
        display: block;
        font-size: 13px;
        font-weight: 600;
        padding: 8px 9px;
        text-align: center;
        text-decoration: none;
    }

    .pd-mobile-language .switcher-option a:hover,
    .pd-mobile-language .switcher-option a:focus {
        background: #f1f8f4;
        color: var(--pd-header-green, #00ae58);
    }

    .pd-mobile-menu-panel__content {
        box-sizing: border-box;
        padding: 16px 14px 32px;
    }

    .pd-mobile-menu-catalog {
        align-items: center;
        background: var(--pd-header-green, #00ae58);
        border: 0;
        border-radius: 12px;
        color: #fff;
        cursor: pointer;
        display: grid;
        font-size: 16px;
        font-weight: 600;
        gap: 12px;
        grid-template-columns: 24px minmax(0, 1fr) 24px;
        margin: 0;
        min-height: 54px;
        padding: 10px 16px;
        text-align: left;
        width: 100%;
    }

    .pd-mobile-menu-catalog:hover,
    .pd-mobile-menu-catalog:focus {
        background: var(--pd-header-green-hover, #2a8a5c);
        color: #fff;
    }

    .pd-mobile-menu-icon {
        align-items: center;
        color: inherit;
        display: inline-flex;
        flex: 0 0 24px;
        height: 24px;
        justify-content: center;
        width: 24px;
    }

    .pd-mobile-menu-icon::before {
        display: inline-block;
        font: normal normal normal 22px/1 CodazonFont;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .pd-mobile-menu-icon--catalog::before {
        content: "\E9B1";
    }

    .pd-mobile-menu-icon--next::before {
        content: "\f105";
        font-family: FontAwesome;
        font-size: 20px;
    }

    .pd-mobile-menu-icon--sale::before {
        content: "\f02b";
        font-family: FontAwesome;
        font-size: 19px;
    }

    .pd-mobile-menu-icon--cashback::before {
        content: "\f0d6";
        font-family: FontAwesome;
        font-size: 19px;
    }

    .pd-mobile-menu-icon--wishlist::before {
        content: "\E986";
    }

    .pd-mobile-menu-icon--compare::before {
        content: "\E959";
    }

    .pd-mobile-menu-icon--cart::before {
        content: "\E992";
    }

    .mh-burger__profile {
        margin-top: 14px;
    }

    .mobile-menu-profile {
        background: #fff;
        border: 1px solid #e7e7e7;
        border-radius: 12px;
        padding: 16px;
    }

    .mobile-menu-profile__login {
        align-items: center;
        display: grid;
        gap: 14px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .mobile-menu-profile__login-title {
        color: #1c1c1c;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.25;
    }

    .mobile-menu-profile__login-text {
        color: #737373;
        font-size: 13px;
        line-height: 1.35;
        margin-top: 5px;
    }

    .mobile-menu-profile__login-btn {
        align-items: center;
        background: #f1f8f4;
        border: 1px solid rgba(0, 174, 88, .32);
        border-radius: 9px;
        color: var(--pd-header-green, #00ae58);
        display: inline-flex;
        font-size: 14px;
        font-weight: 600;
        justify-content: center;
        min-height: 40px;
        padding: 8px 15px;
        text-decoration: none;
        white-space: nowrap;
    }

    .mobile-menu-profile__login-btn:hover,
    .mobile-menu-profile__login-btn:focus {
        background: var(--pd-header-green, #00ae58);
        color: #fff;
    }

    .purchase-actions-all {
        background: #fff;
        border: 1px solid #e7e7e7;
        border-radius: 12px;
        margin-top: 14px;
        overflow: hidden;
    }

    .purchase-actions-all .action-container {
        border-bottom: 1px solid #ededed;
        margin: 0;
    }
	.purchase-actions-all .action-container.compare {
		display:block;
	}

    .purchase-actions-all .action-container:last-child {
        border-bottom: 0;
    }

    .purchase-actions-all .action-container > a,
    .purchase-actions-all .action-container > button {
        align-items: center;
        background: #fff;
        border: 0;
        border-radius: 0;
        color: #323232;
        cursor: pointer;
        display: grid;
        font-size: 15px;
        font-weight: 500;
        gap: 12px;
        grid-template-columns: 24px minmax(0, 1fr) auto;
        margin: 0;
        min-height: 51px;
        padding: 8px 15px;
        text-align: left;
        text-decoration: none;
        width: 100%;
    }

    .purchase-actions-all .action-container > a:hover,
    .purchase-actions-all .action-container > a:focus,
    .purchase-actions-all .action-container > button:hover,
    .purchase-actions-all .action-container > button:focus {
        background: #f7faf8;
        color: var(--pd-header-green, #00ae58);
    }

    .purchase-actions-all .name {
        min-width: 0;
    }

    .purchase-actions-all .inner {
        align-items: center;
        background: #ef3d46;
        border-radius: 10px;
        color: #fff;
        display: inline-flex;
        font-size: 11px;
        height: 20px;
        justify-content: center;
        line-height: 20px;
        min-width: 20px;
        padding: 0 5px;
    }

    .purchase-actions-all .inner:empty {
        display: none;
    }

    .purchase-actions-all .bonus .inner:not(:empty) {
        background: var(--pd-header-green, #00ae58);
    }

    .pd-mobile-menu-phone.header-prodavaka__mobile-contacts {
        display: block !important;
        margin: 14px 0 0;
    }

    .pd-mobile-current-menu {
        background: #fff;
        border: 1px solid #e7e7e7;
        border-radius: 12px;
        display: block;
        margin-top: 14px;
        overflow: hidden;
    }

    .pd-mobile-current-menu:empty {
        display: none;
    }

    .pd-mobile-current-menu.exilon-new-mobile-menu__current-menu--catalog-source {
        display: none;
    }

    .pd-mobile-current-menu #mobi_menu-container {
        display: block !important;
        margin: 0;
        position: static;
        width: 100%;
    }

    .pd-mobile-current-menu #mobi_menu-container > :first-child {
        margin-top: 0;
    }

    .pd-mobile-current-menu #mobi_menu-container > :last-child {
        margin-bottom: 0;
    }

    .social-mob-header {
        background: #fff;
        border: 1px solid #e7e7e7;
        border-radius: 12px;
        margin-top: 14px;
        padding: 16px;
    }

    .social-mob-header > .social > .name {
        color: #323232;
        display: block;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
    }

    .pd-mobile-menu-social-links {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 13px;
    }

    .pd-mobile-menu-social-links .footer-prodavaka__social-link {
        align-items: center;
        border: 1px solid #e3e3e3;
        border-radius: 50%;
        display: inline-flex;
        height: 40px;
        justify-content: center;
        margin: 0;
        width: 40px;
    }

    .pd-mobile-menu-social-links .footer-prodavaka__social-link:hover,
    .pd-mobile-menu-social-links .footer-prodavaka__social-link:focus {
        border-color: var(--pd-header-green, #00ae58);
    }

    .pd-mobile-menu-social-links img {
        display: block;
        height: 21px;
        width: 21px;
    }

    .rtl-layout .pd-mobile-menu-icon--next::before {
        content: "\f104";
    }

    .pd-mobile-menu-catalog:focus-visible,
    .mobile-menu-profile__login-btn:focus-visible,
    .purchase-actions-all a:focus-visible,
    .purchase-actions-all button:focus-visible,
    .pd-mobile-language .switcher-trigger:focus-visible {
        outline: 3px solid rgba(0, 174, 88, .38);
        outline-offset: -3px;
    }
}

@media (max-width: 399px) {
    .mobile-menu-profile__login {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .mobile-menu-profile__login-btn {
        width: 100%;
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .nav-sections,
    .pd-drilldown-stage,
    .pd-drilldown-panel {
        transition-duration: .01ms !important;
    }
}
