/* =========================================================================
   Yum Gate Content – gate notice styles
   ========================================================================= */

.yum-gate-notice {
	padding: 1.5rem 2rem;
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	border-left: 4px solid #0ea5e9;
	border-radius: 6px;
	color: #0c4a6e;
	font-size: 1rem;
	line-height: 1.6;
	margin: 1.5rem 0;
}

.yum-gate-notice a {
	color: #0284c7;
	font-weight: 600;
	text-decoration: underline;
}

.yum-gate-notice a:hover {
	color: #0369a1;
}

/* Product purchase gate: shown in place of the Add to Cart button. */
.yum-product-gate-note {
	display: block;
	padding: 1rem 1.25rem;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-left: 4px solid #f97316;
	border-radius: 6px;
	color: #7c2d12;
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 1rem 0;
}

.yum-product-gate-note a {
	color: #ea580c;
	font-weight: 600;
	text-decoration: underline;
}

.yum-product-gate-note a:hover {
	color: #c2410c;
}

/* Loop/shop notes are more compact. */
ul.products .yum-product-gate-note {
	margin: 0.5rem 0 0;
	font-size: 0.85rem;
	padding: 0.6rem 0.8rem;
}

/* Member price label next to the discounted price. */
.yum-member-price-label {
	display: inline-block;
	margin-left: 0.35rem;
	padding: 0.05rem 0.45rem;
	background: #dcfce7;
	color: #166534;
	border-radius: 999px;
	font-size: 0.7em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	vertical-align: middle;
}

/* Member-pricing breakdown table (single product page). */
.yum-member-pricing-table {
	width: auto;
	min-width: 240px;
	max-width: 100%;
	margin: 0 0 1.25rem;
	border-collapse: collapse;
	font-size: 0.95rem;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}

.yum-member-pricing-table caption {
	caption-side: top;
	text-align: left;
	font-weight: 600;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #6b7280;
	padding: 0 0 0.5rem;
}

.yum-member-pricing-table th,
.yum-member-pricing-table td {
	padding: 0.5rem 0.9rem;
	text-align: left;
	border-top: 1px solid #f1f5f9;
}

.yum-member-pricing-table tr:first-child th,
.yum-member-pricing-table tr:first-child td {
	border-top: 0;
}

.yum-member-pricing-table th {
	font-weight: 500;
	color: #374151;
}

.yum-member-pricing-table td {
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.yum-member-pricing-table del {
	color: #9ca3af;
	margin-right: 0.35rem;
}

.yum-member-pricing-table ins {
	text-decoration: none;
	font-weight: 600;
	color: #166534;
}

/* Card wrapping the table + signup invitation. */
.yum-member-pricing-card {
	margin: 0 0 1.25rem;
}

/* When an invitation follows, let it own the bottom spacing. */
.yum-member-pricing-card .yum-member-pricing-table {
	margin-bottom: 0;
}

/* Signup invitation shown right after the pricing table. */
.yum-member-pricing-invitation {
	margin-top: 0.75rem;
	padding: 0.75rem 0.9rem;
	border-left: 3px solid #166534;
	background: #f0fdf4;
	border-radius: 6px;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #14532d;
}

.yum-member-pricing-invitation :first-child {
	margin-top: 0;
}

.yum-member-pricing-invitation :last-child {
	margin-bottom: 0;
}

.yum-member-pricing-invitation a {
	color: #166534;
	font-weight: 600;
	text-decoration: underline;
}

/* Member-bundle free gift items in the cart. */
.yum-member-bundle-badge {
	display: inline-block;
	margin-left: 0.4rem;
	padding: 0.1rem 0.5rem;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #166534;
	background: #dcfce7;
	border-radius: 999px;
	vertical-align: middle;
}

.yum-member-bundle-free {
	font-weight: 600;
	color: #166534;
}

/* Member Info & Promo listing block */
.yum-member-info__heading {
	margin: 0 0 0.75em;
}
.yum-member-info__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1em;
}
.yum-member-info__item {
	padding: 1em 1.25em;
	border: 1px solid #e5e7eb;
	border-left: 4px solid #166534;
	border-radius: 6px;
	background: #f9fafb;
}
.yum-member-info__title {
	display: block;
	font-weight: 600;
	font-size: 1.05em;
	text-decoration: none;
}
.yum-member-info__date {
	display: block;
	margin-top: 0.15em;
	font-size: 0.85em;
	opacity: 0.7;
}
.yum-member-info__excerpt {
	margin: 0.5em 0 0;
}
.yum-member-info__prompt,
.yum-member-info__empty {
	padding: 1em 1.25em;
	border: 1px dashed #cbd5e1;
	border-radius: 6px;
	background: #f8fafc;
	color: #475569;
	margin: 0;
}

/* Member Info & Promo pagination */
.yum-member-info__pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em;
	align-items: center;
	margin-top: 1.25em;
}
.yum-member-info__page {
	display: inline-block;
	padding: 0.35em 0.7em;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9em;
	line-height: 1.2;
	color: inherit;
}
.yum-member-info__page:hover:not(.is-disabled):not(.is-current) {
	border-color: #166534;
	color: #166534;
}
.yum-member-info__page.is-current {
	background: #166534;
	border-color: #166534;
	color: #fff;
	font-weight: 600;
}
.yum-member-info__page.is-disabled {
	opacity: 0.45;
	cursor: default;
}

/* Member Total Spending block */
.yum-member-total-spending {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px 24px;
	background: #f8fafc;
	text-align: center;
}
.yum-member-total-spending__heading {
	margin: 0 0 4px;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #64748b;
}
.yum-member-total-spending__amount {
	margin: 0;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.1;
	color: #0f172a;
}
.yum-member-total-spending__count {
	margin: 6px 0 0;
	font-size: 0.9rem;
	color: #64748b;
}
.yum-member-total-spending__guest {
	margin: 0;
	color: #475569;
}
.yum-gt-membership-catalog {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}
.yum-gt-membership-catalog__item a {
	display: inline-block;
	padding: 0.35em 0.8em;
	border: 1px solid #166534;
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9em;
	line-height: 1.2;
	color: #166534;
}
.yum-gt-membership-catalog__item a:hover {
	background: #166534;
	color: #fff;
}