
.rm-pgb{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  width:100%;
  margin:22px 0;
  color:#111;
}
.rm-pgb *{box-sizing:border-box}
.rm-pgb-layout-front{
  display:grid;
  grid-template-columns:390px 1fr;
  gap:18px;
  align-items:stretch;
}
.rm-pgb-featured-col{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.rm-pgb-title-pill{
  border:2px solid #111;
  border-radius:8px;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:-.02em;
  background:#fff;
}
.rm-pgb-featured{
  border:1px solid #17b600;
  border-radius:8px;
  padding:22px 18px;
  text-align:center;
  background:#fff;
  min-height:560px;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.rm-pgb-featured-img,
.rm-pgb-card-img{
  display:block;
  position:relative;
  text-decoration:none!important;
  color:inherit!important;
}
.rm-pgb-featured-img img{
  width:100%;
  height:auto;
  max-height:300px;
  object-fit:contain;
}
.rm-pgb-featured h3{
  margin:14px 0 8px;
  font-size:22px;
  line-height:1.2;
  font-weight:500;
}
.rm-pgb-featured h3 a,
.rm-pgb-card h3 a{
  color:#111!important;
  text-decoration:none!important;
}
.rm-pgb-price{
  color:#007b4f;
  font-size:20px;
  line-height:1.15;
  font-weight:900;
  margin:6px 0;
}
.rm-pgb-price del{
  color:#999;
  font-weight:500;
  margin-right:6px;
}
.rm-pgb-price ins{
  text-decoration:none;
}
.rm-pgb-tva{
  font-size:.92em;
}
.rm-pgb-meta-line{
  margin:18px 0;
  color:#777;
  font-size:13px;
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}
.rm-pgb-meta-line strong{color:#0d1930}
.rm-pgb-featured-btn{
  margin-top:auto;
  min-height:54px;
  padding:0 26px;
  border:1px solid #ddd;
  border-radius:7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#101828!important;
  font-weight:900;
  text-transform:uppercase;
  text-decoration:none!important;
  background:#fff;
}
.rm-pgb-copy{
  text-align:center;
  padding:0 10px;
}
.rm-pgb-copy h2{
  margin:8px 0 4px;
  font-size:24px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:-.03em;
}
.rm-pgb-copy p{
  margin:0 auto;
  color:#777;
  font-size:14px;
  line-height:1.45;
}
.rm-pgb-footer-link{
  display:inline-block;
  margin-top:20px;
  color:#09a000!important;
  text-decoration:none!important;
  font-size:14px;
}
.rm-pgb-grid-col{
  border:2px solid #555;
  border-radius:4px;
  padding:24px 36px 28px;
  background:#fff;
}
.rm-pgb-products{
  display:grid;
  grid-template-columns:repeat(var(--rm-pgb-desk),minmax(0,1fr));
  gap:28px 6px;
}
.rm-pgb-card{
  position:relative;
  background:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
  border:1px solid #e7e7e7;
  min-width:0;
}
.rm-pgb-card-img{
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#fff;
}
.rm-pgb-card-img img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.rm-pgb-badge{
  position:absolute;
  left:8px;
  top:8px;
  background:#050505;
  color:#fff;
  border-radius:3px;
  padding:4px 8px;
  font-size:12px;
  font-weight:900;
  z-index:2;
}
.rm-pgb-card-body{
  position:relative;
  text-align:center;
  padding:0 4px 8px;
}
.rm-pgb-cat{
  color:#aaa;
  font-size:10px;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.rm-pgb-card h3{
  margin:0;
  min-height:24px;
  padding:2px 20px 2px 4px;
  border-top:1px solid #999;
  border-bottom:1px solid #999;
  font-size:13px;
  line-height:1.15;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.rm-pgb-heart{
  position:absolute;
  left:8px;
  bottom:8px;
  width:28px;
  height:28px;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(0,0,0,.16);
  color:#233044!important;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none!important;
  font-size:22px;
  line-height:1;
  z-index:3;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
}
.rm-pgb-card .rm-pgb-price{
  font-size:19px;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}
.rm-pgb-card-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 12px;
  margin-top:4px;
  border-radius:999px;
  background:#111;
  color:#fff!important;
  text-decoration:none!important;
  font-size:12px;
  font-weight:800;
}
.rm-pgb-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin-top:26px;
}
.rm-pgb-pagination a{
  width:44px;
  height:44px;
  border-radius:50%;
  border:2px solid #aaa;
  color:#999!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  text-decoration:none!important;
  background:#fff;
}
.rm-pgb-pagination a.is-active{
  border-color:#09a000;
  background:#09a000;
  color:#fff!important;
}
.rm-pgb-pagination .rm-pgb-next{
  font-size:28px;
  line-height:1;
}
.rm-pgb-empty{
  padding:18px;
  border:1px solid #ddd;
  border-radius:10px;
  background:#fff;
}
@media(max-width:1100px){
  .rm-pgb-layout-front{
    grid-template-columns:1fr;
  }
  .rm-pgb-featured{
    min-height:auto;
  }
  .rm-pgb-featured-img img{
    max-height:240px;
  }
}
@media(max-width:920px){
  .rm-pgb-products{
    grid-template-columns:repeat(var(--rm-pgb-tab),minmax(0,1fr));
  }
  .rm-pgb-grid-col{
    padding:18px 14px 24px;
  }
}
@media(max-width:560px){
  .rm-pgb{
    margin:14px 0;
  }
  .rm-pgb-title-pill{
    min-height:42px;
    font-size:15px;
  }
  .rm-pgb-featured{
    padding:14px;
  }
  .rm-pgb-featured-img img{
    max-height:190px;
  }
  .rm-pgb-featured h3{
    font-size:18px;
  }
  .rm-pgb-grid-col{
    border-width:1px;
    padding:12px 8px 18px;
  }
  .rm-pgb-products{
    grid-template-columns:repeat(var(--rm-pgb-mob),minmax(0,1fr));
    gap:14px 6px;
  }
  .rm-pgb-card h3{
    font-size:11.5px;
    min-height:28px;
    white-space:normal;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
  }
  .rm-pgb-card .rm-pgb-price{
    font-size:14.5px;
    min-height:38px;
  }
  .rm-pgb-badge{
    font-size:10px;
    padding:3px 6px;
  }
  .rm-pgb-heart{
    left:6px;
    bottom:6px;
    width:24px;
    height:24px;
    font-size:18px;
  }
  .rm-pgb-pagination a{
    width:38px;
    height:38px;
  }
}

.rm-pgb-price-wrap{
  display:inline-flex;
  align-items:baseline;
  justify-content:center;
  gap:6px;
  flex-wrap:wrap;
}
.rm-pgb-price-wrap ins{
  color:#007b4f;
  text-decoration:none;
  font-weight:900;
}
.rm-pgb-price-wrap.is-discounted ins{
  color:#d71920;
}
.rm-pgb-price-wrap del{
  color:#9a9a9a;
  font-size:.82em;
  font-weight:600;
}
.rm-pgb-inline-check{
  display:block;
  margin-top:8px;
  font-weight:700;
}


/* ===== RM PGB v1.0.3 visual overrides ===== */

.rm-pgb-badge{
  left:7px!important;
  top:7px!important;
  background:#050505!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:5px!important;
  padding:3px 7px!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  box-shadow:0 5px 14px rgba(0,0,0,.20)!important;
}

.rm-pgb-heart{
  left:8px!important;
  right:auto!important;
  bottom:8px!important;
  top:auto!important;
  width:28px!important;
  height:28px!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.95)!important;
  border:1px solid rgba(0,0,0,.18)!important;
  color:#1b2533!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-decoration:none!important;
  font-size:21px!important;
  line-height:1!important;
  z-index:4!important;
  box-shadow:0 5px 14px rgba(0,0,0,.18)!important;
}

.rm-pgb-price{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  margin:8px auto 4px!important;
  line-height:1.1!important;
}

.rm-pgb-price-wrap{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  width:100%!important;
}

.rm-pgb-price-wrap ins{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:31px!important;
  padding:5px 9px!important;
  border-radius:8px!important;
  background:#050505!important;
  border:1px solid rgba(255,255,255,.08)!important;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
  box-shadow:0 5px 12px rgba(0,0,0,.14)!important;
}

.rm-pgb-price-wrap.is-discounted ins{
  color:#19b600!important;
}

.rm-pgb-price-wrap del{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:25px!important;
  padding:4px 7px!important;
  border-radius:7px!important;
  background:#f1f1f1!important;
  color:#777!important;
  font-size:.78em!important;
  font-weight:700!important;
  text-decoration:line-through!important;
}

.rm-pgb-tva{
  font-size:.82em!important;
  font-weight:800!important;
  opacity:.9!important;
}

.rm-pgb-featured .rm-pgb-price-wrap ins{
  min-height:38px!important;
  padding:7px 13px!important;
  border-radius:10px!important;
  font-size:1.05em!important;
}

.rm-pgb-featured .rm-pgb-price-wrap del{
  min-height:30px!important;
  padding:5px 9px!important;
}

@media(max-width:560px){
  .rm-pgb-badge{
    left:6px!important;
    top:6px!important;
    font-size:9.5px!important;
    padding:3px 6px!important;
    border-radius:4px!important;
  }
  .rm-pgb-heart{
    left:6px!important;
    bottom:6px!important;
    width:24px!important;
    height:24px!important;
    font-size:18px!important;
  }
  .rm-pgb-price{
    min-height:42px!important;
  }
  .rm-pgb-price-wrap{
    gap:4px!important;
  }
  .rm-pgb-price-wrap ins{
    min-height:28px!important;
    padding:4px 6px!important;
    border-radius:7px!important;
    font-size:.92em!important;
  }
  .rm-pgb-price-wrap del{
    min-height:22px!important;
    padding:3px 5px!important;
    font-size:.72em!important;
  }
}


/* ===== RM PGB v1.0.4 heart position fix ===== */
.rm-pgb-heart{
  left:auto!important;
  right:8px!important;
  bottom:8px!important;
  top:auto!important;
}
@media(max-width:560px){
  .rm-pgb-heart{
    left:auto!important;
    right:6px!important;
    bottom:6px!important;
    top:auto!important;
  }
}


/* ===== RM PGB v1.0.5 button alignment ===== */
.rm-pgb-card-btn,
.rm-pgb-featured-btn{
  background:#050505!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:8px!important;
  box-shadow:0 5px 12px rgba(0,0,0,.14)!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
  text-transform:none!important;
}
.rm-pgb-card-btn{
  min-height:31px!important;
  padding:5px 10px!important;
  margin-top:6px!important;
  font-size:12px!important;
}
.rm-pgb-featured-btn{
  min-height:42px!important;
  padding:7px 18px!important;
}
.rm-pgb-card-btn:hover,
.rm-pgb-featured-btn:hover{
  background:#111!important;
  color:#19b600!important;
}
@media(max-width:560px){
  .rm-pgb-card-btn{
    min-height:28px!important;
    padding:4px 8px!important;
    font-size:11px!important;
  }
}


/* ===== RM PGB v1.0.6 compact card rhythm ===== */

.rm-pgb-card{
  box-shadow:0 8px 20px rgba(0,0,0,.075)!important;
  border:1px solid rgba(0,0,0,.10)!important;
  border-radius:3px!important;
  overflow:hidden!important;
}

.rm-pgb-card-body{
  padding:0 8px 9px!important;
}

.rm-pgb-card h3{
  margin:0 0 6px!important;
}

.rm-pgb-card .rm-pgb-price{
  width:100%!important;
  min-height:0!important;
  margin:4px 0 4px!important;
  padding:0!important;
}

.rm-pgb-price-wrap{
  width:100%!important;
  gap:4px!important;
}

.rm-pgb-price-wrap ins{
  width:100%!important;
  min-height:32px!important;
  padding:5px 7px!important;
  border-radius:8px!important;
  font-size:clamp(13px,1.4vw,18px)!important;
  white-space:nowrap!important;
}

.rm-pgb-price-wrap del{
  width:100%!important;
  min-height:23px!important;
  padding:3px 6px!important;
  border-radius:7px!important;
  font-size:12px!important;
  white-space:nowrap!important;
}

.rm-pgb-card-btn{
  width:100%!important;
  min-height:31px!important;
  margin-top:4px!important;
  padding:5px 7px!important;
  border-radius:8px!important;
  font-size:12px!important;
  line-height:1.1!important;
}

.rm-pgb-featured .rm-pgb-price{
  margin:8px auto 8px!important;
  width:100%!important;
  max-width:230px!important;
}

.rm-pgb-featured-btn{
  width:100%!important;
  max-width:230px!important;
  min-height:40px!important;
}

.rm-pgb-products{
  gap:22px 8px!important;
}

@media(max-width:560px){
  .rm-pgb-card-body{
    padding:0 5px 7px!important;
  }
  .rm-pgb-card h3{
    margin-bottom:4px!important;
  }
  .rm-pgb-card .rm-pgb-price{
    margin:3px 0!important;
  }
  .rm-pgb-price-wrap ins{
    min-height:28px!important;
    padding:4px 5px!important;
    font-size:13px!important;
  }
  .rm-pgb-price-wrap del{
    min-height:20px!important;
    padding:3px 5px!important;
    font-size:10px!important;
  }
  .rm-pgb-card-btn{
    min-height:27px!important;
    margin-top:3px!important;
    font-size:10.5px!important;
  }
  .rm-pgb-products{
    gap:12px 6px!important;
  }
}


/* ===== RM PGB v1.0.8 saving badge ===== */
.rm-pgb-badge-saving{
  top:27px!important;
  left:7px!important;
  font-size:9px!important;
  padding:3px 6px!important;
  background:#050505!important;
  color:#19b600!important;
  max-width:112px!important;
  white-space:nowrap!important;
}
.rm-pgb-featured .rm-pgb-badge-saving{
  top:28px!important;
}
@media(max-width:560px){
  .rm-pgb-badge-saving{
    top:24px!important;
    left:6px!important;
    font-size:8.5px!important;
    padding:3px 5px!important;
    max-width:96px!important;
  }
}


/* ===== RM PGB v1.0.9 cleaner discount price ===== */
.rm-pgb-price-wrap.is-discounted del{
  display:none!important;
}
.rm-pgb-price-wrap.is-discounted ins{
  width:100%!important;
}

.rm-pgb.is-loading .rm-pgb-ajax-target{
  opacity:.45;
  pointer-events:none;
}
.rm-pgb-ajax-target{
  transition:opacity .18s ease;
}


/* ===== RM PGB v1.1.2 free shipping badge ===== */
.rm-pgb-badge-shipping{
  right:7px!important;
  left:auto!important;
  top:7px!important;
  font-size:9px!important;
  font-weight:700!important;
  padding:4px 7px!important;
  background:#0b0b0b!important;
  color:#ffffff!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:9px!important;
  box-shadow:0 6px 16px rgba(0,0,0,.22)!important;
  white-space:nowrap!important;
  letter-spacing:.2px!important;
}
.rm-pgb-featured .rm-pgb-badge-shipping{
  top:8px!important;
  right:8px!important;
}
@media(max-width:560px){
  .rm-pgb-badge-shipping{
    top:6px!important;
    right:6px!important;
    font-size:8px!important;
    padding:3px 6px!important;
    border-radius:8px!important;
  }
}


/* ===== RM PGB v1.1.3 YITH + title consistency + click feedback ===== */

.rm-pgb-card h3{
  min-height:34px!important;
  height:34px!important;
  white-space:normal!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  line-height:1.22!important;
}

.rm-pgb-heart{
  cursor:pointer!important;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease!important;
}

.rm-pgb-heart.rm-pgb-clicked{
  transform:scale(1.16)!important;
  box-shadow:0 8px 22px rgba(0,0,0,.28)!important;
}

.rm-pgb-yith-heart{
  padding:0!important;
}

.rm-pgb-yith-heart .yith-wcwl-add-to-wishlist{
  margin:0!important;
  line-height:1!important;
}

.rm-pgb-yith-heart a,
.rm-pgb-yith-heart .yith-wcwl-add-button a,
.rm-pgb-yith-heart .yith-wcwl-wishlistaddedbrowse a,
.rm-pgb-yith-heart .yith-wcwl-wishlistexistsbrowse a{
  width:100%!important;
  height:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-decoration:none!important;
  color:#1b2533!important;
  font-size:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
}

.rm-pgb-yith-heart a:before,
.rm-pgb-yith-heart .yith-wcwl-add-button a:before,
.rm-pgb-yith-heart .yith-wcwl-wishlistaddedbrowse a:before,
.rm-pgb-yith-heart .yith-wcwl-wishlistexistsbrowse a:before{
  content:"♡"!important;
  font-size:21px!important;
  line-height:1!important;
  color:#1b2533!important;
}

.rm-pgb-yith-heart .yith-wcwl-wishlistaddedbrowse a:before,
.rm-pgb-yith-heart .yith-wcwl-wishlistexistsbrowse a:before{
  content:"♥"!important;
  color:#19b600!important;
}

.rm-pgb-yith-heart img,
.rm-pgb-yith-heart i,
.rm-pgb-yith-heart span.feedback{
  display:none!important;
}

@media(max-width:560px){
  .rm-pgb-card h3{
    min-height:32px!important;
    height:32px!important;
    font-size:11.5px!important;
    line-height:1.26!important;
  }

  .rm-pgb-yith-heart a:before,
  .rm-pgb-yith-heart .yith-wcwl-add-button a:before,
  .rm-pgb-yith-heart .yith-wcwl-wishlistaddedbrowse a:before,
  .rm-pgb-yith-heart .yith-wcwl-wishlistexistsbrowse a:before{
    font-size:18px!important;
  }
}


/* ===== RM PGB v1.1.4 title alignment refinement ===== */
.rm-pgb-card h3{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  min-height:42px!important;
  height:42px!important;
  padding:0 6px!important;
  margin:8px 0 6px!important;
  line-height:1.22!important;
  font-weight:800!important;
  overflow:hidden!important;
  border-top:1px solid rgba(0,0,0,.22)!important;
  border-bottom:1px solid rgba(0,0,0,.22)!important;
}

.rm-pgb-card h3 a{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  text-align:center!important;
  width:100%!important;
}

@media(max-width:560px){
  .rm-pgb-card h3{
    min-height:38px!important;
    height:38px!important;
    font-size:11.4px!important;
    line-height:1.23!important;
    padding:0 4px!important;
    margin:6px 0 5px!important;
  }
}


/* ===== RM PGB v1.1.5 Dynamic Category Selector ===== */
.rm-cat-selector{
  width:100%;
  padding:20px 14px;
  background:#fff;
  box-sizing:border-box;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.rm-cat-selector *{
  box-sizing:border-box;
}

.rm-cat-box{
  max-width:1180px;
  margin:0 auto;
  background:#050505;
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:22px;
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:20px;
  align-items:center;
  box-shadow:0 14px 34px rgba(0,0,0,.14);
}

.rm-cat-copy span{
  display:inline-flex;
  margin-bottom:8px;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#19b600;
  font-size:12px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.rm-cat-copy h2{
  margin:0 0 8px;
  color:#fff;
  font-size:28px;
  line-height:1.1;
  font-weight:850;
  letter-spacing:-.03em;
}

.rm-cat-copy p{
  margin:0;
  color:rgba(255,255,255,.8);
  font-size:14.5px;
  line-height:1.45;
}

.rm-cat-form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
}

.rm-cat-form select{
  width:100%;
  min-height:50px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:#fff;
  color:#111;
  padding:0 18px;
  font-size:14px;
  font-weight:700;
  outline:none;
}

.rm-cat-form option{
  font-weight:600;
}

.rm-cat-form button{
  min-height:50px;
  border:0;
  border-radius:999px;
  background:#19b600;
  color:#fff;
  padding:0 22px;
  font-size:13px;
  font-weight:900;
  cursor:pointer;
  transition:all .18s ease;
  white-space:nowrap;
}

.rm-cat-form button:hover{
  background:#129200;
  transform:translateY(-1px);
}

@media(max-width:780px){
  .rm-cat-box{
    grid-template-columns:1fr;
    padding:18px;
    border-radius:18px;
  }

  .rm-cat-copy h2{
    font-size:24px;
  }

  .rm-cat-form{
    grid-template-columns:1fr;
  }

  .rm-cat-form button{
    width:100%;
  }
}

@media(max-width:480px){
  .rm-cat-selector{
    padding:14px 12px;
  }

  .rm-cat-box{
    padding:16px;
  }

  .rm-cat-copy h2{
    font-size:21px;
  }

  .rm-cat-copy p{
    font-size:13px;
  }

  .rm-cat-form select,
  .rm-cat-form button{
    min-height:44px;
    font-size:13px;
  }
}


/* ===== RM PGB v1.1.6 Global Shop Skin ===== */
body.post-type-archive-product.woocommerce ul.products li.product,
body.tax-product_cat.woocommerce ul.products li.product,
body.tax-product_tag.woocommerce ul.products li.product{
  background:#fff!important;border:1px solid rgba(0,0,0,.10)!important;border-radius:4px!important;
  box-shadow:0 8px 20px rgba(0,0,0,.075)!important;overflow:hidden!important;padding:0 8px 10px!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
body.post-type-archive-product.woocommerce ul.products li.product:hover,
body.tax-product_cat.woocommerce ul.products li.product:hover,
body.tax-product_tag.woocommerce ul.products li.product:hover{
  transform:translateY(-2px)!important;border-color:rgba(0,0,0,.18)!important;box-shadow:0 12px 26px rgba(0,0,0,.10)!important;
}
body.post-type-archive-product.woocommerce ul.products li.product img,
body.tax-product_cat.woocommerce ul.products li.product img,
body.tax-product_tag.woocommerce ul.products li.product img{width:100%!important;height:auto!important;transition:transform .2s ease!important}
body.post-type-archive-product.woocommerce ul.products li.product:hover img,
body.tax-product_cat.woocommerce ul.products li.product:hover img,
body.tax-product_tag.woocommerce ul.products li.product:hover img{transform:scale(1.018)!important}

body.post-type-archive-product.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product.woocommerce ul.products li.product .product-title,
body.tax-product_cat.woocommerce ul.products li.product .product-title,
body.tax-product_tag.woocommerce ul.products li.product .product-title,
body.post-type-archive-product.woocommerce ul.products li.product h3,
body.tax-product_cat.woocommerce ul.products li.product h3,
body.tax-product_tag.woocommerce ul.products li.product h3{
  display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;
  min-height:42px!important;height:42px!important;padding:0 6px!important;margin:8px 0 6px!important;
  line-height:1.22!important;font-weight:800!important;font-size:14px!important;color:#111!important;overflow:hidden!important;
  border-top:1px solid rgba(0,0,0,.22)!important;border-bottom:1px solid rgba(0,0,0,.22)!important;
}
body.post-type-archive-product.woocommerce ul.products li.product .woocommerce-loop-product__title a,
body.tax-product_cat.woocommerce ul.products li.product .woocommerce-loop-product__title a,
body.tax-product_tag.woocommerce ul.products li.product .woocommerce-loop-product__title a,
body.post-type-archive-product.woocommerce ul.products li.product .product-title a,
body.tax-product_cat.woocommerce ul.products li.product .product-title a,
body.tax-product_tag.woocommerce ul.products li.product .product-title a,
body.post-type-archive-product.woocommerce ul.products li.product h3 a,
body.tax-product_cat.woocommerce ul.products li.product h3 a,
body.tax-product_tag.woocommerce ul.products li.product h3 a{
  color:#111!important;text-decoration:none!important;display:-webkit-box!important;-webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;overflow:hidden!important;text-align:center!important;width:100%!important;
}
body.post-type-archive-product.woocommerce ul.products li.product .price,
body.tax-product_cat.woocommerce ul.products li.product .price,
body.tax-product_tag.woocommerce ul.products li.product .price{
  display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:4px!important;
  width:100%!important;min-height:32px!important;margin:4px 0!important;line-height:1.1!important;
}
body.post-type-archive-product.woocommerce ul.products li.product .price > .amount,
body.tax-product_cat.woocommerce ul.products li.product .price > .amount,
body.tax-product_tag.woocommerce ul.products li.product .price > .amount,
body.post-type-archive-product.woocommerce ul.products li.product .price ins,
body.tax-product_cat.woocommerce ul.products li.product .price ins,
body.tax-product_tag.woocommerce ul.products li.product .price ins{
  width:100%!important;min-height:32px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:#050505!important;border:1px solid rgba(255,255,255,.08)!important;color:#fff!important;border-radius:8px!important;
  padding:5px 7px!important;font-size:clamp(13px,1.3vw,17px)!important;font-weight:900!important;text-decoration:none!important;
  box-shadow:0 5px 12px rgba(0,0,0,.14)!important;white-space:nowrap!important;
}
body.post-type-archive-product.woocommerce ul.products li.product .price ins,
body.tax-product_cat.woocommerce ul.products li.product .price ins,
body.tax-product_tag.woocommerce ul.products li.product .price ins{color:#19b600!important}
body.post-type-archive-product.woocommerce ul.products li.product .price del,
body.tax-product_cat.woocommerce ul.products li.product .price del,
body.tax-product_tag.woocommerce ul.products li.product .price del{display:none!important}
body.post-type-archive-product.woocommerce ul.products li.product .button,
body.tax-product_cat.woocommerce ul.products li.product .button,
body.tax-product_tag.woocommerce ul.products li.product .button,
body.post-type-archive-product.woocommerce ul.products li.product .add_to_cart_button,
body.tax-product_cat.woocommerce ul.products li.product .add_to_cart_button,
body.tax-product_tag.woocommerce ul.products li.product .add_to_cart_button{
  width:100%!important;min-height:31px!important;margin:4px 0 0!important;padding:5px 7px!important;border-radius:8px!important;
  background:#050505!important;color:#fff!important;border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 5px 12px rgba(0,0,0,.14)!important;font-size:12px!important;font-weight:900!important;
  line-height:1.1!important;text-transform:none!important;text-align:center!important;
}
body.post-type-archive-product.woocommerce ul.products li.product .button:hover,
body.tax-product_cat.woocommerce ul.products li.product .button:hover,
body.tax-product_tag.woocommerce ul.products li.product .button:hover{background:#111!important;color:#19b600!important}
body.post-type-archive-product.woocommerce ul.products li.product .onsale,
body.tax-product_cat.woocommerce ul.products li.product .onsale,
body.tax-product_tag.woocommerce ul.products li.product .onsale{
  left:7px!important;top:7px!important;right:auto!important;background:#050505!important;color:#fff!important;
  border:1px solid rgba(255,255,255,.18)!important;border-radius:5px!important;padding:3px 7px!important;
  font-size:10.5px!important;line-height:1!important;font-weight:900!important;min-height:auto!important;min-width:auto!important;
}
@media(max-width:560px){
  body.post-type-archive-product.woocommerce ul.products,
  body.tax-product_cat.woocommerce ul.products,
  body.tax-product_tag.woocommerce ul.products{
    grid-template-columns:repeat(var(--rm-shop-mobile-cols,2),minmax(0,1fr))!important;gap:12px 6px!important;
  }
  body.post-type-archive-product.woocommerce ul.products li.product,
  body.tax-product_cat.woocommerce ul.products li.product,
  body.tax-product_tag.woocommerce ul.products li.product{padding:0 5px 7px!important}
  body.post-type-archive-product.woocommerce ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_cat.woocommerce ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_tag.woocommerce ul.products li.product .woocommerce-loop-product__title,
  body.post-type-archive-product.woocommerce ul.products li.product .product-title,
  body.tax-product_cat.woocommerce ul.products li.product .product-title,
  body.tax-product_tag.woocommerce ul.products li.product .product-title,
  body.post-type-archive-product.woocommerce ul.products li.product h3,
  body.tax-product_cat.woocommerce ul.products li.product h3,
  body.tax-product_tag.woocommerce ul.products li.product h3{
    min-height:38px!important;height:38px!important;font-size:11.4px!important;line-height:1.23!important;padding:0 4px!important;margin:6px 0 5px!important;
  }
}


/* ===== RM PGB v1.1.9 Robust Global Shop Skin ===== */
body.rm-pgb-shop-skin ul.products li.product,
body.rm-pgb-shop-skin .products li.product,
body.rm-pgb-shop-skin .product-col{
  background:#fff!important;
  border:1px solid rgba(0,0,0,.10)!important;
  border-radius:6px!important;
  box-shadow:0 8px 20px rgba(0,0,0,.075)!important;
  overflow:hidden!important;
  padding:0 8px 10px!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}

body.rm-pgb-shop-skin ul.products li.product:hover,
body.rm-pgb-shop-skin .products li.product:hover,
body.rm-pgb-shop-skin .product-col:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(0,0,0,.18)!important;
  box-shadow:0 12px 26px rgba(0,0,0,.10)!important;
}

body.rm-pgb-shop-skin ul.products li.product img,
body.rm-pgb-shop-skin .products li.product img,
body.rm-pgb-shop-skin .product-col img{
  width:100%!important;
  height:auto!important;
  transition:transform .2s ease!important;
}

body.rm-pgb-shop-skin ul.products li.product:hover img,
body.rm-pgb-shop-skin .products li.product:hover img,
body.rm-pgb-shop-skin .product-col:hover img{
  transform:scale(1.018)!important;
}

body.rm-pgb-shop-skin ul.products li.product .woocommerce-loop-product__title,
body.rm-pgb-shop-skin ul.products li.product .product-title,
body.rm-pgb-shop-skin ul.products li.product h3,
body.rm-pgb-shop-skin .products li.product .woocommerce-loop-product__title,
body.rm-pgb-shop-skin .products li.product .product-title,
body.rm-pgb-shop-skin .products li.product h3,
body.rm-pgb-shop-skin .product-col .product-title,
body.rm-pgb-shop-skin .product-col h3{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  min-height:42px!important;
  height:42px!important;
  padding:0 6px!important;
  margin:8px 0 6px!important;
  line-height:1.22!important;
  font-weight:800!important;
  font-size:14px!important;
  color:#111!important;
  overflow:hidden!important;
  border-top:1px solid rgba(0,0,0,.22)!important;
  border-bottom:1px solid rgba(0,0,0,.22)!important;
}

body.rm-pgb-shop-skin ul.products li.product .woocommerce-loop-product__title a,
body.rm-pgb-shop-skin ul.products li.product .product-title a,
body.rm-pgb-shop-skin ul.products li.product h3 a,
body.rm-pgb-shop-skin .products li.product .woocommerce-loop-product__title a,
body.rm-pgb-shop-skin .products li.product .product-title a,
body.rm-pgb-shop-skin .products li.product h3 a,
body.rm-pgb-shop-skin .product-col .product-title a,
body.rm-pgb-shop-skin .product-col h3 a{
  color:#111!important;
  text-decoration:none!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  text-align:center!important;
  width:100%!important;
}

body.rm-pgb-shop-skin ul.products li.product .price,
body.rm-pgb-shop-skin .products li.product .price,
body.rm-pgb-shop-skin .product-col .price{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:4px!important;
  width:100%!important;
  min-height:32px!important;
  margin:4px 0!important;
  line-height:1.1!important;
}

body.rm-pgb-shop-skin ul.products li.product .price > .amount,
body.rm-pgb-shop-skin ul.products li.product .price ins,
body.rm-pgb-shop-skin .products li.product .price > .amount,
body.rm-pgb-shop-skin .products li.product .price ins,
body.rm-pgb-shop-skin .product-col .price > .amount,
body.rm-pgb-shop-skin .product-col .price ins{
  width:100%!important;
  min-height:32px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#050505!important;
  border:1px solid rgba(255,255,255,.08)!important;
  color:#fff!important;
  border-radius:8px!important;
  padding:5px 7px!important;
  font-size:clamp(13px,1.3vw,17px)!important;
  font-weight:900!important;
  text-decoration:none!important;
  box-shadow:0 5px 12px rgba(0,0,0,.14)!important;
  white-space:nowrap!important;
}

body.rm-pgb-shop-skin ul.products li.product .price ins,
body.rm-pgb-shop-skin .products li.product .price ins,
body.rm-pgb-shop-skin .product-col .price ins{
  color:#19b600!important;
}

body.rm-pgb-shop-skin ul.products li.product .price del,
body.rm-pgb-shop-skin .products li.product .price del,
body.rm-pgb-shop-skin .product-col .price del{
  display:none!important;
}

body.rm-pgb-shop-skin ul.products li.product .button,
body.rm-pgb-shop-skin ul.products li.product .add_to_cart_button,
body.rm-pgb-shop-skin .products li.product .button,
body.rm-pgb-shop-skin .products li.product .add_to_cart_button,
body.rm-pgb-shop-skin .product-col .button,
body.rm-pgb-shop-skin .product-col .add_to_cart_button{
  width:100%!important;
  min-height:31px!important;
  margin:4px 0 0!important;
  padding:5px 7px!important;
  border-radius:8px!important;
  background:#050505!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 5px 12px rgba(0,0,0,.14)!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1.1!important;
  text-transform:none!important;
  text-align:center!important;
}

body.rm-pgb-shop-skin ul.products li.product .onsale,
body.rm-pgb-shop-skin .products li.product .onsale,
body.rm-pgb-shop-skin .product-col .onsale{
  left:7px!important;
  top:7px!important;
  right:auto!important;
  background:#050505!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:5px!important;
  padding:3px 7px!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:900!important;
  min-height:auto!important;
  min-width:auto!important;
}

@media(max-width:560px){
  body.rm-pgb-shop-skin ul.products,
  body.rm-pgb-shop-skin .products{
    grid-template-columns:repeat(var(--rm-shop-mobile-cols,2),minmax(0,1fr))!important;
    gap:12px 6px!important;
  }

  body.rm-pgb-shop-skin ul.products li.product,
  body.rm-pgb-shop-skin .products li.product,
  body.rm-pgb-shop-skin .product-col{
    padding:0 5px 7px!important;
  }
}

/* Exclusion picker visual cue */
.rm-pgb-exclude-box .rm-pgb-exclude-item{
  border-color:#f0caca;
}
.rm-pgb-exclude-box .rm-pgb-exclude-item input:checked + span strong{
  color:#b42318;
  text-decoration:line-through;
}


/* ===== RM PGB v1.2.0 Porto mobile 2-column hard fix ===== */
@media (max-width: 767px){

  body.rm-pgb-shop-skin .products-container,
  body.rm-pgb-shop-skin .products,
  body.rm-pgb-shop-skin ul.products,
  body.rm-pgb-shop-skin .posts-wrap.products{
    display:grid!important;
    grid-template-columns:repeat(var(--rm-shop-mobile-cols,2), minmax(0,1fr))!important;
    gap:12px 8px!important;
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  body.rm-pgb-shop-skin .products-container:before,
  body.rm-pgb-shop-skin .products-container:after,
  body.rm-pgb-shop-skin .products:before,
  body.rm-pgb-shop-skin .products:after,
  body.rm-pgb-shop-skin ul.products:before,
  body.rm-pgb-shop-skin ul.products:after,
  body.rm-pgb-shop-skin .posts-wrap.products:before,
  body.rm-pgb-shop-skin .posts-wrap.products:after{
    display:none!important;
    content:none!important;
  }

  body.rm-pgb-shop-skin ul.products li.product,
  body.rm-pgb-shop-skin .products li.product,
  body.rm-pgb-shop-skin .product-col,
  body.rm-pgb-shop-skin .porto-tb-item.product,
  body.rm-pgb-shop-skin .porto-tb-item.post.product{
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    flex:none!important;
    float:none!important;
    clear:none!important;
    margin:0!important;
    display:block!important;
    grid-column:auto!important;
  }

  body.rm-pgb-shop-skin ul.products li.product,
  body.rm-pgb-shop-skin .products li.product,
  body.rm-pgb-shop-skin .product-col{
    padding:0 5px 8px!important;
    border-radius:7px!important;
  }

  body.rm-pgb-shop-skin ul.products li.product .product-content,
  body.rm-pgb-shop-skin .products li.product .product-content,
  body.rm-pgb-shop-skin .product-col .product-content,
  body.rm-pgb-shop-skin .porto-tb-item .product-content{
    width:100%!important;
    max-width:100%!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  body.rm-pgb-shop-skin ul.products li.product img,
  body.rm-pgb-shop-skin .products li.product img,
  body.rm-pgb-shop-skin .product-col img,
  body.rm-pgb-shop-skin .porto-tb-item.product img{
    max-width:100%!important;
    height:auto!important;
    object-fit:contain!important;
  }

  body.rm-pgb-shop-skin ul.products li.product .woocommerce-loop-product__title,
  body.rm-pgb-shop-skin ul.products li.product .product-title,
  body.rm-pgb-shop-skin ul.products li.product h3,
  body.rm-pgb-shop-skin .products li.product .woocommerce-loop-product__title,
  body.rm-pgb-shop-skin .products li.product .product-title,
  body.rm-pgb-shop-skin .products li.product h3,
  body.rm-pgb-shop-skin .product-col .product-title,
  body.rm-pgb-shop-skin .product-col h3{
    min-height:40px!important;
    height:40px!important;
    font-size:11px!important;
    line-height:1.18!important;
    padding:0 3px!important;
    margin:5px 0 5px!important;
    white-space:normal!important;
  }

  body.rm-pgb-shop-skin ul.products li.product .price,
  body.rm-pgb-shop-skin .products li.product .price,
  body.rm-pgb-shop-skin .product-col .price{
    min-height:29px!important;
    margin:3px 0!important;
  }

  body.rm-pgb-shop-skin ul.products li.product .price > .amount,
  body.rm-pgb-shop-skin ul.products li.product .price ins,
  body.rm-pgb-shop-skin .products li.product .price > .amount,
  body.rm-pgb-shop-skin .products li.product .price ins,
  body.rm-pgb-shop-skin .product-col .price > .amount,
  body.rm-pgb-shop-skin .product-col .price ins{
    min-height:28px!important;
    padding:4px 4px!important;
    font-size:13px!important;
    border-radius:7px!important;
  }

  body.rm-pgb-shop-skin ul.products li.product .button,
  body.rm-pgb-shop-skin ul.products li.product .add_to_cart_button,
  body.rm-pgb-shop-skin .products li.product .button,
  body.rm-pgb-shop-skin .products li.product .add_to_cart_button,
  body.rm-pgb-shop-skin .product-col .button,
  body.rm-pgb-shop-skin .product-col .add_to_cart_button{
    min-height:27px!important;
    padding:4px 4px!important;
    font-size:10.5px!important;
    border-radius:7px!important;
  }

  body.rm-pgb-shop-skin .yith-wcwl-add-to-wishlist,
  body.rm-pgb-shop-skin .product-wishlist{
    right:6px!important;
    bottom:6px!important;
    transform:scale(.86)!important;
    transform-origin:right bottom!important;
  }
}

/* foarte îngust: păstrăm 2 coloane, dar comprimăm mai agresiv */
@media (max-width: 390px){
  body.rm-pgb-shop-skin .products-container,
  body.rm-pgb-shop-skin .products,
  body.rm-pgb-shop-skin ul.products,
  body.rm-pgb-shop-skin .posts-wrap.products{
    gap:10px 6px!important;
  }

  body.rm-pgb-shop-skin ul.products li.product .woocommerce-loop-product__title,
  body.rm-pgb-shop-skin ul.products li.product .product-title,
  body.rm-pgb-shop-skin ul.products li.product h3,
  body.rm-pgb-shop-skin .products li.product .woocommerce-loop-product__title,
  body.rm-pgb-shop-skin .products li.product .product-title,
  body.rm-pgb-shop-skin .products li.product h3,
  body.rm-pgb-shop-skin .product-col .product-title,
  body.rm-pgb-shop-skin .product-col h3{
    font-size:10.2px!important;
  }
}


/* ===== RM PGB v1.2.1 Shop Skin uniform cards, two-line title, price + TVA inline ===== */

/* Cardul devine coloană stabilă, fără înălțimi haotice */
body.rm-pgb-shop-skin ul.products li.product,
body.rm-pgb-shop-skin .products li.product,
body.rm-pgb-shop-skin .product-col,
body.rm-pgb-shop-skin .porto-tb-item.product,
body.rm-pgb-shop-skin .porto-tb-item.post.product{
  display:flex!important;
  flex-direction:column!important;
  height:auto!important;
}

/* Zona imagine: rezervăm spațiu constant ca titlul/prețul să pornească similar */
body.rm-pgb-shop-skin ul.products li.product .product-image,
body.rm-pgb-shop-skin .products li.product .product-image,
body.rm-pgb-shop-skin .product-col .product-image,
body.rm-pgb-shop-skin .porto-tb-item.product .product-image,
body.rm-pgb-shop-skin ul.products li.product .thumb-info,
body.rm-pgb-shop-skin .products li.product .thumb-info,
body.rm-pgb-shop-skin .product-col .thumb-info,
body.rm-pgb-shop-skin .porto-tb-item.product .thumb-info{
  width:100%!important;
  aspect-ratio:1 / 1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  overflow:hidden!important;
  margin:0!important;
}

/* Dacă Porto pune buton overlay peste poză, îl ascundem pentru shop skin. Pe gridul nostru rămâne neatins. */
body.rm-pgb-shop-skin ul.products li.product .product-image .button,
body.rm-pgb-shop-skin .products li.product .product-image .button,
body.rm-pgb-shop-skin .product-col .product-image .button,
body.rm-pgb-shop-skin .porto-tb-item.product .product-image .button,
body.rm-pgb-shop-skin ul.products li.product .thumb-info .button,
body.rm-pgb-shop-skin .products li.product .thumb-info .button,
body.rm-pgb-shop-skin .product-col .thumb-info .button,
body.rm-pgb-shop-skin .porto-tb-item.product .thumb-info .button,
body.rm-pgb-shop-skin .product-image .add-links-wrap,
body.rm-pgb-shop-skin .thumb-info .add-links-wrap,
body.rm-pgb-shop-skin .product-image .add-links,
body.rm-pgb-shop-skin .thumb-info .add-links{
  display:none!important;
}

/* Imaginea nu mai poate împinge cardul neuniform */
body.rm-pgb-shop-skin ul.products li.product img,
body.rm-pgb-shop-skin .products li.product img,
body.rm-pgb-shop-skin .product-col img,
body.rm-pgb-shop-skin .porto-tb-item.product img{
  max-width:100%!important;
  max-height:100%!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
}

/* Conținutul produsului devine coloană compactă */
body.rm-pgb-shop-skin ul.products li.product .product-content,
body.rm-pgb-shop-skin .products li.product .product-content,
body.rm-pgb-shop-skin .product-col .product-content,
body.rm-pgb-shop-skin .porto-tb-item.product .product-content{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  width:100%!important;
  padding:0!important;
}

/* Titlu fix: exact 2 rânduri. Dacă nu încape, taie cu ... */
body.rm-pgb-shop-skin ul.products li.product .woocommerce-loop-product__title,
body.rm-pgb-shop-skin ul.products li.product .product-title,
body.rm-pgb-shop-skin ul.products li.product h3,
body.rm-pgb-shop-skin .products li.product .woocommerce-loop-product__title,
body.rm-pgb-shop-skin .products li.product .product-title,
body.rm-pgb-shop-skin .products li.product h3,
body.rm-pgb-shop-skin .product-col .product-title,
body.rm-pgb-shop-skin .product-col h3{
  min-height:44px!important;
  height:44px!important;
  max-height:44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:6px 0 6px!important;
  padding:0 5px!important;
  overflow:hidden!important;
  background:#fff!important;
}

body.rm-pgb-shop-skin ul.products li.product .woocommerce-loop-product__title a,
body.rm-pgb-shop-skin ul.products li.product .product-title a,
body.rm-pgb-shop-skin ul.products li.product h3 a,
body.rm-pgb-shop-skin .products li.product .woocommerce-loop-product__title a,
body.rm-pgb-shop-skin .products li.product .product-title a,
body.rm-pgb-shop-skin .products li.product h3 a,
body.rm-pgb-shop-skin .product-col .product-title a,
body.rm-pgb-shop-skin .product-col h3 a{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:normal!important;
  line-height:1.18!important;
  max-height:2.36em!important;
}

/* Preț compact: suma și + TVA pe aceeași linie */
body.rm-pgb-shop-skin ul.products li.product .price,
body.rm-pgb-shop-skin .products li.product .price,
body.rm-pgb-shop-skin .product-col .price{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  gap:4px!important;
  width:100%!important;
  min-height:34px!important;
  margin:0!important;
  padding:0!important;
  background:#050505!important;
  color:#fff!important;
  border-radius:8px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 5px 12px rgba(0,0,0,.14)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}

/* Anulăm chenarele interne generate anterior pe amount/ins */
body.rm-pgb-shop-skin ul.products li.product .price > .amount,
body.rm-pgb-shop-skin ul.products li.product .price ins,
body.rm-pgb-shop-skin .products li.product .price > .amount,
body.rm-pgb-shop-skin .products li.product .price ins,
body.rm-pgb-shop-skin .product-col .price > .amount,
body.rm-pgb-shop-skin .product-col .price ins{
  width:auto!important;
  min-height:0!important;
  display:inline!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
  color:inherit!important;
  font-size:clamp(13px,1.2vw,17px)!important;
  line-height:1!important;
  font-weight:900!important;
  white-space:nowrap!important;
}

/* Reducerea rămâne verde, dar în același chenar */
body.rm-pgb-shop-skin ul.products li.product .price ins,
body.rm-pgb-shop-skin .products li.product .price ins,
body.rm-pgb-shop-skin .product-col .price ins,
body.rm-pgb-shop-skin ul.products li.product .price ins .amount,
body.rm-pgb-shop-skin .products li.product .price ins .amount,
body.rm-pgb-shop-skin .product-col .price ins .amount{
  color:#19b600!important;
}

/* + TVA / TVA / suffix: în linie cu prețul, nu sub el */
body.rm-pgb-shop-skin ul.products li.product .price .woocommerce-price-suffix,
body.rm-pgb-shop-skin .products li.product .price .woocommerce-price-suffix,
body.rm-pgb-shop-skin .product-col .price .woocommerce-price-suffix,
body.rm-pgb-shop-skin ul.products li.product .price small,
body.rm-pgb-shop-skin .products li.product .price small,
body.rm-pgb-shop-skin .product-col .price small,
body.rm-pgb-shop-skin ul.products li.product .price .tax_label,
body.rm-pgb-shop-skin .products li.product .price .tax_label,
body.rm-pgb-shop-skin .product-col .price .tax_label{
  display:inline!important;
  color:inherit!important;
  font-size:clamp(11px,1vw,14px)!important;
  font-weight:900!important;
  line-height:1!important;
  margin:0!important;
  padding:0!important;
  white-space:nowrap!important;
}

/* Dacă tema inserează + TVA ca nod separat sub .price, îl ținem lipit vizual */
body.rm-pgb-shop-skin ul.products li.product .price + .price,
body.rm-pgb-shop-skin .products li.product .price + .price,
body.rm-pgb-shop-skin .product-col .price + .price{
  margin-top:4px!important;
}

/* Butonul rămâne sub preț, dar cu dimensiune fixă */
body.rm-pgb-shop-skin ul.products li.product .button,
body.rm-pgb-shop-skin ul.products li.product .add_to_cart_button,
body.rm-pgb-shop-skin .products li.product .button,
body.rm-pgb-shop-skin .products li.product .add_to_cart_button,
body.rm-pgb-shop-skin .product-col .button,
body.rm-pgb-shop-skin .product-col .add_to_cart_button{
  min-height:32px!important;
  height:32px!important;
  margin:5px 0 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}


/* Mobil: carduri identice și compacte */
@media(max-width:767px){
  body.rm-pgb-shop-skin ul.products li.product .product-image,
  body.rm-pgb-shop-skin .products li.product .product-image,
  body.rm-pgb-shop-skin .product-col .product-image,
  body.rm-pgb-shop-skin .porto-tb-item.product .product-image,
  body.rm-pgb-shop-skin ul.products li.product .thumb-info,
  body.rm-pgb-shop-skin .products li.product .thumb-info,
  body.rm-pgb-shop-skin .product-col .thumb-info,
  body.rm-pgb-shop-skin .porto-tb-item.product .thumb-info{
    aspect-ratio:1 / 1!important;
  }

  body.rm-pgb-shop-skin ul.products li.product .woocommerce-loop-product__title,
  body.rm-pgb-shop-skin ul.products li.product .product-title,
  body.rm-pgb-shop-skin ul.products li.product h3,
  body.rm-pgb-shop-skin .products li.product .woocommerce-loop-product__title,
  body.rm-pgb-shop-skin .products li.product .product-title,
  body.rm-pgb-shop-skin .products li.product h3,
  body.rm-pgb-shop-skin .product-col .product-title,
  body.rm-pgb-shop-skin .product-col h3{
    min-height:39px!important;
    height:39px!important;
    max-height:39px!important;
    font-size:10.8px!important;
    line-height:1.16!important;
    padding:0 3px!important;
  }

  body.rm-pgb-shop-skin ul.products li.product .price,
  body.rm-pgb-shop-skin .products li.product .price,
  body.rm-pgb-shop-skin .product-col .price{
    min-height:29px!important;
    height:29px!important;
    border-radius:7px!important;
    gap:3px!important;
  }

  body.rm-pgb-shop-skin ul.products li.product .price > .amount,
  body.rm-pgb-shop-skin ul.products li.product .price ins,
  body.rm-pgb-shop-skin .products li.product .price > .amount,
  body.rm-pgb-shop-skin .products li.product .price ins,
  body.rm-pgb-shop-skin .product-col .price > .amount,
  body.rm-pgb-shop-skin .product-col .price ins,
  body.rm-pgb-shop-skin ul.products li.product .price ins .amount,
  body.rm-pgb-shop-skin .products li.product .price ins .amount,
  body.rm-pgb-shop-skin .product-col .price ins .amount{
    font-size:12.2px!important;
  }

  body.rm-pgb-shop-skin ul.products li.product .price .woocommerce-price-suffix,
  body.rm-pgb-shop-skin .products li.product .price .woocommerce-price-suffix,
  body.rm-pgb-shop-skin .product-col .price .woocommerce-price-suffix,
  body.rm-pgb-shop-skin ul.products li.product .price small,
  body.rm-pgb-shop-skin .products li.product .price small,
  body.rm-pgb-shop-skin .product-col .price small{
    font-size:10.2px!important;
  }

  body.rm-pgb-shop-skin ul.products li.product .button,
  body.rm-pgb-shop-skin ul.products li.product .add_to_cart_button,
  body.rm-pgb-shop-skin .products li.product .button,
  body.rm-pgb-shop-skin .products li.product .add_to_cart_button,
  body.rm-pgb-shop-skin .product-col .button,
  body.rm-pgb-shop-skin .product-col .add_to_cart_button{
    min-height:27px!important;
    height:27px!important;
    font-size:10px!important;
    margin-top:4px!important;
  }
}


/* ===== RM PGB v1.2.2 fix: do not hide sidebar/mobile category filters ===== */
/* Ascundem elementele secundare doar în interiorul cardului produsului, nu global în sidebar/filtre. */
body.rm-pgb-shop-skin ul.products li.product .star-rating,
body.rm-pgb-shop-skin ul.products li.product .rating-wrap,
body.rm-pgb-shop-skin ul.products li.product .product-categories,
body.rm-pgb-shop-skin ul.products li.product .category-list,
body.rm-pgb-shop-skin .products li.product .star-rating,
body.rm-pgb-shop-skin .products li.product .rating-wrap,
body.rm-pgb-shop-skin .products li.product .product-categories,
body.rm-pgb-shop-skin .products li.product .category-list,
body.rm-pgb-shop-skin .product-col .star-rating,
body.rm-pgb-shop-skin .product-col .rating-wrap,
body.rm-pgb-shop-skin .product-col .product-categories,
body.rm-pgb-shop-skin .product-col .category-list,
body.rm-pgb-shop-skin .porto-tb-item.product .star-rating,
body.rm-pgb-shop-skin .porto-tb-item.product .rating-wrap,
body.rm-pgb-shop-skin .porto-tb-item.product .product-categories,
body.rm-pgb-shop-skin .porto-tb-item.product .category-list{
  display:none!important;
}

/* Reconfirmăm vizibilitatea widgeturilor/listelor de categorii din sidebar și filtrul mobil. */
body.rm-pgb-shop-skin aside .product-categories,
body.rm-pgb-shop-skin .sidebar .product-categories,
body.rm-pgb-shop-skin .widget .product-categories,
body.rm-pgb-shop-skin .filter-sidebar .product-categories,
body.rm-pgb-shop-skin .mobile-sidebar .product-categories,
body.rm-pgb-shop-skin .porto-product-filters .product-categories,
body.rm-pgb-shop-skin .porto-product-filters .category-list,
body.rm-pgb-shop-skin .woocommerce-widget-layered-nav-list,
body.rm-pgb-shop-skin .widget_product_categories ul{
  display:block!important;
}


/* ===== RM PGB v1.2.7 safe badge classes; output only when template calls render_badge_for_product() ===== */
.rm-pgb-product-badge{
  position:absolute!important;
  z-index:35!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:20px!important;
  max-width:calc(100% - 18px)!important;
  padding:4px 8px!important;
  border-radius:7px!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  white-space:nowrap!important;
  box-shadow:0 6px 14px rgba(0,0,0,.22)!important;
  pointer-events:none!important;
}

.rm-pgb-product-badge-black{background:#050505!important;color:#fff!important}
.rm-pgb-product-badge-green{background:#008a20!important;color:#fff!important}
.rm-pgb-product-badge-red{background:#b42318!important;color:#fff!important}
.rm-pgb-product-badge-gold{background:#f2c94c!important;color:#111!important}

.rm-pgb-product-badge-pos-right-top{top:7px!important;right:7px!important;bottom:auto!important;left:auto!important;transform:none!important}
.rm-pgb-product-badge-pos-right-middle{top:50%!important;right:7px!important;bottom:auto!important;left:auto!important;transform:translateY(-50%)!important}
.rm-pgb-product-badge-pos-right-bottom{right:7px!important;bottom:7px!important;top:auto!important;left:auto!important;transform:none!important}
.rm-pgb-product-badge-pos-left-top{top:7px!important;left:7px!important;bottom:auto!important;right:auto!important;transform:none!important}
.rm-pgb-product-badge-pos-left-middle{top:50%!important;left:7px!important;bottom:auto!important;right:auto!important;transform:translateY(-50%)!important}
.rm-pgb-product-badge-pos-left-bottom{left:7px!important;bottom:7px!important;top:auto!important;right:auto!important;transform:none!important}

.rm-pgb-product-badge-stacked.rm-pgb-product-badge-pos-left-top{top:32px!important}

@media(max-width:767px){
  .rm-pgb-product-badge{
    min-height:18px!important;
    padding:3px 6px!important;
    border-radius:6px!important;
    font-size:9px!important;
  }
  .rm-pgb-product-badge-pos-right-top{top:6px!important;right:6px!important}
  .rm-pgb-product-badge-pos-right-middle{right:6px!important}
  .rm-pgb-product-badge-pos-right-bottom{right:6px!important;bottom:6px!important}
  .rm-pgb-product-badge-pos-left-top{top:6px!important;left:6px!important}
  .rm-pgb-product-badge-pos-left-middle{left:6px!important}
  .rm-pgb-product-badge-pos-left-bottom{left:6px!important;bottom:6px!important}
  .rm-pgb-product-badge-stacked.rm-pgb-product-badge-pos-left-top{top:28px!important}
}


/* ===== RM PGB v1.2.8 badge test helper ===== */
.rm-pgb-badge-test{
  background:#fff;
  border-radius:8px;
  margin:12px 0;
}
.rm-pgb-badge-test-error{
  border:1px solid #f0c8c8!important;
  color:#842121;
  padding:12px;
}
.rm-pgb-badge-test-warning{
  border:1px solid #f5d69b!important;
  color:#7a4d00;
  padding:12px;
}
