:root{
    --container: 1200px;
    --radius: 14px;
}

body{
    margin:0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background:#f3f7ff;
    color:#0f172a;
}



.container{
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}

.site-header{
    background:#1f5fbf;
    color:#fff;
    padding: 10px 0;
    position: sticky;
    top:0;
    z-index: 20;
}

.header__row{
    display:flex;
    gap:16px;
    align-items:center;
    justify-content:space-between;
}

.header__brand a{
    color:#fff;
    font-weight:700;
    text-decoration:none;
    letter-spacing:.2px;
}

.header__actions a{
    color:#fff;
    text-decoration:none;
    margin-left:12px;
    font-weight:600;
    font-size:14px;
    opacity:.95;
}

.site-main{
    padding-bottom: 0px;
}

.site-footer{
    background:#0b2a64;
    color:#cbd5e1;
    padding: 24px 0;
}

h1,h2{margin:0 0 12px;}
h2{font-size:28px;}



/* ===== MarketPays Header ===== */
.mp-header{
  background: linear-gradient(180deg,#1f66c8 0%, #0f53b7 100%);
  color:#fff;
}

.mp-container{
  max-width:1200px;
  margin:0 auto;
  padding:0 16px;
}

/* Topbar */
.mp-topbar{
  height:34px;
  display:flex;
  align-items:center;
  background: rgba(0,0,0,.06);
}

.mp-topbar__row{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.mp-topbar__left,
.mp-topbar__right{
  display:flex;
  align-items:center;
  gap:14px;
  font-size:13px;
  opacity:.95;
}

.mp-topbar__link{
  color:#fff;
  text-decoration:none;
  white-space:nowrap;
}

.mp-topbar__link:hover{ opacity:.9; text-decoration:underline; }
.mp-topbar__sep{ opacity:.7; }

/* Mainbar */
.mp-mainbar{
  padding:16px 0 18px;
}

.mp-mainbar__row{
  display:flex;
  align-items:center;
  gap:18px;
}

/* Brand */
.mp-brand{ flex:0 0 auto; }
.mp-brand__link{ display:flex; align-items:center; gap:10px; text-decoration:none; color:#fff; }
.mp-brand__logo{ height:34px; width:auto; display:block; }
.mp-brand__text{ font-weight:800; font-size:22px; letter-spacing:.2px; }

/* Search */
.mp-search{
  flex:1 1 auto;
}

.mp-search__inner{
  display:flex;
  align-items:center;
  height:44px;
  border-radius:12px;
  background:#fff;
  overflow:hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

.mp-search__select{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:8px;
  height:100%;
  padding:0 14px;
  color:#0f172a;
  background: #f3f6ff;
  border-right:1px solid rgba(15,23,42,.10);
  font-weight:600;
  cursor:pointer;
}

.mp-search__selectLabel{
  font-size:14px;
  white-space:nowrap;
}

.mp-search__input{
  flex:1 1 auto;
  height:100%;
  border:0;
  outline:none;
  padding:0 14px;
  font-size:14px;
  color:#0f172a;
}

.mp-search__btn{
  flex:0 0 auto;
  height:100%;
  width:52px;
  border:0;
  cursor:pointer;
  color:#0f53b7;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}

.mp-search__btn:hover{ background:#f6f9ff; }

/* Actions */
.mp-actions{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:14px;
}

.mp-action{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  text-decoration:none;
  padding:8px 10px;
  border-radius:10px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
}

.mp-action:hover{ background: rgba(255,255,255,.10); }

.mp-action--icon{
  width:44px;
  height:44px;
  justify-content:center;
  padding:0;
}

.mp-action__text{
  font-weight:700;
  font-size:14px;
  white-space:nowrap;
}

.mp-ico{
  width:22px;
  height:22px;
  display:block;
  color:#fff;
}

.mp-ico--chev{
  width:18px;
  height:18px;
  color:#0f172a;
  opacity:.7;
}

.mp-badge{
  position:absolute;
  top:6px;
  right:6px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ff2b5c;
  color:#fff;
  font-size:11px;
  font-weight:800;
  line-height:1;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

/* Responsive */
@media (max-width: 980px){
  .mp-action__text{ display:none; }
}

@media (max-width: 760px){
  .mp-topbar{ display:none; }
  .mp-mainbar__row{ gap:12px; }
  .mp-search__select{ display:none; } /* jak na mobilkach */
  .mp-search__inner{ border-radius:14px; }
}


.mp-topbar__link{
  display:flex;
  align-items:center;
  gap:8px;
}
.mp-ico--sm{
  width:16px;
  height:16px;
  opacity:.95;
}


/* FIX: badge nie może zasłaniać ikon */
.mp-action--icon{
  position: relative;
  overflow: visible; /* ważne */
}

.mp-action--icon .mp-badge{
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
  line-height: 16px;
  border: 2px solid rgba(15, 83, 183, .95); /* obwódka pod kolor headera */
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}

/* gdy liczba ma 2-3 cyfry, niech nadal będzie ok */
.mp-action--icon .mp-badge{
  max-width: 34px;
  white-space: nowrap;
}


.categories{
    padding: 28px 0 10px;
}

.categories__grid{
    display:grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.cat-pill{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    border-radius: 12px;
    padding: 12px 10px;
    text-decoration:none;
    color:#0f172a;
    font-weight:600;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
    transition: transform .12s ease;
}

.cat-pill:hover{transform: translateY(-1px);}

@media (max-width: 900px){
    .categories__grid{grid-template-columns: repeat(3, 1fr);}
}

@media (max-width: 520px){
    .categories__grid{grid-template-columns: repeat(2, 1fr);}
}


.hero{
    background: linear-gradient(90deg, #1e73be, #67b7ff);
    padding: 32px 0;
    color:#fff;
}

.hero__grid{
    display:grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 22px;
    align-items:center;
    background: rgba(255,255,255,.10);
    border-radius: var(--radius);
    padding: 22px;
    backdrop-filter: blur(6px);
}

.hero__content h1{
    font-size: 40px;
    line-height: 1.1;
}

.hero__content p{
    margin: 0;
    font-size: 16px;
    opacity: .95;
}

.hero__image img{
    width:100%;
    height:auto;
    border-radius: calc(var(--radius) - 4px);
    display:block;
}

@media (max-width: 900px){
    .hero__grid{grid-template-columns:1fr;}
    .hero__content h1{font-size:32px;}
}


/* ===== MarketPays Hero (Slider + Banner) ===== */
.mp-hero{
  padding: 30px 0 30px;
}

.mp-hero__grid{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: 12px;
  align-items: stretch;
}

/* Slider */
.mp-hero__slider{
  position:relative;
  border-radius: 10px;
  overflow:hidden;
  background: #eaf4ff;
  min-height: 150px;
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

.mp-hero__track{
  display:flex;
  transition: transform .45s ease;
  will-change: transform;
}

.mp-hero__slide{
  position:relative;
}

.mp-hero__slideLink{
  display:block;
  position:relative;
  height:100%;
  text-decoration:none;
  color:#fff;
}

.mp-hero__media,
.mp-hero__bannerMedia{
  display:block;
  width:100%;
  height:100%;
}

.mp-hero__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  min-height: 150px;
}

/* content overlay like on mock */
.mp-hero__content{
  position:absolute;
  left: 34px;
  top: 34px;
  max-width: 520px;
  z-index:2;
  text-shadow: 0 10px 22px rgba(0,0,0,.25);
}

.mp-hero__title{
  font-size: 34px;
  line-height: 1.08;
  margin: 0 0 10px;
  font-weight: 900;
}

.mp-hero__line{
  display:flex;
  align-items:baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.mp-hero__badge{
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.mp-hero__subtitle{
  margin: 0;
  font-size: 16px;
  opacity: .95;
  font-weight: 600;
}

.mp-hero__btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  background:#fff;
  color:#0f53b7;
  font-weight: 800;
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 16px 30px rgba(0,0,0,.18);
}

.mp-hero__btnIco{
  width:18px; height:18px;
}

/* nav */
.mp-hero__nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border:0;
  cursor:pointer;
  background: rgba(255,255,255,.85);
  color:#0f53b7;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 14px 26px rgba(0,0,0,.16);
  z-index: 4;
}
.mp-hero__nav svg{ width:20px; height:20px; }
.mp-hero__nav--prev{ left: 12px; }
.mp-hero__nav--next{ right: 12px; }
.mp-hero__nav:hover{ background:#fff; }

.mp-hero__dots{
  position:absolute;
  left:0;
  right:0;
  bottom: 10px;
  display:flex;
  justify-content:center;
  gap: 8px;
  z-index: 4;
}
.mp-hero__dot{
  width: 18px;
  height: 6px;
  border-radius: 999px;
  border:0;
  cursor:pointer;
  background: rgba(255,255,255,.55);
}
.mp-hero__dot.is-active{
  background: rgba(255,255,255,.95);
}

/* Banner */
.mp-hero__banner{
  border-radius: 10px;
  overflow:hidden;
  background:#eef7ff;
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
  min-height: 150px;
}

.mp-hero__bannerLink{
  display:block;
  position:relative;
  height:100%;
  text-decoration:none;
  color:#0f172a;
}

.mp-hero__bannerImg{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  min-height: 150px;
}

.mp-hero__bannerContent{
  position:absolute;
  left: 18px;
  top: 18px;
  right: 18px;
}

.mp-hero__bannerTitle{
  font-size: 26px;
  font-weight: 900;
  color:#0f3f9a;
  margin-bottom: 6px;
}

.mp-hero__bannerText{
  font-size: 14px;
  color:#0f172a;
  font-weight: 600;
  opacity: .9;
}

/* Responsive */
@media (max-width: 980px){
  .mp-hero__grid{
    grid-template-columns: 1fr;
  }
  .mp-hero__banner{
    min-height: 130px;
  }
  .mp-hero__content{
    left: 18px;
    top: 18px;
    max-width: 85%;
  }
  .mp-hero__title{ font-size: 26px; }
  .mp-hero__badge{ font-size: 48px; }
}


/* ===== Slider (FIX) ===== */
.mp-hero__slider{
  position:relative;
  border-radius: 10px;
  overflow:hidden;
  background: linear-gradient(90deg,#0f53b7 0%, #2a7bdc 45%, #8fd0ff 100%);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
  min-height: 220px;
}

.mp-hero__track{
  display:flex;
  width: 100%;
  transition: transform .55s ease;
  will-change: transform;
}

.mp-hero__slide{
  flex: 0 0 100%;
  width: 100%;
  position:relative;
}

.mp-hero__slideLink{
  display:block;
  position:relative;
  height:100%;
  text-decoration:none;
  color:#fff;
}

/* obraz: NIE UCIĄĆ – dopasować jak w mock */
.mp-hero__img{
  width:100%;
  height:100%;
  display:block;
  object-fit: contain;        /* klucz */
  object-position: center;
  min-height: 220px;
  background: transparent;
}

/* content overlay jak na zrzucie */
.mp-hero__content{
  position:absolute;
  left: 40px;
  top: 38px;
  max-width: 560px;
  z-index:2;
  text-shadow: 0 12px 24px rgba(0,0,0,.28);
}

.mp-hero__title{
  font-size: 38px;
  line-height: 1.05;
  margin: 0 0 14px;
  font-weight: 900;
}

.mp-hero__line{
  display:flex;
  align-items:baseline;
  gap: 14px;
  margin: 0 0 18px;
}

.mp-hero__badge{
  font-size: 76px;     /* większe jak w mock */
  font-weight: 950;
  line-height: 1;
  letter-spacing: -2px;
}

.mp-hero__subtitle{
  margin: 0;
  font-size: 16px;
  opacity: .95;
  font-weight: 700;
  max-width: 240px;
}

/* przycisk jak na mock */
.mp-hero__btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  background:#fff;
  color:#0f53b7;
  font-weight: 900;
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: 0 18px 34px rgba(0,0,0,.18);
}

.mp-hero__btnIco{ width:18px; height:18px; }

/* dots */
.mp-hero__dots{ bottom: 12px; }
.mp-hero__dot{
  width: 18px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
}
.mp-hero__dot.is-active{ background: rgba(255,255,255,.9); }

/* Responsive */
@media (max-width: 980px){
  .mp-hero__slider{ min-height: 190px; }
  .mp-hero__img{ min-height: 190px; }
  .mp-hero__content{ left: 18px; top: 18px; max-width: 88%; }
  .mp-hero__title{ font-size: 28px; }
  .mp-hero__badge{ font-size: 52px; }
}


/* Slider ma mieć stały, wygodny wysokościowo kafel */
.mp-hero__slider{
  min-height: 230px;     /* zwiększ wysokość */
}

/* obraz ma wypełniać CAŁY div */
.mp-hero__img{
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;        /* wypełnia kafel */
  object-position: center;  /* nie ucina „dziwnie” */
  display: block;
}

/* dla większych ekranów daj trochę wyższą wysokość */
@media (min-width: 1100px){
  .mp-hero__slider{ min-height: 260px; }
  .mp-hero__img{ min-height: 260px; }
}

/* mobilka */
@media (max-width: 980px){
  .mp-hero__slider{ min-height: 190px; }
  .mp-hero__img{ min-height: 190px; }
}


/* ===== HERO button + layout like mock ===== */

.mp-hero__content{
  left: 46px;
  top: 42px;
  max-width: 560px;
}

.mp-hero__title{
  font-size: 40px;
  margin: 0 0 16px;
}

/* badge + subtitle w jednej linii, ale subtitle ma swój max */
.mp-hero__line{
  display:flex;
  align-items:flex-end;
  gap: 16px;
  margin: 0 0 18px;
}

.mp-hero__badge{
  font-size: 84px;
  line-height: 0.95;
  letter-spacing: -2px;
  flex: 0 0 auto;
}

.mp-hero__subtitle{
  font-size: 16px;
  font-weight: 700;
  opacity: .95;
  margin: 0 0 10px; /* lekko niżej jak na mocku */
  max-width: 260px;
}

/* PRZYCISK POD NAPISAMI + styl jak na zrzucie */
.mp-hero__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;

  background:#fff;
  color:#0f53b7;
  font-weight: 900;
  font-size: 14px;

  padding: 12px 18px;
  border-radius: 10px;

  box-shadow: 0 14px 26px rgba(0,0,0,.18);
}

.mp-hero__btnIco{
  width:18px;
  height:18px;
}

/* hover jak w marketplace */
.mp-hero__slideLink:hover .mp-hero__btn{
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(0,0,0,.22);
}
.mp-hero__btn{
  transition: transform .15s ease, box-shadow .15s ease;
}

/* responsive */
@media (max-width: 980px){
  .mp-hero__content{ left: 18px; top: 18px; }
  .mp-hero__title{ font-size: 28px; margin-bottom: 10px; }
  .mp-hero__badge{ font-size: 54px; }
  .mp-hero__subtitle{ font-size: 14px; max-width: 220px; margin-bottom: 8px; }
  .mp-hero__btn{ padding: 10px 14px; font-size: 13px; }
}


.mp-hero__btn{
  text-decoration: none !important;
}
.mp-hero__btn:hover,
.mp-hero__btn:focus,
.mp-hero__btn:active{
  text-decoration: none !important;
}


/* ===== MarketPays Categories Icons ===== */
.mp-cats{
  padding: 10px 0 18px;
}

.mp-cats__row{
  display:flex;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
  overflow-x: auto;
  padding: 6px 2px;
  scrollbar-width: none; /* Firefox */
}
.mp-cats__row::-webkit-scrollbar{ display:none; }

.mp-cats__item{
  flex: 0 0 auto;
  width: 120px;
  text-decoration: none;
  color: #0f172a;
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mp-cats__iconWrap{
  width: 78px;
  height: 52px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.mp-cats__icon{
  max-width: 78px;
  max-height: 52px;
  width: auto;
  height: auto;
  display:block;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.12));
}

.mp-cats__iconPlaceholder{
  width: 64px;
  height: 44px;
  border-radius: 14px;
  background: rgba(15,83,183,.08);
  border: 1px dashed rgba(15,83,183,.25);
}

.mp-cats__title{
  font-size: 14px;
  font-weight: 700;
  text-align:center;
  line-height: 1.2;
}

/* hover jak marketplace */
.mp-cats__item:hover .mp-cats__icon{
  transform: translateY(-1px);
}
.mp-cats__icon{
  transition: transform .15s ease;
}

/* Responsive */
@media (max-width: 980px){
  .mp-cats__row{ gap: 18px; }
  .mp-cats__item{ width: 96px; }
  .mp-cats__title{ font-size: 13px; }
}


/* ===== ADDON: linia nad sekcją + tło ikon jak w projekcie ===== */

.mp-cats{
  position: relative;
  padding-top: 18px;          /* miejsce na linię */
}

/* cienka linia nad ikonkami */
.mp-cats::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(15, 83, 183, .18);
}

/* tło pod ikoną (kapsułka / soft card) */
.mp-cats__iconWrap{
  width: 78px;
  height: 58px;               /* trochę wyższe jak na screenie */
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(235,244,255,.95));
  border: 1px solid rgba(15, 83, 183, .10);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}

/* sama ikonka – delikatnie większa, bez ostrych cieni */
.mp-cats__icon{
  max-width: 64px;
  max-height: 44px;
  filter: none;
}

/* hover jak marketplace */
.mp-cats__item:hover .mp-cats__iconWrap{
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0,0,0,.10);
}

.mp-cats__iconWrap{
  transition: transform .15s ease, box-shadow .15s ease;
}


/* ===== FIX: tło ikon bez wyraźnego gradientu (jak w projekcie) ===== */

.mp-cats__iconWrap{
  background: #eef6ff !important;                 /* jednolite tło */
  border: 1px solid rgba(15,83,183,.10) !important;
  box-shadow: 0 10px 18px rgba(0,0,0,.08) !important;
  position: relative;
  overflow: hidden;
}

/* delikatny „połysk” jak w mocku (prawie niewidoczny) */
.mp-cats__iconWrap::after{
  content:"";
  position:absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.65), rgba(255,255,255,0) 55%);
  pointer-events:none;
  opacity: .45;
}

/* ikonka trochę większa, jak na screenie */
.mp-cats__icon{
  max-width: 70px !important;
  max-height: 48px !important;
}

/* wyrównanie jak w projekcie */
.mp-cats__item{
  width: 120px;
}


/* ===== MarketPays – 3 Banners ===== */
.mp-b3{
  padding: 10px 0 18px;
}

.mp-b3__grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.mp-b3__item{
  display:block;
  border-radius: 10px;
  overflow:hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
  text-decoration:none;
}

.mp-b3__pic,
.mp-b3__img{
  display:block;
  width:100%;
  height:100%;
}

.mp-b3__img{
  object-fit: cover;   /* wypełnia kafel jak w mocku */
  object-position: center;
  min-height: 110px;
}

/* hover delikatny */
.mp-b3__item:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0,0,0,.12);
}
.mp-b3__item{
  transition: transform .15s ease, box-shadow .15s ease;
}

/* Responsive */
@media (max-width: 980px){
  .mp-b3__grid{
    grid-template-columns: 1fr;
  }
  .mp-b3__img{
    min-height: 120px;
  }
}


/* ===== MarketPays – Recommended products ===== */
.mp-rec{ padding: 14px 0 22px; }

.mp-rec__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 10px;
}

.mp-rec__title{
  margin:0;
  font-size: 16px;
  font-weight: 900;
  color:#0f172a;
}

.mp-rec__nav{
  display:flex;
  gap: 6px;
}

.mp-rec__navBtn{
  width: 30px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.7);
  display:grid;
  place-items:center;
  cursor:pointer;
}
.mp-rec__navBtn svg{ width:16px; height:16px; }

.mp-rec__viewport{
  overflow:auto;
  scroll-behavior:smooth;
  scrollbar-width: none;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 10px;
  padding: 10px;
}
.mp-rec__viewport::-webkit-scrollbar{ display:none; }

.mp-rec__track{
  display:flex;
  gap: 10px;
  align-items:stretch;
}

/* karty jak na screenie */
.mp-rec__card{
  flex: 0 0 180px;
  background:#fff;
  border-radius: 8px;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 10px 18px rgba(0,0,0,.06);
  text-decoration:none;
  color:#0f172a;
  padding: 10px;
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.mp-rec__imgWrap{
  height: 120px;
  border-radius: 8px;
  background: #f6f8fb;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.mp-rec__img{
  width:100%;
  height:100%;
  object-fit: contain;
}

.mp-rec__name{
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  min-height: 32px;
}

.mp-rec__price{
  font-size: 18px;
  font-weight: 900;
  color:#1f2a44;
}

.mp-rec__price del{
  font-size: 12px;
  font-weight: 700;
  opacity: .55;
  margin-right: 6px;
}

.mp-rec__card:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(0,0,0,.08);
}
.mp-rec__card{ transition: transform .15s ease, box-shadow .15s ease; }

@media (max-width: 980px){
  .mp-rec__card{ flex-basis: 160px; }
  .mp-rec__imgWrap{ height: 110px; }
}


/* === Header actions (ikonki) === */
.mp-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

/* linki akcji */
.mp-action{
  display:inline-flex;
  align-items:center;
  gap:8px;
  position:relative;
  text-decoration:none;
}

/* wariant ikonowy (Ulubione/Koszyk/Wiadomości) */
.mp-action--icon{
  width:44px;
  height:44px;
  justify-content:center;
  border-radius:12px;
}

/* ikonki SVG */
.mp-action .mp-ico{
  width:22px;
  height:22px;
  display:block;
}

/* badge (licznik) */
.mp-action .mp-badge{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:18px;
  height:18px;
  padding:0 6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-size:12px;
  line-height:1;
  font-weight:700;
  color:#fff;
  border:2px solid #fff; /* ładnie odcina na jasnym tle */
}

/* ukryj badge jeśli jest 0 (najprościej) */
.mp-action .mp-badge:empty{
  display:none;
}


/* ===== MarketPays – Bestsellery ===== */
.mp-best{ padding: 18px 0 26px; }

.mp-best__head{
  background: var(--mp-best-bg) center/cover no-repeat;
  border-radius: 12px;
  padding: 26px 28px;
  box-shadow: 0 16px 34px rgba(0,0,0,.10);
  margin-bottom: 12px;
}

.mp-best__h{
  margin:0;
  color:#fff;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -.4px;
  text-shadow: 0 6px 18px rgba(0,0,0,.28);
}

/* tabs */
.mp-best__tabs{
  display:flex;
  align-items:center;
  gap: 0;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 10px;
  overflow:hidden;
  margin-bottom: 12px;
}

.mp-best__tab{
  appearance:none;
  border:0;
  background: transparent;
  padding: 12px 22px;
  font-weight: 800;
  font-size: 16px;
  color: rgba(15,23,42,.75);
  cursor:pointer;
  border-right: 1px solid rgba(15,23,42,.08);
  white-space: nowrap;
}

.mp-best__tab.is-active{
  background: linear-gradient(180deg,#1b66d8,#0f53b7);
  color:#fff;
}

.mp-best__tabArrow{
  margin-left:auto;
  width: 54px;
  height: 46px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(15,23,42,.7);
}
.mp-best__tabArrow svg{ width:20px; height:20px; }

/* slider */
.mp-best__wrap{
  position: relative;
}

.mp-best__viewport{
  overflow:auto;
  scrollbar-width:none;
  scroll-behavior:smooth;
  padding: 8px;
}
.mp-best__viewport::-webkit-scrollbar{ display:none; }

.mp-best__track{
  display:flex;
  gap: 14px;
  align-items: stretch;
}

/* cards */
.mp-best__card{
  flex: 0 0 255px;
  background: rgba(255,255,255,.92);
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 34px rgba(0,0,0,.08);
  padding: 14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.mp-best__imgLink{
  display:block;
  border-radius: 12px;
  overflow:hidden;
  background:#f6f8fb;
  height: 190px;
}
.mp-best__img{
  width:100%;
  height:100%;
  object-fit: contain;
  display:block;
}

.mp-best__name{
  text-decoration:none;
  color:#0f172a;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  min-height: 44px;
}

.mp-best__price{
  font-size: 18px;
  font-weight: 500;
  color:#1f2a44;
}

.mp-best__price del{
  font-size: 14px;
  font-weight: 800;
  opacity: .55;
  margin-right: 8px;
}

.mp-best__add{
  margin-top: auto;
  background: linear-gradient(180deg,#1b66d8,#0f53b7);
  color:#fff;
  font-weight: 500;
  font-size: 18px;
  border-radius: 10px;
  padding: 12px 14px;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  box-shadow: 0 14px 24px rgba(15,83,183,.25);
}

.mp-best__cartIco{
  width: 20px;
  height: 20px;
}

/* rating stars */
.mp-best__rating{
  display:flex;
  align-items:center;
  gap: 8px;
}
.mp-best__stars{
  --fill: calc((var(--mp-rating) / 5) * 100%);
  width: 110px;
  height: 18px;
  display:inline-block;
  background:
    linear-gradient(90deg, #f7b500 var(--fill), rgba(15,23,42,.18) var(--fill));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 20'%3E%3Cg fill='black'%3E%3Cpath d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3Cpath transform='translate(22 0)' d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3Cpath transform='translate(44 0)' d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3Cpath transform='translate(66 0)' d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3Cpath transform='translate(88 0)' d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 20'%3E%3Cg fill='black'%3E%3Cpath d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3Cpath transform='translate(22 0)' d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3Cpath transform='translate(44 0)' d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3Cpath transform='translate(66 0)' d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3Cpath transform='translate(88 0)' d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}
.mp-best__rcount{ font-weight: 800; opacity:.55; }

/* nav arrows */
.mp-best__nav{
  position:absolute;
  top: 160px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.8);
  box-shadow: 0 12px 22px rgba(0,0,0,.10);
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index: 2;
}
.mp-best__nav svg{ width:18px; height:18px; }
.mp-best__nav--prev{ left: -10px; }
.mp-best__nav--next{ right: -10px; }

@media (max-width: 980px){
  .mp-best__h{ font-size: 30px; }
  .mp-best__head{ padding: 18px 18px; }
  .mp-best__tab{ padding: 10px 14px; font-size: 14px; }
  .mp-best__card{ flex-basis: 220px; }
  .mp-best__imgLink{ height: 160px; }
  .mp-best__price{ font-size: 28px; }
  .mp-best__add{ font-size: 16px; }
  .mp-best__nav{ display:none; } /* na mobile przewijanie palcem */
}


.mp-best__head{
  width: 100%;
  background: var(--mp-best-bg) center/cover no-repeat;
  padding: 36px 0 46px;
  box-shadow: 0 16px 34px rgba(0,0,0,.10);
  margin-bottom: 12px;
  border-radius: 0;
}


.woocommerce ul.products li.product .mp-btn--inquiry{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:10px;
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  font-weight:700;
  text-decoration:none;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  color:#111;
}

.woocommerce ul.products li.product .mp-btn--inquiry:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}

/* === Single Product layout (MarketPays) === */
.mp-product-page{
  padding: 24px 0;
}

.mp-product{
  width:100%;
}

.mp-product__grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items:start;
}

.mp-product__gallery{
  background: #fff;
  border-radius: 18px;
  overflow:hidden;
  padding: 12px;
}

.mp-product__summaryInner{
  background:#fff;
  border-radius: 18px;
  padding: 18px;
}

.mp-product__tabs{
  margin-top: 24px;
  background:#fff;
  border-radius: 18px;
  padding: 18px;
}

/* responsywność */
@media (max-width: 980px){
  .mp-product__grid{
    grid-template-columns: 1fr;
  }
}

.woocommerce-page .mp-header,
.single-product .mp-header{
  width:100%;
}


/* Gdy nie ma obrazka logo i leci tekst – nie może rosnąć do kosmosu */
.mp-brand__text{
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

/* logo obrazek – kontrola wysokości */
.mp-brand__logo{
  max-height: 44px;
  width: auto;
}


/* ===== MarketPays – Timer (Gorące Promocje) ===== */
.mp-timer{
  padding: 18px 0;
  background: var(--mp-timer-bg) center/cover no-repeat;
}

.mp-timer__bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  min-height: 110px;
}

.mp-timer__left{
  display:flex;
  align-items:center;
  gap: 14px;
}

.mp-timer__icon{
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.18));
}

.mp-timer__title{
  margin:0;
  color:#fff;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -.4px;
  text-shadow: 0 10px 22px rgba(0,0,0,.22);
}

/* timer block */
.mp-timer__clock{
  background: var(--mp-timer-ui) center/contain no-repeat;
  width: 520px;
  height: 98px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 18px 12px 18px;
  border-radius: 16px;
}

.mp-timer__label{
  color:#fff;
  font-weight: 900;
  line-height: 1.05;
  padding-left: 6px;
}

.mp-timer__labelTop{
  font-size: 18px;
  opacity: .95;
}

.mp-timer__labelBot{
  margin-top: 6px;
  font-size: 26px;
}

.mp-timer__digits{
  display:flex;
  align-items:center;
  gap: 10px;
  padding-right: 6px;
}

.mp-timer__box{
  width: 78px;
  height: 58px;
  border-radius: 10px;
  background: rgba(60, 20, 0, .55);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.12), 0 10px 18px rgba(0,0,0,.18);
  display:grid;
  place-items:center;
}

.mp-timer__box span{
  color:#fff;
  font-weight: 900;
  font-size: 34px;
  letter-spacing: 1px;
}

.mp-timer__sep{
  color: rgba(255,255,255,.95);
  font-weight: 900;
  font-size: 34px;
  margin-top: -2px;
  text-shadow: 0 8px 18px rgba(0,0,0,.22);
}

@media (max-width: 980px){
  .mp-timer__bar{
    flex-direction: column;
    align-items:flex-start;
    min-height: auto;
  }
  .mp-timer__title{ font-size: 34px; }
  .mp-timer__clock{
    width: 100%;
    max-width: 520px;
  }
}

@media (max-width: 520px){
  .mp-timer__clock{
    height: 94px;
    padding: 10px 12px;
  }
  .mp-timer__labelBot{ font-size: 20px; }
  .mp-timer__box{ width: 64px; height: 54px; }
  .mp-timer__box span{ font-size: 30px; }
}


/* timer block – poprawka dopasowania tła timer.png */
.mp-timer__clock{
  background-image: var(--mp-timer-ui);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;   /* KLUCZ: zawsze wypełnia całość */

  width: min(560px, 100%);      /* responsywnie */
  aspect-ratio: 560 / 108;      /* proporcje tła (dopasuj, jeśli timer.png ma inne) */
  height: auto;                 /* wysokość z proporcji */
  display:flex;
  align-items:center;
  justify-content:space-between;

  padding: 14px 18px;
  border-radius: 16px;
  box-sizing: border-box;
  overflow: hidden;             /* żeby nic nie wystawało */
}


/* === FIX: padding z lewej + rozciągnięcie tła timera === */
.mp-timer__right{
  display:flex;
  justify-content:flex-end; /* trzyma timer przy prawej */
}

.mp-timer__clock{
  /* tło ma wypełniać cały blok */
  background-image: var(--mp-timer-ui);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 100% 100%;   /* ROZCIĄGNIĘCIE */

  /* SZERZEJ jak w projekcie */
  width: min(620px, 100%);      /* było ~520 */
  aspect-ratio: 620 / 110;      /* dopasowane do szerszego timera */
  height: auto;

  display:flex;
  align-items:center;
  justify-content:space-between;

  /* większy lewy padding (żeby tekst nie był na krawędzi) */
  padding: 14px 28px 14px 112px; /* L = 32px */
  border-radius: 16px;
  box-sizing: border-box;
  overflow: hidden;
}

/* troszkę oddechu dla labelki */
.mp-timer__label{
  padding-left: 0;
  max-width: 220px;
}

/* żeby „Koniec za:” i „xxx godziny” wyglądały czytelnie */
.mp-timer__labelTop{
  font-size: 16px;
  opacity: .95;
}
.mp-timer__labelBot{
  font-size: 16px;
  margin-top: 6px;
  padding-right: 20px;
}


/* ===== Hot Promo (Gorące Promocje) ===== */
.mp-hot{
  padding: 18px 0 26px;
  background: var(--mp-hot-bg) center/cover no-repeat;
}

.mp-hot__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 14px;
}

.mp-hot__title{
  margin:0;
  font-size: 42px;
  font-weight: 900;
  color:#fff;
  text-shadow: 0 10px 22px rgba(0,0,0,.2);
}

.mp-hot__arrows{
  display:flex;
  gap: 10px;
}

.mp-hot__nav{
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.55);
  display:grid;
  place-items:center;
  cursor:pointer;
}
.mp-hot__nav svg{ width:18px; height:18px; }

.mp-hot__wrap{
  position: relative;
}

.mp-hot__viewport{
  overflow: hidden;
  border-radius: 18px;
}

.mp-hot__track{
  display:flex;
  gap: 18px;
  will-change: transform;
  transition: transform .35s ease;
  padding: 12px;
}

/* CARD */
.mp-hot__card{
  position: relative;
  flex: 0 0 240px;
  background: rgba(255,255,255,.78);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  padding: 12px 12px 14px;
}

.mp-hot__badge{
  position:absolute;
  top: 10px;
  left: 10px;
  background: #e03b2f;
  color:#fff;
  font-weight: 900;
  font-size: 22px;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 18px rgba(0,0,0,.18);
}

.mp-hot__imgLink{
  display:block;
  border-radius: 14px;
  overflow:hidden;
  background: rgba(255,255,255,.5);
}
.mp-hot__img{
  width: 100%;
  height: 190px;
  object-fit: contain;
  display:block;
}

.mp-hot__price{
  margin-top: 10px;
  font-size: 38px;
  font-weight: 900;
  color:#0b1b3a;
}
.mp-hot__price del{
  opacity: .55;
  font-weight: 700;
  margin-right: 8px;
  font-size: 24px;
}
.mp-hot__price ins{
  text-decoration: none;
}

/* progress */
.mp-hot__progress{
  height: 12px;
  border-radius: 999px;
  background: rgba(8, 36, 90, .15);
  margin-top: 10px;
  overflow:hidden;
}
.mp-hot__progress span{
  display:block;
  height: 100%;
  background: linear-gradient(90deg, #ffb300, #ff5c2a);
  width: 40%;
}

.mp-hot__sold{
  margin-top: 8px;
  font-weight: 800;
  color: rgba(11,27,58,.8);
  font-size: 18px;
}

/* button */
.mp-hot__btn{
  margin-top: 12px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(180deg, #0f65db, #0b4fb6);
  color:#fff;
  font-weight: 900;
  font-size: 22px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  text-decoration:none;
  box-shadow: 0 12px 22px rgba(7, 55, 130, .22);
}
.mp-hot__btn:hover{ filter: brightness(1.03); }

.mp-hot__btnIco{ width: 22px; height: 22px; }

/* dots */
.mp-hot__dots{
  display:flex;
  gap: 10px;
  justify-content:center;
  margin-top: 10px;
}
.mp-hot__dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.35);
  cursor:pointer;
}
.mp-hot__dot.is-active{
  width: 28px;
  background: rgba(255,255,255,.85);
}

@media (max-width: 980px){
  .mp-hot__title{ font-size: 34px; }
  .mp-hot__card{ flex-basis: 220px; }
  .mp-hot__img{ height: 170px; }
  .mp-hot__price{ font-size: 34px; }
}
@media (max-width: 560px){
  .mp-hot__title{ font-size: 28px; }
  .mp-hot__track{ padding: 10px; }
  .mp-hot__card{ flex-basis: 210px; }
}


/* ===== CARD: layout jak na wzorze ===== */
.mp-hot__card{
  position: relative;
  flex: 0 0 240px;
  background: rgba(255,255,255,.82);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
  padding: 14px;
}

/* badge jak w rogu */
.mp-hot__badge{
  position:absolute;
  top: 10px;
  left: 10px;
  background: #e0372d;
  color:#fff;
  font-weight: 900;
  font-size: 22px;
  padding: 10px 14px;
  border-radius: 12px;
}

/* obraz – większy, jak na mocku */
.mp-hot__imgLink{
  display:block;
  border-radius: 14px;
  overflow:hidden;
  background: rgba(255,255,255,.6);
}
.mp-hot__img{
  width: 100%;
  height: 210px;
  object-fit: contain;
  display:block;
}

/* CENA: ma wyglądać jak na 1 zrzucie */
.mp-hot__price{
  margin-top: 12px;
  line-height: 1.05;
  font-weight: 900;
  color:#0b1b3a;
}

/* WooCommerce price HTML: del + ins */
.mp-hot__price del{
  display:block;               /* stara cena w osobnej linii */
  font-size: 16px;
  font-weight: 400;
  opacity: .55;
  margin: 0 0 6px 0;
}
.mp-hot__price del bdi{ text-decoration: line-through; }
.mp-hot__price ins{
  display:block;               /* nowa cena duża */
  text-decoration:none;
  font-size: 24px;
  font-weight: 700;
}
.mp-hot__price > .amount{
  font-size: 44px;
  font-weight: 900;
}

/* progress bar – jak „pasek sprzedaży” */
.mp-hot__progress{
  height: 12px;
  border-radius: 999px;
  background: rgba(8, 36, 90, .18);
  margin-top: 14px;
  overflow:hidden;
}
.mp-hot__progress span{
  display:block;
  height: 100%;
  background: linear-gradient(90deg, #ffb300, #ff7a1a);
  width: 40%;
}

/* sprzedano */
.mp-hot__sold{
  margin-top: 10px;
  font-weight: 900;
  color: rgba(11,27,58,.7);
  font-size: 20px;
}

/* button – jak w mocku „Kup teraz” + koszyk */
.mp-hot__btn{
  margin-top: 14px;
  height: 54px;
  border-radius: 10px;
  background: linear-gradient(180deg, #0f65db, #0b4fb6);
  color:#fff;
  font-weight: 600;
  font-size: 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  text-decoration:none;
  box-shadow: 0 14px 24px rgba(7, 55, 130, .22);
}
.mp-hot__btn:hover{ filter: brightness(1.03); }
.mp-hot__btnIco{ width: 26px; height: 26px; }


.mp-howto{
  background: var(--mp-howto-bg) center/cover no-repeat;
  padding: 34px 0 44px;
  margin-top: 100px;
  margin-bottom: 100px;
}

.mp-howto__h{
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
  color: #1d2f57;
}

.mp-howto__grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: stretch;
}

.mp-howto__card{
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 40px rgba(10,40,90,.12);
  overflow: hidden;
  min-height: 320px;
}

/* LEFT */
.mp-howto__card--left{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
}

.mp-howto__left{
  padding: 22px 22px 20px;
}

.mp-howto__steps{
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 18px;
}

.mp-howto__step{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.mp-howto__no{
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(180deg,#7fb6ff,#4d88ff);
  box-shadow: 0 10px 22px rgba(55,120,255,.25);
}

.mp-howto__stTitle{
  font-size: 22px;
  font-weight: 900;
  color: #1d2f57;
  margin-bottom: 4px;
}

.mp-howto__stText{
  font-size: 16px;
  color: rgba(29,47,87,.78);
  line-height: 1.35;
}

/* art */
.mp-howto__art{
  display: grid;
  place-items: end;
  padding: 12px 14px 0;
}
.mp-howto__art img{
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: contain;
  object-position: right bottom;
}

/* buttons */
.mp-howto__btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  background: linear-gradient(180deg,#2b83ff,#0f57d8);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(15,87,216,.25);
}
.mp-howto__btn:hover{ filter: brightness(1.03); }
.mp-howto__btn:focus{ outline: none; box-shadow: 0 0 0 4px rgba(43,131,255,.25), 0 14px 26px rgba(15,87,216,.25); }

.mp-howto__btnIco{
  width: 20px; height: 20px;
}

/* RIGHT */
.mp-howto__card--right{
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
}

.mp-howto__rt{
  font-size: 26px;
  font-weight: 900;
  color: #1d2f57;
  margin: 0 0 10px;
}

.mp-howto__faq{
  display: grid;
  gap: 12px;
  padding: 6px 0 16px;
  flex: 1;
}

.mp-howto__q{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  text-decoration: none;
  color: #2a4e86;
  font-weight: 700;
}
.mp-howto__q:hover{ color: #0f57d8; }

.mp-howto__chev svg{
  width: 18px; height: 18px;
  display: block;
  margin-top: 2px;
}

.mp-howto__btn--right{
  width: fit-content;
  margin-top: 6px;
  padding: 12px 16px;
}
.mp-howto__btnArr{ width: 20px; height: 20px; }

/* responsive */
@media (max-width: 980px){
  .mp-howto__grid{ grid-template-columns: 1fr; }
  .mp-howto__card--left{ grid-template-columns: 1fr; }
  .mp-howto__art{ display:none; } /* na mobile najczęściej znika jak w wielu portalach */
  .mp-howto__h{ font-size: 32px; }
}


/* =========================
   HOWTO – LEFT CARD FIX
   (jak na zrzucie 2)
   ========================= */

/* karta lewa – delikatniejszy "frost", border i lepszy układ */
.mp-howto__card--left{
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.84));
  border: 1px solid rgba(160, 196, 255, .28);
}

/* większy, równy oddech */
.mp-howto__left{
  padding: 28px 26px 24px 26px;
}

/* lista kroków + pionowa linia jak w projekcie */
.mp-howto__steps{
  position: relative;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 22px;
}

/* pionowa linia łącząca kroki */
.mp-howto__steps::before{
  content: "";
  position: absolute;
  left: 22px;                 /* środek numerka (44px / 2) */
  top: 22px;                  /* start pod "1" */
  bottom: 22px;               /* koniec nad "3" */
  width: 2px;
  background: linear-gradient(180deg,
    rgba(77,136,255,.45),
    rgba(77,136,255,.12)
  );
  border-radius: 2px;
}

/* krok – kosmetyka odstępów */
.mp-howto__step{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  position: relative;
  z-index: 1; /* żeby numerki były nad linią */
}

/* numerki bardziej jak na zrzucie 2 (lekki border + highlight) */
.mp-howto__no{
  border-radius: 10px;
  background: linear-gradient(180deg,#8bc0ff,#4d88ff);
  box-shadow: 0 10px 22px rgba(55,120,255,.22);
  border: 1px solid rgba(255,255,255,.55);
  position: relative;
}

/* subtelny "shine" na numerku */
.mp-howto__no::after{
  content:"";
  position:absolute;
  inset: 2px 2px auto 2px;
  height: 40%;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0));
  pointer-events:none;
}

.mp-howto__stTitle{
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 6px;
}

.mp-howto__stText{
  font-size: 16px;
  line-height: 1.4;
}

/* prawa część (grafika) – większa i przyklejona do prawego dołu */
.mp-howto__art{
  display: grid;
  align-items: end;
  justify-items: end;
  padding: 18px 22px 0 0;
}

.mp-howto__art img{
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: right bottom;
}

/* przycisk jak w mockupie – trochę większy */
.mp-howto__btn{
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 18px;
  line-height: 1;
}

.mp-howto__btnIco{
  width: 22px;
  height: 22px;
}

/* responsywka – zostaje, ale linia nie przeszkadza */
@media (max-width: 980px){
  .mp-howto__card--left{ grid-template-columns: 1fr; }
  .mp-howto__steps::before{ left: 22px; }
}


/* większa grafika w lewym kafelku */
.mp-howto__card--left{
  overflow: visible; /* pozwól obrazkowi urosnąć */
}

.mp-howto__art{
  overflow: visible;
  padding: 8px 10px 0 0; /* mniej paddingu = więcej miejsca na grafikę */
}

.mp-howto__art img{
  transform: scale(1.22);          /* << zwiększa obraz */
  transform-origin: right bottom;  /* rośnie od prawego dołu */
}

/* opcjonalnie: jeszcze większa na dużych ekranach */
@media (min-width: 1200px){
  .mp-howto__art img{ transform: scale(1.28); }
}


/* przesuń grafikę w dół */
.mp-howto__art img{
  transform: scale(1.22) translateY(18px);
  transform-origin: right bottom;
}

/* opcjonalnie – na dużych ekranach trochę mocniej */
@media (min-width: 1200px){
  .mp-howto__art img{
    transform: scale(1.28) translateY(24px);
  }
}


/* === Sprzedawca pod koszykiem === */
.mp-sellerBox{
  margin-top: 14px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 14px 24px rgba(0,0,0,.06);
}

.mp-sellerBox__row{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  justify-content:space-between;
}

.mp-sellerBox__label{
  font-size: 12px;
  font-weight: 800;
  opacity: .6;
  margin-bottom: 2px;
}

.mp-sellerBox__name{
  font-size: 16px;
  font-weight: 900;
  color:#0f172a;
  margin-bottom: 6px;
}

.mp-sellerBox__all{
  font-weight: 800;
  text-decoration:none;
  opacity: .75;
}
.mp-sellerBox__all:hover{ opacity:1; text-decoration:underline; }

.mp-sellerBox__actions{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.mp-btnPrimary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration:none;
  font-weight: 900;
  color:#fff;
  background: linear-gradient(180deg,#1b66d8,#0f53b7);
  box-shadow: 0 14px 24px rgba(15,83,183,.25);
}

.mp-btnGhost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 900;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  cursor:pointer;
}

.mp-sellerBox__note{
  margin-top: 10px;
  font-size: 13px;
  opacity: .75;
}

@media (max-width: 980px){
  .mp-sellerBox__row{ flex-direction:column; }
  .mp-sellerBox__actions{ justify-content:flex-start; width:100%; }
  .mp-btnPrimary, .mp-btnGhost{ width:100%; }
}


/* === Related products GRID (jak na home) === */
.mp-rel{
  margin-top: 18px;
}

.mp-rel__h{
  font-size: 24px;
  font-weight: 700;
  color:#0f172a;
  margin: 0 0 34px;
}

.mp-rel__grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* karta */
.mp-relCard{
  background: rgba(255,255,255,.92);
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 34px rgba(0,0,0,.08);
  padding: 14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.mp-relCard__imgLink{
  display:block;
  border-radius: 12px;
  overflow:hidden;
  background:#f6f8fb;
  height: 290px;
}
.mp-relCard__img{
  width:100%;
  height:100%;
  object-fit: contain;
  display:block;
}

.mp-relCard__name{
  text-decoration:none;
  color:#0f172a;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  min-height: 44px;
}

.mp-relCard__price{
  font-size: 16px;
  font-weight: 900;
  color:#0f172a;
}

.mp-relCard__price del{
  font-size: 14px;
  font-weight: 800;
  opacity: .55;
  margin-right: 8px;
}

/* add to cart */
.mp-relCard__add{
  margin-top: auto;
  background: linear-gradient(180deg,#1b66d8,#0f53b7);
  color:#fff;
  font-weight: 800;
  font-size: 16px;
  border-radius: 10px;
  padding: 12px 14px;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 14px 24px rgba(15,83,183,.25);
}

/* rating jak w mp-best */
.mp-relCard__rating{
  display:flex;
  align-items:center;
  gap: 8px;
}
.mp-relCard__stars{
  --fill: calc((var(--mp-rating) / 5) * 100%);
  width: 110px;
  height: 18px;
  display:inline-block;
  background:
    linear-gradient(90deg, #f7b500 var(--fill), rgba(15,23,42,.18) var(--fill));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 20'%3E%3Cg fill='black'%3E%3Cpath d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3Cpath transform='translate(22 0)' d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3Cpath transform='translate(44 0)' d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3Cpath transform='translate(66 0)' d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3Cpath transform='translate(88 0)' d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 20'%3E%3Cg fill='black'%3E%3Cpath d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3Cpath transform='translate(22 0)' d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3Cpath transform='translate(44 0)' d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3Cpath transform='translate(66 0)' d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3Cpath transform='translate(88 0)' d='M10 0l3.1 6.4 7 .9-5.1 4.9 1.2 6.9L10 15.9 3.8 19.1 5 12.2 0 7.3l7-.9L10 0z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}
.mp-relCard__rcount{ font-weight: 800; opacity:.55; }

@media (max-width: 1100px){
  .mp-rel__grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 820px){
  .mp-rel__grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .mp-rel__grid{ grid-template-columns: 1fr; }
}


.mp-relCard__add .mp-best__cartIco{
  width:20px;
  height:20px;
}


.mp-relCard__add{
  margin-top: auto;
  background: linear-gradient(180deg,#1b66d8,#0f53b7);
  color:#fff;
  font-weight: 800;
  font-size: 16px;
  border-radius: 10px;
  padding: 12px 16px;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:space-between; /* KLUCZOWE */
  box-shadow: 0 14px 24px rgba(15,83,183,.25);
  gap: 10px;
}

.mp-relCard__addText{
  flex:1;
  text-align:center;
}

.mp-relCard__add .mp-best__cartIco{
  width:20px;
  height:20px;
  flex-shrink:0;
}


/* === MarketPays: Seller Box (pod Add to cart) === */
.mp-sellerBox{
  margin-top: 14px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
}

.mp-sellerBox__row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 16px;
}

.mp-sellerBox__meta{
  min-width: 220px;
}

.mp-sellerBox__label{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .2px;
  text-transform: uppercase;
  color: rgba(15,23,42,.55);
  margin-bottom: 4px;
}

.mp-sellerBox__name{
  font-size: 18px;
  font-weight: 900;
  color:#0f172a;
  line-height: 1.15;
  margin-bottom: 6px;
}

.mp-sellerBox__all{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 900;
  text-decoration:none;
  color: #0f53b7;
  opacity: .92;
}

.mp-sellerBox__all:hover{
  opacity: 1;
  text-decoration: underline;
}

/* prawa kolumna */
.mp-sellerBox__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 10px;
  flex-wrap:wrap;
  margin-left:auto;
}

/* wspólne dla button/link */
.mp-sellerBox__actions .mp-btnGhost,
.mp-sellerBox__actions .mp-btnPrimary{
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .1px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  text-decoration:none;
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
}

/* Ulubione */
.mp-btnGhost{
  background: #fff;
  border: 1px solid rgba(15,23,42,.14);
  color:#0f172a;
  box-shadow: 0 10px 18px rgba(0,0,0,.06);
}

.mp-btnGhost:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(0,0,0,.10);
}

/* Wiadomość */
.mp-btnPrimary{
  border: 0;
  color:#fff;
  background: linear-gradient(180deg,#1b66d8,#0f53b7);
  box-shadow: 0 14px 24px rgba(15,83,183,.25);
}

.mp-btnPrimary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(15,83,183,.30);
}

/* emoji w przyciskach (WP wstawia img) */
.mp-sellerBox__actions .emoji{
  width: 18px;
  height: 18px;
  display:block;
  margin: 0;
}

/* notka pod spodem */
.mp-sellerBox__note{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(15,23,42,.14);
  font-size: 13px;
  color: rgba(15,23,42,.72);
}

/* responsywność */
@media (max-width: 980px){
  .mp-sellerBox{ padding: 14px; }
  .mp-sellerBox__row{ flex-direction:column; }
  .mp-sellerBox__meta{ min-width: 0; }
  .mp-sellerBox__actions{ width:100%; justify-content:flex-start; }
  .mp-sellerBox__actions .mp-btnGhost,
  .mp-sellerBox__actions .mp-btnPrimary{
    width: 100%;
  }
}


/* === MarketPays: product meta (SKU + kategorie) === */
.single-product .product_meta{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(15,23,42,.10);
  display:flex;
  flex-wrap:wrap;
  gap: 10px 14px;
  align-items:center;
  font-size: 13px;
  color: rgba(15,23,42,.75);
}

/* etykiety */
.single-product .product_meta .sku_wrapper,
.single-product .product_meta .posted_in{
  display:flex;
  align-items:center;
  gap: 8px;
  font-weight: 800;
}

/* SKU jako „pill” */
.single-product .product_meta .sku{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.08);
  font-weight: 900;
  letter-spacing: .2px;
  color:#0f172a;
}

/* linki kategorii jako chipy */
.single-product .product_meta .posted_in a{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(27,102,216,.08);
  border: 1px solid rgba(27,102,216,.16);
  color:#0f53b7;
  text-decoration:none;
  font-weight: 900;
  line-height: 1;
}

/* hover */
.single-product .product_meta .posted_in a:hover{
  background: rgba(27,102,216,.12);
  border-color: rgba(27,102,216,.22);
  text-decoration:none;
}

/* przecinki Woo – ukryj, bo chipy same robią odstępy */
.single-product .product_meta .posted_in a + a:before{
  content:"";
  display:none;
}

/* responsywność */
@media (max-width: 520px){
  .single-product .product_meta{
    gap: 10px;
  }
  .single-product .product_meta .sku_wrapper,
  .single-product .product_meta .posted_in{
    width:100%;
    flex-wrap:wrap;
  }
}


/* === MarketPays: Single product summary (tytuł/cena/opis/koszyk) === */
.single-product .mp-product__summaryInner{
  background:#fff;
  border-radius: 18px;
  padding: 18px;
}

/* tytuł */
.single-product .product_title{
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.4px;
  line-height: 1.12;
  color:#0f172a;
}

/* cena */
.single-product .summary .price{
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 900;
  color:#0d0d0d !important; /* złoty jak u Ciebie */
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color:#0d0d0d !important;
    font-size: 1.25em
}

.single-product .summary .price del{
  font-size: 16px;
  font-weight: 800;
  opacity: .55;
  margin-right: 10px;
}

.single-product .summary .price ins{
  text-decoration: none;
}

/* krótki opis */
.single-product .woocommerce-product-details__short-description{
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(15,23,42,.78);
}

/* stan magazynu */
.single-product .summary .stock{
  margin: 0 0 10px;
  font-weight: 900;
  font-size: 14px;
  color: #a47a00;
}
.single-product .summary .stock.out-of-stock{
  color: #b42318;
}

/* formularz koszyka (ilość + button) */
.single-product form.cart{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 12px 0 10px;
  flex-wrap:wrap;
}

/* pole ilości */
.single-product form.cart .quantity{
  margin:0;
}

.single-product form.cart .quantity input.qty{
  width: 70px;
  height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(15,23,42,.18);
  background:#fff;
  font-weight: 900;
  color:#0f172a;
  outline:none;
}

.single-product form.cart .quantity input.qty:focus{
  border-color: rgba(27,102,216,.55);
  box-shadow: 0 0 0 4px rgba(27,102,216,.12);
}

/* przycisk dodaj do koszyka */
.single-product form.cart .single_add_to_cart_button{
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  border: 0;
  background: #1963d3; /* fiolet jak u Ciebie */
  color:#fff;
  font-weight: 900;
  font-size: 15px;
  cursor:pointer;
  box-shadow: 0 12px 22px rgba(123,75,183,.18);
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.single-product form.cart .single_add_to_cart_button:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(123,75,183,.24);
}

.single-product form.cart .single_add_to_cart_button:active{
  transform: translateY(0);
  opacity:.92;
}

/* wariacje (jeśli variable product) */
.single-product .variations_form{
  margin-top: 10px;
}

/* mobile */
@media (max-width: 980px){
  .single-product .product_title{ font-size: 30px; }
  .single-product .summary .price{ font-size: 24px; }
  .single-product form.cart{
    flex-direction: column;
    align-items: stretch;
  }
  .single-product form.cart .quantity input.qty{
    width: 100%;
  }
  .single-product form.cart .single_add_to_cart_button{
    width: 100%;
  }
}


/* === MarketPays: Woo gallery styling === */
.single-product .woocommerce-product-gallery{
  width:100%;
}

.single-product .woocommerce-product-gallery__wrapper{
  border-radius: 16px;
  overflow:hidden;
  background:#f6f8fb;
}

/* główne zdjęcie */
.single-product .woocommerce-product-gallery__image{
  border-radius: 16px;
  overflow:hidden;
}

.single-product .woocommerce-product-gallery__image img{
  width:100%;
  height:auto;
  display:block;
  object-fit: contain;
}

/* miniatury */
.single-product .flex-control-thumbs{
  display:flex !important;
  gap: 10px;
  padding: 12px 4px 0;
  margin: 0;
  list-style:none;
  overflow:auto;
  scrollbar-width:none;
}
.single-product .flex-control-thumbs::-webkit-scrollbar{ display:none; }

.single-product .flex-control-thumbs li{
  flex: 0 0 72px;
  border-radius: 12px;
  overflow:hidden;
  background:#fff;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 10px 18px rgba(0,0,0,.05);
}

.single-product .flex-control-thumbs img{
  width:100%;
  height:72px;
  object-fit: contain;
  display:block;
  opacity:.85;
}

.single-product .flex-control-thumbs img.flex-active{
  opacity:1;
  outline: 3px solid rgba(27,102,216,.25);
  outline-offset: -3px;
}

/* mobile */
@media (max-width: 980px){
  .single-product .flex-control-thumbs li{ flex-basis: 64px; }
  .single-product .flex-control-thumbs img{ height:64px; }
}

/* === FIX: galeria ma wypełniać cały lewy kafel === */
.single-product .mp-product__gallery{
  padding: 0;                 /* zabiera pusty margines w kaflu */
  display:flex;
}

.single-product .mp-product__gallery .woocommerce-product-gallery{
  width: 100% !important;
  max-width: 100% !important; /* nadpisuje Woo */
  margin: 0 !important;
  display:flex;
  flex-direction: column;
  flex: 1;
}

/* wrapper ze zdjęciami ma zająć całą przestrzeń */
.single-product .mp-product__gallery .woocommerce-product-gallery__wrapper{
  width: 100%;
  flex: 1;
}

/* każdy slajd/obrazek wypełnia wrapper */
.single-product .mp-product__gallery .woocommerce-product-gallery__image{
  width: 100%;
  height: 100%;
}

/* główne zdjęcie: wypełnij, ale zachowaj proporcje */
.single-product .mp-product__gallery .woocommerce-product-gallery__image img{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;        /* jeśli chcesz "cover" to zmień na cover */
  display:block;
}

/* miniatury – zostają na dole */
.single-product .mp-product__gallery .flex-control-thumbs{
  margin-top: 12px;
  padding: 0 12px 12px;
}


/* === MarketPays: Tabs (Opis / Opinie) === */
.single-product .woocommerce-tabs{
  margin-top: 10px;
}

.single-product ul.tabs.wc-tabs{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 0;
  margin: 0 0 12px;
  list-style:none;
  border: 0 !important;
}

.single-product ul.tabs.wc-tabs li{
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.single-product ul.tabs.wc-tabs li a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  text-decoration:none !important;
  font-weight: 900;
  font-size: 14px;
  color: rgba(15,23,42,.72);
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 12px 22px rgba(0,0,0,.06);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
}

.single-product ul.tabs.wc-tabs li a:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(0,0,0,.10);
  color:#0f172a;
}

/* aktywna zakładka */
.single-product ul.tabs.wc-tabs li.active a{
  background: linear-gradient(180deg,#1b66d8,#0f53b7);
  border-color: rgba(15,83,183,.35);
  color:#fff;
  box-shadow: 0 16px 28px rgba(15,83,183,.22);
}

/* usuń pseudo-elementy Woo, które robią dziwne kreski */
.single-product ul.tabs.wc-tabs::before,
.single-product ul.tabs.wc-tabs li::before,
.single-product ul.tabs.wc-tabs li::after{
  display:none !important;
  content:none !important;
}

/* treść zakładek jako karta */
.single-product .woocommerce-Tabs-panel{
  background:#fff;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
  padding: 18px;
}

/* typografia w treści */
.single-product .woocommerce-Tabs-panel h2{
  margin-top: 0;
  font-size: 26px;
  font-weight: 900;
  color:#0f172a;
}

.single-product .woocommerce-Tabs-panel p{
  color: rgba(15,23,42,.78);
  line-height: 1.6;
}

/* mobile */
@media (max-width: 520px){
  .single-product ul.tabs.wc-tabs{
    flex-wrap: wrap;
  }
  .single-product ul.tabs.wc-tabs li a{
    width: 100%;
    justify-content:center;
  }
}


/* === FIX: Woo tabs reset + MarketPays look === */
.single-product .woocommerce-tabs{
  margin-top: 14px;
}

/* reset woo */
.single-product .woocommerce-tabs ul.tabs{
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
  border: 0 !important;
  background: transparent !important;
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
}

.single-product .woocommerce-tabs ul.tabs::before{
  display:none !important;
  content:none !important;
}

.single-product .woocommerce-tabs ul.tabs li{
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after{
  display:none !important;
  content:none !important;
}

.single-product .woocommerce-tabs ul.tabs li a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  height: 42px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  text-decoration:none !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  color: rgba(15,23,42,.75) !important;
  background: rgba(255,255,255,.9) !important;
  border: 1px solid rgba(15,23,42,.12) !important;
  box-shadow: 0 10px 18px rgba(0,0,0,.06) !important;
}

/* active */
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li.active a:hover{
  color:#fff !important;
  background: linear-gradient(180deg,#1b66d8,#0f53b7) !important;
  border-color: rgba(15,83,183,.35) !important;
  box-shadow: 0 14px 24px rgba(15,83,183,.22) !important;
}

/* hover */
.single-product .woocommerce-tabs ul.tabs li a:hover{
  color:#0f172a !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(0,0,0,.10) !important;
}

/* panel (jedna karta, bez podwójnych ramek) */
.single-product .woocommerce-tabs .woocommerce-Tabs-panel{
  margin: 0 !important;
  padding: 18px !important;
  background:#fff !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.08) !important;
}

/* usuń dodatkowe tła jeśli Woo lub motyw coś dokłada */
.single-product .woocommerce-tabs .woocommerce-Tabs-panel > *:first-child{
  margin-top: 0 !important;
}

/* mobile */
@media (max-width: 520px){
  .single-product .woocommerce-tabs ul.tabs{
    flex-wrap: wrap !important;
  }
  .single-product .woocommerce-tabs ul.tabs li,
  .single-product .woocommerce-tabs ul.tabs li a{
    width: 100% !important;
  }
}


/* === FIX: Woo tabs reset + MarketPays look === */
.single-product .woocommerce-tabs{
  margin-top: 14px;
}

/* reset woo */
.single-product .woocommerce-tabs ul.tabs{
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
  border: 0 !important;
  background: transparent !important;
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
}

.single-product .woocommerce-tabs ul.tabs::before{
  display:none !important;
  content:none !important;
}

.single-product .woocommerce-tabs ul.tabs li{
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after{
  display:none !important;
  content:none !important;
}

.single-product .woocommerce-tabs ul.tabs li a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  height: 42px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  text-decoration:none !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  color: rgba(15,23,42,.75) !important;
  background: rgba(255,255,255,.9) !important;
  border: 1px solid rgba(15,23,42,.12) !important;
  box-shadow: 0 10px 18px rgba(0,0,0,.06) !important;
}

/* active */
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li.active a:hover{
  color:#fff !important;
  background: linear-gradient(180deg,#1b66d8,#0f53b7) !important;
  border-color: rgba(15,83,183,.35) !important;
  box-shadow: 0 14px 24px rgba(15,83,183,.22) !important;
}

/* hover */
.single-product .woocommerce-tabs ul.tabs li a:hover{
  color:#0f172a !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(0,0,0,.10) !important;
}

/* panel (jedna karta, bez podwójnych ramek) */
.single-product .woocommerce-tabs .woocommerce-Tabs-panel{
  margin: 0 !important;
  padding: 18px !important;
  background:#fff !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.08) !important;
}

/* usuń dodatkowe tła jeśli Woo lub motyw coś dokłada */
.single-product .woocommerce-tabs .woocommerce-Tabs-panel > *:first-child{
  margin-top: 0 !important;
}

/* mobile */
@media (max-width: 520px){
  .single-product .woocommerce-tabs ul.tabs{
    flex-wrap: wrap !important;
  }
  .single-product .woocommerce-tabs ul.tabs li,
  .single-product .woocommerce-tabs ul.tabs li a{
    width: 100% !important;
  }
}


/* === MarketPays: Reviews (WooCommerce) === */
.single-product #reviews.woocommerce-Reviews{
  display:block;
}

/* tytuł */
.single-product #reviews .woocommerce-Reviews-title{
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 900;
  color:#0f172a;
}

/* brak opinii */
.single-product #reviews .woocommerce-noreviews{
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15,23,42,.04);
  border: 1px solid rgba(15,23,42,.08);
  color: rgba(15,23,42,.75);
  font-weight: 700;
}

/* wrapper formularza */
.single-product #reviews #review_form_wrapper{
  margin-top: 12px;
}

/* nagłówek formularza */
.single-product #reviews #reply-title{
  display:block;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
  color:#0f172a;
}

/* etykiety */
.single-product #reviews .comment-form label{
  font-weight: 900;
  color: rgba(15,23,42,.80);
  display:block;
  margin: 0 0 6px;
}

/* pola */
.single-product #reviews .comment-form textarea,
.single-product #reviews .comment-form input[type="text"],
.single-product #reviews .comment-form input[type="email"]{
  width:100%;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.14);
  background:#fff;
  padding: 12px 12px;
  font-weight: 700;
  outline:none;
}

.single-product #reviews .comment-form textarea{
  min-height: 140px;
  resize: vertical;
}

.single-product #reviews .comment-form textarea:focus,
.single-product #reviews .comment-form input[type="text"]:focus,
.single-product #reviews .comment-form input[type="email"]:focus{
  border-color: rgba(27,102,216,.55);
  box-shadow: 0 0 0 4px rgba(27,102,216,.12);
}

/* odstępy pól */
.single-product #reviews .comment-form-comment,
.single-product #reviews .comment-form-rating{
  margin: 0 0 12px;
}

/* gwiazdki (klikane) */
.single-product #reviews .comment-form-rating .stars{
  margin: 6px 0 0;
}

.single-product #reviews .comment-form-rating .stars a{
  font-size: 20px;
  line-height: 1;
}

.single-product #reviews .comment-form-rating .stars a:hover,
.single-product #reviews .comment-form-rating .stars a.active{
  color: #f7b500;
}

/* przycisk submit */
.single-product #reviews .comment-form .form-submit{
  margin: 12px 0 0;
}

.single-product #reviews .comment-form .submit{
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 0;
  cursor:pointer;
  font-weight: 900;
  font-size: 15px;
  color:#fff;
  background: linear-gradient(180deg,#1b66d8,#0f53b7);
  box-shadow: 0 14px 24px rgba(15,83,183,.25);
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.single-product #reviews .comment-form .submit:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(15,83,183,.30);
}

.single-product #reviews .comment-form .submit:active{
  transform: translateY(0);
  opacity:.92;
}

/* cancel reply */
.single-product #reviews #cancel-comment-reply-link{
  font-weight: 900;
  text-decoration:none;
  margin-left: 10px;
  color: rgba(15,23,42,.65);
}
.single-product #reviews #cancel-comment-reply-link:hover{
  color:#0f172a;
  text-decoration:underline;
}

/* lista opinii (jak pojawią się) */
.single-product #reviews #comments ol.commentlist{
  margin: 0 0 16px;
  padding: 0;
  list-style:none;
}

.single-product #reviews #comments ol.commentlist li{
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.96);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 14px 24px rgba(0,0,0,.06);
  margin-bottom: 12px;
}

/* mobile */
@media (max-width: 520px){
  .single-product #reviews .comment-form .submit{
    width:100%;
  }
}


/* =========================
   NEWSLETTER (jak na zrzucie 2)
   ========================= */

.mp-nl{
  --mp-nl-bg: none;
  padding: 18px 0 22px;
  background: var(--mp-nl-bg) center/cover no-repeat;
}

.mp-nl .mp-container{
  max-width: 1320px;              /* jeśli masz własny kontener, możesz usunąć */
}

/* banner (szklany) */
.mp-nl__inner{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;

  padding: 22px 26px;
  
  overflow: hidden;
}

/* lewa strona */
.mp-nl__left{
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;                   /* WAŻNE: pozwala tekstowi się nie rozpychać */
}

.mp-nl__icon{
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  object-fit: contain;
}

.mp-nl__txt{ min-width: 0; }

.mp-nl__h{
  margin: 0 0 6px;
  font-size:24px;
  line-height: 1.05;
  font-weight: 900;
  color: #1d2f57;
  white-space: nowrap;            /* jak w banerze */
}

.mp-nl__p{
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: rgba(29,47,87,.78);
  white-space: nowrap;
}

/* prawa strona (CF7 / formularz) */
.mp-nl__right{
  justify-self: end;
}

/* ====== CF7 reset (to jest klucz!) ====== */
.mp-nl__right .wpcf7{ margin:0; }
.mp-nl__right .wpcf7 form{ margin:0; }

.mp-nl-cf7{
  display: flex;
  align-items: center;
  gap: 14px;
}

/* CF7 dodaje <p> i <br> – wyłączamy ich wpływ */
.mp-nl-cf7 p{
  margin: 0 !important;
  padding: 0 !important;
  display: contents;              /* usuwa “pudełko” p z layoutu */
}
.mp-nl-cf7 br{ display:none; }

.mp-nl-cf7__field{
  display:block;
}

/* input */
.mp-nl__right .wpcf7-email{
  width: 520px;
  max-width: 42vw;
  height: 52px;
  padding: 0 18px;
  border-radius: 14px;

  border: 1px solid rgba(160,196,255,.35);
  background: rgba(255,255,255,.72);
  outline: none;

  font-size: 16px;
  color: #1d2f57;
  box-shadow: 0 12px 26px rgba(10,40,90,.08);
}

.mp-nl__right .wpcf7-email:focus{
  border-color: rgba(43,131,255,.55);
  box-shadow: 0 0 0 4px rgba(43,131,255,.18), 0 12px 26px rgba(10,40,90,.08);
}

/* przycisk */
.mp-nl-cf7__btn{
  height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: #fff;
  font-weight: 500;
  font-size: 18px;

  background: linear-gradient(180deg,#2b83ff,#0f57d8);
  box-shadow: 0 14px 26px rgba(15,87,216,.25);
  white-space: nowrap;
}

.mp-nl-cf7__btn:hover{ filter: brightness(1.03); }
.mp-nl-cf7__btn:focus{
  outline:none;
  box-shadow: 0 0 0 4px rgba(43,131,255,.22), 0 14px 26px rgba(15,87,216,.25);
}

.mp-nl-cf7__arr{
  font-size: 24px;
  line-height: 1;
  transform: translateY(-1px);
}

/* komunikaty CF7 (żeby nie rozwalały układu) */
.mp-nl__right .wpcf7-response-output{
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
}

/* ===== RWD ===== */
@media (max-width: 1100px){
  .mp-nl__h, .mp-nl__p{ white-space: normal; }
  .mp-nl__inner{ grid-template-columns: 1fr; }
  .mp-nl__right{ justify-self: start; }
  .mp-nl__right .wpcf7-email{ max-width: 100%; width: min(560px, 100%); }
}

@media (max-width: 980px){
  .mp-nl__inner{
    padding: 18px 18px;
    text-align: center;
  }
  .mp-nl__left{
    justify-content: center;
    flex-direction: column;
  }
  .mp-nl__right{ justify-self: center; width: 100%; }
  .mp-nl-cf7{ justify-content: center; flex-wrap: wrap; }
  .mp-nl__right .wpcf7-email{ width: min(560px, 100%); }
}


.mp-footer{
  --mp-footer-bg: none;
  position: relative;
  color: rgba(255,255,255,.92);
  padding: 44px 0 26px;
  overflow: hidden;
}

.mp-footer__bg{
  position:absolute; inset:0;
  background: var(--mp-footer-bg) center/cover no-repeat;
  z-index:0;
}
.mp-footer::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 500px at 10% 15%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(900px 400px at 85% 15%, rgba(255,255,255,.08), transparent 62%),
    linear-gradient(180deg, rgba(5,20,55,.82), rgba(3,14,40,.94));
  z-index:1;
}
.mp-footer .mp-container{ position: relative; z-index:2; }

.mp-footer__grid{
  display:grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr 1.25fr;
  gap: 28px;
  align-items:start;
}

.mp-footer__brand{
  display:flex;
  align-items:center;
  gap:12px;
  padding-right: 12px;
}
.mp-footer__logo{ height: 40px; width:auto; object-fit:contain; }
.mp-footer__name{ font-weight:900; font-size:28px; }

.mp-footer__col{
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.10);
}
.mp-footer__h{
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 14px;
}

.mp-footer__menu{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap: 12px;
}
.mp-footer__menu a{
  color: rgba(255,255,255,.78);
  text-decoration:none;
  font-size: 20px;
}
.mp-footer__menu a:hover{ color:#fff; text-decoration: underline; }

.mp-footer__contactRow{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255,255,255,.85);
  text-decoration:none;
  font-size: 20px;
}
.mp-footer__contactRow:hover{ color:#fff; }

.mp-footer__ico{
  width: 30px;
  display:inline-flex;
  justify-content:center;
  opacity:.9;
}

.mp-footer__socials{
  display:flex;
  gap:10px;
  margin-top: 10px;
}
.mp-footer__soc{
  width: 34px; height: 34px;
  display:grid; place-items:center;
  border-radius: 10px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}
.mp-footer__soc img{ width: 22px; height: 22px; object-fit:contain; }
.mp-footer__soc:hover{ background: rgba(255,255,255,.16); }

.mp-footer__mid{
  margin-top: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.mp-footer__midGrid{
  display:grid;
  grid-template-columns: 1fr 380px;
  gap: 22px;
  align-items:center;
}

.mp-footer__payments{
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  padding: 10px 14px;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}
.mp-footer__payments img{ width:100%; height:auto; display:block; object-fit:contain; }

.mp-footer__trust{
  display:flex;
  align-items:center;
  gap: 14px;
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,.10);
}
.mp-footer__trustIco{
  width: 56px; height: 56px; object-fit:contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.22));
}
.mp-footer__trustT{ font-weight:600; font-size: 22px; }
.mp-footer__trustS{ color: rgba(255,255,255,.75); font-size: 16px; margin-top: 2px; }

.mp-footer__bot{ padding-top: 16px; }
.mp-footer__copy{
  text-align:center;
  color: rgba(255,255,255,.70);
  font-size: 18px;
}

/* RWD */
@media (max-width: 1100px){
  .mp-footer__grid{ grid-template-columns: 1fr 1fr; }
  .mp-footer__brand{ border-right:0; padding-right:0; }
  .mp-footer__col{ border-left:0; padding-left:0; }
  .mp-footer__midGrid{ grid-template-columns: 1fr; }
  .mp-footer__trust{ border-left:0; padding-left:0; justify-content:center; }
}
@media (max-width: 640px){
  .mp-footer__menu a, .mp-footer__contactRow{ font-size: 18px; }
  .mp-footer__h{ font-size: 20px; }
}


/* =========================
   SHOP (sklep/kategorie) – layout jak mp-best, ale grid + sidebar
   ========================= */

.mp-shop__layout{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  padding-bottom: 34px;
}

.mp-shop__side{
  align-self: start;
}

.mp-shopcats{
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 40px rgba(10,40,90,.12);
  border: 1px solid rgba(160,196,255,.22);
  padding: 16px 14px;
}

.mp-shopcats__title{
  font-size: 20px;
  font-weight: 900;
  color: #1d2f57;
  padding: 10px 10px 12px;
  border-bottom: 1px solid rgba(29,47,87,.10);
  margin-bottom: 10px;
}
.mp-shopcats__title a{ color: inherit; text-decoration: none; }
.mp-shopcats__title a:hover{ text-decoration: underline; }

.mp-shopcats__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.mp-shopcats__item{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.mp-shopcats__spacer{ width:18px; height:18px; }

.mp-shopcats__toggle{
  width: 18px; height: 18px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  background: rgba(29,47,87,.08);
  position: relative;
}
.mp-shopcats__toggle::before,
.mp-shopcats__toggle::after{
  content:"";
  position:absolute;
  left: 50%; top: 50%;
  width: 10px; height: 2px;
  background: rgba(29,47,87,.65);
  transform: translate(-50%,-50%);
  border-radius: 2px;
}
.mp-shopcats__toggle::after{
  transform: translate(-50%,-50%) rotate(90deg);
}
.mp-shopcats__item.is-open .mp-shopcats__toggle::after{
  display:none;
}

.mp-shopcats__a{
  text-decoration: none;
  color: rgba(29,47,87,.92);
  font-weight: 800;
  line-height: 1.25;
}
.mp-shopcats__a:hover{ color:#0f57d8; }

.mp-shopcats__sub{
  grid-column: 2 / -1;
  padding-left: 10px;
  margin-top: 6px;
  border-left: 1px dashed rgba(29,47,87,.20);
}

/* sort bar */
.mp-shop__bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 14px;

  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(160,196,255,.22);
  box-shadow: 0 14px 40px rgba(10,40,90,.10);
}

.mp-shop__sort{
  display:flex;
  align-items:center;
  gap: 10px;
}
.mp-shop__sortLbl{
  font-weight: 800;
  color:#1d2f57;
}
.mp-shop__sortSel{
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(160,196,255,.45);
  background: rgba(255,255,255,.85);
  padding: 0 14px;
  font-weight: 800;
  color:#1d2f57;
}

/* produkty jako GRID – bez slidera */
.woocommerce ul.products{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 !important;
}

.mp-shop__li{
  margin: 0 !important;
  width: auto !important;
}

.mp-shop__card{
  height: 100%;
}

/* paginacja */
.mp-shop__pagination{
  margin-top: 18px;
  display:flex;
  justify-content:center;
}

/* RWD */
@media (max-width: 1200px){
  .woocommerce ul.products{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px){
  .mp-shop__layout{ grid-template-columns: 1fr; }
  .woocommerce ul.products{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .woocommerce ul.products{ grid-template-columns: 1fr; }
}

/* wrapper jak MarketPays */
.mp-account{
  padding: 34px 0 54px;
  background: linear-gradient(180deg, rgba(31,95,191,.10), rgba(103,183,255,.08));
}
.mp-account__head{
  background: rgba(255,255,255,.82);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(10,40,90,.10);
  margin-bottom: 14px;
}
.mp-account__title{
  margin:0 0 6px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 900;
  color:#1d2f57;
}
.mp-account__desc{ margin:0; color:#27406f; opacity:.9; }
.mp-account__cta{ margin-top:12px; }

.mp-account__notice{
  margin-top:12px;
  padding:12px 14px;
  border-radius: 12px;
  background: rgba(245,158,11,.12);
  color:#7a4b00;
  font-weight: 800;
}

.mp-account__card{
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 40px rgba(10,40,90,.12);
  padding: 18px;
}

/* WooCommerce: nawigacja + formularze */
.woocommerce-account .woocommerce{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
}
@media(max-width: 900px){
  .woocommerce-account .woocommerce{ grid-template-columns: 1fr; }
}

.woocommerce-MyAccount-navigation{
  background: rgba(31,95,191,.06);
  border-radius: 16px;
  padding: 12px;
}
.woocommerce-MyAccount-navigation ul{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.woocommerce-MyAccount-navigation li a{
  display:block;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration:none;
  font-weight: 900;
  color:#1d2f57;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(10,40,90,.06);
}
.woocommerce-MyAccount-navigation li.is-active a{
  outline: 3px solid rgba(31,95,191,.15);
}

.woocommerce-MyAccount-content{
  background: rgba(255,255,255,.9);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(10,40,90,.06);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea{
  width:100%;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.12);
  padding: 10px 12px;
  font-size: 14px;
  outline:none;
  background:#fff;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus{
  border-color: rgba(31,95,191,.35);
  box-shadow: 0 0 0 4px rgba(31,95,191,.12);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
  border:0 !important;
  cursor:pointer !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  font-weight: 900 !important;
  color:#fff !important;
  background: linear-gradient(180deg,#1b66d8,#0f53b7) !important;
  box-shadow: 0 14px 24px rgba(15,83,183,.25) !important;
}


.mp-auth{
  padding: 34px 0 54px;
  background: linear-gradient(180deg, rgba(31,95,191,.10), rgba(103,183,255,.08));
}
.mp-auth__head{
  background: rgba(255,255,255,.82);
  border-radius: 16px;
  padding: 18px 18px;
  box-shadow: 0 14px 40px rgba(10,40,90,.10);
  margin-bottom: 14px;
}
.mp-auth__title{
  margin: 0 0 6px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 900;
  color:#1d2f57;
}
.mp-auth__desc{ margin:0; color:#27406f; opacity:.9; }

.mp-auth__tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 14px 0 14px;
}
.mp-auth__tab{ border:0; cursor:pointer; }
.mp-auth__tab.is-active{
  outline: 3px solid rgba(31,95,191,.15);
}

.mp-auth__grid{ display:block; }
.mp-auth__panel{ display:none; }
.mp-auth__panel.is-active{ display:block; }

.mp-auth__card{
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 40px rgba(10,40,90,.12);
  overflow:hidden;
  padding: 18px;
}

.mp-auth__h2{
  margin:0 0 12px;
  font-size: 22px;
  font-weight: 900;
  color:#1d2f57;
}

/* lekka kosmetyka pól w formularzu z wtyczki */
.mp-register-form p{ margin: 0 0 12px; }
.mp-register-form label{ font-weight:700; color:#1d2f57; }
.mp-register-form input{
  width:100%;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.12);
  padding: 10px 12px;
  font-size: 14px;
  outline:none;
  background:#fff;
}
.mp-register-form input:focus{
  border-color: rgba(31,95,191,.35);
  box-shadow: 0 0 0 4px rgba(31,95,191,.12);
}
.mp-register-form button{
  border:0;
  cursor:pointer;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 900;
  color:#fff;
  background: linear-gradient(180deg,#1b66d8,#0f53b7);
  box-shadow: 0 14px 24px rgba(15,83,183,.25);
}


/* ===== MP SHOP FORCE (działa nawet na domyślnym archive WC) ===== */
.mp-shop-page.woocommerce .woocommerce-breadcrumb,
.mp-shop-page.woocommerce .page-title,
.mp-shop-page.woocommerce .woocommerce-result-count,
.mp-shop-page.woocommerce .woocommerce-ordering{
  display:none !important;
}

/* tło sekcji jak mp-best */
.mp-shop-page.woocommerce .site-main{
padding: 34px 0 44px;
}

/* wrapper jak mp-container */
.mp-shop-page.woocommerce .site-main > .woocommerce{
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

/* tytuł */
.mp-shop-page.woocommerce .site-main > .woocommerce::before{
  content: "Sklep";
  display:block;
  font-size: 54px;
  line-height: 1.05;
  font-weight: 900;
  color:#fff;
  text-shadow: 0 14px 40px rgba(10,40,90,.45);
  margin: 0 0 16px;
}

/* grid produktów */
.mp-shop-page.woocommerce ul.products{
  display:grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
  margin: 0 !important;
}

/* karty jak mp-best (twardo) */
.mp-shop-page.woocommerce ul.products li.product{
  margin:0 !important;
  width:auto !important;
  float:none !important;
}

.mp-shop-page.woocommerce ul.products li.product a img{
  border-radius: 14px;
}


/* ===== SHOP: naprawa kafelków produktów (1:1 jak mp-best) ===== */
.mp-shop-page.woocommerce ul.products{
  align-items: stretch;
}

/* kartę robimy z li.product */
.mp-shop-page.woocommerce ul.products li.product{
  background: rgba(255,255,255,.88) !important;
  border-radius: 16px !important;
  box-shadow: 0 14px 40px rgba(10,40,90,.12) !important;
  overflow: hidden !important;
  padding: 0px 0px 0px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  min-height: 390px;
}

/* usuń domyślne marginesy WC */
.mp-shop-page.woocommerce ul.products li.product > *{
  margin: 0 !important;
}

/* obrazek w “ramce” jak mp-best */
.mp-shop-page.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
  display: grid !important;
  gap: 10px !important;
  text-decoration: none !important;
}

.mp-shop-page.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img{
  width: 100% !important;
  height: 210px !important;
  object-fit: contain !important;
  background: rgba(29,47,87,.04);
  border-radius: 14px !important;
  padding: 10px !important;
  margin: 0 !important;
}

/* tytuł */
.mp-shop-page.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  color: #1d2f57 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* gwiazdki */
.mp-shop-page.woocommerce ul.products li.product .star-rating{
  margin: 2px 0 0 !important;
}

/* cena */
.mp-shop-page.woocommerce ul.products li.product .price{
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #1d2f57 !important;
  margin-top: 4px !important;
}
.mp-shop-page.woocommerce ul.products li.product .price del{
  opacity: .55;
  margin-right: 6px;
}
.mp-shop-page.woocommerce ul.products li.product .price ins{
  text-decoration: none;
  color: #0f57d8;
}

/* przycisk – na dół karty */
.mp-shop-page.woocommerce ul.products li.product .button,
.mp-shop-page.woocommerce ul.products li.product a.button{
  margin-top: auto !important;
  height: 52px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 0 18px !important;

  background: linear-gradient(180deg,#2b83ff,#0f57d8) !important;
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 18px !important;
  text-decoration: none !important;

  box-shadow: 0 14px 26px rgba(15,87,216,.25) !important;
  border: 0 !important;
}

/* badge “Promocja!” itd – żeby nie rozwalało */
.mp-shop-page.woocommerce ul.products li.product .onsale{
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  border-radius: 999px !important;
  padding: 8px 12px !important;
  font-weight: 900 !important;
  background: #ffcc00 !important;
  color: #1d2f57 !important;
}
.mp-shop-page.woocommerce ul.products li.product{
  position: relative !important;
}

/* RWD wysokość zdjęcia */
@media (max-width: 980px){
  .mp-shop-page.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img{
    height: 190px !important;
  }
  .mp-shop-page.woocommerce ul.products li.product{
    min-height: 400px;
  }
}


.mojeejj {
font-size: 12px !important;
	
}

/* ===== Stabilna siatka: każdy kafelek ma tę samą wysokość ===== */
.mp-shop-page.woocommerce ul.products{
  align-items: stretch;
}

.mp-shop-page.woocommerce ul.products li.product{
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 430px;           /* możesz dostroić */
}

/* ===== Stały boks na zdjęcie (niezależnie od proporcji) ===== */
.mp-shop-page.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

/* tworzymy “ramkę” o stałym ratio */
.mp-shop-page.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
  position: relative;
}

.mp-shop-page.woocommerce ul.products li.product a.woocommerce-LoopProduct-link::before{
  content:"";
  display:block;
  width:100%;
  aspect-ratio: 1 / 1;          /* kwadrat jak w mp-best; zmień np. 4/3 jeśli wolisz */
  background: rgba(29,47,87,.04);
  border-radius: 14px;
}

/* obraz absolutnie wypełnia ramkę */
.mp-shop-page.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img{
  position: absolute !important;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 10px !important;
  margin: 0 !important;
  border-radius: 14px !important;
  background: transparent !important;
}

/* ===== Teksty: ograniczamy rozjazd tytułem ===== */
.mp-shop-page.woocommerce ul.products li.product .woocommerce-loop-product__title{
  display: -webkit-box;
  -webkit-line-clamp: 2;         /* max 2 linie */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;              /* stała wysokość tytułu */
}

/* ===== Cena i ocena mają stałe “sloty” ===== */
.mp-shop-page.woocommerce ul.products li.product .star-rating{
  min-height: 18px;
}

.mp-shop-page.woocommerce ul.products li.product .price{
  min-height: 26px;
}

/* ===== Przycisk zawsze na dole ===== */
.mp-shop-page.woocommerce ul.products li.product .button,
.mp-shop-page.woocommerce ul.products li.product a.button{
  margin-top: auto !important;
}

/* ===== RWD ===== */
@media (max-width: 980px){
  .mp-shop-page.woocommerce ul.products li.product{
    min-height: 410px;
  }
  .mp-shop-page.woocommerce ul.products li.product a.woocommerce-LoopProduct-link::before{
    aspect-ratio: 1 / 1;
  }
}


/* MarketPays – Moje konto */
.mp-account{
  padding: 34px 0 54px;
  background: linear-gradient(180deg, rgba(31,95,191,.10), rgba(103,183,255,.08));
}

.mp-account__head{
  background: rgba(255,255,255,.82);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(10,40,90,.10);
  margin-bottom: 14px;
}

.mp-account__title{
  margin:0 0 6px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 900;
  color:#1d2f57;
}

.mp-account__desc{
  margin:0;
  color:#27406f;
  opacity:.9;
}

.mp-account__cta{ margin-top:12px; }

.mp-account__notice{
  margin-top:12px;
  padding:12px 14px;
  border-radius: 12px;
  background: rgba(245,158,11,.12);
  color:#7a4b00;
  font-weight: 800;
}

.mp-account__card{
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 40px rgba(10,40,90,.12);
  padding: 18px;
}

/* WooCommerce – układ nawigacji i treści */
.woocommerce-account .woocommerce{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
}

@media(max-width: 900px){
  .woocommerce-account .woocommerce{
    grid-template-columns: 1fr;
  }
}

.woocommerce-MyAccount-navigation{
  background: rgba(31,95,191,.06);
  border-radius: 16px;
  padding: 12px;
}

.woocommerce-MyAccount-navigation ul{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.woocommerce-MyAccount-navigation li a{
  display:block;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration:none;
  font-weight: 900;
  color:#1d2f57;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(10,40,90,.06);
}

.woocommerce-MyAccount-navigation li.is-active a{
  outline: 3px solid rgba(31,95,191,.15);
}

.woocommerce-MyAccount-content{
  background: rgba(255,255,255,.9);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(10,40,90,.06);
}

/* Formularze Woo */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea{
  width:100%;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.12);
  padding: 10px 12px;
  font-size: 14px;
  outline:none;
  background:#fff;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus{
  border-color: rgba(31,95,191,.35);
  box-shadow: 0 0 0 4px rgba(31,95,191,.12);
}

/* Przyciski Woo */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
  border:0 !important;
  cursor:pointer !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  font-weight: 900 !important;
  color:#fff !important;
  background: linear-gradient(180deg,#1b66d8,#0f53b7) !important;
  box-shadow: 0 14px 24px rgba(15,83,183,.25) !important;
}

.show-password-input {
display: none;	
	
}

/* MarketPays – Moje konto */
.mp-account{
  padding: 34px 0 54px;
  background: linear-gradient(180deg, rgba(31,95,191,.10), rgba(103,183,255,.08));
}

.mp-account__head{
  background: rgba(255,255,255,.82);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(10,40,90,.10);
  margin-bottom: 14px;
}

.mp-account__title{
  margin:0 0 6px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 900;
  color:#1d2f57;
}

.mp-account__desc{
  margin:0;
  color:#27406f;
  opacity:.9;
}

.mp-account__cta{ margin-top:12px; }

.mp-account__notice{
  margin-top:12px;
  padding:12px 14px;
  border-radius: 12px;
  background: rgba(245,158,11,.12);
  color:#7a4b00;
  font-weight: 800;
}

.mp-account__card{
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 40px rgba(10,40,90,.12);
  padding: 18px;
}

/* WooCommerce – układ nawigacji i treści */
.woocommerce-account .woocommerce{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
}

@media(max-width: 900px){
  .woocommerce-account .woocommerce{
    grid-template-columns: 1fr;
  }
}

.woocommerce-MyAccount-navigation{
  background: rgba(31,95,191,.06);
  border-radius: 16px;
  padding: 12px;
}

.woocommerce-MyAccount-navigation ul{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.woocommerce-MyAccount-navigation li a{
  display:block;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration:none;
  font-weight: 900;
  color:#1d2f57;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(10,40,90,.06);
}

.woocommerce-MyAccount-navigation li.is-active a{
  outline: 3px solid rgba(31,95,191,.15);
}

.woocommerce-MyAccount-content{
  background: rgba(255,255,255,.9);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(10,40,90,.06);
}

/* Formularze Woo */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea{
  width:100%;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.12);
  padding: 10px 12px;
  font-size: 14px;
  outline:none;
  background:#fff;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus{
  border-color: rgba(31,95,191,.35);
  box-shadow: 0 0 0 4px rgba(31,95,191,.12);
}

/* Przyciski Woo */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
  border:0 !important;
  cursor:pointer !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  font-weight: 900 !important;
  color:#fff !important;
  background: linear-gradient(180deg,#1b66d8,#0f53b7) !important;
  box-shadow: 0 14px 24px rgba(15,83,183,.25) !important;
}


/* ===== Woo Reviews: gwiazdki w formularzu zamiast linków ===== */
.woocommerce #review_form #respond p.stars{
  display:flex;
  align-items:center;
  gap:10px;
  margin: 6px 0 14px;
}

.woocommerce #review_form #respond p.stars a{
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-block;
  text-indent: -9999px;         /* ukrywa tekst linków */
  overflow: hidden;
  border-radius: 10px;
  background: rgba(29,47,87,.06);
  border: 1px solid rgba(160,196,255,.35);
}

.woocommerce #review_form #respond p.stars a::before{
  content: "★";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size: 20px;
  color: rgba(29,47,87,.35);
  text-indent: 0;
}

.woocommerce #review_form #respond p.stars a:hover,
.woocommerce #review_form #respond p.stars a.active{
  background: rgba(43,131,255,.12);
  border-color: rgba(43,131,255,.45);
}

.woocommerce #review_form #respond p.stars a:hover::before,
.woocommerce #review_form #respond p.stars a.active::before{
  color: #0f57d8;
}

/* zaznaczanie “ciągiem” (1..5) */
.woocommerce #review_form #respond p.stars.selected a::before{
  color: rgba(29,47,87,.35);
}
.woocommerce #review_form #respond p.stars.selected a.active::before,
.woocommerce #review_form #respond p.stars.selected a.active ~ a::before{
  color: rgba(29,47,87,.35);
}
.woocommerce #review_form #respond p.stars.selected a:not(.active)::before{
  color: #0f57d8;
}

/* inputy w formularzu opinii żeby pasowały do stylu */
.woocommerce #review_form #respond textarea,
.woocommerce #review_form #respond input[type="text"],
.woocommerce #review_form #respond input[type="email"]{
  border-radius: 14px;
  border: 1px solid rgba(160,196,255,.35);
  background: rgba(255,255,255,.85);
  box-shadow: 0 10px 22px rgba(10,40,90,.08);
}

.woocommerce #review_form #respond .form-submit input{
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg,#2b83ff,#0f57d8);
  color:#fff;
  font-weight:900;
  padding: 12px 18px;
  box-shadow: 0 14px 26px rgba(15,87,216,.25);
}


/* ===== Woo Reviews Stars FIX ===== */

/* baza */
.woocommerce #review_form #respond p.stars{
  display:flex;
  gap:10px;
  margin: 6px 0 14px;
}

.woocommerce #review_form #respond p.stars a{
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-block;
  text-indent: -9999px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(29,47,87,.06);
  border: 1px solid rgba(160,196,255,.35);
}

.woocommerce #review_form #respond p.stars a::before{
  content: "★";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size: 20px;
  color: rgba(29,47,87,.30);
  text-indent: 0;
}

/* HOVER: Woo podświetla "do tej" gwiazdki – działa przez ~ (odwrócone) */
.woocommerce #review_form #respond p.stars:hover a::before{
  color: rgba(29,47,87,.30);
}
.woocommerce #review_form #respond p.stars:hover a:hover::before,
.woocommerce #review_form #respond p.stars:hover a:hover ~ a::before{
  color: rgba(29,47,87,.30);
}
/* żeby hover faktycznie malował od 1 do X, robimy kierunek RTL tylko na czas hover */
.woocommerce #review_form #respond p.stars{
  direction: rtl;              /* klucz */
}
.woocommerce #review_form #respond p.stars a{
  direction: ltr;              /* tekst w środku normalnie */
}

/* hover: w RTL "~" działa jak "wszystkie po lewej" */
.woocommerce #review_form #respond p.stars:hover a:hover::before,
.woocommerce #review_form #respond p.stars:hover a:hover ~ a::before{
  color: #0f57d8;
}

/* SELECTED: po kliknięciu Woo dodaje .selected + .active */
.woocommerce #review_form #respond p.stars.selected a::before{
  color: rgba(29,47,87,.30);
}
.woocommerce #review_form #respond p.stars.selected a.active::before,
.woocommerce #review_form #respond p.stars.selected a.active ~ a::before{
  color: #0f57d8;
}

/* wygląd aktywnego boksu */
.woocommerce #review_form #respond p.stars a:hover,
.woocommerce #review_form #respond p.stars a.active{
  background: rgba(43,131,255,.12);
  border-color: rgba(43,131,255,.45);
}
/* ===== Stars: mają być po lewej (a logika rtl zostaje) ===== */
.woocommerce #review_form #respond p.stars{
  justify-content: flex-start;
  width: fit-content;
}

/* opcjonalnie: żeby nie “uciekały” przy szerokim kontenerze */
.woocommerce #review_form #respond .comment-form-rating{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


/* ===== Stars left + RTL logic ===== */
.woocommerce #review_form #respond p.stars{
  display: flex;
  justify-content: flex-start;
  flex-direction: row-reverse;   /* klucz: wizualnie wraca na lewo */
  width: fit-content;
}

/* wrapper ratingu na lewo */
.woocommerce #review_form #respond .comment-form-rating{
  display:flex;
  flex-direction: column;
  align-items:flex-start;
}

/* ===== Woo breadcrumb (pasek) ===== */
.woocommerce .woocommerce-breadcrumb{
  width: min(1240px, calc(100% - 40px));
  margin: 14px auto 18px;
  padding: 10px 16px;
  border-radius: 14px;

  background: rgba(255,255,255,.78);
  border: 1px solid rgba(160,196,255,.30);
  box-shadow: 0 14px 40px rgba(10,40,90,.10);
  backdrop-filter: blur(6px);

  font-size: 14px;
  font-weight: 700;
  color: rgba(29,47,87,.75);
}

.woocommerce .woocommerce-breadcrumb a{
  color: #0f57d8;
  text-decoration: none;
  font-weight: 800;
}
.woocommerce .woocommerce-breadcrumb a:hover{
  text-decoration: underline;
}

/* separator */
.woocommerce .woocommerce-breadcrumb{
  --mp-bc-sep: " / ";
}
.woocommerce .woocommerce-breadcrumb a + span,
.woocommerce .woocommerce-breadcrumb a + a{
  /* nic – Woo różnie renderuje */
}
.woocommerce .woocommerce-breadcrumb{
  letter-spacing: .1px;
}


/* MarketPays – Moje konto (login + buyer + seller) */
.mp-accountHub{
  padding: 34px 0 54px;
  background: linear-gradient(180deg, rgba(31,95,191,.10), rgba(103,183,255,.08));
}

.mp-accountHub__head{
  background: rgba(255,255,255,.82);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(10,40,90,.10);
  margin-bottom: 14px;
}

.mp-accountHub__title{
  margin:0 0 6px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 900;
  color:#1d2f57;
}

.mp-accountHub__desc{ margin:0; color:#27406f; opacity:.9; }

.mp-accountHub__card{
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 40px rgba(10,40,90,.12);
  padding: 18px;
}

.mp-accountHub__h2{
  margin:0 0 12px;
  font-size: 22px;
  font-weight: 900;
  color:#1d2f57;
}

.mp-accountHub__hint{
  margin: 12px 0 0;
  opacity:.85;
}

.mp-accountHub__notice{
  padding:12px 14px;
  border-radius: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.mp-accountHub__notice--warn{
  background: rgba(245,158,11,.12);
  color:#7a4b00;
}

/* ładniejsze pola logowania Woo */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea{
  width:100%;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.12);
  padding: 10px 12px;
  font-size: 14px;
  outline:none;
  background:#fff;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus{
  border-color: rgba(31,95,191,.35);
  box-shadow: 0 0 0 4px rgba(31,95,191,.12);
}

/* przyciski Woo */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
  border:0 !important;
  cursor:pointer !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  font-weight: 900 !important;
  color:#fff !important;
  background: linear-gradient(180deg,#1b66d8,#0f53b7) !important;
  box-shadow: 0 14px 24px rgba(15,83,183,.25) !important;
}

/* ===== WooCommerce LOGIN – MarketPays styles ===== */

.woocommerce form.woocommerce-form-login{
  margin:0;
}

.woocommerce form.woocommerce-form-login p{
  margin: 0 0 12px;
}

.woocommerce form.woocommerce-form-login label{
  display:block;
  font-weight: 800;
  color:#1d2f57;
  margin: 0 0 6px;
}

/* Woo używa czasem .woocommerce-Input zamiast input.input-text */
.woocommerce form.woocommerce-form-login input.input-text,
.woocommerce form.woocommerce-form-login input.woocommerce-Input,
.woocommerce form.woocommerce-form-login input[type="text"],
.woocommerce form.woocommerce-form-login input[type="password"],
.woocommerce form.woocommerce-form-login input[type="email"]{
  width:100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.12);
  padding: 10px 12px;
  font-size: 14px;
  outline:none;
  background:#fff;
}

.woocommerce form.woocommerce-form-login input:focus{
  border-color: rgba(31,95,191,.35);
  box-shadow: 0 0 0 4px rgba(31,95,191,.12);
}

/* checkbox + remember me */
.woocommerce form.woocommerce-form-login .woocommerce-form__label-for-checkbox{
  display:flex;
  align-items:center;
  gap:10px;
  margin: 6px 0 10px;
  font-weight: 700;
  color:#1d2f57;
}

.woocommerce form.woocommerce-form-login .woocommerce-form__label-for-checkbox input{
  width:auto;
}

/* button */
.woocommerce form.woocommerce-form-login button.button,
.woocommerce form.woocommerce-form-login input.button{
  border:0 !important;
  cursor:pointer !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  font-weight: 900 !important;
  color:#fff !important;
  background: linear-gradient(180deg,#1b66d8,#0f53b7) !important;
  box-shadow: 0 14px 24px rgba(15,83,183,.25) !important;
}

/* linki */
.woocommerce form.woocommerce-form-login a{
  color:#0f53b7;
  font-weight: 800;
  text-decoration: none;
}
.woocommerce form.woocommerce-form-login a:hover{
  text-decoration: underline;
}

/* Woo czasem ustawia inputy na małe — wymuś szerokość w #customer_login */
#customer_login input{
  width:100% !important;
  max-width: 100% !important;
}

/* opcjonalnie: trochę luzu dla komunikatów */
.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-error,
.woocommerce-info{
  border-radius: 12px;
}
/* ===== MarketPays: login w Moje konto (Woo) ===== */

.mp-accountHub__card .woocommerce-form-login{
  margin: 0;
}

/* 2 kolumny dla username/hasło */
.mp-accountHub__card .woocommerce-form-login .form-row-first,
.mp-accountHub__card .woocommerce-form-login .form-row-last{
  width: 50%;
  float: left;
  box-sizing: border-box;
}

.mp-accountHub__card .woocommerce-form-login .form-row-first{
  padding-right: 8px;
}
.mp-accountHub__card .woocommerce-form-login .form-row-last{
  padding-left: 8px;
}

/* reszta w pełnej szerokości */
.mp-accountHub__card .woocommerce-form-login .form-row{
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
}

/* label */
.mp-accountHub__card .woocommerce-form-login label{
  display: block;
  margin: 0 0 6px;
  font-weight: 800;
  color: #1d2f57;
}

/* inputy full */
.mp-accountHub__card .woocommerce-form-login input.input-text,
.mp-accountHub__card .woocommerce-form-login input.woocommerce-Input{
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.12);
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.mp-accountHub__card .woocommerce-form-login input.input-text:focus,
.mp-accountHub__card .woocommerce-form-login input.woocommerce-Input:focus{
  border-color: rgba(31,95,191,.35);
  box-shadow: 0 0 0 4px rgba(31,95,191,.12);
}

/* checkbox */
.mp-accountHub__card .woocommerce-form-login .woocommerce-form__label-for-checkbox{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 10px;
  font-weight: 800;
  color: #1d2f57;
}
.mp-accountHub__card .woocommerce-form-login .woocommerce-form__label-for-checkbox input{
  width: auto !important;
}

/* przycisk */
.mp-accountHub__card .woocommerce-form-login button.woocommerce-button.button{
  width: 100%;
  border: 0 !important;
  cursor: pointer !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  font-weight: 900 !important;
  color: #fff !important;
  background: linear-gradient(180deg,#1b66d8,#0f53b7) !important;
  box-shadow: 0 14px 24px rgba(15,83,183,.25) !important;
}

/* link "nie pamiętasz hasła" + inne */
.mp-accountHub__card .woocommerce-form-login .lost_password{
  margin: 10px 0 0;
}
.mp-accountHub__card .woocommerce-form-login a{
  color: #0f53b7;
  font-weight: 800;
  text-decoration: none;
}
.mp-accountHub__card .woocommerce-form-login a:hover{
  text-decoration: underline;
}

/* mobile: jedna kolumna */
@media (max-width: 800px){
  .mp-accountHub__card .woocommerce-form-login .form-row-first,
  .mp-accountHub__card .woocommerce-form-login .form-row-last{
    width: 100%;
    float: none;
    padding: 0;
  }
}

/* FIX: "Zapamiętaj mnie" + przycisk w jednym wierszu */
.mp-accountHub__card .woocommerce-form-login p.form-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* checkbox zawsze w normalnym miejscu, bez uciekania na bok */
.mp-accountHub__card .woocommerce-form-login .woocommerce-form__label-for-checkbox{
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* przycisk pod checkboxem, na pełną szerokość */
.mp-accountHub__card .woocommerce-form-login button.woocommerce-button.button{
  width: 100%;
  margin-top: 2px;
}

/* usuń ewentualne floaty/clear, które Woo/motyw dodaje */
.mp-accountHub__card .woocommerce-form-login .clear{
  display: none !important;
}

/* ================================
   MarketPays – Panel sprzedawcy
   (frontend)
================================ */

/* tło sekcji (opcjonalnie, jeśli chcesz jak w My Account) */
.mp-sellerPage{
  padding: 34px 0 54px;
  background: linear-gradient(180deg, rgba(31,95,191,.10), rgba(103,183,255,.08));
}

/* całość panelu z shortcode */
.mp-seller{
  max-width: 1100px;
}

/* zakładki u góry */
.mp-seller__tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 8px 0 16px;
}

.mp-seller__tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 24px rgba(10,40,90,.08);
  text-decoration:none;
  font-weight: 900;
  color:#1d2f57;
  transition: transform .12s ease, box-shadow .12s ease;
}

.mp-seller__tab:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(10,40,90,.12);
}

.mp-seller__tab.is-active{
  outline: 3px solid rgba(31,95,191,.15);
}

/* karta */
.mp-seller__card{
  background: rgba(255,255,255,.88);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(10,40,90,.12);
}

.mp-seller__card--mb{
  margin-bottom: 14px;
}

.mp-seller__h2{
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 900;
  color:#1d2f57;
}

/* form */
.mp-seller__form p{
  margin: 0 0 12px;
}

.mp-seller__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media(max-width: 900px){
  .mp-seller__row{ grid-template-columns: 1fr; }
}

.mp-seller label{
  font-weight: 800;
  color:#1d2f57;
}

.mp-seller input,
.mp-seller textarea,
.mp-seller select{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.12);
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.mp-seller input:focus,
.mp-seller textarea:focus,
.mp-seller select:focus{
  border-color: rgba(31,95,191,.35);
  box-shadow: 0 0 0 4px rgba(31,95,191,.12);
}

/* button */
.mp-seller__btn{
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 900;
  color:#fff;
  background: linear-gradient(180deg,#1b66d8,#0f53b7);
  box-shadow: 0 14px 24px rgba(15,83,183,.25);
  transition: transform .12s ease, box-shadow .12s ease;
}

.mp-seller__btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(15,83,183,.28);
}

/* messages */
.mp-seller__msg{
  margin: 0 0 12px;
  font-weight: 900;
  padding: 10px 12px;
  border-radius: 12px;
}

.mp-seller__msg--ok{
  background: rgba(34,197,94,.12);
  color: #0b7a2a;
}

.mp-seller__msg--err{
  background: rgba(220,38,38,.12);
  color: #8b0000;
}

/* tabela */
.mp-seller__tableWrap{
  overflow:auto;
  border-radius: 14px;
  background: rgba(31,95,191,.05);
  padding: 10px;
}

.mp-seller__table{
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,.9);
  border-radius: 12px;
  overflow: hidden;
}

.mp-seller__table th,
.mp-seller__table td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(15,23,42,.08);
  text-align: left;
  white-space: nowrap;
}

.mp-seller__table th{
  font-weight: 900;
  color:#1d2f57;
  background: rgba(31,95,191,.07);
}

.mp-seller__table tr:last-child td{
  border-bottom: 0;
}

/* checkboxy dostawy */
.mp-seller__checks{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0 6px;
}

@media(max-width: 800px){
  .mp-seller__checks{ grid-template-columns: 1fr; }
}

.mp-seller__check{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(31,95,191,.06);
}

.mp-seller__check input{
  width: auto;
}

.mp-seller__hint{
  margin: 10px 0 0;
  opacity: .8;
  color:#1d2f57;
}


/* ===== Kontakt ===== */
.mp-contact{
  padding: 34px 0 50px;
}

.mp-contact__grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  align-items: start;
}

.mp-contact__card{
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 40px rgba(10,40,90,.12);
  border: 1px solid rgba(160,196,255,.25);
  backdrop-filter: blur(6px);
  padding: 22px;
}

.mp-contact__h{
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 900;
  color: #1d2f57;
}

.mp-contact__p{
  margin: 0 0 16px;
  font-size: 16px;
  color: rgba(29,47,87,.78);
  line-height: 1.35;
}

.mp-contact__rows{
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.mp-contact__row{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1d2f57;
  font-weight: 800;
}

.mp-contact__row:hover{
  color:#0f57d8;
}

.mp-contact__ico{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(43,131,255,.10);
  border: 1px solid rgba(43,131,255,.25);
}

.mp-contact__sh{
  font-weight: 900;
  color:#1d2f57;
  margin: 0 0 10px;
  font-size: 18px;
}

.mp-contact__socials{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mp-contact__soc{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(160,196,255,.30);
  box-shadow: 0 10px 22px rgba(10,40,90,.08);
}

.mp-contact__soc img{
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* FORM */
.mp-contact__card--form{
  padding: 22px;
}

.mp-contact__formH{
  font-size: 22px;
  font-weight: 900;
  color:#1d2f57;
  margin: 0 0 14px;
}

/* CF7 dopasowanie */
.mp-contact__form .wpcf7 form{
  margin: 0;
}
.mp-contact__form .wpcf7 input[type="text"],
.mp-contact__form .wpcf7 input[type="email"],
.mp-contact__form .wpcf7 input[type="tel"],
.mp-contact__form .wpcf7 textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(160,196,255,.35);
  background: rgba(255,255,255,.85);
  padding: 12px 14px;
  outline: none;
  box-shadow: 0 10px 22px rgba(10,40,90,.08);
}

.mp-contact__form .wpcf7 textarea{
  min-height: 160px;
  resize: vertical;
}

.mp-contact__form .wpcf7 input[type="submit"],
.mp-contact__form .wpcf7 button{
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg,#2b83ff,#0f57d8);
  color:#fff;
  font-weight: 900;
  padding: 12px 18px;
  box-shadow: 0 14px 26px rgba(15,87,216,.25);
  cursor:pointer;
}

.mp-contact__form .wpcf7 .wpcf7-response-output{
  margin: 12px 0 0;
  border-radius: 12px;
}

/* RWD */
@media (max-width: 980px){
  .mp-contact__grid{
    grid-template-columns: 1fr;
  }
  .mp-contact__h{
    font-size: 32px;
  }
}


.mp-contact{ padding: 34px 0 50px; }

.mp-contact__grid{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap:18px;
  align-items:start;
}

.mp-contact__stack{ display:grid; gap:18px; }

.mp-contact__card{
  border-radius:18px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 40px rgba(10,40,90,.12);
  border: 1px solid rgba(160,196,255,.25);
  backdrop-filter: blur(6px);
  padding:22px;
}

.mp-contact__secH{
  margin:0 0 12px;
  font-size:22px;
  font-weight:900;
  color:#1d2f57;
}

.mp-contact__rich{
  font-size:16px;
  color: rgba(29,47,87,.78);
  line-height:1.45;
}
.mp-contact__rich p{ margin: 0 0 10px; }
.mp-contact__rich p:last-child{ margin-bottom:0; }

.mp-contact__rows{ display:grid; gap:10px; margin-bottom:12px; }

.mp-contact__row{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#1d2f57;
  font-weight:800;
}
.mp-contact__row:hover{ color:#0f57d8; }

.mp-contact__ico{
  width:34px; height:34px;
  border-radius:10px;
  display:grid; place-items:center;
  background: rgba(43,131,255,.10);
  border: 1px solid rgba(43,131,255,.25);
}

.mp-contact__socials{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
.mp-contact__soc{
  width:44px; height:44px;
  border-radius:12px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(160,196,255,.30);
  box-shadow: 0 10px 22px rgba(10,40,90,.08);
}
.mp-contact__soc img{ width:22px; height:22px; object-fit:contain; }

/* FORM */
.mp-contact__card--form{ padding:22px; }
.mp-contact__formH{
  font-size:22px; font-weight:900; color:#1d2f57;
  margin:0 0 14px;
}

.mp-contact__form .wpcf7 input[type="text"],
.mp-contact__form .wpcf7 input[type="email"],
.mp-contact__form .wpcf7 input[type="tel"],
.mp-contact__form .wpcf7 textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(160,196,255,.35);
  background: rgba(255,255,255,.85);
  padding:12px 14px;
  outline:none;
  box-shadow: 0 10px 22px rgba(10,40,90,.08);
}
.mp-contact__form .wpcf7 textarea{ min-height:160px; resize:vertical; }

.mp-contact__form .wpcf7 input[type="submit"],
.mp-contact__form .wpcf7 button{
  border:0;
  border-radius:12px;
  background: linear-gradient(180deg,#2b83ff,#0f57d8);
  color:#fff;
  font-weight:900;
  padding:12px 18px;
  box-shadow: 0 14px 26px rgba(15,87,216,.25);
  cursor:pointer;
}

@media (max-width:980px){
  .mp-contact__grid{ grid-template-columns: 1fr; }
}

.mp-sellerWoo__nav {
display: none;	
}

/* awaryjnie: przesuń galerię pod zdjęcie (tylko wizualnie) */
.mp-seller__form .mpsga-gallery-field{
  order: 5; /* ustaw jak trzeba */
}

.products{
    padding: 22px 0;
}

/* WooCommerce product grid tweaks (safe defaults) */
.products ul.products{
    margin-top: 12px;
}

.woocommerce ul.products li.product{
    background:#fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
}

.woocommerce ul.products li.product .button{
    border-radius: 10px;
}

.promo{
    padding: 22px 0;
}
