.at-header {
    position: relative;
    z-index: 40;
    background: #fff;
    color: #23332a;
}

.at-header-top {
    background: #f4f5ef;
    border-bottom: 1px solid #e8ebe2;
}

.at-header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 34px;
    color: #70796b;
    font-size: 10px;
}

.at-header-top-inner > span {
    letter-spacing: .15px;
}

.at-header-top-inner a {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: #425440;
}

.at-header-main {
    display: flex;
    align-items: center;
    gap: 65px;
    min-height: 119px;
}

.at-wordmark {
    display: inline-flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 205px;
    color: #244f38;
    line-height: 1;
}

.at-wordmark strong {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1.7px;
}

.at-wordmark strong span {
    margin-left: 2px;
    color: #a58d54;
}

.at-wordmark small {
    margin-top: 10px;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 10px;
}

.at-search {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 680px;
    height: 49px;
    margin-inline: auto;
    border: 1px solid #e0e5da;
    border-radius: 4px;
    background: #fbfcf9;
}

.at-search:focus-within {
    border-color: #869b7b;
    background: #fff;
}

.at-search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 18px;
    border: 0;
    background: transparent;
    color: #23332a;
    font-size: 12px;
}

.at-search input::placeholder {
    color: #899183;
}

.at-search input:focus-visible {
    outline: 0;
}

.at-search button {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 53px;
    height: 100%;
    border: 0;
    background: transparent;
    color: #244f38;
}

.at-search button svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
    stroke-width: 1.5;
}

.at-catalog-link {
    flex-shrink: 0;
    padding-left: 24px;
    border-left: 1px solid #e5e8e0;
    line-height: 1.5;
}

.at-catalog-link span,
.at-catalog-link strong {
    display: block;
}

.at-catalog-link span {
    color: #798171;
    font-size: 10px;
}

.at-catalog-link strong {
    margin-top: 2px;
    font-size: 13px;
    font-weight: 550;
}

.at-nav-border {
    border-block: 1px solid #e5e8e0;
}

.at-nav-inner {
    position: relative;
    display: flex;
    align-items: stretch;
}

.at-category-menu {
    flex-shrink: 0;
    width: 230px;
    border-right: 1px solid #e5e8e0;
}

.at-category-menu > summary {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 54px;
    padding-right: 24px;
    list-style: none;
    cursor: pointer;
    color: #244f38;
    font-size: 12px;
    font-weight: 650;
}

.at-category-menu > summary::-webkit-details-marker {
    display: none;
}

.at-category-menu > summary > svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 1.5;
}

.at-category-menu > summary > .at-category-chevron {
    width: 15px;
    height: 15px;
    margin-left: auto;
    transition: transform .15s ease;
}

.at-category-menu[open] .at-category-chevron {
    transform: rotate(180deg);
}

.at-main-nav {
    display: flex;
    align-items: center;
    gap: 31px;
    min-width: 0;
    padding-left: 32px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.at-main-nav a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 54px;
    white-space: nowrap;
    font-size: 12px;
}

.at-main-nav a:hover,
.at-main-nav a[aria-current="page"] {
    color: #244f38;
}

.at-main-nav a[aria-current="page"]::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #244f38;
    content: "";
}

.at-mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    max-height: min(650px, 70vh);
    overflow-y: auto;
    padding: 32px;
    border: 1px solid #e5e8e0;
    background: white;
    box-shadow: 0 18px 35px #223b2512;
}

.at-mega-group {
    min-width: 0;
}

.at-mega-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e5e8e0;
    color: #244f38;
    font-size: 13px;
    font-weight: 650;
}

.at-category-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.at-category-links a {
    display: block;
    padding: 5px 0;
    color: #65705f;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.at-category-links a:hover {
    color: #244f38;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.at-category-links .at-category-links {
    margin: 5px 0 9px 4px;
    padding-left: 13px;
    border-left: 1px solid #e5e8e0;
}

.at-category-links .at-category-links a {
    color: #87907f;
    font-size: 11px;
}

@media (max-width: 1100px) {
    .at-header-main {
        gap: 35px;
    }

    .at-catalog-link {
        display: none;
    }

    .at-wordmark {
        width: 195px;
    }

    .at-category-menu {
        width: 220px;
    }

    .at-main-nav {
        gap: 24px;
        padding-left: 25px;
    }
}

@media (max-width: 760px) {
    .at-header-top-inner {
        justify-content: center;
        min-height: 30px;
        font-size: 9px;
    }

    .at-header-top-inner > a {
        display: none;
    }

    .at-header-main {
        flex-wrap: wrap;
        gap: 22px;
        min-height: 0;
        padding-block: 24px 20px;
    }

    .at-wordmark {
        width: auto;
    }

    .at-wordmark strong {
        font-size: 30px;
    }

    .at-wordmark small {
        margin-top: 8px;
        font-size: 9px;
        letter-spacing: 9px;
    }

    .at-search {
        flex-basis: 100%;
        max-width: none;
        height: 45px;
    }

    .at-search input {
        padding-inline: 13px;
        font-size: 12px;
    }

    .at-category-menu {
        width: 165px;
    }

    .at-category-menu > summary {
        gap: 8px;
        min-height: 49px;
        padding-right: 12px;
        font-size: 11px;
    }

    .at-category-menu > summary > svg {
        width: 17px;
    }

    .at-category-menu > summary > .at-category-chevron {
        width: 12px;
    }

    .at-main-nav {
        gap: 21px;
        padding-left: 18px;
    }

    .at-main-nav a {
        min-height: 49px;
        font-size: 11px;
    }

    .at-mega-menu {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
        max-height: 65vh;
        padding: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .at-category-chevron {
        transition: none;
    }
}

.at-header-main {
    gap: 40px;
}

.at-account {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding-left: 24px;
    border-left: 1px solid #e5e8e0;
}

.at-account > svg {
    width: 25px;
    height: 25px;
    color: #244f38;
    stroke: currentColor;
    stroke-width: 1.4;
}

.at-account-login,
.at-account-register {
    display: block;
    width: fit-content;
}

.at-account-login {
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
}

.at-account-register {
    margin-top: 2px;
    color: #7b8475;
    font-size: 10px;
}

.at-account a:hover {
    color: #244f38;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.at-search {
    position: relative;
    min-width: 0;
}

.at-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: -1px;
    left: -1px;
    z-index: 80;
    overflow: hidden;
    border: 1px solid #e0e5da;
    border-radius: 5px;
    background: white;
    box-shadow: 0 18px 40px #203b291a;
}

.at-search-dropdown[hidden] {
    display: none;
}

.at-search-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 43px;
    padding: 8px 16px;
    border-bottom: 1px solid #edf0e8;
}

.at-search-heading > span {
    color: #7a8473;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .8px;
}

.at-search .at-search-close {
    width: 26px;
    height: 26px;
    padding: 4px;
}

.at-search .at-search-close svg {
    width: 16px;
    height: 16px;
}

.at-search-status {
    margin: 0;
    padding: 20px 16px;
    color: #798271;
    font-size: 12px;
}

.at-search-status:empty {
    display: none;
}

.at-search-list {
    max-height: min(520px, 60vh);
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    overscroll-behavior: contain;
}

.at-search-item {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 90px;
    padding: 13px 16px;
    border-bottom: 1px solid #f0f2ec;
}

.at-search-list > li:last-child .at-search-item {
    border-bottom: 0;
}

.at-search-item:hover,
.at-search-item[aria-selected="true"] {
    background: #f6f8f2;
}

.at-search-thumb {
    position: relative;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #edf0e7;
    border-radius: 3px;
    background: white;
    color: #8a947f;
    font-size: 19px;
}

.at-search-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 4px;
    object-fit: contain;
    background: white;
}

.at-search-item-copy {
    flex: 1;
    min-width: 0;
}

.at-search-item-subtitle,
.at-search-item-name,
.at-search-item-price {
    display: block;
}

.at-search-item-subtitle {
    margin-bottom: 3px;
    color: #8a9281;
    font-size: 9px;
}

.at-search-item-name {
    color: #23332a;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.at-search-item-price {
    margin-top: 6px;
    color: #244f38;
    font-size: 12px;
    font-weight: 650;
}

.at-search-item-price small {
    margin-left: 6px;
    color: #8a9281;
    font-size: 9px;
    font-weight: 400;
}

.at-search-item-arrow {
    flex-shrink: 0;
    color: #839177;
    font-size: 18px;
}

@media (max-width: 1100px) {
    .at-header-main {
        gap: 25px;
    }

    .at-account {
        padding-left: 15px;
    }
}

@media (max-width: 760px) {
    .at-header-main {
        justify-content: space-between;
        gap: 22px;
    }

    .at-wordmark {
        order: 0;
    }

    .at-account {
        order: 1;
        gap: 8px;
        padding-left: 0;
        border-left: 0;
    }

    .at-account > svg {
        width: 23px;
        height: 23px;
    }

    .at-account-login {
        font-size: 12px;
    }

    .at-account-register {
        font-size: 9px;
    }

    .at-search {
        order: 2;
        flex-basis: 100%;
    }

    .at-search-item {
        gap: 10px;
        padding: 12px;
    }

    .at-search-thumb {
        width: 52px;
        height: 52px;
    }

    .at-search-item-name {
        font-size: 11px;
    }

    .at-search-list {
        max-height: 48vh;
    }
}

.at-header-main {
    gap: 34px;
}

.at-header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.at-header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 48px;
    padding: 5px 0;
    color: #364a39;
    list-style: none;
    cursor: pointer;
}

.at-header-action::-webkit-details-marker {
    display: none;
}

.at-header-action > svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.at-header-action > span {
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
}

.at-header-action:hover {
    color: #8b7445;
}

.at-account-menu {
    position: relative;
}

.at-account-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: -15px;
    z-index: 85;
    width: 170px;
    padding: 7px;
    border: 1px solid #e5e8e0;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 12px 30px #203b2914;
}

.at-account-dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 3px;
    font-size: 12px;
}

.at-account-dropdown a:hover {
    background: #f4f6ef;
    color: #244f38;
}

@media (max-width: 1100px) {
    .at-header-main {
        gap: 24px;
    }

    .at-header-actions {
        gap: 18px;
    }
}

@media (max-width: 760px) {
    .at-header-main {
        gap: 22px;
    }

    .at-header-actions {
        order: 1;
        gap: 14px;
    }

    .at-header-action {
        min-width: 36px;
        gap: 5px;
    }

    .at-header-action > svg {
        width: 22px;
        height: 22px;
    }

    .at-header-action > span {
        font-size: 9px;
    }

    .at-account-dropdown {
        right: 0;
    }
}

@media (max-width: 380px) {
    .at-wordmark strong {
        font-size: 26px;
    }

    .at-header-actions {
        gap: 10px;
    }
}

.at-account-customer-name {
    display: block;
    padding: 10px 12px;
    border-bottom: 1px solid #edf0e7;
    color: #244f38;
    font-size: 12px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.at-account-logout {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 3px;
    color: #687b5c;
    background: transparent;
    font-size: 12px;
    text-align: left;
}

.at-account-logout:hover {
    background: #f4f6ef;
}

.at-header-cart {
    position: relative;
}

.at-header-cart .at-header-cart-count {
    position: absolute;
    top: -3px;
    right: 1px;
    display: grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    padding-inline: 4px;
    border: 2px solid white;
    border-radius: 10px;
    background: #244f38;
    color: white;
    font-size: 8px;
    font-weight: 600;
    line-height: 1;
}