.header-section {
    position: relative;
    z-index: 10000;
}

theme-header.header,
.header.fixed,
.header.hover {
    z-index: 10001;
}

theme-header.header.fixed {
    background-color: #fff;
}

theme-header.header.fixed::after {
    opacity: 1;
}

.notyf,
.jGrowl,
#jGrowl,
.jGrowl-notification,
.ms2-message-success,
.ms2-message-error,
.ms2-message-info {
    display: none !important;
}

@media (max-width: 1067px) {
    #mobile-menu.side-panel {
        bottom: 0;
        height: auto;
        max-height: none;
        top: clamp(64px, var(--header-height, 74px), 96px);
        z-index: 10000;
    }

    #mobile-menu.side-panel header {
        display: none;
    }

    #mobile-menu .side-panel-content {
        max-height: none;
        padding: 18px 24px 24px;
    }
}

.mane-product-gallery {
    margin: 0 auto;
    isolation: isolate;
    max-width: min(100%, 560px);
    position: relative;
    width: 100%;
    z-index: 0;
}

.mane-product-gallery__viewport {
    overflow: hidden;
}

.mane-product-gallery__track {
    border-radius: 14px;
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.mane-product-gallery__track::-webkit-scrollbar {
    display: none;
}

.mane-product-gallery__slide {
    aspect-ratio: 4 / 5;
    background: #f5f7f8;
    flex: 0 0 100%;
    overflow: hidden;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.mane-product-gallery__slide img,
.mane-product-gallery__empty {
    display: block;
    height: 100%;
    width: 100%;
}

.mane-product-gallery__slide img {
    object-fit: cover;
}

.mane-product-gallery__empty {
    aspect-ratio: 4 / 5;
    background: #f5f7f8;
    border-radius: 14px;
}

.mane-product-gallery__nav {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    color: var(--color-link, #005b97);
    cursor: pointer;
    display: flex;
    font-size: 32px;
    height: 44px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 4px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
    width: 44px;
    z-index: 2;
}

.mane-product-gallery__nav:hover {
    transform: translateY(-50%) scale(1.04);
}

.mane-product-gallery__nav[disabled] {
    cursor: default;
    opacity: 0.45;
}

.mane-product-gallery__nav--prev {
    left: 14px;
}

.mane-product-gallery__nav--next {
    right: 14px;
}

.mane-product-gallery__dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
}

.mane-product-gallery__dot {
    background: #d7dcdf;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: 10px;
    padding: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
    width: 10px;
}

.mane-product-gallery__dot[aria-current="true"] {
    background: var(--color-link, #005b97);
    transform: scale(1.08);
}

.product-section {
    padding-top: clamp(24px, 3vw, 48px);
    position: relative;
    z-index: 1;
}

.thb-product-detail.thb-product-style2.product {
    margin-top: 0;
}

.thb-product-detail.thb-product-style2 .product-images.mane-product-images {
    display: block;
    margin: 0;
    max-width: 100%;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
    width: 100%;
}

#msCart.thb-loading {
    opacity: 1;
    pointer-events: auto;
}

.ms2_form .is-loading,
.ms2_form .is-loading[aria-disabled="true"] {
    opacity: 1;
    pointer-events: auto;
}

.mane-cart-page #msCart.thb-loading::after,
.mane-cart-page .thb-cart-form.thb-loading::after,
.mane-cart-page .shop_table tr.thb-loading::after,
.ms2_form .loading-overlay,
.ms2_form .is-loading::before,
.ms2_form .is-loading::after,
.single-add-to-cart-button.thb-loading::after {
    animation: none !important;
    display: none !important;
}

.single-add-to-cart-button.thb-loading span {
    display: inline !important;
}

.product_thumbnail img,
.product-category-image img {
    object-fit: cover;
}

.products .product-card--add-to-cart-button {
    pointer-events: none;
}

.products .product:hover .product-card--add-to-cart-button,
.products .product:focus-within .product-card--add-to-cart-button,
body.mane-cart-page .mane-cart-recommendations .product-card--add-to-cart-button {
    pointer-events: auto;
}

body.mane-cart-page .mane-cart-recommendations .product-card--add-to-cart-button {
    opacity: 1;
}

body.mane-cart-page .mane-cart-recommendations .animation {
    animation: none !important;
    transition: none !important;
}

.footer a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer a:hover {
    color: var(--footer-link);
    opacity: 0.6;
}

.footer .footer-social-icons {
    align-items: center;
    display: inline-flex;
    gap: 12px;
}

.footer .footer-social-icons .social.mane-social {
    align-items: center;
    color: var(--footer-link);
    display: inline-flex;
    height: 22px;
    justify-content: center;
    margin: 0;
    width: 22px;
}

.footer .mane-social svg {
    display: block;
    fill: currentColor;
    height: 20px;
    stroke: none;
    width: 20px;
}

.footer .mane-social--telegram svg,
.footer .mane-social--vk svg,
.footer .mane-social--max svg {
    height: 22px;
    width: 22px;
}

.footer .mane-social svg path {
    fill: inherit;
    stroke: inherit;
}

.footer .mane-social--telegram,
.footer .mane-social--vk,
.footer .mane-social--max {
    cursor: pointer;
    pointer-events: auto;
}

.footer .footer-social-icons .social.mane-social {
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer .footer-social-icons .social.mane-social:hover,
.footer .footer-social-icons .social.mane-social:focus-visible {
    color: var(--footer-link);
    opacity: 0.6;
}

.footer .footer-payment-icons {
    align-items: center;
    color: var(--footer-link);
    display: inline-flex;
    gap: 10px;
}

.footer .footer-payment-icons .paymenttypes:not(.mane-payment-type) {
    display: none;
}

.footer .footer-payment-icons .paymenttypes.mane-payment-type {
    align-items: center;
    display: inline-flex;
    height: 24px;
    margin: 0;
    width: 38px;
}

.footer .mane-payment-type svg {
    display: block;
    height: 24px;
    width: 38px;
}

body.mane-cart-page #main,
body.mane-cart-page #wrapper {
    min-height: 100vh;
}

body.mane-cart-page #wrapper {
    display: flex;
    flex-direction: column;
}

body.mane-cart-page .mane-post-footer-spacer {
    display: none;
}

body.mane-cart-page .footer {
    margin-top: auto;
}

body.mane-cart-page .mane-cart-section {
    display: flex;
    flex: 1 0 auto;
}

body.mane-cart-page .mane-cart-section > .row {
    align-items: center;
    display: flex;
    flex: 1 0 auto;
    flex-flow: column nowrap;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
}

body.mane-cart-page .mane-cart-section > .row > .columns:not(.mane-cart-content-column):first-child {
    display: none;
}

body.mane-cart-page .mane-cart-content-column {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

body.mane-cart-page .mane-cart-area {
    box-sizing: border-box;
    margin: clamp(32px, 6vh, 64px) auto 0;
    max-width: 1120px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

body.mane-cart-page #msCart {
    width: 100%;
}

body.mane-cart-page .main-cart-items {
    --mane-cart-thumb-gap: 18px;
    --mane-cart-thumb-size: clamp(92px, 8vw, 118px);
    table-layout: fixed;
}

body.mane-cart-page .main-cart-items .ms-title {
    width: 58%;
}

body.mane-cart-page .main-cart-items .ms-title .d-flex {
    align-items: center;
    display: flex;
    gap: var(--mane-cart-thumb-gap);
}

body.mane-cart-page .main-cart-items .ms-image {
    aspect-ratio: 4 / 5;
    flex: 0 0 var(--mane-cart-thumb-size);
    line-height: 0;
    max-width: var(--mane-cart-thumb-size) !important;
    overflow: hidden;
    padding-right: 0 !important;
    width: var(--mane-cart-thumb-size);
}

body.mane-cart-page .main-cart-items .ms-image a,
body.mane-cart-page .main-cart-items .ms-image img {
    display: block;
    height: 100%;
    width: 100%;
}

body.mane-cart-page .main-cart-items .ms-image img {
    object-fit: cover;
}

body.mane-cart-page .main-cart-items .title {
    min-width: 0;
}

body.mane-cart-page .main-cart-items .ms-count {
    width: 150px;
}

body.mane-cart-page .main-cart-items .ms-price {
    width: 150px;
}

body.mane-cart-page .main-cart-items .ms-remove {
    width: 120px;
}

body.mane-cart-empty #msCart.mane-ms-cart-empty {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 560px;
    text-align: center;
    width: 100%;
}

body.mane-cart-page #msCart.mane-ms-cart-empty .alert,
body.mane-cart-empty #msCart .alert {
    background: transparent;
    border: 0;
    color: var(--color-text, #0b548c);
    display: inline-block;
    font-size: 18px;
    line-height: 1.4;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    width: auto;
}

body.mane-cart-page .mane-cart-recommendations-block {
    margin-left: auto;
    margin-right: auto;
    max-width: 1360px;
    width: 100%;
}

body.mane-cart-empty .mane-cart-recommendations-block {
    margin-top: auto;
    padding: clamp(64px, 10vh, 120px) 0 clamp(36px, 6vh, 72px);
}

body.mane-cart-filled .mane-cart-recommendations-block {
    padding: clamp(36px, 6vh, 72px) 0 clamp(36px, 6vh, 72px);
}

body.mane-cart-page .mane-cart-recommendations {
    display: flex;
    justify-content: center;
    width: 100%;
}

body.mane-cart-page .mane-cart-recommendations-block > h3 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 24px;
}

body.mane-cart-relaxed .footer {
    padding: 24px 0 16px;
}

body.mane-cart-relaxed .footer hr {
    margin: 24px 0 18px;
}

body.mane-cart-relaxed .footer .thb-footer-menu {
    margin: 0;
}

@media (min-width: 1068px) {
    .mane-product-gallery {
        margin-top: 40px;
        max-width: min(88%, 560px);
    }
}

@media (max-width: 767px) {
    .product-section {
        padding-top: 15px;
    }

    .thb-product-detail.thb-product-style2 .product-images.mane-product-images {
        margin: 0;
        max-width: 100%;
        padding: 0;
        width: 100%;
    }

    body.mane-cart-page .mane-cart-area {
        margin-top: 48px;
        max-width: 100%;
    }

    body.mane-cart-page .main-cart-items,
    body.mane-cart-page .main-cart-items thead,
    body.mane-cart-page .main-cart-items tbody,
    body.mane-cart-page .main-cart-items tr,
    body.mane-cart-page .main-cart-items td {
        display: block;
        width: 100%;
    }

    body.mane-cart-page .main-cart-items {
        --mane-cart-thumb-gap: 16px;
        --mane-cart-thumb-size: 104px;
    }

    body.mane-cart-page .main-cart-items thead {
        display: none;
    }

    body.mane-cart-page .main-cart-items tr {
        align-items: start;
        column-gap: var(--mane-cart-thumb-gap);
        display: grid;
        grid-template-columns: var(--mane-cart-thumb-size) minmax(0, 1fr);
        padding: 24px 0;
        row-gap: 18px;
    }

    body.mane-cart-page .main-cart-items tbody tr td {
        padding: 0;
    }

    body.mane-cart-page .main-cart-items .ms-title,
    body.mane-cart-page .main-cart-items .ms-title .d-flex {
        display: contents;
    }

    body.mane-cart-page .main-cart-items .ms-image {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    body.mane-cart-page .main-cart-items .title {
        grid-column: 2;
        grid-row: 1;
        line-height: 1.25;
        padding-top: 2px;
    }

    body.mane-cart-page .main-cart-items .ms-count,
    body.mane-cart-page .main-cart-items .ms-price,
    body.mane-cart-page .main-cart-items .ms-remove {
        margin-left: 0;
        padding-top: 0;
        text-align: left;
        width: auto;
    }

    body.mane-cart-page .main-cart-items .ms-count {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
    }

    body.mane-cart-page .main-cart-items .ms-price {
        grid-column: 2;
        grid-row: 2;
        align-self: center;
        justify-self: end;
        text-align: right;
    }

    body.mane-cart-page .main-cart-items .ms-remove {
        grid-column: 2;
        grid-row: 3;
    }

    body.mane-cart-page .mane-cart-recommendations-block {
        box-sizing: border-box;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    body.mane-cart-empty .mane-cart-recommendations-block {
        padding-top: 64px;
        padding-bottom: 36px;
    }

    body.mane-cart-page .mane-cart-recommendations-block > h3 {
        font-size: 24px;
        margin-bottom: 22px;
    }

    body.mane-cart-page .mane-cart-recommendations {
        box-sizing: border-box;
        margin-left: -8px;
        margin-right: -8px;
        row-gap: 30px;
        width: calc(100% + 16px);
    }

    body.mane-cart-page .products.row.mane-cart-recommendations .product {
        box-sizing: border-box;
        margin-bottom: 0;
        padding-left: 8px;
        padding-right: 8px;
    }

    .products .product-card--add-to-cart-button {
        display: none !important;
    }

    .mane-product-gallery {
        max-width: 100%;
    }

    .mane-product-gallery__nav {
        display: none;
    }

    .mane-product-gallery__dots {
        gap: 10px;
        margin-top: 16px;
    }

    .mane-product-gallery__dot {
        height: 8px;
        width: 8px;
    }

    .mane-cart-recommendations product-card:nth-of-type(n+5) {
        display: none;
    }
}
