.header.style-13 {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #f6f3ee;
    color: #1a1a1a;
    border-bottom: 1px solid #ece7e0;
    overflow: visible;
}

.header.style-13 .container,
.header.style-13 .container-fluid {
    display: block;
}

.header.style-13 .h13-wrap {
    width: 100%;
}

.header.style-13 .h13-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 64px;
    gap: 12px;
}

.header.style-13 .h13-left,
.header.style-13 .h13-actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-width: 0;
}

.header.style-13 .h13-left {
    flex: 1 1 auto;
    max-width: calc(50% - 72px);
}

.header.style-13 .h13-actions {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 16px;
    margin-left: auto;
}

.header.style-13 .h13-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    line-height: 0;
}

.header.style-13 .h13-logo img {
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.header.style-13 .h13-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #1a1a1a;
}

.header.style-13 .h13-nav .menu,
.header.style-13 .h13-nav .menu.active-underline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header.style-13 .h13-nav .menu > li {
    margin: 0;
    line-height: 1;
}

.header.style-13 .h13-nav .menu > li > a {
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
    color: #1a1a1a;
    white-space: nowrap;
}

.header.style-13 .h13-nav .menu > li > a:hover,
.header.style-13 .h13-nav .menu > li.active > a,
.header.style-13 .h13-nav .menu > li:hover > a {
    color: #111;
}

.header.style-13 .h13-nav .menu > .has-submenu > a::after,
.header.style-13 .h13-nav .active-underline > li > a::before,
.header.style-13 .h13-nav .active-underline > li:hover > a::before,
.header.style-13 .h13-nav .active-underline > li.active > a::before {
    content: none;
}

.header.style-13 .h13-nav .menu > li > .submenu,
.header.style-13 .h13-nav .menu > li > .megamenu {
    top: 100%;
    left: 0;
    min-width: 200px;
    margin: 0;
    padding: 8px 0;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: block;
    pointer-events: none;
}

.header.style-13 .h13-nav .menu > li:hover > .submenu,
.header.style-13 .h13-nav .menu > li:hover > .megamenu,
.header.style-13 .h13-nav .menu > li:focus-within > .submenu,
.header.style-13 .h13-nav .menu > li:focus-within > .megamenu,
.header.style-13 .h13-nav .menu > li.show > .submenu,
.header.style-13 .h13-nav .menu > li.show > .megamenu {
    top: 100%;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.header.style-13 .h13-nav .menu .submenu li,
.header.style-13 .h13-nav .megamenu > li,
.header.style-13 .h13-nav .megamenu .megamenu-item {
    margin: 0;
    padding: 0;
    min-width: 0;
    flex: none;
}

.header.style-13 .h13-nav .menu ul li a,
.header.style-13 .h13-nav .megamenu .menu-title,
.header.style-13 .h13-nav .megamenu .menu-title a {
    display: flex;
    align-items: center;
    min-height: 34px;
    margin: 0;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    color: #333;
    white-space: nowrap;
}

.header.style-13 .h13-nav .menu ul li a:hover,
.header.style-13 .h13-nav .megamenu .menu-title a:hover {
    color: #111;
    background: #f6f3ee;
}

.header.style-13 .h13-nav .menu li > ul ul,
.header.style-13 .h13-nav .megamenu .megamenu-item > ul {
    top: 0;
    left: 100%;
}

.header.style-13 .h13-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1a1a1a;
    cursor: pointer;
    line-height: 0;
}

.header.style-13 .h13-icon-btn:hover {
    color: #000;
}

.header.style-13 .h13-icon-btn svg {
    display: block;
    width: 22px;
    height: 22px;
}

.header.style-13 .h13-cart {
    position: static;
}

.header.style-13 .h13-cart-btn {
    position: relative;
}

.header.style-13 .h13-cart-count {
    position: absolute;
    top: 0;
    right: -2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
}

.header.style-13 .h13-cart-count.is-zero {
    display: none;
}

.header.style-13 .h13-search {
    display: none;
    padding: 0 0 16px;
    background: #f6f3ee;
}

.header.style-13.is-search-open .h13-search {
    display: block;
}

.header.style-13 .h13-search-field {
    position: relative;
}

.header.style-13 .h13-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #e6e1da;
    border-radius: 8px;
}

.header.style-13 .h13-search-form-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #6b6b6b;
}

.header.style-13 .h13-search-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 400;
}

.header.style-13 .h13-search-input::placeholder {
    color: #9a958e;
}

.header.style-13 .h13-search-clear {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #6b6b6b;
    cursor: pointer;
}

.header.style-13 .h13-search-clear.is-visible {
    display: inline-flex;
}

.header.style-13 .h13-search ul.live_search_box {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 20;
    border-radius: 8px;
    max-height: min(60vh, 420px);
}

@media (min-width: 992px) {
    .header.style-13 .h13-bar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        min-height: 78px;
    }

    .header.style-13 .h13-left {
        max-width: none;
    }

    .header.style-13 .h13-logo {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        justify-self: center;
    }

    .header.style-13 .h13-logo img {
        height: 52px;
        max-width: 170px;
    }

    .header.style-13 .h13-actions {
        gap: 8px;
        margin-left: 0;
        justify-self: end;
    }
}

@media (max-width: 991px) {
    .header.style-13 .h13-bar {
        min-height: 58px;
    }

    .header.style-13 .h13-left {
        max-width: none;
        flex: 0 0 auto;
    }

    .header.style-13 .h13-toggle {
        display: inline-flex;
    }

    .header.style-13 .h13-nav,
    .header.style-13 .h13-account {
        display: none;
    }

    .header.style-13 .h13-logo img {
        height: 36px;
        max-width: 110px;
    }

    .header.style-13 .h13-actions {
        gap: 4px;
    }

    .header.style-13 .h13-icon-btn {
        width: 34px;
        height: 34px;
    }
}
