.ujc-membership-card {
	--ujc-tier-accent: #756e65;
	--ujc-tier-soft: #f1eee9;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
	column-gap: clamp(27px, 3.4vw, 48px);
	row-gap: 23px;
	width: 100%;
	max-width: 100%;
	margin: 0 0 22px;
	padding: clamp(24px, 2.6vw, 34px);
	border: 1px solid #eee7dc;
	border-radius: 17px;
	background: #fffdf9;
	color: #302920;
	box-shadow: none;
}
.ujc-membership-card *, .ujc-membership-card *::before, .ujc-membership-card *::after { box-sizing: border-box; }
.ujc-membership-card--silver { --ujc-tier-accent: #697780; --ujc-tier-soft: #edf1f2; }
.ujc-membership-card--gold { --ujc-tier-accent: #97703b; --ujc-tier-soft: #f7ead5; }
.ujc-membership-card--diamond { --ujc-tier-accent: #567586; --ujc-tier-soft: #ebf1f3; }
.ujc-membership-left { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; align-self: center; }
.ujc-membership-identity { min-width: 0; }
.ujc-membership-eyebrow { display: block; color: #84796b; font-size: 11px; font-weight: 650; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.ujc-membership-head { display: flex; align-items: center; flex-wrap: wrap; column-gap: 11px; row-gap: 5px; min-width: 0; margin-top: 12px; }
.ujc-membership-icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 47px; height: 47px; border-radius: 50%; background: var(--ujc-tier-soft); color: var(--ujc-tier-accent); }
.ujc-membership-icon svg { display: block; width: 27px; height: 27px; }
.ujc-membership-card--gold .ujc-membership-icon svg { stroke-width: 1.4; }
.ujc-membership-card .ujc-membership-head h2 { min-width: 0; margin: 0; color: #302920; font-family: Jost, 'Helvetica Neue', Arial, sans-serif; font-size: clamp(44px, 3.9vw, 54px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.ujc-membership-card--gold .ujc-membership-badge,
.ujc-membership-card--silver .ujc-membership-badge { padding: 9px 15px; font-size: 14px; font-weight: 650; }
.ujc-membership-badge { flex: 0 0 auto; margin-left: 5px; padding: 7px 12px; border: 1px solid #e9dcc8; border-radius: 999px; background: var(--ujc-tier-soft); color: var(--ujc-tier-accent); font-size: 12px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.ujc-membership-benefit { margin: 13px 0 0; color: #70665c; font-size: 14px; line-height: 1.5; }
.ujc-membership-valid { margin: 19px 0 0; color: #8b8177; font-size: 12px; line-height: 1.45; }
.ujc-membership-details { grid-column: 2; grid-row: 1; min-width: 0; align-self: center; padding-left: clamp(26px, 2.5vw, 36px); border-left: 1px solid #eae2d7; }
.ujc-membership-primary { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ujc-membership-primary > strong { color: #302920; font-size: clamp(22px, 2.1vw, 28px); font-weight: 650; letter-spacing: -.025em; line-height: 1.23; overflow-wrap: anywhere; }
.ujc-membership-progress-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: #746b60; font-size: 13px; font-weight: 500; line-height: 1.4; }
.ujc-membership-percent { flex: 0 0 auto; color: #8b8176; font-variant-numeric: tabular-nums; }
.ujc-membership-track { width: 100%; height: 6px; margin-top: 14px; overflow: hidden; border-radius: 999px; background: #ece5dc; }
.ujc-membership-track span { display: block; height: 100%; border-radius: inherit; background: var(--ujc-tier-accent); }
.ujc-membership-count { margin-top: 9px; color: #51483e; font-size: 13px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.ujc-membership-progress-note { max-width: 100%; margin: 9px 0 0; color: #8a8178; font-size: 13px; font-weight: 400; line-height: 1.5; text-align: left; white-space: normal; overflow-wrap: anywhere; }
.ujc-membership-secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 20px; }
.ujc-membership-stat { display: flex; align-items: flex-start; gap: 9px; min-width: 0; padding: 12px 11px; border: 0; border-radius: 11px; background: #f8f4ee; }
.ujc-membership-stat-icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 27px; height: 27px; border-radius: 50%; }
.ujc-membership-stat-icon svg { display: block; width: 16px; height: 16px; }
.ujc-membership-stat-icon--upgrade { background: #f6e5e2; color: #a17671; }
.ujc-membership-stat-icon--renew { background: #e9f0e7; color: #758d75; }
.ujc-membership-stat-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ujc-membership-stat-copy > span { color: #756b61; font-size: 12px; font-weight: 600; line-height: 1.35; }
.ujc-membership-stat-copy strong { color: #342d27; font-size: 13px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.ujc-membership-learn-more { display: flex; grid-column: 1 / -1; grid-row: 2; align-items: center; justify-content: center; gap: 5px; width: 100%; min-height: 48px; padding: 11px 16px; border-radius: 11px; background: #f5eee4; color: #715638; font-size: 13px; font-weight: 650; line-height: 1.4; text-align: center; text-decoration: none; transition: background-color .15s ease; }
.ujc-membership-learn-more:hover { background: #eee3d4; color: #5e452c; text-decoration: none; }
.ujc-membership-learn-more:focus-visible { outline: 2px solid var(--ujc-tier-accent); outline-offset: 3px; }
.woocommerce-MyAccount-content > .ujc-membership-card ~ p.ujc-membership-learn-more { display: none; }

@media (max-width: 1100px) {
	.ujc-membership-card { display: flex; flex-direction: column; gap: 0; }
	.ujc-membership-left { width: 100%; align-self: stretch; }
	.ujc-membership-details { width: 100%; align-self: stretch; margin-top: 23px; padding: 22px 0 0; border-left: 0; border-top: 1px solid #eae2d7; }
	.ujc-membership-learn-more { margin-top: 21px; }
}
@media (max-width: 600px) {
	.woocommerce-account.ujc-membership-dashboard .woocommerce { display: flex; flex-direction: column; }
	.woocommerce-account.ujc-membership-dashboard .woocommerce > .woocommerce-MyAccount-content { order: 0; float: none; width: 100%; min-width: 0; }
	.woocommerce-account.ujc-membership-dashboard .woocommerce > .MyAccount-navigation-wrapper { order: 1; float: none; width: 100%; margin-top: 20px; }
	.woocommerce-account.woocommerce-dashboard.ujc-membership-dashboard .woocommerce-MyAccount-content > p:nth-of-type(2) { display: none; }
	.ujc-membership-card { padding: 18px; margin-bottom: 18px; border-radius: 14px; }
	.ujc-membership-head { column-gap: 8px; margin-top: 10px; }
	.ujc-membership-icon { width: 40px; height: 40px; }
	.ujc-membership-icon svg { width: 23px; height: 23px; }
	.ujc-membership-card .ujc-membership-head h2 { font-size: 36px; }
	.ujc-membership-badge { margin-left: 3px; padding: 6px 9px; font-size: 11px; }
	.ujc-membership-benefit { margin-top: 11px; font-size: 13px; }
	.ujc-membership-valid { margin-top: 15px; }
	.ujc-membership-details { margin-top: 20px; padding-top: 19px; }
	.ujc-membership-primary > strong { font-size: 22px; }
	.ujc-membership-progress-note { margin-top: 8px; font-size: 12px; }
	.ujc-membership-secondary { display: flex; flex-direction: column; gap: 8px; margin-top: 17px; }
	.ujc-membership-stat { padding: 10px 11px; }
	.ujc-membership-learn-more { margin-top: 19px; }
}
@media (max-width: 360px) {
	.ujc-membership-card { padding: 16px; }
	.ujc-membership-card .ujc-membership-head h2 { font-size: 32px; }
	.ujc-membership-badge { margin-left: 0; }
}
