/* Store navigation: airy desktop collections and a comfortable mobile drawer. */
.ag-navigation {
    position: static;
    height: 56px;
    gap: clamp(12px, 1.5vw, 24px);
    overflow: visible;
    font-size: 14px;
}
.ag-nav-item { position: static; height: 100%; display: flex; align-items: center; flex-shrink: 0; }
.ag-nav-trigger,
.ag-navigation > .ag-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 10px 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #34463a;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 650;
    white-space: nowrap;
    transition: background .18s, color .18s;
}
.ag-navigation .nav-all {
    gap: 10px;
    padding: 10px 16px 10px 12px;
    border-right: 0;
    background: #f1f5ed;
    color: #2d5941;
    font-weight: 750;
}
.ag-nav-trigger > svg { width: 19px; height: 19px; }
.ag-nav-trigger .ag-nav-chevron { display: flex; width: 13px; height: 13px; transition: transform .2s; }
.ag-nav-trigger .ag-nav-chevron svg { width: 13px; height: 13px; }
.ag-nav-trigger:hover,
.ag-nav-trigger[aria-expanded="true"],
.ag-navigation > .ag-nav-link:hover { color: #245642; background: #edf3e9; }
.ag-nav-trigger[aria-expanded="true"] .ag-nav-chevron { transform: rotate(180deg); }
.ag-navigation > .nav-new { color: #347353; }
.ag-navigation > .nav-note { margin-left: auto; font-size: 13px; color: #667168; font-weight: 500; }
.ag-mega-panel[hidden],
.ag-menu-scrim[hidden] { display: none !important; }
.ag-menu-scrim {
    position: fixed;
    inset: 0;
    z-index: 29;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgb(24 43 30 / 24%);
    cursor: default;
    animation: ag-scrim-in .18s ease-out both;
}
.ag-mega-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 31;
    width: min(calc(100vw - 64px), 1440px);
    max-height: min(660px, calc(100dvh - 190px));
    padding: 32px 36px 0;
    overflow: auto;
    overscroll-behavior: contain;
    transform: translateX(-50%);
    border: 1px solid #e0e7db;
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: 0 24px 42px rgb(32 49 35 / 14%);
    scrollbar-width: thin;
    scrollbar-color: #c8d5c0 transparent;
    animation: ag-mega-in .2s ease-out both;
}
.ag-mega-panel a { white-space: normal; }
.ag-mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(245px, 1.3fr); gap: 32px; }
.ag-mega-column { min-width: 0; padding: 3px 0 10px; }
.ag-mega-column h3 { margin: 0 0 14px; color: #78836f; font-size: 11px; font-weight: 750; line-height: 1.5; letter-spacing: 1.3px; text-transform: uppercase; }
.ag-menu-links { display: flex; flex-direction: column; gap: 2px; }
.ag-navigation .ag-menu-links a {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 39px;
    margin-left: -10px;
    padding: 8px 10px;
    border-radius: 7px;
    color: #38463b;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 550;
    transition: color .18s, background .18s;
}
.ag-navigation .ag-menu-links a:hover { background: #f1f5ed; color: #245642; }
.ag-navigation .ag-mega-feature {
    position: relative;
    display: block;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #eef0e7;
    color: #314637;
}
.ag-mega-feature > img { display: block; width: 100%; height: 158px; object-fit: cover; transition: transform .35s ease; }
.ag-mega-feature:hover > img { transform: scale(1.025); }
.ag-mega-feature > div { position: relative; padding: 18px 20px 20px; background: #f0f3e9; }
.ag-mega-feature > div > span { display: block; margin-bottom: 8px; color: #6a7e60; font-size: 10px; font-weight: 750; letter-spacing: 1.4px; text-transform: uppercase; }
.ag-mega-feature h3 { margin: 0 0 7px; font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -.55px; }
.ag-mega-feature p { margin: 0; color: #697565; font-size: 13px; line-height: 1.6; font-weight: 450; }
.ag-mega-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 18px 0 20px; border-top: 1px solid #e7ecdf; }
.ag-navigation .ag-menu-all { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; color: #2d6548; font-size: 14px; font-weight: 750; }
.ag-menu-all svg { width: 17px; height: 17px; }
.ag-menu-all:hover { text-decoration: underline; text-underline-offset: 4px; }
.ag-mega-footer p { margin: 0; color: #788172; font-size: 12px; line-height: 1.6; font-weight: 450; text-align: right; }
.ag-mega-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 24px; }
.ag-mega-heading h2 { margin: 0; color: #314937; font-size: 25px; font-weight: 650; letter-spacing: -.6px; line-height: 1.3; }
.ag-mega-heading p { max-width: 410px; margin: 0; color: #74806d; font-size: 14px; line-height: 1.65; font-weight: 450; }
.ag-material-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ag-navigation .ag-material-link { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 15px; border: 1px solid #e8ece1; border-radius: 11px; overflow: hidden; background: #f7f8f4; transition: border-color .18s, background .18s; }
.ag-material-link > img { display: block; width: 72px; height: 82px; flex: 0 0 72px; border-radius: 6px; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.ag-material-link:hover { border-color: #b0c4a3; background: #f0f5e9; }
.ag-material-link:hover > img { transform: scale(1.025); }
.ag-material-link > div { position: relative; min-width: 0; padding: 0; background: inherit; }
.ag-material-link strong { display: block; margin-bottom: 4px; color: #354a39; font-size: 15px; line-height: 1.35; font-weight: 700; }
.ag-material-link span { display: block; color: #78816f; font-size: 12px; line-height: 1.5; font-weight: 450; }
.ag-color-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ag-navigation .ag-color-link { display: flex; align-items: center; gap: 12px; min-height: 69px; padding: 14px 15px; border: 1px solid #e5eade; border-radius: 10px; background: #fcfdfb; color: #3f4b3e; font-size: 15px; line-height: 1.45; font-weight: 600; transition: background .18s, border-color .18s; }
.ag-color-swatch { display: block; flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid rgb(51 63 43 / 10%); border-radius: 50%; background: var(--swatch, #e7e5de); box-shadow: inset 0 0 0 3px rgb(255 255 255 / 25%); }
.ag-color-link:hover { background: #f0f5eb; border-color: #b4c6a7; }
.ag-size-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ag-navigation .ag-size-link { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 114px; padding: 22px; border: 1px solid #e5eadd; border-radius: 11px; background: #f7f8f1; transition: background .18s, border-color .18s; }
.ag-size-link strong { color: #33503a; font-size: 21px; line-height: 1.4; font-weight: 650; letter-spacing: -.45px; }
.ag-size-link span { color: #7a826e; font-size: 13px; line-height: 1.5; font-weight: 450; }
.ag-size-link:hover { background: #edf3e4; border-color: #b5c9a4; }
.ag-brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ag-navigation .ag-brand-grid > a { display: flex; align-items: center; min-height: 50px; padding: 12px 16px; border: 1px solid #e7ebdf; border-radius: 8px; background: #fbfcf8; color: #3e4f3f; font-size: 15px; line-height: 1.5; font-weight: 550; transition: background .18s, border-color .18s; }
.ag-brand-grid > a:hover { background: #f0f5e9; border-color: #b6c9a9; }

/* The dialog is independent of the header stacking context. */
html.ag-menu-open { overflow: hidden; }
.ag-mobile-drawer { position: fixed; inset: 0 auto 0 0; width: min(92vw, 420px); max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0 18px 18px 0; background: #fff; color: #304235; box-shadow: 10px 0 60px rgb(23 42 28 / 20%); overflow: hidden; }
.ag-mobile-drawer:not([open]) { display: none; }
.ag-mobile-drawer[open] { display: flex; flex-direction: column; animation: ag-drawer-in .25s ease-out both; }
.ag-mobile-drawer::backdrop { background: rgb(23 42 29 / 46%); backdrop-filter: blur(2px); }
.ag-drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 0 0 auto; min-height: 91px; padding: calc(22px + env(safe-area-inset-top, 0px)) 23px 22px; border-bottom: 1px solid #e7ece1; background: #fff; }
.ag-drawer-header .brand { gap: 9px; }
.ag-drawer-header .brand-mark { width: 29px; height: 29px; }
.ag-drawer-header .brand-name { font-size: 27px; letter-spacing: -.85px; }
.ag-drawer-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 9px; border: 1px solid #e7eade; border-radius: 50%; background: #f5f7f0; color: #48603f; }
.ag-drawer-close svg { width: 18px; height: 18px; }
.ag-drawer-close:hover { background: #eaf1e2; }
.ag-drawer-scroll { flex: 1 1 auto; min-height: 0; padding: 21px 23px calc(24px + env(safe-area-inset-bottom, 0px)); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c9d5c1 transparent; }
.ag-drawer-search { display: flex; align-items: center; min-height: 48px; margin: 0 0 19px; padding-left: 16px; border: 1px solid #e5eade; border-radius: 10px; background: #f6f8f2; }
.ag-drawer-search:focus-within { border-color: #82a96c; background: #fff; }
.ag-drawer-search input { width: 100%; min-width: 0; padding: 11px 0; border: 0; outline: none; background: transparent; color: #344737; font-size: 16px; }
.ag-drawer-search input::placeholder { color: #8c9686; }
.ag-drawer-search button { display: grid; place-items: center; flex: 0 0 45px; width: 45px; height: 45px; border: 0; background: transparent; color: #617957; }
.ag-drawer-search svg { width: 21px; height: 21px; }
.ag-drawer-primary { display: flex; align-items: center; gap: 11px; min-height: 56px; padding: 15px 16px; margin-bottom: 17px; border-radius: 10px; background: #335d42; color: #fff; font-size: 15px; line-height: 1.5; font-weight: 700; }
.ag-drawer-primary:hover { background: #284e36; color: #fff; }
.ag-drawer-primary > svg { width: 20px; height: 20px; }
.ag-drawer-primary > svg:last-child { margin-left: auto; width: 16px; height: 16px; }
.ag-drawer-primary > span { min-width: 0; }
.ag-drawer-primary > span:last-child { margin-left: auto; }
.ag-drawer-nav { border-top: 1px solid #e5eadf; }
.ag-drawer-section { margin: 0; border-bottom: 1px solid #e5eadf; }
.ag-drawer-section > summary { display: flex; align-items: center; gap: 12px; min-height: 59px; padding: 13px 1px; list-style: none; cursor: pointer; color: #354b39; font-size: 16px; line-height: 1.4; font-weight: 650; }
.ag-drawer-section > summary::marker,
.ag-drawer-section > summary::-webkit-details-marker { display: none; content: ""; }
.ag-drawer-section-icon { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px; background: #f2f5ed; color: #718467; }
.ag-drawer-section-icon svg { width: 19px; height: 19px; }
.ag-drawer-section > summary > svg { margin-left: auto; width: 17px; height: 17px; color: #8e9c82; transition: transform .2s; }
.ag-drawer-section[open] > summary > svg { transform: rotate(180deg); }
.ag-drawer-section[open] > summary { color: #2d6848; }
.ag-drawer-section[open] .ag-drawer-section-icon { background: #e6efdd; color: #476e37; }
.ag-drawer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 8px; padding: 0 0 17px 44px; }
.ag-drawer-links a { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 5px; border-radius: 6px; color: #697561; font-size: 14px; line-height: 1.45; font-weight: 500; overflow-wrap: anywhere; }
.ag-drawer-links a:hover { background: #f1f5eb; color: #326347; }
.ag-drawer-links .ag-color-swatch { flex-basis: 16px; width: 16px; height: 16px; box-shadow: none; }
.ag-drawer-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 21px 0; }
.ag-drawer-quick > a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 9px 13px; border: 1px solid #e1e8d9; border-radius: 22px; background: #f5f7ef; color: #56714a; font-size: 13px; line-height: 1.5; font-weight: 600; }
.ag-drawer-quick > a:hover { background: #eaf0e1; }
.ag-drawer-quick svg { width: 16px; height: 16px; }
.ag-drawer-quick > a > svg:last-child { display: none; }
.ag-drawer-feature { display: flex; align-items: center; gap: 15px; min-height: 104px; margin-bottom: 23px; overflow: hidden; border: 1px solid #e6eadd; border-radius: 11px; background: #f1f3e9; }
.ag-drawer-feature > img { width: 96px; height: 108px; flex: 0 0 96px; object-fit: cover; }
.ag-drawer-feature > div { min-width: 0; padding: 13px 13px 13px 0; }
.ag-drawer-feature strong { display: block; margin-bottom: 6px; color: #3d5539; font-size: 16px; line-height: 1.35; font-weight: 700; }
.ag-drawer-feature span { display: block; color: #79816e; font-size: 12px; line-height: 1.55; }
.ag-drawer-account { display: flex; flex-direction: column; gap: 3px; padding-top: 13px; border-top: 1px solid #e6ebde; }
.ag-drawer-account > a { display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 10px 2px; color: #62735a; font-size: 14px; line-height: 1.5; font-weight: 500; }
.ag-drawer-account svg { width: 19px; height: 19px; color: #86967a; }
.ag-drawer-account > a:hover { color: #2e6244; }
.ag-drawer-meta { margin-top: 17px; padding: 15px 0 0; border-top: 1px solid #e8ecdf; }
.ag-drawer-meta p { margin: 0 0 12px; color: #6c7965; font-size: 12px; line-height: 1.7; }
.ag-drawer-meta p:last-child { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; }
.ag-drawer-meta a:hover { color: var(--dark-green); text-decoration: underline; }
.ag-drawer-meta svg { width: 13px; height: 13px; }
.ag-drawer-section > summary:focus-visible { outline: 3px solid #82b9a3; outline-offset: 2px; border-radius: 6px; }

@media (min-width: 1025px) and (max-width: 1200px) {
    .ag-navigation { gap: 10px; }
    .ag-nav-trigger, .ag-navigation > .ag-nav-link { padding-inline: 6px; font-size: 13px; }
    .ag-navigation .nav-all { padding-inline: 10px; font-size: 13px; }
    .ag-navigation > .nav-note { display: none; }
    .ag-mega-panel { padding: 28px 28px 0; }
    .ag-mega-grid { gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 1.35fr); }
    .ag-navigation .ag-menu-links a { font-size: 14px; }
    .ag-material-grid { gap: 12px; }
    .ag-navigation .ag-material-link { padding: 12px; gap: 10px; }
    .ag-material-link > img { width: 54px; flex-basis: 54px; height: 74px; }
    .ag-material-link strong { font-size: 14px; }
    .ag-color-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .ag-size-link strong { font-size: 19px; }
}
@media (max-width: 1024px) {
    .main-nav.ag-navigation, .main-nav.ag-navigation.is-open { display: none !important; }
    .ag-menu-scrim { display: none; }
    .mobile-menu { display: inline-flex !important; width: 25px; height: 30px; padding: 0; color: #3c5a45; }
    .mobile-menu svg { width: 25px; height: 25px; }
    .header-main { display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; height: auto; min-height: 80px; gap: 14px; padding-top: 17px; padding-bottom: 15px; }
    .header-main > .brand { gap: 9px; justify-self: start; }
    .header-main .brand-name { font-size: 28px; }
    .header-main .brand-mark { width: 32px; height: 32px; }
    .header-main .brand small { font-size: 8px; letter-spacing: .7px; }
    .header-actions { gap: 18px; }
    .header-actions .header-action:first-child { display: none; }
    .header-action > span:not(.cart-count) { display: none; }
    .header-action svg { width: 22px; height: 22px; }
    .cart-count, .favorite-count { right: -7px; top: -7px; }
    .header-search { grid-row: 2; grid-column: 1 / -1; min-width: 0; margin-top: 3px; }
    .header-search input { padding: 12px 17px; font-size: 16px; }
    .header-search button { padding: 10px 14px; }
    .header-search svg { width: 21px; height: 21px; }
}
@media (max-width: 780px) {
    .header-main { gap: 12px; padding-top: 16px; padding-bottom: 13px; }
    .header-main > .brand { gap: 8px; }
    .header-main .brand-name { font-size: 25px; }
    .header-main .brand-mark { width: 29px; height: 29px; }
    .header-main .brand small { font-size: 7.5px; letter-spacing: .6px; }
    .header-actions { gap: 15px; }
    .header-search input { padding: 11px 16px; }
    .header-search button { padding: 9px 13px; }
}
@media (max-width: 380px) {
    .header-main { gap: 9px; }
    .header-main > .brand { gap: 6px; }
    .header-main .brand-mark { width: 27px; height: 27px; }
    .header-actions { gap: 12px; }
    .ag-drawer-header { padding-inline: 18px; }
    .ag-drawer-header .brand-name { font-size: 25px; }
    .ag-drawer-header .brand-mark { width: 27px; height: 27px; }
    .ag-drawer-scroll { padding-inline: 18px; }
    .ag-drawer-primary { font-size: 14px; padding-inline: 12px; }
    .ag-drawer-links { padding-left: 35px; gap: 2px 6px; }
    .ag-drawer-links a { font-size: 13px; padding-inline: 3px; }
    .ag-drawer-feature { gap: 12px; }
    .ag-drawer-feature > img { width: 85px; flex-basis: 85px; }
    .ag-drawer-feature strong { font-size: 15px; }
}
@keyframes ag-scrim-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ag-mega-in { from { opacity: 0; transform: translate(-50%, -5px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes ag-drawer-in { from { opacity: .8; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
    .ag-menu-scrim, .ag-mega-panel, .ag-mobile-drawer[open] { animation: none; }
    .ag-navigation *, .ag-mobile-drawer * { transition: none !important; }
}
