
/* Make image wrapper a positioning context (Flatsome) */
.woocommerce ul.products li.product .box-image .image-none,
.woocommerce ul.products li.product .product-small .box-image .image-none{
  position: relative !important;
  overflow: hidden !important;
}

/* Single product gallery wrapper */
.single-product .woocommerce-product-gallery,
.single-product div.images{
  position: relative !important;
}

/* Ετικέτα Box Now: κάτω αριστερά, σε μία γραμμή, λίγο πιο πάνω από τα γράμματα της φωτογραφίας (η καρδούλα είναι πάνω δεξιά) */
.br-ribbon-boxnow{
  position:absolute !important;
  left:8px !important;
  bottom:22px !important;
  top:auto !important;
  right:auto !important;
  width:auto !important;
  height:auto !important;
  overflow:visible !important;
  z-index: 50 !important;
  pointer-events:none !important;
}

/* ✅ IMPORTANT: hide until moved to correct place */
.br-ribbon-boxnow--need-move{
  opacity: 0 !important;
  transform: translateY(-6px) !important;
}

/* after move: smooth reveal */
.br-ribbon-boxnow:not(.br-ribbon-boxnow--need-move){
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity .18s ease, transform .18s ease;
}

/* Η ετικέτα (πράσινη, στρογγυλεμένη, 2 γραμμές: BOX NOW / CY ή CY & GR) */
.br-ribbon-boxnow span{
  position:static !important;
  display:block !important;
  width:auto !important;
  transform:none !important;
  text-align:center;
  font-weight:800 !important;
  font-size:10px !important;
  line-height:1.15 !important;
  white-space:nowrap !important;
  letter-spacing:.3px !important;
  color:#fff !important;
  background:#38c255 !important;
  padding:4px 9px !important;
  border-radius:12px !important;
  box-shadow:0 3px 8px rgba(0,0,0,.25) !important;
}

@media (max-width:480px){
  .br-ribbon-boxnow span{ font-size:9px !important; padding:3px 7px !important; }
}

/* Hide ribbons when mobile menu / off-canvas is open */
html.off-canvas-open .br-ribbon-boxnow,
body.off-canvas-open .br-ribbon-boxnow,
html.off-canvas-active .br-ribbon-boxnow,
body.off-canvas-active .br-ribbon-boxnow,
body.mobile-nav-active .br-ribbon-boxnow,
body.nav-dropdown-active .br-ribbon-boxnow,
body.mfp-ready .br-ribbon-boxnow{
  display: none !important;
}
