/* ==========================================================================
   MASSIMO — Ghid de mărimi (link cu „?", sub selectorul de mărime)
   ========================================================================== */
.btn-ghid-marimi,
a.open-popup-link.button_sg {
    display: block;
    float: none !important;    /* suprascrie style="float: left" adăugat de plugin */
    width: -moz-fit-content;
    width: fit-content;      /* ocupă doar cât textul, nu tot rândul */
    margin: 12px 0 14px;     /* spațiu deasupra => stă sub selectorul de mărime */
    padding: 0;
    border: 0;
    background: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none !important;
    color: #5c4d85;
    cursor: pointer;
    text-decoration: underline dotted;
    text-decoration-color: #5c4d85;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .18s ease, text-decoration-color .18s ease;
}
.btn-ghid-marimi:hover,
.btn-ghid-marimi:focus,
a.open-popup-link.button_sg:hover,
a.open-popup-link.button_sg:focus {
    color: #4a3a6d;
    text-decoration-color: #4a3a6d;
    text-decoration: underline dotted;   /* păstrează punctatul la hover */
    text-underline-offset: 3px;
}
/* bulina „?" mov — element atomic, deci NU e prins de subliniere */
.btn-ghid-marimi::before,
a.open-popup-link.button_sg::before {
    content: "?";
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    flex: 0 0 auto;
    margin-right: 7px;
    vertical-align: middle;
    border-radius: 50%;
    background: #5c4d85;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}
.btn-ghid-marimi:hover::before,
.btn-ghid-marimi:focus::before,
a.open-popup-link.button_sg:hover::before,
a.open-popup-link.button_sg:focus::before {
    background: #4a3a6d;
}

/* ==========================================================================
   MASSIMO — Tabelul din popup: forțează stilul modern mov peste default-ul temei
   ========================================================================== */
.ct-size-guide.sg .sizeGuideTabContents table.ct-size-guide--NonResponsive{
  border-collapse:separate !important;
  border-spacing:0 !important;
  border:0 !important;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 0 0 1px rgba(92,77,133,.14);
}

/* toate celulele: scoate liniile negre ale pluginului */
.ct-size-guide.sg .sizeGuideTabContents table.ct-size-guide--NonResponsive th,
.ct-size-guide.sg .sizeGuideTabContents table.ct-size-guide--NonResponsive td{
  border:0 !important;
  padding:15px 18px !important;
  text-align:center !important;
  font-size:15px !important;
  line-height:1.2 !important;
}

/* header mov plin (în loc de negru) */
.ct-size-guide.sg .sizeGuideTabContents table.ct-size-guide--NonResponsive tr:first-child th{
  background:#5c4d85 !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:700 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
}

/* prima coloană = mărimea (mov pe fundal pal) */
.ct-size-guide.sg .sizeGuideTabContents table.ct-size-guide--NonResponsive tr:not(:first-child) th{
  background:#f5f2fb !important;
  color:#5c4d85 !important;
  font-size:16px !important;
  font-weight:700 !important;
  width:45%;
}

/* a doua coloană = centimetrii */
.ct-size-guide.sg .sizeGuideTabContents table.ct-size-guide--NonResponsive tr:not(:first-child) td{
  background:#fff !important;
  color:#2f2940 !important;
  font-size:16px !important;
  font-weight:600 !important;
}

/* hairline mov fin între rânduri (înlocuiește liniile negre) */
.ct-size-guide.sg .sizeGuideTabContents table.ct-size-guide--NonResponsive tr:not(:first-child):not(:last-child) th,
.ct-size-guide.sg .sizeGuideTabContents table.ct-size-guide--NonResponsive tr:not(:first-child):not(:last-child) td{
  box-shadow:inset 0 -1px 0 rgba(92,77,133,.12) !important;
}

/* hover pe rânduri */
.ct-size-guide.sg .sizeGuideTabContents table.ct-size-guide--NonResponsive tr:not(:first-child):hover th,
.ct-size-guide.sg .sizeGuideTabContents table.ct-size-guide--NonResponsive tr:not(:first-child):hover td{
  background:#ece6f7 !important;
  transition:background .18s ease;
}
