/* Landing onduleur-maroc: match reference design exactly */

/* ========== LEFT SIDEBAR ========== */
.lp-sidebar .lp-section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #1A3760;
}

.lp-sidebar .lp-categories,
.lp-sidebar .lp-marques {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.lp-sidebar .lp-categories li,
.lp-sidebar .lp-marques li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  font-size: 12px;
}

.lp-sidebar .lp-categories li:last-child,
.lp-sidebar .lp-marques li:last-child {
  border-bottom: none;
}

.lp-sidebar .lp-categories a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-sidebar .lp-categories a:hover {
  color: #1A3760;
}

/* Marques as links */
.lp-sidebar .lp-marques li a {
  color: #333;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s;
}

.lp-sidebar .lp-marques li a:hover {
  color: #1A3760;
}

/* MEILLEURES VENTES: row = image left, details right (like reference) */
.lp-meilleures-ventes .lp-mv-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #1A3760;
}

.lp-mv-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.lp-mv-item:last-child {
  border-bottom: none;
}

.lp-mv-item:hover {
  background: #f8f9fa;
}

.lp-mv-item .lp-mv-img-wrap {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: #f5f5f5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lp-mv-item .lp-mv-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lp-mv-item .lp-mv-details {
  flex: 1;
  min-width: 0;
}

.lp-mv-item .lp-mv-name {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  margin-bottom: 2px;
  display: block;
}

.lp-mv-item .lp-mv-stars {
  font-size: 10px;
  color: #ddd;
  letter-spacing: 1px;
}

.lp-mv-item:hover .lp-mv-name {
  color: #1A3760;
}

.lp-mv-all-link {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #1A3760;
  margin-top: 10px;
  text-decoration: none;
}

.lp-mv-all-link:hover {
  text-decoration: underline;
}

/* TRANSPORTEURS */
.lp-transporteurs .lp-section-title {
  margin-bottom: 10px;
}

.lp-transporteurs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.lp-transporteurs-grid .lp-transp-item {
  background: #f5f5f5;
  border-radius: 4px;
  padding: 8px;
  text-align: center;
  font-size: 10px;
  color: #666;
}

/* ========== MAIN: Banner split ========== */
.lp-banner-split {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.lp-banner-main {
  flex: 0 0 65%;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
}

.lp-banner-main img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.lp-banner-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-banner-side .lp-banner-small {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
}

.lp-banner-side .lp-banner-small img {
  width: 100%;
  height: 134px;
  object-fit: cover;
}

@media (max-width: 991px) {
  .lp-banner-split {
    flex-direction: column;
  }
  .lp-banner-main img { height: 220px; }
  .lp-banner-side .lp-banner-small img { height: 120px; }
}

/* ========== Catégories vedettes: 4 cards ========== */
.lp-section-title-main {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #1A3760;
}

.lp-cat-vedettes .card {
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  transition: all 0.2s;
}

.lp-cat-vedettes .card:hover {
  border-color: #1A3760;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.lp-cat-vedettes .card-body {
  padding: 16px;
  text-align: center;
}

.lp-cat-vedettes .card-body img {
  max-width: 56px;
  max-height: 56px;
  margin-bottom: 10px;
}

.lp-cat-vedettes .card-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 10px;
}

.lp-cat-vedettes .btn-voir-plus {
  font-size: 11px;
  padding: 6px 14px;
  background: #1A3760;
  color: #fff;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

.lp-cat-vedettes .btn-voir-plus:hover {
  background: #2a4a7a;
  color: #fff;
}

/* ========== Nouveaux produits grid: small cards ========== */
.lp-products-grid .lp-product-card {
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: all 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.lp-products-grid .lp-product-card:hover {
  border-color: #1A3760;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.lp-products-grid .lp-product-card .lp-card-brand {
  text-align: center;
  padding: 8px;
  background: #f8f9fa;
}

.lp-products-grid .lp-product-card .lp-card-brand img {
  max-height: 24px;
  max-width: 80px;
  object-fit: contain;
}

.lp-products-grid .lp-product-card .lp-card-thumb {
  padding: 12px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.lp-products-grid .lp-product-card .lp-card-thumb img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.lp-products-grid .lp-product-card .lp-card-body {
  padding: 10px 12px;
  flex: 1;
}

.lp-products-grid .lp-product-card .lp-card-marque {
  font-size: 10px;
  color: #666;
  margin-bottom: 2px;
}

.lp-products-grid .lp-product-card .lp-card-title {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  margin-bottom: 4px;
}

.lp-products-grid .lp-product-card .lp-card-stars {
  font-size: 10px;
  color: #ddd;
  margin-bottom: 4px;
}

.lp-products-grid .lp-product-card .lp-card-desc {
  font-size: 10px;
  color: #666;
  line-height: 1.3;
}

.lp-products-grid .lp-product-card .lp-card-btn {
  display: block;
  text-align: center;
  font-size: 10px;
  padding: 8px;
  background: #1A3760;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 8px;
}

.lp-products-grid .lp-product-card .lp-card-btn:hover {
  background: #2a4a7a;
  color: #fff;
}

/* ========== 4-column product list (bottom) ========== */
.lp-four-cols .lp-col-category {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 12px;
  height: 100%;
}

.lp-four-cols .lp-col-category h6 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
}

.lp-four-cols .lp-col-product {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: #333;
  font-size: 10px;
}

.lp-four-cols .lp-col-product:last-child {
  border-bottom: none;
}

.lp-four-cols .lp-col-product:hover {
  color: #1A3760;
}

.lp-four-cols .lp-col-product img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  background: #f5f5f5;
  border-radius: 4px;
}

.lp-four-cols .lp-col-product span {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

/* ========== Fabricants en vedette ========== */
.lp-fabricants {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
}

.lp-fabricants img {
  max-height: 40px;
  max-width: 100px;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.9;
}

.lp-fabricants img:hover {
  opacity: 1;
}

/* ========== Service icons ========== */
.lp-services {
  background: #f8f9fa;
  padding: 24px 0;
}

.lp-services .lp-service-item {
  text-align: center;
  padding: 10px;
}

.lp-services .lp-service-item .icon-wrap {
  font-size: 28px;
  color: #1A3760;
  margin-bottom: 8px;
}

.lp-services .lp-service-item h6 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 4px;
}

.lp-services .lp-service-item p {
  font-size: 10px;
  color: #666;
  margin: 0;
  line-height: 1.3;
}

/* Category page: header and toolbar */
.lp-category-header .col-md-4 img,
.lp-category-header img.img-fluid {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lp-category-header .lp-category-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.lp-category-header .lp-category-intro {
  font-size: 12px;
  color: #555;
  line-height: 1.5;
}

.lp-toolbar {
  font-size: 11px;
  color: #666;
}

.lp-toolbar .form-select {
  font-size: 11px;
  padding: 4px 8px;
}
