/* LMNP.blog Sidebar Widgets - conçu pour Blocksy */
.lmnp-widget,
.lmnp-widget.widget {
  margin: 0 0 22px !important;
}

.lmnp-sidebar-card {
  background: #fff;
  border: 1px solid #dfe5e9;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(31,52,72,.07);
  padding: 18px;
}

.lmnp-sidebar-title {
  margin: 0 0 16px !important;
  padding: 0 0 10px !important;
  border: 0 !important;
  border-bottom: 2px solid #4c84b1 !important;
  color: #333b42 !important;
  font-size: 21px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.lmnp-product-image {
  display: block;
  margin-bottom: 13px;
  overflow: hidden;
  border: 1px solid #e0e5e8;
  border-radius: 7px;
  background: #fff;
}

.lmnp-product-image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.lmnp-product-name {
  display: block;
  margin-bottom: 9px;
  color: #172b3d !important;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: none !important;
}

.lmnp-product-name:hover,
.lmnp-side-post-title:hover {
  color: #2f74ad !important;
}

.lmnp-rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 8px;
}

.lmnp-stars {
  color: #f2af20;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
}

.lmnp-rating-text {
  color: #69727a;
  font-size: 12.5px;
}

.lmnp-product-price {
  margin: 5px 0 14px;
  color: #172b3d;
  font-size: 17px;
  line-height: 1.3;
}

.lmnp-product-price del {
  margin-right: 6px;
  color: #929ba2;
  font-size: 14px;
  font-weight: 400;
}

.lmnp-product-price ins {
  background: transparent;
  color: #172b3d;
  font-weight: 700;
  text-decoration: none;
}

.lmnp-sidebar-button {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border-radius: 5px;
  background: #347eb6;
  color: #fff !important;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  transition: background .15s ease, transform .15s ease;
}

.lmnp-sidebar-button:hover {
  background: #244f73;
  color: #fff !important;
  transform: translateY(-1px);
}

.lmnp-post-list {
  display: grid;
  gap: 0;
}

.lmnp-side-post {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr);
  gap: 11px;
  align-items: center;
  padding: 0 0 12px;
  margin: 0 0 12px;
  border-bottom: 1px solid #e6eaed;
}

.lmnp-side-post:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.lmnp-side-post-thumb {
  display: block;
  width: 72px;
  height: 55px;
  overflow: hidden;
  border: 1px solid #e0e4e7;
  border-radius: 4px;
  background: #f2f5f7;
}

.lmnp-side-post-thumb img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: cover;
}

.lmnp-side-post-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: #edf2f5;
}

.lmnp-side-post-title {
  color: #42515d !important;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 650;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .lmnp-sidebar-card { padding: 16px; }
}


/* Paramétrage v1.1 */
.lmnp-product-price.lmnp-hide-old-price del {
  display: none !important;
}

.lmnp-side-post.lmnp-side-post-no-thumb {
  grid-template-columns: 1fr;
}
