.cookies-policy {
    position: fixed;
    bottom: 20px;
    right: 50px;
    z-index: 10000;
    display: none;
    animation: fadeInUp 0.5s ease;
}

.cookies-policy.active {
    display: block;
}

.cookies-policy-block {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    border-radius: 12px;
    font-size: 14px;
    width: 320px;
    background: #ffffff;
    position: relative;
    border: 1px solid #e0e0e0;
}

.cookies-policy-cell {
    vertical-align: middle;
    padding: 0;
    font-size: 13px;
    color: #333333;
    line-height: 1.5;
}

.cookies-policy-cell a {
    color: #CC9453;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.cookies-policy-cell a:hover {
    color: #b88345;
    text-decoration: none;
}

.cookies-policy-close {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 18px;
    line-height: 1;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
    color: #666666 !important;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10001;
}

.cookies-policy-close:hover {
    background: #f8f8f8;
    color: #333333 !important;
    transform: scale(1.1);
}

.cookies-policy-button {
    margin-top: 15px;
    text-align: center;
}

.cookies-policy__btn-close {
    background: #CC9453;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 100px;
}

.cookies-policy__btn-close:hover {
    background: #b88345;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(204, 148, 83, 0.3);
}

.cookies-policy__btn-close:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .cookies-policy {
        bottom: 15px;
        right: 15px;
        left: 15px;
        width: auto;
    }

    .cookies-policy-block {
        width: auto;
        max-width: 100%;
        margin: 0;
        padding: 16px;
    }

    .cookies-policy-close {
        top: -6px;
        right: -6px;
        width: 24px;
        height: 24px;
        font-size: 16px;
    }

    .cookies-policy__btn-close {
        padding: 8px 20px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .cookies-policy {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }

    .cookies-policy-block {
        padding: 14px;
    }

    .cookies-policy-cell {
        font-size: 12px;
    }

    .cookies-policy-button {
        margin-top: 12px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cookies-policy.sticky {
    position: fixed;
    bottom: 20px;
    right: 50px;
}

.cookies-policy.visible {
    animation: slideInRight 0.6s ease-out;
}

.mobile-footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    /* z-index: 9999; */
    z-index: 1000000;
}

.mobile-footer-nav__left-group,
.mobile-footer-nav__right-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-footer-nav__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-footer-nav__button {
    background: none;
    border: 1px solid #000;
    border-radius: 19px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #4B4F58;
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 30px;
    padding: 0;
    transition: all 0.3s ease;
}

.mobile-footer-nav__button:hover {
    background: #f5f5f5;
}

.mobile-footer-nav__button span {
    display: block;
    width: 16px;
    height: 2px;
    background: #4B4F58;
    margin: 2px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}
.mobile-footer-nav__catalog-trigger .mobile-footer-nav__button {
    font-size: 12px;
    font-weight: bold;
    width: auto;
    padding: 5px 16px;
    text-transform: uppercase;
    height: 30px;
    border: 1px solid #000;
    border-radius: 19px;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-footer-nav__compare svg,
.mobile-footer-nav__cart svg,
.mobile-footer-nav__wishlist svg {
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
}

.mobile-footer-nav__count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #CC9453;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

@media (min-width: 769px) {
    .mobile-footer-nav {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    z-index: 1100;
    transition: left 0.3s ease;
    overflow: hidden;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu--active {
    left: 0;
}

.mobile-catalog {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-catalog--active {
    right: 0;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-overlay--active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu__header,
.mobile-catalog__header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f8f8;
    position: relative;
    min-height: 50px;
}

.mobile-menu__close,
.mobile-catalog__close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.mobile-menu__content,
.mobile-catalog__content {
    padding: 15px;
}

.mobile-menu__content ul,
.mobile-catalog__content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu__content li,
.mobile-catalog__content li {
    margin-bottom: 5px;
}

.mobile-menu__content a,
.mobile-catalog__content a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 12px 0;
    font-size: 14px;
    transition: color 0.2s;
}

.mobile-menu__content a:hover,
.mobile-catalog__content a:hover {
    color: #CC9453;
}

.menu__item--root {
    border-bottom: 1px solid #eee;
}

.menu__link {
    padding: 12px 0;
    display: block;
    font-size: 14px;
}

.menu__link--thin {
    font-weight: 400;
}

.menu__link--with-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-point {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    color: #333;
}

.mobile-catalog__header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.mobile-catalog__content ul {
    padding-left: 10px;
    padding-bottom: 40px;
}

.mobile-catalog__content li {
    border-bottom: 1px solid #f0f0f0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-menu, .mobile-catalog {
    animation: fadeIn 0.3s ease-out;
}

.menu__submenu,
.catalog-menu__submenu {
    display: none;
    padding-left: 15px;
    animation: fadeIn 0.3s ease-out;
}

.menu__submenu.open,
.catalog-menu__submenu.open {
    display: block;
}

.submenu-toggle {
    margin-left: 8px;
    font-weight: bold;
    display: inline-block;
    width: 16px;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
.mobile-menu__back-button,
.mobile-catalog__back-button {
    background: none;
    border: none;
    padding: 0;
    margin-right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

.mobile-menu__header,
.mobile-catalog__header {
    position: relative;
}

.mobile-menu__title,
.mobile-catalog__title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-align: center;
    width: auto;
    max-width: 60%;
}


.catalog-menu__arrow {
    float: right;
    margin-left: 10px;
    font-size: 18px;
    color: #CC9453;
}

.mobile-menu__close {
    margin-right: auto;
}

.mobile-catalog__close {
    margin-left: auto;
}

.catalog-menu__item--has-children .catalog-menu__link {
    padding-right: 25px;
}

.menu-level {
    display: none;
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 15px;
    box-sizing: border-box;
    overflow-y: auto;
}

.menu-level--active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.mobile-catalog__content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 15px 15px;
}

.mobile-catalog__header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f8f8;
    position: relative;
}

.mobile-catalog__back-button {
    background: none;
    border: none;
    padding: 0;
    margin-right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

.mobile-menu--active ~ .mobile-footer-nav,
.mobile-catalog--active ~ .mobile-footer-nav {
    z-index: 1200;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    z-index: 999999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.mobile-menu--active {
    left: 0;
}

.mobile-menu__header {
    flex-shrink: 0;
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f8f8;
    position: relative;
    min-height: 60px;
    box-sizing: border-box;
}

.mobile-menu__close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: normal;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.mobile-menu__title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    width: 60%;
}

.mobile-menu__content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 15px;
    padding-top: 20px;
    height: calc(100% - 60px);
    padding-bottom: 80px !important;
}

.mobile-menu__content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.mobile-menu__content li {
    margin-bottom: 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu__content li:last-child {
    border-bottom: none;
}

.mobile-menu__content a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 15px 0;
    font-size: 16px;
    transition: color 0.2s;
    font-weight: 500;
}

.mobile-menu__content a:hover {
    color: #CC9453;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay--active {
    display: block;
    opacity: 1;
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-menu {
    animation: fadeIn 0.3s ease-out;
}

.mobile-footer-nav__menu-trigger.active .mobile-footer-nav__button span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
    width: 16px;
}

.mobile-footer-nav__menu-trigger.active .mobile-footer-nav__button span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-footer-nav__menu-trigger.active .mobile-footer-nav__button span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 16px;
}

.mobile-footer-nav__menu-trigger .mobile-footer-nav__button {
    background: none;
    border: 1px solid #000;
    border-radius: 19px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #4B4F58;
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 30px;
    padding: 0;
    transition: all 0.3s ease;
}

.mobile-footer-nav__menu-trigger .mobile-footer-nav__button span {
    display: block;
    width: 16px;
    height: 2px;
    background: #4B4F58;
    margin: 1.5px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.catalog-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}


.catalog-menu__item {
    border-bottom: 1px solid #f5f5f5;
}

.catalog-menu__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.catalog-menu__link:hover {
    background-color: #f9f9f9;
}

.menu-level {
    display: none;
    height: 100%;
}

.menu-level--active {
    display: block;
}

.mobile-catalog {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 999999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-catalog--active {
    right: 0;
}

.mobile-catalog__header {
    flex-shrink: 0;
    border-bottom: 1px solid #eee;
    padding: 15px;
    background: #fff;
}

.mobile-catalog__content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 15px 15px;
    padding-bottom: 80px !important;
}

.menu-level {
    display: none;
    height: 100%;
}

.menu-level--active {
    display: block;
}

.catalog-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.catalog-menu__item {
    border-bottom: 1px solid #f5f5f5;
}

.catalog-menu__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.catalog-menu__arrow {
    font-size: 18px;
    color: #999;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    /* z-index: 999; */
    z-index: 999999;
    display: none;
}

.mobile-overlay--active {
    display: block;
}

body.menu-open {
    overflow: hidden;
}