/* =========================================================
   AIROD Seller Directory + Reviews — Electro PRO (FULL CSS)
   ========================================================= */

/* Base wrappers */
.airod-sdr-wrap { margin: 0 0 28px; }
.airod-sdr-electro { width: 100%; }
.airod-sdr-title { margin: 0 0 10px; }

/* Header (titlu + search) */
.airod-sdr-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom: 12px;
}
.airod-sdr-search{
  display:flex;
  gap:10px;
  align-items:center;
  margin: 0;
}
.airod-sdr-search input[type="text"]{
  width: min(520px, 78vw);
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  outline: none;
  background: #fff;
}
.airod-sdr-search button.button,
.airod-sdr-search button{
  padding: 10px 16px;
  border-radius: 999px;
}

/* Section head (widget “Alți parteneri”) */
.airod-sdr-section{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin: 6px 0 14px;
}
.airod-sdr-section h3{
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}
.airod-sdr-more a{
  text-decoration:none;
  font-weight: 800;
}

/* =========================================================
   ELECTRO OVERRIDES
   ========================================================= */

.airod-sdr-electro ul.products{ margin:0 !important; padding:0 !important; display:grid !important; grid-template-columns: repeat(var(--airod-cols,6), minmax(0,1fr)) !important; gap:14px !important; }
.airod-sdr-electro ul.products li.product.airod-sdr-seller{
  position: relative;
  padding: 10px !important;
  border: 1px solid #eef0f3 !important;
  border-radius: 12px !important;
  background: #fff !important;
  overflow: hidden !important;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.airod-sdr-electro ul.products li.product.airod-sdr-seller:hover{
  border-color:#e5e7eb !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.06) !important;
  transform: translateY(-2px);
}

.airod-sdr-electro li.product.airod-sdr-seller a.woocommerce-LoopProduct-link{
  display:block;
  text-decoration:none;
}

/* =======================
   LOGO IDENTIC VIZUAL
   - cutie fixă
   - width + height fixe
   ======================= */

/* Zona logo (mai înaltă un pic ca să încapă badge-ul) */
.airod-sdr-electro .airod-sdr-seller-thumb{
  height: 78px !important;
  padding: 8px 10px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  background:#fafafa !important;
  border: 1px solid #f1f3f5 !important;
  border-radius: 12px !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Cutia fixă a logo-ului (control mărime) */
.airod-sdr-electro .airod-sdr-logo-box{
  width: 100% !important;
  max-width: 180px !important;     /* logo mai mic, dar fără tăiere */
  height: 46px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

/* Logo: 100% din box, fără clipping */
.airod-sdr-electro li.product.airod-sdr-seller img.airod-sdr-logo{
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display:block !important;
  margin: 0 !important;
}

/* Fallback: litera */
.airod-sdr-electro .airod-sdr-logo-fallback{
  width: 54px !important;
  height: 46px !important;
  border-radius: 12px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-weight: 900 !important;
  background:#f3f4f6 !important;
  color:#111827 !important;
  font-size: 20px !important;
}

/* Trusted SVG badge */
.airod-sdr-electro .airod-sdr-trusted{
  position:absolute;
  top: 8px;
  left: 8px;
  width: 140px;
  height: 28px;
  z-index: 6;
  display:block;
}
.airod-sdr-electro .airod-sdr-trusted img{
  width: 140px !important;
  height: 28px !important;
  object-fit: contain !important;
  display:block !important;
}

/* Title */
.airod-sdr-electro .airod-sdr-seller-title{
  margin: 12px 0 0 !important;
  line-height: 1.25 !important;
  font-size: 12px !important;
  min-height: 34px;
}

/* Rating row */
.airod-sdr-electro .airod-sdr-rating-row{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top: 8px;
  font-size: 13px;
  color:#374151;
}
.airod-sdr-electro .airod-sdr-rating-num{ font-weight: 900; }
.airod-sdr-electro .airod-sdr-rating-count{ opacity: .75; }

/* Stars */
.airod-sdr-electro .airod-sdr-stars{
  position: relative;
  display:inline-block;
  width: 92px;
  height: 16px;
  line-height: 1;
  font-size: 15px;
  letter-spacing: 2px;
}
.airod-sdr-electro .airod-sdr-stars::before{
  content:"★★★★★";
  color:#e5e7eb;
  position:absolute; left:0; top:0;
}
.airod-sdr-electro .airod-sdr-stars::after{
  content:"★★★★★";
  color:#f59e0b;
  position:absolute; left:0; top:0;
  width: var(--pct, 0%);
  overflow:hidden;
  white-space:nowrap;
}

/* =========================================================
   SINGLE SELLER PAGE (păstrezi ce ai)
   ========================================================= */

.airod-sdr-single{ margin-top: 10px; }

.airod-sdr-single-head{
  border: 1px solid #eef0f3;
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}

.airod-sdr-breadcrumb{
  font-size: 14px;
  margin: 0 0 10px;
  color: #6b7280;
}
.airod-sdr-breadcrumb a{ color: inherit; text-decoration: none; }
.airod-sdr-breadcrumb a:hover{ text-decoration: underline; }
.airod-sdr-breadcrumb .sep{ margin: 0 8px; opacity:.6; }
.airod-sdr-breadcrumb .cur{ color:#111827; font-weight:700; }

.airod-sdr-head-inner{
  display:flex;
  gap: 16px;
  align-items: flex-start;
}

.airod-sdr-single .airod-sdr-logo-box{
  width: 150px !important;
  height: 48px !important;
  max-width: 150px !important;
  padding: 10px 12px !important;
  background:#fafafa;
  border:1px solid #f1f3f5;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}
.airod-sdr-single img.airod-sdr-logo{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display:block !important;
  margin: 0 !important;
}

.airod-sdr-head-content{ flex: 1 1 auto; min-width: 260px; }

.airod-sdr-title-row{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.airod-sdr-title-seller{
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
}

.airod-sdr-actions{ margin: 0 0 10px; }

.airod-sdr-desc{
  color:#3a3a3a;
  line-height:1.55;
}

.airod-sdr-verified{display:inline-flex;align-items:center;gap:8px;margin-left:10px;font-weight:700;font-size:13px;opacity:.95;background:transparent;border:0;padding:0;border-radius:0;}
.airod-sdr-verified img{width:42px;height:auto;display:block;}

@media (max-width: 640px){
  .airod-sdr-head-inner{ align-items: center; }
  .airod-sdr-single .airod-sdr-logo-box{
    width: 120px !important;
    max-width: 120px !important;
    height: 42px !important;
  }
  .airod-sdr-title-seller{ font-size: 22px; }
}

@media (max-width: 860px){
  .airod-sdr-search input[type="text"]{ width: 100%; }

  /* pe mobil micșorăm puțin box-ul */
  .airod-sdr-electro .airod-sdr-logo-box{ width: 160px !important; }
  .airod-sdr-electro li.product.airod-sdr-seller img.airod-sdr-logo{
    width: 160px !important;
    max-width: 160px !important;
  }
}


/* Responsive columns */
@media (max-width: 1100px){ .airod-sdr-electro ul.products{ grid-template-columns: repeat(4, minmax(0,1fr)) !important; } }
@media (max-width: 820px){ .airod-sdr-electro ul.products{ grid-template-columns: repeat(3, minmax(0,1fr)) !important; } }
@media (max-width: 560px){ .airod-sdr-electro ul.products{ grid-template-columns: repeat(2, minmax(0,1fr)) !important; } }


/* =========================================================
   AIROD REVIEW LAYOUT (summary + list + form) — PRO
   ========================================================= */

.airod-sdr-summary{
  display:flex;
  gap:18px;
  align-items:stretch;
  border:1px solid #eef0f3;
  border-radius:16px;
  padding:16px;
  background:#fff;
  margin: 16px 0;
}
.airod-sdr-summary-left{
  min-width: 210px;
  padding-right: 8px;
}
.airod-sdr-big{
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}
.airod-sdr-small{
  margin-top: 6px;
  color:#6b7280;
}
.airod-sdr-summary-right{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.airod-sdr-barrow{
  display:flex;
  align-items:center;
  gap:10px;
}
.airod-sdr-barlabel{
  width: 14px;
  font-weight: 800;
  color:#374151;
}
.airod-sdr-barnum{
  width: 26px;
  text-align:right;
  color:#6b7280;
  font-weight: 700;
}
.airod-sdr-bar{
  flex:1;
  height: 10px;
  border-radius: 999px;
  background:#eef0f3;
  overflow:hidden;
}
.airod-sdr-barfill{
  height: 100%;
  border-radius: 999px;
  background: #111827;
  opacity: .18;
}

/* Reviews list */
.airod-sdr-reviews{
  margin: 16px 0;
}
.airod-sdr-reviews h3{
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
}
.airod-sdr-review{
  border:1px solid #eef0f3;
  border-radius: 16px;
  padding: 14px 14px 12px;
  background:#fff;
  margin-bottom: 12px;
}
.airod-sdr-review-top{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom: 8px;
}
.airod-sdr-review-title{
  font-weight: 900;
  font-size: 15px;
}
.airod-sdr-review-body{
  color:#111827;
  line-height: 1.55;
}
.airod-sdr-review-meta{
  margin-top: 10px;
  color:#6b7280;
  font-size: 13px;
  font-weight: 700;
}

/* Form */
.airod-sdr-form{
  border:1px solid #eef0f3;
  border-radius: 16px;
  padding: 16px;
  background:#fff;
  margin: 16px 0 30px;
}
.airod-sdr-form h3{
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
}
.airod-sdr-field{
  margin-bottom: 12px;
}
.airod-sdr-field label{
  display:block;
  font-weight: 800;
  margin-bottom: 6px;
}
.airod-sdr-field input[type="text"],
.airod-sdr-field input[type="email"],
.airod-sdr-field textarea{
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  outline: none;
  background:#fff;
}
.airod-sdr-field textarea{ resize: vertical; }

.airod-sdr-star-input{
  display:flex;
  gap:6px;
  font-size: 22px;
  user-select:none;
}
.airod-sdr-star-input .star{
  cursor:pointer;
  opacity:.35;
}
.airod-sdr-star-input .star.on{ opacity:1; }

.airod-sdr-consent{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin: 10px 0 12px;
  font-weight: 700;
  color:#374151;
}
.airod-sdr-form button[type="submit"]{
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 900;
}
.airod-sdr-note{
  margin-top: 10px;
  color:#6b7280;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 860px){
  .airod-sdr-summary{ flex-direction:column; }
  .airod-sdr-summary-left{ min-width: auto; }
}



/* =========================================================
   Seller single — Compara-like layout
   ========================================================= */
.airod-sdr-seller-top{ margin: 0 0 18px; }
.airod-sdr-seller-card{
  display:flex;
  align-items:center;
  gap:16px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  background:#fff;
}
.airod-sdr-seller-logo{
  width: 120px;
  height: 56px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  flex: 0 0 auto;
}
.airod-sdr-seller-logo img{
  width:100%;
  height:100%;
  object-fit: contain;
  display:block;
}
.airod-sdr-seller-name{ flex: 1 1 auto; min-width: 180px; }
.airod-sdr-seller-name .airod-sdr-title-seller{ margin:0; font-size: 28px; line-height: 1.2; }
.airod-sdr-seller-meta{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.airod-sdr-verified-badge{
  width: 150px;
  height: auto;
  display:block;
}
.airod-sdr-verified{display:inline-flex;align-items:center;gap:8px;margin-left:10px;font-weight:700;font-size:13px;opacity:.95;background:transparent;border:0;padding:0;border-radius:0;}
.airod-sdr-verified img{width:42px;height:auto;display:block;}
.airod-sdr-seller-grid{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  margin-top: 14px;
}
.airod-sdr-seller-box{
  padding: 16px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  background:#fff;
}
.airod-sdr-box-title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}
.airod-sdr-info-table{
  width:100%;
  border-collapse: collapse;
  margin: 0 0 10px;
}
.airod-sdr-info-table th,
.airod-sdr-info-table td{
  padding: 10px 12px;
  border-top: 1px solid rgba(0,0,0,.06);
  vertical-align: top;
}
.airod-sdr-info-table tr:first-child th,
.airod-sdr-info-table tr:first-child td{ border-top: 0; }
.airod-sdr-info-table th{ width: 34%; color: rgba(0,0,0,.65); font-weight: 600; }
.airod-sdr-info-table td a{ text-decoration: none; }
@media (max-width: 900px){
  .airod-sdr-seller-card{ flex-wrap: wrap; }
  .airod-sdr-seller-meta{ width:100%; justify-content:flex-start; }
  .airod-sdr-seller-grid{ grid-template-columns: 1fr; }
  .airod-sdr-seller-name .airod-sdr-title-seller{ font-size: 22px; }
  .airod-sdr-seller-logo{ width: 110px; }
}
