/* =========================
   Nectar Subscriptions Styles (Final Perfect + Responsive)
========================= */

/* General wrapper */
.nectar-btn-wrapper {
  margin: 20px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Notice text */
.nectar-login-notice {
  font-family: "Source Serif Pro", serif !important;
  font-size: 15px !important;
  margin-bottom: 12px !important;
  text-align: center !important;
  line-height: 1.4 !important;
  display: block !important;
  word-wrap: break-word;
}

/* Light variant notice color */
.nectar-btn-wrapper.light-variant .nectar-login-notice {
  color: #F6EFDF !important;  /* beige text on light buttons */
}

/* Dark variant notice color */
.nectar-btn-wrapper:not(.light-variant) .nectar-login-notice {
  color: #48320D !important;  /* dark brown text */
}

/* All buttons */
.nectar-login-btn,
.nectar-buy-btn,
.nectar-btn-wrapper a {
  font-family: "Source Serif Pro", serif !important;
  font-weight: bold !important;
  padding: 12px 28px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  display: inline-block !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
  margin: 10px auto !important;
  text-align: center !important;
  min-width: 120px !important; /* ensures buttons don’t shrink too small */
  width: auto;
}

/* Dark variant buttons (default) */
.nectar-btn-wrapper:not(.light-variant) a {
  background-color: #48320D !important;  /* Dark brown */
  color: #F6EFDF !important;             /* Light beige text */
}

/* Light variant buttons */
.nectar-btn-wrapper.light-variant a {
  background-color: #F6EFDF !important;  /* Beige background */
  color: #48320D !important;             /* Dark text */
  border-color: #F6EFDF !important;
}

/* Hover effects */
.nectar-btn-wrapper a:hover {
  text-decoration: none !important;
}

/* Mobile & tablet adjustments */
@media (max-width: 768px) {
  .nectar-btn-wrapper a {
    font-size: 14px !important;
    padding: 10px 16px !important;
    width: 90% !important;
    max-width: 300px !important;
    white-space: nowrap !important;
  }

  .nectar-btn-wrapper .nectar-login-notice {
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  .nectar-btn-wrapper a {
    font-size: 13px !important;
    padding: 6px 12px !important;
    width: 100% !important;
    max-width: 260px !important;
  }

  .nectar-btn-wrapper .nectar-login-notice {
    font-size: 13px !important;
  }
}

@media (max-width: 360px) {
  .nectar-btn-wrapper a {
    font-size: 12px !important;
    padding: 5px 10px !important;
    max-width: 220px !important;
  }

  .nectar-btn-wrapper .nectar-login-notice {
    font-size: 12px !important;
  }
}

/* Active subscriptions list */
.nectar-subscriptions-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: center;
}

.nectar-subscriptions-list li {
  margin-bottom: 10px;
}

.nectar-subscriptions-list a {
  text-decoration: none;
  color: #48320D;
  font-weight: bold;
  transition: color 0.2s ease;
}

.nectar-subscriptions-list a:hover {
  color: #7a5c2f;
}
