@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap");

:root {
    --cc-ink: #171914;
    --cc-paper: #f3efe5;
    --cc-cream: #fff9ed;
    --cc-coral: #ff5c45;
    --cc-lime: #d9f56b;
    --cc-forest: #2a3a33;
    --cc-muted: #686b63;
    --cc-line: rgba(23, 25, 20, 0.18);
    --cc-sans: "DM Sans", sans-serif;
    --cc-serif: "DM Serif Display", serif;
}

.cc-global-header,
.cc-global-footer {
    font-family: var(--cc-sans);
}

.cc-global-header {
    align-items: center;
    background: var(--cc-forest);
    color: white;
    display: grid;
    gap: 2rem;
    grid-template-columns: 142px 1fr auto;
    min-height: 78px;
    padding: 0.85rem clamp(1.2rem, 4vw, 4rem);
    position: relative;
    z-index: 1000;
}

.cc-global-brand {
    align-items: center;
    display: flex;
    gap: 0.7rem;
    text-decoration: none;
}

.cc-global-brand-wordmark {
    filter: brightness(0) invert(1);
    height: auto;
    opacity: 0.9;
    width: 92px;
}

.cc-global-brand-heart {
    align-items: center;
    background: var(--cc-lime);
    border-radius: 50%;
    display: flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.cc-global-brand-heart img {
    height: 24px;
    object-fit: contain;
    width: 17px;
}

.cc-global-nav {
    align-items: center;
    display: flex;
    gap: clamp(1rem, 2.3vw, 2.25rem);
    justify-content: center;
}

.cc-global-nav a,
.cc-global-header-cta {
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-decoration: none;
    text-transform: uppercase;
}

.cc-global-nav a:hover {
    color: var(--cc-lime);
}

.cc-global-header-cta {
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    padding: 0.35rem 0;
}

.cc-global-header-cta:hover {
    border-color: var(--cc-lime);
    color: var(--cc-lime);
}

.cc-mobile-menu {
    display: none;
    position: relative;
}

.cc-mobile-menu summary {
    color: white;
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    list-style: none;
    padding: 0.5rem 0;
    text-transform: uppercase;
}

.cc-mobile-menu summary::-webkit-details-marker {
    display: none;
}

.cc-mobile-menu summary::after {
    content: " +";
    color: var(--cc-lime);
}

.cc-mobile-menu[open] summary::after {
    content: " −";
}

.cc-mobile-menu nav {
    align-content: start;
    background: var(--cc-forest);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    left: 0;
    min-height: calc(100vh - 68px);
    padding: 1rem clamp(1.2rem, 4vw, 4rem) 1.5rem;
    position: fixed;
    top: 68px;
    width: 100vw;
}

.cc-mobile-menu nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.8rem 0;
    text-decoration: none;
    text-transform: uppercase;
}

.cc-global-footer {
    background: var(--cc-ink);
    color: white;
    padding: 4.5rem clamp(1.2rem, 6vw, 6rem) 2rem;
}

.cc-global-footer-main {
    align-items: end;
    display: flex;
    gap: 3rem;
    justify-content: space-between;
}

.cc-global-footer-brand {
    display: block;
    width: min(310px, 58vw);
}

.cc-global-footer-brand img {
    display: block;
    filter: brightness(0) invert(1);
    height: auto;
    opacity: 0.9;
    width: 100%;
}

.cc-global-footer-tagline {
    color: var(--cc-lime);
    font-family: var(--cc-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-style: italic;
    line-height: 1;
    text-align: right;
}

.cc-global-footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    font-size: 0.72rem;
    gap: 2rem;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 1.3rem;
    text-transform: uppercase;
}

.cc-global-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
}

.cc-global-footer a {
    color: white;
    text-decoration: none;
}

.cc-global-footer a:hover {
    color: var(--cc-lime);
}

.cc-brand-page {
    background: var(--cc-paper);
    color: var(--cc-ink);
    font-family: var(--cc-sans);
}

.cc-brand-page h1,
.cc-brand-page h2,
.cc-brand-page h3 {
    letter-spacing: -0.035em;
}

.cc-brand-serif {
    font-family: var(--cc-serif);
    font-style: italic;
    font-weight: 400;
}

/* Purchase funnel (product, cart, checkout). product.php has a pre-existing
   unbalanced brace in its inline stylesheet that silently drops trailing rules,
   so the funnel overrides have to live in this file to take effect. */
.cc-funnel .product-title,
.cc-funnel .product-price,
.cc-funnel .hook-question,
.cc-funnel .cart-section-title,
.cc-funnel .cart-item-title-link {
    color: var(--cc-ink);
}

.cc-funnel .hook-subtitle {
    color: var(--cc-forest);
}

.cc-funnel .eyebrow {
    color: var(--cc-muted);
}

.cc-funnel .primary-cta,
.cc-funnel .checkout-btn,
.cc-funnel .continue-shopping-btn,
.cc-funnel .submit-btn {
    background: var(--cc-coral);
    border-radius: 999px;
    box-shadow: none;
}

.cc-funnel .secondary-cta {
    border-color: var(--cc-ink);
    border-radius: 999px;
    box-shadow: none;
    color: var(--cc-ink);
}

.cc-funnel .product-cross-sell {
    background: var(--cc-cream);
}

.cc-funnel .cart-item-price {
    color: var(--cc-coral);
}

.cc-funnel .progress-step.active .progress-step-number {
    background: var(--cc-coral);
}

.cc-page-intro {
    background: var(--cc-paper);
    padding: clamp(4rem, 8vw, 7rem) 5%;
    text-align: center;
}

.cc-page-intro-label {
    color: var(--cc-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.cc-page-intro h1 {
    color: var(--cc-ink);
    font-family: var(--cc-sans);
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 500;
    line-height: 0.95;
    margin: 0;
}

.cc-page-intro p {
    color: var(--cc-muted);
    font-size: 1.05rem;
    margin: 1.5rem auto 0;
    max-width: 620px;
}

@media (max-width: 820px) {
    .cc-global-header {
        gap: 1rem;
        grid-template-columns: 1fr auto auto;
        min-height: 68px;
    }

    .cc-global-nav {
        display: none;
    }

    .cc-mobile-menu {
        display: block;
    }

    .cc-global-brand-wordmark {
        width: 78px;
    }

    .cc-global-brand-heart {
        height: 30px;
        width: 30px;
    }

    .cc-global-footer-main,
    .cc-global-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .cc-global-footer-tagline {
        text-align: left;
    }
}

@media (max-width: 430px) {
    .cc-global-brand-heart {
        display: none;
    }

    .cc-global-header-cta {
        display: none;
    }
}
