/* S3RENITI storefront and operations polish — approved logo remains unchanged */
:root{--ser-radius:22px;--ser-shadow:0 18px 46px rgba(25,18,8,.12);--ser-fast:180ms cubic-bezier(.2,.8,.2,1)}
html{scroll-behavior:smooth}body{overflow-x:hidden}
.brand-lockup{width:min(100%,1500px)!important;margin-inline:auto!important;aspect-ratio:2/1!important;min-height:0!important;border-radius:clamp(14px,2vw,26px)!important;overflow:hidden!important;background:var(--surface,#fff)!important;box-shadow:var(--ser-shadow)!important}
.brand-lockup img,.brand-lockup [data-brand-image]{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important;transition:opacity .22s ease!important}
.brand-lockup{position:relative}.brand-service-links{position:absolute;left:2%;right:2%;bottom:17%;height:15%;display:grid;grid-template-columns:repeat(5,1fr);z-index:3}
.brand-service-links a{border-radius:12px;outline-offset:2px}.brand-service-links a:focus-visible{outline:3px solid #118347;background:rgba(17,131,71,.12)}
.brand-menu-card{width:min(100%,1500px)!important;margin:12px auto 16px!important;border-radius:20px!important;padding:12px!important;box-shadow:0 10px 30px rgba(0,0,0,.09)!important;position:relative!important;z-index:7!important}
.brand-menu-card .header-search{display:flex!important;gap:10px!important;width:100%!important}.brand-menu-card .header-search input{min-width:0!important;flex:1!important}
.brand-menu-card .header-tools{display:flex!important;flex-wrap:wrap!important;gap:9px!important;align-items:center!important;justify-content:flex-end!important;margin-top:9px!important}
.brand-menu-card button,.brand-menu-card select,.brand-menu-card a,.btn,.button,button{min-height:44px}
.home-hero{min-height:0!important;height:auto!important;max-height:none!important;grid-template-rows:auto!important;border-radius:var(--ser-radius)!important;overflow:hidden!important}
.home-hero .hero-media,.home-hero .hero-copy{min-height:300px!important;height:clamp(300px,30vw,390px)!important}
.home-hero .hero-media img,.home-hero img{object-fit:cover!important}
.home-hero .hero-copy{padding:clamp(22px,4vw,54px)!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
.home-hero h1{font-size:clamp(2.15rem,5vw,4.8rem)!important;line-height:.98!important;letter-spacing:-.035em!important}
.home-hero .hero-search{display:flex!important;gap:8px!important;max-width:650px!important}.home-hero .hero-search input{min-width:0!important;flex:1!important}
.quick-benefits,.home-action-grid,.feature-grid,.product-grid,.bundle-grid{gap:14px!important}
.quick-benefits>a,.home-action-grid>a,.home-action-grid .card,.feature-grid>a,.feature-grid .card,.bundle-card,.product-card{border-radius:18px!important;transition:transform var(--ser-fast),box-shadow var(--ser-fast),border-color var(--ser-fast)!important}
.quick-benefits>a:hover,.home-action-grid>a:hover,.bundle-card:hover,.product-card:hover{transform:translateY(-2px)!important;box-shadow:0 14px 28px rgba(0,0,0,.12)!important}
.gye-bot-btn{width:auto!important;height:auto!important;min-width:152px!important;min-height:48px!important;border-radius:999px!important;padding:12px 18px!important;font-size:15px!important;font-weight:800!important;letter-spacing:0!important}
.gye-bot-btn::after{content:none!important}.gye-bot-panel{border-radius:22px!important;box-shadow:0 24px 60px rgba(0,0,0,.28)!important;overflow:hidden!important}
.gye-answer a{display:inline-flex;margin:8px 6px 0 0;padding:9px 12px;border-radius:999px;background:#137c42;color:#fff!important;text-decoration:none;font-weight:800}
.serenity-section{margin:28px auto}.serenity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.serenity-card{display:block;border:1px solid color-mix(in srgb,var(--text,#111) 14%,transparent);background:var(--surface,#fff);color:var(--text,#111);border-radius:18px;padding:18px;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.07)}
.serenity-card h3{margin:.25rem 0 .45rem}.serenity-card p{margin:0;opacity:.82}.serenity-card .tag{font-size:.77rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;opacity:.72}
[data-theme="brown"],body.theme-brown{--text:#fff8ec!important;--muted:#f2dcc3!important;--surface:#32190f!important;--surface-2:#432317!important}
[data-theme="green"],body.theme-green{--text:#fffdf4!important;--muted:#e5efd8!important;--surface:#102f20!important;--surface-2:#17462d!important}
[data-theme="earth"],body.theme-earth{--text:#21170e!important;--muted:#493a2b!important;--surface:#fff5df!important;--surface-2:#f3dfbb!important}
[data-theme="black"],body.theme-black{--text:#fffaf0!important;--muted:#ddd5c8!important;--surface:#101010!important;--surface-2:#1b1b1b!important}
body.theme-brown .card,body.theme-brown .panel,body.theme-green .card,body.theme-green .panel,body.theme-black .card,body.theme-black .panel{color:var(--text)!important}
body.theme-brown input,body.theme-brown select,body.theme-green input,body.theme-green select,body.theme-black input,body.theme-black select{background:#fff!important;color:#151515!important;border-color:rgba(255,255,255,.55)!important}
body.theme-earth input,body.theme-earth select{background:#fffdf8!important;color:#21170e!important}
.admin-identity{display:inline-flex;align-items:center;gap:8px;font-weight:800}.admin-identity small{opacity:.75}
.admin-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.admin-action-grid a{padding:18px;border-radius:18px;background:#fff;color:#15231c;text-decoration:none;border:1px solid #dfe8e2;box-shadow:0 8px 20px rgba(0,0,0,.06)}.admin-action-grid strong{display:block;font-size:1.05rem;margin-bottom:5px}
.bundle-card{cursor:pointer}.bundle-card:focus-visible{outline:3px solid #12824a;outline-offset:3px}
@media(max-width:900px){.serenity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-menu-card .header-tools{justify-content:stretch}.brand-menu-card .header-tools>*{flex:1 1 145px}}
@media(max-width:640px){body{padding-bottom:80px}.brand-lockup{border-radius:16px!important}.brand-menu-card{margin-top:8px!important;padding:10px!important}.brand-menu-card .header-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}.brand-menu-card .header-tools{display:grid!important;grid-template-columns:1fr 1fr!important}.brand-menu-card .header-tools>*{width:100%!important;min-width:0!important}.home-hero{display:grid!important}.home-hero .hero-copy,.home-hero .hero-media{height:auto!important;min-height:260px!important}.home-hero h1{font-size:clamp(2rem,11vw,3.1rem)!important}.serenity-grid,.admin-action-grid{grid-template-columns:1fr}.quick-benefits{grid-template-columns:1fr 1fr!important}.gye-bot-btn{right:14px!important;bottom:88px!important;min-width:142px!important}.brand-service-links{bottom:16%;height:15%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* Three-inch hero + responsive promotion viewport — 2026-07-26 */
.home-page .hero.compact{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;
  width:100%!important;
  height:288px!important;
  min-height:288px!important;
  max-height:288px!important;
  margin:16px 0 14px!important;
  overflow:hidden!important;
  border-radius:24px!important;
  box-shadow:0 16px 42px rgba(23,18,11,.14)!important;
}
.home-page .hero.compact .hero-copy,
.home-page .hero.compact .hero-slider{
  width:100%!important;
  height:288px!important;
  min-height:0!important;
  max-height:288px!important;
  overflow:hidden!important;
}
.home-page .hero.compact .hero-copy{
  padding:20px clamp(22px,3vw,42px)!important;
  justify-content:center!important;
}
.home-page .hero.compact .hero-copy .eyebrow{margin:0 0 6px!important;font-size:.72rem!important}
.home-page .hero.compact h1{
  margin:0 0 8px!important;
  max-width:15ch!important;
  font-size:clamp(2rem,3.55vw,3.45rem)!important;
  line-height:.94!important;
  letter-spacing:-.035em!important;
}
.home-page .hero.compact .hero-copy>p:not(.hero-actions){margin:0 0 10px!important;max-width:58ch!important;font-size:.92rem!important;line-height:1.35!important}
.home-page .hero.compact .hero-search{margin:0!important;max-width:580px!important}
.home-page .hero.compact .hero-actions{margin:8px 0 0!important;display:flex!important;gap:8px!important}
.home-page .hero.compact .hero-slider img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
.home-page .trust{margin-top:0!important}
.home-page .home-strip{scroll-margin-top:12px}
@media(max-width:700px){
  .home-page .hero.compact{
    display:block!important;
    height:360px!important;
    min-height:360px!important;
    max-height:360px!important;
    margin:10px 0 12px!important;
    border-radius:22px!important;
  }
  .home-page .hero.compact .hero-slider{
    position:absolute!important;inset:0!important;
    height:360px!important;max-height:360px!important;
    z-index:0!important;
  }
  .home-page .hero.compact .hero-slider::after{
    content:"";position:absolute;inset:0;
    background:linear-gradient(90deg,rgba(12,12,12,.92) 0%,rgba(12,12,12,.74) 62%,rgba(12,12,12,.28) 100%);
    pointer-events:none;
  }
  .home-page .hero.compact .hero-copy{
    position:relative!important;z-index:1!important;
    height:360px!important;max-height:360px!important;
    padding:24px 18px!important;
    color:#fffdf7!important;background:transparent!important;
  }
  .home-page .hero.compact h1{font-size:clamp(2.25rem,11vw,3.2rem)!important;max-width:12ch!important}
  .home-page .hero.compact .hero-copy>p:not(.hero-actions){font-size:.9rem!important;max-width:36ch!important}
  .home-page .hero.compact .hero-search{width:100%!important;max-width:100%!important}
  .home-page .hero.compact .hero-actions{display:none!important}
}
@media(max-width:390px){
  .home-page .hero.compact,.home-page .hero.compact .hero-copy,.home-page .hero.compact .hero-slider{height:340px!important;min-height:340px!important;max-height:340px!important}
  .home-page .hero.compact h1{font-size:2.2rem!important}
}

/* Three-inch content-fit correction */
.home-page .hero.compact h1{font-size:clamp(2rem,2.75vw,2.55rem)!important;line-height:1!important;max-width:18ch!important}
.home-page .hero.compact .hero-actions{display:none!important}
.home-page .hero.compact .hero-copy{gap:0!important}
.home-page .hero.compact .hero-search input,.home-page .hero.compact .hero-search button{min-height:42px!important;height:42px!important}
@media(max-width:700px){
 .home-page .hero.compact h1{font-size:clamp(2rem,10vw,2.75rem)!important;max-width:13ch!important}
 .home-page .hero.compact .hero-copy>p:not(.hero-actions){display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
}


/* Final visit-ready card, navigation and hours correction — 2026-07-26 */
@media(min-width:701px){
  .home-page .hero.compact .hero-copy{
    grid-column:1!important;
    grid-row:1!important;
    margin:0!important;
    align-self:stretch!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    padding:18px clamp(24px,3vw,38px)!important;
    width:100%!important;
    height:288px!important;
    min-height:288px!important;
    max-height:288px!important;
    overflow:hidden!important;
  }
  .home-page .hero.compact .hero-slider{
    grid-column:2!important;
    grid-row:1!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    align-self:stretch!important;
    width:100%!important;
    height:288px!important;
    min-height:288px!important;
    max-height:288px!important;
    overflow:hidden!important;
  }
  .home-page .hero.compact .hero-slider img{
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center 48%!important;
    visibility:visible!important;
  }
  .home-page .hero.compact h1{
    max-width:100%!important;
    font-size:clamp(2rem,2.45vw,2.3rem)!important;
    line-height:.98!important;
    margin:0 0 7px!important;
  }
  .home-page .hero.compact .hero-copy>p:not(.hero-actions){
    margin:0 0 9px!important;
    max-width:52ch!important;
    font-size:.88rem!important;
    line-height:1.3!important;
  }
  .mainnav{
    flex-wrap:nowrap!important;
    justify-content:space-between!important;
    column-gap:clamp(8px,1vw,18px)!important;
    padding-inline:clamp(12px,2vw,30px)!important;
  }
  .mainnav>a{white-space:nowrap!important}
}
@media(min-width:701px) and (max-width:1080px){
  .mainnav{
    justify-content:flex-start!important;
    overflow-x:auto!important;
    scrollbar-width:thin!important;
    column-gap:14px!important;
  }
}
.topbar .store-hours{font-weight:800;white-space:nowrap}
@media(max-width:860px){
  .topbar{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    height:auto!important;
    gap:4px 12px!important;
  }
  .topbar .store-hours{grid-column:1/-1!important;text-align:center!important}
}
@media(max-width:520px){
  .topbar{grid-template-columns:1fr!important;text-align:center!important}
  .topbar span{justify-self:center!important}
}


/* High-specificity desktop navigation distribution */
@media(min-width:1081px){
  html body.home-page .header .brandstage>.mainnav.mainnav{
    flex-wrap:nowrap!important;
    justify-content:space-between!important;
    column-gap:clamp(8px,1vw,18px)!important;
    padding-left:clamp(18px,2.2vw,34px)!important;
    padding-right:clamp(18px,2.2vw,34px)!important;
    overflow:visible!important;
  }
  html body.home-page .header .brandstage>.mainnav.mainnav>a{
    white-space:nowrap!important;
  }
}
