/* 1.4: centered home sections, balanced native checkout and a more distinct footer. */
body.ep-theme.ep-home-page .ep-layout:has(.es-home){display:grid;grid-template-columns:232px minmax(0,1fr);column-gap:28px;row-gap:32px;margin-inline:auto!important;width:100%}
body.ep-theme.ep-home-page .ep-layout:has(.es-home)>.ep-content,body.ep-theme.ep-home-page .ep-layout .es-home{display:contents}
body.ep-theme.ep-home-page .ep-layout:has(.es-home)>.ep-sidebar{grid-column:1;grid-row:1 / span 2;align-self:start;margin:0}
body.ep-theme.ep-home-page .ep-layout .es-home>.es-hero{grid-column:2;grid-row:1;margin:0!important;min-width:0}
body.ep-theme.ep-home-page .ep-layout .es-home>.es-services{grid-column:2;grid-row:2;margin:0!important;padding:20px 0;min-width:0}
body.ep-theme.ep-home-page .ep-layout .es-home>:is(.es-section,.es-brand-panel,.es-help){grid-column:1 / -1;min-width:0;width:100%;max-width:none;margin:8px 0 0!important}
body.ep-theme.ep-home-page .es-section>.es-eyebrow,body.ep-theme.ep-home-page .es-section>h2{text-align:center}
body.ep-theme.ep-home-page .es-section>.es-eyebrow{margin-bottom:10px}
body.ep-theme.ep-home-page .es-section>h2{font-size:clamp(26px,2.4vw,34px);margin-bottom:28px}
body.ep-theme.ep-home-page .es-collection{text-align:center;padding:24px;display:flex;flex-direction:column;align-items:stretch}
body.ep-theme.ep-home-page .es-collection h3{font-size:17px;line-height:1.4;min-height:2.8em;margin:3px 0 9px}
body.ep-theme.ep-home-page .es-collection p{font-size:13px;line-height:1.7;margin:0 0 14px}
body.ep-theme.ep-home-page .es-collection p:last-child{margin-top:auto;margin-bottom:0;font-weight:650}
body.ep-theme.ep-home-page .es-brand-panel{padding:42px;gap:36px;border:0}
body.ep-theme.ep-home-page .es-help{background:#fff;border:1px solid #dce5ed;border-radius:16px;padding:32px 36px;gap:24px}
body.ep-theme.ep-home-page .es-help .wp-block-group{margin:0;min-width:0}
body.ep-theme ul.products li.product,body.ep-theme ul.products li.product a img,body.ep-theme .wc-block-product-template>li,body.ep-theme .wc-block-components-product-image,body.ep-theme .wc-block-components-product-image img,body.ep-theme .woocommerce-product-gallery__image,body.ep-theme .woocommerce-product-gallery__image img{background:#fff!important}
/* Checkout: one centered form, two independent panels, no floats. */
body.ep-theme.ep-checkout-page{background:#f5f7fa}
body.ep-theme.ep-checkout-page .ep-layout{display:block;max-width:1328px!important;margin-inline:auto!important;padding:30px 24px 56px}
body.ep-theme.ep-checkout-page .ep-layout>.ep-sidebar{display:none}
body.ep-theme.ep-checkout-page .ep-content,body.ep-theme.ep-checkout-page .ep-full-page,body.ep-theme.ep-checkout-page .wp-block-post-content{width:100%;max-width:1328px!important;margin-inline:auto!important}
body.ep-theme.ep-checkout-page .wp-block-post-content>.woocommerce{width:100%!important;max-width:1280px!important;margin-inline:auto!important;padding:0 24px 48px;box-sizing:border-box}
body.ep-theme.ep-checkout-page:has(form.checkout) .wp-block-post-title{display:none}
body.ep-theme .ep-checkout-heading{margin:32px auto 26px;max-width:1280px;text-align:center;color:#173e59}
body.ep-theme .ep-checkout-heading .ep-checkout-eyebrow{font-size:10px;font-weight:700;letter-spacing:.14em;color:#527d9a;margin:0 0 10px}
body.ep-theme .ep-checkout-heading h1{font-size:clamp(28px,3vw,38px);line-height:1.2;letter-spacing:-.035em;margin:0 0 12px}
body.ep-theme .ep-checkout-heading>p:last-child{font-size:14px;color:#657e8f;line-height:1.7;margin:0}
body.ep-theme.ep-checkout-page form.checkout{display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);align-items:start;gap:28px;width:100%;max-width:1280px;margin:0 auto!important;float:none}
body.ep-theme.ep-checkout-page form.checkout::before,body.ep-theme.ep-checkout-page form.checkout::after{display:none}
body.ep-theme.ep-checkout-page form.checkout>#customer_details{grid-column:1;width:100%!important;float:none!important;min-width:0;margin:0}
body.ep-theme.ep-checkout-page form.checkout>#customer_details>.col-1,body.ep-theme.ep-checkout-page form.checkout>#customer_details>.col-2{float:none!important;width:100%!important;margin:0}
body.ep-theme.ep-checkout-page .woocommerce-billing-fields,body.ep-theme.ep-checkout-page .woocommerce-shipping-fields,body.ep-theme.ep-checkout-page .woocommerce-additional-fields{padding:26px;border:1px solid #dfe7ee;border-radius:15px;box-shadow:0 4px 16px #173e5904;background:#fff;margin:0 0 20px}
body.ep-theme.ep-checkout-page .woocommerce-shipping-fields:empty{display:none}
body.ep-theme.ep-checkout-page .woocommerce-billing-fields h3,body.ep-theme.ep-checkout-page .woocommerce-additional-fields h3{font-size:22px;line-height:1.3;margin:0 0 24px;letter-spacing:-.02em}
body.ep-theme.ep-checkout-page .woocommerce-billing-fields__field-wrapper,body.ep-theme.ep-checkout-page .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}
body.ep-theme.ep-checkout-page .woocommerce-billing-fields__field-wrapper>.form-row,body.ep-theme.ep-checkout-page .woocommerce-shipping-fields__field-wrapper>.form-row{float:none!important;width:auto!important;margin:0;padding:0;min-width:0;align-self:start}
body.ep-theme.ep-checkout-page .woocommerce-billing-fields__field-wrapper>.form-row-wide,body.ep-theme.ep-checkout-page .woocommerce-shipping-fields__field-wrapper>.form-row-wide{grid-column:1 / -1}
body.ep-theme.ep-checkout-page :is(#billing_postcode_field,#billing_city_field,#billing_state_field,#billing_phone_field,#shipping_postcode_field,#shipping_city_field,#shipping_state_field){grid-column:auto}
body.ep-theme.ep-checkout-page .form-row label{font-size:12px;line-height:1.6;font-weight:600;margin-bottom:7px;color:#345469}
body.ep-theme.ep-checkout-page .form-row .input-text,body.ep-theme.ep-checkout-page .form-row select,body.ep-theme.ep-checkout-page .select2-selection--single{width:100%;min-height:48px;border:1px solid #d4e0e9;background:#fff;border-radius:8px;font-size:16px;color:#294e66;padding:11px 12px;box-shadow:none}
body.ep-theme.ep-checkout-page .form-row .input-text:focus{border-color:#76a5c8;outline:2px solid #e1eff9;outline-offset:1px}
body.ep-theme.ep-checkout-page .form-row textarea.input-text{min-height:96px;resize:vertical}
body.ep-theme.ep-checkout-page .select2-container{max-width:100%;width:100%!important}
body.ep-theme.ep-checkout-page .select2-selection--single{padding:8px 10px}
body.ep-theme.ep-checkout-page .select2-selection__rendered{padding-left:0;line-height:30px}
body.ep-theme.ep-checkout-page .select2-selection__arrow{top:10px}
body.ep-theme.ep-checkout-page .select2-hidden-accessible{min-height:0!important}
body.ep-theme.ep-checkout-page .form-row .description{font-size:11px;color:#6b8292;line-height:1.6;margin-top:7px}
body.ep-theme.ep-checkout-page form.checkout>.ep-checkout-summary{grid-column:2;min-width:0;width:100%;padding:26px;background:#fff;border:1px solid #dfe7ee;border-radius:15px;box-shadow:0 4px 16px #173e5904;align-self:start}
body.ep-theme.ep-checkout-page #order_review_heading{float:none!important;clear:none!important;width:100%!important;margin:0 0 22px;padding:0 0 18px;border-bottom:1px solid #e7edf2;font-size:22px;line-height:1.3;letter-spacing:-.02em}
body.ep-theme.ep-checkout-page #order_review{float:none!important;clear:none!important;width:100%!important;padding:0;border:0;border-radius:0;background:#fff;margin:0;min-width:0}
body.ep-theme.ep-checkout-page .woocommerce-checkout-review-order-table{background:#fff;border:0!important;border-collapse:collapse!important;table-layout:auto;width:100%;margin:0 0 22px!important;font-size:13px}
body.ep-theme.ep-checkout-page .woocommerce-checkout-review-order-table th,body.ep-theme.ep-checkout-page .woocommerce-checkout-review-order-table td{background:#fff;padding:15px 0;border:0;border-bottom:1px solid #e9eef3;vertical-align:top;line-height:1.65;overflow-wrap:anywhere}
body.ep-theme.ep-checkout-page .woocommerce-checkout-review-order-table .product-name{padding-right:18px}
body.ep-theme.ep-checkout-page .woocommerce-checkout-review-order-table .product-total,body.ep-theme.ep-checkout-page .woocommerce-checkout-review-order-table .cart-subtotal td{text-align:right;white-space:nowrap}
body.ep-theme.ep-checkout-page .woocommerce-checkout-review-order-table .order-total th{font-size:16px;padding-top:18px;color:#173e59}
body.ep-theme.ep-checkout-page .woocommerce-checkout-review-order-table .order-total td{text-align:right;padding-top:18px;font-size:22px;font-weight:750;color:#173e59}
body.ep-theme.ep-checkout-page .woocommerce-checkout-review-order-table .order-total .includes_tax{display:block;font-size:10px;line-height:1.6;font-weight:400;color:#6b8191;white-space:normal}
body.ep-theme.ep-checkout-page .woocommerce-checkout-review-order-table .shipping th[hidden]{display:none!important}
body.ep-theme.ep-checkout-page .ep-shipping-label{display:block;margin-bottom:12px;font-size:13px}
body.ep-theme.ep-checkout-page #shipping_method{margin:0;padding:0;list-style:none}
body.ep-theme.ep-checkout-page #shipping_method li{display:flex;align-items:flex-start;gap:9px;padding:10px 0;margin:0;font-size:12px;line-height:1.6}
body.ep-theme.ep-checkout-page #shipping_method input{flex:0 0 16px;margin:4px 0 0;width:16px;height:16px;min-height:0}
body.ep-theme.ep-checkout-page #shipping_method label{min-width:0;line-height:1.6}
body.ep-theme.ep-checkout-page #shipping_method label img{max-height:24px;max-width:80px;width:auto;object-fit:contain;vertical-align:middle;margin-right:5px}
body.ep-theme.ep-checkout-page #payment{background:#fff!important;border-radius:0;margin-top:16px}
body.ep-theme.ep-checkout-page #payment ul.payment_methods{padding:0;border:0;margin:0 0 20px}
body.ep-theme.ep-checkout-page #payment ul.payment_methods>li.wc_payment_method{display:grid;grid-template-columns:18px minmax(0,1fr);column-gap:10px;margin:0 0 10px;padding:14px;border:1px solid #e0e8ef;border-radius:10px;line-height:1.6;background:#fff}
body.ep-theme.ep-checkout-page #payment ul.payment_methods>li.wc_payment_method>input{grid-column:1;grid-row:1;width:17px;height:17px;min-height:0;margin:4px 0 0}
body.ep-theme.ep-checkout-page #payment ul.payment_methods>li.wc_payment_method>label{grid-column:2;grid-row:1;min-width:0;font-size:13px;font-weight:600;margin:0;line-height:1.7}
body.ep-theme.ep-checkout-page #payment ul.payment_methods>li.wc_payment_method>label img{max-height:26px;max-width:130px;width:auto;object-fit:contain}
body.ep-theme.ep-checkout-page #payment .payment_box{grid-column:1/-1;min-width:0;max-width:100%;margin:12px 0 0;padding:13px;border-radius:7px;background:#f1f6fa;color:#526f83;font-size:12px;line-height:1.75}
body.ep-theme.ep-checkout-page #payment .payment_box::before{display:none}
body.ep-theme.ep-checkout-page #payment .payment_box p:last-child{margin-bottom:0}
body.ep-theme.ep-checkout-page #payment .place-order{padding:0;margin:0}
body.ep-theme.ep-checkout-page .woocommerce-privacy-policy-text{font-size:11px;line-height:1.8;color:#6b8191;margin:0 0 17px}
body.ep-theme.ep-checkout-page .woocommerce-terms-and-conditions-wrapper label.checkbox{display:flex!important;align-items:flex-start;gap:8px;line-height:1.65;font-size:12px;font-weight:400;color:#395c74}
body.ep-theme.ep-checkout-page .woocommerce-terms-and-conditions-wrapper input.input-checkbox{width:18px;height:18px;min-height:0;flex:0 0 18px;margin:3px 0 0;position:static}
body.ep-theme.ep-checkout-page .woocommerce-terms-and-conditions-checkbox-text{flex:1;min-width:0}
body.ep-theme.ep-checkout-page #place_order{float:none;width:100%;min-height:52px;border:0;border-radius:9px;margin:17px 0 0;padding:14px 18px;font-size:15px;font-weight:700;background:#246aa1;color:#fff;line-height:1.6}
body.ep-theme.ep-checkout-page form.checkout>.woocommerce-NoticeGroup{grid-column:1/-1}
body.ep-theme.ep-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info{background:#edf4fa;color:#416781;border:1px solid #dae6ef;border-radius:10px;font-size:12px;padding:17px 18px 17px 44px;margin:0 0 24px}
body.ep-theme.ep-checkout-page .wc-block-checkout{max-width:1280px;margin-inline:auto;gap:28px;--wc-form-border-color:#d4e0e9}
body.ep-theme.ep-checkout-page .wc-block-checkout .wc-block-components-sidebar{background:#fff;border:1px solid #dfe7ee;border-radius:15px;padding:22px}
/* Footer: existing content and menu destinations remain editable. */
body.ep-theme .ep-footer{background:#12364e;color:#d4e2ec;border-top:4px solid #327ead;padding:52px 24px 26px}
body.ep-theme .ep-footer>.wp-block-group{width:100%;max-width:1392px;margin:0 auto}
body.ep-theme .ep-footer .wp-block-columns{display:grid;grid-template-columns:1.2fr .9fr 1fr;gap:58px;margin:0 0 32px}
body.ep-theme .ep-footer .wp-block-column{min-width:0;margin:0}
body.ep-theme .ep-footer h3{font-size:13px;line-height:1.5;letter-spacing:.025em;font-weight:700;color:#fff;margin:0 0 18px}
body.ep-theme .ep-footer .wp-block-column:first-child h3{font-size:23px;letter-spacing:.04em;text-transform:uppercase;margin-bottom:18px}
body.ep-theme .ep-footer p{font-size:12px;line-height:1.9;color:#b8cddb;margin:0 0 15px}
body.ep-theme .ep-footer .wp-block-column:first-child p{max-width:370px;font-size:13px}
body.ep-theme .ep-footer a{color:#e4eff6;text-decoration:none;text-underline-offset:4px;overflow-wrap:anywhere}
body.ep-theme .ep-footer a:hover{color:#fff;text-decoration:underline}
body.ep-theme .ep-footer-menu .ep-menu-list a{display:block;font-size:12px;padding:8px 0;min-height:36px;color:#c5d9e7;line-height:1.6}
body.ep-theme .ep-footer a[href^="tel:"]{display:inline-block;font-size:19px;font-weight:650;margin:0 0 6px;color:#fff}
body.ep-theme .ep-footer a[href^="mailto:"]{display:inline-block;font-size:13px;margin-bottom:7px;color:#c4e4f8}
body.ep-theme .ep-footer .ep-footer-bottom{border-top:1px solid #ffffff24;padding:21px 0 0;margin:0;font-size:11px;color:#93b3c8;letter-spacing:.035em;line-height:1.8}
@media(min-width:961px){body.ep-theme.ep-checkout-page .ep-checkout-summary{position:relative}}
@media(max-width:1100px) and (min-width:961px){body.ep-theme.ep-home-page .ep-layout:has(.es-home){grid-template-columns:215px minmax(0,1fr);gap:24px}body.ep-theme.ep-checkout-page form.checkout{gap:20px;grid-template-columns:minmax(0,1fr) minmax(0,.9fr)}body.ep-theme.ep-checkout-page .woocommerce-billing-fields,body.ep-theme.ep-checkout-page form.checkout>.ep-checkout-summary{padding:20px}}
@media(max-width:960px){
 body.ep-theme.ep-home-page .ep-layout:has(.es-home){grid-template-columns:minmax(0,1fr);gap:25px}
 body.ep-theme.ep-home-page .ep-layout:has(.es-home)>.ep-sidebar,body.ep-theme.ep-home-page .ep-layout .es-home>.es-hero,body.ep-theme.ep-home-page .ep-layout .es-home>.es-services{grid-column:1;grid-row:auto}
 body.ep-theme.ep-home-page .es-collection{padding:18px}
 body.ep-theme.ep-checkout-page form.checkout{grid-template-columns:minmax(0,1fr);gap:0}
 body.ep-theme.ep-checkout-page form.checkout>.ep-checkout-summary{grid-column:1;margin:0}
 body.ep-theme.ep-checkout-page .ep-layout{padding:20px 16px 36px}
 body.ep-theme.ep-checkout-page .wp-block-post-content>.woocommerce{padding:0 18px 36px}
 body.ep-theme .ep-footer .wp-block-columns{gap:30px;grid-template-columns:1fr 1fr}
 body.ep-theme .ep-footer .wp-block-column:first-child{grid-column:1/-1}
}
@media(max-width:640px){
 body.ep-theme.ep-home-page .ep-layout:has(.es-home){row-gap:23px}
 body.ep-theme.ep-home-page .es-section>h2{font-size:26px;margin-bottom:21px}
 body.ep-theme.ep-home-page .es-collection{padding:14px}
 body.ep-theme.ep-home-page .es-collection h3{font-size:14px;min-height:2.8em}
 body.ep-theme.ep-home-page .es-collection p{font-size:12px}
 body.ep-theme.ep-home-page .es-brand-panel,body.ep-theme.ep-home-page .es-help{padding:25px 22px}
 body.ep-theme .ep-checkout-heading{margin:24px 0 22px}
 body.ep-theme .ep-checkout-heading h1{font-size:28px}
 body.ep-theme .ep-checkout-heading>p:last-child{font-size:12px}
 body.ep-theme.ep-checkout-page .wp-block-post-content>.woocommerce{padding:0 12px 30px}
 body.ep-theme.ep-checkout-page .woocommerce-billing-fields,body.ep-theme.ep-checkout-page .woocommerce-shipping-fields,body.ep-theme.ep-checkout-page .woocommerce-additional-fields,body.ep-theme.ep-checkout-page form.checkout>.ep-checkout-summary{padding:19px 16px;border-radius:12px}
 body.ep-theme.ep-checkout-page .woocommerce-billing-fields__field-wrapper,body.ep-theme.ep-checkout-page .woocommerce-shipping-fields__field-wrapper{gap:15px 12px}
 body.ep-theme.ep-checkout-page .woocommerce-billing-fields h3,body.ep-theme.ep-checkout-page #order_review_heading{font-size:21px}
 body.ep-theme.ep-checkout-page .woocommerce-checkout-review-order-table{font-size:12px}
 body.ep-theme.ep-checkout-page .woocommerce-checkout-review-order-table .order-total td{font-size:20px}
 body.ep-theme .ep-footer{padding:38px 22px 24px}
 body.ep-theme .ep-footer .wp-block-columns{grid-template-columns:1fr;gap:25px;margin-bottom:25px}
 body.ep-theme .ep-footer .wp-block-column:first-child{grid-column:auto}
 body.ep-theme .ep-footer h3{margin-bottom:12px}
}
@media(max-width:380px){body.ep-theme.ep-checkout-page .woocommerce-billing-fields__field-wrapper,body.ep-theme.ep-checkout-page .woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr}body.ep-theme.ep-checkout-page .woocommerce-billing-fields__field-wrapper>.form-row,body.ep-theme.ep-checkout-page .woocommerce-shipping-fields__field-wrapper>.form-row{grid-column:1}}

body.ep-theme.ep-checkout-page :is(#billing_es_type_field,#billing_email_field){grid-column:1/-1}
body.ep-theme.ep-checkout-page .woocommerce-checkout-review-order-table .woocommerce-Price-amount{white-space:nowrap}
body.ep-theme.ep-checkout-page .select2-selection--single{height:48px!important;min-height:48px;box-sizing:border-box}
body.ep-theme.ep-checkout-page .select2-selection--single{display:flex;align-items:center;padding:0 12px!important}
body.ep-theme.ep-checkout-page .select2-selection__rendered{width:100%;line-height:normal!important;padding:0 20px 0 0!important}
body.ep-theme.ep-checkout-page .woocommerce-terms-and-conditions-checkbox-text{flex:0 1 auto}
