

@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,400..700&family=DM+Mono:wght@300;400;500&display=swap');


/* ============================================================
   TOKENS — identical to the home page
============================================================= */

.gd-header {
    --gd-porcelain: #f1f3f2;
    --gd-porcelain-deep: #e8ecec;
    --gd-white: #ffffff;

    --gd-ink: #0e1a24;
    --gd-ink-2: #374a58;
    --gd-muted: #74858f;
    --gd-faint: #9aa8b0;

    --gd-blue: #2f6db5;
    --gd-blue-deep: #1b4a80;
    --gd-blue-pale: #dfe9f2;

    --gd-line: #dde2e2;
    --gd-line-2: #eaeeee;

    --gd-container: 1280px;
    --gd-gutter: 28px;

    --gd-h: 76px;

    --gd-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    position: relative;
    z-index: 9999;
    width: 100%;

    font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-stretch: 100%;
    color: var(--gd-ink-2);
    -webkit-font-smoothing: antialiased;
}

.gd-header,
.gd-header *,
.gd-header *::before,
.gd-header *::after { box-sizing: border-box; }

.gd-header a { text-decoration: none; color: inherit; }
.gd-header button { font: inherit; }

.gd-header-wrap {
    width: min(var(--gd-container), calc(100% - (var(--gd-gutter) * 2)));
    margin-inline: auto;
}

.gd-mono {
    font-family: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gd-sr {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}


/* ============================================================
   ANNOUNCEMENT BAR
   Dark, thin, quiet. Frames the porcelain hero underneath it.
============================================================= */

.gd-announce {
    background: var(--gd-ink);
    color: #93a9b8;
}

.gd-announce-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 34px;
}

.gd-announce-msg {
    display: flex;
    align-items: center;
    gap: 11px;
}

.gd-announce-msg i {
    width: 5px; height: 5px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--gd-blue);
}

.gd-announce-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.gd-announce-links a { transition: color 0.2s var(--gd-ease); }
.gd-announce-links a:hover { color: #fff; }


/* ============================================================
   NAV BAR
============================================================= */

.gd-bar {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--gd-white);
    border-bottom: 1px solid var(--gd-line);
}

.gd-nav {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    gap: 30px;
    min-height: var(--gd-h);
    transition: min-height 0.3s var(--gd-ease);
}

/* condense on scroll */
.gd-bar.gd-stuck { --gd-h: 62px; }
.gd-bar.gd-stuck .gd-logo-tag { opacity: 0; transform: translateY(-3px); }


/* ------------------------------------------------------------
   LOGO
------------------------------------------------------------- */

.gd-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: max-content;
}

.gd-logo-mark {
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    flex: 0 0 auto;
    border: 1px solid var(--gd-line);
    border-radius: 2px;
    background: var(--gd-porcelain);
    transition: background-color 0.24s var(--gd-ease), border-color 0.24s var(--gd-ease);
}

.gd-logo:hover .gd-logo-mark { background: var(--gd-blue-pale); border-color: #cddced; }
.gd-logo-mark svg { width: 24px; height: 24px; }

.gd-logo-copy { display: flex; flex-direction: column; line-height: 1; }

.gd-logo-name {
    color: var(--gd-ink);
    font-size: 20px;
    font-weight: 500;
    font-stretch: 118%;
    letter-spacing: -0.04em;
}

.gd-logo-name span { color: var(--gd-blue-deep); }

.gd-logo-tag {
    margin-top: 6px;
    color: var(--gd-faint);
    font-size: 8.5px;
    letter-spacing: 0.2em;
    transition: opacity 0.3s var(--gd-ease), transform 0.3s var(--gd-ease);
}


/* ------------------------------------------------------------
   DESKTOP MENU
------------------------------------------------------------- */

.gd-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0; padding: 0;
    list-style: none;
}

.gd-menu-item { position: relative; }

.gd-menu-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: var(--gd-h);
    padding: 0 16px;
    color: var(--gd-ink-2);
    font-size: 14px;
    font-weight: 450;
    letter-spacing: -0.005em;
    white-space: nowrap;
    transition: color 0.2s var(--gd-ease), min-height 0.3s var(--gd-ease);
}

.gd-menu-link:hover,
.gd-menu-item.gd-is-open > .gd-menu-link { color: var(--gd-ink); }

.gd-menu-link::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 22px;
    height: 1px;
    background: var(--gd-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s var(--gd-ease);
}

.gd-menu-link:hover::after,
.gd-menu-item.gd-is-open > .gd-menu-link::after { transform: scaleX(1); }

/* WordPress can add .gd-current to the active item */
.gd-menu-link.gd-current { color: var(--gd-ink); }
.gd-menu-link.gd-current::after { background: var(--gd-ink); transform: scaleX(1); }

.gd-caret { width: 12px; height: 12px; transition: transform 0.24s var(--gd-ease); }
.gd-menu-item.gd-is-open .gd-caret { transform: rotate(180deg); }


/* ------------------------------------------------------------
   DROPDOWN
   The mono meta column mirrors the concern cards on the home
   page, so the ingredient names stay consistent site-wide.
------------------------------------------------------------- */

.gd-drop {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    width: 306px;
    padding: 8px;
    background: var(--gd-white);
    border: 1px solid var(--gd-line);
    border-radius: 2px;
    box-shadow: 0 22px 44px rgba(14, 26, 36, 0.09);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 6px);
    transition: opacity 0.2s var(--gd-ease),
                transform 0.2s var(--gd-ease),
                visibility 0.2s var(--gd-ease);
}

.gd-menu-item.gd-is-open .gd-drop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.gd-drop-head {
    padding: 10px 12px 12px;
    color: var(--gd-faint);
    border-bottom: 1px solid var(--gd-line-2);
    margin-bottom: 6px;
}

.gd-drop a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
    border-radius: 2px;
    color: var(--gd-ink-2);
    font-size: 13.5px;
    font-weight: 450;
    transition: background-color 0.18s var(--gd-ease), color 0.18s var(--gd-ease);
}

.gd-drop a:hover { background: var(--gd-porcelain); color: var(--gd-ink); }

.gd-drop-meta {
    flex: 0 0 auto;
    color: var(--gd-faint);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gd-drop a:hover .gd-drop-meta { color: var(--gd-blue-deep); }


/* ------------------------------------------------------------
   ACTIONS
------------------------------------------------------------- */

.gd-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
}

.gd-action {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: var(--gd-ink);
    cursor: pointer;
    transition: background-color 0.2s var(--gd-ease), color 0.2s var(--gd-ease);
}

.gd-action:hover { background: var(--gd-porcelain); color: var(--gd-blue-deep); }
.gd-action svg { width: 19px; height: 19px; stroke: currentColor; }

.gd-cart-count {
    position: absolute;
    top: 5px; right: 3px;
    display: grid;
    place-items: center;
    min-width: 15px; height: 15px;
    padding: 0 3px;
    border-radius: 2px;
    background: var(--gd-blue);
    color: #fff;
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 8.5px;
    letter-spacing: 0;
}

.gd-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    margin-left: 12px;
    padding: 0 20px;
    border: 1px solid var(--gd-ink);
    border-radius: 2px;
    background: var(--gd-ink);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.22s var(--gd-ease), border-color 0.22s var(--gd-ease);
}

.gd-cta:hover { background: var(--gd-blue-deep); border-color: var(--gd-blue-deep); color: #fff; }
.gd-cta svg { width: 13px; height: 13px; }


/* ------------------------------------------------------------
   MOBILE TOGGLE
------------------------------------------------------------- */

.gd-burger {
    display: none;
    width: 40px; height: 40px;
    margin-left: 4px;
    padding: 0;
    border: 1px solid var(--gd-line);
    border-radius: 2px;
    background: var(--gd-white);
    color: var(--gd-ink);
    cursor: pointer;
}

.gd-burger span {
    display: block;
    width: 16px; height: 1.5px;
    margin: 4px auto;
    background: currentColor;
    transition: transform 0.26s var(--gd-ease), opacity 0.2s var(--gd-ease);
}

.gd-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.gd-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.gd-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }


/* ============================================================
   MOBILE PANEL
============================================================= */

.gd-panel {
    position: fixed;
    left: 0; right: 0;
    top: var(--gd-panel-top, 110px);
    bottom: 0;
    z-index: 9998;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--gd-white);
    border-top: 1px solid var(--gd-line);
}

.gd-panel[hidden] { display: none; }

.gd-panel-inner { padding: 8px var(--gd-gutter) 40px; }

.gd-panel a,
.gd-panel summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 56px;
    padding: 0 2px;
    border-bottom: 1px solid var(--gd-line-2);
    color: var(--gd-ink);
    font-size: 15.5px;
    font-weight: 450;
}

.gd-panel summary {
    cursor: pointer;
    list-style: none;
}

.gd-panel summary::-webkit-details-marker { display: none; }

.gd-panel summary .gd-caret { transition: transform 0.26s var(--gd-ease); }
.gd-panel details[open] > summary .gd-caret { transform: rotate(180deg); }
.gd-panel details[open] > summary { border-bottom-color: transparent; }

.gd-panel-sub { padding: 2px 0 14px; }

.gd-panel-sub a {
    min-height: 46px;
    padding-left: 18px;
    border-bottom: 0;
    color: var(--gd-muted);
    font-size: 14px;
}

.gd-panel-sub a:active { color: var(--gd-ink); }

.gd-panel-meta {
    color: var(--gd-faint);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gd-panel-cta {
    justify-content: center !important;
    min-height: 52px !important;
    margin-top: 26px;
    border: 1px solid var(--gd-ink) !important;
    border-radius: 2px;
    background: var(--gd-ink);
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.gd-panel-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--gd-line);
    color: var(--gd-faint);
}

.gd-panel-foot a {
    min-height: 0;
    border-bottom: 0;
    padding: 0;
    color: var(--gd-muted);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}


/* ============================================================
   RESPONSIVE
============================================================= */

@media (max-width: 1080px) {

    .gd-header { --gd-h: 68px; }
    .gd-bar.gd-stuck { --gd-h: 60px; }

    .gd-nav { grid-template-columns: 1fr auto; }
    .gd-menu { display: none; }
    .gd-actions .gd-account { display: none; }
    .gd-cta { display: none; }
    .gd-burger { display: block; }

}

@media (max-width: 700px) {

    .gd-header { --gd-gutter: 18px; --gd-h: 64px; }

    .gd-announce-inner { justify-content: center; min-height: 32px; text-align: center; }
    .gd-announce-links { display: none; }
    .gd-announce-msg { font-size: 9px; }

    .gd-logo-mark { width: 33px; height: 33px; }
    .gd-logo-mark svg { width: 22px; height: 22px; }
    .gd-logo-name { font-size: 18px; }
    .gd-logo-tag { display: none; }

    .gd-action { width: 38px; height: 38px; }

}

@media (max-width: 400px) {
    .gd-actions .gd-search { display: none; }
}


/* ============================================================
   FOCUS + MOTION
============================================================= */

.gd-header a:focus-visible,
.gd-header button:focus-visible,
.gd-header summary:focus-visible {
    outline: 2px solid var(--gd-blue);
    outline-offset: 2px;
    border-radius: 1px;
}

.gd-announce a:focus-visible { outline-color: #8dbde9; }

html.gd-locked { overflow: hidden; }

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


/* Plugin: optional uploaded logo mark */
.gd-logo-mark img{display:block;width:100%;height:100%;object-fit:contain;padding:4px}
