/* Category pages only. Load after existing styles. */
.shop-hero.oloria-category-hero{height:auto!important;min-height:0!important;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr)!important;align-items:stretch;overflow:hidden!important;background:#382419}
.oloria-category-hero .shop-hero-copy{box-sizing:border-box;min-width:0;padding:26px clamp(24px,4vw,64px);background:linear-gradient(90deg,#452c1e,#382419);display:flex;flex-direction:column;justify-content:center}
.oloria-category-hero h1{font-size:clamp(27px,2.6vw,40px)!important;line-height:1.15;margin:9px 0;overflow-wrap:break-word}
.oloria-category-hero p{font-size:14px!important;line-height:1.6;margin:6px 0;max-width:480px}
.oloria-category-hero .shop-hero-art{height:auto!important;min-height:200px!important;min-width:0;background-color:#382419;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;aspect-ratio:786/177;align-self:center}
.oloria-category-hero .shop-hero-art.oloria-default-art{background-image:url('../images/category-banner/default.webp')!important}
.oloria-category-hero.indian .shop-hero-art.oloria-default-art{background-image:url('../images/category-banner/indian.webp')!important}
.oloria-category-hero.western .shop-hero-art.oloria-default-art{background-image:url('../images/category-banner/western.webp')!important}
.oloria-category-hero.lingerie .shop-hero-art.oloria-default-art{background-image:url('../images/category-banner/lingerie.webp')!important}
/* Native details retain checkbox names, values and form submission. */
.filters .filter-section.oloria-filter-section{padding:0;margin:0;border:0;border-top:1px solid #ece4dc}
.filters details.oloria-filter-group{padding:0;margin:0;border:0}
.filters .oloria-filter-group>summary{display:flex;justify-content:space-between;align-items:center;gap:8px;list-style:none;cursor:pointer;padding:12px 0;font-size:13px;font-weight:600;min-height:44px;box-sizing:border-box}
.filters .oloria-filter-group>summary::-webkit-details-marker{display:none}
.filters .oloria-filter-group>summary::after{content:'+';font-size:20px;font-weight:400;flex-shrink:0}
.filters .oloria-filter-group[open]>summary::after{content:'−'}
.filters .oloria-filter-group>summary:focus-visible{outline:2px solid #bd8050;outline-offset:3px}
.filters .oloria-filter-body{padding:0 0 14px}
.filters .oloria-filter-group:not([open])>.oloria-filter-body{display:none}
.filters .oloria-filter-group .filter-options{gap:7px}
#shop-filter-form>.btn{position:sticky;bottom:0;z-index:3;width:100%;box-shadow:0 0 0 6px #fffdfa;margin-top:16px}
@media(max-width:720px){
 .shop-hero.oloria-category-hero{grid-template-columns:minmax(0,1fr)!important}
 .oloria-category-hero .shop-hero-copy{order:1;padding:22px 24px}
 .oloria-category-hero h1{font-size:28px!important;line-height:1.2}
 .oloria-category-hero p{font-size:13px!important;line-height:1.6;max-width:none}
 .oloria-category-hero .shop-hero-art{order:2;width:100%;min-height:0!important;aspect-ratio:786/177;background-size:contain!important;align-self:stretch}
 /* Place Filters with the product controls, below the banner. */
 .oloria-filter-open{margin:0 0 16px!important;width:100%!important;max-width:100%!important}
 .filters .oloria-filter-group>summary{padding:13px 0;min-height:48px}
}
/* The base .filters has height:fit-content. A mobile drawer must override it. */
@media(max-width:760px){
 .shop-layout>.filters.oloria-open{
  display:block!important;position:fixed!important;inset:0 0 auto 0!important;
  height:var(--oloria-panel-height,100vh)!important;
  max-height:var(--oloria-panel-height,100vh)!important;min-height:0!important;
  width:100%!important;max-width:none!important;box-sizing:border-box!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;
  z-index:10000;padding:16px 18px calc(30px + env(safe-area-inset-bottom))!important;
  background:#fff!important;border-radius:0;
 }
 .shop-layout>.filters.oloria-open>details{height:auto!important;max-height:none!important;overflow:visible!important}
 .shop-layout>.filters.oloria-open .oloria-filter-close{
  display:block!important;position:sticky;top:0;z-index:5;width:100%;margin:0 0 10px;
 }
 .shop-layout>.filters.oloria-open #shop-filter-form{height:auto;max-height:none;overflow:visible}
 body.oloria-filter-lock{overflow:hidden!important}
}
@supports(height:100dvh){
 @media(max-width:760px){
  .shop-layout>.filters.oloria-open{height:var(--oloria-panel-height,100dvh)!important;max-height:var(--oloria-panel-height,100dvh)!important}
 }
}
