/* AapanSouq BOGO Referral — Modern Frontend UI */

/* ============================================================
   asbogoScopeReset2025 — pseudo-element kill switch.

   Root cause of the persistent "huge green circle" bug: it survives
   even full inline `style="...!important"` on the element itself
   because inline styles CANNOT affect ::before/::after pseudo-elements
   — those are generated purely by an external stylesheet rule, and no
   amount of styling the real element can remove content the theme's
   CSS injects via a pseudo-element on it (or on a broad selector that
   happens to match it, e.g. a generic `div::before` / `[class*="badge"]`
   rule elsewhere on the site).

   Fix: every UPI element below is wrapped in this one deliberately
   unique, never-seen-before class name, and this rule explicitly kills
   ::before/::after content (and unsets everything else) for the
   wrapper AND every element inside it, with a specific-enough selector
   that its !important beats a more generic external !important rule
   under normal CSS cascade rules (equal origin, !important tier: more
   specific selector wins). This is the one thing an inline style
   attribute structurally cannot do.
   ============================================================ */
.asbogoScopeReset2025,
.asbogoScopeReset2025 *,
.asbogoScopeReset2025::before,
.asbogoScopeReset2025::after,
.asbogoScopeReset2025 *::before,
.asbogoScopeReset2025 *::after {
	all: unset !important;
	content: none !important;
	box-sizing: border-box !important;
}

.asbogoScopeReset2025 {
	display: block !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.asbogoScopeReset2025 .as-upi-line {
	display: block !important;
	width: auto !important;
	height: auto !important;
	margin: 2px 0 !important;
	padding: 0 !important;
	font-size: 12px !important;
	line-height: 1.4 !important;
	color: #333 !important;
}

.asbogoScopeReset2025 .as-upi-tag-line {
	color: #12805c !important;
	font-weight: 700 !important;
	font-size: 11.5px !important;
}

.asbogoScopeReset2025 .as-upi-strike {
	color: #9aa0ab !important;
	text-decoration: line-through !important;
	display: inline !important;
}

.asbogoScopeReset2025 .as-upi-strong {
	color: #12805c !important;
	font-weight: 700 !important;
	display: inline !important;
}

/* --- Meesho-style price display (product page + shop card) --- */

.asbogoScopeReset2025 .as-upi-price-row {
	display: flex !important;
	align-items: baseline !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	margin: 4px 0 !important;
}

.asbogoScopeReset2025 .as-upi-current-price {
	display: inline !important;
	font-size: 22px !important;
	font-weight: 800 !important;
	color: #1c2534 !important;
}

.asbogoScopeReset2025 .as-upi-price-pill .as-upi-current-price {
	font-size: 14px !important;
	font-weight: 800 !important;
}

.asbogoScopeReset2025 .as-upi-off-pct {
	display: inline !important;
	color: #12805c !important;
	font-weight: 700 !important;
	font-size: 13px !important;
}

.asbogoScopeReset2025 .as-upi-price-pill .as-upi-off-pct {
	font-size: 12px !important;
}

.asbogoScopeReset2025 .as-upi-chip {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	width: fit-content !important;
	max-width: 100% !important;
	background: #f4f6fb !important;
	color: #333 !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	padding: 8px 16px !important;
	border-radius: 999px !important;
	margin: 8px 0 !important;
}

.asbogoScopeReset2025 .as-upi-cod-note {
	display: block !important;
	color: #333 !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	margin: 4px 0 !important;
}

.asbogoScopeReset2025 .as-upi-price-pill {
	display: flex !important;
	align-items: baseline !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	width: fit-content !important;
	max-width: 100% !important;
	background: linear-gradient(90deg, #e9f9f1 0%, #f2fbf7 100%) !important;
	padding: 6px 10px !important;
	border-radius: 8px !important;
	margin: 6px 0 4px !important;
}

.asbogoScopeReset2025 .as-upi-pill-tag {
	display: inline-block !important;
	margin-left: auto !important;
	color: #12805c !important;
	font-weight: 800 !important;
	font-size: 11px !important;
	letter-spacing: 0.03em !important;
	padding-left: 8px !important;
}

.asbogoScopeReset2025.as-upi-box {
	background: #f2fbf7 !important;
	border: 1px solid #c9ecdc !important;
	border-radius: 10px !important;
	padding: 12px 16px !important;
	margin: 14px 0 !important;
}

.asbogoScopeReset2025.as-upi-checkout-notice {
	font-size: 13px !important;
	font-weight: 600 !important;
	padding: 10px 14px !important;
	margin: 0 0 14px !important;
}

.asbogoScopeReset2025.as-upi-checkout-notice.is-eligible {
	background: #e9f9f1 !important;
	border-color: #c9ecdc !important;
	color: #12805c !important;
}

.asbogoScopeReset2025.as-upi-checkout-notice.is-not-eligible {
	background: #f4f4f6 !important;
	border-color: #e5e7ef !important;
	color: #6b7280 !important;
}

.asbogoScopeReset2025 .as-upi-checkout-headline {
	font-weight: 700 !important;
	margin-bottom: 4px !important;
}

.asbogoScopeReset2025 .as-upi-checkout-compare {
	font-size: 12.5px !important;
	color: #4b5563 !important;
}

.asbogoScopeReset2025 .as-upi-checkout-savings {
	display: block !important;
	margin-top: 6px !important;
	padding-top: 6px !important;
	border-top: 1px dashed #c9ecdc !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	color: #12805c !important;
}

.asbogoScopeReset2025 .as-upi-tag-badge {
	display: inline-block !important;
	background: #0b1f3a !important;
	color: #fff !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	letter-spacing: 0.04em !important;
	padding: 2px 7px !important;
	border-radius: 4px !important;
	line-height: 1.5 !important;
	vertical-align: middle !important;
}

.asbogoScopeReset2025.as-upi-grid-tag {
	background: #12805c !important;
	color: #fff !important;
	padding: 3px 10px !important;
	border-radius: 6px !important;
}

.asbogoScopeReset2025.as-upi-grid-tag .as-upi-line {
	color: #fff !important;
	font-size: 10.5px !important;
	margin: 0 !important;
}

:root {
	--as-bogo-primary: #ff7a00;
	--as-bogo-primary-light: #ffb066;
	--as-bogo-primary-dark: #e56800;
	--as-bogo-secondary: #0b1f3a;
	--as-bogo-secondary-light: #16335c;
	--as-bogo-radius: 16px;
	--as-bogo-radius-sm: 10px;
	--as-bogo-shadow: 0 2px 8px rgba(11, 31, 58, 0.06), 0 8px 24px rgba(11, 31, 58, 0.06);
	--as-bogo-shadow-lg: 0 20px 60px rgba(11, 31, 58, 0.28);
	--as-bogo-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, Helvetica, Arial, sans-serif;
}

.as-bogo-loop-badge,
.as-bogo-single-widget,
.as-bogo-popup,
.as-bogo-customer-dashboard {
	font-family: var(--as-bogo-font);
}

.as-bogo-gift-icon {
	font-size: 16px;
}

.as-bogo-gift-icon-lg {
	font-size: 30px;
	filter: drop-shadow(0 2px 4px rgba(255, 122, 0, 0.35));
}

/* Shop loop badge ---------------------------------------------------------
   Defensive resets (all:revert + explicit !important sizing) prevent
   AapanSouq's theme/marketplace CSS from stretching this small badge
   into a large shape — the same class of bug fixed on the UPI badge below. */
.as-bogo-loop-badge {
	all: revert;
	display: inline-flex !important;
	align-items: center !important;
	gap: 7px !important;
	width: auto !important;
	height: auto !important;
	max-width: max-content !important;
	min-width: 0 !important;
	min-height: 0 !important;
	box-sizing: content-box !important;
	background: linear-gradient(120deg, var(--as-bogo-primary) 0%, var(--as-bogo-primary-light) 100%) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 6px !important;
	padding: 5px 12px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	margin: 0 0 10px !important;
	box-shadow: 0 3px 10px rgba(255, 122, 0, 0.3) !important;
	animation: as-bogo-badge-in 0.3s ease;
	white-space: nowrap !important;
}

@keyframes as-bogo-badge-in {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

.as-bogo-badge-text {
	all: revert;
	display: inline !important;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
}

.as-bogo-share-btn {
	width: auto !important;
	height: auto !important;
	max-width: max-content !important;
	box-sizing: content-box !important;
	cursor: pointer;
	border: none;
	border-radius: 999px;
	padding: 5px 14px;
	font-size: 11.5px;
	font-weight: 700;
	background: var(--as-bogo-secondary);
	color: #fff;
	transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.as-bogo-share-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(11, 31, 58, 0.35);
}

/* Single product widget --------------------------------------------------- */
.as-bogo-single-widget {
	margin: 20px 0;
	border-radius: var(--as-bogo-radius);
	background: linear-gradient(135deg, #fff7ef 0%, #fff1e0 100%);
	border: 1px solid #ffdcae;
	padding: 20px;
	box-shadow: var(--as-bogo-shadow);
	position: relative;
	overflow: hidden;
}

.as-bogo-single-widget::before {
	content: "";
	position: absolute;
	top: -40px;
	right: -40px;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 122, 0, 0.15), transparent 70%);
}

.as-bogo-single-widget-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	position: relative;
}

.as-bogo-single-widget-copy strong {
	display: block;
	color: var(--as-bogo-secondary);
	font-size: 16.5px;
	margin-bottom: 4px;
	letter-spacing: -0.01em;
}

.as-bogo-single-widget-copy p {
	margin: 0;
	font-size: 13px;
	color: #5b5f6a;
	line-height: 1.5;
}

.as-bogo-share-btn-single {
	margin-left: auto;
	padding: 12px 22px;
	border-radius: 999px;
	font-size: 14px;
	background: linear-gradient(120deg, var(--as-bogo-secondary), var(--as-bogo-secondary-light));
	box-shadow: 0 4px 14px rgba(11, 31, 58, 0.3);
}

.as-bogo-share-btn-single:hover {
	box-shadow: 0 6px 20px rgba(11, 31, 58, 0.4);
}

/* Popup / modal ------------------------------------------------------------- */
.as-bogo-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(11, 31, 58, 0.6);
	backdrop-filter: blur(3px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 16px;
	animation: as-bogo-fade-in 0.2s ease;
}

@keyframes as-bogo-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.as-bogo-popup {
	background: #fff;
	border-radius: 20px;
	max-width: 420px;
	width: 100%;
	padding: 28px;
	position: relative;
	box-shadow: var(--as-bogo-shadow-lg);
	animation: as-bogo-pop-in 0.28s cubic-bezier(0.2, 0.8, 0.3, 1.1);
	max-height: 90vh;
	overflow-y: auto;
}

@keyframes as-bogo-pop-in {
	from { transform: scale(0.92) translateY(14px); opacity: 0; }
	to { transform: scale(1) translateY(0); opacity: 1; }
}

.as-bogo-popup-close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: #f4f4f6;
	border: none;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	color: #888;
	transition: background 0.15s ease;
}

.as-bogo-popup-close:hover {
	background: #eaeaee;
}

.as-bogo-popup-header {
	text-align: center;
	margin-bottom: 18px;
}

.as-bogo-popup-header h3 {
	color: var(--as-bogo-secondary);
	margin: 8px 0 0;
	font-size: 19px;
	letter-spacing: -0.01em;
}

.as-bogo-popup-product {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #f9fafb;
	border-radius: var(--as-bogo-radius-sm);
	padding: 12px;
	margin-bottom: 14px;
}

.as-bogo-popup-product-image {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.as-bogo-popup-product-name {
	font-weight: 700;
	color: var(--as-bogo-secondary);
	font-size: 14px;
}

.as-bogo-popup-message {
	font-size: 13px;
	color: #5b5f6a;
	line-height: 1.5;
}

.as-bogo-popup-platforms {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 16px 0;
}

.as-bogo-platform-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
	padding: 11px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	color: #fff;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.as-bogo-platform-btn:hover {
	transform: translateY(-2px);
	color: #fff;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.as-bogo-platform-whatsapp { background: linear-gradient(135deg, #25d366, #1fb855); }
.as-bogo-platform-facebook { background: linear-gradient(135deg, #1877f2, #0e5fc4); }
.as-bogo-platform-telegram { background: linear-gradient(135deg, #29b6f6, #229ed9); }
.as-bogo-platform-copy { background: linear-gradient(135deg, var(--as-bogo-secondary), var(--as-bogo-secondary-light)); }
.as-bogo-platform-native { background: linear-gradient(135deg, var(--as-bogo-primary), var(--as-bogo-primary-dark)); }

.as-bogo-popup-link-field {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #e5e7ef;
	font-size: 12px;
	color: #6b7280;
	background: #f9fafb;
}

/* Progress bar (product widget + popup) ------------------------------------ */
.as-bogo-progress-bar {
	background: #eee;
	border-radius: 999px;
	height: 9px;
	overflow: hidden;
	margin-bottom: 6px;
}

.as-bogo-progress-fill {
	background: linear-gradient(90deg, var(--as-bogo-primary), var(--as-bogo-primary-light));
	height: 100%;
	width: 0%;
	border-radius: 999px;
	transition: width 0.4s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.as-bogo-progress-text,
.as-bogo-popup-progress-text {
	font-size: 12px;
	color: #6b7280;
	font-weight: 700;
}

.as-bogo-popup-progress {
	margin: 12px 0;
}

.as-bogo-variation-notice {
	font-size: 12px;
	color: #c0392b;
	font-style: italic;
}

.as-bogo-share-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none !important;
}

.as-bogo-popup-note {
	font-size: 11px;
	color: #9aa0ab;
	font-style: italic;
	margin: 8px 0 0;
	line-height: 1.4;
}

/* Customer dashboard --------------------------------------------------------- */
.as-bogo-customer-dashboard h2 {
	color: var(--as-bogo-secondary);
	font-size: 22px;
	letter-spacing: -0.01em;
}

.as-bogo-customer-dashboard .as-bogo-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 18px 0 26px;
}

.as-bogo-customer-dashboard .as-bogo-card {
	background: linear-gradient(135deg, #fff7ef, #fff1e0);
	border: 1px solid #ffdcae;
	border-radius: var(--as-bogo-radius-sm);
	padding: 16px 20px;
	min-width: 140px;
	box-shadow: var(--as-bogo-shadow);
}

.as-bogo-customer-dashboard .as-bogo-card-num {
	display: block;
	font-size: 26px;
	font-weight: 800;
	color: var(--as-bogo-secondary);
}

.as-bogo-customer-dashboard .as-bogo-card-label {
	font-size: 12px;
	color: #7a7f8a;
	font-weight: 500;
}

.as-bogo-campaign-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 16px;
	margin: 16px 0 28px;
}

.as-bogo-campaign-card {
	background: #fff;
	border: 1px solid #eef0f4;
	border-radius: var(--as-bogo-radius-sm);
	padding: 16px;
	box-shadow: var(--as-bogo-shadow);
	transition: transform 0.15s ease;
}

.as-bogo-campaign-card:hover {
	transform: translateY(-2px);
}

.as-bogo-campaign-card h4 {
	margin: 0 0 10px;
	font-size: 14px;
	color: var(--as-bogo-secondary);
	font-weight: 700;
}

.as-bogo-campaign-status {
	margin: 8px 0 0;
	font-size: 13px;
	font-weight: 600;
}

.as-bogo-reward-history {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid #eef0f4;
	border-radius: var(--as-bogo-radius-sm);
	overflow: hidden;
	box-shadow: var(--as-bogo-shadow);
}

.as-bogo-reward-history th {
	background: #fafbfd;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.04em;
	color: #8a8f99;
}

.as-bogo-reward-history th,
.as-bogo-reward-history td {
	text-align: left;
	padding: 12px;
	border-bottom: 1px solid #f0f1f4;
	font-size: 13px;
}

.as-bogo-reward-history tr:last-child td {
	border-bottom: none;
}

.as-bogo-redeem-btn {
	background: linear-gradient(120deg, var(--as-bogo-primary), var(--as-bogo-primary-dark));
	color: #fff;
	padding: 7px 16px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(255, 122, 0, 0.3);
}

.as-bogo-auto-note {
	font-size: 11px;
	color: #9aa0ab;
	font-style: italic;
}

/* Mobile ---------------------------------------------------------------------- */
@media (max-width: 480px) {
	.as-bogo-single-widget-inner {
		flex-direction: column;
		align-items: flex-start;
	}
	.as-bogo-share-btn-single {
		margin-left: 0;
		width: 100%;
		text-align: center;
		justify-content: center;
	}
	.as-bogo-popup-platforms {
		grid-template-columns: 1fr;
	}
	.as-bogo-popup {
		padding: 22px;
	}
}

/* Popup: guest (logged-out) state ------------------------------------------- */
.as-bogo-popup-guest {
	text-align: center;
	padding: 6px 0 4px;
}

.as-bogo-popup-guest-message {
	font-size: 14px;
	color: var(--as-bogo-secondary);
	font-weight: 600;
	margin: 0 0 18px;
	line-height: 1.5;
}

.as-bogo-popup-guest-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.as-bogo-popup-guest-actions .as-bogo-platform-btn {
	background: linear-gradient(120deg, var(--as-bogo-primary), var(--as-bogo-primary-dark));
	padding: 13px;
	font-size: 14px;
}

.as-bogo-popup-guest-actions .as-bogo-guest-login {
	background: linear-gradient(120deg, var(--as-bogo-secondary), var(--as-bogo-secondary-light));
}

/* Popup: requirements + explainer -------------------------------------------- */
.as-bogo-popup-explainer {
	font-size: 13px;
	color: #5b5f6a;
	line-height: 1.5;
	margin: 0 0 14px;
}

.as-bogo-popup-requirements {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 0 0 14px;
}

.as-bogo-popup-requirements > div {
	background: #f9fafb;
	border-radius: 10px;
	padding: 10px 12px;
	text-align: center;
}

.as-bogo-req-label {
	display: block;
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #9aa0ab;
	font-weight: 700;
	margin-bottom: 2px;
}

.as-bogo-popup-requirements strong {
	font-size: 18px;
	color: var(--as-bogo-secondary);
}

.as-bogo-popup-share-label {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--as-bogo-secondary);
	margin: 4px 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.as-bogo-popup-message {
	white-space: pre-line;
}

/* Accessible, lightweight, toggleable badge pulse ---------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.as-bogo-gift-icon-lg {
		animation: as-bogo-pulse 2.4s ease-in-out infinite;
	}
}

@keyframes as-bogo-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.12); }
}

@media (prefers-reduced-motion: no-preference) {
	.as-bogo-loop-badge .as-bogo-gift-icon {
		display: inline-block;
		animation: as-bogo-pulse 2.4s ease-in-out infinite;
	}
}

.as-bogo-share-btn-dashboard {
	margin-top: 10px;
	padding: 9px 18px;
	background: linear-gradient(120deg, var(--as-bogo-primary), var(--as-bogo-primary-dark));
	width: 100%;
	text-align: center;
	font-size: 12.5px;
}

/* [as_bogo_campaigns] fallback grid ------------------------------------------ */
.as-bogo-campaigns-grid {
	display: grid;
	grid-template-columns: repeat(var(--as-bogo-grid-cols, 3), 1fr);
	gap: 20px;
	margin: 16px 0;
}

@media (max-width: 780px) {
	.as-bogo-campaigns-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.as-bogo-campaigns-grid {
		grid-template-columns: 1fr;
	}
}

.as-bogo-campaign-grid-card {
	background: #fff;
	border: 1px solid #eef0f4;
	border-radius: var(--as-bogo-radius);
	overflow: hidden;
	box-shadow: var(--as-bogo-shadow);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.as-bogo-campaign-grid-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--as-bogo-shadow-lg);
}

.as-bogo-campaign-grid-image {
	display: block;
	position: relative;
}

.as-bogo-campaign-grid-image img {
	width: 100%;
	height: auto;
	display: block;
}

.as-bogo-campaign-grid-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	margin-bottom: 0;
}

.as-bogo-campaign-grid-body {
	padding: 14px 16px 18px;
}

.as-bogo-campaign-grid-title {
	display: block;
	font-weight: 700;
	color: var(--as-bogo-secondary);
	text-decoration: none;
	font-size: 15px;
	margin-bottom: 4px;
}

.as-bogo-campaign-grid-price {
	font-size: 14px;
	color: var(--as-bogo-primary-dark);
	font-weight: 700;
	margin-bottom: 8px;
}

.as-bogo-campaign-grid-offer {
	font-size: 12px;
	color: #6b7280;
	margin-bottom: 12px;
	line-height: 1.4;
}

.as-bogo-share-btn-grid {
	width: 100%;
	padding: 10px;
	border-radius: 10px;
	font-size: 13px;
	background: linear-gradient(120deg, var(--as-bogo-secondary), var(--as-bogo-secondary-light));
}

.as-bogo-no-campaigns {
	text-align: center;
	color: #9aa0ab;
	font-style: italic;
	padding: 30px 0;
}

/* ============================================================
   UPI Offer Price

   IMPORTANT: the actual layout-critical styling for UPI badges now
   lives as inline `style="...!important"` attributes directly in the
   PHP templates (public/templates/upi-badge-*.php). This is
   deliberate: inline !important always wins over any external
   stylesheet's !important rule regardless of load order or
   specificity, which is what actually stops AapanSouq's theme/
   marketplace CSS from reshaping these badges into large circles —
   class-based !important alone was not sufficient. The rules below
   are just a harmless baseline fallback.
   ============================================================ */
.as-upi-badge {
	margin: 6px 0;
}

.as-upi-badge-single {
	background: #f2fbf7;
	border: 1px solid #c9ecdc;
	border-radius: 10px;
	padding: 12px 16px;
	margin: 14px 0;
}

.as-upi-save-note {
	margin: 4px 0 0;
	font-size: 12px;
	color: #12805c;
}

.as-upi-checkout-notice {
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 14px;
}

.as-upi-checkout-notice.is-eligible {
	background: #e9f9f1;
	color: #12805c;
}

.as-upi-checkout-notice.is-not-eligible {
	background: #f4f4f6;
	color: #6b7280;
}

.as-upi-cart-notice th {
	font-size: 12px;
	font-weight: 600;
	color: #6b7280;
	padding: 8px 0;
}

/* ============================================================
   Cashback
   ============================================================ */
.as-bogo-cashback-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin: 16px 0;
}

.as-bogo-cashback-card {
	display: flex;
	gap: 14px;
	background: linear-gradient(135deg, #fff7ef, #fff1e0);
	border: 1px solid #ffdcae;
	border-radius: var(--as-bogo-radius);
	padding: 18px;
	box-shadow: var(--as-bogo-shadow);
}

.as-bogo-cashback-icon {
	font-size: 30px;
}

.as-bogo-cashback-body h4 {
	margin: 0 0 4px;
	color: var(--as-bogo-secondary);
	font-size: 15px;
}

.as-bogo-cashback-offer {
	font-weight: 700;
	color: var(--as-bogo-primary-dark);
	margin: 0 0 4px;
}

.as-bogo-cashback-conditions {
	font-size: 12px;
	color: #6b7280;
	margin: 0 0 10px;
}

.as-bogo-cashback-cta {
	display: inline-block;
	background: linear-gradient(120deg, var(--as-bogo-secondary), var(--as-bogo-secondary-light));
	color: #fff;
	padding: 7px 16px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
}

.as-bogo-cashback-section {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px dashed #e5e7ef;
}

#as-bogo-redeem-cashback-btn {
	background: linear-gradient(120deg, var(--as-bogo-primary), var(--as-bogo-primary-dark));
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 13px;
	cursor: pointer;
	margin: 6px 0 20px;
}

#as-bogo-redeem-result {
	background: #f2fbf7;
	border: 1px solid #c9ecdc;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 13px;
	margin: 10px 0 20px;
}

/* ============================================================
   Wallet Cashback (product-level, credited to customer wallet)
   ============================================================ */
@keyframes as-wallet-soft-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.85; }
}

.asbogoScopeReset2025 .as-wallet-loop-banner {
	background: linear-gradient(90deg, #fff3e0, #fff8ef) !important;
	border: 1px solid #ffd9a8 !important;
	border-radius: 8px !important;
	padding: 6px 10px !important;
	margin: 6px 0 !important;
}

@media (prefers-reduced-motion: no-preference) {
	.asbogoScopeReset2025 .as-wallet-banner-title {
		animation: as-wallet-soft-pulse 3s ease-in-out infinite !important;
	}
}

.asbogoScopeReset2025 .as-wallet-banner-title {
	color: #b4530a !important;
	font-weight: 800 !important;
	font-size: 12.5px !important;
}

.asbogoScopeReset2025 .as-wallet-banner-sub {
	color: #6b5a4a !important;
	font-size: 11px !important;
}

.asbogoScopeReset2025 .as-wallet-tc-trigger {
	display: inline-block !important;
	background: none !important;
	border: none !important;
	color: #0b1f3a !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-decoration: underline !important;
	padding: 2px 0 !important;
	margin-top: 2px !important;
	cursor: pointer !important;
}

.asbogoScopeReset2025 .as-wallet-single-badge {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	background: #fff3e0 !important;
	border: 1px solid #ffd9a8 !important;
	border-radius: 10px !important;
	padding: 10px 14px !important;
	margin: 12px 0 !important;
	flex-wrap: wrap !important;
}

.asbogoScopeReset2025 .as-wallet-tag {
	background: #ff7a00 !important;
}

.asbogoScopeReset2025 .as-wallet-single-text {
	color: #b4530a !important;
	font-weight: 700 !important;
	font-size: 13px !important;
}

.asbogoScopeReset2025 .as-wallet-earn-note {
	display: block !important;
	background: #f4f6fb !important;
	color: #333 !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	padding: 8px 12px !important;
	border-radius: 8px !important;
	margin: 8px 0 !important;
}

.asbogoScopeReset2025 .as-wallet-cart-box,
.asbogoScopeReset2025 .as-wallet-checkout-box {
	background: #fff3e0 !important;
	border-color: #ffd9a8 !important;
}

.asbogoScopeReset2025 .as-wallet-cart-earn strong,
.asbogoScopeReset2025 .as-wallet-checkout-line strong {
	color: #b4530a !important;
}

.asbogoScopeReset2025 .as-wallet-cart-balance strong {
	color: #12805c !important;
}

.asbogoScopeReset2025 .as-wallet-use-toggle {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	color: #0b1f3a !important;
	margin-top: 8px !important;
	cursor: pointer !important;
}

.asbogoScopeReset2025 .as-wallet-checkout-note {
	font-size: 11px !important;
	color: #9aa0ab !important;
	font-weight: 500 !important;
}

/* T&C modal content */
.as-wallet-tc-content {
	font-size: 13px;
	color: #4b5563;
	line-height: 1.6;
	margin-bottom: 10px;
}

.as-wallet-tc-extra {
	font-size: 12px;
	color: #6b7280;
	margin: 4px 0;
}

/* My Account Wallet tab */
.asbogoScopeReset2025.as-wallet-account-wrap {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.asbogoScopeReset2025 .as-wallet-account-heading {
	font-size: 20px !important;
	font-weight: 800 !important;
	color: #0b1f3a !important;
	margin-bottom: 14px !important;
}

.as-wallet-account-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 24px;
}

.as-wallet-account-card {
	background: linear-gradient(135deg, #fff3e0, #fff8ef);
	border: 1px solid #ffd9a8;
	border-radius: 12px;
	padding: 16px 20px;
	min-width: 150px;
}

.as-wallet-account-card-num {
	display: block;
	font-size: 22px;
	font-weight: 800;
	color: #0b1f3a;
}

.as-wallet-account-card-label {
	display: block;
	font-size: 12px;
	color: #6b7280;
	margin-top: 4px;
}

.as-wallet-history-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid #eef0f4;
	border-radius: 10px;
	overflow: hidden;
}

.as-wallet-history-table th {
	background: #fafbfd;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.04em;
	color: #8a8f99;
	padding: 12px;
	text-align: left;
}

.as-wallet-history-table td {
	padding: 12px;
	border-top: 1px solid #f0f1f4;
	font-size: 13px;
}

.as-wallet-amount-credit {
	color: #12805c;
	font-weight: 700;
}

.as-wallet-amount-debit {
	color: #b32d2e;
	font-weight: 700;
}

.as-wallet-order-ref {
	color: #9aa0ab;
	font-size: 11px;
	margin-left: 4px;
}

@media (max-width: 480px) {
	.as-wallet-account-cards {
		gap: 10px;
	}
	.as-wallet-account-card {
		min-width: calc(50% - 5px);
		padding: 12px 14px;
	}
	.as-wallet-history-table {
		font-size: 12px;
	}
}
