/* TRTL UX — Turtle Membership | v1.0.0-TRTL [STABLE] */
.woocommerce-form-coupon-toggle, form.woocommerce-form-coupon,
form.checkout_coupon, td.actions > .coupon,
.cart-actions > .coupon, .wd-coupon-form { display: none !important; }

.trtl-unnested-stage-shell {
  --tm-green: #1a8f3d; --tm-red: #d93025; --tm-red-hover: #b3261e;
  --tm-ink: #141815; --tm-line: rgba(20,24,21,0.11);
  width: 100%; min-height: 70vh; display: flex;
  align-items: center; justify-content: center;
  padding: 40px 24px 56px; box-sizing: border-box; background: #fff;
}
.trtl-unnested-stage-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 44px; max-width: 980px; width: 100%; margin: 0 auto;
}
.trtl-unnested-card {
  flex: 1 1 520px; max-width: 540px; background: #fff;
  border: 1px solid var(--tm-line); border-radius: 24px;
  padding: 34px 36px; box-shadow: 0 18px 44px rgba(17,24,19,0.07);
  text-align: left;
}
.trtl-unnested-eyebrow {
  display: inline-flex; padding: 5px 13px; border-radius: 999px;
  background: rgba(26,143,61,0.10); color: var(--tm-green);
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 14px;
}
.trtl-unnested-eyebrow--coveted { background: rgba(20,24,21,0.08); color: #141815; }
.trtl-unnested-title {
  margin: 0 0 16px; font-size: clamp(34px,4.4vw,52px);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; color: var(--tm-green);
}
.trtl-unnested-blurb { margin: 0 0 22px; font-size: 16px; line-height: 1.62; color: var(--tm-ink); font-weight: 500; }
.trtl-unnested-blurb p { margin: 0 0 12px; }
.trtl-unnested-blurb p:last-child { margin-bottom: 0; }
.trtl-club-checks { display: flex; flex-direction: column; gap: 11px; margin: 0 0 24px; }
.trtl-club-check-row {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  border: 1.5px solid var(--tm-line); border-radius: 14px;
  background: #fafcfb; cursor: pointer; transition: all 0.16s ease; user-select: none;
}
.trtl-club-check-row.is-checked { border-color: var(--tm-green); background: rgba(26,143,61,0.05); }
.trtl-club-check-row input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--tm-green); cursor: pointer; }
.trtl-club-check-meta { display: flex; flex-direction: column; gap: 2px; }
.trtl-club-check-name { font-size: 15px; font-weight: 800; color: var(--tm-ink); }
.trtl-club-check-sub { font-size: 12.5px; color: #525c54; font-weight: 500; }
.trtl-unnested-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.trtl-pill-red {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tm-red) !important; color: #fff !important;
  border: none !important; border-radius: 999px !important;
  padding: 14px 34px !important; font-size: 16px !important;
  font-weight: 800 !important; text-decoration: none !important;
  cursor: pointer; box-shadow: 0 8px 22px rgba(217,48,37,0.24);
  transition: all 0.16s ease;
}
.trtl-pill-red:hover, .trtl-pill-red:focus { background: var(--tm-red-hover) !important; color: #fff !important; transform: translateY(-1px); }
.trtl-pill-red[disabled] { opacity: 0.65; pointer-events: none; }
.trtl-stage-note { font-size: 13px; font-weight: 600; color: var(--tm-red); display: none; margin-top: 10px; }
.trtl-sovereign-prop { position: relative; flex: 0 0 auto; max-width: 320px; transition: all 0.6s ease !important; overflow: visible !important; }
.trtl-sovereign-prop img { display: block; width: 100%; height: auto; animation: trtlCastBreath 7s ease-in-out infinite; transform-origin: bottom center; }
@keyframes trtlCastBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.016); } }
.trtl-sovereign-prop:hover { transform: scale(1.02) translateX(6px) !important; filter: brightness(1.1) drop-shadow(0 15px 35px rgba(0,0,0,0.3)) !important; }
@media (max-width: 780px) {
  .trtl-unnested-stage-inner { flex-direction: column-reverse; gap: 22px; }
  .trtl-unnested-card { padding: 26px 22px; }
  .trtl-sovereign-prop { max-width: 225px; }
}
.trtl-mem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-bottom: 20px; }
.trtl-mem-box { border: 1px solid rgba(20,24,21,0.12); border-radius: 20px; padding: 22px 24px; background: var(--ta-surface, #fff); }
.trtl-mem-rank-pill { display: inline-flex; padding: 5px 13px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; background: rgba(26,143,61,0.12); color: #1a8f3d; margin-bottom: 10px; }
.trtl-mem-rank-pill.is-legion { background: linear-gradient(135deg,#1b221d,#2f3b32); color: #f5d061; }
.trtl-mem-progress-track { width: 100%; height: 10px; background: rgba(20,24,21,0.09); border-radius: 999px; overflow: hidden; margin: 12px 0 14px; }
.trtl-mem-progress-fill { height: 100%; background: linear-gradient(90deg,#1a8f3d,#28b454); border-radius: 999px; transition: width 0.35s ease; }
.trtl-mem-quest-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.trtl-mem-quest-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 11px; background: rgba(20,24,21,0.035); font-size: 13.5px; font-weight: 600; }
.trtl-mem-quest-item.is-done { background: rgba(26,143,61,0.08); }
.trtl-mem-quest-state { font-size: 12px; font-weight: 800; color: #1a8f3d; }
.trtl-mem-quest-item:not(.is-done) .trtl-mem-quest-state { color: #768279; }
.trtl-mem-club-toggle-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 15px 16px; border: 1.5px solid rgba(20,24,21,0.12); border-radius: 15px; margin-bottom: 12px; }
.trtl-mem-club-toggle-card.is-joined { border-color: #1a8f3d; background: rgba(26,143,61,0.05); }
.trtl-mem-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: 0 0 auto; margin-top: 2px; }
.trtl-mem-switch input { opacity: 0; width: 0; height: 0; }
.trtl-mem-slider { position: absolute; cursor: pointer; inset: 0; background: #cbd2cc; transition: 0.2s; border-radius: 999px; }
.trtl-mem-slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background: #fff; transition: 0.2s; border-radius: 50%; }
.trtl-mem-switch input:checked + .trtl-mem-slider { background: #1a8f3d; }
.trtl-mem-switch input:checked + .trtl-mem-slider:before { transform: translateX(20px); }
