/**
 * RAWASYSTEM Express Checkout - Checkout Components
 *
 * Individual form component styles for the multi-step slider checkout form.
 * Every visual element — inputs, buttons, badges, cards, and more — lives here.
 *
 * All selectors are scoped inside .rawasystem-checkout-wrapper.
 *
 * @package RAWASYSTEM_Express_Checkout
 * @version 1.0.0
 */

/* ==========================================================================
   1. Floating Label Inputs
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-floating-group {
	position: relative;
	margin-bottom: var(--rawasystem-space-4);
}

.rawasystem-checkout-wrapper .rawasystem-floating-input,
.rawasystem-checkout-wrapper .rawasystem-floating-textarea {
	display: block;
	width: 100%;
	height: var(--rawasystem-input-height);
	padding: 22px 14px 6px;
	font-size: var(--rawasystem-font-base);
	color: var(--rawasystem-text);
	background: var(--rawasystem-bg);
	border: 1.5px solid var(--rawasystem-border);
	border-radius: var(--rawasystem-radius-md);
	transition: var(--rawasystem-transition);
	caret-color: var(--rawasystem-primary);
}

.rawasystem-checkout-wrapper .rawasystem-floating-input::placeholder,
.rawasystem-checkout-wrapper .rawasystem-floating-textarea::placeholder {
	color: transparent;
}

.rawasystem-checkout-wrapper .rawasystem-floating-label {
	position: absolute;
	top: 50%;
	left: 14px;
	transform: translateY(-50%);
	font-size: var(--rawasystem-font-base);
	color: var(--rawasystem-text-muted);
	pointer-events: none;
	transform-origin: left center;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	background: transparent;
	padding: 0 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: calc(100% - 28px);
}

/* Label floats up on focus or when input has a value */
.rawasystem-checkout-wrapper .rawasystem-floating-input:focus ~ .rawasystem-floating-label,
.rawasystem-checkout-wrapper .rawasystem-floating-input:not(:placeholder-shown) ~ .rawasystem-floating-label,
.rawasystem-checkout-wrapper .rawasystem-floating-textarea:focus ~ .rawasystem-floating-label,
.rawasystem-checkout-wrapper .rawasystem-floating-textarea:not(:placeholder-shown) ~ .rawasystem-floating-label {
	top: 10px;
	transform: translateY(0);
	font-size: var(--rawasystem-font-xs);
	color: var(--rawasystem-primary);
	font-weight: var(--rawasystem-font-semibold);
}

/* Focus state — border change + subtle glow */
.rawasystem-checkout-wrapper .rawasystem-floating-input:focus,
.rawasystem-checkout-wrapper .rawasystem-floating-textarea:focus {
	border-color: var(--rawasystem-primary);
	box-shadow: var(--rawasystem-shadow-focus);
	outline: none;
}

.rawasystem-checkout-wrapper .rawasystem-floating-input:hover:not(:focus),
.rawasystem-checkout-wrapper .rawasystem-floating-textarea:hover:not(:focus) {
	border-color: var(--rawasystem-border-hover);
}

/* ==========================================================================
   2. Input States — Default, Focus, Error, Success, Disabled
   ========================================================================== */

/* -- Default ----------------------------------------------------------- */
.rawasystem-checkout-wrapper .rawasystem-input {
	display: block;
	width: 100%;
	height: var(--rawasystem-input-height);
	padding: 0 14px;
	font-size: var(--rawasystem-font-base);
	color: var(--rawasystem-text);
	background: var(--rawasystem-bg);
	border: 1.5px solid var(--rawasystem-border);
	border-radius: var(--rawasystem-radius-md);
	transition: var(--rawasystem-transition);
	caret-color: var(--rawasystem-primary);
}

.rawasystem-checkout-wrapper .rawasystem-input::placeholder {
	color: var(--rawasystem-text-muted);
}

/* -- Hover ------------------------------------------------------------- */
.rawasystem-checkout-wrapper .rawasystem-input:hover:not(:focus) {
	border-color: var(--rawasystem-border-hover);
}

/* -- Focus ------------------------------------------------------------- */
.rawasystem-checkout-wrapper .rawasystem-input:focus {
	border-color: var(--rawasystem-primary);
	box-shadow: var(--rawasystem-shadow-focus);
	outline: none;
}

/* -- Error state ------------------------------------------------------- */
.rawasystem-checkout-wrapper .rawasystem-input.rawasystem-input-error,
.rawasystem-checkout-wrapper .rawasystem-floating-input.rawasystem-input-error,
.rawasystem-checkout-wrapper .rawasystem-floating-textarea.rawasystem-input-error {
	border-color: var(--rawasystem-error) !important;
	box-shadow: var(--rawasystem-shadow-focus-error) !important;
	animation: rawasystem-shake 0.4s ease-in-out;
}

.rawasystem-checkout-wrapper .rawasystem-floating-input.rawasystem-input-error:focus ~ .rawasystem-floating-label,
.rawasystem-checkout-wrapper .rawasystem-floating-textarea.rawasystem-input-error:focus ~ .rawasystem-floating-label,
.rawasystem-checkout-wrapper .rawasystem-floating-input.rawasystem-input-error:not(:placeholder-shown) ~ .rawasystem-floating-label,
.rawasystem-checkout-wrapper .rawasystem-floating-textarea.rawasystem-input-error:not(:placeholder-shown) ~ .rawasystem-floating-label {
	color: var(--rawasystem-error);
}

/* -- Success state ----------------------------------------------------- */
.rawasystem-checkout-wrapper .rawasystem-input.rawasystem-input-success,
.rawasystem-checkout-wrapper .rawasystem-floating-input.rawasystem-input-success,
.rawasystem-checkout-wrapper .rawasystem-floating-textarea.rawasystem-input-success {
	border-color: var(--rawasystem-success) !important;
	box-shadow: var(--rawasystem-shadow-focus-success) !important;
}

.rawasystem-checkout-wrapper .rawasystem-floating-input.rawasystem-input-success:focus ~ .rawasystem-floating-label,
.rawasystem-checkout-wrapper .rawasystem-floating-textarea.rawasystem-input-success:focus ~ .rawasystem-floating-label,
.rawasystem-checkout-wrapper .rawasystem-floating-input.rawasystem-input-success:not(:placeholder-shown) ~ .rawasystem-floating-label,
.rawasystem-checkout-wrapper .rawasystem-floating-textarea.rawasystem-input-success:not(:placeholder-shown) ~ .rawasystem-floating-label {
	color: var(--rawasystem-success);
}

/* -- Disabled state ---------------------------------------------------- */
.rawasystem-checkout-wrapper .rawasystem-input:disabled,
.rawasystem-checkout-wrapper .rawasystem-floating-input:disabled,
.rawasystem-checkout-wrapper .rawasystem-floating-textarea:disabled,
.rawasystem-checkout-wrapper .rawasystem-select:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: var(--rawasystem-surface);
	border-color: var(--rawasystem-border);
}

/* ==========================================================================
   3. Error Messages
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-field-error {
	display: flex;
	align-items: center;
	gap: var(--rawasystem-space-1);
	margin-top: var(--rawasystem-space-1);
	font-size: var(--rawasystem-font-xs);
	color: var(--rawasystem-error);
	font-weight: var(--rawasystem-font-medium);
	line-height: 1.4;
	animation: rawasystem-slideDown 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.rawasystem-checkout-wrapper .rawasystem-field-error svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.rawasystem-checkout-wrapper .rawasystem-field-error.rawasystem-field-error--hidden {
	display: none;
}

/* ==========================================================================
   4. Dropdown Select
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-input-group--select {
	position: relative;
}

.rawasystem-checkout-wrapper .rawasystem-select {
	display: block;
	width: 100%;
	height: var(--rawasystem-input-height);
	padding: 0 40px 0 14px;
	font-size: var(--rawasystem-font-base);
	color: var(--rawasystem-text);
	background: var(--rawasystem-bg);
	border: 1.5px solid var(--rawasystem-border);
	border-radius: var(--rawasystem-radius-md);
	cursor: pointer;
	transition: var(--rawasystem-transition);
	-webkit-appearance: none;
	appearance: none;
}

.rawasystem-checkout-wrapper[dir="rtl"] .rawasystem-select {
	padding: 0 14px 0 40px;
}

.rawasystem-checkout-wrapper .rawasystem-select:hover:not(:focus) {
	border-color: var(--rawasystem-border-hover);
}

.rawasystem-checkout-wrapper .rawasystem-select:focus {
	border-color: var(--rawasystem-primary);
	box-shadow: var(--rawasystem-shadow-focus);
	outline: none;
}

.rawasystem-checkout-wrapper .rawasystem-select.rawasystem-input-error {
	border-color: var(--rawasystem-error) !important;
	box-shadow: var(--rawasystem-shadow-focus-error) !important;
}

.rawasystem-checkout-wrapper .rawasystem-select-arrow {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	pointer-events: none;
	color: var(--rawasystem-text-muted);
	transition: var(--rawasystem-transition-fast);
}

.rawasystem-checkout-wrapper .rawasystem-select:focus ~ .rawasystem-select-arrow {
	color: var(--rawasystem-primary);
	transform: translateY(-50%) rotate(180deg);
}

/* ==========================================================================
   5. Textarea
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-floating-textarea {
	min-height: 100px;
	padding-top: 28px;
	padding-bottom: 8px;
	resize: vertical;
	line-height: 1.5;
}

.rawasystem-checkout-wrapper .rawasystem-floating-textarea ~ .rawasystem-floating-label {
	top: 18px;
	transform: translateY(0);
}

.rawasystem-checkout-wrapper .rawasystem-floating-textarea:focus ~ .rawasystem-floating-label,
.rawasystem-checkout-wrapper .rawasystem-floating-textarea:not(:placeholder-shown) ~ .rawasystem-floating-label {
	top: 8px;
	font-size: var(--rawasystem-font-xs);
	color: var(--rawasystem-primary);
	font-weight: var(--rawasystem-font-semibold);
}

.rawasystem-checkout-wrapper .rawasystem-textarea {
	display: block;
	width: 100%;
	min-height: 100px;
	padding: 12px 14px;
	font-size: var(--rawasystem-font-base);
	color: var(--rawasystem-text);
	background: var(--rawasystem-bg);
	border: 1.5px solid var(--rawasystem-border);
	border-radius: var(--rawasystem-radius-md);
	resize: vertical;
	line-height: 1.5;
	transition: var(--rawasystem-transition);
}

.rawasystem-checkout-wrapper .rawasystem-textarea:focus {
	border-color: var(--rawasystem-primary);
	box-shadow: var(--rawasystem-shadow-focus);
	outline: none;
}

/* ==========================================================================
   6. Input Row (Grid Layout)
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-input-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--rawasystem-space-3);
}

.rawasystem-checkout-wrapper .rawasystem-input-row--3 {
	grid-template-columns: 1fr 1fr 1fr;
}

/* ==========================================================================
   7. Option Buttons (Size / Variation Selectors)
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-option-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--rawasystem-space-2);
	margin-bottom: var(--rawasystem-space-4);
}

.rawasystem-checkout-wrapper .rawasystem-option-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 40px;
	padding: 8px 16px;
	font-size: var(--rawasystem-font-sm);
	font-weight: var(--rawasystem-font-semibold);
	color: var(--rawasystem-text-secondary);
	background: var(--rawasystem-bg);
	border: 1.5px solid var(--rawasystem-border);
	border-radius: var(--rawasystem-radius-full);
	cursor: pointer;
	transition: var(--rawasystem-transition);
	user-select: none;
	white-space: nowrap;
}

.rawasystem-checkout-wrapper .rawasystem-option-btn:hover {
	border-color: var(--rawasystem-primary-light);
	color: var(--rawasystem-primary);
	background: var(--rawasystem-primary-50);
	transform: translateY(-1px);
}

.rawasystem-checkout-wrapper .rawasystem-option-btn--active {
	background: var(--rawasystem-primary);
	border-color: var(--rawasystem-primary);
	color: var(--rawasystem-text-inverse);
	box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
	transform: scale(1.02);
}

.rawasystem-checkout-wrapper .rawasystem-option-btn--active:hover {
	background: var(--rawasystem-primary-dark);
	border-color: var(--rawasystem-primary-dark);
	color: var(--rawasystem-text-inverse);
	transform: scale(1.02);
}

.rawasystem-checkout-wrapper .rawasystem-option-btn--disabled {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
	text-decoration: line-through;
}

/* ==========================================================================
   8. Color Swatches
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-color-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: var(--rawasystem-space-3);
	margin-bottom: var(--rawasystem-space-4);
}

.rawasystem-checkout-wrapper .rawasystem-color-swatch {
	position: relative;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid var(--rawasystem-border);
	cursor: pointer;
	transition: var(--rawasystem-transition-spring);
	overflow: hidden;
}

.rawasystem-checkout-wrapper .rawasystem-color-swatch:hover {
	transform: scale(1.15);
	border-color: var(--rawasystem-border-hover);
}

.rawasystem-checkout-wrapper .rawasystem-color-swatch--active {
	border-color: var(--rawasystem-primary);
	border-width: 3px;
	box-shadow: 0 0 0 2px var(--rawasystem-primary-50);
	transform: scale(1.1);
}

.rawasystem-checkout-wrapper .rawasystem-color-swatch--active::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 12px;
	height: 12px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* For light-colored swatches, use dark check */
.rawasystem-checkout-wrapper .rawasystem-color-swatch--light.rawasystem-color-swatch--active::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231e293b'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.rawasystem-checkout-wrapper .rawasystem-color-swatch--disabled {
	opacity: 0.35;
	cursor: not-allowed;
	pointer-events: none;
}

.rawasystem-checkout-wrapper .rawasystem-color-swatch-label {
	text-align: center;
	font-size: var(--rawasystem-font-xs);
	color: var(--rawasystem-text-muted);
	margin-top: var(--rawasystem-space-1);
}

/* ==========================================================================
   9. Quantity Control
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-quantity-control {
	display: inline-flex;
	align-items: center;
	border: 1.5px solid var(--rawasystem-border);
	border-radius: var(--rawasystem-radius-md);
	overflow: hidden;
	transition: var(--rawasystem-transition);
}

.rawasystem-checkout-wrapper .rawasystem-quantity-control:hover {
	border-color: var(--rawasystem-border-hover);
}

.rawasystem-checkout-wrapper .rawasystem-quantity-control:focus-within {
	border-color: var(--rawasystem-primary);
	box-shadow: var(--rawasystem-shadow-focus);
}

.rawasystem-checkout-wrapper .rawasystem-qty-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-width: 40px;
	font-size: var(--rawasystem-font-lg);
	color: var(--rawasystem-text-secondary);
	background: var(--rawasystem-surface);
	cursor: pointer;
	transition: var(--rawasystem-transition);
	user-select: none;
}

.rawasystem-checkout-wrapper .rawasystem-qty-btn:first-child {
	border-right: 1px solid var(--rawasystem-border);
}

.rawasystem-checkout-wrapper .rawasystem-qty-btn:last-child {
	border-left: 1px solid var(--rawasystem-border);
}

.rawasystem-checkout-wrapper .rawasystem-qty-btn:hover {
	background: var(--rawasystem-primary-50);
	color: var(--rawasystem-primary);
}

.rawasystem-checkout-wrapper .rawasystem-qty-btn:active {
	background: var(--rawasystem-primary);
	color: var(--rawasystem-text-inverse);
	transform: scale(0.95);
}

.rawasystem-checkout-wrapper .rawasystem-qty-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
	pointer-events: none;
}

.rawasystem-checkout-wrapper .rawasystem-qty-input {
	width: 52px;
	height: 40px;
	text-align: center;
	font-size: var(--rawasystem-font-base);
	font-weight: var(--rawasystem-font-semibold);
	color: var(--rawasystem-text);
	background: var(--rawasystem-bg);
	border: none;
	-moz-appearance: textfield;
}

.rawasystem-checkout-wrapper .rawasystem-qty-input::-webkit-inner-spin-button,
.rawasystem-checkout-wrapper .rawasystem-qty-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.rawasystem-checkout-wrapper .rawasystem-qty-input:focus {
	background: var(--rawasystem-primary-50);
}

/* ==========================================================================
   10. Urgency Bar
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-urgency-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--rawasystem-space-2);
	padding: var(--rawasystem-space-2) var(--rawasystem-space-4);
	background: linear-gradient(135deg, var(--rawasystem-primary) 0%, var(--rawasystem-secondary) 100%);
	color: var(--rawasystem-text-inverse);
	font-size: var(--rawasystem-font-xs);
	font-weight: var(--rawasystem-font-semibold);
	line-height: 1.4;
	position: relative;
	overflow: hidden;
}

.rawasystem-checkout-wrapper .rawasystem-urgency-bar::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
	animation: rawasystem-shimmer 2.5s ease-in-out infinite;
}

.rawasystem-checkout-wrapper .rawasystem-urgency-bar svg,
.rawasystem-checkout-wrapper .rawasystem-urgency-bar .rawasystem-urgency-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	animation: rawasystem-pulse 2s ease-in-out infinite;
}

.rawasystem-checkout-wrapper .rawasystem-urgency-bar span {
	position: relative;
	z-index: 1;
}

.rawasystem-checkout-wrapper .rawasystem-urgency-bar svg {
	position: relative;
	z-index: 1;
}

/* ==========================================================================
   11. Trust Badges
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-trust-badges {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--rawasystem-space-4);
	padding: var(--rawasystem-space-4) var(--rawasystem-space-3);
}

.rawasystem-checkout-wrapper .rawasystem-trust-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--rawasystem-space-1);
	font-size: var(--rawasystem-font-xs);
	color: var(--rawasystem-text-secondary);
	white-space: nowrap;
}

.rawasystem-checkout-wrapper .rawasystem-trust-badge svg,
.rawasystem-checkout-wrapper .rawasystem-trust-badge .rawasystem-badge-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: var(--rawasystem-success);
}

.rawasystem-checkout-wrapper .rawasystem-trust-badges-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	gap: var(--rawasystem-space-2);
	padding: var(--rawasystem-space-3);
	background: var(--rawasystem-surface);
	border-radius: var(--rawasystem-radius-md);
	margin-bottom: var(--rawasystem-space-4);
}

.rawasystem-checkout-wrapper .rawasystem-trust-badges-row .rawasystem-trust-badge {
	flex-direction: column;
	text-align: center;
	gap: var(--rawasystem-space-1);
	padding: var(--rawasystem-space-2);
	border-radius: var(--rawasystem-radius-sm);
	transition: var(--rawasystem-transition-fast);
}

.rawasystem-checkout-wrapper .rawasystem-trust-badges-row .rawasystem-trust-badge:hover {
	background: var(--rawasystem-bg);
}

.rawasystem-checkout-wrapper .rawasystem-trust-badges-row .rawasystem-trust-badge svg {
	width: 20px;
	height: 20px;
}

/* ==========================================================================
   12. Progress Bar
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-progress-bar {
	padding: var(--rawasystem-space-4) var(--rawasystem-space-6) var(--rawasystem-space-3);
}

/* -- Track (background line) ----------------------------------------- */
.rawasystem-checkout-wrapper .rawasystem-progress-track {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4px;
	background: var(--rawasystem-border);
	border-radius: var(--rawasystem-radius-full);
	margin-bottom: var(--rawasystem-space-4);
}

/* -- Fill (animated bar) --------------------------------------------- */
.rawasystem-checkout-wrapper .rawasystem-progress-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: linear-gradient(90deg, var(--rawasystem-primary), var(--rawasystem-primary-light));
	border-radius: var(--rawasystem-radius-full);
	transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rawasystem-checkout-wrapper[dir="rtl"] .rawasystem-progress-fill {
	left: auto;
	right: 0;
}

/* ==========================================================================
   13. Step Indicators
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-step-indicators {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	z-index: 1;
	margin-top: -22px;
}

.rawasystem-checkout-wrapper .rawasystem-step-indicator {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--rawasystem-space-1);
	cursor: default;
}

/* -- Dot ------------------------------------------------------------- */
.rawasystem-checkout-wrapper .rawasystem-step-indicator-dot {
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--rawasystem-font-xs);
	font-weight: var(--rawasystem-font-bold);
	border-radius: 50%;
	border: 2px solid var(--rawasystem-border);
	background: var(--rawasystem-bg);
	color: var(--rawasystem-text-muted);
	transition: var(--rawasystem-transition-spring);
}

/* -- Active step ----------------------------------------------------- */
.rawasystem-checkout-wrapper .rawasystem-step-indicator--active .rawasystem-step-indicator-dot {
	border-color: var(--rawasystem-primary);
	background: var(--rawasystem-primary);
	color: var(--rawasystem-text-inverse);
	box-shadow: 0 0 0 4px var(--rawasystem-primary-50);
	transform: scale(1.05);
}

/* -- Completed step -------------------------------------------------- */
.rawasystem-checkout-wrapper .rawasystem-step-indicator--completed .rawasystem-step-indicator-dot {
	border-color: var(--rawasystem-success);
	background: var(--rawasystem-success);
	color: var(--rawasystem-text-inverse);
}

.rawasystem-checkout-wrapper .rawasystem-step-indicator--completed .rawasystem-step-indicator-dot::after {
	content: "\2713";
	font-size: 12px;
}

/* -- Label ----------------------------------------------------------- */
.rawasystem-checkout-wrapper .rawasystem-step-label {
	font-size: var(--rawasystem-font-xs);
	color: var(--rawasystem-text-muted);
	font-weight: var(--rawasystem-font-medium);
	white-space: nowrap;
	transition: var(--rawasystem-transition);
}

.rawasystem-checkout-wrapper .rawasystem-step-indicator--active .rawasystem-step-label {
	color: var(--rawasystem-primary);
	font-weight: var(--rawasystem-font-semibold);
}

.rawasystem-checkout-wrapper .rawasystem-step-indicator--completed .rawasystem-step-label {
	color: var(--rawasystem-success);
}

/* ==========================================================================
   14. Upsell Cards
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-upsell-section {
	margin-bottom: var(--rawasystem-space-4);
}

.rawasystem-checkout-wrapper .rawasystem-upsell-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--rawasystem-space-3);
	padding: var(--rawasystem-space-4);
	background: var(--rawasystem-bg);
	border: 1.5px solid var(--rawasystem-border);
	border-radius: var(--rawasystem-radius-md);
	cursor: pointer;
	transition: var(--rawasystem-transition);
	margin-bottom: var(--rawasystem-space-2);
}

.rawasystem-checkout-wrapper .rawasystem-upsell-card:hover {
	border-color: var(--rawasystem-primary-light);
	box-shadow: var(--rawasystem-shadow-sm);
	transform: translateY(-1px);
}

.rawasystem-checkout-wrapper .rawasystem-upsell-card--active {
	border-color: var(--rawasystem-primary);
	background: var(--rawasystem-primary-50);
	box-shadow: var(--rawasystem-shadow-sm);
}

.rawasystem-checkout-wrapper .rawasystem-upsell-card--active::after {
	content: "\2713";
	position: absolute;
	top: var(--rawasystem-space-2);
	right: var(--rawasystem-space-2);
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	color: var(--rawasystem-text-inverse);
	background: var(--rawasystem-primary);
	border-radius: 50%;
}

.rawasystem-checkout-wrapper[dir="rtl"] .rawasystem-upsell-card--active::after {
	right: auto;
	left: var(--rawasystem-space-2);
}

.rawasystem-checkout-wrapper .rawasystem-upsell-info {
	flex: 1;
	min-width: 0;
}

.rawasystem-checkout-wrapper .rawasystem-upsell-name {
	font-size: var(--rawasystem-font-sm);
	font-weight: var(--rawasystem-font-semibold);
	color: var(--rawasystem-text);
}

.rawasystem-checkout-wrapper .rawasystem-upsell-desc {
	font-size: var(--rawasystem-font-xs);
	color: var(--rawasystem-text-secondary);
	margin-top: 2px;
	line-height: 1.4;
}

.rawasystem-checkout-wrapper .rawasystem-upsell-price {
	font-size: var(--rawasystem-font-sm);
	font-weight: var(--rawasystem-font-bold);
	color: var(--rawasystem-primary);
	white-space: nowrap;
}

.rawasystem-checkout-wrapper .rawasystem-upsell-save {
	display: inline-block;
	padding: 2px 8px;
	font-size: 10px;
	font-weight: var(--rawasystem-font-bold);
	color: var(--rawasystem-text-inverse);
	background: var(--rawasystem-success);
	border-radius: var(--rawasystem-radius-xs);
	margin-left: var(--rawasystem-space-1);
}

.rawasystem-checkout-wrapper[dir="rtl"] .rawasystem-upsell-save {
	margin-left: 0;
	margin-right: var(--rawasystem-space-1);
}

.rawasystem-checkout-wrapper .rawasystem-upsell-discount-badge {
	position: absolute;
	top: -1px;
	right: 12px;
	padding: 2px 8px;
	font-size: 10px;
	font-weight: var(--rawasystem-font-bold);
	color: var(--rawasystem-text-inverse);
	background: linear-gradient(135deg, var(--rawasystem-warning), var(--rawasystem-warning-dark));
	border-radius: 0 0 var(--rawasystem-radius-xs) var(--rawasystem-radius-xs);
	letter-spacing: 0.02em;
}

/* ==========================================================================
   15. Order Summary
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-order-summary {
	padding: var(--rawasystem-space-4);
	background: var(--rawasystem-surface);
	border-radius: var(--rawasystem-radius-md);
	margin-bottom: var(--rawasystem-space-4);
	border: 1px solid var(--rawasystem-border);
}

.rawasystem-checkout-wrapper .rawasystem-summary-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--rawasystem-space-3);
}

.rawasystem-checkout-wrapper .rawasystem-summary-title {
	font-size: var(--rawasystem-font-sm);
	font-weight: var(--rawasystem-font-bold);
	color: var(--rawasystem-text);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.rawasystem-checkout-wrapper .rawasystem-summary-toggle {
	font-size: var(--rawasystem-font-xs);
	color: var(--rawasystem-primary);
	font-weight: var(--rawasystem-font-semibold);
	cursor: pointer;
	transition: var(--rawasystem-transition-fast);
}

.rawasystem-checkout-wrapper .rawasystem-summary-toggle:hover {
	color: var(--rawasystem-primary-dark);
}

.rawasystem-checkout-wrapper .rawasystem-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--rawasystem-space-1) 0;
	font-size: var(--rawasystem-font-sm);
	color: var(--rawasystem-text-secondary);
}

.rawasystem-checkout-wrapper .rawasystem-summary-row-label {
	flex: 1;
	min-width: 0;
}

.rawasystem-checkout-wrapper .rawasystem-summary-row-value {
	font-weight: var(--rawasystem-font-semibold);
	color: var(--rawasystem-text);
	text-align: right;
	white-space: nowrap;
}

.rawasystem-checkout-wrapper .rawasystem-summary-discount {
	color: var(--rawasystem-success);
}

.rawasystem-checkout-wrapper .rawasystem-summary-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: var(--rawasystem-space-3);
	font-size: var(--rawasystem-font-md);
	font-weight: var(--rawasystem-font-bold);
	color: var(--rawasystem-text);
}

.rawasystem-checkout-wrapper .rawasystem-summary-total-value {
	font-size: var(--rawasystem-font-lg);
	color: var(--rawasystem-primary);
}

.rawasystem-checkout-wrapper .rawasystem-summary-divider {
	height: 1px;
	background: var(--rawasystem-border);
	margin: var(--rawasystem-space-2) 0;
}

.rawasystem-checkout-wrapper .rawasystem-summary-product-image {
	width: 40px;
	height: 40px;
	border-radius: var(--rawasystem-radius-sm);
	object-fit: cover;
	flex-shrink: 0;
}

.rawasystem-checkout-wrapper .rawasystem-summary-product {
	display: flex;
	align-items: center;
	gap: var(--rawasystem-space-2);
	padding: var(--rawasystem-space-2) 0;
}

.rawasystem-checkout-wrapper .rawasystem-summary-product-info {
	flex: 1;
	min-width: 0;
}

.rawasystem-checkout-wrapper .rawasystem-summary-product-name {
	font-size: var(--rawasystem-font-sm);
	font-weight: var(--rawasystem-font-semibold);
	color: var(--rawasystem-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rawasystem-checkout-wrapper .rawasystem-summary-product-qty {
	font-size: var(--rawasystem-font-xs);
	color: var(--rawasystem-text-muted);
}

/* ==========================================================================
   16. Coupon Section
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-coupon-section {
	margin-bottom: var(--rawasystem-space-4);
}

.rawasystem-checkout-wrapper .rawasystem-coupon-toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--rawasystem-space-1);
	font-size: var(--rawasystem-font-xs);
	color: var(--rawasystem-primary);
	font-weight: var(--rawasystem-font-semibold);
	cursor: pointer;
	transition: var(--rawasystem-transition-fast);
	padding: var(--rawasystem-space-1) 0;
}

.rawasystem-checkout-wrapper .rawasystem-coupon-toggle:hover {
	color: var(--rawasystem-primary-dark);
}

.rawasystem-checkout-wrapper .rawasystem-coupon-toggle svg {
	transition: var(--rawasystem-transition);
}

.rawasystem-checkout-wrapper .rawasystem-coupon-toggle--open svg {
	transform: rotate(180deg);
}

.rawasystem-checkout-wrapper .rawasystem-coupon-input-wrapper {
	display: flex;
	gap: var(--rawasystem-space-2);
	margin-top: var(--rawasystem-space-2);
	animation: rawasystem-slideDown 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.rawasystem-checkout-wrapper .rawasystem-coupon-input-wrapper .rawasystem-input {
	flex: 1;
	height: 40px;
	font-size: var(--rawasystem-font-sm);
}

.rawasystem-checkout-wrapper .rawasystem-coupon-input-wrapper .rawasystem-btn-apply {
	flex-shrink: 0;
}

.rawasystem-checkout-wrapper .rawasystem-coupon-message {
	margin-top: var(--rawasystem-space-1);
	font-size: var(--rawasystem-font-xs);
	font-weight: var(--rawasystem-font-medium);
}

.rawasystem-checkout-wrapper .rawasystem-coupon-message--success {
	color: var(--rawasystem-success);
}

.rawasystem-checkout-wrapper .rawasystem-coupon-message--error {
	color: var(--rawasystem-error);
}

.rawasystem-checkout-wrapper .rawasystem-coupon-applied {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--rawasystem-space-2) var(--rawasystem-space-3);
	background: var(--rawasystem-success-50);
	border: 1px solid var(--rawasystem-success-light);
	border-radius: var(--rawasystem-radius-sm);
	margin-top: var(--rawasystem-space-2);
}

.rawasystem-checkout-wrapper .rawasystem-coupon-applied-code {
	font-size: var(--rawasystem-font-sm);
	font-weight: var(--rawasystem-font-semibold);
	color: var(--rawasystem-success-dark);
}

.rawasystem-checkout-wrapper .rawasystem-coupon-remove {
	font-size: var(--rawasystem-font-xs);
	color: var(--rawasystem-error);
	font-weight: var(--rawasystem-font-semibold);
	cursor: pointer;
	transition: var(--rawasystem-transition-fast);
}

.rawasystem-checkout-wrapper .rawasystem-coupon-remove:hover {
	color: var(--rawasystem-error-dark);
}

/* ==========================================================================
   17. Success Message
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-success-message {
	text-align: center;
	padding: var(--rawasystem-space-8) var(--rawasystem-space-6);
}

.rawasystem-checkout-wrapper .rawasystem-success-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: 0 auto var(--rawasystem-space-4);
	background: var(--rawasystem-success-50);
	border-radius: 50%;
	position: relative;
}

.rawasystem-checkout-wrapper .rawasystem-success-icon svg {
	width: 36px;
	height: 36px;
	color: var(--rawasystem-success);
	animation: rawasystem-checkmark 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.rawasystem-checkout-wrapper .rawasystem-success-icon::before {
	content: "";
	position: absolute;
	inset: -8px;
	border-radius: 50%;
	border: 2px solid var(--rawasystem-success-light);
	animation: rawasystem-pulse 2s ease-in-out infinite;
}

/* Confetti-like decorative dots */
.rawasystem-checkout-wrapper .rawasystem-success-confetti {
	position: absolute;
	inset: -20px;
	pointer-events: none;
}

.rawasystem-checkout-wrapper .rawasystem-success-confetti span {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	animation: rawasystem-bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.rawasystem-checkout-wrapper .rawasystem-success-confetti span:nth-child(1) { top: 0; left: 10%; background: var(--rawasystem-primary); animation-delay: 0.3s; }
.rawasystem-checkout-wrapper .rawasystem-success-confetti span:nth-child(2) { top: 5%; right: 15%; background: var(--rawasystem-success); animation-delay: 0.4s; }
.rawasystem-checkout-wrapper .rawasystem-success-confetti span:nth-child(3) { bottom: 10%; left: 5%; background: var(--rawasystem-warning); animation-delay: 0.5s; }
.rawasystem-checkout-wrapper .rawasystem-success-confetti span:nth-child(4) { bottom: 5%; right: 10%; background: var(--rawasystem-error-light); animation-delay: 0.35s; }
.rawasystem-checkout-wrapper .rawasystem-success-confetti span:nth-child(5) { top: 40%; left: -5%; background: var(--rawasystem-primary-light); animation-delay: 0.45s; }
.rawasystem-checkout-wrapper .rawasystem-success-confetti span:nth-child(6) { top: 30%; right: -5%; background: var(--rawasystem-success-light); animation-delay: 0.55s; }

.rawasystem-checkout-wrapper .rawasystem-success-title {
	font-size: var(--rawasystem-font-xl);
	font-weight: var(--rawasystem-font-bold);
	color: var(--rawasystem-text);
	margin-bottom: var(--rawasystem-space-2);
}

.rawasystem-checkout-wrapper .rawasystem-success-text {
	font-size: var(--rawasystem-font-sm);
	color: var(--rawasystem-text-secondary);
	line-height: 1.6;
	margin-bottom: var(--rawasystem-space-4);
}

.rawasystem-checkout-wrapper .rawasystem-success-order-number {
	display: inline-flex;
	align-items: center;
	gap: var(--rawasystem-space-1);
	padding: var(--rawasystem-space-2) var(--rawasystem-space-4);
	background: var(--rawasystem-surface);
	border-radius: var(--rawasystem-radius-full);
	font-size: var(--rawasystem-font-sm);
	color: var(--rawasystem-text);
	font-weight: var(--rawasystem-font-semibold);
}

/* ==========================================================================
   18. Review Section
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-review-section {
	margin-bottom: var(--rawasystem-space-4);
}

.rawasystem-checkout-wrapper .rawasystem-review-group {
	margin-bottom: var(--rawasystem-space-4);
}

.rawasystem-checkout-wrapper .rawasystem-review-group-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--rawasystem-space-2);
	padding-bottom: var(--rawasystem-space-1);
	border-bottom: 1px solid var(--rawasystem-border);
}

.rawasystem-checkout-wrapper .rawasystem-review-group-title {
	font-size: var(--rawasystem-font-sm);
	font-weight: var(--rawasystem-font-bold);
	color: var(--rawasystem-text);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.rawasystem-checkout-wrapper .rawasystem-review-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--rawasystem-space-1) 0;
	font-size: var(--rawasystem-font-sm);
}

.rawasystem-checkout-wrapper .rawasystem-review-item-label {
	color: var(--rawasystem-text-secondary);
	flex: 1;
	min-width: 0;
}

.rawasystem-checkout-wrapper .rawasystem-review-item-value {
	font-weight: var(--rawasystem-font-semibold);
	color: var(--rawasystem-text);
	text-align: right;
	max-width: 60%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rawasystem-checkout-wrapper[dir="rtl"] .rawasystem-review-item-value {
	text-align: left;
}

.rawasystem-checkout-wrapper .rawasystem-review-edit {
	display: inline-flex;
	align-items: center;
	gap: var(--rawasystem-space-1);
	font-size: var(--rawasystem-font-xs);
	font-weight: var(--rawasystem-font-semibold);
	color: var(--rawasystem-primary);
	cursor: pointer;
	padding: 4px 8px;
	border-radius: var(--rawasystem-radius-sm);
	transition: var(--rawasystem-transition-fast);
}

.rawasystem-checkout-wrapper .rawasystem-review-edit:hover {
	background: var(--rawasystem-primary-50);
	color: var(--rawasystem-primary-dark);
}

.rawasystem-checkout-wrapper .rawasystem-review-edit svg {
	width: 12px;
	height: 12px;
}

/* ==========================================================================
   19. Loading / Skeleton
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-skeleton {
	background: linear-gradient(
		90deg,
		var(--rawasystem-surface) 25%,
		var(--rawasystem-surface-hover) 37%,
		var(--rawasystem-surface) 63%
	);
	background-size: 400% 100%;
	animation: rawasystem-shimmer 1.4s ease infinite;
	border-radius: var(--rawasystem-radius-sm);
}

.rawasystem-checkout-wrapper .rawasystem-skeleton-text {
	height: 14px;
	margin-bottom: var(--rawasystem-space-2);
	width: 80%;
}

.rawasystem-checkout-wrapper .rawasystem-skeleton-text--short {
	width: 50%;
}

.rawasystem-checkout-wrapper .rawasystem-skeleton-text--long {
	width: 100%;
}

.rawasystem-checkout-wrapper .rawasystem-skeleton-input {
	height: var(--rawasystem-input-height);
	margin-bottom: var(--rawasystem-space-4);
	width: 100%;
	border-radius: var(--rawasystem-radius-md);
}

.rawasystem-checkout-wrapper .rawasystem-skeleton-button {
	height: var(--rawasystem-button-height);
	width: 100%;
	border-radius: var(--rawasystem-radius-md);
}

.rawasystem-checkout-wrapper .rawasystem-skeleton-circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
}

.rawasystem-checkout-wrapper .rawasystem-skeleton-image {
	width: 100%;
	height: 80px;
	border-radius: var(--rawasystem-radius-md);
}

/* ==========================================================================
   20. Buttons — Primary, Secondary, Navigation
   ========================================================================== */

/* -- Primary Button (Gradient bg, white text, hover lift, active press) ---- */
.rawasystem-checkout-wrapper .rawasystem-btn-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: var(--rawasystem-button-height);
	font-size: var(--rawasystem-font-md);
	font-weight: var(--rawasystem-font-bold);
	color: var(--rawasystem-btn-text);
	background: linear-gradient(135deg, var(--rawasystem-primary) 0%, var(--rawasystem-primary-dark) 100%);
	border: none;
	border-radius: var(--rawasystem-radius-md);
	cursor: pointer;
	transition: var(--rawasystem-transition);
	position: relative;
	overflow: hidden;
	letter-spacing: 0.01em;
}

.rawasystem-checkout-wrapper .rawasystem-btn-primary::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
	opacity: 0;
	transition: var(--rawasystem-transition);
}

.rawasystem-checkout-wrapper .rawasystem-btn-primary:hover {
	box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
	transform: translateY(-2px);
}

.rawasystem-checkout-wrapper .rawasystem-btn-primary:hover::before {
	opacity: 1;
}

.rawasystem-checkout-wrapper .rawasystem-btn-primary:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.rawasystem-checkout-wrapper .rawasystem-btn-primary:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* -- Loading state -------------------------------------------------- */
.rawasystem-checkout-wrapper .rawasystem-btn-primary.rawasystem-is-loading {
	pointer-events: none;
	opacity: 0.85;
}

.rawasystem-checkout-wrapper .rawasystem-btn-primary.rawasystem-is-loading .rawasystem-btn-text-label {
	visibility: hidden;
}

/* -- Secondary Button (Outlined) ------------------------------------ */
.rawasystem-checkout-wrapper .rawasystem-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 var(--rawasystem-space-5);
	font-size: var(--rawasystem-font-sm);
	font-weight: var(--rawasystem-font-semibold);
	color: var(--rawasystem-text-secondary);
	background: transparent;
	border: 1.5px solid var(--rawasystem-border);
	border-radius: var(--rawasystem-radius-md);
	cursor: pointer;
	transition: var(--rawasystem-transition);
}

.rawasystem-checkout-wrapper .rawasystem-btn-secondary:hover {
	background: var(--rawasystem-surface);
	border-color: var(--rawasystem-border-hover);
	color: var(--rawasystem-text);
}

.rawasystem-checkout-wrapper .rawasystem-btn-secondary:active {
	background: var(--rawasystem-surface-hover);
	transform: scale(0.98);
}

/* -- Apply Coupon Button -------------------------------------------- */
.rawasystem-checkout-wrapper .rawasystem-btn-apply {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 var(--rawasystem-space-4);
	font-size: var(--rawasystem-font-sm);
	font-weight: var(--rawasystem-font-semibold);
	color: var(--rawasystem-text-inverse);
	background: var(--rawasystem-primary);
	border: none;
	border-radius: var(--rawasystem-radius-md);
	cursor: pointer;
	transition: var(--rawasystem-transition);
	white-space: nowrap;
}

.rawasystem-checkout-wrapper .rawasystem-btn-apply:hover {
	background: var(--rawasystem-primary-dark);
}

.rawasystem-checkout-wrapper .rawasystem-btn-apply:active {
	transform: scale(0.97);
}

/* -- Next / Prev Navigation Buttons --------------------------------- */
.rawasystem-checkout-wrapper .rawasystem-step-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--rawasystem-space-3);
	margin-top: var(--rawasystem-space-6);
}

.rawasystem-checkout-wrapper .rawasystem-step-actions--first {
	justify-content: flex-end;
}

.rawasystem-checkout-wrapper .rawasystem-btn-prev {
	display: inline-flex;
	align-items: center;
	gap: var(--rawasystem-space-1);
	height: 44px;
	padding: 0 var(--rawasystem-space-5);
	font-size: var(--rawasystem-font-sm);
	font-weight: var(--rawasystem-font-semibold);
	color: var(--rawasystem-text-secondary);
	background: transparent;
	border: 1.5px solid var(--rawasystem-border);
	border-radius: var(--rawasystem-radius-md);
	cursor: pointer;
	transition: var(--rawasystem-transition);
}

.rawasystem-checkout-wrapper .rawasystem-btn-prev:hover {
	background: var(--rawasystem-surface);
	border-color: var(--rawasystem-border-hover);
	color: var(--rawasystem-text);
}

.rawasystem-checkout-wrapper .rawasystem-btn-prev:active {
	background: var(--rawasystem-surface-hover);
	transform: scale(0.98);
}

.rawasystem-checkout-wrapper .rawasystem-btn-prev svg {
	width: 16px;
	height: 16px;
	transition: var(--rawasystem-transition-fast);
}

.rawasystem-checkout-wrapper .rawasystem-btn-prev:hover svg {
	transform: translateX(-2px);
}

.rawasystem-checkout-wrapper .rawasystem-btn-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--rawasystem-space-1);
	height: 44px;
	padding: 0 var(--rawasystem-space-6);
	font-size: var(--rawasystem-font-sm);
	font-weight: var(--rawasystem-font-bold);
	color: var(--rawasystem-text-inverse);
	background: linear-gradient(135deg, var(--rawasystem-primary) 0%, var(--rawasystem-primary-dark) 100%);
	border: none;
	border-radius: var(--rawasystem-radius-md);
	cursor: pointer;
	transition: var(--rawasystem-transition);
	position: relative;
	overflow: hidden;
}

.rawasystem-checkout-wrapper .rawasystem-btn-next:hover {
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
	transform: translateY(-1px);
}

.rawasystem-checkout-wrapper .rawasystem-btn-next:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(99, 102, 241, 0.25);
}

.rawasystem-checkout-wrapper .rawasystem-btn-next svg {
	width: 16px;
	height: 16px;
	transition: var(--rawasystem-transition-fast);
}

.rawasystem-checkout-wrapper .rawasystem-btn-next:hover svg {
	transform: translateX(2px);
}

.rawasystem-checkout-wrapper[dir="rtl"] .rawasystem-btn-prev svg,
.rawasystem-checkout-wrapper[dir="rtl"] .rawasystem-btn-next svg {
	transform: scaleX(-1);
}

.rawasystem-checkout-wrapper[dir="rtl"] .rawasystem-btn-prev:hover svg {
	transform: scaleX(-1) translateX(-2px);
}

.rawasystem-checkout-wrapper[dir="rtl"] .rawasystem-btn-next:hover svg {
	transform: scaleX(-1) translateX(2px);
}

/* -- Icon button (small, circular) ---------------------------------- */
.rawasystem-checkout-wrapper .rawasystem-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1.5px solid var(--rawasystem-border);
	background: var(--rawasystem-bg);
	color: var(--rawasystem-text-secondary);
	cursor: pointer;
	transition: var(--rawasystem-transition);
}

.rawasystem-checkout-wrapper .rawasystem-btn-icon:hover {
	background: var(--rawasystem-surface);
	border-color: var(--rawasystem-border-hover);
	color: var(--rawasystem-text);
}

.rawasystem-checkout-wrapper .rawasystem-btn-icon:active {
	transform: scale(0.95);
}

.rawasystem-checkout-wrapper .rawasystem-btn-icon svg {
	width: 16px;
	height: 16px;
}

/* ==========================================================================
   21. Scarcity Indicator
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-scarcity-indicator {
	display: inline-flex;
	align-items: center;
	gap: var(--rawasystem-space-1);
	font-size: var(--rawasystem-font-xs);
	font-weight: var(--rawasystem-font-semibold);
	color: var(--rawasystem-error);
}

.rawasystem-checkout-wrapper .rawasystem-scarcity-dot {
	width: 6px;
	height: 6px;
	background: var(--rawasystem-error);
	border-radius: 50%;
	animation: rawasystem-pulse 1.5s ease-in-out infinite;
}

/* ==========================================================================
   22. Divider
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-divider {
	height: 1px;
	background: var(--rawasystem-border);
	margin: var(--rawasystem-space-4) 0;
}

.rawasystem-checkout-wrapper .rawasystem-divider--with-text {
	display: flex;
	align-items: center;
	gap: var(--rawasystem-space-3);
	height: auto;
	background: none;
}

.rawasystem-checkout-wrapper .rawasystem-divider--with-text::before,
.rawasystem-checkout-wrapper .rawasystem-divider--with-text::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--rawasystem-border);
}

.rawasystem-checkout-wrapper .rawasystem-divider--with-text span {
	font-size: var(--rawasystem-font-xs);
	color: var(--rawasystem-text-muted);
	font-weight: var(--rawasystem-font-medium);
	white-space: nowrap;
}

/* ==========================================================================
   23. Badge / Tag
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	font-size: 10px;
	font-weight: var(--rawasystem-font-bold);
	border-radius: var(--rawasystem-radius-full);
	letter-spacing: 0.03em;
	line-height: 1.6;
}

.rawasystem-checkout-wrapper .rawasystem-badge--primary {
	background: var(--rawasystem-primary-50);
	color: var(--rawasystem-primary);
}

.rawasystem-checkout-wrapper .rawasystem-badge--success {
	background: var(--rawasystem-success-50);
	color: var(--rawasystem-success-dark);
}

.rawasystem-checkout-wrapper .rawasystem-badge--warning {
	background: var(--rawasystem-warning-50);
	color: var(--rawasystem-warning-dark);
}

.rawasystem-checkout-wrapper .rawasystem-badge--error {
	background: var(--rawasystem-error-50);
	color: var(--rawasystem-error-dark);
}

/* ==========================================================================
   24. Tooltip
   ========================================================================== */

.rawasystem-checkout-wrapper .rawasystem-tooltip {
	position: relative;
}

.rawasystem-checkout-wrapper .rawasystem-tooltip::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%) translateY(4px);
	padding: var(--rawasystem-space-1) var(--rawasystem-space-2);
	background: var(--rawasystem-text);
	color: var(--rawasystem-text-inverse);
	font-size: var(--rawasystem-font-xs);
	font-weight: var(--rawasystem-font-medium);
	border-radius: var(--rawasystem-radius-sm);
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: var(--rawasystem-transition-fast);
	z-index: var(--rawasystem-z-tooltip);
}

.rawasystem-checkout-wrapper .rawasystem-tooltip:hover::after {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}
