.wp-block-acf-brands-list {
  padding-top: 30px;
}

.clb-item { 
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  gap: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
  margin-bottom: 25px;
}

.clb-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.clb-rank-badge {
  position: absolute;
  top: -10px;
  left: 15px;
  background: #4CAF50;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  padding: 2px 11px;
  border-radius: 4px;
  user-select: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.clb-logo img {
  max-width: 200px;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.clb-details {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  width: 100%;
  padding: 25px;
}

.clb-promo {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
}

.clb-promo-title, .clb-wrapper .clb-promo-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}

.clb-promo-desc,
.clb-desc {
  color: #555;
  margin-bottom: 5px;
  line-height: 1.4;
}

.clb-desc {
  font-size: 0.72rem;
  line-height: 1.3;
}

.clb-desc-wrap {
  background-color: #f1f1f0;
  text-align: center;
  padding: 10px 25px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.clb-rating-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;  
  gap: 10px;
}

.clb-rating-box {
  text-align: center;
}

.clb-rating-value {
  font-size: 2.2rem;
  color: #000;
  font-weight: 700;
  line-height: 1;
}

.clb-star-rating {
  color: #f39c12;
  font-size: 1.4rem;
  letter-spacing: 1.8px;
  user-select: none;
}

.clb-star-rating .clb-star {
  font-size: 24px;
  font-weight: bold;
  color: transparent;
  background: linear-gradient(to right, gold 0%, gold var(--star-fill), lightgray var(--star-fill), lightgray 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.clb-reviews-count {
  font-size: 0.9rem;
  color: #777;
  margin-top: 2px;
}

.clb-cta-wrapper .clb-action-btn {
  display: inline-block;
  background-color: black;
  color: white;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.clb-cta-wrapper .clb-action-btn:hover {
  background-color: #222;
}

.clb-premium-pick {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #e74c3c;
  color: white;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 6px 12px;
  border-bottom-left-radius: 8px;
  user-select: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.clb-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px 0;
  justify-content: center;
}

.clb-wrapper .clb-item {
  flex: 1 1 45%;
  max-width: 45%;
  box-sizing: border-box;
}

.clb-wrapper .clb-logo img {
  margin: 0 auto 15px;
  display: block;
}

.clb-wrapper .clb-promo-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

.clb-wrapper .clb-promo-desc,
.clb-wrapper .clb-desc {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
  text-align: center;
}

.clb-wrapper .clb-action-btn {
  background-color: black;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 10px;
  text-align: center;
  display: inline-block;
  transition: background-color 0.3s ease;
  min-width: 160px;
}

.clb-wrapper .clb-action-btn:hover {
  background-color: #222;
}

.clb-copy-coupon-btn {
  position: relative;
  cursor: pointer;
  display: block;
  user-select: none;
  font-weight: 600;
  font-size: 12px;
  transition: background-color 0.2s ease;
  color: #000;
}

.clb-copy-coupon-btn:hover,
.clb-copy-coupon-btn:focus {
  outline: none;
}

.clb-coupon {
  text-align: center;
  position: relative;
  display: inline-block;
}

.clb-coupon-success {
  display: none;
  margin-left: 4px;
  font-size: 10px;
  color: black;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .clb-item {
    flex-direction: column;
    max-width: 100%;
  }
  .clb-details {
    flex-direction: column;
  }
  .clb-rating-cta {
    align-items: center;
    min-width: auto;
    width: 100%;
  }
  .clb-rank-badge {
    top: -10px;
    left: 10px;
  }
  .clb-premium-pick {
    top: 0;
    border-radius: 0 8px 0 0;
  }  
}

.clb-col {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  width: 100%;
}
.clb-left {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 25px;
  align-items: center;
}

.clb-right {
  flex-shrink: 0;
  width: 280px; 
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.clb-updated {
  display: inline-block;
  background: #fff;
  padding: 6px 16px;
  border-radius: 5px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  margin-bottom: 38px;
}

.clb-updated .clb-label {
  color: #b30000;
  font-weight: 600;
  margin-right: 5px;
}

.clb-updated .clb-date {
  color: #000;
}


@media (max-width: 767px) {
  .clb-details {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0px; 
    padding: 20px 8px 8px;
  } 
  .clb-col {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 0 10px; 
    align-items: center;
    box-sizing: border-box;
  }
  .clb-left {
    width: 52%;
    padding-right: 0;
  }
  .clb-right {
    width: 48%;
  }

  .clb-logo {
    margin: auto;
  }

  .clb-logo img {
    width: 100%;
    height: auto;
    max-width: 160px;
  }

  .clb-promo {
    align-items: center;
    text-align: center;
  }
  .clb-promo-desc {
    text-align: center;
  }

  .clb-promo-title {
    font-size: 1.25rem;
    line-height: 1.1;
    margin-top: 4px;
  }

  .clb-promo-desc {
    font-size: 0.9rem;
  }

  .clb-rating-box,
  .clb-rating-cta,
  .clb-coupon {
    text-align: center;
    width: 100%;
  }

  .clb-rating-cta {
    gap: 0;
  }

  .clb-action-btn {
    width: auto;
    padding: 8px 14px;
    font-size: 14px;
  }

  .clb-cta-wrapper .clb-action-btn {
    padding: 5px 22px;
  }

  .clb-coupon {
    margin-top: 5px;
  }

  .clb-desc {
    margin-bottom: 0;
    font-size: 0.5rem;
    line-height: 1.1;
  }

  .clb-desc-wrap {
    padding: 2px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  .clb-rank-badge {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 3px;
  }

  .clb-copy-coupon-btn {
    font-size: 11px;
    text-transform: uppercase;
  }
  .clb-star-rating .clb-star {
    line-height: 1;
    font-size: 19px;
  }
  .clb-cta-wrapper .clb-action-btn {
    padding: 5px 10px;
    width: 100%;
  }
  .clb-cta-wrapper {
    width: 100%;
    margin: auto;
    min-width: auto;
    max-width: 200px;
  }
  .clb-right, .clb-left {
    gap: 10px;
  }
  
  .clb-reviews-count {
    margin-top: 0;
  }
  .clb-rating-cta {
    align-items: baseline;
  }  
   .clb-col.clb-right {
    text-align: center;     
    display: flex;
    flex-direction: column;
    align-items: center;   
    justify-content: center; 
  }
  .clb-premium-pick {
    padding: 3px 12px;
  }
  .clb-rating-value {
    font-size: 1.8rem;
    line-height: .8;
  }
  .clb-star-rating {
    line-height: 1;
  }
  .clb-updated {
    padding: 2px 16px;
    font-size: 13px;
    margin-bottom: 20px;
  }
}

.clb-show-desktop {
  display: none;
}

.clb-show-mobile {
  display: flex;
}

@media (min-width: 768px) {
  .clb-left,
  .clb-right {
    display: contents;
  }
  .clb-show-desktop {
    display: flex;
  }
  .clb-show-mobile {
    display: none;
  }
}
