:root{
  --khl-plv-img: 110px;
  --khl-plv-gap: 12px;
  --khl-plv-price-fs: 18px;
  --khl-plv-price-color: #2e7d32;
}

/* Switcher */
.khl-plv-switcher{
  display:flex;
  gap:8px;
  align-items:center;
  margin: 10px 0 14px;
}
.khl-plv-switcher__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border:1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  background:#fff;
  text-decoration:none;
  font-size: 13px;
  line-height:1;
}
.khl-plv-switcher__btn.is-active{
  border-color: rgba(0,0,0,.28);
  background: rgba(0,0,0,.03);
  font-weight:600;
}

/* Only affect list view */
body.khl-plv-view-list .products{
  display:block; /* Flatsome uses rows/cols; force simple list stacking */
}

/* Product row */
.khl-plv-item{
  margin-bottom: var(--khl-plv-gap);
}
.khl-plv-border-none .khl-plv-row{ border:0; }
.khl-plv-border-subtle .khl-plv-row{
  border:1px solid rgba(0,0,0,.08);
  border-radius: 10px;
}
.khl-plv-border-card .khl-plv-row{
  border:1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.khl-plv-row{
  display:grid;
  grid-template-columns: var(--khl-plv-img) 1fr 220px;
  gap: 14px;
  padding: 12px;
  background:#fff;
}

.khl-plv-image img{
  width: var(--khl-plv-img);
  height: auto;
  display:block;
}
.khl-plv-stock-badge{
  margin-top:8px;
  font-size:12px;
  font-weight:600;
  color:#b71c1c;
}

.khl-plv-title{
  margin:0 0 6px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700; /* requested: bold title */
}
.khl-plv-title a{ text-decoration:none; color: var(--khl-plv-title-color, #111111); }
.khl-plv-title a:hover{ text-decoration: underline; }

.khl-plv-desc{
  font-size: 13px;
  color: rgba(0,0,0,.75);
  margin: 0 0 8px;
}

/* Categories */
.khl-plv-cats{
  font-size: 12px;
  color: rgba(0,0,0,.72);
  margin: 2px 0 8px;
}
.khl-plv-cat{ text-decoration: underline; }
.khl-plv-cat:hover{ text-decoration-thickness: 2px; }

/* Specifications */
.khl-plv-spec{
  margin: 8px 0 8px;
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  background: rgba(0,0,0,.015);
}
.khl-plv-spec legend{
  font-size: 12px;
  font-weight: 700;
  padding: 0 6px;
}
.khl-plv-spec__table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
}
.khl-plv-spec__label{
  width: 1%;
  white-space: nowrap;
  padding: 4px 8px 4px 0;
  font-size: 12px;
  color: rgba(0,0,0,.65);
}
.khl-plv-spec__value{
  padding: 4px 14px 4px 0;
  font-size: 12px;
  color: rgba(0,0,0,.88);
}
.khl-plv-spec__row + .khl-plv-spec__row td{
  border-top: 1px dashed rgba(0,0,0,.08);
}
.khl-plv-compat{
  font-size: 13px;
  margin: 0 0 8px;
  padding: 8px 10px;
  border-left: 3px solid rgba(46,125,50,.5);
  background: rgba(46,125,50,.06);
  border-radius: 8px;
}
.khl-plv-compat__label{ font-weight:600; margin-right:6px; }

.khl-plv-meta{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
  font-size: 12px;
  color: rgba(0,0,0,.72);
}
.khl-plv-sku{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

.khl-plv-col--right{
  text-align:right;
}
.khl-plv-col--sticky{ position: sticky; top: 12px; align-self: start; }

.khl-plv-price{
  font-size: var(--khl-plv-price-fs);
  margin-bottom: 6px;
}
.khl-plv-price__sale{
  color: var(--khl-plv-price-color);
  font-weight: 700;
}
.khl-plv-price__sale,
.khl-plv-price__sale *{
  color: var(--khl-plv-price-color) !important;
}
.khl-plv-price del{ opacity: .75; margin-right: 6px; }

.khl-plv-discount{ 
  display:inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(217,83,79,.12);
  color: #b71c1c;
  font-size: 12px;
  font-weight: 700;
}
.khl-plv-savings{ font-size:12px; color: rgba(0,0,0,.75); margin: 6px 0; }

.khl-plv-cta{ margin-top: 10px; }
.khl-plv-cta--full .button{ width:100%; }
.khl-plv-cart{ display:flex; gap:8px; justify-content:flex-end; }
.khl-plv-qty{ width: 70px; padding: 6px 8px; }

/* Mobile */
@media (max-width: 849px){
  .khl-plv-row{ grid-template-columns: 1fr; text-align:left; }
  .khl-plv-col--right{ text-align:left; }
  .khl-plv-cart{ justify-content:flex-start; }
  body.khl-plv-compact-mobile .khl-plv-row{ padding: 10px; gap: 10px; }
  body.khl-plv-compact-mobile .khl-plv-title{ font-size: 15px; }
  .khl-plv-desc--hide-mobile{ display:none; }
  .khl-plv-spec{ padding: 8px; }
  .khl-plv-spec__value{ padding-right: 8px; }
  .khl-plv-cta--big-mobile .button{ padding: 12px 14px; font-size: 15px; }
}
