/* Endolite UI layer: skeuomorphic buttons, clay cards, neumorphic controls, bento grids.
   Loaded by mu-plugins/endolite-ui.php on every front-end page. Remove that file to undo. */
:root{
	--elu-navy:#0b2a5b; --elu-blue:#034078; --elu-sky:#e9eff8;
	--elu-neu-bg:#eef1f7; --elu-neu-dark:rgba(150,165,190,.55); --elu-neu-light:rgba(255,255,255,.95);
	--elu-r:26px;
	--elu-spring:cubic-bezier(.34,1.56,.64,1);
}

/* ---------- skeuomorphism: buttons look physical (gloss, bevel, drop, press) ---------- */
body .elementor-button,
body .ohio-widget.button,
body a.button:not(.-text),
body button.button:not(.-text):not(.search-submit),
body .woolentor-quick-checkout-button,
body .single_add_to_cart_button,
body input[type=submit],
body .wpcf7-submit,
body .elementor-field-type-submit button{
	position:relative;
	background-image:linear-gradient(180deg,rgba(255,255,255,.38) 0%,rgba(255,255,255,.1) 48%,rgba(0,0,0,0) 52%,rgba(0,0,0,.14) 100%)!important;
	border:1px solid rgba(0,0,0,.22)!important;
	border-radius:14px!important;
	box-shadow:inset 0 1px 0 rgba(255,255,255,.65),inset 0 -3px 0 rgba(0,0,0,.16),0 3px 0 rgba(0,0,0,.2),0 8px 16px -4px rgba(0,0,0,.28)!important;
	text-shadow:0 1px 1px rgba(0,0,0,.18);
	transition:transform .18s var(--elu-spring),box-shadow .18s,filter .18s!important;
}
body .elementor-button:hover,
body .ohio-widget.button:hover,
body a.button:not(.-text):hover,
body button.button:not(.-text):not(.search-submit):hover,
body .woolentor-quick-checkout-button:hover,
body .single_add_to_cart_button:hover,
body input[type=submit]:hover,
body .wpcf7-submit:hover{
	transform:translateY(-2px);filter:brightness(1.06);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.7),inset 0 -3px 0 rgba(0,0,0,.16),0 5px 0 rgba(0,0,0,.2),0 14px 22px -6px rgba(0,0,0,.3)!important;
}
body .elementor-button:active,
body .ohio-widget.button:active,
body a.button:not(.-text):active,
body button.button:not(.-text):not(.search-submit):active,
body .woolentor-quick-checkout-button:active,
body .single_add_to_cart_button:active,
body input[type=submit]:active,
body .wpcf7-submit:active{
	transform:translateY(3px);filter:brightness(.96);
	box-shadow:inset 0 3px 6px rgba(0,0,0,.28),inset 0 -1px 0 rgba(255,255,255,.3),0 0 0 rgba(0,0,0,0)!important;
	transition-duration:.06s!important;
}

/* ---------- neumorphism: soft extruded / pressed controls ---------- */
body .icon-button:not(.-light){
	background:var(--elu-neu-bg)!important;border-radius:50%!important;
	box-shadow:5px 5px 12px var(--elu-neu-dark),-5px -5px 12px var(--elu-neu-light)!important;
	transition:box-shadow .2s,transform .2s var(--elu-spring)!important;
}
body .icon-button.-light{
	background:rgba(255,255,255,.14)!important;border-radius:50%!important;backdrop-filter:blur(6px);
	box-shadow:5px 5px 12px rgba(0,0,0,.35),-4px -4px 10px rgba(255,255,255,.14),inset 1px 1px 0 rgba(255,255,255,.25)!important;
}
body .icon-button:hover{transform:translateY(-1px)}
body .icon-button:active{box-shadow:inset 4px 4px 9px var(--elu-neu-dark),inset -4px -4px 9px var(--elu-neu-light)!important}
body input[type=search],body input[type=text],body input[type=email],body input[type=tel],body input[type=number],body input[type=password],body textarea,body select{
	background:var(--elu-neu-bg)!important;border:0!important;border-radius:14px!important;
	box-shadow:inset 4px 4px 9px var(--elu-neu-dark),inset -4px -4px 9px var(--elu-neu-light)!important;
	padding-left:14px!important;transition:box-shadow .2s!important;
}
body input[type=search]:focus,body input[type=text]:focus,body input[type=email]:focus,body input[type=tel]:focus,body input[type=number]:focus,body textarea:focus,body select:focus{
	outline:0!important;box-shadow:inset 2px 2px 5px var(--elu-neu-dark),inset -2px -2px 5px var(--elu-neu-light),0 0 0 3px rgba(3,64,120,.18)!important;
}
/* side menus built from inline-styled links (About pages): raised pills, current page pressed in */
body .elementor-widget-html a[style*="display:block"][style*="padding:12px 20px"]{
	border-radius:14px;margin:8px 0;background:var(--elu-neu-bg)!important;border-right:0!important;
	box-shadow:5px 5px 11px var(--elu-neu-dark),-5px -5px 11px var(--elu-neu-light);transition:box-shadow .2s,transform .2s var(--elu-spring)}
body .elementor-widget-html a[style*="display:block"][style*="padding:12px 20px"]:hover{transform:translateX(3px)}
body .elementor-widget-html a[style*="display:block"][style*="border-right"]{color:var(--elu-blue)!important;
	box-shadow:inset 4px 4px 9px var(--elu-neu-dark),inset -4px -4px 9px var(--elu-neu-light)}
/* header: soft raised bar */
body .elementor-location-header > .e-con,body .elementor-location-header > .elementor-section{
	background:linear-gradient(145deg,#ffffff,#f1f4f9)!important;
	box-shadow:0 8px 22px -10px var(--elu-neu-dark),0 -1px 0 var(--elu-neu-light) inset!important;
	border-radius:0 0 26px 26px;
}

/* ---------- claymorphism: puffy rounded cards ---------- */
body .elu-clay,
body .product-item.card,
body .ohio-banner-sc.card,
body .elementor-cta{
	border-radius:var(--elu-r)!important;overflow:hidden;position:relative;isolation:isolate;
	box-shadow:0 22px 40px -18px rgba(11,42,91,.45),0 6px 12px -6px rgba(11,42,91,.2)!important;
	transition:transform .35s var(--elu-spring),box-shadow .3s!important;
}
body .product-item.card{background:#fff!important;padding:14px!important}
body .product-item .product-item-thumbnail,body .product-item .product-item-thumbnail img{border-radius:18px!important;overflow:hidden}
body .elu-clay:hover,body .product-item.card:hover,body .ohio-banner-sc.card:hover,body .elementor-cta:hover{
	transform:translateY(-6px) scale(1.01);
	box-shadow:0 30px 50px -20px rgba(11,42,91,.5),0 10px 18px -8px rgba(11,42,91,.22)!important;
}
/* inner light + shade drawn on top of any background or photo */
.elu-gloss{position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:5;
	box-shadow:inset 8px 10px 18px rgba(255,255,255,.55),inset -10px -12px 22px rgba(0,0,0,.12)}
.elu-dark > .elu-gloss{box-shadow:inset 6px 8px 16px rgba(255,255,255,.2),inset -10px -14px 24px rgba(0,0,0,.35)}

/* ---------- bento grids ---------- */
body .elu-bento{display:grid!important;gap:20px!important;grid-auto-flow:dense;grid-auto-rows:minmax(220px,auto);
	grid-template-columns:repeat(4,minmax(0,1fr));flex-wrap:initial!important;width:100%}
body .elu-bento > *{width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;flex:none!important;--width:auto}
body .elu-bento > * > .elementor-widget,body .elu-bento > * > .elementor-widget > .elementor-widget-container,
body .elu-bento > * .ohio-banner-sc,body .elu-bento > li > .product-item{height:100%}
body .elu-bento.n3{grid-template-columns:1.6fr 1fr 1fr}
body .elu-bento.n4{grid-template-columns:repeat(3,minmax(0,1fr))}
body .elu-bento.n4 > :first-child{grid-row:span 2}
body .elu-bento.n4 > :nth-child(4){grid-column:span 2}
body .elu-bento.n5 > :first-child,body .elu-bento.n6 > :first-child,body .elu-bento.nx > :first-child{grid-column:span 2;grid-row:span 2}
body .elu-bento.n6 > :nth-child(n+4){grid-column:span 2}
body .elu-bento.nx > :nth-child(6){grid-column:span 2}
/* category banners: photo keeps its size, the card colour fills the rest */
body .elu-banners{grid-auto-rows:230px}
body .elu-banners .ohio-banner-sc > a,body .elu-banners .image-holder{display:flex!important;height:100%;justify-content:center;align-items:center;
	background:linear-gradient(180deg,#086a80 0%,#03455a 55%,#012636 100%)}
body .elu-banners .image-holder{position:relative}
body .elu-banners .image-holder img{height:100%!important;width:auto!important;max-width:100%;object-fit:contain;
	-webkit-mask-image:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent);mask-image:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent)}
body .elu-banners .overlay-details{position:absolute!important;inset:0!important;width:auto!important;padding:22px!important;display:flex;flex-direction:column;justify-content:space-between;text-align:left}
body .elu-ctas,body .elu-icons{grid-auto-rows:auto}
body .elu-ctas .elementor-cta{height:100%}
/* product bento: one hero product (first with a real photo) gets 2x2, the last tile closes any gap */
body .elu-products > li{background:none!important;padding:0!important;border:0!important;box-shadow:none!important}
body .elu-products > li .product-item{height:100%;display:flex;flex-direction:column}
body .elu-products .product-item-thumbnail{display:flex;justify-content:center;align-items:center}
body .elu-products .product-item-thumbnail img{width:auto;max-width:100%;object-fit:contain}
body .elu-products > li.elu-hero{grid-column:span 2;grid-row:span 2}
body .elu-products > li.elu-wide{grid-column:span 2}
body .elu-products > li.elu-hero .product-item-thumbnail{flex:1;background:#fff}
body .elu-products > li.elu-hero .product-item-thumbnail img{max-height:440px}
body .elu-products > li.elu-hero h3,body .elu-products > li.elu-hero .product-item-title{font-size:1.4em}
body .elu-products > li.elu-wide .product-item-thumbnail img{max-height:240px}
@media (max-width:1024px){
	body .elu-bento{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
	body .elu-bento > *{grid-column:auto!important;grid-row:auto!important}
	body .elu-bento > .elu-hero{grid-column:span 2!important}
	body .elu-products > li.elu-hero .product-item-thumbnail img{max-height:260px}
	body .elu-products.m-odd > li:last-child:not(.elu-hero){grid-column:span 2!important}
}
@media (max-width:480px){
	body .elu-bento.elu-cards{grid-template-columns:1fr!important}
	body .elu-bento.elu-cards > *{grid-column:auto!important}
	:root{--elu-r:22px}
}
@media (prefers-reduced-motion:reduce){
	body .elu-clay,body .product-item.card,body .ohio-banner-sc.card,body .elementor-button{transition:none!important}
}
