/* Catalog navigation: framed roots and a wide, grouped flyout on desktop. */
body.ellen-brand.ellen-storefront #page .ellen-filter-panel .ellen-catalog-menu{padding:0;margin:0 0 24px;border:1px solid var(--ellen-border);border-radius:var(--ellen-radius);overflow:visible}
body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .widget-title{padding:16px 18px;margin:0;background:var(--ellen-soft);font-size:17px;font-weight:600;border-bottom:1px solid var(--ellen-border)}
body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm{margin:0;overflow:visible}
body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-1>.iksm-terms-tree__inner>.iksm-term{position:relative;border-bottom:1px solid var(--ellen-border);margin:0}
body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-1>.iksm-terms-tree__inner>.iksm-term:last-child{border-bottom:0}
body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-term__inner{padding:0!important;background:transparent}
body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-term__link{min-height:50px;padding:12px 14px!important;box-sizing:border-box;line-height:1.5;color:var(--ellen-primary)}
body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-term__text{white-space:normal;line-height:1.5}
body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-term__toggle{min-width:40px;min-height:44px;color:var(--ellen-muted)}
body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-term--current>.iksm-term__inner{background:var(--ellen-soft);box-shadow:inset 3px 0 var(--ellen-accent)}
body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-term--current>.iksm-term__inner .iksm-term__text{font-weight:600;color:var(--ellen-focus)}
@media(min-width:1000px){
 body.ellen-brand.ellen-storefront #page .ellen-filter-panel{border:0;overflow:visible}
 body.ellen-brand.ellen-storefront #page .ellen-filter-panel>summary{display:none}
 body.ellen-brand.ellen-storefront #page #secondary{position:relative;z-index:12;overflow:visible}
 /* Keep the expanded sidebar above catalog search and filters, below the site header. */
 body.ellen-brand.ellen-storefront #page .ellen-catalog-layout #secondary:has(.ellen-catalog-open){z-index:45}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-1>.iksm-terms-tree__inner>.iksm-term>.iksm-terms-tree{display:none!important;position:absolute;top:0;left:100%;width:min(680px,calc(100vw - 330px));max-height:70vh;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;margin:0!important;padding:24px;background:#fff;border:1px solid var(--ellen-border);box-shadow:0 12px 30px rgba(26,26,26,.12);z-index:20;transform:none!important;opacity:1!important;visibility:visible!important}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-1>.iksm-terms-tree__inner>.iksm-term.ellen-catalog-open>.iksm-terms-tree{display:block!important}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-term.ellen-catalog-open>.iksm-term__inner{background:var(--ellen-soft)}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-2>.iksm-terms-tree__inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-2>.iksm-terms-tree__inner>.iksm-term>.iksm-term__inner .iksm-term__link{font-weight:600;font-size:14px;border-bottom:1px solid var(--ellen-border);padding:0 0 10px!important;min-height:0}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-2 .iksm-term__toggle,body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-term__shifts{display:none!important}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-3,body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-4{display:block!important;height:auto!important;margin:8px 0 0!important;padding:0!important;opacity:1!important;visibility:visible!important}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-3 .iksm-term__link{font-size:12px;min-height:36px;padding:7px 0!important}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-term__link:hover .iksm-term__text{color:var(--ellen-focus);text-decoration:underline;text-underline-offset:3px}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-1>.iksm-terms-tree__inner>.iksm-term>.iksm-term__inner>.iksm-term__toggle{transform:rotate(-90deg)}
}
@media(max-width:999px){body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-term__link{padding:10px 12px!important}body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--children{position:static;width:auto;box-shadow:none}}
@media(min-width:1000px){body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-1>.iksm-terms-tree__inner>.iksm-term{overflow:visible!important}}
/* Let shorter category groups fill the neighbouring column without large empty cells. */
@media(min-width:1000px){
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-2>.iksm-terms-tree__inner{display:block;columns:2;column-gap:28px}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-2>.iksm-terms-tree__inner>.iksm-term{display:inline-block;width:100%;break-inside:avoid;margin:0 0 24px;vertical-align:top}
}
/* The outer details element handles compact filtering; do not leave the price form hidden after a responsive resize. */
body.ellen-brand.ellen-storefront #page .ellen-filter-panel .price_slider_wrapper{display:block!important}

/* Mobile catalog follows a quick-category strip + off-canvas filter pattern. */
body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer{position:static;inset:auto;display:block;margin:0;padding:0;border:0;width:100%;max-width:none;max-height:none;overflow:visible;background:transparent;color:var(--ellen-primary);box-sizing:border-box}
body.ellen-brand.ellen-storefront #page :is(.ellen-catalog-trigger,.ellen-catalog-drawer-header,.ellen-catalog-drawer-footer,.ellen-mobile-categories){display:none}
@media(max-width:999px){
 html.ellen-catalog-modal,html.ellen-catalog-modal body{overflow:hidden!important}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-layout #secondary{width:0;height:0;margin:0;padding:0}
 body.ellen-brand.ellen-storefront #page #main .ellen-catalog-layout{gap:0}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer:not([open]){display:none}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer[open]{position:fixed;inset:0 auto 0 0;margin:0;display:flex;flex-direction:column;width:min(360px,calc(100% - 32px));height:100dvh;max-height:100dvh;padding:0;background:#fff;overflow:hidden;border:0;border-right:1px solid var(--ellen-border);box-shadow:12px 0 32px rgba(26,26,26,.15)}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer::backdrop{background:rgba(26,26,26,.45)}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;border-bottom:1px solid var(--ellen-border);flex-shrink:0}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer-header h2{font-size:16px;font-weight:600;margin:0}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-close{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px;border:0;background:transparent;color:var(--ellen-muted);font-size:18px}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer-body{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:20px 16px}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer .ellen-filter-panel{border:0;padding:0;background:transparent}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer .ellen-filter-panel>summary{display:none}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer-footer{display:block;padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--ellen-border);background:#fff;flex-shrink:0}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer-footer .button{width:100%;min-height:48px;justify-content:center}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer .price_slider_amount>.button{display:none}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-trigger{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;background:transparent;color:var(--ellen-primary);border:0;padding:8px 0;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:4px;white-space:normal}
 body.ellen-brand.ellen-storefront #page .category-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:8px 12px;align-items:center;margin:0 0 24px;min-width:0}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-result-count{grid-column:1/-1;grid-row:1;line-height:1.6;margin:0;font-size:12px}
 body.ellen-brand.ellen-storefront #page .category-toolbar .ellen-catalog-trigger{grid-column:1;grid-row:2}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering{grid-column:2;grid-row:2;float:none;margin:0;width:100%;min-width:0}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering select{max-width:100%;width:100%!important;min-height:44px;font-size:12px}
 body.ellen-brand.ellen-storefront #page .category-toolbar .customSelect{width:100%;box-sizing:border-box;font-size:12px}
 body.ellen-brand.ellen-storefront #page .category-toolbar .customSelectInner{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories{display:flex;gap:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;margin:0 0 20px;border:1px solid var(--ellen-border);padding:0;scrollbar-width:thin}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories a{display:flex;align-items:center;gap:12px;flex:0 0 78%;box-sizing:border-box;min-height:76px;padding:16px;scroll-snap-align:start;border-right:1px solid var(--ellen-border);font-size:14px;line-height:1.5;text-decoration:none}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories a:last-child{border-right:0}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories i{font-size:24px;color:var(--ellen-focus);width:30px;flex-shrink:0;text-align:center}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories a[aria-current]{background:var(--ellen-soft)}
}
@media(max-width:999px){
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering{position:relative;height:44px}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering select{position:static!important;opacity:1!important;appearance:auto!important;display:block!important;height:44px;margin:0;padding:8px 20px 8px 8px;box-sizing:border-box}
 body.ellen-brand.ellen-storefront #page .category-toolbar .customSelect{display:none!important}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-result-count{float:none;width:100%;text-align:left}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-trigger i{color:var(--ellen-focus);font-size:15px;opacity:1}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer .mobile_togglecolumn{display:none!important}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer .ellen-catalog-menu>.iksm{display:block!important}
}
@media(max-width:999px){body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering select{font-size:12px!important}}

/* Desktop catalog typography and aligned active rows. */
@media(min-width:1000px){
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-1>.iksm-terms-tree__inner>.iksm-term>.iksm-term__inner>.iksm-term__link{font-size:15px;font-weight:500}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-2>.iksm-terms-tree__inner>.iksm-term>.iksm-term__inner .iksm-term__link{font-size:16px;font-weight:700;line-height:1.5;min-height:48px;padding:10px 12px!important}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-3 .iksm-term__link{font-size:14px;font-weight:400;line-height:1.55;min-height:40px;padding:8px 12px!important}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-term__link>.iksm-term__text{font:inherit}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-2 .iksm-term--current>.iksm-term__inner{background:var(--ellen-soft);box-shadow:inset 3px 0 var(--ellen-accent);border-radius:2px}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-2 .iksm-term--current>.iksm-term__inner .iksm-term__text{font-weight:inherit;color:var(--ellen-focus)}
}

/* Mobile section selector: a searchable bottom sheet, with price in its own mode. */
body.ellen-brand.ellen-storefront #page :is(.ellen-catalog-controls,.ellen-catalog-section-search,.ellen-catalog-section-list,.ellen-section-search-status){display:none}
@media(max-width:999px){
 body.ellen-brand.ellen-storefront #page .category-toolbar .ellen-catalog-controls{display:flex;align-items:center;gap:6px;grid-column:1;grid-row:2;min-width:0}
 body.ellen-brand.ellen-storefront #page :is(.ellen-catalog-trigger,.ellen-catalog-price-trigger){display:inline-flex;align-items:center;justify-content:flex-start;gap:4px;min-width:0;min-height:44px;padding:8px 0;border:0;background:transparent;color:var(--ellen-primary);font-size:12px;font-weight:600;white-space:nowrap;line-height:1.5;text-decoration:none}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-price-trigger i{font-size:13px;color:var(--ellen-focus)}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer[open]{inset:auto 0 0;margin:0;width:100%;height:min(80dvh,760px);max-height:calc(100dvh - 16px);border:0;border-radius:24px 24px 0 0;box-shadow:0 -12px 40px rgba(26,26,26,.16)}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer[open]::before{content:'';display:block;flex-shrink:0;width:40px;height:4px;border-radius:4px;background:var(--ellen-border);margin:8px auto 0}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer-header{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;gap:4px;min-height:56px;padding:6px 8px 6px 16px;border-bottom:0;box-sizing:border-box}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer-header h2{min-width:0;margin:0;overflow:hidden;font-size:16px;font-weight:500;line-height:1.35;white-space:nowrap;text-overflow:ellipsis}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-close{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;align-self:center;border-radius:50%;line-height:1;appearance:none;transition:background-color .16s ease,color .16s ease,transform .12s ease}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-close>i{display:block;width:1em;height:1em;margin:0;color:inherit!important;font-size:14px;line-height:1}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-close:is(:hover,:focus-visible){background:var(--ellen-soft);color:var(--ellen-primary)}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-close:focus-visible{outline:2px solid var(--ellen-accent);outline-offset:1px}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-close:active{transform:scale(.96)}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer-body{padding:0 12px 16px;padding-bottom:max(16px,env(safe-area-inset-bottom))}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer[data-mode=sections] .ellen-filter-panel,body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer[data-mode=sections] .ellen-catalog-drawer-footer{display:none}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer[data-mode=sections] .ellen-catalog-section-search{display:block;flex-shrink:0;padding:0 16px 8px}
 body.ellen-brand.ellen-storefront #page .ellen-section-search-field{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 14px;border-radius:16px;background:var(--ellen-soft);box-sizing:border-box}
 body.ellen-brand.ellen-storefront #page .ellen-section-search-field>i{font-size:18px;color:var(--ellen-muted);flex-shrink:0}
 body.ellen-brand.ellen-storefront #page .ellen-section-search-field #ellen-section-search{flex:1;min-width:0;width:100%;height:48px;min-height:48px;margin:0;padding:10px 0;border:0;border-radius:0;background:transparent;font:400 16px/1.5 var(--ellen-font-body);box-shadow:none;box-sizing:border-box}
 body.ellen-brand.ellen-storefront #page .ellen-section-search-field #ellen-section-search:focus-visible{outline:0}
 body.ellen-brand.ellen-storefront #page .ellen-section-search-field:focus-within{box-shadow:inset 0 0 0 2px var(--ellen-accent)}
 body.ellen-brand.ellen-storefront #page .ellen-section-search-field input::-webkit-search-cancel-button{-webkit-appearance:none}
 body.ellen-brand.ellen-storefront #page .ellen-section-search-clear{display:inline-flex;align-items:center;justify-content:center;width:36px;height:44px;min-height:44px;flex-shrink:0;padding:8px;border:0;background:transparent;color:var(--ellen-muted)}
 body.ellen-brand.ellen-storefront #page .ellen-section-search-clear[hidden]{display:none}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer[data-mode=sections] .ellen-catalog-section-list{display:flex;flex-direction:column;gap:4px;padding:0;margin:0}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-section-list .ellen-section-choice{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:12px;box-sizing:border-box;border:0;border-radius:14px;text-decoration:none;font-size:14px;line-height:1.5;font-weight:400;color:var(--ellen-primary)}
 body.ellen-brand.ellen-storefront #page .ellen-section-choice small{display:block;font-size:11px;line-height:1.5;color:var(--ellen-muted);margin-top:3px}
 body.ellen-brand.ellen-storefront #page .ellen-section-choice[aria-current]{background:var(--ellen-soft)}
 body.ellen-brand.ellen-storefront #page .ellen-section-choice>i{color:var(--ellen-focus);flex-shrink:0;font-size:16px}
 body.ellen-brand.ellen-storefront #page .ellen-section-choice:hover{background:var(--ellen-soft)}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer[data-mode=sections] .ellen-section-search-status:not(:empty){display:block;padding:16px 12px;color:var(--ellen-muted);font-size:13px;line-height:1.6}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer[data-mode=price] :is(.ellen-catalog-section-search,.ellen-catalog-section-list,.ellen-section-search-status,.ellen-catalog-menu){display:none}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer[data-mode=price] .ellen-catalog-drawer-body{padding:8px 24px 24px}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer[data-mode=price] .widget_price_filter{border:0;margin:0;padding:0}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer[data-mode=price] .widget_price_filter :is(.widgettitle,.widget-title){display:none}
}
@media(max-width:999px){body.ellen-brand.ellen-storefront #page .ellen-section-search-field #ellen-section-search{border:0!important;background:transparent!important;border-radius:0!important}}

/* A small extra inset per taxonomy level makes the full section list readable. */
@media(max-width:999px){body.ellen-brand.ellen-storefront #page .ellen-catalog-section-list .ellen-section-choice{padding-inline-start:calc(12px + var(--ellen-section-depth,0)*12px)}}

/* Keep the selected section first and offer a clean catalog reset. */
body.ellen-brand.ellen-storefront #page .ellen-section-reset{display:none}
@media(max-width:999px){
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer-header h2{margin:0}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer[data-mode=sections] .ellen-section-reset{display:inline-flex;align-items:center;min-height:44px;padding:8px 4px;font-size:13px;font-weight:400;color:var(--ellen-focus);text-decoration:underline;text-underline-offset:4px}
}

/* Compact catalog controls keep a light interaction state instead of the global dark button hover. */
@media(max-width:999px){
 body.ellen-brand.ellen-storefront #page .ellen-catalog-controls :is(.ellen-catalog-trigger,.ellen-catalog-price-trigger):is(:hover,:active,:focus){background:var(--ellen-soft)!important;background-image:none!important;color:var(--ellen-primary)!important;border-color:transparent!important;box-shadow:none}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-controls :is(.ellen-catalog-trigger,.ellen-catalog-price-trigger):focus:not(:focus-visible){outline:none}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-controls :is(.ellen-catalog-trigger,.ellen-catalog-price-trigger):focus-visible{outline:2px solid var(--ellen-focus);outline-offset:3px}
}

/* Tablet product header: avoid the parent theme's narrow, staggered float layout. */
@media(min-width:768px) and (max-width:999px){
 body.ellen-brand.ellen-storefront.single-product #page div.product[id^="product-"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px;row-gap:0;align-items:start}
 body.ellen-brand.ellen-storefront.single-product #page div.product[id^="product-"]::before,body.ellen-brand.ellen-storefront.single-product #page div.product[id^="product-"]::after{display:none}
 body.ellen-brand.ellen-storefront.single-product #page div.product[id^="product-"]>div.images{grid-column:1;grid-row:1;width:100%!important;max-width:none;min-width:0;float:none!important;clear:none;margin:0 0 40px!important}
 body.ellen-brand.ellen-storefront.single-product #page div.product[id^="product-"]>div.summary{grid-column:2;grid-row:1;width:100%!important;max-width:none;min-width:0;float:none!important;clear:none;margin:0 0 40px!important}
 body.ellen-brand.ellen-storefront.single-product #page div.product[id^="product-"]>:not(.images):not(.summary):not(.onsale){grid-column:1/-1;min-width:0}
 body.ellen-brand.ellen-storefront.single-product #page div.product .product_title{font-size:26px;line-height:1.3;overflow-wrap:anywhere}
 body.ellen-brand.ellen-storefront.single-product #page div.product .summary form.cart{max-width:100%}
 body.ellen-brand.ellen-storefront.single-product #page div.product .summary .variations{table-layout:fixed;width:100%}
 body.ellen-brand.ellen-storefront.single-product #page div.product .summary .variations select{width:100%;max-width:100%}
}
@media(min-width:768px) and (max-width:999px){body.ellen-brand.ellen-storefront.single-product #page div.product .summary .woocommerce-product-details__short-description p{text-align:left!important}}

/* Compact catalog header: readable category shortcuts and properly sized filter controls. */
@media(max-width:999px){
 body.ellen-brand.ellen-storefront.woocommerce-shop #page #main,body.ellen-brand.ellen-storefront.tax-product_cat #page #main,body.ellen-brand.ellen-storefront.tax-product_tag #page #main{padding-top:24px}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-layout .woocommerce-breadcrumb{margin:0 0 12px;font-size:12px;line-height:1.5}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-layout .woocommerce-products-header{margin:0;padding:0}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-layout .woocommerce-products-header .page-title{font-size:28px;line-height:1.25;margin:0 0 20px;padding:0}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories{gap:8px;margin:0 0 16px;border:0;scrollbar-width:none}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories::-webkit-scrollbar{display:none}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories a{flex:0 0 auto;min-width:160px;max-width:240px;min-height:64px;padding:12px;gap:10px;border:1px solid var(--ellen-border);border-radius:4px;background:var(--ellen-soft);font-size:13px;line-height:1.4}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories a:last-child{border-right:1px solid var(--ellen-border)}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories i{font-size:20px;width:24px}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories--few{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories--few a{min-width:0;max-width:none;width:100%}
 body.ellen-brand.ellen-storefront #page .category-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px;margin:0 0 20px}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-result-count{font-size:12px;line-height:1.5;margin:0}
 body.ellen-brand.ellen-storefront #page .category-toolbar .ellen-catalog-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-controls :is(.ellen-catalog-trigger,.ellen-catalog-price-trigger){justify-content:center;gap:6px;width:100%;min-height:44px;padding:10px 6px;box-sizing:border-box;border:1px solid var(--ellen-border);border-radius:4px;background:#fff;font-size:13px;font-weight:500;line-height:1.5}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering select{font-size:13px!important;border-color:var(--ellen-border);border-radius:4px}
}
@media(max-width:600px){
 body.ellen-brand.ellen-storefront #page .ellen-catalog-layout .woocommerce-products-header .page-title{font-size:26px;margin-bottom:16px}
 body.ellen-brand.ellen-storefront #page .category-toolbar{grid-template-columns:1fr;gap:10px;margin-bottom:16px}
 body.ellen-brand.ellen-storefront #page .category-toolbar .ellen-catalog-controls{grid-column:1;grid-row:2}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering{grid-column:1;grid-row:3}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-controls :is(.ellen-catalog-trigger,.ellen-catalog-price-trigger){font-size:14px}
}
@media(max-width:999px){body.ellen-brand.ellen-storefront #page .category-toolbar .ellen-catalog-controls>.ellen-catalog-trigger{grid-column:auto;grid-row:auto}}

/* Keep the native sorting field inside its row; the parent theme imposes a 48px minimum and clips the toolbar. */
@media(max-width:999px){
 body.ellen-brand.ellen-storefront #page .category-toolbar{overflow:visible}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering{height:auto;min-height:44px;overflow:visible}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering select{height:44px!important;min-height:44px!important;padding:8px 24px 8px 10px!important;line-height:1.4!important;border:1px solid var(--ellen-border)!important;box-sizing:border-box}
}

/* A restrained Font Awesome chevron replaces the platform-specific select arrow. */
@media(max-width:999px){
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering select{appearance:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;background-image:none!important;padding-right:36px!important}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering::after{content:'\f107';font-family:FontAwesome;font-size:16px;font-weight:400;line-height:1;color:var(--ellen-muted);position:absolute;right:14px;top:50%;transform:translateY(-50%);pointer-events:none}
}

/* Header search icon and current wishlist count. */
body.ellen-brand.ellen-storefront #page .ellen-header-search button.search-submit{width:44px;min-width:44px;min-height:44px;padding:8px;flex-shrink:0}
body.ellen-brand.ellen-storefront #page .ellen-header-search button.search-submit>i{font-size:19px;line-height:1}
body.ellen-brand.ellen-storefront #page .ellen-header-actions :is(.ellen-wishlist-link,.ellen-cart-link){position:relative}
body.ellen-brand.ellen-storefront #page .ellen-header-actions :is(.ellen-wishlist-count,.ellen-cart-count){position:absolute;top:-4px;right:calc(50% - 25px);display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:17px;height:17px;padding:0 4px;border-radius:20px;background:var(--ellen-focus);color:#fff;font-size:10px;font-weight:600;line-height:1;pointer-events:none}
.ellen-mobile-header-space{height:0}
@media(max-width:999px){
 body.ellen-brand.ellen-storefront #page #masthead.ellen-mobile-stuck{position:fixed!important;top:var(--ellen-admin-offset,0px);left:0;right:0;width:100%;z-index:100;background:#fff;box-shadow:0 3px 14px rgba(26,26,26,.08)}
 body.ellen-brand.ellen-storefront #page #masthead.ellen-mobile-stuck :is(.ellen-header-note,.ellen-header-search){display:none}
 body.ellen-brand.ellen-storefront #page #masthead.ellen-mobile-stuck .ellen-header-main{grid-template-columns:100px minmax(0,1fr);padding:8px var(--ellen-gutter);gap:12px}
 body.ellen-brand.ellen-storefront #page #masthead.ellen-mobile-stuck .ellen-site-brand{width:100px}
 body.ellen-brand.ellen-storefront #page #masthead.ellen-mobile-stuck .ellen-header-actions{justify-content:flex-end;gap:14px}
 body.ellen-brand.ellen-storefront #page #masthead.ellen-mobile-stuck .ellen-header-actions>a{min-width:44px;min-height:44px;justify-content:center}
 body.ellen-brand.ellen-storefront #page #masthead.ellen-mobile-stuck .ellen-header-actions>a:not(.ellen-cart-link)>span{display:none}
 body.ellen-brand.ellen-storefront #page #masthead.ellen-mobile-stuck .ellen-nav-row{padding-inline:var(--ellen-gutter)}
 body.ellen-brand.ellen-storefront #page #masthead.ellen-mobile-stuck :is(.ellen-catalog-link,.ellen-menu-button){min-height:44px}
}
/* Keep native wishlist actions, but use readable item cards on phones and tablets. */
@media(max-width:999px){
 body.ellen-brand.ellen-storefront #page table.wishlist_table{display:block;width:100%!important;table-layout:auto;border:0;margin:0;background:transparent}
 body.ellen-brand.ellen-storefront #page table.wishlist_table>thead{display:none}
 body.ellen-brand.ellen-storefront #page table.wishlist_table>tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%}
 body.ellen-brand.ellen-storefront #page table.wishlist_table>tbody>tr:not(:has(.wishlist-empty)){display:grid;grid-template-columns:80px minmax(0,1fr);grid-template-rows:auto auto auto;gap:10px 14px;position:relative;padding:16px;border:1px solid var(--ellen-border);border-radius:4px;background:#fff;min-width:0;box-sizing:border-box}
 body.ellen-brand.ellen-storefront #page table.wishlist_table>tbody>tr>td{width:auto!important;min-width:0;margin:0;padding:0;border:0;float:none;background:transparent;text-align:left!important;white-space:normal}
 body.ellen-brand.ellen-storefront #page table.wishlist_table>tbody>tr>td::before{display:none!important}
 body.ellen-brand.ellen-storefront #page table.wishlist_table td.product-thumbnail{display:block!important;grid-column:1;grid-row:1/span 2}
 body.ellen-brand.ellen-storefront #page table.wishlist_table .product-thumbnail img{width:80px;height:112px;object-fit:contain;margin:0;background:var(--ellen-soft)}
 body.ellen-brand.ellen-storefront #page table.wishlist_table td.product-name{display:block;grid-column:2;grid-row:1;padding-right:24px;font-size:14px;line-height:1.5;word-break:normal;overflow-wrap:break-word}
 body.ellen-brand.ellen-storefront #page table.wishlist_table td.product-price{display:block;grid-column:2;grid-row:2;align-self:end;font-size:18px;line-height:1.5;font-weight:600;word-break:normal;overflow-wrap:normal}
 body.ellen-brand.ellen-storefront #page table.wishlist_table .product-price :is(.amount,.woocommerce-Price-currencySymbol,ins){font-size:inherit;font-weight:inherit;color:inherit;white-space:nowrap;text-decoration:none}
 body.ellen-brand.ellen-storefront #page table.wishlist_table .product-price del{display:block;font-size:12px;font-weight:400;color:var(--ellen-muted)}
 body.ellen-brand.ellen-storefront #page table.wishlist_table td.product-remove{position:absolute;top:4px;right:4px;display:block;width:36px!important}
 body.ellen-brand.ellen-storefront #page table.wishlist_table td.product-remove a.remove{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;width:36px;height:36px;line-height:1;margin:0;color:var(--ellen-muted)!important;font-size:22px;background:transparent!important}
 body.ellen-brand.ellen-storefront #page table.wishlist_table td.product-add-to-cart{display:block;grid-column:1/-1;grid-row:3;padding-top:8px}
 body.ellen-brand.ellen-storefront #page .wishlist_table .product-add-to-cart a.add_to_cart{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;box-sizing:border-box;padding:10px 12px;border:1px solid var(--ellen-primary);border-radius:2px;background:var(--ellen-primary);color:#fff;font-size:13px;font-weight:600;line-height:1.5;text-decoration:none;white-space:normal;word-break:normal;text-align:center}
 body.ellen-brand.ellen-storefront #page .wishlist_table .product-add-to-cart a.product_type_variable{background:#fff;color:var(--ellen-primary);border-color:var(--ellen-border)}
 body.ellen-brand.ellen-storefront #page .wishlist_table .product-add-to-cart a.add_to_cart:hover{background:var(--ellen-hover);color:#fff}
}
@media(max-width:600px){body.ellen-brand.ellen-storefront #page table.wishlist_table>tbody{grid-template-columns:1fr}}
@media(max-width:999px){
 body.ellen-brand.ellen-storefront #page ul.wishlist_table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0;border:0;width:100%}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table>li{position:relative;min-width:0;margin:0;padding:16px;border:1px solid var(--ellen-border);border-radius:4px;background:#fff;box-sizing:border-box}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .item-wrapper{display:grid;grid-template-columns:80px minmax(0,1fr);gap:14px;align-items:start}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .product-thumbnail{display:block!important;width:80px!important;float:none;margin:0}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .product-thumbnail img{width:80px;height:112px;object-fit:contain;background:var(--ellen-soft);margin:0}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .item-details{width:auto;min-width:0;float:none;margin:0}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .product-name h3{font-size:14px;line-height:1.5;font-weight:500;margin:0 0 12px;padding-right:22px;word-break:normal;overflow-wrap:break-word}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .item-details-table{display:block;width:100%;margin:0;border:0}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .item-details-table :is(tbody,tr,td){display:block;width:auto;padding:0;margin:0;border:0;text-align:left}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .item-details-table td.label{font-size:12px;line-height:1.5;color:var(--ellen-muted);margin-bottom:4px}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .item-details-table td.value{font-size:18px;line-height:1.5;font-weight:600;word-break:normal}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .item-details-table .value :is(ins,.amount,.woocommerce-Price-currencySymbol){font-size:inherit;font-weight:inherit;color:inherit;text-decoration:none;white-space:nowrap}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .item-details-table .value del{display:block;font-size:12px;font-weight:400;color:var(--ellen-muted)}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .additional-info-wrapper{margin:14px 0 0;padding:0;clear:both}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .product-add-to-cart{margin:0;padding:0;width:100%}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .product-remove{position:absolute;top:6px;right:6px;margin:0}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .product-remove a{display:flex;align-items:center;justify-content:center;width:36px;height:36px;min-height:36px;padding:0;background:var(--ellen-soft);color:var(--ellen-muted);border-radius:2px;font-size:14px}
}
@media(max-width:600px){body.ellen-brand.ellen-storefront #page ul.wishlist_table{grid-template-columns:1fr}}
@media(max-width:999px){
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .product-remove a{width:44px;height:44px;min-height:44px}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .product-remove a i::before{content:'\f00d'!important;font-family:FontAwesome;font-size:15px;color:var(--ellen-muted)}
 body.ellen-brand.ellen-storefront #page ul.wishlist_table .product-name h3{padding-right:30px}
 body.ellen-brand.ellen-storefront #page table.wishlist_table td.product-remove{width:44px!important}
 body.ellen-brand.ellen-storefront #page table.wishlist_table td.product-remove a.remove{width:44px;height:44px;min-width:44px;min-height:44px}
}
@media(max-width:360px){
 body.ellen-brand.ellen-storefront #page .ellen-header-main{grid-template-columns:96px minmax(0,1fr);gap:12px}
 body.ellen-brand.ellen-storefront #page #masthead .ellen-site-brand{width:96px}
 body.ellen-brand.ellen-storefront #page .ellen-header-actions{gap:6px}
 body.ellen-brand.ellen-storefront #page #masthead.ellen-mobile-stuck .ellen-header-main{grid-template-columns:88px minmax(0,1fr);gap:10px}
 body.ellen-brand.ellen-storefront #page #masthead.ellen-mobile-stuck .ellen-site-brand{width:88px}
 body.ellen-brand.ellen-storefront #page #masthead.ellen-mobile-stuck .ellen-header-actions{gap:8px}
}

/* Real product photography and manufacturer artwork for the distributor hero. */
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slider-stage{height:520px;min-height:520px;max-height:none;aspect-ratio:auto}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slide{grid-template-columns:52% 48%}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-banner-copy{padding:32px 54px 32px 38px;gap:22px;background:#f7f4f2}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-banner-copy h2{font-size:clamp(32px,3vw,44px);line-height:1.12;letter-spacing:-.035em}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-banner-copy>p:not(.ellen-eyebrow){font-size:16px;line-height:1.7;max-width:42ch}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-product-scene{display:grid;grid-template-rows:60px minmax(0,1fr) 24px;gap:18px;padding:32px 36px 24px;background:#ede8e3;position:relative}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-brand-slide--prosalon .ellen-product-scene{background:#f0e4d9}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-brand-slide--oyster .ellen-product-scene{background:#e7efed}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-scene-brands{display:flex;align-items:center;justify-content:center;gap:32px;min-width:0}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero img.ellen-scene-logo{display:block;width:165px;max-width:42%;height:50px;object-fit:contain;margin:0}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero img.ellen-scene-logo--prosalon{filter:brightness(0)}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-scene-products{display:flex;align-items:flex-end;justify-content:center;gap:0;min-height:0;position:relative;border-bottom:1px solid rgba(80,60,45,.18)}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-scene-product{height:100%;width:35%;min-width:0;overflow:hidden;mix-blend-mode:multiply}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-scene-product img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;margin:0}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-scene-products--2 .ellen-scene-product{width:48%}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-scene-product--7086{height:62%;width:44%}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-scene-note{font-size:11px;line-height:1.5;letter-spacing:.09em;text-transform:uppercase;text-align:center;color:#645c56;margin:0}
@media(min-width:768px) and (max-width:1100px){
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-banner-copy{padding:28px 44px 28px 26px;gap:18px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-banner-copy h2{font-size:32px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-banner-copy>p:not(.ellen-eyebrow){font-size:14px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-product-scene{padding:28px 20px 24px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-scene-brands{gap:20px}
}
@media(max-width:767px){
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slide{grid-template-columns:1fr;grid-template-rows:250px 390px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slider-stage{height:640px;min-height:640px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-product-scene{grid-template-rows:36px minmax(0,1fr) 18px;gap:10px;padding:16px 24px 12px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero img.ellen-scene-logo{width:130px;height:34px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-scene-brands{gap:24px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-scene-note{font-size:9px;letter-spacing:.05em}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-banner-copy{padding:24px;gap:18px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-banner-copy h2{font-size:32px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-banner-copy>p:not(.ellen-eyebrow){font-size:14px;line-height:1.65;max-width:44ch}
}
@media(max-width:360px){
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slide{grid-template-rows:230px 440px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slider-stage{height:670px;min-height:670px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-banner-copy{padding:20px;gap:16px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-banner-copy h2{font-size:28px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-scene-note{font-size:8px}
}
@media(min-width:768px){body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slider-next{left:calc(52% - 60px);right:auto}}

/* Keep carousel navigation together beneath the banner, clear of the products. */
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slider{padding-bottom:0}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slider-controls{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;padding:12px 0}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slider-arrows{display:flex;align-items:center;gap:8px;justify-self:start}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slider-controls button:is(.ellen-slider-prev,.ellen-slider-next){position:static!important;inset:auto!important;transform:none;width:44px;height:44px;min-width:44px;min-height:44px;border:1px solid var(--ellen-border)!important;border-radius:2px}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slider-controls .ellen-slider-dots{position:static;inset:auto;transform:none;justify-content:center;gap:0}
body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slider-controls button.ellen-slider-pause{position:static;inset:auto;transform:none;justify-self:end;width:auto;min-width:96px;min-height:44px;padding:8px 0!important;text-align:right;font-size:12px!important;color:var(--ellen-muted)!important;border-radius:2px}
@media(max-width:400px){
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slider-controls{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;padding:10px 0}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slider-arrows{gap:6px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slider-controls .ellen-slider-dots button{width:24px;min-width:24px}
 body.ellen-brand.ellen-storefront #page .ellen-distributor-hero .ellen-slider-controls button.ellen-slider-pause{min-width:76px;font-size:11px!important}
}

/* The homepage introduces audiences with photos; this page offers concise anchor navigation. */
body.ellen-brand.ellen-storefront #page .ellen-partner-page .ellen-partner-audience-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px 32px;margin:24px 0 32px;padding:12px 0;border-top:1px solid var(--ellen-border);border-bottom:1px solid var(--ellen-border)}
body.ellen-brand.ellen-storefront #page .ellen-partner-page .ellen-partner-audience-nav a{display:inline-flex;align-items:center;justify-content:flex-start;gap:0;padding:10px 0;overflow:visible;border:0;border-bottom:2px solid transparent;background:transparent;font-size:15px;line-height:1.5;text-decoration:none;transition:border-color .2s,color .2s}
body.ellen-brand.ellen-storefront #page .ellen-partner-page .ellen-partner-audience-nav a::before,body.ellen-brand.ellen-storefront #page .ellen-partner-page .ellen-partner-audience-nav a::after{content:none;display:none;background-image:none}
body.ellen-brand.ellen-storefront #page .ellen-partner-page .ellen-partner-audience-nav a:is(:hover,:focus-visible){background:transparent;border-color:var(--ellen-focus);color:var(--ellen-focus)}
@media(max-width:600px){
 body.ellen-brand.ellen-storefront #page .ellen-partner-page .ellen-partner-audience-nav{align-items:stretch;flex-direction:column;gap:0;padding:8px 0;margin:20px 0 24px}
 body.ellen-brand.ellen-storefront #page .ellen-partner-page .ellen-partner-audience-nav a{min-height:44px;padding:10px 4px;font-size:14px;align-self:flex-start}
}

/* Product type is the main route; brand and care goal refine the native archive. */
body.ellen-brand.ellen-storefront #page .ellen-catalog-facets{display:grid;gap:16px;margin:0 0 24px}
body.ellen-brand.ellen-storefront #page .ellen-catalog-facets label{display:grid;gap:8px;min-width:0;font-size:14px;line-height:1.5}
body.ellen-brand.ellen-storefront #page .ellen-catalog-facets select{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:44px;padding:8px 28px 8px 10px;background-color:#fff;color:var(--ellen-primary);border:1px solid var(--ellen-border);border-radius:2px;font-size:14px}
body.ellen-brand.ellen-storefront #page .ellen-price-filter-label{font-size:14px;margin:0 0 20px}
body.ellen-brand.ellen-storefront #page .ellen-filter-reset{display:inline-block;padding:10px 0;margin-top:8px;font-size:13px;text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--ellen-accent)}
@media(min-width:1000px){body.ellen-brand.ellen-storefront #page .ellen-catalog-menu .iksm-terms-tree--level-1>.iksm-terms-tree__inner>.iksm-term--id-150::before{content:'По бренду';display:block;padding:14px;background:var(--ellen-soft);border-block:1px solid var(--ellen-border);font-size:15px;font-weight:600}}
body.ellen-brand.ellen-storefront #page .ellen-section-choice--root>span{font-weight:600}

/* Catalog toolbar: one aligned surface, native sorting on every screen. */
body.ellen-brand.ellen-storefront #page .category-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;margin:0 0 24px;min-height:68px;height:auto;box-sizing:border-box;border:1px solid var(--ellen-border);border-radius:4px;background:var(--ellen-soft);overflow:visible}
body.ellen-brand.ellen-storefront #page .category-toolbar::before,body.ellen-brand.ellen-storefront #page .category-toolbar::after{display:none}
body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-result-count{float:none;width:auto;flex:1;margin:0;padding:0;text-align:left;font-size:13px;line-height:1.5;color:var(--ellen-muted)}
body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering{position:relative;display:flex;align-items:center;gap:12px;float:none;width:auto;min-width:0;height:auto;min-height:44px;margin:0;padding:0;overflow:visible}
body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering>label{margin:0;color:var(--ellen-muted);font-size:13px;line-height:1.5;white-space:nowrap}
body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering select{position:static!important;display:block!important;opacity:1!important;visibility:visible!important;appearance:none!important;-webkit-appearance:none!important;float:none;width:240px!important;max-width:100%;min-width:0;height:44px!important;min-height:44px!important;margin:0;padding:10px 38px 10px 12px!important;border:1px solid var(--ellen-border)!important;border-radius:3px;background:#fff!important;color:var(--ellen-primary)!important;font:inherit;font-size:13px!important;line-height:1.4!important;box-sizing:border-box;cursor:pointer;box-shadow:none}
body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering .customSelect{display:none!important}
body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering::after{content:'\f107';font-family:FontAwesome;font-size:16px;font-weight:400;line-height:1;color:var(--ellen-focus);position:absolute;right:14px;top:50%;transform:translateY(-50%);pointer-events:none}
body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering select:hover{border-color:var(--ellen-focus)!important}
body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering select:focus-visible{outline:2px solid var(--ellen-focus);outline-offset:2px}
@media(max-width:1199px) and (min-width:1000px){body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering>label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}}
@media(max-width:999px){
 body.ellen-brand.ellen-storefront #page .category-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:12px;margin-bottom:20px}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-result-count{grid-column:1/-1;grid-row:1;width:auto;font-size:12px}
 body.ellen-brand.ellen-storefront #page .category-toolbar .ellen-catalog-controls{grid-column:1;grid-row:2}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering{grid-column:2;grid-row:2;width:100%}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering>label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering select{width:100%!important}
}
@media(max-width:600px){
 body.ellen-brand.ellen-storefront #page .category-toolbar{grid-template-columns:minmax(0,1fr);gap:10px;margin-bottom:16px}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering{grid-column:1;grid-row:3}
}
/* The parent custom-select assigns z-index:99 to the native field. Keep the chevron above its white surface. */
body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering select{z-index:1!important}

/* Consistent, font-independent chevrons for catalog selects. */
body.ellen-brand.ellen-storefront #page .ellen-catalog-facets label{
 grid-template-columns:minmax(0,1fr);
 grid-template-rows:auto auto;
 align-content:start;
}
body.ellen-brand.ellen-storefront #page .ellen-catalog-facets select{appearance:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;background-image:none!important;height:44px;padding-right:38px!important;cursor:pointer}
body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering::after{content:'';position:absolute;top:auto;right:16px;bottom:19px;width:7px;height:7px;box-sizing:border-box;border-right:1.7px solid var(--ellen-focus);border-bottom:1.7px solid var(--ellen-focus);transform:rotate(45deg);pointer-events:none;z-index:2}
body.ellen-brand.ellen-storefront #page .ellen-catalog-facets select{grid-area:2/1}
body.ellen-brand.ellen-storefront #page .ellen-catalog-facets label::after{
 content:'';
 grid-area:2/1;
 align-self:center;
 justify-self:end;
 margin-inline-end:16px;
 width:7px;
 height:7px;
 box-sizing:border-box;
 border-right:1.7px solid var(--ellen-focus);
 border-bottom:1.7px solid var(--ellen-focus);
 transform:translateY(-2px) rotate(45deg);
 pointer-events:none;
}
body.ellen-brand.ellen-storefront #page .ellen-catalog-facets select:hover{border-color:var(--ellen-focus)}
body.ellen-brand.ellen-storefront #page .ellen-catalog-facets select:focus-visible{outline:2px solid var(--ellen-focus);outline-offset:2px}
@media(forced-colors:active){body.ellen-brand.ellen-storefront #page .ellen-catalog-facets label::after,body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering::after{border-color:ButtonText}}

/* Catalog P0: quick tasks, local search, active filters and one shared form. */
body.ellen-brand.ellen-storefront #page .ellen-catalog-tools{display:grid;gap:16px;margin:0 0 20px;padding:0 0 20px;border-bottom:1px solid var(--ellen-border)}
body.ellen-brand.ellen-storefront #page .ellen-catalog-quick{min-width:0;margin:0}
body.ellen-brand.ellen-storefront #page .ellen-catalog-quick>summary{
 display:flex;
 align-items:center;
 gap:10px;
 width:fit-content;
 min-height:44px;
 padding:0 4px;
 color:var(--ellen-primary);
 font-size:14px;
 font-weight:600;
 cursor:pointer;
 list-style:none;
}
body.ellen-brand.ellen-storefront #page .ellen-catalog-quick>summary::-webkit-details-marker{display:none}
body.ellen-brand.ellen-storefront #page .ellen-catalog-quick>summary::after{
 content:'';
 width:7px;
 height:7px;
 border-right:1.5px solid currentColor;
 border-bottom:1.5px solid currentColor;
 transform:translateY(-2px) rotate(45deg);
}
body.ellen-brand.ellen-storefront #page .ellen-catalog-quick[open]>summary::after{transform:translateY(2px) rotate(225deg)}
body.ellen-brand.ellen-storefront #page .ellen-catalog-quick>summary:focus-visible{outline:2px solid var(--ellen-focus);outline-offset:2px}
body.ellen-brand.ellen-storefront #page .ellen-catalog-quick[open]>nav{display:flex;flex-wrap:wrap;gap:8px}
body.ellen-brand.ellen-storefront #page .ellen-catalog-quick a{display:inline-flex;align-items:center;min-height:40px;padding:8px 12px;border:1px solid var(--ellen-border);border-radius:3px;background:#fff;color:var(--ellen-primary);font-size:13px;line-height:1.4;text-decoration:none}
body.ellen-brand.ellen-storefront #page .ellen-catalog-quick a:is(:hover,:focus-visible),body.ellen-brand.ellen-storefront #page .ellen-catalog-quick a[aria-current]{border-color:var(--ellen-focus);background:var(--ellen-soft);color:var(--ellen-focus)}
body.ellen-brand.ellen-storefront #page .ellen-catalog-quick a:focus-visible{outline:2px solid var(--ellen-focus);outline-offset:2px}
body.ellen-brand.ellen-storefront #page .ellen-catalog-tools-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
body.ellen-brand.ellen-storefront #page .ellen-catalog-search{position:relative;z-index:20;display:grid;gap:7px;min-width:0;margin:0}
body.ellen-brand.ellen-storefront #page .ellen-catalog-search:has(input[aria-expanded="true"]){z-index:40}
body.ellen-brand.ellen-storefront #page .ellen-catalog-search>label{font-size:13px;line-height:1.4;color:var(--ellen-muted)}
body.ellen-brand.ellen-storefront #page .ellen-catalog-search>.ellen-catalog-search-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;min-height:48px}
body.ellen-brand.ellen-storefront #page .ellen-catalog-search input[type=search]{width:100%;min-width:0;height:48px;margin:0;padding:10px 14px;border:1px solid var(--ellen-border);border-right:0;border-radius:3px 0 0 3px;background:#fff;color:var(--ellen-primary);font-size:15px;box-sizing:border-box;box-shadow:none}
body.ellen-brand.ellen-storefront #page .ellen-catalog-search button{min-width:92px;min-height:48px;margin:0;padding:10px 18px;border:1px solid var(--ellen-primary);border-radius:0 3px 3px 0;background:var(--ellen-primary);color:#fff;font-size:14px;font-weight:600;box-shadow:none}
body.ellen-brand.ellen-storefront #page .ellen-catalog-search input[type=search]:focus-visible,body.ellen-brand.ellen-storefront #page .ellen-catalog-search button:focus-visible{position:relative;z-index:2;outline:2px solid var(--ellen-focus);outline-offset:2px}
body.ellen-brand.ellen-storefront #page .ellen-catalog-search .ellen-search-popup{top:calc(100% + 8px);z-index:80}
body.ellen-brand.ellen-storefront #page .ellen-catalog-search .ellen-search-more{min-height:44px;box-sizing:border-box}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter{position:relative;width:190px;margin:0}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:10px 14px;box-sizing:border-box;border:1px solid var(--ellen-border);border-radius:3px;background:#fff;color:var(--ellen-primary);font-size:14px;font-weight:600;cursor:pointer;list-style:none}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter>summary::-webkit-details-marker{display:none}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter>summary::after{content:'';width:7px;height:7px;margin-left:auto;border-right:1.7px solid var(--ellen-focus);border-bottom:1.7px solid var(--ellen-focus);transform:rotate(45deg) translateY(-2px)}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter[open]>summary::after{transform:rotate(225deg) translate(-2px,-2px)}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter>summary span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:12px;background:var(--ellen-focus);color:#fff;font-size:12px;box-sizing:border-box}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter>summary:focus-visible{outline:2px solid var(--ellen-focus);outline-offset:2px}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter-slot{position:absolute;right:0;top:calc(100% + 8px);z-index:18;width:min(760px,calc(100vw - 360px));padding:20px;border:1px solid var(--ellen-border);border-radius:3px;background:#fff;box-shadow:0 14px 34px rgba(26,26,26,.12);box-sizing:border-box}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter:not([open]) .ellen-desktop-filter-slot{display:none}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter-slot:empty{display:none}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter-slot .widget_price_filter{margin:0;padding:0;border:0;background:transparent}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter-slot :is(.widget-title,.widgettitle){display:none}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter-slot form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 24px;align-items:end;margin:0}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter-slot .ellen-catalog-facets{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter-slot .ellen-price-filter-label{
 grid-column:1/-1;
 margin:0;
 padding-top:12px;
 border-top:1px solid var(--ellen-border);
 font-weight:600;
}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter-slot .price_slider_wrapper{grid-column:1;display:block!important;margin:0}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter-slot .price_slider_amount{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
body.ellen-brand.ellen-storefront #page .ellen-price-fields{display:grid;grid-template-columns:repeat(2,minmax(0,150px));gap:10px;width:100%;margin:0 0 12px}
body.ellen-brand.ellen-storefront #page .ellen-price-fields label{display:grid;gap:6px;color:var(--ellen-muted);font-size:12px;line-height:1.4}
body.ellen-brand.ellen-storefront #page .ellen-price-fields input:is(#min_price,#max_price){display:block!important;width:100%;height:44px;margin:0;padding:9px 10px;border:1px solid var(--ellen-border);border-radius:2px;background:#fff;color:var(--ellen-primary);font:inherit;font-size:14px;box-sizing:border-box;box-shadow:none}
body.ellen-brand.ellen-storefront #page .ellen-price-fields input:is(#min_price,#max_price):focus-visible{outline:2px solid var(--ellen-focus);outline-offset:2px}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter-slot .price_slider_amount>.button{min-width:132px;min-height:44px;margin:0}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter-slot .price_label{margin:0;font-size:13px;color:var(--ellen-muted)}
body.ellen-brand.ellen-storefront #page .ellen-desktop-filter-slot .ellen-filter-reset{grid-column:2;grid-row:3;align-self:end;justify-self:end;margin:0;min-height:44px;padding:11px 0}
body.ellen-brand.ellen-storefront #page .ellen-active-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;font-size:13px}
body.ellen-brand.ellen-storefront #page .ellen-active-filters>span{color:var(--ellen-muted)}
body.ellen-brand.ellen-storefront #page .ellen-active-filters>a{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:7px 10px;border:1px solid var(--ellen-border);border-radius:3px;background:#fff;color:var(--ellen-primary);line-height:1.35;text-decoration:none}
body.ellen-brand.ellen-storefront #page .ellen-active-filters>a b{font-size:18px;font-weight:400;line-height:1;color:var(--ellen-focus)}
body.ellen-brand.ellen-storefront #page .ellen-active-filters>a:is(:hover,:focus-visible){border-color:var(--ellen-focus);background:var(--ellen-soft)}
body.ellen-brand.ellen-storefront #page .ellen-active-filters>a:focus-visible{outline:2px solid var(--ellen-focus);outline-offset:2px}
body.ellen-brand.ellen-storefront #page .ellen-active-filters>a.ellen-active-filters-reset{border-color:transparent;background:transparent;text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--ellen-accent)}
body.ellen-brand.ellen-storefront #page .ellen-series-status{grid-area:3/1;display:block;color:var(--ellen-muted);font-size:11px;line-height:1.45}
body.ellen-brand.ellen-storefront #page .ellen-series-status:empty{margin-top:-8px}
body.ellen-brand.ellen-storefront #page .ellen-catalog-control-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--ellen-focus);color:#fff;font-size:11px;line-height:1}
body.ellen-brand.ellen-storefront #page .ellen-catalog-empty{margin:0 0 20px;padding:clamp(16px,3vw,28px);border:1px solid var(--ellen-border);border-radius:var(--ellen-radius);background:var(--ellen-soft)}
body.ellen-brand.ellen-storefront #page .ellen-catalog-empty h2{margin:0 0 8px;font-size:20px;line-height:1.35}
body.ellen-brand.ellen-storefront #page .ellen-catalog-empty p{max-width:58ch;margin:0;color:var(--ellen-muted);font-size:14px;line-height:1.6}
body.ellen-brand.ellen-storefront #page .ellen-catalog-empty-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin-top:20px}
body.ellen-brand.ellen-storefront #page .ellen-catalog-empty-actions>a:not(.button){display:inline-flex;align-items:center;min-height:44px;color:var(--ellen-primary);text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--ellen-accent)}
body.ellen-brand.ellen-storefront #page .ellen-catalog-empty-actions>.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:10px 16px;border-radius:3px}
body.ellen-brand.ellen-storefront #page .ellen-catalog-empty-actions>a:focus-visible{outline:2px solid var(--ellen-focus);outline-offset:3px}
body.ellen-brand.ellen-storefront #page .ellen-active-filters>a{max-width:100%;overflow-wrap:anywhere}
@media(min-width:1000px){
 body.ellen-brand.ellen-storefront #page .ellen-catalog-empty-controls{display:none}
}
body.ellen-brand.ellen-storefront #page :is(.ellen-catalog-facets select,.ellen-price-fields input:is(#min_price,#max_price),.category-toolbar .woocommerce-ordering select){height:44px;min-height:44px;border:1px solid var(--ellen-border);border-radius:3px;box-shadow:none}
body.ellen-brand.ellen-storefront #page :is(.ellen-catalog-facets select,.ellen-price-fields input:is(#min_price,#max_price),.category-toolbar .woocommerce-ordering select):hover{border-color:var(--ellen-focus)}
body.ellen-brand.ellen-storefront #page :is(.ellen-catalog-facets select,.ellen-price-fields input:is(#min_price,#max_price),.category-toolbar .woocommerce-ordering select):focus-visible{outline:2px solid var(--ellen-focus);outline-offset:2px;border-color:var(--ellen-focus)}
@media(min-width:1000px){
 html.ellen-catalog-tools-ready body.ellen-brand.ellen-storefront #page #secondary .widget_price_filter{display:none}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-layout #secondary{align-self:start;position:sticky;top:24px}
 body.admin-bar.ellen-brand.ellen-storefront #page .ellen-catalog-layout #secondary{top:56px}
}
@media(max-width:999px){
 body.ellen-brand.ellen-storefront #page .ellen-catalog-tools{gap:14px;margin-bottom:16px;padding-bottom:16px}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-quick nav{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;padding:0 0 4px;scrollbar-width:thin}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-quick a{flex:0 0 auto;min-height:44px}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-tools-row{grid-template-columns:minmax(0,1fr)}
 body.ellen-brand.ellen-storefront #page .ellen-desktop-filter{display:none}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-search button{min-width:80px;padding-inline:14px}
 body.ellen-brand.ellen-storefront #page .ellen-active-filters{align-items:flex-start}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer .ellen-price-fields{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 16px}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer-footer{position:sticky;bottom:0;z-index:2}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer-footer .ellen-catalog-apply{display:flex;align-items:center;gap:10px}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-apply-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#fff;color:var(--ellen-primary);font-size:11px;line-height:1}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-apply-count[hidden]{display:none}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-drawer[data-mode=price] .ellen-section-reset{display:inline-flex;align-items:center;min-height:44px;padding:8px 4px;font-size:13px;font-weight:400;color:var(--ellen-focus);text-decoration:underline;text-underline-offset:4px}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-empty-actions{gap:4px 16px;margin-top:12px}
 body.ellen-brand.ellen-storefront #page .category-toolbar.ellen-catalog-empty-controls{position:static;grid-template-columns:minmax(0,1fr);box-shadow:none}
 body.ellen-brand.ellen-storefront #page .category-toolbar.ellen-catalog-empty-controls .ellen-catalog-controls{grid-column:1/-1;grid-row:1}
}
@media(max-width:420px){body.ellen-brand.ellen-storefront #page .ellen-catalog-search input[type=search]{font-size:16px}body.ellen-brand.ellen-storefront #page .ellen-catalog-search button{min-width:72px;padding-inline:10px}}

/* Mobile catalog: keep products in the first screen and make refinement controls reusable while scrolling. */
@media(max-width:600px){
 body.ellen-brand.ellen-storefront #page .ellen-catalog-layout .woocommerce-breadcrumb{margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-layout .woocommerce-products-header .page-title{margin-bottom:12px}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories{gap:6px;margin-bottom:12px;padding:0 20px 2px 0;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories:not(.ellen-mobile-categories--few){-webkit-mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 24px),transparent)}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories a{min-width:0;max-width:none;min-height:44px;padding:9px 12px;gap:0;border-radius:3px;background:#fff;font-size:13px;white-space:nowrap;scroll-snap-align:start}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories i{display:none}
 body.ellen-brand.ellen-storefront #page .ellen-mobile-categories a[aria-current]{border-color:var(--ellen-focus);background:var(--ellen-soft);color:var(--ellen-focus)}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-tools{gap:4px;margin-bottom:6px;padding-bottom:0;border-bottom:0}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-quick>summary{font-size:13px}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-quick nav{gap:6px;padding-bottom:0;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-quick nav::-webkit-scrollbar{display:none}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-quick a{min-height:40px;padding:7px 10px;scroll-snap-align:start}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-search{gap:4px}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-search>label{font-size:12px}
 body.ellen-brand.ellen-storefront #page .category-toolbar{position:sticky;isolation:isolate;top:var(--ellen-mobile-catalog-sticky-top,105px);z-index:35;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:8px 10px;margin:0 calc(var(--ellen-gutter,18px)*-1) 18px;padding:10px var(--ellen-gutter,18px) 12px;border:0;border-top:1px solid var(--ellen-border);border-bottom:1px solid var(--ellen-border);border-radius:0;background:#fff;box-shadow:0 10px 14px -13px rgba(26,26,26,.45)}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-result-count{grid-column:1/-1;grid-row:1;font-size:12px}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-result-count .ellen-result-label,body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-result-count .ellen-result-range{display:none}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-result-count .ellen-result-total{color:var(--ellen-primary);font-weight:600}
 body.ellen-brand.ellen-storefront #page .category-toolbar .ellen-catalog-controls{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 html.ellen-mobile-subcategories-ready body.ellen-brand.ellen-storefront #page .category-toolbar .ellen-catalog-controls{grid-template-columns:minmax(0,1fr)}
 html.ellen-mobile-subcategories-ready body.ellen-brand.ellen-storefront #page .category-toolbar .ellen-catalog-trigger{display:none!important}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering{grid-column:2;grid-row:2;width:100%;margin:0}
 body.ellen-brand.ellen-storefront #page .category-toolbar .woocommerce-ordering select{width:100%!important;font-size:13px!important}
 body.ellen-brand.ellen-storefront #page .ellen-catalog-controls :is(.ellen-catalog-trigger,.ellen-catalog-price-trigger){min-height:44px;font-size:13px}
}

