:root {
	--wk-aqua: #79fbe9;
	--wk-gold: #ecb350;
	--wk-gold-dark: #d59a37;
	--wk-navy: #17243d;
	--wk-cream: #fffaf0;
	--wk-paper: #fff;
	--wk-line: rgba(23, 36, 61, .14);
	--wk-shadow: 0 22px 70px rgba(13, 28, 52, .18);
}

.we-kids-theme { background: var(--wk-cream); color: var(--wk-navy); }
.wk-header { position: relative; z-index: 100; border-bottom: 1px solid var(--wk-line); background: var(--wk-cream); }
.wk-nav { display: grid; grid-template-columns: minmax(230px,1fr) auto minmax(230px,1fr); align-items: center; min-height: 88px; gap: 24px; }
.wk-brand { display: flex; width: max-content; align-items: center; color: var(--wk-navy); gap: 11px; }
.wk-brand > span:last-child { display: grid; }
.wk-brand strong { font-size: 18px; line-height: 1; }
.wk-brand small { margin-top: 5px; color: #526077; font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.wk-brand-mark { display: grid; width: 46px; height: 46px; place-items: center; border: 2px solid var(--wk-navy); border-radius: 50% 50% 44% 56%; background: var(--wk-gold); box-shadow: 5px 5px 0 var(--wk-navy); font-size: 23px; font-weight: 950; transform: rotate(-7deg); }
.wk-header .sm-primary-nav a { color: var(--wk-navy); font-size: 13px; }
.wk-header .sm-primary-nav a:hover, .wk-header .sm-primary-nav .current-menu-item > a { background: var(--wk-aqua); color: var(--wk-navy); }
.wk-actions { display: flex; align-items: center; justify-content: flex-end; gap: 17px; }
.wk-account { color: var(--wk-navy); font-size: 13px; font-weight: 850; }
.wk-cart { position: relative; display: inline-flex; min-height: 44px; align-items: center; padding: 9px 39px 9px 17px; border: 2px solid var(--wk-navy); border-radius: 999px; background: var(--wk-gold); color: var(--wk-navy); font-size: 12px; font-weight: 900; box-shadow: 3px 3px 0 var(--wk-navy); }
.wk-cart .sm-cart-count { top: 50%; right: 8px; border: 0; background: var(--wk-navy); color: #fff; transform: translateY(-50%); }

.wk-hero { position: relative; padding: 86px 0 0; overflow: hidden; background-color: var(--wk-navy); background-image: radial-gradient(rgba(121,251,233,.17) 1px,transparent 1px); background-size: 22px 22px; color: #fff; }
.wk-hero::before, .wk-hero::after { position: absolute; width: 360px; height: 360px; border: 2px solid rgba(121,251,233,.16); border-radius: 50%; content: ""; }
.wk-hero::before { top: 70px; left: -210px; }
.wk-hero::after { top: 130px; right: -230px; }
.wk-hero-inner { position: relative; z-index: 2; max-width: 930px; padding-bottom: 78px; text-align: center; }
.wk-eyebrow { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid rgba(121,251,233,.45); border-radius: 999px; background: rgba(121,251,233,.08); color: var(--wk-aqua); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.wk-hero h1 { margin: 25px auto 22px; color: #fff; font-size: clamp(3.8rem,8vw,7.9rem); letter-spacing: -.075em; line-height: .84; }
.wk-hero h1 span { color: var(--wk-aqua); text-shadow: none; }
.wk-hero-inner > p { max-width: 650px; margin: 0 auto; color: #cbd4e3; font-size: 18px; }
.wk-hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 32px; gap: 22px; }
.wk-button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 13px 20px 13px 24px; border: 2px solid var(--wk-navy); border-radius: 999px; background: var(--wk-gold); box-shadow: 5px 5px 0 var(--wk-aqua); color: var(--wk-navy); font-size: 14px; font-weight: 900; gap: 20px; }
.wk-button:hover { background: var(--wk-gold-dark); color: var(--wk-navy); transform: translate(-1px,-2px); }
.wk-button span { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: var(--wk-navy); color: #fff; }
.wk-text-link { padding: 8px 0 5px; border-bottom: 2px solid var(--wk-aqua); color: #fff; font-size: 13px; font-weight: 850; }
.wk-text-link:hover { color: var(--wk-aqua); }
.wk-orbit { position: absolute; display: grid; width: 64px; height: 64px; place-items: center; border: 2px solid var(--wk-navy); border-radius: 18px; background: var(--wk-paper); box-shadow: 5px 5px 0 var(--wk-gold); font-size: 29px; }
.wk-orbit-one { top: 35%; left: -20px; transform: rotate(-10deg); }
.wk-orbit-two { top: 16%; right: 5px; transform: rotate(8deg); }
.wk-orbit-three { right: 11%; bottom: 90px; width: 48px; height: 48px; font-size: 21px; transform: rotate(-6deg); }

.wk-week-board { position: relative; z-index: 4; margin-bottom: -72px; padding: 28px; border: 2px solid var(--wk-navy); border-radius: 28px; background: var(--wk-paper); box-shadow: 10px 10px 0 var(--wk-aqua), var(--wk-shadow); color: var(--wk-navy); }
.wk-week-board > header { display: flex; align-items: end; justify-content: space-between; padding-bottom: 22px; gap: 30px; }
.wk-week-board > header span, .wk-section-heading > span, .wk-how-intro > span, .wk-final-cta > .sm-shell > span { color: #46615f; font-size: 9px; font-weight: 950; letter-spacing: .16em; }
.wk-week-board h2 { margin: 5px 0 0; color: var(--wk-navy); font-size: clamp(1.8rem,3vw,2.7rem); }
.wk-week-board > header > a { color: var(--wk-navy); font-size: 12px; font-weight: 900; }
.wk-days { display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid var(--wk-line); border-radius: 18px; overflow: hidden; }
.wk-days article { position: relative; display: grid; min-width: 0; min-height: 185px; align-content: start; padding: 15px; border-right: 1px solid var(--wk-line); background: #fff; text-align: center; }
.wk-days article:last-child { border-right: 0; }
.wk-days article.is-today { background: #eafffb; }
.wk-days article.is-today::before { position: absolute; top: 0; right: 0; left: 0; height: 5px; background: var(--wk-aqua); content: ""; }
.wk-days small { margin-bottom: 10px; color: #667187; font-size: 9px; font-weight: 950; letter-spacing: .16em; }
.wk-days a { display: grid; min-width: 0; color: var(--wk-navy); gap: 8px; }
.wk-days img { width: 100%; height: 102px; border-radius: 11px; object-fit: cover; }
.wk-days strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.wk-day-emoji { display: grid; height: 102px; place-items: center; font-size: 48px; }
.wk-week-board > footer { display: flex; flex-wrap: wrap; justify-content: center; padding-top: 20px; color: #667187; font-size: 10px; font-weight: 800; gap: 12px 30px; }
.wk-week-board > footer span::first-letter { color: #2d9a7f; }
.wk-marquee { display: flex; min-height: 150px; align-items: flex-end; justify-content: center; padding: 0 20px 25px; overflow: hidden; background: var(--wk-gold); color: var(--wk-navy); font-size: clamp(.72rem,1.2vw,1rem); font-weight: 950; letter-spacing: .14em; gap: clamp(18px,5vw,70px); white-space: nowrap; }
.wk-marquee b { color: #fff; }

.wk-menu-section { padding: 105px 0; background: var(--wk-cream); }
.wk-section-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: 35px; gap: 8px 30px; }
.wk-section-heading > span { grid-column: 1 / -1; }
.wk-section-heading h2 { margin: 0; color: var(--wk-navy); font-size: clamp(2.6rem,5vw,5rem); letter-spacing: -.06em; }
.wk-section-heading > a { padding-bottom: 8px; border-bottom: 2px solid var(--wk-gold); color: var(--wk-navy); font-size: 12px; font-weight: 900; }
.wk-meal-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 18px; }
.wk-meal-card { overflow: hidden; border: 2px solid var(--wk-navy); border-radius: 22px; background: #fff; box-shadow: 5px 5px 0 var(--wk-navy); }
.wk-meal-card:nth-child(2) { transform: translateY(24px); }
.wk-meal-card:nth-child(3) { transform: translateY(-12px); }
.wk-meal-image { position: relative; display: block; height: 270px; overflow: hidden; background: #eef7f5; }
.wk-meal-card:first-child .wk-meal-image { height: 330px; }
.wk-meal-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.wk-meal-card:hover .wk-meal-image img { transform: scale(1.04); }
.wk-meal-image > span { position: absolute; right: 15px; bottom: 15px; display: grid; width: 42px; height: 42px; place-items: center; border: 2px solid var(--wk-navy); border-radius: 50%; background: var(--wk-gold); color: var(--wk-navy); font-size: 22px; font-weight: 900; }
.wk-meal-card > div { padding: 21px; }
.wk-meal-card small { color: #52706b; font-size: 8px; font-weight: 950; letter-spacing: .16em; }
.wk-meal-card h3 { margin: 7px 0 18px; font-size: 21px; }
.wk-meal-card h3 a { color: var(--wk-navy); }
.wk-meal-card footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--wk-line); gap: 12px; }
.wk-meal-card footer strong { color: var(--wk-navy); font-size: 18px; }
.wk-meal-card footer a { color: #7c5719; font-size: 11px; font-weight: 900; }

.wk-how { padding: 105px 0; background: var(--wk-navy); color: #cbd4e3; }
.wk-how .sm-shell { display: grid; grid-template-columns: .75fr 1.25fr; gap: 85px; }
.wk-how-intro { align-self: center; }
.wk-how-intro > span { color: var(--wk-aqua); }
.wk-how-intro h2 { margin: 14px 0 20px; color: var(--wk-aqua); font-size: clamp(2.8rem,5vw,5rem); letter-spacing: -.065em; line-height: .92; text-shadow: none; }
.wk-how-intro p { max-width: 440px; margin: 0; }
.wk-step-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wk-step-grid article { position: relative; padding: 26px; border: 1px solid rgba(121,251,233,.18); border-radius: 22px; background: rgba(255,255,255,.055); }
.wk-step-grid article:last-child { grid-column: 1 / -1; }
.wk-step-grid b { position: absolute; top: 17px; right: 20px; color: rgba(121,251,233,.45); font-size: 11px; letter-spacing: .12em; }
.wk-step-grid i { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 17px; background: var(--wk-gold); font-size: 25px; font-style: normal; }
.wk-step-grid h3 { margin: 22px 0 8px; color: #fff; font-size: 20px; }
.wk-step-grid p { margin: 0; color: #aebbd0; font-size: 13px; }
.wk-final-cta { padding: 105px 20px; background: var(--wk-aqua); text-align: center; }
.wk-final-cta h2 { max-width: 800px; margin: 13px auto 27px; color: var(--wk-navy); font-size: clamp(3rem,6vw,6.3rem); letter-spacing: -.07em; line-height: .9; text-shadow: none; }
.wk-final-cta .wk-button { box-shadow: 5px 5px 0 #fff; }

.wk-footer { padding: 70px 0 24px; background: #0f1a2d; color: #aebbd0; }
.wk-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; padding-bottom: 55px; gap: 60px; }
.wk-brand-footer { color: #fff; }
.wk-brand-footer small { color: var(--wk-aqua); }
.wk-footer-grid p { max-width: 370px; margin: 22px 0 0; font-size: 13px; }
.wk-footer nav { display: grid; align-content: start; gap: 10px; }
.wk-footer nav strong { margin-bottom: 8px; color: #fff; font-size: 13px; }
.wk-footer nav a { color: #aebbd0; font-size: 12px; }
.wk-footer nav a:hover, .wk-footer-bottom a:hover { color: var(--wk-aqua); }
.wk-footer-bottom { display: flex; justify-content: space-between; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.1); font-size: 10px; gap: 20px; }
.wk-footer-bottom a { color: #aebbd0; }

/* Keep commerce and plugin screens in the We Kids palette. */
.we-kids-theme:not(.home) .sm-page-hero { background: var(--wk-navy); }
.we-kids-theme:not(.home) .sm-page-hero h1 { color: var(--wk-aqua); text-shadow: none; }
.we-kids-theme .woocommerce a.button,
.we-kids-theme .woocommerce button.button,
.we-kids-theme .woocommerce input.button,
.we-kids-theme button[type="submit"],
.we-kids-theme input[type="submit"] { background: var(--wk-gold); color: var(--wk-navy); }

@media (max-width: 960px) {
	.wk-nav { grid-template-columns: 1fr auto auto; }
	.wk-header .sm-primary-nav { top: 88px; }
	.wk-header .sm-primary-nav.is-open { display: grid; }
	.wk-header .sm-primary-nav a { width: 100%; text-align: center; }
	.wk-hero h1 { font-size: clamp(3.5rem,10vw,6rem); }
	.wk-orbit-one { left: 3%; }
	.wk-orbit-two { right: 3%; }
	.wk-days { grid-template-columns: repeat(5,180px); overflow-x: auto; }
	.wk-meal-grid { grid-template-columns: 1fr 1fr; }
	.wk-meal-card:first-child { grid-row: span 2; }
	.wk-meal-card:nth-child(2), .wk-meal-card:nth-child(3) { transform: none; }
	.wk-how .sm-shell { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 680px) {
	.wk-nav { min-height: 74px; gap: 10px; }
	.wk-header .sm-primary-nav { top: 74px; }
	.wk-brand strong { font-size: 15px; }
	.wk-brand small, .wk-account { display: none; }
	.wk-brand-mark { width: 40px; height: 40px; font-size: 19px; }
	.wk-cart { min-height: 40px; padding: 8px 35px 8px 12px; font-size: 0; box-shadow: 2px 2px 0 var(--wk-navy); }
	.wk-cart::before { font-size: 18px; content: "🛍️"; }
	.wk-hero { padding-top: 58px; }
	.wk-hero-inner { padding-bottom: 48px; }
	.wk-hero h1 { font-size: clamp(3.1rem,15vw,4.6rem); }
	.wk-hero-inner > p { font-size: 16px; }
	.wk-orbit { display: none; }
	.wk-hero-actions { flex-direction: column; gap: 15px; }
	.wk-week-board { width: calc(100% - 28px); margin-bottom: -55px; padding: 20px 15px; border-radius: 22px; box-shadow: 6px 6px 0 var(--wk-aqua), var(--wk-shadow); }
	.wk-week-board > header { align-items: start; flex-direction: column; gap: 9px; }
	.wk-days { grid-template-columns: repeat(5,150px); }
	.wk-marquee { min-height: 120px; padding-bottom: 18px; font-size: 8px; gap: 14px; }
	.wk-menu-section, .wk-how, .wk-final-cta { padding-top: 76px; padding-bottom: 76px; }
	.wk-section-heading { grid-template-columns: 1fr; }
	.wk-section-heading h2 { font-size: 3rem; }
	.wk-section-heading > a { width: max-content; }
	.wk-meal-grid { grid-template-columns: 1fr; }
	.wk-meal-card:first-child { grid-row: auto; }
	.wk-meal-image, .wk-meal-card:first-child .wk-meal-image { height: 250px; }
	.wk-step-grid { grid-template-columns: 1fr; }
	.wk-step-grid article:last-child { grid-column: auto; }
	.wk-footer-grid { grid-template-columns: 1fr; gap: 35px; }
	.wk-footer-bottom { align-items: flex-start; flex-direction: column; }
}

/* Client palette: all headings turquoise, all action buttons gold. */
.wk-final-cta { background: var(--wk-navy); }
.wk-final-cta > .sm-shell > span { color: var(--wk-aqua); }

body.school-meals-kids :is(h1, h2, h3, h4, h5, h6, [role="heading"]),
body.school-meals-kids :is(h1, h2, h3, h4, h5, h6, [role="heading"]) * {
    color: #79fbe9 !important;
    -webkit-text-fill-color: #79fbe9 !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

body.school-meals-kids :is(
    button, input[type="submit"], input[type="button"], input[type="reset"],
    [role="button"], .button, .wp-element-button, .wp-block-button__link,
    .wc-block-components-button, .sm-button, .wk-button, .tr-button, .pg-button,
    .wk-cart, .tr-cart, .pg-bag, .tr-plus, .tr-stop, .smpd-button,
    .smbd-ordering-add, .pg-card footer > a
) {
    background: #ecb350 !important;
    color: #17243d !important;
    text-shadow: none;
}

body.school-meals-kids :is(button, [role="button"]):is(.is-active, [aria-pressed="true"], [aria-selected="true"]) {
    outline: 2px solid #17243d;
    outline-offset: 2px;
}

/* Client revision: original site background, without text outlines. */
body.we-kids-theme {
    --wk-background: #131f22;
    --sm-text: #d4dfde;
    --smx-canvas: #131f22;
    --smx-surface: #131f22;
    --smx-ink: #edf4f2;
    --smx-muted: #b9c9c7;
    --smx-line: #355052;
    background: var(--wk-background);
    color: #edf4f2;
}
.we-kids-theme :is(.wk-header, .wk-hero, .wk-week-board, .wk-menu-section,
    .wk-meal-card, .wk-how, .wk-final-cta, .wk-footer, .sm-page-hero, .smx-page-hero,
    .sm-post-card, .dd-author-box, .dd-post-navigation a) {
    background-color: var(--wk-background);
}
.we-kids-theme :is(.sm-page-hero, .smx-page-hero) { background-image: none; }
.we-kids-theme :is(.wk-brand, .wk-account, .wk-header .sm-primary-nav a,
    .wk-week-board > header > a, .wk-section-heading > a, .wk-meal-card footer strong) {
    color: #edf4f2;
}
.we-kids-theme :is(.wk-brand small, .wk-week-board > header span,
    .wk-week-board > footer, .wk-section-heading > span, .wk-meal-card small) {
    color: #b9c9c7;
}
.we-kids-theme .wk-brand-mark { color: #131f22; }
.we-kids-theme .wk-meal-card footer a { color: var(--wk-gold); }
.we-kids-theme .wk-header .sm-primary-nav a:hover,
.we-kids-theme .wk-header .sm-primary-nav .current-menu-item > a { color: #131f22; }
.we-kids-theme .sm-primary-nav .sub-menu { background: var(--wk-background); }
.we-kids-theme .wk-days { color: #17243d; }
.we-kids-theme .woocommerce :is(form.login, form.register, form.checkout_coupon,
    .woocommerce-MyAccount-content, .woocommerce-MyAccount-navigation ul, ul.products li.product) {
    background: var(--wk-background);
    color: #edf4f2;
}
@media (max-width: 960px) {
    .we-kids-theme .sm-primary-nav { background: var(--wk-background); }
}
