html[data-compat-theme="default"] body.legacy-compat--default {
    background: #ffffff;
    color: var(--color-text);
    --shop-color-primary-contrast: var(--nova-on-primary, #ffffff);
    --shop-color-secondary-contrast: var(--nova-on-secondary, var(--nova-on-primary, #ffffff));
}

html[data-compat-theme="default"] body.legacy-compat--default header {
    position: relative;
    z-index: 40;
}

html[data-compat-theme="default"] body.legacy-compat--default footer {
    background: #ffffff;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header {
    position: relative;
    z-index: 50;
    background: #fff;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header .container,
html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-footer .container {
    width: min(calc(100% - 2rem), 1320px);
    margin-left: auto;
    margin-right: auto;
}

html[data-compat-theme="default"] body.legacy-compat--default .header-left-option,
html[data-compat-theme="default"] body.legacy-compat--default .header-middle-option {
    padding: 1.1rem 0 0.6rem;
    margin-bottom: 1.25rem;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header .header-left-option {
    margin-bottom: 0.8rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f5f5f5;
    color: #7e7e7e;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

html[data-compat-theme="default"] body.legacy-compat--default .header-wrap {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header .header-wrap,
html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-footer .row {
    align-items: center;
}

html[data-compat-theme="default"] body.legacy-compat--default .logo-width-2,
html[data-compat-theme="default"] body.legacy-compat--default .logo-width,
html[data-compat-theme="default"] body.legacy-compat--default .logo-width-1 {
    flex-shrink: 0;
}

html[data-compat-theme="default"] body.legacy-compat--default .logo-shop {
    display: block;
    width: auto;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header .logo img {
    max-height: 65px;
    max-width: 100px;
    width: auto;
    object-fit: contain;
}

html[data-compat-theme="default"] body.legacy-compat--default .main-menu > nav > ul,
html[data-compat-theme="default"] body.legacy-compat--default .footer-list,
html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-mobile-menu,
html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

html[data-compat-theme="default"] body.legacy-compat--default .main-menu > nav > ul {
    display: flex;
    align-items: center;
    gap: 0;
}

html[data-compat-theme="default"] body.legacy-compat--default .main-menu > nav > ul > li {
    position: relative;
}

html[data-compat-theme="default"] body.legacy-compat--default .main-menu > nav > ul > li > a,
html[data-compat-theme="default"] body.legacy-compat--default .main-menu > nav > ul > li ul.sub-menu li a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

html[data-compat-theme="default"] body.legacy-compat--default .main-menu > nav > ul > li > a.active,
html[data-compat-theme="default"] body.legacy-compat--default .main-menu > nav > ul > li > a:hover,
html[data-compat-theme="default"] body.legacy-compat--default .main-menu > nav > ul > li ul.sub-menu li a.active,
html[data-compat-theme="default"] body.legacy-compat--default .main-menu > nav > ul > li ul.sub-menu li a:hover {
    color: var(--shop-color-primary, #ffc107);
}

html[data-compat-theme="default"] body.legacy-compat--default .main-menu > nav > ul > li ul.sub-menu,
html[data-compat-theme="default"] body.legacy-compat--default .main-menu > nav > ul > li ul.level-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    min-width: 220px;
    padding: 0.9rem 0;
    background: #fff;
    border: 1px solid #eef0f3;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    transform: translateY(8px);
    z-index: 30;
}

html[data-compat-theme="default"] body.legacy-compat--default .main-menu > nav > ul > li:hover > ul.sub-menu,
html[data-compat-theme="default"] body.legacy-compat--default .main-menu > nav > ul > li ul.sub-menu li:hover > ul.level-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

html[data-compat-theme="default"] body.legacy-compat--default .main-menu > nav > ul > li ul.level-menu {
    top: -0.9rem;
    left: calc(100% - 0.5rem);
}

html[data-compat-theme="default"] body.legacy-compat--default .main-menu > nav > ul > li ul.sub-menu li a,
html[data-compat-theme="default"] body.legacy-compat--default .main-menu > nav > ul > li ul.level-menu li a {
    display: block;
    padding: 0.5rem 1rem;
}

html[data-compat-theme="default"] body.legacy-compat--default .header-right {
    width: 100%;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header__meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-right: 0.9rem;
    color: #253d4e;
    font-size: 0.78rem;
    font-weight: 500;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header__currency {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header__lang-switcher {
    position: relative;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header__lang-summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 34px;
    cursor: pointer;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header__lang-summary::-webkit-details-marker {
    display: none;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header__lang-icon {
    width: 1rem;
    height: 1rem;
    display: inline-flex;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header__lang-icon svg {
    width: 100%;
    height: 100%;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header__lang-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 4.5rem;
    display: grid;
    gap: 0.15rem;
    padding: 0.45rem;
    background: #fff;
    border: 1px solid #ececec;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 12;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header__lang-switcher[open] .legacy-default-header__lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header__lang-link {
    display: block;
    padding: 0.35rem 0.45rem;
    color: #253d4e;
    text-decoration: none;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header__lang-link:hover,
html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header__lang-link.is-active {
    background: #f5f5f5;
}

html[data-compat-theme="default"] body.legacy-compat--default .search-style-1 form,
html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-mobile-search form,
html[data-compat-theme="default"] body.legacy-compat--default .search-style-2 form {
    display: block;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header .search-style-1 {
    margin-right: 28px;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header .search-style-1 form,
html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header .search-style-2 form {
    min-width: 250px;
    position: relative;
    background: transparent;
    border: 0;
    border-radius: 0;
    min-height: 0;
}

html[data-compat-theme="default"] body.legacy-compat--default .search-style-1 input,
html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-mobile-search input,
html[data-compat-theme="default"] body.legacy-compat--default .search-style-2 input {
    min-width: 250px;
    width: 100%;
    border: 1px solid #f7f8f9;
    background: #f7f8f9;
    color: #1a1a1a;
    padding: 0.75rem 1rem;
    border-radius: 26px;
    font-size: 14px;
    outline: none;
}

html[data-compat-theme="default"] body.legacy-compat--default .search-style-1 input:focus,
html[data-compat-theme="default"] body.legacy-compat--default .search-style-2 input:focus,
html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-mobile-search input:focus {
    border-color: var(--shop-color-primary, #ff9922);
    background: #fff;
}

html[data-compat-theme="default"] body.legacy-compat--default .header-action-right,
html[data-compat-theme="default"] body.legacy-compat--default .header-action-2,
html[data-compat-theme="default"] body.legacy-compat--default .header-action-icon-2,
html[data-compat-theme="default"] body.legacy-compat--default .hidden-md,
html[data-compat-theme="default"] body.legacy-compat--default .flex-center {
    display: inline-flex;
    align-items: center;
}

html[data-compat-theme="default"] body.legacy-compat--default .flex-center {
    justify-content: center;
}

html[data-compat-theme="default"] body.legacy-compat--default .header-action-right {
    justify-content: flex-end;
    flex-shrink: 0;
}

html[data-compat-theme="default"] body.legacy-compat--default .header-action-2 .header-action-icon-2:last-child {
    padding: 0 0 0 8px;
}

html[data-compat-theme="default"] body.legacy-compat--default .header-action-2 .header-action-icon-2 > a {
    font-size: 30px;
    color: #333;
    line-height: 1;
    display: inline-block;
    position: relative;
    width: 1em;
}

html[data-compat-theme="default"] body.legacy-compat--default .mini-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #333;
    text-decoration: none;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-cart-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    color: #253d4e;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-cart-icon svg {
    width: 100%;
    height: 100%;
}

html[data-compat-theme="default"] body.legacy-compat--default .cart-count,
html[data-compat-theme="default"] body.legacy-compat--default .cart-count.pro-count {
    position: absolute;
    right: -10px;
    top: -5px;
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    border-radius: 100%;
    background: var(--shop-color-primary, #ffc107);
    color: var(--shop-color-primary-contrast, #ffffff);
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-mobile {
    padding: 0.9rem 0;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    background: #fff;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-mobile .header-wrap {
    justify-content: space-between;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-mobile-nav {
    position: relative;
    margin-left: 1rem;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-mobile-toggle {
    list-style: none;
    cursor: pointer;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-mobile-toggle::-webkit-details-marker {
    display: none;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-mobile-panel {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    width: min(90vw, 340px);
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #ececec;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    z-index: 35;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-mobile-menu a,
html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-mobile-menu summary {
    display: block;
    padding: 0.65rem 0;
    color: #253d4e;
    text-decoration: none;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-mobile-menu__item + .legacy-default-mobile-menu__item {
    border-top: 1px solid #f5f5f5;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-mobile-submenu {
    padding-left: 1rem;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-footer {
    margin-top: 3.5rem;
    border-top: 1px solid #f2f2f2;
    background: #fff;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-footer .footer-mid {
    padding-top: 3rem;
}

html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-footer .widget-about-logo img {
    max-height: 42px;
    width: auto;
}

html[data-compat-theme="default"] body.legacy-compat--default [data-page-type="blog_home"],
html[data-compat-theme="default"] body.legacy-compat--default [data-page-type="blog_post"],
html[data-compat-theme="default"] body.legacy-compat--default [data-page-type="blog_category"] {
    overflow-x: clip;
}

html[data-compat-theme="default"] body.legacy-compat--default [data-page-type="blog_home"] .container.custom,
html[data-compat-theme="default"] body.legacy-compat--default [data-page-type="blog_post"] .custom,
html[data-compat-theme="default"] body.legacy-compat--default [data-page-type="blog_category"] .container.custom {
    width: min(calc(100% - 2rem), 1320px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}

html[data-compat-theme="default"] body.legacy-compat--default [data-page-type="blog_post"] .widgetSidebarBlog .row,
html[data-compat-theme="default"] body.legacy-compat--default [data-page-type="blog_category"] .widget-area .row,
html[data-compat-theme="default"] body.legacy-compat--default [data-page-type="blog_home"] .widget-area .row {
    margin-left: 0;
    margin-right: 0;
}

html[data-compat-theme="default"] body.legacy-compat--default .variantSelector {
    margin-top: 5px;
}

html[data-compat-theme="default"] body.legacy-compat--default .size-link {
    cursor: pointer;
    text-align: center;
}

html[data-compat-theme="default"] body.legacy-compat--default .size-svg small {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: #1a1a1a;
}

html[data-compat-theme="default"] body.legacy-compat--default .default-compat-related .section-title {
    color: #222;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0;
}

html[data-compat-theme="default"] body.legacy-compat--default .default-compat-related .section-title span {
    color: var(--shop-color-primary, #ff9922);
}

html[data-compat-theme="default"] body.legacy-compat--default .default-compat-related .product-img-action-wrap {
    padding: 0;
    margin-bottom: 15px;
}

html[data-compat-theme="default"] body.legacy-compat--default .default-compat-related .product-cart-wrap {
    margin-bottom: 30px;
}

html[data-compat-theme="default"] body.legacy-compat--default .default-compat-related .product-content-wrap h2 {
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header .main-menu {
        display: none;
    }

    html[data-compat-theme="default"] body.legacy-compat--default .hidden-md,
    html[data-compat-theme="default"] body.legacy-compat--default .legacy-default-header__meta {
        display: none;
    }
}
