/* Refonte 2026 — charger après les deux feuilles existantes.
   Menu commun via lpd-site-2026 ; produits limités à lpd-shop-2026.
   Les classes lpd-* facultatives sont à attribuer dans Elementor (voir README).
   Les états open/loading/added et les événements du panier restent inchangés. */
body.lpd-site-2026 {
  --lpd-ink: #25232b;
  --lpd-pink: #e96b98;
  --lpd-action: #c93568;
  --lpd-action-hover: #a92553;
  --lpd-muted: #f4f4f6;
  --lpd-border: #e5e4e9;
}
body.lpd-shop-2026 {
  color: var(--lpd-ink);
  background: #fff !important;
  background-image: none !important;
}
body.lpd-shop-2026 .lpd-shop-surface {
  background: #fff !important;
  background-image: none !important;
}
body.lpd-shop-2026 .lpd-shop-surface > .elementor-background-overlay {
  background: none !important;
}
body.lpd-shop-2026 .lp-products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0 48px;
}
body.lpd-shop-2026 .lp-product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  column-gap: 12px;
  min-width: 0;
  background: #fff;
  color: var(--lpd-ink);
  border: 1px solid var(--lpd-border) !important;
  border-radius: 16px !important;
  overflow: hidden;
  padding: 0 0 18px;
  text-align: left;
  box-shadow: none;
}
body.lpd-shop-2026 .lp-card-image {
  grid-column: 1 / -1;
  width: 100%;
  overflow: hidden;
  background: var(--lpd-muted);
}
body.lpd-shop-2026 .lp-card-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
body.lpd-shop-2026 .lp-product-title {
  grid-column: 1 / -1;
  color: var(--lpd-ink) !important;
  font-size: 18px !important;
  line-height: 1.35;
  font-weight: 700;
  text-align: left;
  margin: 18px 18px 8px;
  padding: 0;
  overflow-wrap: anywhere;
}
body.lpd-shop-2026 .lp-price {
  color: var(--lpd-ink);
  font-size: 17px;
  font-weight: 600;
  grid-column: 1;
  grid-row: 3;
  align-self: center;
  margin: 0 0 0 18px;
  overflow-wrap: anywhere;
}
body.lpd-shop-2026 .lp-card-add,
body.lpd-shop-2026 .lp-add-to-cart {
  background: var(--lpd-action) !important;
  color: #fff !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  min-height: 44px;
  height: auto;
  padding: 10px 18px !important;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
  transform: none;
}
body.lpd-shop-2026 .lp-card-add {
  grid-column: 2;
  grid-row: 3;
  align-self: center;
  justify-self: end;
  margin: 0 18px 0 0;
  min-height: 36px;
  padding: 8px 14px !important;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px !important;
  text-transform: lowercase;
}
body.lpd-shop-2026 .lp-card-add::first-letter { text-transform: uppercase; }
@media (pointer: coarse) {
  body.lpd-shop-2026 .lp-card-add { min-height: 44px; }
}
body.lpd-shop-2026 .lp-card-add:hover,
body.lpd-shop-2026 .lp-add-to-cart:hover {
  background: var(--lpd-action-hover) !important;
  transform: none;
}
body.lpd-shop-2026 .lp-card-add:disabled { opacity: .7; cursor: wait; }
body.lpd-site-2026 .lp-menu-filtrable { gap: 8px; }
body.lpd-site-2026 .lp-menu-filtrable .buttons-menu {
  background: #fff !important;
  color: var(--lpd-ink) !important;
  border: 1px solid var(--lpd-border) !important;
  border-radius: 10px !important;
  padding: 10px 16px !important;
  min-height: 44px;
  box-shadow: none !important;
  line-height: 1.3;
}
body.lpd-site-2026 .lp-menu-filtrable .buttons-menu:hover {
  background: var(--lpd-muted) !important;
}
body.lpd-site-2026 .lp-menu-filtrable .buttons-menu.active {
  background: var(--lpd-action) !important;
  color: #fff !important;
  border-color: var(--lpd-action) !important;
}
body.lpd-site-2026 .lp-menu-filtrable .buttons-menu:focus-visible {
  outline: 3px solid var(--lpd-ink) !important;
  outline-offset: 3px;
}
body.lpd-shop-2026 #lp-category-title {
  color: var(--lpd-ink);
  font-size: clamp(24px, 3vw, 34px) !important;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  margin: 28px 0 20px;
}
body.lpd-shop-2026 #lp-category-title::after { display: none; }
body.lpd-shop-2026 #lp-drawer { color: var(--lpd-ink); background: #fff; }
body.lpd-shop-2026 .lp-drawer-title { color: var(--lpd-ink); font-weight: 700; }
body.lpd-shop-2026 .lp-drawer-footer {
  background: #fff;
  border-top: 1px solid var(--lpd-border);
}
body.lpd-shop-2026 #lp-drawer input,
body.lpd-shop-2026 #lp-drawer select {
  border: 1px solid #9b98a3;
  border-radius: 8px;
  background: #fff;
  color: var(--lpd-ink);
  min-height: 44px;
  font-size: 16px;
}
body.lpd-shop-2026 :is(.lp-card-add, .lp-add-to-cart, .buttons-menu, #lp-drawer-close, .lpd-hero-link):focus-visible {
  outline: 3px solid var(--lpd-ink) !important;
  outline-offset: 3px;
}
/* Classes Elementor facultatives, à placer sur les conteneurs indiqués. */
body.lpd-shop-2026 .lpd-header { background: #fff !important; }
body.lpd-shop-2026 .lpd-delivery {
  background: var(--lpd-ink) !important;
  color: #fff;
  padding: 10px 16px;
  text-align: center;
}
body.lpd-shop-2026 .lpd-delivery :is(p, .elementor-heading-title) { color: #fff !important; margin: 0; }
body.lpd-shop-2026 .lpd-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
  background: #fff;
  color: var(--lpd-ink);
}
body.lpd-shop-2026 .lpd-hero h1 {
  font-size: clamp(32px, 4.4vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--lpd-ink);
  margin: 0 0 20px;
}
body.lpd-shop-2026 .lpd-hero h1 span { color: var(--lpd-action); }
body.lpd-shop-2026 .lpd-hero p { font-size: 18px; margin: 0 0 24px; }
body.lpd-shop-2026 .lpd-hero-link {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 9px;
  color: #fff;
  background: var(--lpd-action);
  font-weight: 600;
  text-decoration: none;
}
body.lpd-shop-2026 .lpd-hero-link:hover { background: var(--lpd-action-hover); }
body.lpd-shop-2026 .lpd-hero img { display: block; width: 100%; height: auto; border-radius: 16px; }
body.lpd-shop-2026 #lp-category-title { scroll-margin-top: 180px; }
@media (max-width: 1024px) {
  body.lpd-shop-2026 .lp-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 600px) {
  body.lpd-shop-2026 .lp-products-grid { grid-template-columns: 1fr; }
  body.lpd-shop-2026 .lpd-hero { grid-template-columns: 1fr; padding: 24px 16px; gap: 24px; }
}
