/* MASTERBAR Homepage 0.2.23 – homepage-only CSS; bestseller page rules moved out. */
html,
body{max-width:100%;overflow-x:clip}body.home #page,
body.home .site,
body.home .site-content,
body.home #content,
body.home #primary.masterbar-homepage{max-width:100%;overflow-x:clip}.masterbar-homepage,
.masterbar-container,
.mb-home-section,
.mb-carousel-wrap{min-width:0;max-width:100%;box-sizing:border-box}.mb-product-carousel{max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
body.home .site-content>.ast-container,
body.home .ast-container#content{width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important;display:block!important}#primary.masterbar-homepage{width:100%!important;max-width:none!important;flex:0 0 100%!important;margin:0!important;padding:0 0 48px!important;background:var(--masterbar-background,#fff)}.masterbar-homepage{background:var(--masterbar-background,#fff);padding-bottom:48px}.masterbar-container{width:min(1500px,calc(100vw - 40px));max-width:none!important;margin-inline:auto}.mb-home-section{margin-top:48px}.mb-section-title{margin:0 0 12px;font-size:clamp(24px,2vw,32px);line-height:1.2;color:var(--masterbar-text,#222)}.mb-section-text{margin:0;color:#6b7280;max-width:720px}.mb-hero{position:relative;overflow:hidden;background:#f3f4f6;width:min(1500px,calc(100% - 40px));margin-inline:auto}.mb-hero-track{position:relative}.mb-hero-slide{display:none;position:relative}.mb-hero-slide.is-active{display:block}.mb-hero-slide picture,
.mb-hero-slide img{display:block;width:100%}.mb-hero-slide img{aspect-ratio:1920/620;object-fit:cover}.mb-hero-click{display:block}.mb-hero-content{position:absolute;inset:0;display:flex;align-items:center;pointer-events:none}.mb-hero-copy{max-width:520px;padding:28px;background:rgba(255,255,255,.9);border-radius:var(--masterbar-radius,6px);pointer-events:auto}.mb-hero-copy h2{margin:0 0 10px;font-size:clamp(30px,4vw,54px);line-height:1.05}.mb-hero-copy p{font-size:18px;margin:0 0 18px}.mb-button,
.mb-product-button{display:inline-flex;align-items:center;justify-content:center;background:var(--masterbar-primary,#123456);color:#fff!important;text-decoration:none;border-radius:var(--masterbar-radius,6px);font-weight:700}.mb-button{padding:12px 20px}.mb-hero-prev,
.mb-hero-next,
.mb-carousel-prev,
.mb-carousel-next{position:absolute;z-index:3;border:0;background:rgba(255,255,255,.92);width:42px;height:42px;border-radius:50%;font-size:28px;line-height:1;box-shadow:0 2px 10px rgba(0,0,0,.12);cursor:pointer}.mb-hero-prev,
.mb-hero-next{top:50%;transform:translateY(-50%)}.mb-hero-prev{left:18px}.mb-hero-next{right:18px}.mb-hero-dots{position:absolute;z-index:3;left:50%;bottom:16px;transform:translateX(-50%);display:flex;gap:8px}.mb-hero-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.6);cursor:pointer}.mb-hero-dots button.is-active{background:#fff;transform:scale(1.25)}.mb-category-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:14px}.mb-category-card{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;text-decoration:none!important;color:inherit!important;border:1px solid var(--masterbar-border,#e5e7eb);border-radius:var(--masterbar-radius,6px);padding:14px;background:#fff;transition:transform .18s ease,box-shadow .18s ease}.mb-category-card:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(0,0,0,.07)}.mb-category-image{width:100%;aspect-ratio:1/1;display:grid;place-items:center;overflow:hidden}.mb-category-image img{width:100%;height:100%;object-fit:contain}.mb-category-name{font-weight:700;line-height:1.25}.mb-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:18px}.mb-view-all{font-weight:700;text-decoration:none;white-space:nowrap}.mb-carousel-wrap{position:relative}.mb-product-carousel{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 64px)/5);grid-template-rows:1fr;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px}.mb-product-carousel::-webkit-scrollbar{display:none}.mb-product-card{scroll-snap-align:start;width:100%;min-width:0;border:1px solid var(--masterbar-border,#e5e7eb);border-radius:var(--masterbar-radius,6px);background:#fff;overflow:hidden;display:flex;flex-direction:column}.mb-product-image{display:block;aspect-ratio:1/1;padding:14px}.mb-product-image img{width:100%;height:100%;object-fit:contain}.mb-product-body{padding:0 14px 14px;display:flex;flex-direction:column;gap:10px;flex:1}.mb-product-title{font-weight:700;line-height:1.35;color:inherit!important;text-decoration:none!important;min-height:3.65em}.mb-product-price{font-size:18px;font-weight:700;margin-top:auto}.mb-product-price del{opacity:.55;font-weight:400;margin-right:6px}.mb-product-button{padding:10px 12px;font-size:14px}.mb-product-stock{font-size:13px;color:#6b7280}.mb-carousel-prev,
.mb-carousel-next{top:42%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;font-size:28px;background:var(--masterbar-primary,#123456);color:#fff;border:0;box-shadow:0 5px 16px rgba(0,0,0,.18)}.mb-carousel-prev{left:-12px}.mb-carousel-next{right:-12px}.mb-carousel-prev:disabled,
.mb-carousel-next:disabled{opacity:0;pointer-events:none}.mb-middle-banner picture,
.mb-middle-banner img{display:block;width:100%}.mb-middle-banner img{border-radius:var(--masterbar-radius,6px)}.mb-usp-section{padding:42px 0;background:var(--masterbar-secondary,#e9eef3)}.mb-usp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.mb-usp-item{display:flex;gap:14px}.mb-usp-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:50%;background:var(--masterbar-primary,#123456);color:#fff;font-weight:800}.mb-usp-item h3{margin:0 0 4px;font-size:17px}.mb-usp-item p{margin:0;color:#4b5563}.mb-seo-section{max-width:900px}.mb-seo-content{color:#4b5563;line-height:1.75}.mb-seo-content a{display:inline!important}.mb-seo-content h2,
.mb-seo-content h3{color:var(--masterbar-text,#222)}@media (max-width:1250px) and (min-width:1001px){.mb-product-carousel{grid-auto-columns:calc((100% - 48px)/4)}}@media (max-width:1000px) and (min-width:768px){.mb-product-carousel{grid-auto-columns:calc((100% - 32px)/3)}}@media (max-width:1100px){.mb-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mb-usp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:767px){.mb-hero{width:100%;}.masterbar-container{width:auto;max-width:none!important;margin-left:12px;margin-right:12px}.mb-home-section{margin-top:34px}.mb-hero-slide img{aspect-ratio:4/5}.mb-hero-content{align-items:flex-end}.mb-hero-copy{margin-bottom:22px;padding:18px;max-width:88%}.mb-hero-copy h2{font-size:28px}.mb-hero-copy p{font-size:15px}.mb-hero-prev,
.mb-hero-next{display:none}.mb-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mb-section-head{align-items:flex-start}.mb-view-all{font-size:14px}.mb-product-carousel{gap:12px}.mb-product-carousel{grid-auto-columns:44%;padding-right:18px;scroll-padding-left:2px}.mb-product-card{width:100%;min-width:0}.mb-carousel-wrap:after{content:"";position:absolute;right:0;top:0;bottom:0;width:22px;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.72))}.mb-carousel-prev,
.mb-carousel-next{display:none}.mb-product-title{font-size:14px}.mb-product-price{font-size:16px}.mb-product-button{font-size:13px;padding:9px 8px}.mb-usp-grid{grid-template-columns:1fr;gap:18px}.mb-usp-section{padding:32px 0}.mb-middle-banner{width:100%;}.mb-middle-banner img{border-radius:0}}


/* 0.1.5 – dopracowanie sekcji i nawigacji karuzel */
.mb-product-section{padding-top:8px;padding-bottom:18px}
.mb-product-section+.mb-product-section{margin-top:64px}
.mb-middle-banner{margin-top:58px;margin-bottom:10px}
.mb-carousel-prev,
.mb-carousel-next{
  display:flex;align-items:center;justify-content:center;
  width:48px!important;height:48px!important;padding:0!important;
  border:0!important;border-radius:999px!important;
  background:var(--masterbar-primary,#123456)!important;
  color:transparent!important;font-size:0!important;
  box-shadow:0 5px 18px rgba(0,0,0,.20)!important;
  transition:transform .18s ease,filter .18s ease,opacity .18s ease;
}
.mb-carousel-prev::before,
.mb-carousel-next::before{color:#fff;font-size:31px;font-weight:700;line-height:1;font-family:Arial,sans-serif}
.mb-carousel-prev::before{content:"‹"}
.mb-carousel-next::before{content:"›"}
.mb-carousel-prev:hover,
.mb-carousel-next:hover{filter:brightness(.88);transform:translateY(-50%) scale(1.05)}
.mb-carousel-prev:disabled,
.mb-carousel-next:disabled{opacity:0!important;visibility:hidden;pointer-events:none}
@media (max-width:767px){
 .mb-product-section{padding-bottom:8px}
 .mb-product-section+.mb-product-section{margin-top:46px}
 .mb-section-head{gap:12px;margin-bottom:16px}
 .mb-section-title{font-size:27px}
 .mb-section-text{font-size:16px;line-height:1.55}
 .mb-product-carousel{grid-auto-columns:44%;gap:12px;padding-right:20px}
 .mb-carousel-prev,
.mb-carousel-next{display:none!important}
 .mb-middle-banner{margin-top:44px;margin-bottom:4px}
}


/* 0.1.7 – finalne dopracowanie kafli kategorii i sekcji produktowych */
.mb-categories-section{margin-top:42px}
.mb-category-grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:18px}
.mb-category-card{position:relative;align-items:stretch;text-align:left;padding:0;gap:0;min-height:220px;overflow:hidden;border-radius:calc(var(--masterbar-radius,6px) + 2px)}
.mb-category-image{aspect-ratio:4/3;background:#f6f8fb;border-bottom:1px solid var(--masterbar-border,#e5e7eb)}
.mb-category-card.has-image .mb-category-image{padding:14px}
.mb-category-card.no-image .mb-category-image{background:linear-gradient(145deg,var(--masterbar-secondary,#e9eef3),#f8fafc)}
.mb-category-fallback{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#fff;color:var(--masterbar-primary,#123456);font-size:34px;font-weight:800;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.mb-category-name{padding:15px 16px 4px;font-size:16px;line-height:1.25}
.mb-category-link{padding:0 16px 16px;color:var(--masterbar-primary,#123456);font-size:13px;font-weight:700;margin-top:auto}
.mb-category-card:hover{transform:translateY(-3px);box-shadow:0 9px 24px rgba(0,0,0,.08)}
.mb-product-section--sale{width:min(1540px,calc(100vw - 24px));padding:30px 20px 34px;border-radius:12px;background:linear-gradient(180deg,rgba(18,52,86,.055),rgba(18,52,86,.018));border:1px solid rgba(18,52,86,.08)}
.mb-product-section--sale .mb-section-title:before{content:"%";display:inline-grid;place-items:center;width:30px;height:30px;margin-right:10px;border-radius:50%;background:var(--masterbar-primary,#123456);color:#fff;font-size:15px;vertical-align:3px}
.mb-product-section--latest .mb-section-title:after{content:"Nowe";display:inline-flex;align-items:center;margin-left:10px;padding:4px 8px;border-radius:999px;background:var(--masterbar-secondary,#e9eef3);color:var(--masterbar-primary,#123456);font-size:12px;font-weight:800;vertical-align:4px;text-transform:uppercase;letter-spacing:.04em}
@media (max-width:1100px){.mb-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:767px){
 .mb-categories-section{margin-top:28px}
 .mb-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .mb-category-card{min-height:178px}
 .mb-category-image{aspect-ratio:4/3}
 .mb-category-fallback{width:58px;height:58px;font-size:27px}
 .mb-category-name{padding:12px 12px 3px;font-size:14px}
 .mb-category-link{padding:0 12px 12px;font-size:12px}
 .mb-product-section--sale{width:auto;margin-left:8px;margin-right:8px;padding:22px 8px 26px;border-radius:10px}
 .mb-product-section--sale .mb-section-title:before{width:26px;height:26px;font-size:13px;margin-right:7px}
}

/* 0.2.0 – Sewing visual refresh */
:root{--sewing-gold:#b98500;--sewing-gold-soft:#f6f0df}
.masterbar-homepage{background:linear-gradient(180deg,#fff 0,#fff 72%,#fbfcfd 100%)}
.mb-hero{margin-top:18px;border-radius:14px;box-shadow:0 10px 30px rgba(15,23,42,.08)}
.mb-hero-slide img{min-height:360px}
.mb-section-title{font-weight:800;letter-spacing:-.025em}
.mb-section-head{padding-bottom:12px;border-bottom:1px solid rgba(15,23,42,.07)}
.mb-view-all{color:var(--masterbar-primary,#123456)!important}.mb-view-all:hover{color:var(--sewing-gold)!important}
.mb-product-card{border-color:rgba(15,23,42,.10);border-radius:12px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.mb-product-card:hover{transform:translateY(-3px);border-color:rgba(185,133,0,.28);box-shadow:0 10px 28px rgba(15,23,42,.09)}
.mb-product-image{background:linear-gradient(180deg,#fff,#fcfcfd)}
.mb-product-button{min-height:42px;border-radius:8px;transition:filter .18s ease,transform .18s ease}
.mb-product-button:hover{filter:brightness(.92);transform:translateY(-1px)}
.mb-category-card{border-radius:12px;border-color:rgba(15,23,42,.09)}
.mb-category-card:hover{border-color:rgba(185,133,0,.30)}
.mb-category-link{transition:color .18s ease}.mb-category-card:hover .mb-category-link{color:var(--sewing-gold)}
.mb-product-section--sale{background:linear-gradient(180deg,rgba(185,133,0,.065),rgba(18,52,86,.018));border-color:rgba(185,133,0,.16)}
.mb-product-section--sale .mb-section-title:before{background:var(--sewing-gold)}
.mb-product-section--latest .mb-section-title:after{background:var(--sewing-gold-soft);color:#765600}
.mb-usp-section{margin-top:64px;padding:48px 0;background:linear-gradient(135deg,var(--masterbar-secondary,#e9eef3),#f7f9fb);border-top:1px solid rgba(15,23,42,.05);border-bottom:1px solid rgba(15,23,42,.05)}
.mb-usp-icon{box-shadow:0 0 0 5px rgba(185,133,0,.10)}
.mb-seo-section{padding:10px 0 24px}
@media (min-width:1280px){.mb-home-section{margin-top:56px}.mb-product-carousel{gap:20px}}
@media (max-width:767px){.mb-hero{margin-top:0;border-radius:0;box-shadow:none}.mb-hero-slide img{min-height:0}.mb-section-title{font-size:25px}.mb-section-head{padding-bottom:9px}.mb-product-card{border-radius:10px}.mb-usp-section{margin-top:46px;padding:34px 0}}

/* 0.2.1 – graphic-free Sewing / MASTERBAR hero */
.mb-hero-slide--brand{
  min-height:390px;
  background:
    radial-gradient(circle at 82% 28%,rgba(185,133,0,.16),transparent 0 19%,transparent 20%),
    linear-gradient(115deg,#0b3150 0%,#123f62 58%,#0a2c49 100%);
  overflow:hidden;
}
.mb-hero-slide--brand:before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),
             linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.55),transparent);
}
.mb-hero-slide--brand .mb-hero-content{z-index:3;display:flex;align-items:center;min-height:390px}
.mb-hero-slide--brand .mb-hero-copy{max-width:720px;padding:54px 18px}
.mb-hero-slide--brand .mb-hero-copy h2{font-size:clamp(36px,4.2vw,62px);line-height:1.04;color:#fff;letter-spacing:-.035em;margin:0 0 18px}
.mb-hero-slide--brand .mb-hero-copy p{max-width:650px;font-size:18px;line-height:1.6;color:rgba(255,255,255,.82);margin:0 0 28px}
.mb-hero-slide--brand .mb-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:9px;background:#fff;color:#0b3150!important;font-weight:800;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.mb-hero-slide--brand .mb-button:hover{background:#f7f3e8;color:#765600!important}
.mb-hero-brand-art{position:absolute;right:6%;top:50%;width:290px;height:290px;transform:translateY(-50%);opacity:.95}
.mb-hero-brand-art span{position:absolute;border:1px solid rgba(230,194,91,.55);border-radius:28px;transform:rotate(18deg)}
.mb-hero-brand-art span:nth-child(1){width:230px;height:230px;right:0;top:15px}
.mb-hero-brand-art span:nth-child(2){width:165px;height:165px;right:54px;top:64px;border-color:rgba(255,255,255,.18)}
.mb-hero-brand-art span:nth-child(3){width:78px;height:78px;right:98px;top:107px;background:rgba(185,133,0,.18);border-color:rgba(230,194,91,.7)}
@media (max-width:900px){.mb-hero-brand-art{right:-90px;opacity:.45}.mb-hero-slide--brand .mb-hero-copy{max-width:72%}}
@media (max-width:767px){
 .mb-hero-slide--brand,
.mb-hero-slide--brand .mb-hero-content{min-height:390px}
 .mb-hero-slide--brand .mb-hero-copy{max-width:100%;padding:42px 24px 48px}
 .mb-hero-slide--brand .mb-hero-copy h2{font-size:38px;max-width:520px}
 .mb-hero-slide--brand .mb-hero-copy p{font-size:16px;max-width:90%}
 .mb-hero-brand-art{width:210px;height:210px;right:-105px;top:36%}
}


/* 0.2.2 – prostszy, czytelniejszy brand hero */
.mb-hero-slide--brand{
  min-height:360px;
  background:linear-gradient(110deg,#0c3556 0%,#123f62 58%,#0b2f4c 100%);
}
.mb-hero-slide--brand:before{
  background:
    radial-gradient(circle at 85% 35%,rgba(185,133,0,.12),transparent 0 22%),
    linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px),
    linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px);
  background-size:auto,48px 48px,48px 48px;
}
.mb-hero-slide--brand .mb-hero-content{min-height:360px}
.mb-hero-slide--brand .mb-hero-copy{
  max-width:720px;
  padding:52px 46px;
}
.mb-hero-slide--brand .mb-hero-copy h2{
  color:#fff!important;
  text-shadow:none;
}
.mb-hero-slide--brand .mb-hero-copy p{
  color:rgba(255,255,255,.88)!important;
}
.mb-hero-brand-art{
  width:260px;
  height:260px;
  right:7%;
  opacity:.65;
}
.mb-hero-brand-art span{
  border-color:rgba(214,174,52,.45);
}
.mb-hero-brand-art span:nth-child(2){
  border-color:rgba(255,255,255,.16);
}
.mb-hero-brand-art span:nth-child(3){
  background:rgba(185,133,0,.14);
  border-color:rgba(214,174,52,.6);
}

/* Bestsellery */























@media (max-width:767px){
  .mb-hero-slide--brand .mb-hero-copy{padding:38px 24px}
  .mb-hero-brand-art{right:-100px;opacity:.3}
  
  
  
  
  
}


/* 0.2.3 – wymuszony widoczny refresh bannera */
.mb-hero-slide--brand{
  background:linear-gradient(120deg,#0b2f4c 0%,#123f62 62%,#173b59 100%) !important;
  min-height:380px !important;
}
.mb-hero-slide--brand .mb-hero-content{min-height:380px !important}
.mb-hero-slide--brand .mb-hero-copy{
  max-width:760px !important;
  padding:54px 50px !important;
}
.mb-hero-slide--brand .mb-hero-copy h2{
  color:#fff !important;
  opacity:1 !important;
  text-shadow:none !important;
}
.mb-hero-slide--brand .mb-hero-copy p{
  color:rgba(255,255,255,.92) !important;
  opacity:1 !important;
}
.mb-hero-slide--brand .mb-button{
  background:#d8b14a !important;
  color:#102f49 !important;
  box-shadow:none !important;
}
.mb-hero-slide--brand .mb-button:hover{
  background:#e2c46d !important;
}


/* =========================================================
   0.2.4 – Sewing mockup: final visual direction
   ========================================================= */

/* unified width / margins */
.masterbar-homepage .masterbar-container{
  width:min(1440px, calc(100% - 64px));
  max-width:1440px;
  margin-left:auto;
  margin-right:auto;
}

/* HERO — cream, navy wave, gold line, editable HTML copy */
.mb-hero{
  width:min(1440px, calc(100% - 64px));
  max-width:1440px;
  margin:22px auto 0;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(15,23,42,.08);
}
.mb-hero-slide--brand{
  min-height:350px !important;
  background:
    radial-gradient(ellipse at 14% 0%, rgba(185,133,0,.065), transparent 46%),
    linear-gradient(135deg,#fffdf8 0%,#fbf8f1 58%,#fffdf8 100%) !important;
}
.mb-hero-slide--brand:before{
  content:"" !important;
  position:absolute !important;
  left:-8% !important;
  right:-8% !important;
  bottom:-56% !important;
  top:auto !important;
  height:78% !important;
  background:#0a3151 !important;
  border-radius:50% 48% 0 0 / 64% 58% 0 0 !important;
  transform:rotate(-2.5deg) !important;
  opacity:1 !important;
  mask-image:none !important;
}
.mb-hero-slide--brand:after{
  content:"";
  position:absolute;
  left:-4%;
  right:-4%;
  bottom:19%;
  height:2px;
  background:linear-gradient(90deg,transparent 2%,#c89517 25%,#e4bf5d 55%,#c89517 82%,transparent 98%);
  transform:rotate(-6deg);
  opacity:.9;
  z-index:2;
}
.mb-hero-slide--brand .mb-hero-content{
  min-height:350px !important;
  position:relative;
  z-index:4;
}
.mb-hero-slide--brand .mb-hero-copy{
  max-width:760px !important;
  padding:48px 64px 84px !important;
}
.mb-hero-slide--brand .mb-hero-copy h2{
  margin:0 0 17px !important;
  max-width:660px;
  color:#0a3151 !important;
  font-size:clamp(38px,4vw,64px) !important;
  line-height:1.02 !important;
  font-weight:800 !important;
  letter-spacing:-.045em !important;
}
.mb-hero-slide--brand .mb-hero-copy h2:after{
  content:"";
  display:block;
  width:58px;
  height:3px;
  margin-top:20px;
  background:#c79418;
  border-radius:99px;
}
.mb-hero-slide--brand .mb-hero-copy p{
  max-width:660px !important;
  margin:0 0 24px !important;
  color:#1e293b !important;
  font-size:17px !important;
  line-height:1.55 !important;
}
.mb-hero-slide--brand .mb-button{
  min-height:46px !important;
  padding:0 24px !important;
  border-radius:8px !important;
  background:#d5a11d !important;
  color:#fff !important;
  font-weight:800 !important;
  box-shadow:0 8px 18px rgba(181,128,0,.18) !important;
}
.mb-hero-slide--brand .mb-button:hover{
  background:#bd8b10 !important;
  color:#fff !important;
}
.mb-hero-brand-art{
  display:block !important;
  position:absolute !important;
  right:7% !important;
  top:13% !important;
  width:260px !important;
  height:190px !important;
  transform:none !important;
  opacity:.42 !important;
  z-index:3;
}
.mb-hero-brand-art span{
  background:transparent !important;
  border:1.5px solid rgba(191,142,22,.9) !important;
  border-radius:26px !important;
}
.mb-hero-brand-art span:nth-child(1){width:180px!important;height:145px!important;right:4px!important;top:2px!important;transform:rotate(10deg)!important}
.mb-hero-brand-art span:nth-child(2){width:132px!important;height:105px!important;right:28px!important;top:25px!important;transform:rotate(10deg)!important;border-color:rgba(10,49,81,.26)!important}
.mb-hero-brand-art span:nth-child(3){width:56px!important;height:56px!important;right:63px!important;top:55px!important;transform:rotate(10deg)!important}

/* section spacing */
.mb-home-section{
  margin-top:34px;
}
.mb-section-head{
  border-bottom:0 !important;
  padding-bottom:14px !important;
}
.mb-section-title{
  color:#0f172a;
  font-size:30px;
  line-height:1.15;
}
.mb-section-text{
  color:#64748b;
  max-width:760px;
}
.mb-view-all{
  font-weight:800 !important;
  color:var(--masterbar-primary,#0a3151) !important;
}

/* product shelves: 6 cards visible on wide desktop like the mockup */
.mb-product-carousel{
  gap:16px !important;
  scroll-padding:0 8px;
}
.mb-product-card{
  position:relative;
  flex:0 0 calc((100% - 80px)/6) !important;
  min-width:0 !important;
  border:1px solid #e2e8f0 !important;
  border-radius:12px !important;
  box-shadow:none !important;
  overflow:hidden;
}
.mb-product-card:hover{
  transform:translateY(-2px) !important;
  box-shadow:0 10px 24px rgba(15,23,42,.07) !important;
  border-color:#cbd5e1 !important;
}
.mb-product-image{
  aspect-ratio:1/1;
  padding:10px;
  background:#fff !important;
}
.mb-product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.mb-product-body{
  padding:13px 14px 14px !important;
}
.mb-product-category{
  margin-bottom:5px;
  font-size:12px;
  color:#64748b;
}
.mb-product-title{
  min-height:44px;
  font-size:14px !important;
  line-height:1.35 !important;
  font-weight:700 !important;
  color:#0f172a !important;
}
.mb-product-price{
  margin:10px 0 12px !important;
  font-size:16px !important;
  color:#0f172a !important;
}
.mb-product-button{
  min-height:40px !important;
  background:var(--masterbar-primary,#082f4f) !important;
  color:#fff !important;
  border-radius:7px !important;
}
.mb-product-button:hover{
  background:var(--masterbar-primary-hover,var(--masterbar-primary,#062740)) !important;
}
.mb-cart-symbol{
  margin-right:7px;
  font-size:13px;
  filter:grayscale(1) brightness(0) invert(1);
}
.mb-rank-badge{
  position:absolute;
  left:10px;
  top:10px;
  z-index:4;
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  background:var(--masterbar-primary,#082f4f);
  color:#fff;
  font-size:13px;
  font-weight:800;
  box-shadow:0 2px 5px rgba(15,23,42,.16);
}
.mb-carousel-prev,
.mb-carousel-next{
  width:38px !important;
  height:38px !important;
  background:var(--masterbar-primary,#082f4f) !important;
  color:#fff !important;
  border:0 !important;
}

/* BESTSELLERS PAGE */















/* tablet */
@media (max-width:1200px){
  .mb-product-card{flex-basis:calc((100% - 48px)/4) !important}
  
}

/* mobile */
@media (max-width:767px){
  .masterbar-homepage .masterbar-container{
    width:calc(100% - 28px);
  }
  .mb-hero{
    width:calc(100% - 28px);
    margin-top:14px;
    border-radius:14px;
  }
  .mb-hero-slide--brand{
    min-height:390px !important;
  }
  .mb-hero-slide--brand .mb-hero-content{
    min-height:390px !important;
  }
  .mb-hero-slide--brand .mb-hero-copy{
    padding:36px 24px 115px !important;
  }
  .mb-hero-slide--brand .mb-hero-copy h2{
    font-size:38px !important;
  }
  .mb-hero-slide--brand .mb-hero-copy p{
    font-size:15.5px !important;
  }
  .mb-hero-brand-art{
    right:-76px !important;
    top:36% !important;
    opacity:.22 !important;
  }
  .mb-product-card{
    flex-basis:calc((100% - 12px)/2) !important;
  }
  
  
}


/* ==========================================================
   0.2.5 – naprawa slajdera + mobilna karuzela kategorii
   ========================================================== */

/* Tryb "Grafika / zdjęcie" nie dostaje żadnych dekoracji trybu brandowego. */
.mb-hero-slide--image{
  min-height:0 !important;
  background:transparent !important;
}
.mb-hero-slide--image:before,
.mb-hero-slide--image:after,
.mb-hero-slide--image .mb-hero-brand-art{
  display:none !important;
}
.mb-hero-slide--image picture,
.mb-hero-slide--image img{
  display:block;
  width:100%;
}
.mb-hero-slide--image img{
  height:auto !important;
  object-fit:cover;
}

/* Desktop – bez zmian w układzie kategorii. */
.mb-category-carousel-wrap{position:relative}
.mb-category-prev,
.mb-category-next{display:none}

@media (max-width:767px){
  .mb-category-carousel-wrap{
    position:relative;
    overflow:visible;
  }
  .mb-category-grid{
    display:grid !important;
    grid-template-columns:none !important;
    grid-auto-flow:column !important;
    grid-auto-columns:76% !important;
    gap:12px !important;
    overflow-x:auto !important;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
    padding:2px 42px 10px 0;
  }
  .mb-category-grid::-webkit-scrollbar{display:none}
  .mb-category-card{
    width:100% !important;
    scroll-snap-align:start;
  }
  .mb-category-prev,
.mb-category-next{
    display:flex;
    position:absolute;
    top:50%;
    z-index:8;
    width:36px;
    height:36px;
    align-items:center;
    justify-content:center;
    transform:translateY(-50%);
    border:0;
    border-radius:50%;
    background:var(--masterbar-primary,#082f4f);
    color:#fff;
    font-size:25px;
    line-height:1;
    box-shadow:0 5px 16px rgba(15,23,42,.18);
    cursor:pointer;
  }
  .mb-category-prev{left:-7px}
  .mb-category-next{right:-7px}
  .mb-category-prev:disabled,
.mb-category-next:disabled{
    opacity:0;
    pointer-events:none;
  }
}


/* ==========================================================
   0.2.7 – finalne wyrównanie CTA w karuzelach strony głównej
   Uwaga: przycisk jest elementem wypychanym do dołu, a cena nie.
   ========================================================== */
.mb-product-carousel{
  align-items:stretch !important;
}
.mb-product-card{
  display:flex !important;
  flex-direction:column !important;
  height:auto !important;
  align-self:stretch !important;
}
.mb-product-body{
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
  height:auto !important;
}
.mb-product-title{
  min-height:5.4em !important;
  display:-webkit-box !important;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.mb-product-price{
  margin-top:10px !important;
  margin-bottom:12px !important;
}
.mb-product-button{
  width:100% !important;
  min-height:52px !important;
  box-sizing:border-box !important;
  margin-top:auto !important;
  flex:0 0 auto !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
}
@media (max-width:767px){
  .mb-product-title{
    min-height:5.4em !important;
  }
  .mb-product-button{
    min-height:56px !important;
  }
}


/* ==========================================================
   0.2.10 – kompaktowe kafle homepage jak w katalogu
   Mniej pustej przestrzeni + węższe, niższe CTA.
   ========================================================== */
.mb-product-carousel{align-items:stretch!important}
.mb-product-card{
  display:flex!important;
  flex-direction:column!important;
  height:auto!important;
  align-self:stretch!important;
}
.mb-product-image{flex:0 0 auto!important}
.mb-product-body{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  height:auto!important;
  gap:5px!important;
  padding:10px 12px 12px!important;
}
.mb-product-stock{
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.2!important;
  margin:0!important;
  min-height:1.2em!important;
}
.mb-product-stock.is-in-stock{color:#2f8b57!important}
.mb-product-stock.is-out-of-stock{color:#d32f2f!important}
.mb-product-title{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
  min-height:4.05em!important;
  max-height:4.05em!important;
  line-height:1.35!important;
  margin:0!important;
}
.mb-product-price{
  margin-top:auto!important;
  margin-bottom:6px!important;
  min-height:1.35em!important;
}
.mb-product-button{
  width:86%!important;
  min-height:38px!important;
  padding:7px 10px!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
  line-height:1.15!important;
}
.mb-cart-symbol{display:none!important}

@media (max-width:767px){
  .mb-product-carousel{grid-auto-columns:44%!important;gap:12px!important;padding-right:18px!important}
  .mb-product-card{border-radius:12px!important;overflow:hidden!important}
  .mb-product-image{aspect-ratio:auto!important;height:132px!important;padding:8px!important}
  .mb-product-image img{width:100%!important;height:100%!important;object-fit:contain!important}
  .mb-product-body{padding:0 9px 10px!important;gap:4px!important}
  .mb-product-stock{font-size:12px!important}
  .mb-product-title{
    font-size:14px!important;
    line-height:1.3!important;
    min-height:3.9em!important;
    max-height:3.9em!important;
  }
  .mb-product-price{font-size:16px!important;margin-bottom:5px!important}
  .mb-product-button{
    width:84%!important;
    min-height:38px!important;
    padding:6px 6px!important;
    font-size:13px!important;
    border-radius:8px!important;
  }
}


/* ==========================================================
   0.2.11 – HERO EDITOR / modern image banner
   Jedna końcowa warstwa sterująca bannerem. Nie dotyka kart,
   kategorii ani karuzel produktów.
   ========================================================== */
.mb-hero-slide{background:var(--mb-hero-bg,#f7f5ef)}
.mb-hero-slide .mb-hero-content{justify-content:flex-start}
.mb-hero-slide.mb-hero-align--center .mb-hero-content{justify-content:center}
.mb-hero-slide.mb-hero-align--right .mb-hero-content{justify-content:flex-end}
.mb-hero-slide.mb-hero-vertical--top .mb-hero-content{align-items:flex-start}
.mb-hero-slide.mb-hero-vertical--center .mb-hero-content{align-items:center}
.mb-hero-slide.mb-hero-vertical--bottom .mb-hero-content{align-items:flex-end}
.mb-hero-slide.mb-hero-align--center .mb-hero-copy{text-align:center}
.mb-hero-slide.mb-hero-align--right .mb-hero-copy{text-align:right}
.mb-hero-slide .mb-hero-copy{pointer-events:auto;width:min(590px,46%);max-width:none!important;margin:0;padding:34px 38px!important;border-radius:18px;box-sizing:border-box}
.mb-hero-slide.mb-hero-panel--none .mb-hero-copy{background:transparent;box-shadow:none;backdrop-filter:none}
.mb-hero-slide.mb-hero-panel--soft .mb-hero-copy{background:rgba(247,245,239,.90);background:color-mix(in srgb,var(--mb-hero-bg,#f7f5ef) 88%,transparent);box-shadow:0 14px 40px rgba(15,23,42,.06);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.mb-hero-slide.mb-hero-panel--solid .mb-hero-copy{background:var(--mb-hero-bg,#f7f5ef);box-shadow:0 14px 40px rgba(15,23,42,.08)}
.mb-hero-kicker{margin:0 0 10px;color:#a87800;font-size:12px;line-height:1.2;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.mb-hero-slide .mb-hero-copy h2{margin:0 0 15px!important;font-size:clamp(34px,3.2vw,54px)!important;line-height:1.04!important;letter-spacing:-.04em!important;font-weight:780!important;text-shadow:none!important}
.mb-hero-slide .mb-hero-copy h2 strong{font-weight:850}
.mb-hero-slide .mb-hero-copy h2:after{display:none!important}
.mb-hero-slide .mb-hero-copy p{margin:0 0 22px!important;font-size:16px!important;line-height:1.55!important;max-width:560px!important}
.mb-hero-slide.mb-hero-theme--dark .mb-hero-copy h2{color:#132238!important}
.mb-hero-slide.mb-hero-theme--dark .mb-hero-copy p{color:#334155!important}
.mb-hero-slide.mb-hero-theme--light .mb-hero-copy h2,
.mb-hero-slide.mb-hero-theme--light .mb-hero-copy p,
.mb-hero-slide.mb-hero-theme--light .mb-hero-kicker{color:#fff!important}
.mb-hero-slide.mb-hero-align--center .mb-hero-copy p{margin-left:auto!important;margin-right:auto!important}
.mb-hero-slide.mb-hero-align--right .mb-hero-copy p{margin-left:auto!important}
.mb-hero-slide--image{background:var(--mb-hero-bg,#f7f5ef)!important}
.mb-hero-slide--image picture,
.mb-hero-slide--image img{width:100%;height:100%}
.mb-hero-slide--image img{min-height:360px;aspect-ratio:1920/620;height:auto!important;object-fit:cover}
.mb-hero-slide--image .mb-hero-content{padding:0 34px}
.mb-hero-slide--brand{background:var(--mb-hero-bg,#f7f5ef)!important}
.mb-hero-slide--brand .mb-hero-content{padding:0 34px}
.mb-hero-slide--brand .mb-hero-copy h2,
.mb-hero-slide--brand .mb-hero-copy p{color:inherit!important}
.mb-hero-slide--brand.mb-hero-theme--dark .mb-hero-copy h2{color:#132238!important}
.mb-hero-slide--brand.mb-hero-theme--dark .mb-hero-copy p{color:#334155!important}
.mb-hero-slide--brand.mb-hero-theme--light .mb-hero-copy h2,
.mb-hero-slide--brand.mb-hero-theme--light .mb-hero-copy p{color:#fff!important}

@media (max-width:767px){
  .mb-hero-slide .mb-hero-content{padding:14px!important;align-items:flex-end!important;justify-content:flex-start!important}
  .mb-hero-slide .mb-hero-copy{width:100%;max-width:100%!important;margin:0!important;padding:20px 20px 22px!important;border-radius:14px;text-align:left!important}
  .mb-hero-slide .mb-hero-copy h2{font-size:30px!important;line-height:1.06!important;margin-bottom:11px!important}
  .mb-hero-slide .mb-hero-copy p{font-size:14.5px!important;line-height:1.48!important;margin-bottom:16px!important}
  .mb-hero-kicker{font-size:11px;margin-bottom:8px}
  .mb-hero-slide--image img{min-height:0;aspect-ratio:4/5;object-fit:cover}
  .mb-hero-slide.mb-hero-panel--soft .mb-hero-copy{background:rgba(247,245,239,.93);background:color-mix(in srgb,var(--mb-hero-bg,#f7f5ef) 91%,transparent);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
}


/* ==========================================================
   0.2.13 – TEMPORARY LEGACY STORE NOTICE / VARIANT F
   Dark, high-contrast transition strip above the hero.
   ========================================================== */
.mb-legacy-store-notice{margin-top:16px;margin-bottom:18px}
.mb-legacy-store-notice__inner{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:14px 16px 14px 18px;background:#0f3764;border:1px solid #0b315a;border-radius:12px;box-shadow:0 6px 20px rgba(15,55,100,.12)}
.mb-legacy-store-notice__copy{display:flex;align-items:center;gap:14px;min-width:0;color:rgba(255,255,255,.84);font-size:13.5px;line-height:1.4}
.mb-legacy-store-notice__icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border:1.5px solid rgba(255,255,255,.9);border-radius:50%;color:#fff;font-size:17px;font-family:Georgia,serif;font-weight:700;line-height:1}
.mb-legacy-store-notice__text{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 9px;min-width:0}
.mb-legacy-store-notice__copy strong{color:#fff;font-size:14.5px;font-weight:760}
.mb-legacy-store-notice__button{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:38px;padding:8px 15px;border:1px solid rgba(255,255,255,.85);border-radius:8px;background:#fff;color:#12365a!important;text-decoration:none!important;font-size:13px;font-weight:760;line-height:1.2;box-shadow:0 2px 8px rgba(0,0,0,.08);transition:transform .15s ease,background-color .15s ease}
.mb-legacy-store-notice__button:hover{background:#f4f7fb;color:#0d2c4a!important;transform:translateY(-1px)}
.mb-legacy-store-notice__button:focus-visible{outline:3px solid rgba(255,255,255,.38);outline-offset:3px}

@media (max-width:767px){
  .mb-legacy-store-notice{margin-top:10px;margin-bottom:12px}
  .mb-legacy-store-notice__inner{align-items:stretch;flex-direction:column;gap:11px;padding:14px}
  .mb-legacy-store-notice__copy{align-items:flex-start;gap:10px;font-size:13px}
  .mb-legacy-store-notice__icon{flex-basis:26px;width:26px;height:26px;font-size:16px}
  .mb-legacy-store-notice__text{display:block}
  .mb-legacy-store-notice__copy strong{display:block;margin-bottom:2px;font-size:14px}
  .mb-legacy-store-notice__button{align-self:stretch;min-height:38px;padding:9px 12px;font-size:13px}
}

/* ==========================================================
   0.2.14 – mobile first-screen compact: legacy notice + hero
   Cel: szybciej pokazać ofertę/kategorie po wejściu z reklamy.
   ========================================================== */
@media (max-width:767px){
  .mb-legacy-store-notice{
    width:calc(100% - 28px) !important;
    margin:10px auto 12px !important;
  }
  .mb-legacy-store-notice__inner{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:8px 10px !important;
    padding:10px 11px !important;
    border-radius:10px !important;
  }
  .mb-legacy-store-notice__copy{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    min-width:0 !important;
  }
  .mb-legacy-store-notice__icon{
    flex:0 0 24px !important;
    width:24px !important;
    height:24px !important;
    font-size:14px !important;
  }
  .mb-legacy-store-notice__text{
    display:block !important;
    min-width:0 !important;
  }
  .mb-legacy-store-notice__copy strong{
    display:block !important;
    margin:0 !important;
    font-size:12.5px !important;
    line-height:1.25 !important;
  }
  .mb-legacy-store-notice__text > span{
    display:none !important;
  }
  .mb-legacy-store-notice__button{
    align-self:center !important;
    min-height:32px !important;
    padding:6px 9px !important;
    border-radius:7px !important;
    font-size:0 !important;
    white-space:nowrap !important;
  }
  .mb-legacy-store-notice__button::before{
    content:"Stary sklep";
    font-size:11.5px;
  }
  .mb-legacy-store-notice__button span{
    font-size:12px !important;
  }

  .mb-hero{
    width:calc(100% - 28px) !important;
    margin:0 auto !important;
    border-radius:14px !important;
    overflow:hidden !important;
  }
  .mb-hero-slide--image{
    height:390px !important;
    min-height:390px !important;
    background:var(--mb-hero-bg,#f7f5ef) !important;
  }
  .mb-hero-slide--image picture,
.mb-hero-slide--image .mb-hero-click{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
  }
  .mb-hero-slide--image img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center top !important;
  }
  .mb-hero-slide--image .mb-hero-content{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    display:flex !important;
    align-items:flex-end !important;
    padding:0 14px 14px !important;
    pointer-events:none !important;
  }
  .mb-hero-slide--image .mb-hero-copy{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:16px 17px !important;
    border-radius:12px !important;
    background:rgba(247,245,239,.94) !important;
    box-shadow:0 8px 24px rgba(15,23,42,.08) !important;
    pointer-events:auto !important;
  }
  .mb-hero-slide--image .mb-hero-kicker{
    margin-bottom:6px !important;
    font-size:10.5px !important;
    line-height:1.2 !important;
    letter-spacing:.12em !important;
  }
  .mb-hero-slide--image .mb-hero-copy h2{
    margin:0 0 7px !important;
    font-size:27px !important;
    line-height:1.04 !important;
    letter-spacing:-.025em !important;
  }
  .mb-hero-slide--image .mb-hero-copy p{
    margin:0 0 11px !important;
    font-size:13.5px !important;
    line-height:1.4 !important;
  }
  .mb-hero-slide--image .mb-button{
    min-height:38px !important;
    padding:8px 14px !important;
    font-size:13px !important;
    border-radius:7px !important;
  }
  .mb-categories-section{
    margin-top:28px !important;
  }
}


/* =========================================================
   MASTERBAR CENTRAL PALETTE ADAPTER — 0.2.15
   Generic homepage controls follow MASTERBAR Kolory.
   Bespoke hero/marketing artwork keeps its own slide palette.
   ========================================================= */
.masterbar-homepage .mb-button,
.masterbar-homepage .mb-product-button,
.masterbar-homepage .mb-carousel-prev,
.masterbar-homepage .mb-carousel-next,
.masterbar-homepage .mb-rank-badge{
  background:var(--masterbar-primary,#082f4f) !important;
  color:#fff !important;
}
.masterbar-homepage .mb-button:hover,
.masterbar-homepage .mb-product-button:hover{
  background:var(--masterbar-primary-hover,var(--masterbar-primary,#062740)) !important;
}
.masterbar-homepage .mb-view-all{
  color:var(--masterbar-primary,#082f4f) !important;
}

/* 0.2.26 – visible semantic H1 for the SEO hub */
.mb-home-h1{margin-top:26px;margin-bottom:4px;text-align:center}.mb-home-h1 h1{margin:0 auto;max-width:1050px;font-size:clamp(24px,2.2vw,34px);line-height:1.2;font-weight:750;letter-spacing:-.02em;color:var(--masterbar-text,#222)}@media(max-width:767px){.mb-home-h1{margin-top:22px;margin-left:18px;margin-right:18px}.mb-home-h1 h1{font-size:24px}}
