/* Remaining original-site geometry: landscape, search, newsletter and drawer items. */
.ep-home .ep-node.ep-perfect-for{display:flex;flex-direction:column;gap:0;min-width:0}
.ep-home .ep-perfect-for>.ep-node{width:100%;max-width:100%;min-width:0}
.ep-home .ep-perfect-for .ep-heading-title{white-space:normal}
.ep-home .ep-back-sleepers-heading{display:block;width:100%;font:700 28px/1.3 Inter,Arial,sans-serif;text-align:center;margin:0 0 24px;letter-spacing:normal}
.ep-home .ep-carousel-track{scrollbar-width:none;padding-bottom:0;gap:10px}
.ep-home .ep-carousel-track::-webkit-scrollbar{display:none}
.ep-home .ep-carousel-controls{position:static;display:block;height:0}
.ep-home .ep-carousel-controls button{position:absolute;top:calc((100% - 64px)/2);transform:translateY(-50%);z-index:2;background:transparent;border:0;border-radius:0;padding:0;width:24px;height:30px;color:#07bab4}
.ep-home .ep-carousel-controls button:first-child{left:-8px}
.ep-home .ep-carousel-controls button:last-child{right:-8px}
.ep-home .ep-carousel-controls button svg{width:22px;height:24px;fill:currentColor}
.ep-carousel-dots{display:flex;align-items:center;justify-content:center;gap:0;margin:36px 0 20px;min-height:8px}
.ep-carousel-dots button{position:relative;width:18px;height:18px;background:transparent;padding:0;border:0}
.ep-carousel-dots button:before{content:"";display:block;width:6px;height:6px;border-radius:50%;background:#b8cdcd;margin:auto}
.ep-carousel-dots button[aria-current=true]:before{background:#111}
.ep-footer .ep-newsletter-provider .ep-newsletter-controls{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;max-width:352px}
.ep-footer .ep-newsletter-provider .ep-newsletter-controls>p{width:auto!important;min-width:0;margin:0!important;padding:0!important;flex:initial!important}
.ep-footer .ep-newsletter-provider .ep-newsletter-controls input[type=email]{width:100%!important;margin:0!important;min-width:0!important}
.ep-footer .ep-newsletter-provider .ep-newsletter-controls input[type=submit],.ep-footer .ep-newsletter-provider .ep-newsletter-controls button{width:auto!important;white-space:nowrap;margin:0!important}
/* Override WooCommerce's more specific cart_list float/width rules. */
.eazy-cart-panel .woocommerce ul.woocommerce-mini-cart li.woocommerce-mini-cart-item{display:block!important;width:100%;float:none;min-width:0;padding-left:86px!important;padding-right:28px!important}
.eazy-cart-panel .woocommerce ul.woocommerce-mini-cart li.woocommerce-mini-cart-item>a:not(.remove){display:block!important;width:auto!important;float:none!important;margin:0!important}
.eazy-cart-panel .woocommerce ul.woocommerce-mini-cart li.woocommerce-mini-cart-item img{width:66px!important;height:66px!important;max-width:66px!important;float:none!important;position:absolute;left:0;top:0;object-fit:cover}
.eazy-cart-panel .woocommerce ul.woocommerce-mini-cart li.woocommerce-mini-cart-item+li img{top:20px}
.eazy-cart-panel .woocommerce ul.woocommerce-mini-cart li.woocommerce-mini-cart-item .quantity{display:block!important;float:none!important;white-space:nowrap;margin:20px 0 0!important;width:auto!important}
body.search-overlay-open{overflow:hidden}
.ep-search-overlay{position:fixed;inset:0;background:#fff;z-index:100001;overflow-y:auto}
.admin-bar .ep-search-overlay{top:32px}
.ep-search-dialog{position:relative;width:100%;max-width:780px;padding:88px 100px 40px;margin:0 auto}
#ep-search-close{position:absolute;top:38px;right:0;padding:0;width:28px;height:28px;background:transparent;color:#222}
#ep-search-close svg{width:24px;height:24px}
.ep-search-form{position:relative;margin:0;width:100%;border:0;background:#eee;border-radius:50px}
.ep-search-form input[type=search]{display:block;width:100%;min-width:0;height:54px;margin:0;padding:12px 24px 12px 50px;border:0;border-radius:50px;background:transparent;font:300 16px/1.4 Inter,Arial,sans-serif;color:#333;box-shadow:none}
.ep-search-form input::placeholder{color:#888;opacity:1}
.ep-search-form button[type=submit]{position:absolute;left:18px;top:16px;background:transparent;color:#111;padding:0;width:22px;height:22px}
.ep-search-form button svg{display:block;width:20px;height:20px}
@media(min-width:768px){
 .eazy-cart-panel{padding:14px}
 .eazy-cart-head{margin:20px 0 18px}
 .eazy-cart-head button{color:#111}
 .eazy-cart-panel .woocommerce ul.woocommerce-mini-cart li.woocommerce-mini-cart-item{min-height:98px;padding-left:98px!important}
 .eazy-cart-panel .woocommerce ul.woocommerce-mini-cart li.woocommerce-mini-cart-item img{width:78px!important;height:78px!important;max-width:78px!important}
 .eazy-cart-panel .woocommerce ul.woocommerce-mini-cart li.woocommerce-mini-cart-item>a:not(.remove){color:#07aaa8}
 .eazy-cart-panel .woocommerce ul.woocommerce-mini-cart li.woocommerce-mini-cart-item .quantity{color:#e77140}
 .eazy-cart-panel .woocommerce ul.woocommerce-mini-cart li.woocommerce-mini-cart-item .remove{color:#111!important;border-color:#111}
}
@media(min-width:768px) and (max-width:1024px){.ep-home .ep-slide{flex-basis:calc((100% - 10px)/2)}}
@media(max-width:782px){.admin-bar .ep-search-overlay{top:46px}}
@media(max-width:767px){
 .ep-home .ep-back-sleepers-heading{font-size:24px}
 .ep-footer .ep-newsletter-provider .ep-newsletter-controls{display:grid!important;grid-template-columns:minmax(0,1fr);max-width:none}
 .ep-footer .ep-newsletter-provider .ep-newsletter-controls input[type=submit],.ep-footer .ep-newsletter-provider .ep-newsletter-controls button{width:100%!important}
 .ep-search-dialog{padding:88px 24px 40px}
 #ep-search-close{right:24px;top:26px}
}
/* Product-page review design reused after the homepage FAQs. */
.ep-home .ep-home-customer-reviews{background:#fcfaf8;padding:36px 16px;width:100%}
.ep-home .ep-home-customer-reviews .epr{margin:0 auto;max-width:1180px}
