/*
Theme Name: Eat My Feelings Bakery
Theme URI: https://eatmyfeelingsbakery.com/
Author: Lemacks Media
Description: Purpose-built native WordPress theme for Eat My Feelings Bakery. Presentation is rendered by the Eat My Feelings Site Core plugin and ACF Pro, with no page-builder dependency.
Version: 1.0.4
Requires at least: 7.1
Requires PHP: 8.2
Text Domain: eat-my-feelings-bakery
*/

/*
 * The production visual system lives in Site Core so public pages, account
 * pages, and generated components share one source of truth. These rules are
 * only fallbacks for WordPress content that is not part of the managed site.
 */
.emf-theme-fallback{width:min(900px,calc(100% - 2rem));margin:0 auto;padding:4rem 0 6rem}
.emf-theme-fallback h1{margin-bottom:1rem}
.emf-system-main{min-height:55vh}

/* v1.0.1: shared chrome + Surf City public-status panel. */
.surf-city-update{padding-block:clamp(3.8rem,8vw,6.8rem);background:linear-gradient(135deg,rgba(239,228,207,.58),rgba(255,255,255,.92));border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.surf-city-update .update-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(2rem,6vw,5rem);align-items:start}
.surf-city-update h2{max-width:12ch;margin-top:.35rem}.surf-city-update .update-copy>p{max-width:48rem;margin:.8rem 0 0}
.surf-city-update .update-links{display:grid;gap:.75rem}.surf-city-update .update-link{display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid var(--gold-line);background:#fffffff2;border-radius:1rem;padding:1rem 1.1rem;box-shadow:var(--soft-shadow)}
.surf-city-update .update-link strong{display:block;color:var(--ink)}.surf-city-update .update-link span{display:block;color:var(--ink-soft);font-size:.78rem;margin-top:.2rem}.surf-city-update .update-link b{color:var(--gold-deep);font-size:1.15rem}
@media (width<=56rem){.surf-city-update .update-grid{grid-template-columns:1fr}}


/* v1.0.2: desktop design governance + logo visibility guardrails. */
@media (min-width:56.01rem){
  .site-header{position:relative!important;top:auto!important;}
}
.site-header .brand img{filter:none!important;mix-blend-mode:normal!important;object-fit:contain!important;object-position:left center!important;}

/* v1.0.2 spacing corrections validated across native routes. */
.emf-native-site .site-layer{overflow-x:clip;}
.emf-native-site main>section:first-child{margin-top:0;}
.emf-native-site .section-heading{row-gap:1rem;}
.emf-native-site .calendar-layout{width:100%;}
.emf-native-site .emf-calendar-dynamic>.calendar-card,
.emf-native-site .emf-calendar-dynamic>.event-list{min-width:0;}
.emf-native-site .surf-city-update .update-link{min-height:5.25rem;}
@media (max-width:56rem){
  .emf-native-site .section-heading{margin-bottom:2rem;}
}


/* v1.0.2 utility navigation + production spacing polish. */
.utility-bar{border-bottom:1px solid rgba(197,164,94,.28);background:#282522;color:#fff;position:relative;z-index:110}
.utility-inner{min-height:2.45rem;display:flex;align-items:center;justify-content:space-between;gap:1rem 2rem;font-size:.66rem;font-weight:760;letter-spacing:.085em;text-transform:uppercase}
.utility-meta,.utility-links{display:flex;align-items:center;gap:.6rem 1.25rem;min-width:0}
.utility-meta span+span:before{content:"";display:inline-block;width:.22rem;height:.22rem;margin:0 .8rem .12rem 0;border-radius:50%;background:#c5a45e}
.utility-links{justify-content:flex-end;flex-wrap:wrap}
.utility-links a{color:rgba(255,255,255,.88);min-height:2.45rem;display:inline-flex;align-items:center;white-space:nowrap}
.utility-links a:hover,.utility-links a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:.22rem}
.site-header{position:relative!important;top:auto!important}
.site-header .header-inner{min-height:5.55rem}
.site-header .brand{min-width:0}
.site-header .brand img{width:min(100%,14rem)!important;max-height:4.15rem!important;filter:none!important;mix-blend-mode:normal!important}
.calendar-layout>.emf-calendar-dynamic{width:100%}
.emf-calendar-dynamic{grid-template-columns:minmax(0,1.08fr) minmax(19rem,.92fr)!important;align-items:start;gap:clamp(1.5rem,3.5vw,3rem);display:grid!important}
.emf-calendar-dynamic .event-list{align-content:start;min-width:0}
.event-list-heading{border-bottom:1px solid var(--gold-line);padding:.15rem .15rem 1rem;margin:0 0 .15rem}
.event-list-heading .eyebrow{margin-bottom:.35rem}.event-list-heading h3{font-size:1.75rem}
.calendar-key{flex-wrap:wrap}
@media (max-width:70rem){.utility-inner{gap:1rem}.utility-meta{display:none}.utility-links{width:100%;justify-content:center}.site-header .brand img{width:min(100%,13rem)!important}}
@media (max-width:56rem){.utility-inner{min-height:2.7rem}.utility-links{gap:.2rem 1rem;font-size:.61rem}.site-header .header-inner{min-height:5rem}.emf-calendar-dynamic{grid-template-columns:1fr!important}}
@media (max-width:640px){.utility-links a:last-child{display:none}.utility-links{justify-content:space-between;gap:.25rem .6rem}.site-header .brand img{width:min(100%,12.25rem)!important}}

/* v1.0.3: native contact/submission system. */
.emf-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.emf-form-error{margin:0 0 .5rem;padding:.8rem 1rem;border:1px solid #b05c50;border-radius:.8rem;background:#fff0ee;color:#6d2418;font-size:.82rem;font-weight:700}
.contact-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(2.5rem,7vw,6rem);align-items:start}
.contact-copy{padding-top:.5rem}.contact-copy h1{max-width:10ch;margin:.35rem 0 1.25rem}.contact-copy>p:not(.eyebrow){max-width:34rem}.contact-direct{margin:1.5rem 0 .9rem;padding:1rem 1.1rem;border:1px solid var(--gold-line);border-radius:.9rem;background:#ffffffc9;box-shadow:var(--soft-shadow)}
.contact-direct a,.contact-copy .text-link{color:var(--gold-deep);font-weight:800}.contact-direct a:hover,.contact-copy .text-link:hover{text-decoration:underline;text-underline-offset:.2rem}
.emf-contact-page .form-card{max-width:48rem;width:100%}
.lm-turnstile-holder{display:block;width:100%;margin:.2rem 0 .35rem;min-height:65px}
.lm-addr-box{border:1px solid var(--gold-line)!important;border-radius:.7rem!important;background:#fff!important;color:var(--ink)!important;box-shadow:var(--shadow)!important;overflow:hidden!important}
.lm-addr-option{padding:.75rem .85rem;cursor:pointer;border-bottom:1px solid var(--line);font-size:.86rem}.lm-addr-option:last-child{border-bottom:0}.lm-addr-option:hover,.lm-addr-option:focus{background:#fbf5e7;outline:none}
.lm-addr-err{margin-top:.35rem;color:#9b351f;font-size:.74rem;font-weight:700}
@media(max-width:56rem){.contact-layout{grid-template-columns:1fr;gap:2rem}.contact-copy h1{max-width:12ch}}


/* v1.0.4: form alignment + light Turnstile presentation. */
.retailer-form .field-grid{align-items:start}
.retailer-form label{min-width:0}
.retailer-form label>.field-label-text{display:block;color:var(--ink);font-weight:720;line-height:1.2}
.retailer-form label>.field-requirement{display:block;min-height:1.05rem;color:var(--ink-soft);font-weight:500;line-height:1.05rem}
.retailer-form input,.retailer-form select{box-sizing:border-box;min-height:3.25rem}
.retailer-form textarea{box-sizing:border-box}
.lm-turnstile-holder{display:flex;align-items:flex-start;justify-content:flex-start;width:100%;min-height:65px;margin:.35rem 0 .2rem}
.lm-turnstile-holder>[data-lm-turnstile]{max-width:100%}
.retailer-form .lm-turnstile-holder+.button{margin-top:.15rem}
@media(max-width:640px){.lm-turnstile-holder{overflow-x:auto;overflow-y:hidden}}
