/**
 * Yuminaga site theme — shared tokens from index.html
 *
 * Palette
 *   --page-bg      #fffefa  Background (warm white)
 *   --text-color   #2A2A28  Body / letter color
 *   --btn-color    #203c2b  Primary buttons & brand dark green
 *   --matcha-color #7fa24d  Matcha accent (icons / stars)
 *   --spice-color  #96141d  Spice accent (icons / stars / spice CTAs)
 *
 * Type
 *   --font-body    Times New Roman (body, UI, nav)
 *   --font-title   Cormorant Garamond (headings)
 *
 * Load after page-local <style> (and with public-site-nav.css) so these rules win.
 */

:root {
    --page-bg: #fffefa;
    --text-color: #2A2A28;
    --btn-color: #203c2b;
    --matcha-color: #7fa24d;
    --spice-color: #96141d;
    --font-body: 'Times New Roman', Times, serif;
    --font-title: 'Cormorant Garamond', serif;
}

body {
    font-family: var(--font-body) !important;
    background-color: var(--page-bg) !important;
    color: var(--text-color) !important;
}

h1,
h2,
h3,
h4,
.serif,
.font-cormorant {
    font-family: var(--font-title) !important;
}

/* Soft cream / off-white section backgrounds → theme white */
.bg-\[\#FAFAF7\],
.bg-\[\#FAF8F3\],
.bg-\[\#F9F9F7\],
.bg-\[\#F5F3EE\],
.bg-\[\#f7f4ef\],
.bg-\[\#fafaf7\],
.bg-white {
    background-color: var(--page-bg) !important;
}

/* Keep true white only where opacity modifiers need the base (handled by Tailwind) */
.bg-white\/95,
.bg-\[\#fffefa\]\/95 {
    background-color: rgba(255, 254, 250, 0.95) !important;
}

/* Common body text utilities */
.text-\[\#1a1a1a\],
.text-black {
    color: var(--text-color) !important;
}

/* Primary brand / button green */
.text-\[\#203c2b\] {
    color: var(--btn-color) !important;
}

.bg-\[\#203c2b\] {
    background-color: var(--btn-color) !important;
}

.border-\[\#203c2b\] {
    border-color: var(--btn-color) !important;
}

/* Matcha / spice accents */
.text-\[\#7fa24d\],
.matcha-green-text {
    color: var(--matcha-color) !important;
}

.bg-\[\#7fa24d\],
.matcha-green {
    background-color: var(--matcha-color) !important;
}

.text-\[\#96141d\],
.spice-red-text {
    color: var(--spice-color) !important;
}

.bg-\[\#96141d\],
.chili-red {
    background-color: var(--spice-color) !important;
}

.border-\[\#96141d\] {
    border-color: var(--spice-color) !important;
}

/* Nav + mobile drawer */
#main-nav,
#main-nav a,
#main-nav button,
.mobile-menu,
.mobile-menu a,
.mobile-menu p {
    font-family: var(--font-body) !important;
}

.mobile-menu {
    background-color: var(--page-bg) !important;
}

#main-nav .nav-dropdown-menu a {
    color: var(--text-color) !important;
    font-family: var(--font-body) !important;
}

#main-nav:not(.nav-scrolled) .nav-dropdown-menu a {
    color: var(--text-color) !important;
}

/* Footer titles use display face; body copy stays Times */
footer,
footer a,
footer p,
footer ul,
footer li {
    font-family: var(--font-body) !important;
}

footer h3 {
    font-family: var(--font-title) !important;
}

/* Article / inquiry helpers */
.article-prose,
.inquiry-feature__body,
.faq-item,
.faq-item p,
.faq-item__answer {
    font-family: var(--font-body);
    color: var(--text-color);
}

.article-prose h2,
.article-prose h3,
.inquiry-feature__heading,
.faq-category,
.inquiry-hero__title {
    font-family: var(--font-title) !important;
}

/* Primary CTA hover → cream fill */
a.rounded-full.bg-\[\#203c2b\]:hover,
.brand-story-cta:hover {
    background-color: var(--page-bg) !important;
    color: var(--btn-color) !important;
}

a.rounded-full.bg-\[\#96141d\]:hover {
    background-color: var(--page-bg) !important;
    color: var(--spice-color) !important;
}

a.rounded-full.bg-\[\#7fa24d\]:hover {
    background-color: var(--page-bg) !important;
    color: var(--matcha-color) !important;
}
