.ks-shop{--ks-brown:#321b0f;--ks-mid:#805237;--ks-gold:#b98432;--ks-cream:#f8f4ef;color:var(--ks-brown);font-family:inherit;width:100%;max-width:1400px;margin:0 auto;padding:0 16px 30px}.ks-shop *{box-sizing:border-box}.ks-shop a{text-decoration:none!important}.ks-shop h1,.ks-shop h2,.ks-shop h3,.ks-shop p{margin:0}.ks-hero{position:relative;min-height:310px;display:flex;align-items:center;overflow:hidden;border-radius:17px;color:white;background:linear-gradient(105deg,#321b0f 0%,#462919 53%,#946441 100%);isolation:isolate}.ks-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 86% 40%,#cd9e655e,transparent 55%);pointer-events:none}.ks-hero--photo{background-image:linear-gradient(90deg,#321b0ff9 0%,#321b0ff2 38%,#321b0f7d 67%,#321b0f18 100%),var(--ks-hero-photo);background-position:center;background-size:cover}.ks-hero__content{position:relative;z-index:2;padding:39px 5.1%;width:59%;max-width:760px}.ks-eyebrow{color:#e8b86d;font-size:.78rem;font-weight:800;letter-spacing:.18em}.ks-hero h1{font-weight:790;color:#fff;font-size:clamp(1.9rem,3vw,2.85rem);line-height:1.13;margin:12px 0}.ks-hero p{font-size:1rem;line-height:1.55;color:#f1e5db;max-width:570px;margin-bottom:19px}.ks-btn{display:inline-flex;align-items:center;gap:17px;background:linear-gradient(110deg,#a66e2b,#c28d3d);color:#fff!important;border-radius:8px;padding:12px 21px;font-weight:700;font-size:.91rem}.ks-btn:hover{filter:brightness(1.07)}.ks-hero__gallery{position:absolute;inset:0 0 0 57%;display:flex;align-items:flex-end;justify-content:center;gap:3%;padding:25px 4% 17px 0;transform:rotate(-2deg)}.ks-hero__gallery img{display:block;min-width:0;width:31%;height:78%;object-fit:contain;filter:drop-shadow(0 14px 16px #1b0d0780);background:#f7f1e9;border:4px solid #f6e9d6;border-radius:16px;padding:7px}.ks-hero__gallery img:nth-child(2){height:90%;transform:translateY(-7px)}.ks-benefits{display:grid;grid-template-columns:repeat(4,1fr);background:#f6efe8;border-radius:10px;margin:12px 0 28px;padding:14px 6px}.ks-benefits>div{display:flex;align-items:center;justify-content:center;gap:10px;font-weight:700;font-size:.87rem;padding:3px 6px;border-right:1px solid #e3d5c5}.ks-benefits>div:last-child{border:0}.ks-benefits>div>span:first-child{font-size:1.3rem;color:var(--ks-gold)}.ks-section{margin-bottom:34px}.ks-heading{text-align:center;margin-bottom:19px}.ks-heading h2{font-size:clamp(1.55rem,2.2vw,2.05rem);line-height:1.25;color:var(--ks-brown);font-weight:750}.ks-heading p{font-size:.94rem;color:#78685e;margin-top:6px}.ks-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:13px}.ks-category{min-width:0;display:flex;flex-direction:column;background:#fff;color:var(--ks-brown)!important;border:1px solid #eae0d7;border-radius:12px;overflow:hidden;box-shadow:0 5px 15px #321b0f0a;transition:transform .18s,box-shadow .18s}.ks-category:hover{transform:translateY(-3px);box-shadow:0 10px 24px #321b0f18}.ks-category__photo{height:151px;background:linear-gradient(155deg,#faf6f0,#f0e7de);display:flex;align-items:center;justify-content:center;overflow:hidden}.ks-category__photo img{width:100%;height:100%;object-fit:contain;padding:7px;mix-blend-mode:multiply}.ks-category__photo>span{font-size:42px;color:var(--ks-gold)}.ks-category__copy{display:flex;flex-direction:column;flex:1;padding:14px 16px 15px}.ks-category h3{font-weight:740;font-size:1.03rem;line-height:1.3;color:var(--ks-brown);margin:0 0 7px}.ks-category p{font-size:.86rem;line-height:1.42;color:#716057;margin-bottom:12px}.ks-category__cta{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:.84rem;font-weight:760;color:var(--ks-mid);margin-top:auto}.ks-category__cta span{background:#f6eadd;border-radius:50%;width:28px;height:28px;display:grid;place-items:center}.ks-section--products{padding-top:7px}.ks-heading--split{display:flex;justify-content:space-between;align-items:center;text-align:left;gap:15px}.ks-heading--split h2{margin:0}.ks-heading--split a{color:var(--ks-mid);font-weight:750;font-size:.85rem;white-space:nowrap}.ks-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ks-product-card{min-width:0;background:#fff;border:1px solid #ece4dc;border-radius:12px;overflow:hidden;box-shadow:0 5px 16px #321b0f08;display:flex;flex-direction:column}.ks-product-card__image{height:195px;padding:10px;display:grid;place-items:center}.ks-product-card__image img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;max-height:none!important;margin:0!important}.ks-product-card__info{display:flex;flex-direction:column;flex:1;padding:10px 15px 15px}.ks-product-card h3{font-size:.94rem;line-height:1.35;font-weight:720;min-height:2.55em}.ks-product-card h3 a{color:var(--ks-brown)!important}.ks-product-card__bottom{margin-top:auto;padding-top:15px;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;flex-wrap:wrap}.ks-product-card__price{font-size:1.12rem;font-weight:800;line-height:1.2}.ks-product-card__price .amount{color:var(--ks-brown)}.ks-product-card__price del{color:#988a81;font-size:.75rem;font-weight:400;display:block}.ks-product-card__price ins{text-decoration:none}.ks-product-card__button{background:var(--ks-mid);color:#fff!important;border-radius:7px;display:inline-flex;align-items:center;gap:6px;padding:9px 11px;font-size:.79rem;font-weight:720}.ks-product-card__button:hover{background:var(--ks-brown)}.ks-seo{background:var(--ks-cream);border-left:4px solid var(--ks-gold);border-radius:9px;padding:22px 25px;margin-top:27px}.ks-seo h2{font-size:1.23rem;color:var(--ks-brown);margin-bottom:9px}.ks-seo p{color:#67594e;font-size:.93rem;line-height:1.7}@media(max-width:1050px){.ks-products{grid-template-columns:repeat(3,minmax(0,1fr))}.ks-categories{grid-template-columns:repeat(3,minmax(0,1fr))}.ks-hero__content{width:65%}.ks-hero__gallery{left:62%}}@media(max-width:720px){.ks-shop{padding:0 10px 20px}.ks-hero{min-height:278px;border-radius:11px;align-items:flex-start}.ks-hero__content{padding:22px 18px 25px;width:100%;max-width:none}.ks-eyebrow{font-size:.64rem}.ks-hero h1{font-size:clamp(1.35rem,5.5vw,1.85rem);max-width:70%;margin:8px 0 9px}.ks-hero p{font-size:.79rem;line-height:1.4;max-width:68%;margin-bottom:13px}.ks-btn{padding:10px 12px;font-size:.78rem;gap:9px}.ks-hero__gallery{inset:21% -4% 0 59%;padding:0 7px 15px 0;gap:0;align-items:flex-end;transform:none;opacity:.96}.ks-hero__gallery img{width:43%;height:72%;padding:3px;border-width:2px;border-radius:7px}.ks-hero__gallery img:first-child{display:none}.ks-hero__gallery img:nth-child(2){height:85%}.ks-hero--photo{background-position:64% center;background-image:linear-gradient(90deg,#321b0ff5 0%,#321b0fdc 47%,#321b0f40 100%),var(--ks-hero-photo)}.ks-benefits{margin:8px 0 24px;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:8px 5px}.ks-benefits>div{justify-content:flex-start;font-size:.71rem;padding:9px 6px;border-bottom:1px solid #e2d4c8;gap:6px}.ks-benefits>div:nth-child(2){border-right:0}.ks-benefits>div:nth-child(n+3){border-bottom:0}.ks-benefits>div>span:first-child{font-size:1.07rem}.ks-heading{margin-bottom:14px}.ks-heading h2{font-size:1.4rem}.ks-heading p{font-size:.82rem}.ks-categories{grid-template-columns:1fr;gap:9px}.ks-category{flex-direction:row;min-height:105px;border-radius:11px}.ks-category__photo{width:34%;height:auto;min-height:105px;flex:none}.ks-category__copy{padding:12px 13px}.ks-category h3{font-size:.96rem;margin-bottom:4px}.ks-category p{font-size:.78rem;line-height:1.35;margin:0 0 4px}.ks-category__cta{font-size:.76rem}.ks-category__cta span{height:24px;width:24px}.ks-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ks-product-card__image{height:143px;padding:6px}.ks-product-card__info{padding:8px 9px 10px}.ks-product-card h3{font-size:.82rem}.ks-product-card__bottom{padding-top:10px;align-items:flex-start}.ks-product-card__price{font-size:.97rem}.ks-product-card__button{font-size:.7rem;padding:8px 9px}.ks-heading--split a{font-size:.75rem}.ks-seo{padding:17px;margin-top:14px}.ks-seo h2{font-size:1.06rem}.ks-seo p{font-size:.85rem}}@media(max-width:370px){.ks-hero h1{max-width:77%}.ks-hero p{max-width:70%;font-size:.75rem}.ks-hero__gallery{left:69%;opacity:.68}.ks-product-card__button{width:100%;justify-content:center}} 

/* v1.2: Scoped responsive hero. Other sections remain unchanged from v1.1. */
.ks-shop .ks-hero.ks-hero--media{height:395px;min-height:0;border-radius:14px;background:#f5ede5;display:flex;align-items:center;color:#321b0f;overflow:hidden;isolation:isolate}
.ks-shop .ks-hero.ks-hero--media::before{display:none}
.ks-shop .ks-hero__picture{position:absolute;inset:0;display:block;z-index:0;pointer-events:none}
.ks-shop .ks-hero__picture img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;max-width:none}
.ks-shop .ks-hero--media .ks-hero__content{width:57%;max-width:720px;padding:28px 4.5%;position:relative;z-index:1}
.ks-shop .ks-hero--media .ks-eyebrow{color:#a76e29;font-size:.76rem;letter-spacing:.16em}
.ks-shop .ks-hero--media h1{color:#321b0f;font-size:clamp(1.75rem,2.9vw,2.75rem);line-height:1.13;margin:12px 0 14px;font-weight:800}
.ks-shop .ks-hero--media p{color:#46382f;font-size:clamp(.88rem,1.15vw,1.02rem);line-height:1.52;margin:0 0 20px;max-width:545px}
.ks-shop .ks-hero__actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.ks-shop .ks-hero__actions .ks-btn{display:inline-flex;justify-content:center;align-items:center;white-space:normal;gap:11px;background:#805237;border:1px solid #805237;color:#fff!important;border-radius:8px;padding:11px 16px;line-height:1.25;font-size:.85rem}
.ks-shop .ks-hero__actions .ks-btn--outline{background:#ffffffb5;border-color:#805237;color:#321b0f!important}
.ks-shop .ks-hero__actions .ks-btn:hover{filter:brightness(.95)}
@media (max-width:1000px) and (min-width:721px){.ks-shop .ks-hero--media .ks-hero__content{width:60%;padding:24px 3.5%}.ks-shop .ks-hero--media h1{font-size:clamp(1.65rem,3.2vw,2.4rem)}}
@media(max-width:720px){
 .ks-shop .ks-hero.ks-hero--media{height:auto;min-height:500px;display:block;border-radius:11px;background:#f6ede5}
 .ks-shop .ks-hero__picture img{object-fit:cover;object-position:center bottom}
 .ks-shop .ks-hero--media .ks-hero__content{width:100%;max-width:none;padding:20px 19px 245px;text-align:left}
 .ks-shop .ks-hero--media .ks-eyebrow{font-size:.65rem}
 .ks-shop .ks-hero--media h1{font-size:clamp(1.45rem,6vw,2.1rem);line-height:1.12;max-width:100%;margin:7px 0 9px}
 .ks-shop .ks-hero--media p{font-size:.81rem;line-height:1.4;max-width:100%;margin-bottom:12px}
 .ks-shop .ks-hero__actions{gap:8px;flex-wrap:wrap}
 .ks-shop .ks-hero__actions .ks-btn{font-size:.75rem;padding:9px 11px;gap:7px}
}
@media(max-width:410px){.ks-shop .ks-hero--media .ks-hero__content{padding-bottom:215px}.ks-shop .ks-hero__actions .ks-btn{flex:1 1 140px}}

/* v1.3: only the hero becomes full-bleed. Other shop sections keep their layout. */
.ks-shop .ks-hero.ks-hero--media{
  width:100vw;
  width:100dvw;
  max-width:none;
  margin-left:calc(50% - 50vw);
  margin-left:calc(50% - 50dvw);
  border-radius:0;
}
@media (min-width:721px){
  .ks-shop .ks-hero--media .ks-hero__content{
    width: min(57%, 850px);
    max-width:none;
    padding-left:max(32px, calc((100vw - 1320px)/2));
    padding-left:max(32px, calc((100dvw - 1320px)/2));
    padding-right:24px;
  }
}
@media (max-width:720px){
  .ks-shop .ks-hero.ks-hero--media{border-radius:0;}
}


/* v1.4: remove Kadence's empty top space ONLY on pages with the shop shortcode. */
body.ks-shop-page .content-area{margin-top:0!important;padding-top:0!important}
body.ks-shop-page .site-main{padding-top:0!important;margin-top:0!important}
body.ks-shop-page .site-main > article,
body.ks-shop-page .site-main > .page{margin-top:0!important;padding-top:0!important}
body.ks-shop-page .entry-content-wrap{padding-top:0!important;margin-top:0!important}
body.ks-shop-page .entry-content{margin-top:0!important;padding-top:0!important}
body.ks-shop-page .entry-content > .wp-block-shortcode:first-child,
body.ks-shop-page .entry-content > .wp-block-group:first-child{margin-top:0!important}
body.ks-shop-page .ks-shop{margin-top:0!important}
@media(min-width:721px){
  body.ks-shop-page .ks-shop .ks-hero.ks-hero--media{
    height:470px;
    min-height:470px;
  }
  body.ks-shop-page .ks-shop .ks-hero__picture img{
    object-fit:cover;
    object-position:center center;
  }
}

/* v1.5: wider content (hero remains full-bleed), 4 category columns on desktop */
.ks-shop {max-width:1500px!important;width:100%;padding-left:clamp(12px,2vw,26px);padding-right:clamp(12px,2vw,26px)}
.ks-shop .ks-categories{grid-template-columns:repeat(4,minmax(0,1fr))}
.ks-shop .ks-benefits {width:100%;margin-top:12px;margin-bottom:30px;padding:12px 8px}
.ks-shop .ks-benefit{justify-content:flex-start;padding:8px 14px;align-items:center;min-width:0}
.ks-shop .ks-benefit__icon{flex:0 0 26px;color:#b98432;font-size:1.35rem;text-align:center}
.ks-shop .ks-benefit__content{min-width:0;display:flex;flex-direction:column;gap:3px;line-height:1.2}
.ks-shop .ks-benefit__content strong{font-size:.88rem;color:#321b0f;font-weight:750}
.ks-shop .ks-benefit__content small{font-size:.75rem;font-weight:400;line-height:1.3;color:#66554b}
@media(max-width:1050px){.ks-shop .ks-categories{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){
 .ks-shop .ks-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .ks-shop .ks-category{display:flex;flex-direction:column;min-height:0}
 .ks-shop .ks-category__photo{height:122px;min-height:0;width:100%}
 .ks-shop .ks-category__copy{padding:11px}
 .ks-shop .ks-benefits{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:8px;padding:7px 5px}
 .ks-shop .ks-benefit{align-items:flex-start;padding:10px 7px;gap:6px}
 .ks-shop .ks-benefit__icon{flex-basis:19px;font-size:1.05rem}
 .ks-shop .ks-benefit__content strong{font-size:.75rem}
 .ks-shop .ks-benefit__content small{font-size:.66rem}
 .ks-shop .ks-hero--media .ks-hero__content{padding:18px 16px 260px}
 .ks-shop .ks-hero--media h1{font-size:clamp(1.38rem,5.4vw,1.85rem)}
 .ks-shop .ks-hero__actions{display:flex;flex-direction:column;align-items:stretch;max-width:240px;gap:8px}
 .ks-shop .ks-hero__actions .ks-btn{flex:0 0 auto;width:100%;min-height:36px;font-size:.74rem;padding:8px 12px}
 .ks-shop .ks-hero.ks-hero--media{min-height:545px}
}
@media(max-width:390px){.ks-shop .ks-hero--media .ks-hero__content{padding-bottom:235px}.ks-shop .ks-hero.ks-hero--media{min-height:530px}}
/* Escapes Kadence's narrower content column without changing the theme globally. */
body.ks-shop-page .ks-shop{width:min(1500px,100vw)!important;max-width:none!important;position:relative;left:50%;transform:translateX(-50%)}

/* v1.6: remove the visible central Kadence background column on the shop preview only. */
body.ks-shop-page, body.ks-shop-page .site, body.ks-shop-page .site-content,
body.ks-shop-page .content-area, body.ks-shop-page .site-main,
body.ks-shop-page .site-main > article, body.ks-shop-page .site-main > .page,
body.ks-shop-page .entry-content-wrap, body.ks-shop-page .entry-content,
body.ks-shop-page .ks-shop {background-color:#fff!important;background-image:none!important}
/* Do not apply the background reset to the hero or category cards. */
body.ks-shop-page .ks-category__photo {isolation:isolate}
body.ks-shop-page .ks-category__photo img {
  transform:scale(var(--ks-category-scale, 1));
  transform-origin:center center;
  transition:transform .2s ease;
}

/* v1.8: isolated featured-product cards. No changes to categories or hero. */
.ks-shop .ks-products__header-actions{display:flex;align-items:center;gap:18px}
.ks-shop .ks-products__controls{display:flex;gap:6px}
.ks-shop .ks-products__controls button{appearance:none;border:1px solid #e5d9cf;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;background:#fff;color:#805237;font-size:21px;cursor:pointer;line-height:1}
.ks-shop .ks-products__controls button:disabled{opacity:.35;cursor:default}
.ks-shop .ks-products{--ks-slide-gap:14px;display:grid!important;grid-auto-flow:column;grid-auto-columns:calc((100% - 3 * var(--ks-slide-gap))/4);grid-template-columns:none!important;gap:var(--ks-slide-gap);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth;overscroll-behavior-inline:contain;padding:2px 1px 10px}
.ks-shop .ks-products::-webkit-scrollbar{display:none}
.ks-shop .ks-product-card{min-width:0!important;min-height:380px!important;height:auto!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;position:relative!important;scroll-snap-align:start;background:#fff;border:1px solid #e7ded6;border-radius:12px;box-shadow:0 5px 16px #321b0f08}
.ks-shop .ks-product-card__image{height:228px!important;min-height:228px!important;max-height:228px!important;flex:0 0 228px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;padding:16px!important;background:#fff!important;position:relative!important;isolation:isolate}
.ks-shop .ks-product-card__image img{display:block!important;position:static!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-height:0!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;transform:scale(var(--ks-product-scale,1))!important;transform-origin:center!important;float:none!important;filter:none!important}
.ks-shop .ks-product-card__info{position:relative!important;z-index:1!important;background:#fff!important;display:flex!important;flex:1 1 auto!important;flex-direction:column!important;padding:13px 16px 16px!important;min-width:0;clear:both}
.ks-shop .ks-product-card h3{font-size:.94rem!important;line-height:1.36!important;font-weight:700!important;min-height:2.72em!important;margin:0 0 12px!important;overflow-wrap:anywhere}
.ks-shop .ks-product-card h3 a{color:#321b0f!important}
.ks-shop .ks-product-card__bottom{position:static!important;margin-top:auto!important;padding:0!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:13px!important;flex-wrap:nowrap!important}
.ks-shop .ks-product-card__price{font-size:1.12rem!important;line-height:1.4!important;color:#321b0f!important;font-weight:800!important;min-width:0}
.ks-shop .ks-product-card__price .amount{color:#321b0f!important}
.ks-shop .ks-product-card__price small,.ks-shop .ks-product-card__price .price-netto,.ks-shop .ks-product-card__price .netto{font-size:.78rem;color:#76665e;font-weight:500}
.ks-shop .ks-product-card__button{position:static!important;display:flex!important;justify-content:center!important;align-items:center!important;align-self:stretch!important;width:100%!important;min-height:40px!important;padding:10px 12px!important;border-radius:7px!important;font-size:.84rem!important;white-space:normal!important;line-height:1.25!important;background:#805237!important;color:#fff!important;text-align:center!important}
.ks-shop .ks-product-card__button:hover{background:#321b0f!important}
@media(max-width:900px){.ks-shop .ks-products{grid-auto-columns:calc((100% - var(--ks-slide-gap))/2)}}
@media(max-width:720px){.ks-shop .ks-products{--ks-slide-gap:9px}.ks-shop .ks-product-card{min-height:345px!important}.ks-shop .ks-product-card__image{height:160px!important;min-height:160px!important;max-height:160px!important;flex-basis:160px!important;padding:9px!important}.ks-shop .ks-product-card__info{padding:10px 10px 12px!important}.ks-shop .ks-product-card h3{font-size:.81rem!important;min-height:3.9em!important;margin-bottom:10px!important}.ks-shop .ks-product-card__price{font-size:.93rem!important}.ks-shop .ks-product-card__button{font-size:.72rem!important;padding:9px 5px!important}.ks-shop .ks-products__header-actions{gap:7px}.ks-shop .ks-products__controls button{width:30px;height:30px;font-size:17px}.ks-shop .ks-heading--split{align-items:center}.ks-shop .ks-heading--split h2{font-size:1.15rem}}
@media(prefers-reduced-motion:reduce){.ks-shop .ks-products{scroll-behavior:auto}}

/* v1.9: eight visible products, no carousel */
.ks-shop .ks-products{display:grid!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;overflow:visible!important;scroll-snap-type:none!important;scroll-behavior:auto!important;gap:16px!important;padding:2px 0 14px!important}
.ks-shop .ks-product-card{scroll-snap-align:none!important}
.ks-shop .ks-seo{margin:32px 0 50px;padding:34px;background:#f8f5f1;border:1px solid #eee4db;border-radius:18px;max-width:none}
.ks-shop .ks-seo__intro{max-width:990px;margin:0 auto 27px;text-align:center}
.ks-shop .ks-seo__eyebrow{display:block;font-size:.71rem;font-weight:800;letter-spacing:.14em;color:#9b6b29;margin:0 0 12px}
.ks-shop .ks-seo__intro h2{font-size:clamp(1.55rem,2.3vw,2.2rem)!important;line-height:1.17;color:#321b0f;margin:0 0 15px!important}
.ks-shop .ks-seo__intro p{font-size:1rem;line-height:1.75;color:#55463e;margin:0!important}
.ks-shop .ks-seo__cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:26px 0}
.ks-shop .ks-seo__card{background:white;border:1px solid #eee5dc;border-radius:12px;padding:23px;min-width:0;display:flex;flex-direction:column;gap:11px}
.ks-shop .ks-seo__card-icon{font-size:24px;color:#b98432;line-height:1}
.ks-shop .ks-seo__card h3{margin:0!important;font-size:1.05rem;line-height:1.32;color:#321b0f;font-weight:800}
.ks-shop .ks-seo__card p{margin:0!important;font-size:.9rem;line-height:1.55;color:#55463e;flex:1}
.ks-shop .ks-seo__card a{font-size:.89rem;color:#805237;font-weight:750;text-decoration:none;margin-top:8px}
.ks-shop .ks-seo__card a:hover{text-decoration:underline}
.ks-shop .ks-seo__faq{margin-top:34px;max-width:1080px;margin-left:auto;margin-right:auto}
.ks-shop .ks-seo__faq h2{font-size:1.5rem;text-align:center;color:#321b0f;margin:0 0 16px!important}
.ks-shop .ks-seo__question{margin:9px 0;background:#fff;border:1px solid #eadfd6;border-radius:9px;padding:0 18px}
.ks-shop .ks-seo__question summary{cursor:pointer;font-weight:750;color:#321b0f;padding:15px 0;line-height:1.35}
.ks-shop .ks-seo__question p{font-size:.92rem;line-height:1.65;margin:0 0 17px;color:#51483f}
@media(max-width:1100px){.ks-shop .ks-seo__cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.ks-shop .ks-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:720px){.ks-shop .ks-products{gap:9px!important}.ks-shop .ks-seo{padding:22px 13px;margin:26px 0 35px;border-radius:12px}.ks-shop .ks-seo__cards{gap:10px}.ks-shop .ks-seo__card{padding:14px;gap:9px}.ks-shop .ks-seo__card h3{font-size:.9rem}.ks-shop .ks-seo__card p{font-size:.79rem}.ks-shop .ks-seo__card a{font-size:.78rem}.ks-shop .ks-seo__intro p{font-size:.88rem;line-height:1.6}}
@media(max-width:440px){.ks-shop .ks-seo__cards{grid-template-columns:1fr}}

/* v1.9a: unified outlined SVG iconography in four SEO cards */
.ks-shop .ks-seo__card-icon{display:inline-flex;align-items:center;justify-content:flex-start;width:36px;height:36px;flex:0 0 36px;color:#b98432;font-size:0;line-height:1}
.ks-shop .ks-seo__card-icon svg{display:block;width:36px!important;height:36px!important;max-width:none;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* v2.0 category archive. Isolated to plugin template. */
.ks-category-page{width:100%!important;max-width:none!important;margin:0!important;padding:0 20px 65px!important;box-sizing:border-box;background:#fff}
.ks-category-page *{box-sizing:border-box}
.ks-category-page__inner{max-width:1500px;margin:0 auto}
.ks-category-page__breadcrumbs{padding:18px 0;color:#88766a;font-size:.81rem}
.ks-category-page__breadcrumbs a{color:#805237;text-decoration:none}
.ks-category-page__hero{min-height:245px;background:#f6f1ea;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:26px;padding:32px 50px;overflow:hidden}
.ks-category-page__hero-copy{flex:1;max-width:760px}
.ks-category-page__eyebrow{display:block;color:#a47737;font-size:.72rem;letter-spacing:.12em;font-weight:800;margin-bottom:12px}
.ks-category-page__hero h1{font-size:clamp(1.85rem,3.2vw,3.15rem)!important;line-height:1.12!important;color:#321b0f!important;margin:0 0 16px!important}
.ks-category-page__hero p{font-size:1rem;line-height:1.65;max-width:660px;color:#66564a;margin:0!important}
.ks-category-page__hero-image{height:190px;flex:0 1 300px;display:flex;align-items:center;justify-content:center}
.ks-category-page__hero-image img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;display:block}
.ks-category-page__subcategories{margin-top:35px}
.ks-category-page__subcategories h2,.ks-category-page__catalog h2{color:#321b0f;font-size:1.45rem!important;margin:0 0 18px!important}
.ks-category-page__subgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ks-category-page__subcat{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e9dfd4;border-radius:10px;color:#321b0f!important;text-decoration:none!important;font-weight:700;min-width:0}
.ks-category-page__subcat img{width:56px;height:54px;object-fit:contain}
.ks-category-page__subcat span:nth-last-child(2){flex:1;overflow-wrap:anywhere}
.ks-category-page__catalog{margin:40px 0}
.ks-category-page__toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.ks-category-page__toolbar .woocommerce-result-count,.ks-category-page__toolbar .woocommerce-ordering{float:none;margin:0}
.ks-category-page__toolbar select{max-width:100%;border:1px solid #ded4c9;border-radius:7px;padding:9px;background:#fff}
.ks-category-page .ks-products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:16px!important;overflow:visible!important}
.ks-category-page .ks-product-card__image{height:228px!important;min-height:228px!important;max-height:228px!important;flex-basis:228px!important}
.ks-category-page__pagination{text-align:center;margin-top:30px}
.ks-category-page__pagination .woocommerce-pagination{float:none}
.ks-category-page__pagination ul.page-numbers{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;border:none}
.ks-category-page__pagination ul.page-numbers li{border:none}
.ks-category-page__pagination .page-numbers a,.ks-category-page__pagination .page-numbers span{padding:10px 13px!important;border-radius:7px!important;background:#f7f3ef;color:#321b0f}
.ks-category-page__pagination .page-numbers .current{background:#805237!important;color:#fff!important}
.ks-category-page__seo{padding:30px 34px;background:#f8f5f1;border-radius:14px;margin-top:34px}
.ks-category-page__seo h2{font-size:1.5rem!important;color:#321b0f;margin:0 0 15px!important}
.ks-category-page__seo-content{max-width:1100px;line-height:1.75;color:#51473f}
.ks-category-page__seo-content p:last-child{margin-bottom:0}
@media(max-width:1050px){.ks-category-page__subgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.ks-category-page .ks-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ks-category-page__hero{padding:27px}}
@media(max-width:600px){.ks-category-page{padding:0 12px 35px!important}.ks-category-page__hero{padding:22px 18px;gap:10px;min-height:180px}.ks-category-page__hero h1{font-size:1.65rem!important}.ks-category-page__hero p{font-size:.86rem}.ks-category-page__hero-image{height:125px;flex-basis:105px}.ks-category-page__eyebrow{font-size:.62rem}.ks-category-page__subgrid{gap:8px}.ks-category-page__subcat{font-size:.75rem;padding:8px;gap:6px}.ks-category-page__subcat img{width:38px;height:38px}.ks-category-page .ks-products{gap:9px!important}.ks-category-page .ks-product-card__image{height:160px!important;min-height:160px!important;max-height:160px!important;flex-basis:160px!important}.ks-category-page__seo{padding:20px 15px}}

/* v2.1: universal full-bleed category background, with content kept dynamic. */
.ks-category-page{padding:0 0 65px!important;overflow-x:clip;background:#fff!important}
.ks-category-page__hero{
  position:relative!important;isolation:isolate;display:block!important;
  width:100%!important;max-width:none!important;min-height:380px!important;
  padding:0!important;margin:0!important;border-radius:0!important;
  background:#321b0f url("category-hero.webp") center center / cover no-repeat!important;
  color:#fff!important;overflow:hidden!important;
}
.ks-category-page__hero:before{content:"";position:absolute;z-index:-1;inset:0;
  background:linear-gradient(90deg,rgba(34,17,9,.24) 0%,rgba(34,17,9,.14) 47%,transparent 75%);
  pointer-events:none}
.ks-category-page__hero-inner{max-width:1500px;margin:0 auto;padding:28px clamp(20px,4vw,64px) 35px;min-height:300px;display:flex;flex-direction:column;justify-content:center}
.ks-category-page__hero .ks-category-page__breadcrumbs{padding:0 0 24px!important;color:#e9dcd2!important;font-size:.83rem;line-height:1.4}
.ks-category-page__hero .ks-category-page__breadcrumbs a,
.ks-category-page__hero .ks-category-page__breadcrumbs .woocommerce-breadcrumb{color:#f4e8dc!important;text-decoration:none}
.ks-category-page__hero .ks-category-page__breadcrumbs a:hover{color:#e5b963!important;text-decoration:underline}
.ks-category-page__hero-copy{max-width:min(760px,64%)!important;flex:initial!important}
.ks-category-page__hero .ks-category-page__eyebrow{display:block;color:#e6b565!important;letter-spacing:.16em;font-size:.73rem;margin-bottom:12px}
.ks-category-page__hero h1{color:#fff!important;font-size:clamp(1.8rem,3vw,3.1rem)!important;line-height:1.12!important;margin:0 0 12px!important;font-weight:800!important;text-transform:none!important}
.ks-category-page__hero p{color:#f5eae2!important;font-size:clamp(.9rem,1.22vw,1.02rem)!important;line-height:1.6!important;max-width:720px!important;margin:0!important}
.ks-category-page__inner{max-width:1500px!important;margin:0 auto!important;padding:0 20px!important}
@media(max-width:800px){
 .ks-category-page__hero{min-height:250px!important;background-position:68% center!important}
 .ks-category-page__hero:before{background:linear-gradient(90deg,rgba(32,16,8,.88),rgba(32,16,8,.62) 66%,rgba(32,16,8,.35))}
 .ks-category-page__hero-inner{min-height:250px;padding:22px 22px 28px!important}
 .ks-category-page__hero-copy{max-width:92%!important}
 .ks-category-page__hero .ks-category-page__breadcrumbs{padding-bottom:20px!important;font-size:.75rem}
 .ks-category-page__hero h1{font-size:clamp(1.7rem,5vw,2.4rem)!important}
}
@media(max-width:600px){
 .ks-category-page{padding:0 0 35px!important}
 .ks-category-page__hero{min-height:225px!important;background-position:73% center!important}
 .ks-category-page__hero-inner{min-height:225px;padding:18px 16px 22px!important}
 .ks-category-page__hero-copy{max-width:100%!important}
 .ks-category-page__hero .ks-category-page__eyebrow{font-size:.62rem;margin-bottom:8px}
 .ks-category-page__hero .ks-category-page__breadcrumbs{padding-bottom:13px!important}
 .ks-category-page__hero h1{font-size:clamp(1.55rem,7vw,2rem)!important;margin-bottom:9px!important}
 .ks-category-page__hero p{font-size:.83rem!important;line-height:1.5!important}
 .ks-category-page__inner{padding:0 12px!important}
}

/* v2.2: independently editable content beneath the category catalog */
.ks-category-page__seo{max-width:1500px;margin:44px auto 0!important;background:#f7f3ed;border:1px solid #ebdfd0;border-radius:12px;padding:clamp(20px,3.2vw,42px)!important}
.ks-category-page__seo h2{font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.25;color:#321b0f;margin:0 0 18px}
.ks-category-page__seo h3{font-size:1.17rem;color:#321b0f;margin:28px 0 12px}
.ks-category-page__seo-content{max-width:1100px}
.ks-category-page__seo-content h2,.ks-category-page__seo-content h3{margin:24px 0 12px}
.ks-category-page__seo-content a,.ks-category-page__related a{color:#805237;text-decoration:underline;text-underline-offset:3px}
.ks-category-page__related ul{margin:0;padding-left:22px;display:grid;gap:8px}
.ks-category-page__faq details{border-top:1px solid #ddcdbb;padding:13px 2px}
.ks-category-page__faq details:last-child{border-bottom:1px solid #ddcdbb}
.ks-category-page__faq summary{cursor:pointer;font-weight:650;color:#321b0f}
.ks-category-page__faq details p{color:#51473f;line-height:1.7;margin:10px 0 0}
@media(max-width:600px){.ks-category-page__seo{margin-top:24px!important;padding:20px 16px!important}}

/* v2.2.1: compact mobile-only category intro; desktop remains unchanged. */
.ks-category-page__hero-desc--mobile{display:none!important}
@media(max-width:600px){
 .ks-category-page__hero-desc--desktop{display:none!important}
 .ks-category-page__hero-desc--mobile{display:block!important;max-width:350px!important;font-size:.81rem!important;line-height:1.42!important}
 .ks-category-page__hero h1{font-size:clamp(1.42rem,6.1vw,1.78rem)!important;line-height:1.13!important;overflow-wrap:break-word}
 .ks-category-page__hero{background-position:78% center!important}
 .ks-category-page__hero:before{background:linear-gradient(90deg,rgba(32,16,8,.91) 0%,rgba(32,16,8,.7) 55%,rgba(32,16,8,.34) 100%)!important}
 .ks-category-page__hero-inner{padding-top:17px!important;padding-bottom:18px!important}
}

/* v2.2.3: Full-width shop archive while preserving the approved homepage CSS. */
body.ks-shop-archive .ks-shop-archive-content{width:100%;max-width:none!important;margin:0;padding:0;overflow:clip}
body.ks-shop-archive .ks-shop-archive-content > .ks-shop{margin-top:0}
body.ks-shop-archive .site-content,body.ks-shop-archive .content-area{margin-top:0!important;padding-top:0!important}

/* v2.2.4: WooCommerce shop archive has a different DOM than a Gutenberg shortcode page.
   Remove the preview's parent-relative offset, preserve the 1500px content width. */
body.ks-shop-archive .ks-shop-archive-content > .ks-shop {
  position:static!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  width:100%!important;
  max-width:1500px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
/* Independently full-bleed hero, centered on the viewport rather than the archive column. */
body.ks-shop-archive .ks-shop .ks-hero.ks-hero--media {
  position:relative!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  width:100vw!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
/* Category image field: fit each source image *inside* its own visual area
   before applying the user-set per-category scale. */
body.ks-shop-archive .ks-shop .ks-category__photo {
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  overflow:hidden!important;
}
body.ks-shop-archive .ks-shop .ks-category__photo img {
  display:block!important;
  width:70%!important;
  height:78%!important;
  max-width:70%!important;
  max-height:78%!important;
  min-width:0!important;
  min-height:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  padding:0!important;
  margin:0!important;
  flex:none!important;
  transform:scale(var(--ks-category-scale,1))!important;
  transform-origin:center center!important;
}
@media(max-width:720px){
  body.ks-shop-archive .ks-shop .ks-category__photo img {
    width:72%!important;
    max-width:72%!important;
    height:80%!important;
    max-height:80%!important;
  }
}

/* v2.2.6: category SEO heading becomes a small gold eyebrow; preserve authored casing below. */
.ks-category-page__seo .ks-category-page__seo-eyebrow{
  display:block!important;margin:0 0 18px!important;padding:0!important;
  font-size:clamp(.7rem,.85vw,.82rem)!important;line-height:1.6!important;
  font-weight:800!important;letter-spacing:.14em!important;
  color:#b98432!important;text-transform:uppercase!important;
}
.ks-category-page__seo-content h2,
.ks-category-page__seo-content h3,
.ks-category-page__seo-content h4,
.ks-category-page__faq h3,
.ks-category-page__related h3,
.ks-category-page__catalog h2,
.ks-category-page__subcategories h2 {
  text-transform:none!important;
}
@media(max-width:600px){
  .ks-category-page__seo .ks-category-page__seo-eyebrow{font-size:.7rem!important;letter-spacing:.11em!important;margin-bottom:13px!important}
}

/* v2.2.7: keep natural Polish sentence casing on the shop homepage.
   Kadence's title-case styling must not transform shop headings. */
body.ks-shop-page .ks-shop:not(.ks-category-page) .ks-hero h1,
body.ks-shop-page .ks-shop:not(.ks-category-page) .ks-heading h2,
body.ks-shop-page .ks-shop:not(.ks-category-page) .ks-category__copy h3,
body.ks-shop-page .ks-shop:not(.ks-category-page) .ks-product-card h3,
body.ks-shop-page .ks-shop:not(.ks-category-page) .ks-seo__intro h2,
body.ks-shop-page .ks-shop:not(.ks-category-page) .ks-seo__card h3,
body.ks-shop-page .ks-shop:not(.ks-category-page) .ks-seo__faq h2,
body.ks-shop-page .ks-shop:not(.ks-category-page) .ks-seo__faq h3,
body.ks-shop-page .ks-shop:not(.ks-category-page) .ks-benefit__content strong {
  text-transform: none !important;
}
