/* Popular Picks Pro — blue border theme, subtle blue shadow, corrected half-star ratings */
.pps-pro-table{
  background:#ffffff;
  border:1px solid #1e73be;
  border-radius:14px;
  margin:0 0 10px;
  padding:17px 11px 11px;
  box-shadow:0 5px 14px rgba(66,133,244,.24);
  font-family:inherit;
  overflow:visible;
  position:relative;
}
.pps-pro-heading{
  background:#ffffff!important;
  color:var(--pps-heading-text,#111111)!important;
  text-align:center;
  font-weight:900;
  letter-spacing:.25px;
  padding:5px 19px;
  font-size:13px;
  line-height:1.15;
  border:1px solid #1e73be;
  border-radius:999px;
  display:table;
  max-width:calc(100% - 26px);
  box-sizing:border-box;
  margin:-29px auto 11px;
  box-shadow:none;
  text-transform:uppercase;
}
.pps-pro-product{
  position:relative;
  display:grid;
  grid-template-columns:95px 1fr;
  gap:7px 12px;
  align-items:start;
  padding:12px 4px 14px;
  border-bottom:1px solid #eadfce;
  text-align:left;
}
.pps-pro-product:last-of-type{border-bottom:0}
.pps-pro-badge{
  position:absolute;
  top:5px;
  left:5px;
  z-index:2;
  display:inline-block;
  background:#fff8e7;
  color:#9a5200;
  border:1px solid #ffc66b;
  border-radius:999px;
  padding:2px 7px;
  font-size:10px;
  font-weight:900;
}
.pps-pro-discount{
  display:inline-block;
  background:#ffffff;
  color:#111111;
  border:1px solid #1e73be;
  border-radius:999px;
  padding:3px 8px;
  font-size:13px;
  line-height:1;
  font-weight:900;
  box-shadow:none;
  white-space:nowrap;
}
.pps-pro-img{
  grid-column:1;
  grid-row:span 3;
  display:block;
  width:95px;
  max-width:95px;
  height:78px;
  object-fit:cover;
  margin:0;
  border-radius:8px;
  border:1px solid #ead8ba;
  background:#fff;
}
.pps-pro-title{
  grid-column:2;
  color:#111;
  font-family:inherit;
  font-style:italic;
  font-weight:400;
  line-height:1.45;
  margin:0 0 2px;
  font-size:15px;
}
.pps-pro-rating-row{
  grid-column:2;
  display:flex;
  align-items:center;
  gap:8px;
  margin:1px 0 7px;
  flex-wrap:wrap;
}
.pps-pro-rating{
  color:#ff9900!important;
  font-weight:900;
  margin:0;
  line-height:1;
  font-size:19px;
  letter-spacing:1px;
  white-space:nowrap;
}
.pps-pro-reviews{color:#007185!important;font-weight:700;font-size:13px!important;letter-spacing:0}

.pps-pro-stars{
  display:inline-flex;
  align-items:center;
  gap:1px;
  vertical-align:middle;
  font-size:19px!important;
  line-height:1!important;
  letter-spacing:1px!important;
}
.pps-pro-star{
  position:relative;
  display:inline-block;
  color:#d5d9d9!important;
  font-size:19px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:0!important;
}
.pps-pro-star-full{color:#ff9900!important}
.pps-pro-star-half{color:#d5d9d9!important}
.pps-pro-star-half::before{
  content:'★';
  position:absolute;
  top:0;
  left:0;
  width:50%;
  overflow:hidden;
  color:#ff9900!important;
}
.pps-pro-star-empty{color:#d5d9d9!important}
.pps-pro-btn{
  grid-column:2;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  background:linear-gradient(90deg,#ffb300 0%,#ffc928 100%);
  color:#111!important;
  font-weight:900;
  text-align:center;
  padding:11px 16px;
  border-radius:5px;
  text-decoration:none!important;
  border:1px solid #e9a400;
  box-shadow:0 2px 4px rgba(255,153,0,.18);
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
  font-size:13px;
  line-height:1.15;
  letter-spacing:.1px;
  text-transform:uppercase;
}
.pps-pro-btn::before{content:''}
.pps-pro-btn-arrow{
  font-size:22px;
  line-height:.8;
  font-weight:700;
  transform:translateY(-1px);
}
.pps-pro-btn:hover,
.pps-pro-btn:focus{
  color:#111!important;
  text-decoration:none!important;
  transform:translateY(-1px);
  background:linear-gradient(90deg,#ffa900 0%,#ffbf13 100%);
  box-shadow:0 4px 9px rgba(145,84,0,.22);
}
.pps-pro-disclosure{
  font-size:11px;
  color:#555;
  line-height:1.35;
  padding:9px 10px 2px;
  text-align:left;
}
.pps-pro-product:not(:has(.pps-pro-img)){
  display:block;
  text-align:left;
  padding:12px 8px;
}
.pps-pro-product:not(:has(.pps-pro-img)) .pps-pro-title{font-size:15px;margin-bottom:5px}
.pps-pro-product:not(:has(.pps-pro-img)) .pps-pro-btn{display:flex;width:100%;min-width:0;max-width:100%}
@media(max-width:700px){
  .pps-pro-table{padding-top:16px}
  .pps-pro-heading{font-size:12px;padding:6px 15px;margin-top:-29px}
  .pps-pro-product{grid-template-columns:82px 1fr;gap:7px 9px}
  .pps-pro-img{width:82px;max-width:82px;height:70px}
  .pps-pro-title{font-size:14px}
  .pps-pro-btn{font-size:11px;padding:8px 10px}
}

/* Keep consecutive Popular Picks sidebar tables close together. */
.widget:has(.pps-pro-table),
.widget_block:has(.pps-pro-table),
.wp-block-shortcode:has(.pps-pro-table){
  margin-bottom:10px!important;
  padding-bottom:0!important;
}
.widget:has(.pps-pro-table) + .widget:has(.pps-pro-table),
.widget_block:has(.pps-pro-table) + .widget_block:has(.pps-pro-table),
.wp-block-shortcode:has(.pps-pro-table) + .wp-block-shortcode:has(.pps-pro-table){
  margin-top:0!important;
}
