.mpm-points-mall {
	max-width: 1200px;
	margin: 0 auto;
}

.mpm-user-info {
	display: flex;
	gap: 20px;
	margin-bottom: 30px;
}

.mpm-info-card {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	padding: 20px 30px;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	min-width: 180px;
}

.mpm-info-card .mpm-label {
	font-size: 12px;
	text-transform: uppercase;
	opacity: 0.8;
	margin-bottom: 5px;
}

.mpm-info-card .mpm-value {
	font-size: 28px;
	font-weight: bold;
}

.mpm-mall-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	border-bottom: 2px solid #eee;
	padding-bottom: 10px;
}

.mpm-tab-btn {
	background: none;
	border: none;
	padding: 10px 20px;
	font-size: 16px;
	cursor: pointer;
	border-radius: 8px 8px 0 0;
	transition: all 0.3s ease;
	color: #666;
}

.mpm-tab-btn:hover {
	background: #f5f5f5;
}

.mpm-tab-btn.active {
	background: #333;
	color: #fff;
}

.mpm-tab-content {
	display: none;
}

.mpm-tab-content.active {
	display: block;
}

.mpm-tab-content h3 {
	margin-bottom: 20px;
	color: #333;
}

.mpm-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.mpm-product-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 20px;
	position: relative;
	transition: all 0.3s ease;
}

.mpm-product-card:hover {
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
	transform: translateY(-2px);
}

.mpm-product-card.mpm-disabled {
	opacity: 0.6;
}

.mpm-product-badge {
	position: absolute;
	top: -10px;
	right: 15px;
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	color: #fff;
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: bold;
}

.mpm-product-image {
	margin-bottom: 15px;
	border-radius: 8px;
	overflow: hidden;
}

.mpm-product-image img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.mpm-product-title {
	font-size: 18px;
	margin: 0 0 10px;
	color: #333;
}

.mpm-product-desc {
	color: #666;
	font-size: 14px;
	margin-bottom: 15px;
}

.mpm-product-value {
	color: #888;
	font-size: 14px;
	margin-bottom: 10px;
}

.mpm-product-cost {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 15px;
	font-size: 18px;
}

.mpm-points-icon {
	color: #ffc107;
	font-size: 20px;
}

.mpm-points-amount {
	font-weight: bold;
	color: #333;
}

.mpm-points-label {
	color: #888;
	font-size: 14px;
}

.mpm-plus {
	margin: 0 5px;
	color: #666;
}

.mpm-cash-amount {
	font-weight: bold;
	color: #00a32a;
}

.mpm-redeem-btn {
	width: 100%;
	padding: 12px;
	background: #333;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.mpm-redeem-btn:hover:not(:disabled) {
	background: #555;
}

.mpm-redeem-btn:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.mpm-empty {
	text-align: center;
	color: #888;
	padding: 40px;
}

.mpm-login-required {
	text-align: center;
	padding: 60px 20px;
	background: #f9f9f9;
	border-radius: 12px;
}

.mpm-login-required a {
	color: #2271b1;
	text-decoration: underline;
}

/* My Points Page */
.mpm-my-points-page {
	max-width: 1000px;
}

.mpm-stats-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin-bottom: 30px;
}

.mpm-stat-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 15px;
}

.mpm-stat-icon {
	width: 50px;
	height: 50px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #fff;
}

.mpm-stat-content {
	display: flex;
	flex-direction: column;
}

.mpm-stat-value {
	font-size: 22px;
	font-weight: bold;
	color: #333;
}

.mpm-stat-label {
	font-size: 12px;
	color: #888;
	text-transform: uppercase;
}

.mpm-expiring-notice {
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 8px;
	padding: 15px 20px;
	margin-bottom: 30px;
}

.mpm-expiring-points {
	font-weight: bold;
	color: #d63638;
}

.mpm-btn-link {
	margin-left: 10px;
	color: #2271b1;
}

.mpm-section {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 25px;
	margin-bottom: 25px;
}

.mpm-section h3 {
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.mpm-coupons-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 15px;
}

.mpm-coupon-card {
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	border-radius: 8px;
	padding: 15px;
	text-align: center;
}

.mpm-coupon-value {
	font-size: 24px;
	font-weight: bold;
	color: #333;
	margin-bottom: 10px;
}

.mpm-coupon-code {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.mpm-coupon-code code {
	background: #fff;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 14px;
}

.mpm-copy-btn {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 16px;
}

.mpm-coupon-expires {
	font-size: 12px;
	color: #666;
	margin-top: 10px;
}

.mpm-history-table {
	width: 100%;
	border-collapse: collapse;
}

.mpm-history-table th,
.mpm-history-table td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid #eee;
}

.mpm-history-table th {
	background: #f9f9f9;
	font-weight: 600;
}

.mpm-positive {
	color: #00a32a;
	font-weight: bold;
}

.mpm-negative {
	color: #d63638;
	font-weight: bold;
}

.mpm-benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 15px;
}

.mpm-benefit-card {
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 15px;
	position: relative;
}

.mpm-benefit-card.mpm-current-level {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border: none;
}

.mpm-benefit-card h4 {
	margin: 0 0 10px;
}

.mpm-benefit-card ul {
	margin: 0;
	padding-left: 20px;
	font-size: 13px;
}

.mpm-benefit-card ul li {
	margin-bottom: 5px;
}

.mpm-current-badge {
	position: absolute;
	top: -8px;
	right: 10px;
	background: #ffc107;
	color: #333;
	padding: 2px 10px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: bold;
}

/* Level colors */
.mpm-level-silver { background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%); }
.mpm-level-gold { background: linear-gradient(135deg, #f7dc6f 0%, #d4ac0d 100%); }
.mpm-level-diamond { background: linear-gradient(135deg, #85c1e9 0%, #3498db 100%); }
.mpm-level-platinum { background: linear-gradient(135deg, #d5d8dc 0%, #808b96 100%); }
.mpm-level-black { background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%); }

/* Member Only Badge */
.mpm-member-only-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #d63638;
	color: #fff;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
	z-index: 10;
}

.mpm-member-only-notice {
	margin-bottom: 20px;
}

/* Cart Points Info */
.mpm-cart-points-info {
	background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

/* Responsive */
@media (max-width: 768px) {
	.mpm-user-info {
		flex-direction: column;
	}
	
	.mpm-info-card {
		min-width: auto;
	}
	
	.mpm-mall-tabs {
		flex-wrap: wrap;
	}
	
	.mpm-tab-btn {
		flex: 1;
		min-width: 100px;
		text-align: center;
	}
	
	.mpm-products-grid {
		grid-template-columns: 1fr;
	}
	
	.mpm-stats-row {
		grid-template-columns: 1fr 1fr;
	}
	
	.mpm-benefits-grid {
		grid-template-columns: 1fr 1fr;
	}
	
	.mpm-history-table {
		font-size: 13px;
	}
	
	.mpm-history-table th,
	.mpm-history-table td {
		padding: 8px;
	}
}

@media (max-width: 480px) {
	.mpm-stats-row {
		grid-template-columns: 1fr;
	}
	
	.mpm-benefits-grid {
		grid-template-columns: 1fr;
	}
	
	.mpm-stat-card {
		padding: 15px;
	}
	
	.mpm-stat-value {
		font-size: 18px;
	}
}

/* Account page refinements */
.woocommerce-account .mpm-my-points-page,
.woocommerce-account .mpm-account-points-mall-page .mpm-points-mall {
	max-width: none;
	color: var(--wd-text-color, #242424);
}

.woocommerce-account .mpm-stats-row,
.woocommerce-account .mpm-user-info {
	gap: 16px;
	margin-bottom: 24px;
}

.woocommerce-account .mpm-stat-card,
.woocommerce-account .mpm-info-card,
.woocommerce-account .mpm-section,
.woocommerce-account .mpm-tab-content,
.woocommerce-account .mpm-product-card,
.woocommerce-account .mpm-coupon-card {
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.woocommerce-account .mpm-stat-card,
.woocommerce-account .mpm-section,
.woocommerce-account .mpm-tab-content,
.woocommerce-account .mpm-product-card {
	background: #fff;
}

.woocommerce-account .mpm-info-card {
	background: #fff;
	color: var(--wd-text-color, #242424);
	min-width: 220px;
	padding: 20px 22px;
}

.woocommerce-account .mpm-info-card .mpm-label,
.woocommerce-account .mpm-stat-label {
	color: var(--wd-text-color, #777);
	opacity: 0.85;
	letter-spacing: 0;
	text-transform: none;
}

.woocommerce-account .mpm-info-card .mpm-value,
.woocommerce-account .mpm-stat-value {
	color: var(--wd-title-color, #111);
	font-size: 24px;
}

.woocommerce-account .mpm-stat-card {
	padding: 22px;
}

.woocommerce-account .mpm-stat-icon {
	background: rgba(0, 0, 0, 0.04);
	color: var(--wd-primary-color, #111);
}

.woocommerce-account .mpm-expiring-notice {
	background: #fffaf0;
	border: 1px solid rgba(221, 170, 59, 0.35);
	border-radius: 12px;
	padding: 16px 18px;
}

.woocommerce-account .mpm-section {
	padding: 22px;
}

.woocommerce-account .mpm-section h3,
.woocommerce-account .mpm-tab-content h3 {
	font-size: 22px;
	line-height: 1.25;
	margin: 0 0 18px;
	padding-bottom: 0;
	border-bottom: 0;
	color: var(--wd-title-color, #111);
}

.woocommerce-account .mpm-mall-tabs {
	gap: 8px;
	margin-bottom: 18px;
	padding: 6px;
	background: rgba(0, 0, 0, 0.03);
	border-radius: 14px;
	display: inline-flex;
	flex-wrap: wrap;
}

.woocommerce-account .mpm-tab-btn {
	border-radius: 10px;
	padding: 12px 18px;
	font-weight: 600;
	color: var(--wd-text-color, #555);
}

.woocommerce-account .mpm-tab-btn:hover {
	background: rgba(0, 0, 0, 0.04);
}

.woocommerce-account .mpm-tab-btn.active {
	background: var(--wd-primary-color, #111);
	color: #fff;
}

.woocommerce-account .mpm-tab-content {
	padding: 24px;
}

.woocommerce-account .mpm-product-card {
	padding: 22px;
	transition: box-shadow .2s ease, transform .2s ease;
}

.woocommerce-account .mpm-product-card:hover {
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.woocommerce-account .mpm-product-badge {
	background: var(--wd-primary-color, #111);
	border-radius: 999px;
	font-size: 11px;
	letter-spacing: .04em;
	padding: 8px 12px;
}

.woocommerce-account .mpm-product-title {
	font-size: 20px;
	line-height: 1.35;
}

.woocommerce-account .mpm-product-desc,
.woocommerce-account .mpm-product-value,
.woocommerce-account .mpm-points-label,
.woocommerce-account .mpm-coupon-expires {
	color: var(--wd-text-color, #666);
}

.woocommerce-account .mpm-product-image {
	border-radius: 12px;
	overflow: hidden;
	background: #f7f7f7;
}

.woocommerce-account .mpm-redeem-btn {
	border-radius: 10px;
	background: var(--wd-primary-color, #111);
	font-weight: 600;
}

.woocommerce-account .mpm-redeem-btn:hover:not(:disabled) {
	background: var(--wd-alternative-color, #2c2c2c);
}

.woocommerce-account .mpm-redeem-btn:disabled {
	background: #d6d6d6;
}

.woocommerce-account .mpm-coupon-card {
	background: #f8f8f8;
	padding: 18px;
}

.woocommerce-account .mpm-coupon-code code {
	border-radius: 8px;
}

.woocommerce-account .mpm-history-table th {
	background: #f8f8f8;
	color: var(--wd-title-color, #111);
}

.woocommerce-account .mpm-history-table td,
.woocommerce-account .mpm-history-table th {
	border-color: rgba(0, 0, 0, 0.06);
}

.woocommerce-account .mpm-benefit-card {
	background: #fff;
	border-radius: 12px;
	padding: 18px;
}

.woocommerce-account .mpm-benefit-card.mpm-current-level {
	background: var(--wd-primary-color, #111);
	color: #fff;
	border-color: transparent;
}
