/*
Theme Name: Central Coast Storefront
Description: A lightweight Storefront child theme for Central Coast Seasonings.
Author: Central Coast Seasonings
Template: storefront
Version: 1.0.0
Text Domain: central-coast-storefront
*/

:root {
    --ccs-cream: #f7f1e7;
    --ccs-paper: #fffdf8;
    --ccs-ink: #201c18;
    --ccs-rust: #a63d2f;
    --ccs-rust-dark: #7f2b21;
    --ccs-gold: #d6a344;
    --ccs-sage: #53644e;
    --ccs-line: #ded3c3;
}

body {
    background: var(--ccs-paper);
    color: var(--ccs-ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home.page .entry-header {
    display: none;
}

.home.page .site-main,
.page-template-template-fullwidth-php .site-main {
    margin-bottom: 0;
}

.home.page .content-area,
.page-template-template-fullwidth-php .content-area,
.woocommerce-page .content-area,
.blog .content-area,
.single-post .content-area {
    float: none;
    margin-right: 0;
    width: 100%;
}

h1, h2, h3, h4, .site-title, .woocommerce-loop-product__title {
    color: var(--ccs-ink);
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -0.02em;
}

.entry-title a {
    color: var(--ccs-rust-dark);
}

.entry-title a:hover {
    color: var(--ccs-rust);
}

.site-header {
    background: var(--ccs-paper);
    border-bottom: 1px solid var(--ccs-line);
    padding-bottom: 1.25rem;
    padding-top: 1.25rem;
}

.ccs-announcement {
    background: var(--ccs-rust-dark);
    color: #fff;
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .12em;
    padding: .7rem 1rem;
    text-align: center;
    text-transform: uppercase;
}

.site-branding .site-title a {
    color: var(--ccs-rust-dark);
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 700;
}

.site-header .site-branding .custom-logo-link img.custom-logo {
    height: auto;
    max-width: 112px;
    width: 112px;
}

.site-branding .site-description {
    color: #6f6257;
}

.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a,
.site-header-cart .cart-contents {
    color: var(--ccs-ink);
    font-weight: 650;
}

.main-navigation ul li a:hover,
.site-header-cart .cart-contents:hover,
.site-header-cart:hover > li > a {
    color: var(--ccs-rust);
}

.ccs-hero {
    align-items: center;
    background:
        radial-gradient(circle at 12% 12%, rgba(214, 163, 68, .32), transparent 34%),
        linear-gradient(125deg, #efe1cc 0%, #f9f4ec 58%, #f1d8c8 100%);
    border: 1px solid var(--ccs-line);
    border-radius: 28px;
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    margin: 1.5rem 0 4rem;
    overflow: hidden;
    padding: clamp(2rem, 6vw, 5.5rem);
    position: relative;
}

.ccs-hero::after {
    background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(166,61,47,.035) 12px 24px);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.ccs-hero__content,
.ccs-hero__image {
    position: relative;
    z-index: 1;
}

.ccs-eyebrow {
    color: var(--ccs-rust);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.ccs-hero h1 {
    font-size: clamp(2.6rem, 6.4vw, 5.6rem);
    line-height: .98;
    margin: 0 0 1.4rem;
    max-width: 10ch;
}

.ccs-hero__lead {
    color: #554a41;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 42rem;
}

.ccs-hero__image img {
    background: rgba(255,255,255,.72);
    border-radius: 50%;
    box-shadow: 0 28px 70px rgba(75, 42, 27, .18);
    display: block;
    margin: auto;
    max-height: 430px;
    object-fit: contain;
    padding: 1.25rem;
    transform: rotate(2deg);
}

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.added_to_cart,
.wc-block-components-button {
    background-color: var(--ccs-rust) !important;
    border-color: var(--ccs-rust) !important;
    border-radius: 999px !important;
    color: #fff !important;
    font-weight: 750 !important;
    padding: .85rem 1.35rem !important;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.added_to_cart:hover,
.wc-block-components-button:hover {
    background-color: var(--ccs-rust-dark) !important;
    border-color: var(--ccs-rust-dark) !important;
}

.ccs-section {
    margin: 4rem 0;
}

.ccs-section__header {
    margin: 0 auto 2.25rem;
    max-width: 720px;
    text-align: center;
}

.ccs-section__header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: .65rem;
}

.ccs-section__header p {
    color: #665a50;
    font-size: 1.08rem;
}

.ccs-values {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 3rem 0 4.5rem;
}

.ccs-value {
    background: var(--ccs-cream);
    border: 1px solid var(--ccs-line);
    border-radius: 18px;
    padding: 1.75rem;
}

.ccs-value h3 {
    color: var(--ccs-rust-dark);
    font-size: 1.35rem;
    margin-bottom: .55rem;
}

.ccs-value p {
    margin: 0;
}

.woocommerce ul.products li.product {
    background: #fff;
    border: 1px solid var(--ccs-line);
    border-radius: 18px;
    box-shadow: 0 10px 34px rgba(62, 43, 30, .07);
    padding: 1rem 1rem 1.4rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 18px 44px rgba(62, 43, 30, .12);
    transform: translateY(-4px);
}

.woocommerce ul.products li.product img {
    background: #fbf7f0;
    border-radius: 12px;
}

.woocommerce ul.products li.product .price,
.single-product div.product p.price {
    color: var(--ccs-rust);
    font-weight: 800;
}

.site-footer {
    background: var(--ccs-ink);
    color: #eee6dc;
    padding: 2.5rem 0;
}

.site-footer a {
    color: #f2c768;
}

.ccs-note {
    background: #fff4d8;
    border-left: 4px solid var(--ccs-gold);
    border-radius: 6px;
    padding: 1rem 1.25rem;
}

@media (max-width: 768px) {
    .ccs-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ccs-hero h1,
    .ccs-hero__lead {
        margin-left: auto;
        margin-right: auto;
    }

    .ccs-hero__image img {
        max-height: 300px;
    }

    .ccs-values {
        grid-template-columns: 1fr;
    }
}
