:root{--ref-ink:#15203b;--ref-red:#f33c4b;--ref-blue:#315efb;--ref-cream:#fffaf2;--ref-line:#e8e8e7;--ref-muted:#667085}

/* Approved storefront composition: larger logo/avatar, clean search and actions */
.storefrontHeader{background:var(--ref-cream)!important;border-bottom:1px solid #eee9df!important;box-shadow:none!important}
.storefrontHeaderRow{min-height:112px!important;display:grid!important;grid-template-columns:320px 205px minmax(220px,1fr) auto!important;align-items:center!important;gap:16px!important;padding:8px 18px!important}
.brandBlock{height:96px!important;min-width:0!important;background:none!important;display:flex!important;align-items:center!important;cursor:pointer!important;overflow:visible!important}
.brandLogoImage{display:block!important;width:315px!important;height:102px!important;object-fit:contain!important;object-position:left center!important;filter:none!important;image-rendering:auto!important}
.brandDescriptor{display:block!important;min-width:0!important;padding-left:16px!important;border-left:1px solid #d8d3c9!important;color:var(--ref-ink)!important;line-height:1.08!important;white-space:nowrap!important}
.brandDescriptor b,.brandDescriptor span{display:block!important;font-size:14px!important;font-weight:950!important;letter-spacing:.045em!important}.brandDescriptor span{margin-top:3px!important}
.storefrontSearch{height:47px!important;border:1px solid #d9dfe9!important;border-radius:15px!important;background:#fff!important;box-shadow:0 5px 15px rgba(23,33,58,.035)!important}
.storefrontSearch input{width:100%!important;height:45px!important;font-size:14px!important}.storefrontSearch .searchIcon{color:#2457f5!important}
.headerActions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;white-space:nowrap!important}
.headerAction{min-width:70px!important;height:62px!important;border-radius:13px!important;padding:4px 7px!important}
.headerAction svg{width:25px!important;height:25px!important}.headerAction>span{font-size:11px!important;font-weight:900!important}.headerAction:hover{background:#fff!important}
.headerCartCount{right:5px!important;top:2px!important}
.brandAvatar{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 82px!important;width:82px!important;height:82px!important;margin-left:7px!important;border-radius:50%!important;border:3px solid #f2a51a!important;background:#fff!important;box-shadow:0 5px 17px rgba(23,33,58,.14)!important;overflow:hidden!important}
.brandAvatarImg{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}

/* Menu follows the current Освіта+ storefront reference */
.storeMainNav{background:#fffdf8!important;border-bottom:1px solid #ebe8e1!important;box-shadow:0 5px 15px rgba(23,33,58,.025)!important}
.storeMainNavInner{height:60px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:center!important;gap:22px!important}
.storeNavItem{width:100%!important;height:44px!important;border-radius:12px!important;padding:0 16px!important;font-size:15px!important;font-weight:900!important}
.storeNavItem.is-active{background:var(--ref-red)!important;color:#fff!important;box-shadow:0 10px 22px rgba(243,60,75,.17)!important}

/* Hero: wide artwork only, never the circular avatar */
.heroCompact{grid-template-columns:minmax(0,.9fr) minmax(480px,1.1fr)!important;min-height:395px!important;margin:20px auto 18px!important;border-radius:28px!important;background:linear-gradient(112deg,#fffdf9 0%,#fff 43%,#f3f8ff 100%)!important;box-shadow:0 12px 34px rgba(21,32,59,.065)!important;overflow:hidden!important}
.heroCompactCopy{padding:35px 28px 34px 36px!important}.heroCompactCopy h1{font-size:clamp(39px,4.15vw,53px)!important;line-height:1.03!important;letter-spacing:-1.9px!important;margin-bottom:15px!important}.heroCompactCopy p{max-width:520px!important;font-size:15px!important;line-height:1.62!important;margin-bottom:18px!important}.heroCompactActions a{min-height:48px!important;padding:0 19px!important;font-size:14px!important}.heroReferenceFacts{gap:8px 17px!important;font-size:11px!important}
.heroCompactVisual{overflow:hidden!important;background:#f5faff!important;position:relative!important;min-height:395px!important}.heroCompactVisual:before{width:16%!important;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.78) 35%,rgba(255,255,255,.12) 80%,transparent 100%)!important}.heroCompactVisual img{display:block!important;width:100%!important;height:100%!important;min-height:395px!important;object-fit:cover!important;object-position:68% center!important;transform:scale(1.09)!important;transform-origin:78% center!important;padding:0!important;filter:none!important;image-rendering:auto!important}

@media(max-width:1120px){.storefrontHeaderRow{grid-template-columns:235px minmax(240px,1fr) auto!important;gap:12px!important}.brandDescriptor{display:none!important}.brandBlock{height:82px!important}.brandLogoImage{width:230px!important;height:82px!important}.brandAvatar{width:64px!important;height:64px!important;flex-basis:64px!important}.storeMainNavInner{gap:10px!important}.heroCompact{grid-template-columns:1fr 1fr!important;min-height:365px!important}.heroCompactVisual,.heroCompactVisual img{min-height:365px!important}.heroCompactVisual img{object-position:69% center!important;transform:scale(1.07)!important;transform-origin:78% center!important}}
@media(max-width:820px){.storefrontHeaderRow{grid-template-columns:190px 1fr auto!important;min-height:88px!important;padding:8px 14px!important}.brandBlock{height:70px!important}.brandLogoImage{width:185px!important;height:70px!important}.brandAvatar{width:58px!important;height:58px!important;flex-basis:58px!important}.headerAction{min-width:48px!important;width:48px!important}.headerAction>span{display:none!important}.storeMainNavInner{display:flex!important;height:54px!important;overflow-x:auto!important;gap:8px!important;justify-content:flex-start!important;padding:0 12px!important}.storeNavItem{width:auto!important;flex:0 0 auto!important;height:40px!important;font-size:13px!important}.heroCompact{grid-template-columns:1fr!important;min-height:auto!important}.heroCompactVisual{min-height:300px!important}.heroCompactVisual img{min-height:300px!important;height:300px!important;object-position:70% center!important;transform:scale(1.04)!important;transform-origin:78% center!important}}
@media(max-width:560px){.storefrontHeaderRow{grid-template-columns:1fr auto!important;gap:7px!important;padding:7px 12px 9px!important}.brandBlock{height:62px!important}.brandLogoImage{width:180px!important;height:62px!important}.brandAvatar{display:none!important}.storefrontSearch{grid-column:1/-1!important;grid-row:2!important;height:43px!important}.storefrontSearch input{height:41px!important}.headerActions{grid-column:2!important;grid-row:1!important}.headerAction{min-width:42px!important;width:42px!important;height:46px!important}.heroCompact{margin:14px 12px 16px!important;border-radius:22px!important}.heroCompactCopy{padding:26px 21px 19px!important}.heroCompactCopy h1{font-size:35px!important}.heroCompactVisual{min-height:245px!important}.heroCompactVisual img{min-height:245px!important;height:245px!important;object-position:70% center!important;transform:scale(1.02)!important;transform-origin:78% center!important}}
