/* === Widget Playlist Mariage (clair, arrondi, responsive) === */
.wpl * { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.wpl {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  color: #333;
}

.wpl-card {
  background: #f8f9fa;
  border: 1px solid #eef1f6;
  border-radius: 12px;
  padding: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Header */
.wpl-head {
  padding: 0 0 16px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f3f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: none;
  color: inherit;
}

.wpl-head h4 {
  margin: 0;
  font-weight: 700;
  font-size: 1.25rem;
  color: #333;
}

.wpl-head a {
  background: #f8f9fa;
  color: #333;
  font-weight: 500;
  border-radius: 8px;
  padding: 6px 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #e9ecef;
  font-size: 0.9rem;
}

.wpl-head a:hover {
  background: #e9ecef;
  text-decoration: none;
}

/* Tools */
.wpl-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 16px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f3f6;
  align-items: center;
}
.wpl-tools input, .wpl-tools select {
  border-radius:10px;
  border:1px solid #dbe2ea;
  padding:8px 12px;
  font-size:.95rem;
}
.wpl-tools input:focus {
  outline:none;
  border-color:#333335;
  box-shadow:0 0 0 2px rgba(37,99,235,.2);
}
.wpl-tools button {
  border-radius:10px;
  padding:8px 14px;
  border:none;
  background:#333335;
  color:#fff;
  font-weight:600;
  font-size:.95rem;
  cursor:pointer;
  transition:.2s;
}
.wpl-tools button:hover { background:#1e4ed8; }

/* Body */
.wpl-body {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  padding:16px;
}
@media(max-width: 768px){
  .wpl-body { grid-template-columns:1fr; }
}

/* Sections */
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.section-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: #d4a76a;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}

.text-center .section-title:after {
  left: 50%;
  transform: translateX(-50%);
}

.py-5 {
  padding: var(--section-padding);
}

.py-lg-7 {
  padding: var(--section-padding-lg);
}

.wpl-sec {
  border:1px solid #eef1f6;
  border-radius:14px;
  overflow:hidden;
  background:#fafbfc;
}
.wpl-sec-head {
  padding:12px 16px;
  background:#f5f7fb;
  border-bottom:1px solid #eef1f6;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.wpl-sec-head h5 {
  margin:0;
  font-size:1rem;
  font-weight:600;
}
.wpl-badge {
  background:#333335;
  color:#fff;
  border-radius:12px;
  padding:2px 8px;
  font-size:.8rem;
}

/* List */
.wpl-list { list-style:none; margin:0; padding:0; }
.wpl-item {
  display:flex;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid #f1f3f6;
  align-items:center;
  transition:background .2s;
}
.wpl-item:hover { background:#f9fafc; }
.wpl-thumb {
  width:60px;
  height:60px;
  border-radius:10px;
  object-fit:cover;
  background:#f3f5f8;
  flex-shrink:0;
}
.wpl-item-info { flex:1; min-width:0; }
.wpl-title {
  font-weight:600;
  font-size:.95rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.wpl-sub {
  font-size:.85rem;
  color:#6b7280;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.wpl-contrib {
  font-size:.75rem;
  color:#8e9cb2;
  font-style:italic;
}

/* Buttons in list */
.wpl-btns { display:flex; gap:8px; }
.wpl-btn {
  border-radius:8px;
  padding:6px 10px;
  border:1px solid #d1d8e5;
  background:#fff;
  cursor:pointer;
  font-size:.8rem;
  transition:.2s;
}
.wpl-btn:hover { background:#eef3fb; }
.wpl-btn-primary {
  background:#333335;
  color:#fff;
  border:none;
}
.wpl-btn-primary:hover { background:#1e4ed8; }

/* Mobile tweaks */
@media(max-width: 480px){
  .wpl-head h4 { font-size:1rem; margin-bottom:8px; }
  .wpl-tools { flex-direction:column; }
  .wpl-tools input, .wpl-tools button { width:100%; }
  .wpl-item { flex-direction:row; align-items:flex-start; }
  .wpl-thumb { width:50px; height:50px; }
}
