/* ==========================================
   Product Meta Preview (Label + Value + Price)
   File: product-meta-preview.css
   Prefix: ppdl-
========================================== */

/* wrapper */
.ppdl-meta-list{
  width: 100%;
  display: flex;
  flex-direction: column;
    border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;

  overflow: hidden; /* KLJUČNO */
}

/* single meta row */
.ppdl-meta-line{
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  margin-top: 0px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;

  white-space: normal;
  word-break: break-word;
}

/* =========================
   LEFT SIDE (text)
========================= */

.ppdl-meta-left{
  flex: 1 1 auto;
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* label */
.ppdl-meta-label{
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  opacity: 0.95;

  margin: 0;
}

/* value wrapper */
.ppdl-meta-value{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* single value line */
.ppdl-meta-value-line{
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.9;
}

/* =========================
   RIGHT SIDE (price)
========================= */

.ppdl-meta-right{
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;

  white-space: nowrap;
}

/* price text */
.ppdl-meta-price{
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  opacity: 0.95;
}

/* =========================
   STATES / VARIANTS
========================= */

/* if there is NO price, keep alignment clean */
.ppdl-meta-line:not(:has(.ppdl-meta-right)){
  justify-content: flex-start;
}

/* optional: tighter rows on mobile */
@media (max-width: 600px){
  .ppdl-meta-line{
    padding: 12px 14px;
    gap: 12px;
  }

  .ppdl-meta-label,
  .ppdl-meta-value-line,
  .ppdl-meta-price{
    font-size: 13.5px;
  }
}
