:root {
    --rdu-header-green: #0d4b3a;
    --rdu-header-green-dark: #083a2d;
    --rdu-header-green-soft: #eaf3ed;
    --rdu-header-gold: #c49a45;
    --rdu-header-ink: #18251f;
}

.rdu-site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    width: 100%;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(13, 75, 58, .10);
    box-shadow: 0 5px 22px rgba(16, 45, 33, .045);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.rdu-header-main { width: 100%; }
.rdu-header-inner {
    width: min(1240px, calc(100% - 48px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.rdu-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
    color: var(--rdu-header-green);
    text-decoration: none;
}
.rdu-brand-mark {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    color: #4c9b45;
}
.rdu-brand-mark svg { display: block; width: 100%; height: 100%; }
.rdu-brand-wordmark { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.rdu-brand-name {
    color: var(--rdu-header-green-dark);
    font-size: 29px;
    line-height: 1;
    letter-spacing: -.075em;
    font-weight: 850;
}
.rdu-brand-divider { width: 1px; height: 21px; background: #cbd8ce; transform: translateY(2px); }
.rdu-brand-subname {
    color: #315b48;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .16em;
    font-weight: 750;
}

.rdu-desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 3.2vw, 43px); margin-left: auto; margin-right: auto; }
.rdu-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: #53635a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
    transition: color .18s ease;
}
.rdu-nav-link::after {
    position: absolute;
    right: 0;
    bottom: 1px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--rdu-header-gold);
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .18s ease;
}
.rdu-nav-link:hover, .rdu-nav-link.is-active { color: var(--rdu-header-green); }
.rdu-nav-link:hover::after, .rdu-nav-link.is-active::after { transform: scaleX(1); }

.rdu-header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.rdu-cart-link {
    min-height: 47px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 17px;
    color: #fff;
    background: var(--rdu-header-green);
    border: 1px solid var(--rdu-header-green);
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
    box-shadow: 0 5px 13px rgba(13, 75, 58, .13);
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.rdu-cart-link:hover { color: #fff; background: var(--rdu-header-green-dark); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(13, 75, 58, .18); }
.rdu-cart-link.is-active { background: var(--rdu-header-green-dark); }
.rdu-cart-icon { width: 19px; height: 19px; display: inline-flex; }
.rdu-cart-icon svg { width: 100%; height: 100%; }
.rdu-cart-count {
    min-width: 21px;
    height: 21px;
    display: inline-grid;
    place-items: center;
    padding: 0 5px;
    color: var(--rdu-header-green-dark);
    background: #e5f1df;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.rdu-menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    background: #f2f6f2;
    border: 1px solid #e0e9e1;
    border-radius: 13px;
    cursor: pointer;
}
.rdu-menu-toggle span { width: 18px; height: 2px; display: block; background: var(--rdu-header-green); border-radius: 4px; transition: transform .18s ease, opacity .18s ease; }
.rdu-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.rdu-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.rdu-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

.rdu-mobile-menu { display: none; border-top: 1px solid #edf1ed; background: #fff; }
.rdu-mobile-menu[hidden] { display: none !important; }
.rdu-mobile-nav { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 9px 0 15px; }
.rdu-mobile-nav-link {
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 13px;
    color: #43544a;
    border-bottom: 1px solid #f0f3f0;
    border-radius: 9px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
}
.rdu-mobile-nav-link:last-child { border-bottom: 0; }
.rdu-mobile-nav-link > span[aria-hidden="true"] { color: #8a9a8f; font-size: 22px; font-weight: 400; }
.rdu-mobile-nav-link.is-active { color: var(--rdu-header-green); background: #f1f7f1; }
.rdu-mobile-cart-count { min-width: 23px; height: 23px; display: inline-grid; place-items: center; padding: 0 6px; color: #fff; background: var(--rdu-header-green); border-radius: 999px; font-size: 11px; font-weight: 800; }

.rdu-site-header a:focus-visible, .rdu-site-header button:focus-visible { outline: 3px solid rgba(196, 154, 69, .55); outline-offset: 3px; }

@media (max-width: 820px) {
    .rdu-header-inner { width: min(100% - 32px, 1240px); min-height: 72px; gap: 12px; }
    .rdu-desktop-nav { display: none; }
    .rdu-header-actions { margin-left: auto; gap: 9px; }
    .rdu-menu-toggle { display: inline-flex; }
    .rdu-mobile-menu:not([hidden]) { display: block; }
    .rdu-cart-link { min-height: 43px; padding: 0 12px; gap: 7px; }
    .rdu-cart-label { font-size: 13px; }
}

@media (max-width: 420px) {
    .rdu-header-inner { width: calc(100% - 24px); min-height: 66px; }
    .rdu-brand { gap: 7px; }
    .rdu-brand-mark { width: 35px; height: 35px; }
    .rdu-brand-name { font-size: 24px; }
    .rdu-brand-divider { height: 17px; }
    .rdu-brand-subname { font-size: 10px; letter-spacing: .13em; }
    .rdu-cart-link { width: 43px; min-width: 43px; padding: 0; gap: 0; border-radius: 13px; }
    .rdu-cart-label { display: none; }
    .rdu-cart-count { min-width: 18px; height: 18px; margin-left: -5px; font-size: 10px; }
    .rdu-menu-toggle { width: 43px; height: 43px; }
}

@media (prefers-reduced-motion: reduce) {
    .rdu-site-header *, .rdu-site-header *::before, .rdu-site-header *::after { transition-duration: .01ms !important; }
}
