.cop-public {
	--cop-purple: #6f36b3;
	--cop-purple-dark: #51208b;
	--cop-purple-soft: #f5f0fb;
	--cop-border: #ded8e7;
	max-width: 1180px;
	margin: 2rem auto;
	color: #1c1822;
}
.cop-public * { box-sizing: border-box; }
.cop-public__intro { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.cop-public__intro h2 { margin-bottom: .6rem; color: var(--cop-purple-dark); }
.cop-public__intro p { margin: 0; }
.cop-public__intro .cop-public__tagline { margin: -.25rem 0 1rem; color: var(--cop-purple); font-weight: 700; letter-spacing: .02em; }
.cop-tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; align-items: stretch; }
.cop-tier-grid--list { grid-template-columns: 1fr; }
.cop-tier-card { position: relative; padding: 1.75rem; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--cop-border); border-radius: 12px; box-shadow: 0 8px 26px rgba(50,28,72,.07); }
.cop-tier-card.is-featured { border: 2px solid var(--cop-purple); transform: translateY(-5px); box-shadow: 0 12px 32px rgba(111,54,179,.15); }
.cop-tier-card__badge { position: absolute; top: 0; right: 1.2rem; padding: .35rem .7rem; color: #fff; background: var(--cop-purple); border-radius: 0 0 6px 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.cop-tier-card h3 { margin: 0 0 .8rem; color: var(--cop-purple-dark); }
.cop-tier-card__price { margin-bottom: 1rem; font-size: 2rem; font-weight: 750; line-height: 1; }
.cop-tier-card__price span { font-size: .85rem; font-weight: 500; color: #6e6875; }
.cop-tier-card__price .cop-tier-card__frequency { margin-top: .45rem; display: block; color: var(--cop-purple); font-size: .8rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.cop-tier-card__description { flex: 1; color: #57515e; }
.cop-tier-card__button { margin-top: 1.2rem; padding: .75rem 1rem; display: block; color: #fff !important; background: linear-gradient(135deg, #7d43bd, #5e269f); border-radius: 6px; font-weight: 700; text-align: center; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.cop-tier-card__button:hover { transform: translateY(-1px); box-shadow: 0 7px 17px rgba(111,54,179,.23); }
.cop-tier-card__renewal { margin: .75rem 0 0; color: #625a69; font-size: .76rem; line-height: 1.45; text-align: center; }
.cop-tier-card__renewal.is-warning { color: #a33a22; }
.cop-tier-grid--list .cop-tier-card { display: grid; grid-template-columns: 1fr auto; gap: .5rem 2rem; align-items: center; }
.cop-tier-grid--list .cop-tier-card__description { grid-column: 1; }
.cop-tier-grid--list .cop-tier-card__button { grid-column: 2; grid-row: 1 / 4; min-width: 170px; margin: 0; }
.cop-public__note { margin: 1.5rem auto 0; max-width: 760px; color: #716a79; font-size: .83rem; text-align: center; }
.cop-collector-dashboard { max-width: 860px; padding: 1.75rem; background: #fff; border: 1px solid var(--cop-border); border-radius: 12px; box-shadow: 0 8px 26px rgba(50,28,72,.07); }
.cop-collector-dashboard h2 { margin-top: 0; color: var(--cop-purple-dark); }
.cop-collector-dashboard__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: var(--cop-border); border: 1px solid var(--cop-border); border-radius: 8px; }
.cop-collector-dashboard__grid > div { min-height: 90px; padding: 1rem; display: flex; flex-direction: column; gap: .4rem; background: #fff; }
.cop-collector-dashboard__grid span { color: #716a79; font-size: .8rem; }
.cop-collector-dashboard__grid strong { font-size: 1.05rem; }
.cop-public-status { display: inline-flex; width: max-content; padding: .25rem .55rem; border-radius: 4px; color: #515867; background: #f0f1f3; }
.cop-public-status--active { color: #15803d; background: #ebf8ef; }
.cop-public-status--cancelled, .cop-public-status--expired { color: #b91c1c; background: #fff0f0; }
.cop-public-status--paused { color: #7c3aed; background: #f3efff; }
.cop-login-button { width: max-content; min-width: 140px; }
.cop-manage-subscription { width: max-content; }
@media (max-width: 600px) { .cop-tier-grid--list .cop-tier-card { display: flex; } .cop-tier-card.is-featured { transform: none; } }
@media (max-width: 600px) { .cop-collector-dashboard__grid { grid-template-columns: 1fr; } }


/*
 * Collector membership product CTA.
 * Scoped to the body class added by COP_WooCommerce so ordinary merchandise is untouched.
 */
.cop-collector-membership-product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	align-items: center;
}
.cop-collector-membership-product form.cart .single_add_to_cart_button,
.cop-collector-membership-product form.cart button.single_add_to_cart_button,
.cop-collector-membership-product form.cart input.single_add_to_cart_button {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	min-height: 52px;
	padding: .9rem 1.4rem !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: linear-gradient(135deg, #7d43bd, #5e269f) !important;
	box-shadow: 0 8px 20px rgba(80, 32, 139, .24);
	color: #fff !important;
	font-size: 1.05rem !important;
	font-weight: 750 !important;
	line-height: 1.2 !important;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.cop-collector-membership-product form.cart .single_add_to_cart_button:hover,
.cop-collector-membership-product form.cart .single_add_to_cart_button:focus {
	transform: translateY(-1px);
	box-shadow: 0 11px 24px rgba(80, 32, 139, .3);
	filter: brightness(1.05);
	outline: 3px solid rgba(111, 54, 179, .22);
	outline-offset: 2px;
}
.cop-collector-membership-product form.cart .single_add_to_cart_button:disabled,
.cop-collector-membership-product form.cart .single_add_to_cart_button.disabled {
	opacity: .58;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}
@media (max-width: 600px) {
	.cop-collector-membership-product form.cart,
	.cop-collector-membership-product form.cart .single_add_to_cart_button {
		width: 100%;
	}
}


/* Cause-focused membership product presentation. */
.cop-membership-intro {
	margin: 1.25rem 0;
	padding: 1.25rem;
	border: 1px solid var(--cop-border, #ded8e7);
	border-radius: 12px;
	background: linear-gradient(145deg, #fff, #f8f4fc);
}
.cop-membership-intro h2 { margin: 0 0 .55rem; color: #51208b; font-size: 1.35rem; }
.cop-membership-intro > p { margin: 0 0 .9rem; color: #57515e; line-height: 1.6; }
.cop-membership-intro ul { margin: 0; padding: 0; display: grid; gap: .55rem; list-style: none; }
.cop-membership-intro li { display: flex; gap: .55rem; align-items: flex-start; color: #302a37; font-weight: 600; }
.cop-membership-intro li span { display: inline-grid; flex: 0 0 1.35rem; width: 1.35rem; height: 1.35rem; place-items: center; border-radius: 50%; background: #ece2f8; color: #5e269f; font-size: .78rem; }

/* Order-complete Collector welcome. */
.cop-welcome-panel { max-width: 820px; padding: 2rem; border: 1px solid #ded8e7; border-radius: 16px; background: linear-gradient(145deg, #fff, #f7f1fc); box-shadow: 0 12px 34px rgba(50,28,72,.09); }
.cop-welcome-panel__eyebrow, .cop-dashboard-kicker { display: inline-block; margin-bottom: .45rem; color: #6f36b3; font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.cop-welcome-panel h2 { margin: 0 0 .65rem; color: #51208b; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.cop-welcome-panel > p { max-width: 650px; color: #57515e; line-height: 1.65; }
.cop-welcome-steps { margin: 1.5rem 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; list-style: none; counter-reset: cop-welcome; }
.cop-welcome-steps li { min-height: 130px; padding: 1rem; border: 1px solid #e6dff0; border-radius: 10px; background: rgba(255,255,255,.82); counter-increment: cop-welcome; }
.cop-welcome-steps li::before { content: counter(cop-welcome); display: grid; width: 1.7rem; height: 1.7rem; margin-bottom: .65rem; place-items: center; border-radius: 50%; background: #6f36b3; color: #fff; font-size: .78rem; font-weight: 800; }
.cop-welcome-steps strong, .cop-welcome-steps span { display: block; }
.cop-welcome-steps span { margin-top: .3rem; color: #6e6875; font-size: .85rem; line-height: 1.45; }
.cop-welcome-panel__button { width: max-content; min-width: 240px; }

/* Collector dashboard 2.0. */
.cop-collector-dashboard { max-width: 980px; padding: 0; overflow: hidden; }
.cop-dashboard-hero { padding: 2rem; display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; background: linear-gradient(135deg, #f8f4fc, #fff); border-bottom: 1px solid var(--cop-border); }
.cop-dashboard-hero h2 { margin: 0 0 .45rem; }
.cop-dashboard-hero p { margin: 0; max-width: 620px; color: #625a69; }
.cop-dashboard-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--cop-border); }
.cop-dashboard-stats article { min-height: 115px; padding: 1.2rem; border-right: 1px solid var(--cop-border); }
.cop-dashboard-stats article:last-child { border-right: 0; }
.cop-dashboard-stats span, .cop-dashboard-stats small { display: block; color: #716a79; font-size: .78rem; }
.cop-dashboard-stats strong { display: block; margin: .35rem 0; color: #302a37; font-size: 1.08rem; }
.cop-dashboard-columns { padding: 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; background: #faf9fb; }
.cop-dashboard-panel { padding: 1.25rem; border: 1px solid var(--cop-border); border-radius: 11px; background: #fff; }
.cop-dashboard-panel h3 { margin: 0 0 1rem; color: #51208b; }
.cop-gift-progress { display: grid; gap: .7rem; }
.cop-gift-progress > div { padding: .85rem; display: flex; gap: .8rem; align-items: center; border-radius: 8px; background: #f8f5fb; }
.cop-gift-progress__icon { display: grid; flex: 0 0 2.2rem; width: 2.2rem; height: 2.2rem; place-items: center; border-radius: 50%; background: #ece2f8; }
.cop-gift-progress p, .cop-gift-progress strong, .cop-gift-progress p span { margin: 0; display: block; }
.cop-gift-progress p span { margin-top: .18rem; color: #716a79; font-size: .8rem; }
.cop-timeline { margin: 0; padding: 0 0 0 1.15rem; list-style: none; border-left: 2px solid #ded8e7; }
.cop-timeline li { position: relative; padding: 0 0 1rem 1rem; }
.cop-timeline li:last-child { padding-bottom: 0; }
.cop-timeline li::before { content: ""; position: absolute; left: -1.48rem; top: .2rem; width: .65rem; height: .65rem; border: 2px solid #b9afc5; border-radius: 50%; background: #fff; }
.cop-timeline li.is-complete::before { border-color: #6f36b3; background: #6f36b3; }
.cop-timeline strong, .cop-timeline span { display: block; }
.cop-timeline span { margin-top: .15rem; color: #716a79; font-size: .8rem; }
.cop-dashboard-actions { padding: 0 1.25rem 1.5rem; display: flex; gap: 1rem; align-items: center; background: #faf9fb; }
.cop-dashboard-secondary { color: #5e269f; font-weight: 700; }
.cop-dashboard-empty { padding: 2rem; }
.cop-dashboard-empty h2 { margin: 0 0 .6rem; }

@media (max-width: 760px) {
	.cop-welcome-steps, .cop-dashboard-stats, .cop-dashboard-columns { grid-template-columns: 1fr; }
	.cop-dashboard-stats article { border-right: 0; border-bottom: 1px solid var(--cop-border); }
	.cop-dashboard-stats article:last-child { border-bottom: 0; }
	.cop-dashboard-hero, .cop-dashboard-actions { flex-direction: column; }
	.cop-welcome-panel__button, .cop-manage-subscription { width: 100%; }
}
