:root {
    --whc-brown: #5f351d;
    --whc-brown-dark: #25160f;
    --whc-copper: #9f5b39;
    --whc-cream: #f6f3ee;
    --whc-sand: #d1b08c;
    --whc-stone: #70675f;
}

.whc-junk-drawer {
    background: var(--whc-brown-dark);
    color: rgba(246, 243, 238, 0.78);
    padding: clamp(3rem, 6vw, 5.5rem) 1.5rem clamp(2.5rem, 5vw, 4.5rem);
}

.whc-junk-drawer__inner {
    display: grid;
    grid-template-columns: minmax(280px, 1.65fr) repeat(3, minmax(150px, 0.8fr));
    gap: clamp(2rem, 4vw, 4.5rem);
    margin: 0 auto;
    max-width: 1290px;
}

.whc-junk-drawer__eyebrow,
.whc-buyer-login__eyebrow,
.whc-buyer-portal__eyebrow {
    color: var(--whc-sand);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin: 0 0 0.85rem;
    text-transform: uppercase;
}

.whc-junk-drawer h2 {
    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 3vw, 3.15rem);
    line-height: 1.05;
    margin: 0 0 1.25rem;
    max-width: 620px;
}

.whc-junk-drawer__brand > p:not(.whc-junk-drawer__eyebrow) {
    max-width: 560px;
}

.whc-junk-drawer h3 {
    color: #fff;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0 0 1.2rem;
    text-transform: uppercase;
}

.whc-junk-drawer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.whc-junk-drawer li + li {
    margin-top: 0.7rem;
}

.whc-junk-drawer a {
    color: var(--whc-cream);
    text-decoration-color: rgba(209, 176, 140, 0.45);
    text-underline-offset: 0.24em;
}

.whc-junk-drawer a:hover,
.whc-junk-drawer a:focus-visible {
    color: var(--whc-sand);
    text-decoration-color: currentColor;
}

.whc-junk-drawer__email {
    display: inline-block;
    font-weight: 600;
    margin-top: 0.6rem;
}

.site-footer,
.site-footer .site-bottom-footer-wrap {
    background: var(--whc-brown-dark);
    color: rgba(246, 243, 238, 0.68);
}

.site-footer .site-bottom-footer-wrap {
    border-top: 1px solid rgba(209, 176, 140, 0.18);
}

.site-footer .footer-html p {
    color: inherit;
    font-size: 0.82rem;
    margin: 0;
    text-align: center;
}

.whc-buyer-login {
    align-items: stretch;
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
    margin: 0 auto;
    max-width: 1180px;
    padding: clamp(3rem, 8vw, 7rem) 1.5rem;
}

.whc-buyer-login__intro {
    align-self: center;
}

.whc-buyer-login__intro h1,
.whc-buyer-login__card h1,
.whc-buyer-login__card h2 {
    color: var(--whc-brown);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    line-height: 1.02;
    margin: 0 0 1.25rem;
}

.whc-buyer-login__card h1,
.whc-buyer-login__card h2 {
    font-size: clamp(2.1rem, 3.2vw, 3.2rem);
}

.whc-buyer-login__intro > p:not(.whc-buyer-login__eyebrow) {
    color: var(--whc-stone);
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    max-width: 650px;
}

.whc-buyer-login__promises {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.whc-buyer-login__promises span {
    border: 1px solid rgba(95, 53, 29, 0.22);
    border-radius: 999px;
    color: var(--whc-brown);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.55rem 0.9rem;
    text-transform: uppercase;
}

.whc-buyer-login__card {
    align-self: center;
    background: #fff;
    border: 1px solid rgba(95, 53, 29, 0.12);
    border-radius: 18px;
    box-shadow: 0 24px 65px rgba(49, 30, 18, 0.11);
    padding: clamp(1.7rem, 4vw, 3.25rem);
}

.whc-buyer-login__card label {
    color: var(--whc-brown-dark);
    display: block;
    font-weight: 650;
    margin-bottom: 0.35rem;
}

.whc-buyer-login__card input[type="text"],
.whc-buyer-login__card input[type="password"] {
    background: #fff;
    border: 1px solid #cfc5bc;
    border-radius: 8px;
    box-sizing: border-box;
    min-height: 48px;
    padding: 0.75rem 0.9rem;
    width: 100%;
}

.whc-buyer-login__card .login-remember label {
    align-items: center;
    display: flex;
    font-size: 0.9rem;
    font-weight: 500;
    gap: 0.55rem;
}

.whc-buyer-login__card input[type="submit"],
.whc-buyer-login__button {
    background: var(--whc-brown);
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    padding: 0.85rem 1.2rem;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.whc-buyer-login__card input[type="submit"]:hover,
.whc-buyer-login__card input[type="submit"]:focus-visible,
.whc-buyer-login__button:hover,
.whc-buyer-login__button:focus-visible {
    background: var(--whc-brown-dark);
    color: #fff;
}

.whc-buyer-login__notice {
    background: #f8efe8;
    border-left: 4px solid var(--whc-copper);
    margin: 1rem 0;
    padding: 0.8rem 1rem;
}

.whc-buyer-login__help,
.whc-buyer-login__contact {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.whc-buyer-login__contact {
    border-top: 1px solid #ece5df;
    margin-top: 1.4rem;
    padding-top: 1.2rem;
}

.whc-buyer-login--signed-in {
    display: block;
    max-width: 760px;
}

.whc-buyer-portal__header {
    background: var(--whc-cream);
    border-left: 5px solid var(--whc-copper);
    margin-bottom: 2.5rem;
    padding: clamp(1.3rem, 3vw, 2.4rem);
}

.whc-buyer-portal__prepared {
    color: var(--whc-brown);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 0.8rem;
}

.whc-buyer-portal__help {
    border-top: 1px solid #ded5cc;
    margin-top: 3rem;
    padding-top: 1.4rem;
}

.whc-policy {
    margin: 0 auto;
    max-width: 920px;
    padding: clamp(2.5rem, 6vw, 5.5rem) 1.5rem;
}

.whc-policy-page .entry-hero {
    display: none;
}

.whc-policy-page .content-area {
    margin-top: 0;
}

.whc-policy__header {
    background: var(--whc-cream);
    border-top: 5px solid var(--whc-copper);
    margin-bottom: 2.8rem;
    padding: clamp(1.6rem, 4vw, 3.4rem);
}

.whc-policy__eyebrow {
    color: var(--whc-copper);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
}

.whc-policy h1 {
    color: var(--whc-brown);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 1;
    margin: 0 0 1rem;
}

.whc-policy h2 {
    color: var(--whc-brown);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    margin-bottom: 0.5rem;
}

.whc-policy section {
    border-bottom: 1px solid #e2d9d0;
    padding: 0.5rem 0 1.6rem;
}

.whc-policy__version {
    color: var(--whc-stone);
    font-size: 0.9rem;
}

.whc-policy__topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.5rem;
}

.whc-policy__topics span {
    background: #fff;
    border: 1px solid rgba(95, 53, 29, 0.16);
    border-radius: 999px;
    color: var(--whc-brown);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    padding: 0.45rem 0.72rem;
    text-transform: uppercase;
}

.whc-policy__footer {
    background: var(--whc-brown-dark);
    color: var(--whc-cream);
    margin-top: 2.5rem;
    padding: 1.4rem 1.6rem;
}

.whc-policy__footer a {
    color: var(--whc-sand);
}

.whc-form-policy {
    background: #f8f3ed;
    border: 1px solid #dfd0c2;
    border-radius: 6px;
    margin: 1rem 0;
    padding: 0.9rem 1rem;
}

.whc-form-policy > label:not(.whc-form-honeypot) {
    align-items: flex-start;
    display: flex;
    font-size: 0.9rem;
    font-weight: 500;
    gap: 0.65rem;
    margin: 0;
}

.whc-form-policy input[type="checkbox"] {
    flex: 0 0 20px;
    height: 20px;
    margin-top: 0.15rem;
    width: 20px;
}

.whc-form-honeypot {
    height: 1px !important;
    left: -10000px !important;
    opacity: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    top: auto !important;
    width: 1px !important;
}

.whc-inquiry-status {
    border-radius: 6px;
    font-weight: 650;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
}

.whc-inquiry-status--working {
    background: #eef3f7;
    color: #334155;
}

.whc-inquiry-status--success {
    background: #eaf5ed;
    color: #165b2b;
}

.whc-inquiry-status--warning {
    background: #fff5db;
    color: #6e4b00;
}

.whc-inquiry-status--error {
    background: #fdecea;
    color: #8a1c13;
}

@media (max-width: 960px) {
    .whc-junk-drawer__inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .whc-junk-drawer__brand {
        grid-column: 1 / -1;
    }

    .whc-buyer-login {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .whc-junk-drawer__inner {
        grid-template-columns: 1fr;
    }

    .whc-junk-drawer__brand {
        grid-column: auto;
    }

    .whc-junk-drawer__group {
        border-top: 1px solid rgba(209, 176, 140, 0.18);
        padding-top: 1.4rem;
    }

    .whc-buyer-login {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .whc-policy {
        padding: 1rem 0.75rem 2.5rem;
    }

    .whc-policy__header {
        margin-bottom: 1.6rem;
        padding: 1.35rem;
    }

    .whc-policy h1 {
        font-size: clamp(2.55rem, 14vw, 3.6rem);
    }

    .whc-policy h2 {
        font-size: clamp(1.55rem, 8vw, 2rem);
        line-height: 1.08;
    }

    .whc-policy section {
        padding-bottom: 1.2rem;
    }
}

@media print {
    .site-header,
    .whc-junk-drawer,
    .site-footer {
        display: none !important;
    }

    .whc-policy {
        max-width: none;
        padding: 0;
    }

    .whc-policy__header {
        background: #fff;
        border-top-color: #000;
        padding: 1rem 0;
    }

    .whc-policy section {
        break-inside: avoid;
    }

    .whc-policy__footer {
        background: #fff;
        border-top: 2px solid #000;
        color: #000;
    }
}
