/* Rewards Catalog — minimal grid styles */

.redeem-catalog {
	display: block;
	margin: 0 0 2em;
}

.redeem-catalog__header {
	margin-bottom: 1.25em;
}

.redeem-catalog__balance {
	font-size: 1.05em;
	margin: 0;
}

.redeem-catalog__empty {
	padding: 1.25em;
	background: #f7f7f7;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	text-align: center;
}

.redeem-catalog__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.25em;
}

.redeem-catalog__item {
	list-style: none;
	margin: 0;
	padding: 1em;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

.redeem-catalog__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.redeem-catalog__link img,
.redeem-catalog__thumb {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 0.5em;
	border-radius: 4px;
}

.redeem-catalog__title {
	font-size: 1em;
	margin: 0;
	line-height: 1.3;
}

.redeem-catalog__cost {
	font-size: 1.1em;
	margin: 0;
}

.redeem-catalog__cost-value {
	font-weight: 700;
}

.redeem-catalog__cost-label {
	margin-left: 0.25em;
	font-size: 0.9em;
	color: #555;
}

.redeem-catalog__button {
	margin-top: auto;
	padding: 0.65em 1em;
	border: 0;
	border-radius: 4px;
	background: #2271b1;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	text-align: center;
}

.redeem-catalog__button:hover:not([disabled]):not(.is-disabled) {
	background: #135e96;
}

.redeem-catalog__button[disabled],
.redeem-catalog__button.is-disabled {
	background: #c3c4c7;
	color: #50575e;
	cursor: not-allowed;
}

.redeem-catalog__pagination {
	margin-top: 1.5em;
}

.redeem-catalog__pagination ul.page-numbers {
	display: flex;
	gap: 0.25em;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

.redeem-catalog__pagination .page-numbers {
	display: inline-block;
	padding: 0.4em 0.7em;
	border: 1px solid #ddd;
	border-radius: 3px;
	text-decoration: none;
}

.redeem-catalog__pagination .page-numbers.current {
	background: #2271b1;
	color: #fff;
	border-color: #2271b1;
}

/* Default styling for the standalone Redeem button — used when the
   [redeem_button] shortcode is dropped into a Bricks layout, a
   page builder, or anywhere outside our own catalog template. Wrap it in
   your theme's button class to override completely. */
.redeem-btn {
	display: inline-block;
	padding: 0.65em 1.4em;
	border: 0;
	border-radius: 4px;
	background: #2271b1;
	color: #fff;
	font-weight: 600;
	font-size: 0.95em;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	line-height: 1.4;
	transition: background-color 0.15s ease;
}

.redeem-btn:hover:not([disabled]):not(.is-disabled) {
	background: #135e96;
	color: #fff;
}

.redeem-btn[disabled],
.redeem-btn.is-disabled {
	background: #c3c4c7;
	color: #50575e;
	cursor: not-allowed;
}

.redeem-btn[aria-busy="true"] {
	opacity: 0.7;
}

/* Inline notice for AJAX errors / status updates on the catalog page. */
.redeem-catalog__notice {
	display: none;
	margin: 0 0 1em;
	padding: 0.85em 1em;
	border-left: 4px solid #2271b1;
	background: #f0f6fc;
	color: #1d2327;
	font-size: 0.95em;
	border-radius: 4px;
}

.redeem-catalog__notice.is-visible {
	display: block;
}

.redeem-catalog__notice.is-error {
	background: #fcf0f1;
	border-left-color: #d63638;
	color: #7a1d20;
}

.redeem-catalog__notice.is-success {
	background: #f0f9ed;
	border-left-color: #2e7d32;
	color: #1e4620;
}

/* "Reward" badge shown next to redemption items in cart, checkout, and order views. */
.redeem-badge {
	display: inline-block;
	padding: 0.15em 0.5em;
	font-size: 0.75em;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	background: #fff3cd;
	color: #8a6d3b;
	border: 1px solid #ffe69a;
	border-radius: 999px;
	vertical-align: middle;
	margin-right: 0.35em;
}

/* Point cost displayed in the price/subtotal columns for redemption items. */
.redeem-points-price {
	font-weight: 600;
	color: #8a6d3b;
}
