/* ================================================================
   popup-paques.css
   À placer dans : /wp-content/themes/VOTRE-THEME/css/popup-paques.css
   ================================================================ */

/* ── Overlay ── */
.popup-paques-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-paques-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ── Popup card ── */
.popup-paques {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e0d8;
  max-width: 520px;
  width: 100%;
  padding: 2rem 2rem 1.5rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(24px);
  transition: transform 0.35s ease;
}

.popup-paques-overlay.is-visible .popup-paques {
  transform: translateY(0);
}

/* ── Close button ── */
.popup-paques-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d5d3cb;
  background: #f4f1eb;
  color: #888;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  padding: 0;
}
.popup-paques-close:hover { background: #e8e5de; }

/* ── Header ── */
.popup-paques-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.popup-paques-icon {
  width: 38px;
  height: 38px;
  background: #EAF3DE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.popup-paques-label {
  font-size: 11px;
  font-weight: 600;
  color: #3B6D11;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.popup-paques-title {
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.2;
  margin: 0;
}

/* ── Intro ── */
.popup-paques-intro {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 1.1rem;
}

.popup-paques-intro strong {
  color: #1a1a1a;
  font-weight: 500;
}

/* ── Photos ── */
.popup-paques-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 1.1rem;
}

.popup-paques-photo {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f4f1eb;
}

.popup-paques-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Section label ── */
.popup-paques-section-label {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 0.65rem;
}

/* ── Pickup list ── */
.popup-paques-pickup-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1rem;
  list-style: none;
  padding: 0;
}

.popup-paques-pickup-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f7f5f0;
  border-radius: 8px;
  padding: 10px 12px;
}

.popup-paques-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #639922;
  margin-top: 5px;
  flex-shrink: 0;
}

.pickup-name {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
}

.pickup-date {
  font-size: 13px;
  color: #666;
}

/* ── Order box ── */
.popup-paques-order {
  background: #EAF3DE;
  border: 1px solid #C0DD97;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 1rem;
}

.popup-paques-order-title {
  font-size: 12px;
  font-weight: 600;
  color: #27500A;
  margin-bottom: 3px;
}

.popup-paques-order-contact {
  font-size: 12px;
  color: #3B6D11;
}

.popup-paques-order-contact a {
  color: #3B6D11;
  text-decoration: underline;
}

/* ── Note ── */
.popup-paques-note {
  font-size: 12px;
  color: #777;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.popup-paques-note strong {
  font-weight: 500;
  color: #333;
}

/* ── Footer ── */
.popup-paques-footer {
  border-top: 1px solid #e8e5de;
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.popup-paques-signature {
  font-size: 12px;
  color: #888;
  font-style: italic;
  line-height: 1.5;
}

.popup-paques-signature strong {
  font-weight: 500;
  color: #1a1a1a;
  font-style: normal;
}

.popup-paques-btn-close {
  background: #639922;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.popup-paques-btn-close:hover { background: #4e7a18; }

/* ── Responsive mobile ── */
@media (max-width: 480px) {
  .popup-paques {
    padding: 1.5rem 1.25rem 1.25rem;
  }
  .popup-paques-photos {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .popup-paques-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .popup-paques-btn-close {
    width: 100%;
    text-align: center;
  }
}
