/*
   GreenerPasture V2 design system
   Safe to load alongside the existing site styles while V2 is being tested.
*/
:root {
    --gp-green: #315c3a;
    --gp-green-dark: #21442a;
    --gp-green-deep: #183622;
    --gp-green-soft: #edf3e9;
    --gp-cream: #f7f5ef;
    --gp-cream-dark: #ece8dc;
    --gp-gold: #b59a5a;
    --gp-text: #263027;
    --gp-muted: #687168;
    --gp-border: #d9ddd4;
    --gp-white: #ffffff;
    --gp-danger: #b33a32;
    --gp-shadow: 0 8px 24px rgba(27, 47, 32, .08);
    --gp-radius: 10px;
    --gp-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100%;
    background: var(--gp-cream);
    color: var(--gp-text);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.gp-menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a, a:link {
    color: var(--gp-green);
    font-weight: 600;
    text-decoration: none;
}
a:hover, a:focus { color: var(--gp-green-dark); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid rgba(181, 154, 90, .55);
    outline-offset: 2px;
}

.gp-header {
    position: relative;
    z-index: 1000;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--gp-border);
    box-shadow: 0 1px 10px rgba(25, 45, 30, .04);
}
.gp-header-inner {
    width: min(var(--gp-max), calc(100% - 40px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}
.gp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gp-green-deep);
    flex: 0 0 auto;
}
.gp-brand:hover { text-decoration: none; color: var(--gp-green-deep); }
.gp-brand-logo {
    width: 54px;
    max-height: 62px;
    object-fit: contain;
}
.gp-brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.gp-brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .045em;
}
.gp-brand-tagline {
    margin-top: 4px;
    color: var(--gp-muted);
    font-size: 12px;
    letter-spacing: .02em;
}
.gp-seasonal-badge {
    margin-left: auto;
    padding: 5px 10px;
    border: 1px solid #ddd5ba;
    border-radius: 999px;
    background: #fbf8ed;
    color: #6f5b25;
    font-size: 12px;
    white-space: nowrap;
}
.gp-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-left: auto;
}
.gp-nav-group { position: relative; }
.gp-nav-group > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    color: var(--gp-green-deep);
    font-weight: 600;
}
.gp-nav-group > a:hover { text-decoration: none; color: var(--gp-green); }
.gp-nav-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 220px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--gp-border);
    border-radius: 8px;
    box-shadow: var(--gp-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.gp-nav-group:hover .gp-nav-menu,
.gp-nav-group:focus-within .gp-nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.gp-nav-menu a {
    display: block;
    padding: 9px 10px;
    color: var(--gp-text);
    font-size: 14px;
    border-radius: 6px;
}
.gp-nav-menu a:hover { background: var(--gp-green-soft); text-decoration: none; }
.gp-account { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.gp-account-link { font-size: 13px; }
.gp-menu-button { display: none; }

.gp-main { min-height: 60vh; }
.gp-container {
    width: min(var(--gp-max), calc(100% - 40px));
    margin: 0 auto;
}

.gp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.gp-button:hover { text-decoration: none; transform: translateY(-1px); }
.gp-button-primary { background: var(--gp-green); color: #fff !important; }
.gp-button-primary:hover { background: var(--gp-green-dark); }
.gp-button-outline { background: #fff; color: var(--gp-green) !important; border-color: var(--gp-green); }
.gp-button-outline:hover { background: var(--gp-green-soft); }
.gp-button-small { min-height: 38px; padding: 8px 14px; font-size: 13px; }
.gp-button-wide { width: 100%; }

/* Shared legacy-compatible validation classes */
.validation-summary-errors, .field-validation-error, .input-validation-error { color: var(--gp-danger); font-weight: 700; }

/* Footer */
.gp-footer {
    margin-top: 64px;
    padding: 44px 0 24px;
    background: var(--gp-green-deep);
    color: #eaf0e9;
}
.gp-footer-inner { width: min(var(--gp-max), calc(100% - 40px)); margin: 0 auto; }
.gp-footer-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}
.gp-footer-kicker { color: #b9cdbd; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.gp-footer h2, .gp-footer h3 { margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; }
.gp-footer h2 { margin-top: 2px; font-size: 26px; }
.gp-footer h3 { margin-bottom: 12px; font-size: 16px; }
.gp-footer-search-box { width: min(480px, 100%); }
.gp-footer-search-box .gsc-control-cse { padding: 0 !important; border: 0 !important; background: transparent !important; }
.gp-footer-search-box .gsc-input-box { border-radius: 6px; }
.gp-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    padding: 36px 0;
}
.gp-footer-grid a { display: block; margin: 7px 0; color: #dbe7dc; font-size: 14px; font-weight: 500; }
.gp-footer-grid a:hover { color: #fff; }
.gp-footer-note {
    padding: 20px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    color: #cbd8cd;
    font-size: 13px;
}
.gp-footer-note strong { display: block; margin-bottom: 6px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.gp-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0 10px;
}
.gp-footer-bottom a { margin-right: 18px; color: #dbe7dc; font-size: 12px; }
.gp-footer-social a { margin-right: 0; margin-left: 18px; }
.gp-footer-copyright { margin: 10px 0 0; color: #9fb0a1; font-size: 11px; }

@media (max-width: 1020px) {
    .gp-header-inner { gap: 14px; }
    .gp-brand-name { font-size: 20px; }
    .gp-brand-logo { width: 46px; }
    .gp-nav-group > a { padding: 8px 8px; font-size: 14px; }
    .gp-account-link { display: none; }
}

@media (max-width: 820px) {
    .gp-header-inner { min-height: 68px; }
    .gp-seasonal-badge { display: none; }
    .gp-menu-button {
        display: inline-flex;
        margin-left: auto;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        border: 1px solid var(--gp-border);
        border-radius: 7px;
        background: #fff;
    }
    .gp-menu-button span { width: 20px; height: 2px; background: var(--gp-green-deep); border-radius: 2px; transition: transform .15s ease; }
    .gp-menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .gp-menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .gp-menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .gp-nav {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
        padding: 10px 20px 24px;
        background: #fff;
        border-bottom: 1px solid var(--gp-border);
        box-shadow: 0 12px 28px rgba(27,47,32,.12);
    }
    .gp-nav.gp-nav-open { display: flex; }
    .gp-nav-group { border-bottom: 1px solid var(--gp-border); }
    .gp-nav-group > a { display: block; padding: 14px 4px; }
    .gp-nav-menu {
        position: static;
        min-width: 0;
        padding: 0 0 8px 12px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .gp-nav-menu a { padding: 7px 4px; }
    .gp-account { margin-left: 0; }
    .gp-account .gp-button { white-space: nowrap; }
    .gp-brand-tagline { display: none; }
}

@media (max-width: 620px) {
    .gp-header-inner, .gp-container, .gp-footer-inner { width: min(100% - 24px, var(--gp-max)); }
    .gp-brand-name { font-size: 18px; }
    .gp-brand-logo { width: 40px; max-height: 48px; }
    .gp-account .gp-button { padding: 8px 11px; }
    .gp-footer-search { align-items: stretch; flex-direction: column; }
    .gp-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .gp-footer-bottom { flex-direction: column; }
    .gp-footer-social a { margin-left: 0; margin-right: 18px; }
}

@media (max-width: 420px) {
    .gp-footer-grid { grid-template-columns: 1fr; }
}
