@charset "UTF-8";
/* ============================================
   WooCommerce — Review meta line alignment
   Selector je determinističen iz dejanskega HTML-ja
   ============================================ */
.woocommerce-Reviews .comment-text .meta, .woocommerce-Reviews .meta {
  display: flex;
  align-items: baseline;
  gap: 0.65em;
  flex-wrap: wrap;
  margin: 0 0 0.5em 0;
  line-height: 1;
}
/* Vsi otroci v meta - reset margins + align */
.woocommerce-Reviews .meta > * {
  margin: 0;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
/* Avtor (Maja, Miro) */
.woocommerce-review__author {
  font-weight: 700;
}
/* Skrij " – " separator */
.woocommerce-review__dash {
  display: none !important;
}
/* Verified badge */
.woocommerce-review__verified {
  background: var(--primary);
  color: #fff;
  font-style: normal;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  padding: 0.4em 0.75em;
  border-radius: 999px;
  white-space: nowrap;
  gap: 0.35em;
}
.woocommerce-review__verified::before {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M13.5 4.5L6 12L2.5 8.5' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.woocommerce-review__verified:hover {
  filter: brightness(1.05);
  transition: filter 0.2s ease;
}
/* Datum */
.woocommerce-review__published-date {
  color: var(--neutral-700, #666);
  font-size: 0.875rem;
}
/* Mobile */
@media (max-width: 768px) {
  /* Ime zavzame full width prve vrstice */
  /* Badge + datum sta v drugi vrstici, side-by-side */
  .woocommerce-Reviews .meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em;
  }
  .woocommerce-review__author {
    flex-basis: 100%;
  }
  .woocommerce-review__verified {
    flex-shrink: 0;
  }
  .woocommerce-review__published-date {
    flex-shrink: 0;
  }
}
/* ============================================
   Custom star rating (replaces Woo .star-rating font sprite)
   ============================================ */
.kosm-star-rating {
  display: inline-flex;
  gap: 2px;
  font-size: 1.1rem;
  line-height: 1;
  /* Pozicioniranje na desno, kot kaže tvoj screenshot */
  float: right;
}
.kosm-star {
  color: color-mix(in srgb, var(--neutral) 25%, transparent);
  transition: color 0.2s ease;
}
.kosm-star.is-filled {
  color: var(--warning);
}
/* Pri review item-u zagotovi, da rating ostane na desni vrhu */
.woocommerce-Reviews .commentlist li .comment-text {
  position: relative;
}
@media (max-width: 768px) {
  .kosm-star-rating {
    font-size: 1rem;
  }
}
