/* Razorpay WooCommerce Order Chatbot — widget styles
   All selectors are scoped under #rwc-root to avoid clashing with the theme. */

#rwc-root,
#rwc-root * {
	box-sizing: border-box;
}

#rwc-root {
	--rwc-primary: #5b3df0;
	--rwc-primary-dark: #4527d6;
	--rwc-bg: #ffffff;
	--rwc-bg-soft: #f6f5fb;
	--rwc-bot-bubble: #f1f0f8;
	--rwc-text: #20212b;
	--rwc-text-light: #6b6d80;
	--rwc-border: #e7e6f2;
	--rwc-radius: 18px;
	--rwc-shadow: 0 18px 50px rgba(31, 26, 64, 0.18), 0 2px 8px rgba(31, 26, 64, 0.08);

	--rwc-bottom: 24px;
	--rwc-side: 24px;

	position: fixed;
	bottom: var(--rwc-bottom);
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.45;
	color: var(--rwc-text);
}

#rwc-root.rwc-bottom-right {
	right: var(--rwc-side);
}

#rwc-root.rwc-bottom-left {
	left: var(--rwc-side);
}

/* ---------- Toggle button ---------- */

.rwc-toggle {
	width: 60px;
	height: 60px;
	min-width: 60px;
	padding: 0;
	border-radius: 50%;
	border: none;
	background: linear-gradient(145deg, var(--rwc-primary), var(--rwc-primary-dark));
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-shadow: var(--rwc-shadow);
	transition: transform 0.18s ease, box-shadow 0.18s ease, padding 0.18s ease, border-radius 0.18s ease, width 0.18s ease;
	position: relative;
	z-index: 2;
}

.rwc-toggle.rwc-has-label {
	width: auto;
	padding: 0 20px 0 16px;
	border-radius: 34px;
}

.rwc-toggle:hover {
	transform: translateY(-2px) scale(1.03);
}

.rwc-toggle:active {
	transform: scale(0.97);
}

.rwc-toggle-icon-wrap {
	position: relative;
	width: 26px;
	height: 26px;
	flex-shrink: 0;
}

.rwc-icon {
	width: 26px;
	height: 26px;
	position: absolute;
	top: 0;
	left: 0;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.rwc-icon-img {
	object-fit: contain;
}

.rwc-icon-close {
	opacity: 0;
	transform: rotate(-45deg) scale(0.7);
}

.rwc-toggle-text {
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

#rwc-root.rwc-open .rwc-icon-main {
	opacity: 0;
	transform: rotate(45deg) scale(0.7);
}

#rwc-root.rwc-open .rwc-icon-close {
	opacity: 1;
	transform: rotate(0) scale(1);
}

#rwc-root.rwc-open .rwc-toggle.rwc-has-label {
	padding: 0;
	width: 60px;
	border-radius: 50%;
}

#rwc-root.rwc-open .rwc-toggle-text {
	display: none;
}

/* Attention pulse — a soft ring in the button's own color, expanding and fading */

.rwc-toggle.rwc-pulse::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: var(--rwc-primary);
	opacity: 0.5;
	z-index: -1;
	pointer-events: none;
	animation: rwc-pulse-ring 2.4s ease-out infinite;
}

@keyframes rwc-pulse-ring {
	0% {
		transform: scale(1);
		opacity: 0.5;
	}
	100% {
		transform: scale(1.5);
		opacity: 0;
	}
}

#rwc-root.rwc-open .rwc-toggle.rwc-pulse::after {
	animation: none;
	opacity: 0;
}

/* ---------- Panel ---------- */

.rwc-panel {
	position: absolute;
	bottom: 76px;
	width: 380px;
	max-width: calc(100vw - 32px);
	height: 560px;
	max-height: calc(100vh - 140px);
	background: var(--rwc-bg);
	border-radius: var(--rwc-radius);
	box-shadow: var(--rwc-shadow);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transform-origin: bottom right;
	transition: opacity 0.18s ease, transform 0.18s ease;
	opacity: 1;
	transform: scale(1) translateY(0);
}

#rwc-root.rwc-bottom-right .rwc-panel {
	right: 0;
	transform-origin: bottom right;
}

#rwc-root.rwc-bottom-left .rwc-panel {
	left: 0;
	transform-origin: bottom left;
}

.rwc-panel.rwc-hidden {
	opacity: 0;
	transform: scale(0.92) translateY(12px);
	pointer-events: none;
}

/* ---------- Header ---------- */

.rwc-header {
	background: linear-gradient(135deg, var(--rwc-primary), var(--rwc-primary-dark));
	color: #fff;
	padding: 16px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
}

.rwc-header-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rwc-avatar {
	width: var(--rwc-logo-size, 40px);
	height: var(--rwc-logo-size, 40px);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.22);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: calc( var(--rwc-logo-size, 40px) * 0.5 );
	flex-shrink: 0;
	overflow: hidden;
}

.rwc-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	border-radius: 10px;
}

.rwc-title {
	font-weight: 600;
	font-size: 14.5px;
}

.rwc-subtitle {
	font-size: 12px;
	opacity: 0.85;
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 1px;
}

.rwc-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #4ade80;
	display: inline-block;
}

.rwc-restart {
	background: rgba(255, 255, 255, 0.16);
	border: none;
	color: #fff;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease, transform 0.4s ease;
}

.rwc-restart:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(-90deg);
}

/* ---------- Messages ---------- */

.rwc-messages {
	flex: 1;
	overflow-y: auto;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: var(--rwc-bg-soft);
}

.rwc-msg {
	display: flex;
	width: 100%;
}

.rwc-msg.rwc-bot {
	justify-content: flex-start;
}

.rwc-msg.rwc-user {
	justify-content: flex-end;
}

.rwc-bubble {
	max-width: 86%;
	padding: 10px 13px;
	border-radius: 14px;
	font-size: 13.5px;
	word-wrap: break-word;
}

.rwc-bot .rwc-bubble {
	background: var(--rwc-bot-bubble);
	color: var(--rwc-text);
	border-bottom-left-radius: 4px;
}

.rwc-user .rwc-bubble {
	background: var(--rwc-primary);
	color: #fff;
	border-bottom-right-radius: 4px;
}

/* Typing indicator */

.rwc-typing {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 12px 14px;
}

.rwc-typing span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--rwc-text-light);
	display: inline-block;
	animation: rwc-bounce 1.2s infinite ease-in-out;
}

.rwc-typing span:nth-child(2) {
	animation-delay: 0.15s;
}

.rwc-typing span:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes rwc-bounce {
	0%, 60%, 100% {
		transform: translateY(0);
		opacity: 0.5;
	}
	30% {
		transform: translateY(-4px);
		opacity: 1;
	}
}

/* ---------- Option buttons ---------- */

.rwc-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-left: 2px;
	max-width: 92%;
}

.rwc-option-btn {
	background: #fff;
	border: 1.5px solid var(--rwc-primary);
	color: var(--rwc-primary);
	border-radius: 20px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.rwc-option-btn:hover:not(:disabled) {
	background: var(--rwc-primary);
	color: #fff;
}

.rwc-option-btn:active:not(:disabled) {
	transform: scale(0.97);
}

.rwc-options.rwc-locked .rwc-option-btn {
	opacity: 0.45;
	cursor: default;
}

/* ---------- Product list ---------- */

.rwc-products {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 94%;
}

.rwc-product-card {
	background: #fff;
	border: 1px solid var(--rwc-border);
	border-radius: 12px;
	padding: 10px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.rwc-product-card:hover {
	box-shadow: 0 6px 18px rgba(31, 26, 64, 0.1);
	transform: translateY(-1px);
}

.rwc-product-img-wrap {
	position: relative;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
}

.rwc-product-img {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	object-fit: cover;
	display: block;
	background: var(--rwc-bg-soft);
}

/* Highlight tag badges — appear before the product name */

.rwc-tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 4px;
}

.rwc-highlight-tag {
	display: inline-flex;
	align-items: center;
	font-size: 9.5px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Subtle left-border accent on tagged cards */

.rwc-product-card.rwc-has-tag {
	border-left-width: 3px;
}

.rwc-product-info {
	flex: 1;
	min-width: 0;
}

.rwc-product-name {
	font-weight: 600;
	font-size: 13px;
	color: var(--rwc-text);
	line-height: 1.4;
	word-break: break-word;
}

.rwc-product-price {
	font-size: 12.5px;
	color: var(--rwc-primary);
	font-weight: 400;
	margin-top: 2px;
}

/* Payable / sale price — bold */
.rwc-product-price ins,
.rwc-product-price ins .woocommerce-Price-amount,
.rwc-order-summary-price ins,
.rwc-order-summary-price ins .woocommerce-Price-amount {
	font-weight: 700;
	text-decoration: none;
}

/* Strike-through / original price — normal weight, readable, just crossed out */
.rwc-product-price del,
.rwc-product-price del .woocommerce-Price-amount,
.rwc-order-summary-price del,
.rwc-order-summary-price del .woocommerce-Price-amount {
	font-weight: 400;
	opacity: 1;
}

/* Single price (no sale) — bold */
.rwc-product-price .woocommerce-Price-amount,
.rwc-order-summary-price .woocommerce-Price-amount {
	font-weight: 700;
}

/* Star ratings */

.rwc-rating {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 3px;
}

.rwc-stars {
	position: relative;
	display: inline-block;
	font-size: 12px;
	line-height: 1;
	letter-spacing: 1px;
}

.rwc-stars-bg {
	color: #d1d0e0;
}

.rwc-stars-fill {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	white-space: nowrap;
	color: #f59e0b;
}

.rwc-review-count {
	font-size: 11px;
	color: var(--rwc-text-light);
}

.rwc-card-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	flex-shrink: 0;
}

/* Quantity stepper */

.rwc-qty-stepper {
	display: flex;
	align-items: center;
	gap: 0;
	border: 1.5px solid var(--rwc-border);
	border-radius: 8px;
	overflow: hidden;
}

.rwc-qty-btn {
	background: #fff;
	border: none;
	color: var(--rwc-primary);
	font-size: 15px;
	font-weight: 700;
	width: 28px;
	height: 28px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.12s ease;
	flex-shrink: 0;
}

.rwc-qty-btn:hover:not(:disabled) {
	background: var(--rwc-bg-soft);
}

.rwc-qty-btn:disabled {
	color: #c0c0cc;
	cursor: default;
}

.rwc-qty-val {
	min-width: 26px;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	color: var(--rwc-text);
	pointer-events: none;
}

.rwc-select-btn {
	background: var(--rwc-primary);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 7px 12px;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	flex-shrink: 0;
	width: 100%;
	transition: background 0.15s ease;
}

.rwc-select-btn:hover:not(:disabled) {
	background: var(--rwc-primary-dark);
}

.rwc-products.rwc-locked .rwc-select-btn,
.rwc-products.rwc-locked .rwc-product-card {
	opacity: 0.45;
}

.rwc-products.rwc-locked .rwc-qty-btn {
	pointer-events: none;
}

/* Order summary bar at the top of the form */

/* Inline field error (shown directly below invalid input) */

.rwc-inline-error {
	display: block;
	font-size: 11.5px;
	color: #b91c1c;
	margin-top: 3px;
	min-height: 0;
	line-height: 1.4;
}

.rwc-form-row.rwc-field-invalid input {
	border-color: #ef4444;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.10);
}

/* Search empty state */

.rwc-search-empty {
	font-size: 12.5px;
	color: var(--rwc-text-light);
	text-align: center;
	padding: 14px 0;
	display: none;
}

.rwc-order-summary {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: var(--rwc-bg-soft);
	border-radius: 8px;
	padding: 10px 11px;
}

.rwc-summary-img {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
	background: var(--rwc-border);
}

.rwc-summary-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.rwc-summary-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.rwc-order-summary-name {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--rwc-text);
	flex: 1;
	min-width: 0;
}

.rwc-order-summary-price {
	font-size: 12.5px;
	color: var(--rwc-primary);
	white-space: nowrap;
	flex-shrink: 0;
}

.rwc-order-summary-qty {
	font-size: 11.5px;
	color: var(--rwc-text-light);
}

/* ---------- Order form ---------- */

.rwc-form {
	background: #fff;
	border: 1px solid var(--rwc-border);
	border-radius: 12px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 94%;
	width: 100%;
}

.rwc-form-row {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rwc-form-row label {
	font-size: 12px;
	font-weight: 600;
	color: var(--rwc-text-light);
}

.rwc-form-row input {
	border: 1.5px solid var(--rwc-border);
	border-radius: 8px;
	padding: 9px 10px;
	font-size: 13.5px;
	color: var(--rwc-text);
	background: #fff;
	width: 100%;
}

.rwc-form-row input:focus {
	outline: none;
	border-color: var(--rwc-primary);
	box-shadow: 0 0 0 3px rgba(91, 61, 240, 0.12);
}

.rwc-form-error {
	font-size: 12.5px;
	color: #d92d20;
	background: #fef3f2;
	border: 1px solid #fecdca;
	border-radius: 8px;
	padding: 8px 10px;
}

.rwc-pay-btn {
	background: var(--rwc-pay-bg, linear-gradient(135deg, var(--rwc-primary), var(--rwc-primary-dark)));
	color: var(--rwc-pay-text, #ffffff);
	border: none;
	border-radius: 10px;
	padding: 11px 14px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	margin-top: 2px;
	transition: opacity 0.15s ease, transform 0.1s ease;
}

.rwc-pay-btn:hover:not(:disabled) {
	opacity: 0.92;
}

.rwc-pay-btn:active:not(:disabled) {
	transform: scale(0.98);
}

.rwc-pay-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

/* Payment trust / method image below Pay button */

.rwc-payment-img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	border-radius: 6px;
	margin-top: 4px;
	opacity: 0.9;
}

/* ---------- Scrollbar ---------- */

.rwc-messages::-webkit-scrollbar {
	width: 6px;
}

.rwc-messages::-webkit-scrollbar-thumb {
	background: rgba(31, 26, 64, 0.18);
	border-radius: 10px;
}

/* ---------- Mobile ---------- */

@media (max-width: 480px) {
	#rwc-root.rwc-bottom-right,
	#rwc-root.rwc-bottom-left {
		right: var(--rwc-side, 16px);
		left: auto;
		bottom: var(--rwc-bottom, 16px);
	}

	.rwc-panel {
		position: fixed;
		inset: 0;
		bottom: 0;
		width: 100%;
		max-width: 100%;
		height: 100%;
		max-height: 100%;
		border-radius: 0;
		transform-origin: center bottom;
	}

	.rwc-toggle {
		position: relative;
		z-index: 1000000;
	}

	.rwc-toggle.rwc-has-label {
		max-width: calc(100vw - 64px);
	}

	.rwc-toggle-text {
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 50vw;
	}
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	.rwc-panel,
	.rwc-toggle,
	.rwc-icon,
	.rwc-restart,
	.rwc-product-card {
		transition: none !important;
	}
	.rwc-typing span,
	.rwc-toggle.rwc-pulse::after {
		animation: none !important;
	}
	.rwc-toggle.rwc-pulse::after {
		opacity: 0 !important;
	}
}

/* ==========================================
   CONVERSION BOOSTERS
   ========================================== */

/* Teaser bubble */

.rwc-teaser-bubble {
	position: absolute;
	bottom: calc(100% + 10px);
	right: 0;
	background: var(--rwc-bg);
	border: 1px solid var(--rwc-border);
	border-radius: 14px 14px 0 14px;
	padding: 10px 14px 10px 12px;
	font-size: 13px;
	font-weight: 500;
	color: var(--rwc-text);
	max-width: 240px;
	box-shadow: var(--rwc-shadow);
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 3;
}

#rwc-root.rwc-bottom-left .rwc-teaser-bubble {
	right: auto;
	left: 0;
	border-radius: 14px 14px 14px 0;
}

.rwc-teaser-bubble.rwc-teaser-in {
	opacity: 1;
	transform: translateY(0);
}

.rwc-teaser-text {
	flex: 1;
	line-height: 1.4;
}

.rwc-teaser-close {
	background: none;
	border: none;
	color: var(--rwc-text-light);
	cursor: pointer;
	font-size: 16px;
	padding: 0;
	line-height: 1;
	flex-shrink: 0;
	margin-top: -1px;
}

.rwc-teaser-close:hover {
	color: var(--rwc-text);
}

/* Offer banner */

.rwc-offer-banner {
	background: var(--rwc-primary);
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	text-align: center;
	padding: 7px 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex-shrink: 0;
}

.rwc-countdown-timer {
	font-variant-numeric: tabular-nums;
	opacity: 0.9;
}

/* Urgency badge */

.rwc-urgency-badge {
	display: inline-block;
	background: #fef2f2;
	color: #b91c1c;
	border: 0.5px solid #fecaca;
	border-radius: 6px;
	font-size: 10.5px;
	font-weight: 700;
	padding: 2px 6px;
	margin-top: 3px;
}

/* Product search */

.rwc-products-outer {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 94%;
}

.rwc-search-wrap {
	position: relative;
}

.rwc-search-input {
	width: 100%;
	border: 1.5px solid var(--rwc-border);
	border-radius: 20px;
	padding: 8px 14px 8px 36px;
	font-size: 13px;
	color: var(--rwc-text);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat 12px center;
}

.rwc-search-input:focus {
	outline: none;
	border-color: var(--rwc-primary);
	box-shadow: 0 0 0 3px rgba(91, 61, 240, 0.12);
}

/* Coupon field */

.rwc-coupon-section {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.rwc-coupon-row {
	display: flex;
	gap: 6px;
}

.rwc-coupon-input {
	flex: 1;
	border: 1.5px solid var(--rwc-border);
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 13px;
	color: var(--rwc-text);
	background: #fff;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.rwc-coupon-input:focus {
	outline: none;
	border-color: var(--rwc-primary);
	box-shadow: 0 0 0 3px rgba(91, 61, 240, 0.12);
}

.rwc-coupon-apply-btn {
	background: var(--rwc-bg-soft);
	border: 1.5px solid var(--rwc-border);
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--rwc-primary);
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.15s ease;
}

.rwc-coupon-apply-btn:hover:not(:disabled) {
	background: var(--rwc-primary);
	color: #fff;
	border-color: var(--rwc-primary);
}

.rwc-coupon-apply-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.rwc-coupon-msg {
	font-size: 12px;
}

.rwc-coupon-ok {
	color: #166534;
}

.rwc-coupon-err {
	color: #b91c1c;
}

/* Order confirmation card */

.rwc-confirm-card {
	background: #fff;
	border: 1px solid var(--rwc-border);
	border-radius: 14px;
	padding: 14px;
	max-width: 94%;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.rwc-confirm-title {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--rwc-text);
}

.rwc-confirm-prod-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rwc-confirm-thumb {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	object-fit: cover;
	background: var(--rwc-bg-soft);
	flex-shrink: 0;
}

.rwc-confirm-prod-info {
	flex: 1;
}

.rwc-confirm-prod-name {
	font-size: 13px;
	font-weight: 600;
	color: var(--rwc-text);
	word-break: break-word;
	line-height: 1.4;
}

.rwc-confirm-prod-qty {
	font-size: 12px;
	color: var(--rwc-text-light);
	margin-top: 2px;
}

.rwc-confirm-breakdown {
	border-top: 1px solid var(--rwc-border);
	padding-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.rwc-confirm-line {
	display: flex;
	justify-content: space-between;
	font-size: 12.5px;
	color: var(--rwc-text-light);
}

.rwc-confirm-discount {
	color: #166534;
}

.rwc-confirm-total {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: var(--rwc-text);
	border-top: 1px solid var(--rwc-border);
	padding-top: 8px;
	margin-top: 2px;
}

.rwc-confirm-buttons {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.rwc-confirm-edit-btn {
	background: none;
	border: 1.5px solid var(--rwc-border);
	border-radius: 10px;
	padding: 9px 14px;
	font-size: 13.5px;
	color: var(--rwc-text-light);
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.rwc-confirm-edit-btn:hover {
	border-color: var(--rwc-primary);
	color: var(--rwc-primary);
}

