.ps-add-button,
.ps-btn,
.ps-link-danger {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.ps-add-button,
.ps-btn,
.passiflore-selection-page .ps-btn.ps-btn-primary {
  background: linear-gradient(135deg, #4a7c59, #6ca06e);
  color: #fff;
  box-shadow: 0 12px 26px rgba(61, 94, 69, 0.18);
}

.ps-add-button:hover,
.ps-btn:hover,
.passiflore-selection-page .ps-btn.ps-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(61, 94, 69, 0.22);
}

.ps-btn:disabled,
.passiflore-selection-page .ps-btn.ps-btn-primary:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
  box-shadow: 0 12px 26px rgba(61, 94, 69, 0.12);
}

.ps-add-button {
  padding: 0.72rem 1.08rem;
  font-size: 0.95rem;
  line-height: 1;
}

.ps-add-button-compact {
  margin-left: 0.75rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  vertical-align: middle;
}

.ps-add-button.is-added {
  background: #2f5e41;
}

.ps-inline-button-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.ps-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ps-floating-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.05rem;
  background: #23412b;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(14, 22, 16, 0.25);
  text-decoration: none;
}

body.et-fb .ps-floating-button,
body.et-db .ps-floating-button {
  display: none !important;
}

.ps-floating-button strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  font-size: 0.9rem;
}

.passiflore-selection-page {
  position: relative;
  max-width: 1080px;
  margin: 3rem auto;
  padding: clamp(1.4rem, 2vw, 2.2rem);
  color: #203228;
  background: linear-gradient(180deg, rgba(252, 249, 242, 0.96) 0%, rgba(247, 242, 233, 0.94) 100%);
  border: 1px solid rgba(202, 210, 193, 0.78);
  border-radius: 34px;
  box-shadow: 0 18px 48px rgba(36, 52, 40, 0.08);
}

.passiflore-selection-shell {
  position: relative;
}

.passiflore-selection-shell::before,
.passiflore-selection-shell::after {
  content: none;
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.55;
  pointer-events: none;
}

.passiflore-selection-shell::before {
  width: 220px;
  height: 220px;
  top: -34px;
  right: 42px;
  background: radial-gradient(circle, rgba(133, 170, 126, 0.22) 0%, rgba(133, 170, 126, 0) 70%);
}

.passiflore-selection-shell::after {
  width: 180px;
  height: 180px;
  left: -20px;
  bottom: 55px;
  background: radial-gradient(circle, rgba(214, 190, 152, 0.18) 0%, rgba(214, 190, 152, 0) 72%);
}

.passiflore-selection-card {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  overflow: visible;
}

.passiflore-selection-card::before {
  content: none;
}

.passiflore-selection-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.4rem;
  align-items: stretch;
  margin-bottom: 1.4rem;
}

.passiflore-selection-header {
  padding: 0.35rem 0 0;
}

.ps-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(74, 124, 89, 0.08);
  color: #42654b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ps-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a7c59, #8cb18d);
  box-shadow: 0 0 0 4px rgba(74, 124, 89, 0.12);
}

.passiflore-selection-header h2,
.passiflore-selection-email-box h3 {
  margin: 0;
  color: #23372b;
  line-height: 1.05;
}

.passiflore-selection-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.03em;
}

.passiflore-selection-header p {
  max-width: 650px;
  margin: 0.9rem 0 0;
  color: #556759;
  font-size: 1.02rem;
}

.passiflore-selection-summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 1.25rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(250, 247, 240, 0.9) 0%, rgba(244, 239, 227, 0.88) 100%),
    radial-gradient(circle at top right, rgba(147, 175, 123, 0.14), transparent 45%);
  border: 1px solid rgba(189, 197, 179, 0.8);
  box-shadow: 0 10px 26px rgba(35, 65, 43, 0.06);
}

.ps-summary-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ps-summary-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  border-radius: 24px;
  background: linear-gradient(145deg, #31543b, #547b56);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 14px 24px rgba(49, 84, 59, 0.22);
}

.ps-summary-copy strong,
.ps-summary-copy span {
  display: block;
}

.ps-summary-copy strong {
  font-size: 1rem;
  color: #23372b;
}

.ps-summary-copy span {
  margin-top: 0.25rem;
  color: #667769;
  font-size: 0.92rem;
  line-height: 1.45;
}

.passiflore-selection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.88rem 1.1rem;
  min-height: 46px;
  font-size: 0.95rem;
  font-weight: 600;
}

.ps-btn-secondary {
  background: rgba(255,255,255,0.82);
  color: #294130;
  border: 1px solid rgba(196, 206, 192, 0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.ps-btn-secondary:hover {
  box-shadow: 0 8px 18px rgba(35, 65, 43, 0.08);
}

.ps-btn-danger,
.ps-link-danger {
  background: transparent;
  color: #9a3d3d;
  box-shadow: none;
}

.ps-link-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(211, 188, 188, 0.95);
  background: rgba(255,255,255,0.7);
  font-size: 0.84rem;
  font-weight: 600;
}

.passiflore-selection-list {
  margin-top: 0.2rem;
}

.ps-items {
  display: grid;
  gap: 1rem;
}

.ps-item {
  position: relative;
  display: block;
  border: 1px solid rgba(202, 211, 196, 0.9);
  border-radius: 24px;
  padding: 1.15rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(250, 250, 247, 0.95) 100%);
  box-shadow: 0 12px 28px rgba(35, 65, 43, 0.05);
}

.ps-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  border-radius: 24px 0 0 24px;
  background: linear-gradient(180deg, #507a58, #9ab385);
}

.ps-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.ps-item-title-wrap {
  min-width: 0;
}

.ps-item-title,
.passiflore-selection-page .ps-item-title {
  display: inline-block;
  margin-bottom: 0.3rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #21402a !important;
  text-decoration: none;
}

.ps-item-title:hover,
.passiflore-selection-page .ps-item-title:hover {
  text-decoration: underline;
}

.ps-item-caption {
  color: #738074;
  font-size: 0.9rem;
}

.ps-item-controls {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 0.95rem;
}

.ps-field,
.passiflore-selection-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: #4b5d4e;
  font-weight: 600;
}

.ps-field span,
.passiflore-selection-form label span {
  display: block;
}

.ps-item input,
.ps-item textarea,
.passiflore-selection-form input,
.passiflore-selection-form textarea {
  width: 100%;
  border: 1px solid rgba(205, 214, 199, 0.95);
  border-radius: 14px;
  padding: 0.82rem 0.95rem;
  background: #fff;
  color: #213229;
  box-shadow: inset 0 1px 2px rgba(22, 33, 25, 0.03);
}

.ps-item textarea,
.passiflore-selection-form textarea {
  min-height: 94px;
  resize: vertical;
}

.ps-item input:focus,
.ps-item textarea:focus,
.passiflore-selection-form input:focus,
.passiflore-selection-form textarea:focus {
  outline: 0;
  border-color: #8aad87;
  box-shadow: 0 0 0 4px rgba(138, 173, 135, 0.18);
}

.ps-empty-state {
  padding: 2.4rem 1.25rem;
  text-align: center;
  border: 1px dashed rgba(190, 201, 184, 0.95);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(248, 244, 235, 0.75) 100%);
}

.ps-empty-state h3 {
  margin: 0 0 0.35rem;
  color: #294130;
}

.ps-empty-state p {
  margin: 0;
  color: #677768;
}

.passiflore-selection-email-box {
  margin-top: 1.5rem;
  padding: 1.35rem;
  border: 1px solid rgba(205, 212, 197, 0.9);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(251, 248, 242, 0.9) 0%, rgba(248, 245, 236, 0.88) 100%),
    radial-gradient(circle at top right, rgba(212, 197, 157, 0.14), transparent 42%);
  box-shadow: 0 10px 28px rgba(35, 65, 43, 0.05);
}

.passiflore-selection-email-box h3 {
  font-size: 1.55rem;
}

.passiflore-selection-email-box p {
  margin: 0.45rem 0 1rem;
  color: #647062;
}

.ps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1rem;
}

.passiflore-selection-feedback {
  margin-top: 0.9rem;
  min-height: 1.2em;
  font-weight: 600;
}

.passiflore-selection-feedback.is-success {
  color: #2b6f3f;
}

.passiflore-selection-feedback.is-error {
  color: #a33b3b;
}

@media print {
  .ps-floating-button,
  .passiflore-selection-actions,
  .passiflore-selection-email-box,
  .ps-link-danger,
  .ps-add-button,
  .passiflore-selection-shell::before,
  .passiflore-selection-shell::after {
    display: none !important;
  }

  .passiflore-selection-page {
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .passiflore-selection-card,
  .ps-item,
  .passiflore-selection-summary {
    box-shadow: none;
    border: 0;
    background: #fff;
  }

  .passiflore-selection-card {
    padding: 0;
  }

  .passiflore-selection-hero {
    display: block;
  }
}

@media (max-width: 980px) {
  .passiflore-selection-hero,
  .ps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .passiflore-selection-page {
    margin: 2rem auto;
    padding: 0 0.65rem;
  }

  .passiflore-selection-card {
    border-radius: 24px;
    padding: 1rem;
  }

  .passiflore-selection-summary {
    border-radius: 20px;
  }

  .ps-summary-top,
  .ps-item-top,
  .passiflore-selection-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ps-summary-count {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    font-size: 1.6rem;
  }

  .ps-item-controls {
    grid-template-columns: 1fr;
  }

  .ps-btn,
  .ps-link-danger {
    width: 100%;
  }

  .ps-floating-button {
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-content: space-between;
  }
}
