/* ===== séries ===== */

.section-row {
  width: 100%;
  text-align: center;
  margin: 20px 0 10px;
  border: none !important;
  box-shadow: none !important;
  background: transparent;
  grid-column: 1 / -1;
}

.section-inner {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #555;
  padding: 6px 20px;
  position: relative;
}

.section-inner::before,
.section-inner::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: #ccc;
}

.section-inner::before { right: 100%; margin-right: 10px; }
.section-inner::after  { left:  100%; margin-left:  10px; }

/* ===== spacer ===== */

.album-item.spacer {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  pointer-events: none;
}

.album-item.spacer:hover {
  transform: none !important;
}

.album-item.spacer .album-thumb {
  background: transparent !important;
  border: none !important;
}

/* ===== image contain ===== */

.gallery-auto .album-thumb {
  background: #f5f5f5;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-auto .album-thumb img {
  max-width: 98% !important;
  max-height: 300px;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: auto !important;
  transition: transform .35s ease;
}

/* ===== items grid ===== */

.gallery-auto .grid-item {
  width: auto !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
}

/* ===== hover ===== */

.album-item {
  transition: transform .25s ease, box-shadow .25s ease;
}

.album-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.album-item:hover .album-thumb img {
  transform: scale(1.03);
}

/* ===== fix overflow parent ===== */

.gallery-wrap {
  overflow: visible !important;
}

.gallery-auto {
  height: auto !important;
  min-height: 0 !important;
}

/* ===== carte info + footer ===== */

.gallery-auto .album-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

/* Bloc texte — pousse le footer vers le bas */
.gallery-auto .album-item .album-info {
  flex: 1;
  padding: 10px 14px 6px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gallery-auto .album-item h2 {
  margin: 0 0 3px;
  padding: 0;
  font-size: 0.95rem;
  color: #069bb0;
  font-weight: 600;
}

.gallery-auto .album-item > p {
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  color: #888;
}

.gallery-auto .achat-zone {
  padding: 8px 14px 12px;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery-auto .art-price {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-auto .price-new {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
}

.gallery-auto .price-old {
  font-size: 0.8rem;
  color: #aaa;
  text-decoration: line-through;
}

.gallery-auto .actions {
  display: flex;
  gap: 6px;
}

.gallery-auto .btn-heart,
.gallery-auto .bouton-achat {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #FF8C00;
  border-color: #FF8C00;
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none;
}

.gallery-auto .btn-heart:hover,
.gallery-auto .bouton-achat:hover {
  background: #FF8C00;
  color: #fff;
  border-color: #FF8C00;
}


/* ===== badge indisponible ===== */
.badge-indispo {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f98e13;
  display: none;
}

.album-item.indisponible .badge-indispo {
  display: block;
}



/* ===== prix en bleu ===== */
.gallery-auto .price-new {
  color: #069bb0 !important;
  font-size: 1rem;
  font-weight: 700;
}
.gallery-auto .price-old {
  color: #069bb0 !important;
  text-decoration: line-through;
  opacity: 0.55;
  font-size: 0.85rem;
}

/* ===== prix zoom (Magnific) en bleu ===== */
.mfp-figure-split .mfp-price-new {
  color: #069bb0 !important;
  font-size: 1.1rem;
  font-weight: 700;
}
.mfp-figure-split .mfp-price-old {
  color: #069bb0 !important;
  text-decoration: line-through;
  opacity: 0.55;
  font-size: 0.9rem;
}

/* ===== icônes zoom = mêmes que carte produit ===== */
.mfp-figure-split .mfp-actions .btn-heart,
.mfp-figure-split .mfp-actions .bouton-achat {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #FF8C00;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #FF8C00;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.mfp-figure-split .mfp-actions .btn-heart:hover,
.mfp-figure-split .mfp-actions .bouton-achat:hover {
  background: #FF8C00;
  color: #fff;
}
