/* Consistent, readable form controls; quantity widgets are handled separately. */
.ex-content :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),textarea,select),.woocommerce form :is(input.input-text,textarea,select){border:2px solid #888;font-size:1em;line-height:1.3}
.ex-content p a:hover{color:color-mix(in srgb,currentColor 65%,#000);text-decoration-thickness:2px;text-underline-offset:.15em}
.ex-content [class*="is-style-bfex-section-"] p a:hover{color:var(--ex-link-hover);text-decoration-thickness:2px}
@media(min-width:800px){
 .ex-menu>.ex-menu__item>.ex-menu__row>:is(a,.ex-menu__parent){padding:4.5px 14px 2px}
 .ex-menu>.ex-menu__item>.ex-menu__row>.ex-menu__toggle{position:absolute;right:0;top:0;opacity:0;width:1px;min-width:0;padding:0;overflow:hidden}
 .ex-menu>.ex-menu__item>.ex-menu__row>.ex-menu__toggle:focus-visible{opacity:1;width:24px;min-width:24px;background:white;z-index:2}
 .ex-menu>.ex-menu__item>.ex-menu__row>.ex-menu__toggle span{border:0;width:auto;height:auto;transform:none;font-size:0}
 .ex-menu>.ex-menu__item>.ex-menu__row>.ex-menu__toggle:focus-visible span:after{content:'+';font-size:18px}
}
@media(min-width:800px) and (max-width:1199px){.ex-menu>.ex-menu__item>.ex-menu__row>:is(a,.ex-menu__parent){padding:7px 9px 1px}}
/* Native WooCommerce blocks retain their checkout logic, with a quieter visual frame. */
body:is(.woocommerce-cart,.woocommerce-checkout) .ex-content{background:transparent;padding:0}
body .wc-block-components-sidebar-layout{gap:32px;align-items:start;font-family:var(--ex-font);font-size:1em;line-height:1.3}
body .wc-block-components-sidebar-layout .wc-block-components-main{width:auto;flex:1;min-width:0;padding:clamp(20px,3vw,38px);background:#fff;border-radius:var(--ex-radius)}
body .wc-block-components-sidebar-layout .wc-block-components-sidebar{width:34%;padding:clamp(20px,2.5vw,32px);margin:0;background:#fff;border-radius:var(--ex-radius)}
body .wc-block-cart,body .wc-block-checkout{font-size:1em;font-weight:200}
body .wc-block-cart :is(.wc-block-components-product-name,.wc-block-components-product-price,.wc-block-components-product-metadata,.wc-block-cart-item__prices,.wc-block-cart-item__total,.wc-block-cart__submit-button),body .wc-block-checkout :is(.wc-block-components-product-name,.wc-block-components-product-price,.wc-block-components-order-summary-item__description),body :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-totals-item{font-size:1em}
body .wc-block-cart .wc-block-components-product-name{font-weight:400;text-decoration:none}
body .wc-block-cart .wc-block-components-product-metadata{font-size:.9em}
body .wc-block-cart table.wc-block-cart-items{font-size:1em;border:0;margin:0}
body .wc-block-cart table.wc-block-cart-items th{font-size:.75em;font-weight:400;letter-spacing:.04em;padding-bottom:20px}
body .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__image{width:100px;padding:24px 18px 24px 0}
body .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__image img{border-radius:8px}
body .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__product,body .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__total{padding-block:24px}
body :is(.wc-block-cart,.wc-block-checkout) :is(.wc-block-components-title,.wc-block-cart__totals-title){font-family:var(--ex-font);font-size:1.25em;font-weight:400;text-transform:none}
body .wc-block-components-totals-wrapper{padding-block:18px}
body .wc-block-components-totals-footer-item{font-size:1.2em!important}
body .wc-block-components-button:not(.is-link){font-family:var(--ex-font);font-size:1em;font-weight:400;background:#303030;color:#fff;border:0;border-radius:8px;min-height:52px;padding:12px 20px;box-shadow:none}
body .wc-block-components-button:not(.is-link):hover{background:#111}
body .wc-block-components-quantity-selector{display:grid;grid-template-columns:38px 42px 38px;width:118px;min-width:118px;height:44px;min-height:44px;padding:0;border:2px solid #888;border-radius:7px;align-items:stretch;box-sizing:content-box;font-size:1em;margin:10px 0}
body .wc-block-components-quantity-selector:after{display:none}
body .ex-content .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input{grid-column:2;grid-row:1;width:42px;max-width:42px;min-width:0;min-height:0;height:44px;margin:0!important;padding:0!important;border:0!important;border-radius:0;font:300 18px/44px var(--ex-font);background:transparent;box-shadow:none;text-align:center;appearance:textfield}
body .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button{width:38px;min-width:38px;height:44px;margin:0;padding:0;border:0;background:transparent;font:400 22px/1 var(--ex-font);display:grid;place-items:center;box-shadow:none;opacity:1;color:#444}
body .wc-block-components-quantity-selector__button--minus{grid-column:1;grid-row:1}body .wc-block-components-quantity-selector__button--plus{grid-column:3;grid-row:1}
body .wc-block-components-quantity-selector__button:disabled{opacity:.35}
body .wc-block-components-text-input input,body .wc-block-components-form .wc-block-components-text-input input,body .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,body .wc-block-components-textarea{border:2px solid #888;border-radius:7px;font:200 1em/1.3 var(--ex-font);min-height:58px;margin-top:0}
body .wc-block-components-text-input label,body .wc-block-components-form .wc-block-components-text-input label{font:300 1em/1.3 var(--ex-font)}
body .wc-block-components-checkout-step{padding-bottom:24px;margin-bottom:24px}body .wc-block-components-checkout-step__heading{margin-bottom:18px}
body .wc-block-components-order-summary .wc-block-components-order-summary-item__image img{border-radius:7px}
body .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity{font-size:14px;font-weight:400}
body .wc-block-components-checkbox label{font-size:1em}
@media(max-width:799px){body .wc-block-components-sidebar-layout{gap:22px;display:flex;flex-direction:column}body .wc-block-components-sidebar-layout .wc-block-components-main,body .wc-block-components-sidebar-layout .wc-block-components-sidebar{width:100%;padding:20px}body .wc-block-cart,body .wc-block-checkout{font-size:19px}.ex-content .wc-block-cart-item__wrap{overflow-wrap:anywhere}}
/* Previous/next chevrons are decorative; full story titles remain readable links. */
.ex-post-layout .post-navigation .nav-links>div>a{position:relative;min-height:150px;display:flex;flex-direction:column;justify-content:center;padding-block:24px}
.ex-post-layout .post-navigation .nav-previous>a{padding-left:82px}.ex-post-layout .post-navigation .nav-next>a{padding-right:82px;text-align:right}
.ex-post-layout .post-navigation .nav-previous>a:before,.ex-post-layout .post-navigation .nav-next>a:after{content:'';position:absolute;top:20px;bottom:20px;width:52px;background:var(--ex-canvas);clip-path:polygon(100% 0,35% 50%,100% 100%,65% 100%,0 50%,65% 0)}
.ex-post-layout .post-navigation .nav-previous>a:before{left:12px}.ex-post-layout .post-navigation .nav-next>a:after{right:12px;transform:rotate(180deg)}
@media(max-width:799px){.ex-post-layout .post-navigation .nav-links>div>a{min-height:125px}.ex-post-layout .post-navigation .nav-previous>a{padding-left:58px}.ex-post-layout .post-navigation .nav-next>a{padding-right:58px}.ex-post-layout .post-navigation .nav-previous>a:before,.ex-post-layout .post-navigation .nav-next>a:after{width:34px}}
body .ex-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name{font-size:1em;font-weight:400}
body .ex-content :is(.wc-block-cart,.wc-block-checkout){--wp--preset--font-size--small:1em;--wp--preset--font-size--medium:1em}
body .ex-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata{font-size:.9em}
body .ex-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-price{font-size:1em}
body .woocommerce form .form-row :is(input.input-text,textarea,select),body.woocommerce div.product .quantity .qty,body.woocommerce .woocommerce-ordering select{border:2px solid #888;font-size:1em}
/* One coordinate system for empty, focused and populated checkout fields. */
body .ex-content .wc-block-components-form .wc-block-components-text-input input[type],
body .ex-content .wc-block-components-text-input input[type]{height:64px;min-height:64px;box-sizing:border-box;padding:16px 14px;margin:0!important;line-height:1.3}
body .ex-content .wc-block-components-form .wc-block-components-text-input label,
body .ex-content .wc-block-components-text-input label{top:32px;left:14px;margin:0;line-height:1.3;transform:translateY(-50%);transform-origin:top left}
body .ex-content .wc-block-components-form .wc-block-components-text-input.is-active input[type],
body .ex-content .wc-block-components-text-input.is-active input[type],
body .ex-content .wc-block-components-text-input input[type]:focus{padding:26px 14px 6px}
body .ex-content .wc-block-components-form .wc-block-components-text-input.is-active label,
body .ex-content .wc-block-components-text-input.is-active label,
body .ex-content .wc-block-components-text-input:focus-within label,
body .ex-content .wc-block-components-text-input input:-webkit-autofill+label{top:7px;transform:scale(.68)}
body .ex-content .wc-blocks-components-select .wc-blocks-components-select__select{height:64px;min-height:64px;margin:0;padding:24px 14px 6px;line-height:1.3;font-size:1em;border:2px solid #888}
body .ex-content .wc-block-components-order-summary{border:0}
.ex-header .ex-cart-content a.remove{display:grid;place-items:center}
@media(max-width:799px){
 body .wc-block-cart table.wc-block-cart-items{width:100%;table-layout:fixed}
 body .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__image{width:64px;padding-right:12px}
 body .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__total{width:60px;font-size:.9em}
 body .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__product{min-width:0}
 body .wc-block-cart table.wc-block-cart-items .wc-block-components-product-name{overflow-wrap:anywhere}
}
.ex-story-edges{display:none}
@media(min-width:1200px){
 .ex-post-layout{position:relative}
 .ex-story-edges{display:block;position:absolute;inset:0 -4vw;pointer-events:none}
 .ex-story-edge{display:block;position:sticky;top:calc(var(--ex-header-height) + 25px);width:3.4vw;height:calc(100dvh - var(--ex-header-height) - 70px);max-height:850px;pointer-events:auto;filter:drop-shadow(0 0 1px #403d3e55)}
 .ex-story-edge--previous{float:left}.ex-story-edge--next{float:right}
 .ex-story-edge span{display:block;width:100%;height:100%;background:var(--ex-canvas);clip-path:polygon(100% 0,38% 50%,100% 100%,68% 100%,0 50%,68% 0)}
 .ex-story-edge--next span{transform:rotate(180deg)}
 .ex-story-edge:hover{filter:drop-shadow(0 0 2px #403d3e99)}
}
.ex-sidebar p a:hover{color:var(--ex-link-hover,color-mix(in srgb,currentColor 65%,#000));text-decoration-thickness:2px;text-underline-offset:.15em}

/* Primary menu sizing and alignment, including scaled desktops. */
@media(min-width:800px){
 .ex-menu{flex-wrap:wrap;justify-content:flex-end;row-gap:0}
 .ex-menu>.ex-menu__item>.ex-menu__row>:is(a,.ex-menu__parent){font-size:18px;min-height:39.5px;align-items:flex-end}
 body .wc-block-checkout__sidebar.is-sticky{top:calc(var(--ex-header-height) + var(--wp-admin--admin-bar--height,0px) + 24px)}
}
@media(min-width:800px) and (max-width:1199px){
 .ex-menu>.ex-menu__item>.ex-menu__row>:is(a,.ex-menu__parent){font-size:14px;min-height:33px;padding-block:3px 1px}
}
