/* =====================================================
   FIRMA TOPBAR v2 – breadcrumb + title + rating + share
   Wzorowany na produkt-topbar.css
===================================================== */

.firma-topbar{
  background:linear-gradient(180deg,#065f6c,#064e5e);
  color:#fff;
  padding:22px 0;
}

.firma-topbar-in{
  max-width:1200px;
}

/* BREADCRUMB */
.firma-breadcrumb{
  font-size:13px;
  margin-bottom:10px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px;
}

.firma-breadcrumb a{
  color:rgba(255,255,255,.75);
  text-decoration:none;
  transition:color .2s;
}

.firma-breadcrumb a:hover{
  color:#fff;
  text-decoration:underline;
}

.firma-breadcrumb .sep{
  opacity:.4;
  margin:0 2px;
}

/* LOGO IN TOPBAR */
.firma-topbar-logo{
  flex-shrink:0;
}
.firma-topbar-logo-img{
  width:90px;
  height:90px;
  border-radius:14px;
  object-fit:cover;
  border:3px solid rgba(255,255,255,.25);
  background:#fff;
  box-shadow:0 4px 16px rgba(0,0,0,.25);
}
.firma-topbar-logo-default{
  padding:12px;
  object-fit:contain;
}

/* TITLE LINE */
.firma-topline{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.firma-topline-left{
  flex:1;
  min-width:0;
}

.firma-title{
  margin:0 0 8px 0;
  font-size:30px;
  line-height:1.15;
  font-weight:800;
}

/* META ROW: rating + badges */
.firma-meta-row{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

/* RATING STARS */
.firma-rating{
  display:flex;
  align-items:center;
  gap:8px;
}

.firma-stars{
  display:inline-flex;
  gap:2px;
}

.firma-stars .star{
  font-size:18px;
  color:rgba(255,255,255,.3);
  line-height:1;
}

.firma-stars .star.filled{
  color:#f5c518;
}

.firma-stars .star.half{
  background:linear-gradient(90deg,#f5c518 50%,rgba(255,255,255,.3) 50%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.firma-rating-text{
  font-size:13px;
  opacity:.85;
  font-weight:600;
}

/* BADGES */
.firma-meta-row .badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 12px;
  border-radius:999px;
  font-weight:600;
  font-size:12px;
  white-space:nowrap;
}

.badge.verified{
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.25);
}

.badge.light{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2);
  font-weight:600;
}

.badge.promo-badge{
  background:rgba(46,125,50,.85);
  border:1px solid rgba(255,255,255,.2);
}

/* SHARE BUTTONS (right side) — reuse produkt-topbar classes */
.firma-topline-right{
  flex-shrink:0;
  display:flex;
  align-items:center;
}

/* Reuse prd-share-* from produkt-topbar.css; fallback inline styles */
.firma-topbar .prd-share-bar{
  display:flex;
  align-items:center;
  gap:8px;
}

.firma-topbar .prd-share-label-top{
  font-size:12px;
  color:rgba(255,255,255,.65);
  font-weight:600;
  margin-right:4px;
}

.firma-topbar .prd-share-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  width:36px;
  height:36px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.15);
  color:#fff;
  cursor:pointer;
  transition:all .2s;
  padding:0;
  font-family:inherit;
}

.firma-topbar .prd-share-btn:hover{
  background:rgba(255,255,255,.25);
  border-color:rgba(255,255,255,.3);
  transform:scale(1.08);
}

.firma-topbar .prd-share-btn svg{
  fill:currentColor;
  flex-shrink:0;
}

.firma-topbar .prd-share-copy-btn{
  width:auto;
  border-radius:18px;
  padding:0 14px;
  gap:8px;
}

.firma-topbar .prd-share-copy-btn svg{
  fill:none;
  stroke:currentColor;
}

.firma-topbar .prd-share-copy-btn .prd-share-label{
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}

.firma-topbar .prd-share-btn.copied{
  background:rgba(46,125,50,.6);
  border-color:rgba(46,125,50,.8);
}

/* RESPONSIVE */
@media (max-width:900px){
  .firma-title{
    font-size:24px;
  }
  .firma-topline{
    flex-direction:column;
    gap:12px;
  }
}

@media (max-width:550px){
  .firma-topbar{
    padding:14px 0;
  }
  .firma-title{
    font-size:20px;
  }
  .firma-topbar-logo-img{
    width:64px;
    height:64px;
    border-radius:10px;
  }
  .firma-breadcrumb{
    font-size:11px;
  }
  .firma-meta-row .badge{
    font-size:11px;
    padding:4px 8px;
  }
  .firma-topbar .prd-share-copy-btn .prd-share-label{
    display:none;
  }
  .firma-topbar .prd-share-copy-btn{
    width:36px;
    padding:0;
  }
}
