.qcom-error-boundary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

.qcom-error-boundary__message {
  margin: 0;
  font-size: 0.875rem;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-error-boundary__retry {
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
  background-color: hsl(var(--qcom-primary));
  border: none;
  border-radius: var(--qcom-radius-md);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.qcom-error-boundary__retry:hover {
  opacity: 0.9;
}

.qcom-error-boundary__retry:focus-visible {
  outline: 2px solid hsl(var(--qcom-primary));
  outline-offset: 2px;
}

/* ── Separator ── qcom-separator ───────────────────────────── */

.qcom-separator {
	flex-shrink: 0;
	background: hsl(var(--qcom-border));
}

.qcom-separator--horizontal {
	height: 1px;
	width: 100%;
}

.qcom-separator--vertical {
	width: 1px;
	height: 100%;
}

/* ── Badge ── qcom-badge ───────────────────────────────────── */

.qcom-badge {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	border: 1px solid transparent;
	padding: 0.125rem 0.625rem;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}

.qcom-badge--default {
	background: hsl(var(--qcom-primary));
	color: #fff;
}

.qcom-badge--secondary {
	background: var(--qcom-badge-secondary-bg, rgba(0, 0, 0, 0.06));
	color: inherit;
}

.qcom-badge--destructive {
	background: hsl(var(--qcom-destructive));
	color: #fff;
}

.qcom-badge--outline {
	border-color: hsl(var(--qcom-border));
	background: transparent;
	color: inherit;
}

.qcom-price-block {
  display: flex;
  flex-direction: column;
}

.qcom-price-block--gap-sm { gap: 0.25rem; }
.qcom-price-block--gap-md { gap: 0.5rem; }
.qcom-price-block--gap-lg { gap: 0.75rem; }

.qcom-price-block__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qcom-price-block__badge--sm { font-size: 0.75rem; padding: 0.125rem 0.375rem; border-radius: var(--qcom-radius-sm); }
.qcom-price-block__badge--md { font-size: 0.875rem; padding: 0.25rem 0.5rem; border-radius: var(--qcom-radius-sm); }
.qcom-price-block__badge--lg { font-size: 0.875rem; padding: 0.375rem 0.75rem; border-radius: var(--qcom-radius-sm); }

.qcom-price-block__main {
  /* container for price display */
}

.qcom-price-block__prices {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qcom-price-block__primary {
  color: hsl(var(--qcom-fg));
}

.qcom-price-block__primary--sm { font-size: 0.875rem; font-weight: 600; }
.qcom-price-block__primary--md { font-size: 1rem; font-weight: 700; }
.qcom-price-block__primary--lg { font-size: 1.125rem; font-weight: 700; }

.qcom-price-block__original {
  text-decoration: line-through;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-price-block__original--sm { font-size: 0.75rem; }
.qcom-price-block__original--md { font-size: 0.875rem; }
.qcom-price-block__original--lg { font-size: 1rem; }

.qcom-price-block__tax-amount {
  color: hsl(var(--qcom-muted-fg));
}

.qcom-price-block__tax-amount--sm { font-size: 0.75rem; }
.qcom-price-block__tax-amount--md { font-size: 0.875rem; }
.qcom-price-block__tax-amount--lg { font-size: 1rem; }

.qcom-price-block__savings {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.qcom-price-block__savings-text {
  color: hsl(var(--qcom-success));
  font-weight: 500;
}

.qcom-price-block__savings-text--sm { font-size: 0.75rem; }
.qcom-price-block__savings-text--md { font-size: 0.875rem; }
.qcom-price-block__savings-text--lg { font-size: 1rem; }

/* ==========================================================================
   Toast (qcom-toast)
   BEM CSS for the Toast component backed by Radix ToastPrimitives.
   ========================================================================== */

/* -- Animations ---------------------------------------------------------- */

@keyframes qcom-toast-slide-in-from-top {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes qcom-toast-slide-in-from-bottom {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes qcom-toast-fade-out-right {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(100%); }
}

/* -- Viewport ------------------------------------------------------------ */

.qcom-toast__viewport {
  position: fixed;
  bottom: 1em;
  right: 1em;
  z-index: var(--qcom-toast-viewport-z, 99999);
  display: flex;
  max-height: 100vh;
  min-width: 200px;
  max-width: var(--qcom-toast-max-width, 420px);
  box-sizing: border-box;
  flex-direction: column;
  padding: 1rem;

  /* Re-scope design tokens — this portal renders to <body> where the
     WP theme overrides :root CSS variables. */
  --qcom-bg: 0 0% 100%;
  --qcom-fg: 222.2 84% 4.9%;
  --qcom-border: 214.3 31.8% 91.4%;
  --qcom-destructive: 0 84.2% 60.2%;
  --qcom-destructive-fg: 210 40% 98%;
  --qcom-success: 142 76% 36%;
  --qcom-success-bg: #f0fdf4;
  --qcom-success-border: #86efac;
  --qcom-success-text: #14532d;
  --qcom-warning: 38 92% 50%;
  --qcom-warning-bg: #fffbeb;
  --qcom-warning-border: #fde68a;
  --qcom-warning-text: #92400e;
  --qcom-info-bg: #eff6ff;
  --qcom-info-border: #7dd3fc;
  --qcom-info-text: #0c4a6e;
  --qcom-ring: 222.2 84% 4.9%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 0.875rem !important;
  line-height: 1.5;
}

/* -- Toast root ---------------------------------------------------------- */

.qcom-toast {
  pointer-events: auto;
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow: hidden;
  border-radius: var(--qcom-toast-radius, var(--qcom-radius-md));
  border: 1px solid var(--qcom-toast-border-color, hsl(var(--qcom-border)));
  padding: 1rem;
  padding-right: 2.5rem;
  box-shadow: var(--qcom-toast-shadow, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1));
  transition: transform 150ms ease, opacity 150ms ease;
}

/* Swipe handling via Radix CSS custom properties */
.qcom-toast[data-swipe="cancel"] {
  transform: translateX(0);
}

.qcom-toast[data-swipe="move"] {
  transform: translateX(var(--radix-toast-swipe-move-x));
  transition: none;
}

.qcom-toast[data-swipe="end"] {
  animation: qcom-toast-fade-out-right 150ms ease-out forwards;
  --qcom-toast-end-x: var(--radix-toast-swipe-end-x);
}

/* Open / close animations */
.qcom-toast[data-state="open"] {
  animation: qcom-toast-slide-in-from-bottom 150ms ease-out;
}

.qcom-toast[data-state="closed"] {
  animation: qcom-toast-fade-out-right 200ms ease-in forwards;
}

/* -- Variant: default ---------------------------------------------------- */

.qcom-toast--default {
  background-color: var(--qcom-toast-default-bg, hsl(var(--qcom-bg)));
  color: var(--qcom-toast-default-color, hsl(var(--qcom-fg)));
}

/* -- Variant: destructive ------------------------------------------------ */

.qcom-toast--destructive {
  border-color: var(--qcom-toast-destructive-border, hsl(var(--qcom-destructive)));
  background-color: var(--qcom-toast-destructive-bg, hsl(var(--qcom-destructive)));
  color: var(--qcom-toast-destructive-color, hsl(var(--qcom-destructive-fg)));
}

/* -- Variant: success ---------------------------------------------------- */

.qcom-toast--success {
  border-color: var(--qcom-success-border);
  background-color: var(--qcom-success-bg);
  color: var(--qcom-success-text);
}

/* -- Variant: warning ---------------------------------------------------- */

.qcom-toast--warning {
  border-color: var(--qcom-warning-border);
  background-color: var(--qcom-warning-bg);
  color: var(--qcom-warning-text);
}

/* -- Variant: info ------------------------------------------------------- */

.qcom-toast--info {
  border-color: var(--qcom-info-border);
  background-color: var(--qcom-info-bg);
  color: var(--qcom-info-text);
}

/* -- Close button -------------------------------------------------------- */

.qcom-toast__close {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  border-radius: var(--qcom-radius-md);
  padding: 0.25rem;
  color: var(--qcom-toast-close-color, hsl(var(--qcom-fg) / 0.5));
  opacity: 0;
  transition: opacity 150ms ease, color 150ms ease;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.qcom-toast__close:hover {
  color: var(--qcom-toast-close-hover-color, hsl(var(--qcom-fg)));
}

.qcom-toast__close:focus {
  opacity: 1;
  outline: none;
  box-shadow: 0 0 0 2px var(--qcom-ring-color, hsl(var(--qcom-ring)));
}

/* Show close button when toast is hovered */
.qcom-toast:hover .qcom-toast__close {
  opacity: 1;
}

/* Destructive close-button overrides */
.qcom-toast--destructive .qcom-toast__close {
  color: var(--qcom-toast-destructive-close-color, rgb(252, 165, 165)); /* red-300 */
}

.qcom-toast--destructive .qcom-toast__close:hover {
  color: var(--qcom-toast-destructive-close-hover, rgb(254, 242, 242)); /* red-50 */
}

.qcom-toast--destructive .qcom-toast__close:focus {
  box-shadow: 0 0 0 2px var(--qcom-toast-destructive-ring, rgb(248, 113, 113)); /* red-400 */
}

.qcom-toast__close-icon {
  width: 1rem;
  height: 1rem;
  display: block;
}

/* -- Action -------------------------------------------------------------- */

.qcom-toast__action {
  display: inline-flex;
  height: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--qcom-radius-md);
  border: 1px solid var(--qcom-toast-action-border, hsl(var(--qcom-border)));
  background: transparent;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
  cursor: pointer;
}

.qcom-toast__action:hover {
  background-color: var(--qcom-toast-action-hover-bg, hsl(var(--qcom-secondary)));
}

.qcom-toast__action:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--qcom-ring-color, hsl(var(--qcom-ring))),
              0 0 0 4px var(--qcom-ring-offset-color, hsl(var(--qcom-bg)));
}

.qcom-toast__action:disabled {
  pointer-events: none;
  opacity: 0.5;
}

/* Destructive action overrides */
.qcom-toast--destructive .qcom-toast__action {
  border-color: rgba(hsl(var(--qcom-muted)), 0.4);
}

.qcom-toast--destructive .qcom-toast__action:hover {
  border-color: rgba(hsl(var(--qcom-destructive)), 0.3);
  background-color: hsl(var(--qcom-destructive));
  color: hsl(var(--qcom-destructive-fg));
}

.qcom-toast--destructive .qcom-toast__action:focus {
  box-shadow: 0 0 0 2px hsl(var(--qcom-destructive));
}

/* -- Title --------------------------------------------------------------- */

.qcom-toast__title {
  font-size: 0.875rem;
  font-weight: 600;
}

/* -- Description --------------------------------------------------------- */

.qcom-toast__description {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* -- Toaster grid (used by Toaster component) ---------------------------- */

.qcom-toast__text-group {
  display: grid;
  gap: 0.25rem;
}

.qcom-input-otp {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qcom-input-otp__group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qcom-input-otp__slot {
  display: flex;
  height: 2.5rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(var(--qcom-border));
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.15s ease;
  background: hsl(var(--qcom-bg));
}

.qcom-input-otp__slot:first-child {
  border-radius: var(--qcom-radius-md) 0 0 var(--qcom-radius-md);
}

.qcom-input-otp__slot:last-child {
  border-radius: 0 var(--qcom-radius-md) var(--qcom-radius-md) 0;
}

.qcom-input-otp__slot--active {
  outline: 2px solid hsl(var(--qcom-primary));
  outline-offset: -1px;
}

.qcom-input-otp__slot:focus {
  outline: 2px solid hsl(var(--qcom-primary));
  outline-offset: -1px;
}

/* ── Switch ── qcom-switch ─────────────────────────────────── */

.qcom-switch {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	border-radius: 9999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color 0.2s ease;
	padding: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	     appearance: none;
	outline: none;
	background: var(--qcom-switch-track, hsl(var(--qcom-input)));
}

.qcom-switch:focus-visible {
	box-shadow: 0 0 0 2px hsl(var(--qcom-ring));
}

.qcom-switch[data-state="checked"] {
	background: hsl(var(--qcom-primary));
}

.qcom-switch[data-disabled] {
	opacity: 0.35;
	cursor: not-allowed;
}

/* Size variants */
.qcom-switch--sm {
	width: 2.25rem;
	height: 1.25rem;
}

.qcom-switch--md {
	width: 2.75rem;
	height: 1.5rem;
}

.qcom-switch--lg {
	width: 3.5rem;
	height: 2rem;
}

/* Thumb */
.qcom-switch__thumb {
	display: block;
	border-radius: 9999px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease;
	pointer-events: none;
}

/* Thumb sizes + transforms */
.qcom-switch--sm .qcom-switch__thumb {
	width: 0.875rem;
	height: 0.875rem;
}

.qcom-switch--sm .qcom-switch__thumb[data-state="unchecked"] {
	transform: translateX(2px);
}

.qcom-switch--sm .qcom-switch__thumb[data-state="checked"] {
	transform: translateX(1rem);
}

.qcom-switch--md .qcom-switch__thumb {
	width: 1.125rem;
	height: 1.125rem;
}

.qcom-switch--md .qcom-switch__thumb[data-state="unchecked"] {
	transform: translateX(2px);
}

.qcom-switch--md .qcom-switch__thumb[data-state="checked"] {
	transform: translateX(1.25rem);
}

.qcom-switch--lg .qcom-switch__thumb {
	width: 1.5rem;
	height: 1.5rem;
}

.qcom-switch--lg .qcom-switch__thumb[data-state="unchecked"] {
	transform: translateX(3px);
}

.qcom-switch--lg .qcom-switch__thumb[data-state="checked"] {
	transform: translateX(1.5rem);
}

/* ── Tooltip ── qcom-tooltip ───────────────────────────────── */

.qcom-tooltip__content {
	z-index: 50;
	overflow: hidden;
	border-radius: var(--qcom-radius-md);
	border: 1px solid hsl(var(--qcom-border));
	background: hsl(var(--qcom-popover));
	color: hsl(var(--qcom-popover-fg));
	padding: 0.375rem 0.75rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
	animation: qcom-tooltip-in 0.15s ease;
}

.qcom-tooltip__content[data-state="closed"] {
	animation: qcom-tooltip-out 0.1s ease;
}

@keyframes qcom-tooltip-in {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes qcom-tooltip-out {
	from {
		opacity: 1;
		transform: scale(1);
	}
	to {
		opacity: 0;
		transform: scale(0.95);
	}
}

.qcom-alert {
  padding: 1rem;
  border-radius: var(--qcom-radius-sm);
  border: 1px solid;
  position: relative;
}

.qcom-alert--success {
  border-color: var(--qcom-success-border);
  color: var(--qcom-success-text);
  background: var(--qcom-success-bg);
}

.qcom-alert--error {
  border-color: hsl(var(--qcom-destructive));
  color: hsl(var(--qcom-destructive));
  background: var(--qcom-destructive-bg);
}

.qcom-alert--info {
  border-color: var(--qcom-info-border);
  color: var(--qcom-info-text);
  background: var(--qcom-info-bg);
}

.qcom-alert__title {
  font-size: 0.875rem;
  font-weight: 400;
  padding-right: 1.5rem;
}

.qcom-alert__title--success { color: var(--qcom-success-text); }
.qcom-alert__title--error { color: hsl(var(--qcom-destructive)); }
.qcom-alert__title--info { color: var(--qcom-info-text); }

.qcom-alert__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.qcom-alert__close--success { color: var(--qcom-success-text); }
.qcom-alert__close--success:hover { color: var(--qcom-success-text); }
.qcom-alert__close--error { color: hsl(var(--qcom-destructive)); }
.qcom-alert__close--error:hover { color: hsl(var(--qcom-destructive)); }
.qcom-alert__close--info { color: var(--qcom-info-text); }
.qcom-alert__close--info:hover { color: var(--qcom-info-text); }

.qcom-alert__close svg {
  width: 1rem;
  height: 1rem;
}

.qcom-alert__description {
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
  padding-right: 1.5rem;
}

/* ── WpButton ── qcom-wp-button ────────────────────────────── */

.qcom-wp-button {
	/* wrapper — no extra styles by default, inherits wp-block-button */
}

.qcom-wp-button--full-width {
	width: 100%;
}

/* Inner link / button element — normalize padding across all variants
   so default, outline, secondary etc. have identical dimensions. */
.qcom-wp-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.625rem 1.25rem !important;
	font-size: 0.875rem !important;
	box-sizing: border-box;
}

/* ── Variant modifiers ─────────────────────────────────────── */

.qcom-wp-button__link--link {
	color: hsl(var(--qcom-primary)) !important;
	text-decoration: none;
	cursor: pointer;
}

.qcom-wp-button__link--link:hover {
	text-decoration: none;
}

.qcom-wp-button__link--secondary {
	background: hsl(var(--qcom-secondary)) !important;
	color: hsl(var(--qcom-secondary-fg)) !important;
}

.qcom-wp-button__link--destructive {
	background: hsl(var(--qcom-destructive)) !important;
	color: #fff !important;
}

.qcom-wp-button__link--ghost {
	background: transparent !important;
	color: inherit !important;
}

.qcom-wp-button__link--ghost:hover {
	background: hsl(var(--qcom-accent)) !important;
}

/* ── Size modifiers ────────────────────────────────────────── */

.wp-element-button.qcom-wp-button__link--size-sm {
	font-size: 0.875rem;
	padding: 0.375rem 0.75rem;
}

.qcom-wp-button__link--size-lg {
	padding: 0.75rem 2rem;
}

.qcom-wp-button__link--size-icon {
	padding: 0;
	width: 2.5rem;
	height: 2.5rem;
	justify-content: center;
}

/* ── State modifiers ───────────────────────────────────────── */

.qcom-wp-button__link--disabled {
	opacity: 0.5;
	pointer-events: none;
}

.qcom-wp-button__link--full-width {
	width: 100%;
	justify-content: center;
}

/* packages/core/src/css/flag-offsets.css */
:root {
  --iti-flag-width: 20px;
  --iti-flag-count: 244;
}
.iti__ac {
  --iti-flag-offset: 0;
}
.iti__ad {
  --iti-flag-offset: -1;
}
.iti__ae {
  --iti-flag-offset: -2;
}
.iti__af {
  --iti-flag-offset: -3;
}
.iti__ag {
  --iti-flag-offset: -4;
}
.iti__ai {
  --iti-flag-offset: -5;
}
.iti__al {
  --iti-flag-offset: -6;
}
.iti__am {
  --iti-flag-offset: -7;
}
.iti__ao {
  --iti-flag-offset: -8;
}
.iti__ar {
  --iti-flag-offset: -9;
}
.iti__as {
  --iti-flag-offset: -10;
}
.iti__at {
  --iti-flag-offset: -11;
}
.iti__au {
  --iti-flag-offset: -12;
}
.iti__aw {
  --iti-flag-offset: -13;
}
.iti__ax {
  --iti-flag-offset: -14;
}
.iti__az {
  --iti-flag-offset: -15;
}
.iti__ba {
  --iti-flag-offset: -16;
}
.iti__bb {
  --iti-flag-offset: -17;
}
.iti__bd {
  --iti-flag-offset: -18;
}
.iti__be {
  --iti-flag-offset: -19;
}
.iti__bf {
  --iti-flag-offset: -20;
}
.iti__bg {
  --iti-flag-offset: -21;
}
.iti__bh {
  --iti-flag-offset: -22;
}
.iti__bi {
  --iti-flag-offset: -23;
}
.iti__bj {
  --iti-flag-offset: -24;
}
.iti__bl {
  --iti-flag-offset: -25;
}
.iti__bm {
  --iti-flag-offset: -26;
}
.iti__bn {
  --iti-flag-offset: -27;
}
.iti__bo {
  --iti-flag-offset: -28;
}
.iti__bq {
  --iti-flag-offset: -29;
}
.iti__br {
  --iti-flag-offset: -30;
}
.iti__bs {
  --iti-flag-offset: -31;
}
.iti__bt {
  --iti-flag-offset: -32;
}
.iti__bw {
  --iti-flag-offset: -33;
}
.iti__by {
  --iti-flag-offset: -34;
}
.iti__bz {
  --iti-flag-offset: -35;
}
.iti__ca {
  --iti-flag-offset: -36;
}
.iti__cc {
  --iti-flag-offset: -37;
}
.iti__cd {
  --iti-flag-offset: -38;
}
.iti__cf {
  --iti-flag-offset: -39;
}
.iti__cg {
  --iti-flag-offset: -40;
}
.iti__ch {
  --iti-flag-offset: -41;
}
.iti__ci {
  --iti-flag-offset: -42;
}
.iti__ck {
  --iti-flag-offset: -43;
}
.iti__cl {
  --iti-flag-offset: -44;
}
.iti__cm {
  --iti-flag-offset: -45;
}
.iti__cn {
  --iti-flag-offset: -46;
}
.iti__co {
  --iti-flag-offset: -47;
}
.iti__cr {
  --iti-flag-offset: -48;
}
.iti__cu {
  --iti-flag-offset: -49;
}
.iti__cv {
  --iti-flag-offset: -50;
}
.iti__cw {
  --iti-flag-offset: -51;
}
.iti__cx {
  --iti-flag-offset: -52;
}
.iti__cy {
  --iti-flag-offset: -53;
}
.iti__cz {
  --iti-flag-offset: -54;
}
.iti__de {
  --iti-flag-offset: -55;
}
.iti__dj {
  --iti-flag-offset: -56;
}
.iti__dk {
  --iti-flag-offset: -57;
}
.iti__dm {
  --iti-flag-offset: -58;
}
.iti__do {
  --iti-flag-offset: -59;
}
.iti__dz {
  --iti-flag-offset: -60;
}
.iti__ec {
  --iti-flag-offset: -61;
}
.iti__ee {
  --iti-flag-offset: -62;
}
.iti__eg {
  --iti-flag-offset: -63;
}
.iti__eh {
  --iti-flag-offset: -64;
}
.iti__er {
  --iti-flag-offset: -65;
}
.iti__es {
  --iti-flag-offset: -66;
}
.iti__et {
  --iti-flag-offset: -67;
}
.iti__fi {
  --iti-flag-offset: -68;
}
.iti__fj {
  --iti-flag-offset: -69;
}
.iti__fk {
  --iti-flag-offset: -70;
}
.iti__fm {
  --iti-flag-offset: -71;
}
.iti__fo {
  --iti-flag-offset: -72;
}
.iti__fr {
  --iti-flag-offset: -73;
}
.iti__ga {
  --iti-flag-offset: -74;
}
.iti__gb {
  --iti-flag-offset: -75;
}
.iti__gd {
  --iti-flag-offset: -76;
}
.iti__ge {
  --iti-flag-offset: -77;
}
.iti__gf {
  --iti-flag-offset: -78;
}
.iti__gg {
  --iti-flag-offset: -79;
}
.iti__gh {
  --iti-flag-offset: -80;
}
.iti__gi {
  --iti-flag-offset: -81;
}
.iti__gl {
  --iti-flag-offset: -82;
}
.iti__gm {
  --iti-flag-offset: -83;
}
.iti__gn {
  --iti-flag-offset: -84;
}
.iti__gp {
  --iti-flag-offset: -85;
}
.iti__gq {
  --iti-flag-offset: -86;
}
.iti__gr {
  --iti-flag-offset: -87;
}
.iti__gt {
  --iti-flag-offset: -88;
}
.iti__gu {
  --iti-flag-offset: -89;
}
.iti__gw {
  --iti-flag-offset: -90;
}
.iti__gy {
  --iti-flag-offset: -91;
}
.iti__hk {
  --iti-flag-offset: -92;
}
.iti__hn {
  --iti-flag-offset: -93;
}
.iti__hr {
  --iti-flag-offset: -94;
}
.iti__ht {
  --iti-flag-offset: -95;
}
.iti__hu {
  --iti-flag-offset: -96;
}
.iti__id {
  --iti-flag-offset: -97;
}
.iti__ie {
  --iti-flag-offset: -98;
}
.iti__il {
  --iti-flag-offset: -99;
}
.iti__im {
  --iti-flag-offset: -100;
}
.iti__in {
  --iti-flag-offset: -101;
}
.iti__io {
  --iti-flag-offset: -102;
}
.iti__iq {
  --iti-flag-offset: -103;
}
.iti__ir {
  --iti-flag-offset: -104;
}
.iti__is {
  --iti-flag-offset: -105;
}
.iti__it {
  --iti-flag-offset: -106;
}
.iti__je {
  --iti-flag-offset: -107;
}
.iti__jm {
  --iti-flag-offset: -108;
}
.iti__jo {
  --iti-flag-offset: -109;
}
.iti__jp {
  --iti-flag-offset: -110;
}
.iti__ke {
  --iti-flag-offset: -111;
}
.iti__kg {
  --iti-flag-offset: -112;
}
.iti__kh {
  --iti-flag-offset: -113;
}
.iti__ki {
  --iti-flag-offset: -114;
}
.iti__km {
  --iti-flag-offset: -115;
}
.iti__kn {
  --iti-flag-offset: -116;
}
.iti__kp {
  --iti-flag-offset: -117;
}
.iti__kr {
  --iti-flag-offset: -118;
}
.iti__kw {
  --iti-flag-offset: -119;
}
.iti__ky {
  --iti-flag-offset: -120;
}
.iti__kz {
  --iti-flag-offset: -121;
}
.iti__la {
  --iti-flag-offset: -122;
}
.iti__lb {
  --iti-flag-offset: -123;
}
.iti__lc {
  --iti-flag-offset: -124;
}
.iti__li {
  --iti-flag-offset: -125;
}
.iti__lk {
  --iti-flag-offset: -126;
}
.iti__lr {
  --iti-flag-offset: -127;
}
.iti__ls {
  --iti-flag-offset: -128;
}
.iti__lt {
  --iti-flag-offset: -129;
}
.iti__lu {
  --iti-flag-offset: -130;
}
.iti__lv {
  --iti-flag-offset: -131;
}
.iti__ly {
  --iti-flag-offset: -132;
}
.iti__ma {
  --iti-flag-offset: -133;
}
.iti__mc {
  --iti-flag-offset: -134;
}
.iti__md {
  --iti-flag-offset: -135;
}
.iti__me {
  --iti-flag-offset: -136;
}
.iti__mf {
  --iti-flag-offset: -137;
}
.iti__mg {
  --iti-flag-offset: -138;
}
.iti__mh {
  --iti-flag-offset: -139;
}
.iti__mk {
  --iti-flag-offset: -140;
}
.iti__ml {
  --iti-flag-offset: -141;
}
.iti__mm {
  --iti-flag-offset: -142;
}
.iti__mn {
  --iti-flag-offset: -143;
}
.iti__mo {
  --iti-flag-offset: -144;
}
.iti__mp {
  --iti-flag-offset: -145;
}
.iti__mq {
  --iti-flag-offset: -146;
}
.iti__mr {
  --iti-flag-offset: -147;
}
.iti__ms {
  --iti-flag-offset: -148;
}
.iti__mt {
  --iti-flag-offset: -149;
}
.iti__mu {
  --iti-flag-offset: -150;
}
.iti__mv {
  --iti-flag-offset: -151;
}
.iti__mw {
  --iti-flag-offset: -152;
}
.iti__mx {
  --iti-flag-offset: -153;
}
.iti__my {
  --iti-flag-offset: -154;
}
.iti__mz {
  --iti-flag-offset: -155;
}
.iti__na {
  --iti-flag-offset: -156;
}
.iti__nc {
  --iti-flag-offset: -157;
}
.iti__ne {
  --iti-flag-offset: -158;
}
.iti__nf {
  --iti-flag-offset: -159;
}
.iti__ng {
  --iti-flag-offset: -160;
}
.iti__ni {
  --iti-flag-offset: -161;
}
.iti__nl {
  --iti-flag-offset: -162;
}
.iti__no {
  --iti-flag-offset: -163;
}
.iti__np {
  --iti-flag-offset: -164;
}
.iti__nr {
  --iti-flag-offset: -165;
}
.iti__nu {
  --iti-flag-offset: -166;
}
.iti__nz {
  --iti-flag-offset: -167;
}
.iti__om {
  --iti-flag-offset: -168;
}
.iti__pa {
  --iti-flag-offset: -169;
}
.iti__pe {
  --iti-flag-offset: -170;
}
.iti__pf {
  --iti-flag-offset: -171;
}
.iti__pg {
  --iti-flag-offset: -172;
}
.iti__ph {
  --iti-flag-offset: -173;
}
.iti__pk {
  --iti-flag-offset: -174;
}
.iti__pl {
  --iti-flag-offset: -175;
}
.iti__pm {
  --iti-flag-offset: -176;
}
.iti__pr {
  --iti-flag-offset: -177;
}
.iti__ps {
  --iti-flag-offset: -178;
}
.iti__pt {
  --iti-flag-offset: -179;
}
.iti__pw {
  --iti-flag-offset: -180;
}
.iti__py {
  --iti-flag-offset: -181;
}
.iti__qa {
  --iti-flag-offset: -182;
}
.iti__re {
  --iti-flag-offset: -183;
}
.iti__ro {
  --iti-flag-offset: -184;
}
.iti__rs {
  --iti-flag-offset: -185;
}
.iti__ru {
  --iti-flag-offset: -186;
}
.iti__rw {
  --iti-flag-offset: -187;
}
.iti__sa {
  --iti-flag-offset: -188;
}
.iti__sb {
  --iti-flag-offset: -189;
}
.iti__sc {
  --iti-flag-offset: -190;
}
.iti__sd {
  --iti-flag-offset: -191;
}
.iti__se {
  --iti-flag-offset: -192;
}
.iti__sg {
  --iti-flag-offset: -193;
}
.iti__sh {
  --iti-flag-offset: -194;
}
.iti__si {
  --iti-flag-offset: -195;
}
.iti__sj {
  --iti-flag-offset: -196;
}
.iti__sk {
  --iti-flag-offset: -197;
}
.iti__sl {
  --iti-flag-offset: -198;
}
.iti__sm {
  --iti-flag-offset: -199;
}
.iti__sn {
  --iti-flag-offset: -200;
}
.iti__so {
  --iti-flag-offset: -201;
}
.iti__sr {
  --iti-flag-offset: -202;
}
.iti__ss {
  --iti-flag-offset: -203;
}
.iti__st {
  --iti-flag-offset: -204;
}
.iti__sv {
  --iti-flag-offset: -205;
}
.iti__sx {
  --iti-flag-offset: -206;
}
.iti__sy {
  --iti-flag-offset: -207;
}
.iti__sz {
  --iti-flag-offset: -208;
}
.iti__tc {
  --iti-flag-offset: -209;
}
.iti__td {
  --iti-flag-offset: -210;
}
.iti__tg {
  --iti-flag-offset: -211;
}
.iti__th {
  --iti-flag-offset: -212;
}
.iti__tj {
  --iti-flag-offset: -213;
}
.iti__tk {
  --iti-flag-offset: -214;
}
.iti__tl {
  --iti-flag-offset: -215;
}
.iti__tm {
  --iti-flag-offset: -216;
}
.iti__tn {
  --iti-flag-offset: -217;
}
.iti__to {
  --iti-flag-offset: -218;
}
.iti__tr {
  --iti-flag-offset: -219;
}
.iti__tt {
  --iti-flag-offset: -220;
}
.iti__tv {
  --iti-flag-offset: -221;
}
.iti__tw {
  --iti-flag-offset: -222;
}
.iti__tz {
  --iti-flag-offset: -223;
}
.iti__ua {
  --iti-flag-offset: -224;
}
.iti__ug {
  --iti-flag-offset: -225;
}
.iti__us {
  --iti-flag-offset: -226;
}
.iti__uy {
  --iti-flag-offset: -227;
}
.iti__uz {
  --iti-flag-offset: -228;
}
.iti__va {
  --iti-flag-offset: -229;
}
.iti__vc {
  --iti-flag-offset: -230;
}
.iti__ve {
  --iti-flag-offset: -231;
}
.iti__vg {
  --iti-flag-offset: -232;
}
.iti__vi {
  --iti-flag-offset: -233;
}
.iti__vn {
  --iti-flag-offset: -234;
}
.iti__vu {
  --iti-flag-offset: -235;
}
.iti__wf {
  --iti-flag-offset: -236;
}
.iti__ws {
  --iti-flag-offset: -237;
}
.iti__xk {
  --iti-flag-offset: -238;
}
.iti__ye {
  --iti-flag-offset: -239;
}
.iti__yt {
  --iti-flag-offset: -240;
}
.iti__za {
  --iti-flag-offset: -241;
}
.iti__zm {
  --iti-flag-offset: -242;
}
.iti__zw {
  --iti-flag-offset: -243;
}

/* packages/core/src/css/intlTelInput.css */
:root {
  --iti-hover-color: rgba(0, 0, 0, 0.05);
  --iti-border-color: #ccc;
  --iti-country-selector-bg: white;
  --iti-icon-color: #555;
  --iti-spacer-horizontal: 10px;
  --iti-flag-height: calc(var(--iti-flag-width) * 3 / 4);
  --iti-globe-icon-size: 17px;
  --iti-clear-icon-size: 15px;
  --iti-border-width: 1px;
  --iti-arrow-size: 5px;
  --iti-arrow-width: 1.5px;
  --iti-arrow-padding: 7px;
  --iti-mobile-popup-margin: 30px;
  --iti-strict-reject-flash-color: rgba(255, 0, 0, 0.12);
}
.iti {
  position: relative;
  display: inline-block;
  * {
    box-sizing: border-box;
  }
  input.iti__tel-input,
  input.iti__tel-input[type=text],
  input.iti__tel-input[type=tel] {
    position: relative;
    z-index: 0;
    display: block;
    min-width: 100%;
    margin: 0 !important;
  }
}
.iti__a11y-text {
  width: 1px;
  height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  position: absolute;
}
.iti__country-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  padding: var(--iti-border-width);
}
.iti__selected-country {
  z-index: 1;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border-radius: 0;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: none;
}
.iti__selected-country-primary {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 var(--iti-arrow-padding) 0 var(--iti-spacer-horizontal);
}
.iti__selected-dial-code {
  margin-left: 4px;
}
.iti__arrow {
  margin-left: var(--iti-arrow-padding);
  margin-top: -2px;
  width: var(--iti-arrow-size);
  height: var(--iti-arrow-size);
  box-sizing: border-box;
  border-right: var(--iti-arrow-width) solid var(--iti-icon-color);
  border-bottom: var(--iti-arrow-width) solid var(--iti-icon-color);
  transform: rotate(45deg);
}
.iti__arrow--up {
  margin-top: 4px;
  transform: rotate(-135deg);
}
.iti__country-selector {
  border-radius: 3px;
  background-color: var(--iti-country-selector-bg);
  .iti--inline-country-selector & {
    border: var(--iti-border-width) solid var(--iti-border-color);
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  }
  .iti--inline-country-selector:not(.iti--detached-country-selector) & {
    position: absolute;
    z-index: 2;
    left: 0;
  }
}
.iti__search-input {
  width: 100%;
  border-width: 0;
  border-radius: 3px;
  padding-left: calc(var(--iti-spacer-horizontal) + var(--iti-globe-icon-size) + var(--iti-spacer-horizontal));
  padding-right: calc(var(--iti-spacer-horizontal) + var(--iti-clear-icon-size) + var(--iti-spacer-horizontal));
  [dir=rtl] & {
    padding-left: inherit;
    padding-right: 30px;
    background-position: right 8px center;
  }
  &::-webkit-search-cancel-button {
    -webkit-appearance: none;
            appearance: none;
  }
}
.iti__search-input,
.iti__country {
  padding-top: 8px;
  padding-bottom: 8px;
}
.iti__search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--iti-border-color);
}
.iti__search-icon {
  position: absolute;
  left: var(--iti-spacer-horizontal);
  display: flex;
  pointer-events: none;
  [dir=rtl] & {
    left: auto;
    right: var(--iti-spacer-horizontal);
  }
}
.iti__search-icon-svg {
  width: var(--iti-globe-icon-size);
  height: var(--iti-globe-icon-size);
  display: block;
  stroke: var(--iti-icon-color);
  fill: none;
  stroke-width: 3;
}
.iti__search-clear {
  position: absolute;
  right: calc(var(--iti-spacer-horizontal) / 2);
  background: transparent;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  padding: calc(var(--iti-spacer-horizontal) / 2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
  .iti__search-clear-x {
    stroke-width: 2;
  }
  .iti__search-clear-bg {
    fill: var(--iti-icon-color);
  }
  [dir=rtl] & {
    right: auto;
    left: var(--iti-spacer-horizontal);
  }
  &:hover,
  &:focus-visible {
    background: var(--iti-hover-color);
    outline: none;
  }
}
.iti__search-clear-svg {
  width: var(--iti-clear-icon-size);
  height: var(--iti-clear-icon-size);
  display: block;
}
.iti__no-results {
  text-align: center;
  padding: 30px 0;
}
.iti__country-list {
  list-style: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  .iti--inline-country-selector & {
    max-height: 185px;
  }
}
.iti--flexible-dropdown-width .iti__country-list {
  white-space: nowrap;
  @media (max-width: 500px) {
    white-space: normal;
  }
}
.iti__country {
  display: flex;
  align-items: center;
  padding-left: var(--iti-spacer-horizontal);
  padding-right: var(--iti-spacer-horizontal);
  outline: none;
  &.iti__highlight {
    background-color: var(--iti-hover-color);
  }
}
.iti__country-name {
  flex-grow: 1;
}
.iti__country-check {
  margin-left: var(--iti-spacer-horizontal);
  display: flex;
  align-items: center;
  color: var(--iti-icon-color);
}
.iti__country-check-svg {
  width: var(--iti-clear-icon-size);
  height: var(--iti-clear-icon-size);
  display: block;
}
.iti__country-list .iti__flag {
  margin-right: var(--iti-spacer-horizontal);
  flex-shrink: 0;
  [dir=rtl] & {
    margin-right: 0;
    margin-left: var(--iti-spacer-horizontal);
  }
}
.iti--has-country-selector {
  .iti__country-container:has(+ input[disabled]),
  .iti__country-container:has(+ input[readonly]) {
    button.iti__selected-country {
      cursor: not-allowed;
      .iti__arrow {
        visibility: hidden;
      }
    }
  }
  .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])) {
    .iti__selected-country-primary:hover,
    .iti__selected-country[aria-expanded=true] .iti__selected-country-primary {
      background-color: var(--iti-hover-color);
    }
  }
}
.iti--detached-country-selector {
  position: fixed;
  top: -1000px;
  left: -1000px;
  z-index: 1060;
  &:hover {
    cursor: pointer;
  }
}
.iti--detached-country-selector {
  top: calc(anchor(bottom) + 3px);
  left: anchor(left);
  position-try-fallbacks: --iti-flip-above;
}
@position-try --iti-flip-above {
  top: auto;
  bottom: calc(anchor(top) + 3px);
}
.iti__hide {
  display: none;
}
.iti__v-hide {
  visibility: hidden;
}
.iti--fullscreen-popup {
  &.iti--detached-country-selector {
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: fixed;
    padding: var(--iti-mobile-popup-margin);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .iti__country-selector {
    display: flex;
    flex-direction: column;
    max-height: 100%;
    position: relative;
  }
  .iti__country,
  .iti__search-input {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .iti__country {
    padding-left: 10px;
    padding-right: 10px;
    line-height: 1.5em;
  }
}
.iti__flag {
  height: var(--iti-flag-height);
  width: var(--iti-flag-width);
  border-radius: 1px;
  box-shadow: 0px 0px 1px 0px #888;
  background-image: -webkit-image-set(var(--iti-path-flags-1x) 1x, var(--iti-path-flags-2x) 2x);
  background-image: image-set(var(--iti-path-flags-1x) 1x, var(--iti-path-flags-2x) 2x);
  background-repeat: no-repeat;
  background-position: calc(var(--iti-flag-offset, 100) * var(--iti-flag-width)) 0;
  background-size: calc(var(--iti-flag-count) * var(--iti-flag-width)) var(--iti-flag-height);
}
.iti__loading {
  position: relative;
  background: none;
  box-shadow: none;
  &::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: var(--iti-flag-height);
    height: var(--iti-flag-height);
    box-sizing: border-box;
    border: 2px solid var(--iti-icon-color);
    border-right-color: transparent;
    border-radius: 50%;
    animation: iti-spinner 1s linear infinite;
  }
}
@keyframes iti-spinner {
  to {
    transform: rotate(360deg);
  }
}
.iti__strict-reject-animation {
  .iti__tel-input,
  .iti__selected-country {
    animation: iti-strict-reject-shake 0.3s cubic-bezier(0.36, 0.07, 0.19, 0.97);
  }
  @media (prefers-reduced-motion: reduce) {
    .iti__tel-input {
      animation: iti-strict-reject-flash 0.3s ease-out both;
    }
    .iti__selected-country {
      animation: none;
    }
  }
}
@keyframes iti-strict-reject-shake {
  10%, 90% {
    transform: translateX(-1px);
  }
  20%, 80% {
    transform: translateX(2px);
  }
  30%, 50%, 70% {
    transform: translateX(-3px);
  }
  40%, 60% {
    transform: translateX(3px);
  }
}
@keyframes iti-strict-reject-flash {
  40% {
    background-color: var(--iti-strict-reject-flash-color);
  }
}
.iti__globe {
  background: none;
  box-shadow: none;
  height: var(--iti-globe-icon-size);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  .iti__globe-svg {
    width: 100%;
    height: 100%;
    fill: var(--iti-icon-color);
  }
}
@supports (-webkit-appearance: none) and (not (background: -webkit-canvas(foo))) {
  .iti__tel-input:focus {
    outline-offset: 1px;
  }
}

/* packages/core/src/css/intlTelInputWithAssets.css */
:root {
  --iti-path-flags-1x: url(../../images/flags.dc848804.webp);
  --iti-path-flags-2x: url(../../images/flags@2x.c7a5f533.webp);
}

/* ── Phone input ── qcom-phone-input ───────────────────────── */

/* The library's own tokens, remapped onto the plugin's design tokens so the
   field matches every other input in the form. Defined globally, not scoped
   to .qcom-phone-input: countrySelectorMode defaults to AUTO, which becomes
   FULLSCREEN on small viewports and appends the dropdown to document.body,
   outside our wrapper — a scoped custom property would stop applying there. */
:root {
	--iti-border-color: hsl(var(--qcom-border));
	--iti-border-width: 1px;
	--iti-hover-color: hsl(var(--qcom-muted));
	--iti-country-selector-bg: hsl(var(--qcom-bg));
	--iti-icon-color: hsl(var(--qcom-muted-fg));
}

.qcom-phone-input .iti {
	width: 100%;
}

.qcom-phone-input .iti__tel-input {
	width: 100%;
	height: var(--qcom-input-height, 2.5rem);
	border-radius: var(--qcom-radius-md);
	border: 1px solid hsl(var(--qcom-border));
	background: var(--qcom-input-bg, hsl(var(--qcom-bg)));
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	font-family: inherit;
	color: inherit;
	line-height: 1.5;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	outline: none;
}

.qcom-phone-input .iti__tel-input:focus {
	border-color: hsl(var(--qcom-primary));
	box-shadow: inset 0 0 0 1px hsl(var(--qcom-primary));
}

.qcom-phone-input .iti__tel-input::-moz-placeholder {
	color: hsl(var(--qcom-muted-fg));
}

.qcom-phone-input .iti__tel-input::placeholder {
	color: hsl(var(--qcom-muted-fg));
}

.qcom-phone-input .iti__tel-input:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Not scoped to .qcom-phone-input: in FULLSCREEN mode (the AUTO default on
   small viewports) the library appends the dropdown to document.body. */
.iti__country-selector {
	border-radius: var(--qcom-radius-md);
	border: 1px solid hsl(var(--qcom-border));
	background: hsl(var(--qcom-bg));
}

.iti__country-list {
	font-size: 0.875rem;
}

/* ── Input ── qcom-input ───────────────────────────────────── */

.qcom-input {
	--qcom-input-height: 2.5rem;
	display: flex;
	width: 100%;
	height: var(--qcom-input-height);
	border-radius: var(--qcom-radius-md);
	border: 1px solid hsl(var(--qcom-border));
	background: var(--qcom-input-bg, hsl(var(--qcom-bg)));
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	font-family: inherit;
	color: inherit;
	line-height: 1.5;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	outline: none;
}

.qcom-input::-moz-placeholder {
	color: hsl(var(--qcom-muted-fg));
}

.qcom-input::placeholder {
	color: hsl(var(--qcom-muted-fg));
}

.qcom-input:focus {
	border-color: hsl(var(--qcom-primary));
	box-shadow: inset 0 0 0 1px hsl(var(--qcom-primary));
}

.qcom-input:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* File input reset */
.qcom-input[type="file"] {
	border: 0;
	background: transparent;
	padding: 0;
}

.qcom-input[type="file"]::file-selector-button {
	font-size: 0.875rem;
	font-weight: 500;
	border: 0;
	background: transparent;
	color: inherit;
}

/**
 * Auth Modal — BEM styles, no Tailwind.
 */

.qcom-auth-modal {
  --qcom-auth-bg: hsl(var(--qcom-bg));
  --qcom-auth-radius: var(--qcom-radius-lg, 8px);
  --qcom-auth-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --qcom-auth-fg: hsl(var(--qcom-fg));
  --qcom-auth-muted: hsl(var(--qcom-muted-fg));
  --qcom-auth-error: hsl(var(--qcom-destructive));
  --qcom-auth-label: hsl(var(--qcom-fg));
  --qcom-auth-toggle-bg: hsl(var(--qcom-muted));
  --qcom-auth-toggle-radius: var(--qcom-radius-md, 6px);
  --qcom-auth-primary: hsl(var(--qcom-primary));
  --qcom-auth-primary-hover: hsl(var(--qcom-primary) / 0.8);
  --qcom-auth-max-width: 26rem;
  --qcom-auth-border: hsl(var(--qcom-border));

  background: var(--qcom-auth-bg);
  border-radius: var(--qcom-auth-radius);
  box-shadow: var(--qcom-auth-shadow);
  width: 100%;
  max-width: var(--qcom-auth-max-width);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height: 1.5;
  color: var(--qcom-auth-fg);
}

/* Header */
.qcom-auth-modal__header {
  text-align: center;
  padding: 2rem 2rem 1rem;
  flex-shrink: 0;
  border-bottom: 1px solid var(--qcom-auth-border);
}

.qcom-auth-modal__logo {
  height: 3rem;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  max-width: 200px;
  max-height: 60px;
  display: block;
}

.qcom-auth-modal .qcom-auth-modal__site-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--qcom-auth-fg);
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.qcom-auth-modal .qcom-auth-modal__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--qcom-auth-fg);
  margin: 0 0 0.5rem;
}

.qcom-auth-modal .qcom-auth-modal__subtitle {
  color: var(--qcom-auth-muted);
  font-size: 13px;
  margin: 0;
}

/* Scrollable content */
.qcom-auth-modal__content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
}

/* Form */
.qcom-auth-modal__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all 0.3s ease-in-out;
}

/* Field */
.qcom-auth-modal__field {
  display: flex;
  flex-direction: column;
}

/* Label */
.qcom-auth-modal__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--qcom-auth-label);
  margin-bottom: 0.375rem;
}

/* Error */
.qcom-auth-modal__error {
  color: var(--qcom-auth-error);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.qcom-auth-modal__error--otp {
  text-align: center;
}

/* Input override within modal (prevent theme font-size inheritance) */
.qcom-auth-modal .qcom-input {
  font-size: 0.875rem;
  height: 2.5rem;
  border: 1px solid var(--qcom-auth-border);
  border-radius: var(--qcom-radius-md);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}


/* Links */
.qcom-auth-modal .qcom-auth-modal__link {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: hsl(var(--qcom-primary));
  padding: 0;
  font-size: 13px;
  transition: opacity 0.15s ease;
}

.qcom-auth-modal .qcom-auth-modal__link:hover {
  opacity: 0.7;
}

.qcom-auth-modal__link--forgot,
.qcom-auth-modal__link--register {
  font-size: 13px;
  font-weight: 500;
}

.qcom-auth-modal__link--resend {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--qcom-auth-muted);
}

.qcom-auth-modal__link--resend:hover {
  color: var(--qcom-auth-fg);
}

.qcom-auth-modal__link--identifier {
  font-size: 0.75rem;
}

/* Actions row */
.qcom-auth-modal__actions {
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.qcom-auth-modal__actions--reset {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Toggle (auth method switch) */
.qcom-auth-modal__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.75rem;
  background: var(--qcom-auth-toggle-bg);
  border-radius: var(--qcom-auth-toggle-radius);
  margin-top: 0.25rem;
}

.qcom-auth-modal__toggle-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qcom-auth-modal__toggle-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qcom-auth-modal__switch {
  transform: scale(0.75);
}

.qcom-auth-modal__toggle-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--qcom-auth-label);
}

/* Help icon */
.qcom-auth-modal__help {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: hsl(var(--qcom-muted-fg));
  padding: 0;
}

.qcom-auth-modal__help:hover {
  color: var(--qcom-auth-muted);
}

.qcom-auth-modal__help:focus {
  outline: none;
}

.qcom-auth-modal__help-icon {
  width: 1rem;
  height: 1rem;
}

/* OTP */
.qcom-auth-modal__otp-container {
  display: flex;
  justify-content: center;
}

.qcom-auth-modal__otp {
  gap: 0.5rem;
}

/* Button extras */
.qcom-auth-modal__button--send-otp {
  margin-top: 1rem;
}

.qcom-auth-modal__button--reset {
  flex: 1;
}

/* Reset form */
.qcom-auth-modal__form--reset {
  animation: qcom-auth-fade-in 0.3s ease-in-out;
}

.qcom-auth-modal__form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qcom-auth-modal__form-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--qcom-auth-fg);
}

.qcom-auth-modal__form-description {
  font-size: 0.875rem;
  color: var(--qcom-auth-muted);
}

/* Alert area */
.qcom-auth-modal__alert {
  margin-top: 0.75rem;
  padding: 0 2rem 1.5rem;
  flex-shrink: 0;
}

/* Dialog content wrapper — constrain width so close button stays inside */
.auth-menu__modal.qcom-dialog__content {
  padding: 0;
  max-width: 26rem;
  overflow: hidden;
}

/* Close button positioning — inside the card */
.auth-menu__modal .qcom-dialog__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--qcom-auth-muted, #6b7280);
  padding: 0.25rem;
  border-radius: 50%;
  transition: color 0.15s ease, background-color 0.15s ease;
  z-index: 1;
}

.auth-menu__modal .qcom-dialog__close:hover {
  color: var(--qcom-auth-fg, #111827);
  background-color: hsl(var(--qcom-muted));
}

/* Tooltip content */
.qcom-auth-modal__tooltip-text {
  font-size: 0.75rem;
  max-width: 16rem;
}

@keyframes qcom-auth-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/**
 * Checkout Components — BEM Styles
 *
 * Naming convention: qcom-checkout-{component}__{element}--{modifier}
 * Custom properties: --qcom-*
 */

/* ==========================================================================
   Custom Properties
   ========================================================================== */

:root {
  --qcom-checkout-gap-xs: 0.125rem;
  --qcom-checkout-gap-sm: 0.25rem;
  --qcom-checkout-gap-md: 0.5rem;
  --qcom-checkout-gap-lg: 1rem;
  --qcom-checkout-gap-xl: 1.5rem;
  --qcom-checkout-gap-2xl: 2rem;
  --qcom-checkout-font-xs: 0.6875rem;
  --qcom-checkout-font-sm: 0.75rem;
  --qcom-checkout-font-base: 0.875rem;
  --qcom-checkout-font-lg: 1rem;
  --qcom-checkout-font-xl: 1.125rem;
  --qcom-checkout-font-2xl: 1.25rem;
  --qcom-checkout-transition-fast: 150ms ease;
  --qcom-checkout-transition-base: 200ms ease-in-out;
  --qcom-checkout-min-option-height: 64px;
}

/* ==========================================================================
   Shared / Utility-like patterns
   ========================================================================== */

.qcom-checkout-stack--xs { display: flex; flex-direction: column; gap: var(--qcom-checkout-gap-xs); }
.qcom-checkout-stack--sm { display: flex; flex-direction: column; gap: var(--qcom-checkout-gap-sm); }
.qcom-checkout-stack--md { display: flex; flex-direction: column; gap: var(--qcom-checkout-gap-md); }
.qcom-checkout-stack--lg { display: flex; flex-direction: column; gap: var(--qcom-checkout-gap-lg); }
.qcom-checkout-stack--xl { display: flex; flex-direction: column; gap: var(--qcom-checkout-gap-xl); }
.qcom-checkout-stack--2xl { display: flex; flex-direction: column; gap: var(--qcom-checkout-gap-2xl); }

.qcom-checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--qcom-checkout-gap-lg);
}

@media (min-width: 1024px) {
  .qcom-checkout-grid--2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .qcom-checkout-grid--2col-sm {
    grid-template-columns: repeat(2, 1fr);
  }
}

.qcom-checkout-section-title {
  font-size: var(--qcom-checkout-font-xl);
  font-weight: 600;
}

.qcom-checkout-section-subtitle {
  font-size: var(--qcom-checkout-font-lg);
  font-weight: 500;
}

.qcom-checkout-section-heading {
  font-size: var(--qcom-checkout-font-xl);
  font-weight: 500;
  margin-bottom: var(--qcom-checkout-gap-lg);
}

/* ==========================================================================
   AccountFormB2B
   ========================================================================== */

.qcom-checkout-account-b2b {
  display: flex;
  flex-direction: column;
  gap: var(--qcom-checkout-gap-xl);
  margin-top: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-account-b2b__success {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-account-b2b__success-icon {
  margin: 0 auto;
  width: 4rem;
  height: 4rem;
  background-color: hsl(var(--qcom-success) / 0.15);
  border-radius: var(--qcom-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qcom-checkout-account-b2b__success-icon svg {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--qcom-success));
}

.qcom-checkout-account-b2b__success-body {
  display: flex;
  flex-direction: column;
  gap: var(--qcom-checkout-gap-md);
}

.qcom-checkout-account-b2b__success-title {
  font-size: var(--qcom-checkout-font-2xl);
  font-weight: 700;
  color: hsl(var(--qcom-fg));
}

.qcom-checkout-account-b2b__success-text {
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-account-b2b__success-email {
  color: hsl(var(--qcom-muted-fg));
  font-size: var(--qcom-checkout-font-base);
}

.qcom-checkout-account-b2b__warning {
  background-color: hsl(var(--qcom-warning) / 0.1);
  border-left: 4px solid hsl(var(--qcom-warning));
  padding: var(--qcom-checkout-gap-lg);
  border-radius: var(--qcom-radius-sm);
  margin-bottom: var(--qcom-checkout-gap-md);
}

.qcom-checkout-account-b2b__warning-content {
  display: flex;
  align-items: center;
}

.qcom-checkout-account-b2b__warning-icon {
  height: 1.25rem;
  width: 1.25rem;
  color: hsl(var(--qcom-warning));
  margin-right: var(--qcom-checkout-gap-md);
}

.qcom-checkout-account-b2b__warning-text {
  color: hsl(var(--qcom-fg));
  font-size: var(--qcom-checkout-font-base);
}

.qcom-checkout-account-b2b__email-row {
  display: flex;
  align-items: center;
  gap: var(--qcom-checkout-gap-md);
  font-size: var(--qcom-checkout-font-base);
  color: hsl(var(--qcom-fg));
}

.qcom-checkout-account-b2b__email-label {
  font-weight: 500;
}

.qcom-checkout-account-b2b__change-email {
  color: hsl(var(--qcom-primary));
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.qcom-checkout-account-b2b__change-email:hover {
  opacity: 0.8;
}

.qcom-checkout-account-b2b__form {
  display: flex;
  flex-direction: column;
  gap: var(--qcom-checkout-gap-xl);
}

.qcom-checkout-account-b2b__section {
  display: flex;
  flex-direction: column;
  gap: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-account-b2b__checkbox-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.qcom-checkout-account-b2b__checkbox-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  line-height: 1;
}

.qcom-checkout-account-b2b__terms-link {
  text-decoration: underline;
}

.qcom-checkout-account-b2b__required {
  color: hsl(var(--qcom-destructive));
}

/* ==========================================================================
   AddressSelector
   ========================================================================== */

.qcom-checkout-address-selector {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.qcom-checkout-address-selector__title {
  font-size: var(--qcom-checkout-font-xl);
  font-weight: 500;
}

.qcom-checkout-address-selector__empty-state {
  border: 1px dashed;
  border-radius: var(--qcom-radius-lg);
  padding: var(--qcom-checkout-gap-lg);
  opacity: 0.5;
}

.qcom-checkout-address-selector__empty-content {
  text-align: center;
}

.qcom-checkout-address-selector__empty-icon {
  height: 2rem;
  width: 2rem;
  margin: 0 auto 0.5rem;
  opacity: 0.5;
}

.qcom-checkout-address-selector__empty-text {
  font-size: var(--qcom-checkout-font-base);
}

.qcom-checkout-address-selector__selected {
  border: 1px solid hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-lg);
  padding: var(--qcom-checkout-gap-lg);
  overflow: hidden;
}

.qcom-checkout-address-selector__selected--highlight {
  border-color: hsl(var(--qcom-primary));
  background-color: hsl(var(--qcom-primary) / 0.05);
}

.qcom-checkout-address-selector__address-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.qcom-checkout-address-selector__address-details {
  flex: 1;
  min-width: 0;
}

.qcom-checkout-address-selector__address-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.qcom-checkout-address-selector__address-text {
  font-size: var(--qcom-checkout-font-base);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qcom-checkout-address-selector__trigger-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

.qcom-checkout-address-selector__selected-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.qcom-checkout-address-selector__selected-text {
  font-size: var(--qcom-checkout-font-base);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qcom-checkout-address-selector__placeholder {
  font-size: var(--qcom-checkout-font-base);
}

.qcom-checkout-address-selector__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  cursor: pointer;
}

.qcom-checkout-address-selector__item-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.qcom-checkout-address-selector__item-content {
  flex: 1;
  min-width: 0;
}

.qcom-checkout-address-selector__item-address {
  font-size: var(--qcom-checkout-font-base);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qcom-checkout-address-selector__item-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.qcom-checkout-address-selector__icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-address-selector__popover {
  font-size: 1rem;
  width: var(--radix-popover-trigger-width) !important;
  padding: 0 !important;
  outline: none !important;
  overflow: hidden;
  box-sizing: border-box;
}

.qcom-checkout-address-selector__popover .qcom-command__input {
  padding: 0;
  outline: none !important;
  box-shadow: none !important;
  height: 2.25rem;
  font-size: 0.875rem;
}

.qcom-checkout-address-selector__popover .qcom-command__input-wrapper {
  padding: 0.5rem 0.75rem;
}

.qcom-checkout-address-selector__badge {
  font-size: var(--qcom-checkout-font-sm);
}

.qcom-checkout-address-selector__chevron-icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-address-selector__check-icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--qcom-primary));
}

/* AddressFormInline */

.qcom-checkout-address-form {
  border: 1px solid hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-lg);
  padding: var(--qcom-checkout-gap-lg);
  display: flex;
  flex-direction: column;
  gap: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-address-form__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qcom-checkout-address-form__title {
  font-size: var(--qcom-checkout-font-lg);
  font-weight: 500;
}

.qcom-checkout-address-form__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.5rem;
  width: 1.5rem;
  border-radius: var(--qcom-radius-md);
  border: none;
  background: transparent;
  cursor: pointer;
}

.qcom-checkout-address-form__close-icon {
  width: 1rem;
  height: 1rem;
}

.qcom-checkout-address-selector__add-icon {
  width: 1rem;
  height: 1rem;
}

.qcom-checkout-address-selector__trigger {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  height: auto;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-md);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: hsl(var(--qcom-fg));
  transition: background-color 150ms ease;
}

.qcom-checkout-address-selector__trigger:hover {
  background-color: hsl(var(--qcom-muted));
}

.qcom-checkout-address-selector__item--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.qcom-checkout-address-selector__item-incomplete {
  color: hsl(var(--qcom-destructive));
  font-size: var(--qcom-checkout-font-sm, 0.75rem);
  font-weight: 500;
}

.qcom-checkout-address-selector__warning {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  margin-top: 0.5rem;
  border-radius: var(--qcom-radius-sm);
  background-color: hsl(38 92% 95%);
  color: hsl(32 95% 30%);
  font-size: var(--qcom-checkout-font-sm, 0.75rem);
  line-height: 1.4;
}

.qcom-checkout-address-selector__warning-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: hsl(38 92% 50%);
}

.qcom-checkout-address-form__close:hover {
  background-color: hsl(var(--qcom-muted));
}

.qcom-checkout-address-form__body {
  display: flex;
  flex-direction: column;
  gap: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-address-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.qcom-checkout-address-form__label {
  font-size: var(--qcom-checkout-font-base);
  font-weight: 500;
  line-height: 1;
}

.qcom-checkout-address-form__error {
  font-size: var(--qcom-checkout-font-sm);
  font-weight: 500;
  color: hsl(var(--qcom-destructive));
}

.qcom-checkout-address-form__actions {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

/* ==========================================================================
   BillingFormSkeleton
   ========================================================================== */

.qcom-checkout-billing-skeleton {
  display: flex;
  flex-direction: column;
  gap: var(--qcom-checkout-gap-xl);
}

.qcom-checkout-billing-skeleton__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qcom-checkout-billing-skeleton__body {
  display: flex;
  flex-direction: column;
  gap: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-billing-skeleton__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.qcom-checkout-billing-skeleton__option {
  border: 1px solid hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-lg);
  padding: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-billing-skeleton__option-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qcom-checkout-billing-skeleton__header-logo {
  height: 3rem;
  width: 6rem;
}

.qcom-checkout-billing-skeleton__header-action {
  height: 2rem;
  width: 5rem;
}

.qcom-checkout-billing-skeleton__section-title {
  height: 1.5rem;
  width: 8rem;
}

.qcom-checkout-billing-skeleton__field-label {
  height: 1rem;
  width: 4rem;
}

.qcom-checkout-billing-skeleton__field-label--md {
  height: 1rem;
  width: 5rem;
}

.qcom-checkout-billing-skeleton__field-label--sm {
  height: 1rem;
  width: 3rem;
}

.qcom-checkout-billing-skeleton__field-input {
  height: 2.5rem;
  width: 100%;
}

.qcom-checkout-billing-skeleton__option-radio {
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
}

.qcom-checkout-billing-skeleton__option-text {
  height: 1rem;
  width: 5rem;
}

.qcom-checkout-billing-skeleton__option-text--lg {
  height: 1rem;
  width: 8rem;
}

.qcom-checkout-billing-skeleton__group-title {
  height: 1.25rem;
  width: 6rem;
}

.qcom-checkout-billing-skeleton__group-title--lg {
  height: 1.25rem;
  width: 8rem;
}

.qcom-checkout-billing-skeleton__submit {
  height: 3rem;
  width: 100%;
}

/* ==========================================================================
   CartItem
   ========================================================================== */

.qcom-checkout-cart-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.qcom-checkout-cart-item + .qcom-checkout-cart-item {
  border-top: 1px solid hsl(var(--qcom-border));
}

.qcom-checkout-cart-item--child {
  padding: 0.5rem;
  align-items: center;
  gap: 1rem;
  border-radius: var(--qcom-radius-sm);
}

.qcom-checkout-cart-item__image {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  border: 1px solid hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-sm);
  overflow: hidden;
  background-color: hsl(var(--qcom-muted));
}

.qcom-checkout-cart-item__image--out-of-stock {
  filter: grayscale(100%);
  opacity: 0.6;
}

.qcom-checkout-cart-item__image--sm {
  width: 3rem;
  height: 3rem;
  border: 1px solid hsl(var(--qcom-border));
  background-color: hsl(var(--qcom-muted));
  display: flex;
  align-items: center;
  justify-content: center;
}

.qcom-checkout-cart-item__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  background-color: hsl(var(--qcom-muted));
}

.qcom-checkout-cart-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.qcom-checkout-cart-item__title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: hsl(var(--qcom-fg));
}

.qcom-checkout-cart-item__title--child {
  font-size: 0.9rem;
  font-weight: 600;
  -webkit-line-clamp: 1;
}

.qcom-checkout-cart-item__meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.375rem;
}

.qcom-checkout-cart-item__meta-divider {
  width: 1px;
  height: 0.875rem;
  background-color: hsl(var(--qcom-border));
  flex-shrink: 0;
}

.qcom-checkout-cart-item__code {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-cart-item__stock {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-cart-item__stock--in-stock {
  color: hsl(var(--qcom-success));
}

.qcom-checkout-cart-item__stock--low-stock {
  color: hsl(var(--qcom-warning));
}

.qcom-checkout-cart-item__stock--out-of-stock {
  color: hsl(var(--qcom-destructive));
}

.qcom-checkout-cart-item__delivery {
  font-size: 0.75rem;
  color: hsl(var(--qcom-muted-fg));
  font-weight: 500;
  margin-top: 0.375rem;
}

.qcom-checkout-cart-item__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  flex-shrink: 0;
  align-self: stretch;
  gap: 0.25rem;
}

.qcom-checkout-cart-item__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.qcom-checkout-cart-item__delete {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--qcom-muted-fg));
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 150ms ease;
  line-height: 1;
  padding: 0.25rem;
}

.qcom-checkout-cart-item__delete:hover:not(:disabled) {
  color: hsl(var(--qcom-destructive));
}

.qcom-checkout-cart-item__delete:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.qcom-checkout-cart-item__delete-icon {
  width: 1.125rem;
  height: 1.125rem;
}

.qcom-checkout-cart-item__quantity {
  flex-shrink: 0;
}

.qcom-checkout-cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid hsl(var(--qcom-border));
  overflow: hidden;
  background: hsl(var(--qcom-bg));
  border-radius: var(--qcom-radius-sm);
}

.qcom-checkout-cart-qty__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.625rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: hsl(var(--qcom-muted-fg)) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  font-family: inherit !important;
  line-height: 1;
  transition: background-color 150ms ease;
  border-radius: var(--qcom-radius-sm);
}

.qcom-checkout-cart-qty__btn:hover:not(:disabled) {
  background-color: hsl(var(--qcom-muted));
}

.qcom-checkout-cart-qty__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qcom-checkout-cart-qty__value {
  width: 2.25rem;
  min-width: 0;
  text-align: center;
  border: none !important;
  border-left: 1px solid hsl(var(--qcom-border)) !important;
  border-right: 1px solid hsl(var(--qcom-border)) !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  color: hsl(var(--qcom-fg)) !important;
  background: transparent;
  padding: 0;
  height: 100%;
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
          appearance: textfield;
}

.qcom-checkout-cart-qty__value::-webkit-inner-spin-button,
.qcom-checkout-cart-qty__value::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qcom-checkout-cart-qty__value:focus {
  outline: none;
  border-color: hsl(var(--qcom-primary));
  box-shadow: inset 0 0 0 1px hsl(var(--qcom-primary));
}

.qcom-checkout-cart-qty__value:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.qcom-checkout-cart-item__discount-badge {
  display: inline-block;
  font-size: 0.625rem;
  padding: 0.125rem 0.375rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  border-radius: var(--qcom-radius-sm);
  margin-bottom: 0.125rem;
  background-color: hsl(var(--qcom-destructive));
  color: hsl(var(--qcom-destructive-fg));
  line-height: 1.3;
}

.qcom-checkout-cart-item__unit-price {
  font-size: 0.875rem;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-cart-item__original-price {
  font-size: 0.875rem;
  text-decoration: line-through;
  color: hsl(var(--qcom-muted-fg));
  font-weight: 500;
}

.qcom-checkout-cart-item__total-price {
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--qcom-fg));
}

.qcom-checkout-cart-item__child-qty {
  font-size: var(--qcom-checkout-font-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.qcom-checkout-cart-item__child-qty-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: hsl(var(--qcom-fg));
}

/* ChildItemsCollapsible */

.qcom-checkout-cart-item__children {
  margin-top: 1rem;
}

.qcom-checkout-cart-item__children-card {
  border: 1px solid hsl(var(--qcom-border));
  font-size: 0.75rem;
}

.qcom-checkout-cart-item__children-toggle {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  width: 100%;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: left;
  color: hsl(var(--qcom-muted-fg));
  transition: color var(--qcom-checkout-transition-fast);
}

.qcom-checkout-cart-item__children-toggle:hover {
  color: hsl(var(--qcom-fg));
}

.qcom-checkout-cart-item__children-chevron {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform var(--qcom-checkout-transition-base);
}

.qcom-checkout-cart-item__children-chevron--open {
  transform: rotate(180deg);
}

.qcom-checkout-cart-item__children-list {
  border-top: 1px solid hsl(var(--qcom-border));
}

.qcom-checkout-cart-item__children-list > * + * {
  border-top: 1px solid hsl(var(--qcom-border));
}

.qcom-checkout-cart-item__child-body {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
}

.qcom-checkout-cart-item__child-code {
  font-size: 0.75rem;
  color: hsl(var(--qcom-muted-fg));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.qcom-checkout-cart-item__child-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  margin-left: auto;
}

.qcom-checkout-cart-item__child-right .qcom-checkout-cart-item__stock {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   CartItemsList
   ========================================================================== */

.qcom-checkout-cart-list__heading {
  margin-bottom: var(--qcom-checkout-gap-lg);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: hsl(var(--qcom-fg));
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qcom-checkout-cart-list__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--qcom-primary) / 0.1);
  color: hsl(var(--qcom-primary));
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 700;
  border-radius: var(--qcom-radius-sm);
  width: 2rem;
  height: 2rem;
  white-space: nowrap;
  margin-left: 0.25rem;
}

.qcom-cart-list__items {
  padding: 1.5rem 0;
  border-bottom: 1px solid hsl(var(--qcom-border));
}

.qcom-cart-list__item-row + .qcom-cart-list__item-row {
  border-top: 1px solid hsl(var(--qcom-border));
  margin-top: 1rem;
  padding-top: 1rem;
}

.qcom-cart-list__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid hsl(var(--qcom-border));
  border-bottom: 1px solid hsl(var(--qcom-border));
}

.qcom-cart-list__empty-icon-wrap {
  width: 3rem;
  height: 3rem;
  background-color: hsl(var(--qcom-primary) / 0.05);
  border: 1px solid hsl(var(--qcom-primary) / 0.05);
  border-radius: var(--qcom-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.qcom-cart-list__empty-icon {
  color: hsl(var(--qcom-primary));
}

.qcom-cart-list__empty-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--qcom-fg));
  margin: 0 0 0.5rem;
}

.qcom-cart-list__empty-link {
  font-size: 0.875rem;
  color: hsl(var(--qcom-primary)) !important;
  font-weight: 500;
  text-decoration: none;
}

.qcom-cart-list__empty-link:hover {
  text-decoration: none;
  opacity: 0.85;
}

/* ==========================================================================
   CheckoutTypeSelector
   ========================================================================== */

.qcom-checkout-type-selector {
  margin: 2rem 0;
}

.qcom-checkout-type-selector__container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-type-selector__options {
  display: flex;
  align-items: center;
  gap: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-type-selector__option {
  font-size: var(--qcom-checkout-font-lg);
  font-weight: 500;
  transition: all var(--qcom-checkout-transition-base);
  color: hsl(var(--qcom-muted-fg));
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.qcom-checkout-type-selector__option:hover {
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-type-selector__option--active {
  color: hsl(var(--qcom-fg));
  font-weight: 600;
}

.qcom-checkout-type-selector__separator {
  color: hsl(var(--qcom-muted-fg));
  font-size: var(--qcom-checkout-font-xl);
}

/* ==========================================================================
   ConsolidatedDeliveryOption
   ========================================================================== */

.qcom-checkout-consolidated {
  margin-top: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-consolidated__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.qcom-checkout-consolidated__label-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  line-height: 1;
}

.qcom-checkout-consolidated__label {
  font-size: var(--qcom-checkout-font-sm);
  color: hsl(var(--qcom-muted-fg));
}

/* ==========================================================================
   CustomerInfoCard
   ========================================================================== */

.qcom-checkout-customer-info {
  border: 1px solid hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-lg);
  padding: var(--qcom-checkout-gap-lg);
  margin-bottom: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-customer-info__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.qcom-checkout-customer-info__title {
  font-size: var(--qcom-checkout-font-base);
  font-weight: 500;
}

.qcom-checkout-customer-info__edit-link {
  font-size: var(--qcom-checkout-font-sm);
  font-weight: 500;
  color: hsl(var(--qcom-primary));
  transition: color var(--qcom-checkout-transition-fast);
}

.qcom-checkout-customer-info__edit-link:hover {
  opacity: 0.8;
}

.qcom-checkout-customer-info__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  font-size: var(--qcom-checkout-font-base);
}

@media (min-width: 640px) {
  .qcom-checkout-customer-info__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.qcom-checkout-customer-info__field-label {
  font-size: var(--qcom-checkout-font-sm);
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-customer-info__field-value {
  display: block;
}

.qcom-checkout-customer-info__divider {
  border-top: 1px solid hsl(var(--qcom-border));
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

/* ==========================================================================
   DesiredDeliveryData
   ========================================================================== */

.qcom-checkout-delivery-date {
  margin-top: var(--qcom-checkout-gap-xl);
}

.qcom-checkout-delivery-date__label {
  display: block;
  font-size: var(--qcom-checkout-font-base);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.qcom-checkout-delivery-date__optional {
  margin-left: 0.25rem;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-delivery-date__input-group {
  position: relative;
}

.qcom-checkout-delivery-date__input {
  width: 100%;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Native <button>, not WpButton: WpButton puts `className` on its outer
   wrapper, so this class would never reach the element holding the icon. */
.qcom-checkout-delivery-date__calendar-btn {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  width: 2rem;
  padding: 0;
  border: none;
  border-radius: var(--qcom-radius-sm);
  background: transparent;
  color: hsl(var(--qcom-muted-fg));
  cursor: pointer;
  transition: color var(--qcom-transition), background var(--qcom-transition);
}

.qcom-checkout-delivery-date__calendar-btn:hover {
  color: hsl(var(--qcom-fg));
  background: var(--qcom-muted-bg);
}

/* Colour only — the ring is the browser's outline, which qcom-front.css
   strips for mouse focus and leaves for the keyboard. */
.qcom-checkout-delivery-date__calendar-btn:focus-visible {
  color: hsl(var(--qcom-fg));
}

.qcom-checkout-delivery-date__popover {
  width: auto;
  padding: 0;
}

.qcom-checkout-delivery-date__calendar-icon {
  width: 1rem;
  height: 1rem;
}

/* ==========================================================================
   DiscountCodeSection
   ========================================================================== */

.qcom-checkout-discount {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.qcom-checkout-discount__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.qcom-checkout-discount__chip {
  display: inline-flex;
  align-items: center;
  border-radius: var(--qcom-radius-full);
  font-size: var(--qcom-checkout-font-sm);
  font-weight: 500;
  overflow: hidden;
  background-color: hsl(var(--qcom-primary) / 0.1);
  color: hsl(var(--qcom-primary));
}

.qcom-checkout-discount__chip-icon {
  margin-left: 0.625rem;
}

.qcom-checkout-discount__chip-label {
  padding: 0.375rem 0.5rem;
}

.qcom-checkout-discount__chip-remove-icon {
  width: 0.75rem;
  height: 0.75rem;
}

.qcom-checkout-discount__chip-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 0.5rem;
  background-color: hsl(var(--qcom-primary) / 0.2);
  border: none;
  cursor: pointer;
  transition: background-color var(--qcom-checkout-transition-fast);
}

.qcom-checkout-discount__chip-remove:hover {
  background-color: hsl(var(--qcom-primary) / 0.3);
}

.qcom-checkout-discount__chip-remove:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.qcom-checkout-discount__toggle {
  font-size: var(--qcom-checkout-font-base);
  color: hsl(var(--qcom-primary));
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color var(--qcom-checkout-transition-fast);
}

.qcom-checkout-discount__toggle:hover {
  opacity: 0.8;
}

.qcom-checkout-discount__form {
  display: flex;
  gap: 0.5rem;
}

.qcom-checkout-discount__input {
  flex: 1;
}

.qcom-checkout-discount__apply-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--qcom-primary-fg));
  background: hsl(var(--qcom-primary));
  border: none;
  border-radius: var(--qcom-radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.qcom-checkout-discount__apply-btn:hover {
  opacity: 0.9;
}

.qcom-checkout-discount__apply-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==========================================================================
   EmptyCartMessage
   ========================================================================== */

.qcom-checkout-empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  gap: 0.5rem;
}

.qcom-checkout-empty-cart__icon-wrapper {
  width: 5rem;
  height: 5rem;
  background-color: hsl(var(--qcom-muted));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--qcom-radius-full);
}

.qcom-checkout-empty-cart__icon {
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-empty-cart__title {
  font-size: var(--qcom-checkout-font-2xl);
  font-weight: 600;
}

.qcom-checkout-empty-cart__text {
  font-size: var(--qcom-checkout-font-base);
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-empty-cart__button {
  margin-top: 0.5rem;
}

/* ==========================================================================
   InvoiceText
   ========================================================================== */

.qcom-checkout-invoice-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: var(--qcom-checkout-gap-xl);
}

.qcom-checkout-invoice-text__label {
  display: block;
  font-size: var(--qcom-checkout-font-base);
  font-weight: 500;
}

.qcom-checkout-invoice-text__textarea {
  width: 100%;
  outline: none;
  box-sizing: border-box;
}

/* ==========================================================================
   OrderReference
   ========================================================================== */

.qcom-checkout-order-ref {
  margin-top: var(--qcom-checkout-gap-xl);
}

.qcom-checkout-order-ref__label {
  display: block;
  font-size: var(--qcom-checkout-font-base);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.qcom-checkout-order-ref__optional {
  margin-left: 0.25rem;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-order-ref__input-wrapper {
  position: relative;
}

.qcom-checkout-order-ref__input {
  width: 100%;
  padding-right: 3rem;
}

.qcom-checkout-order-ref__counter {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--qcom-checkout-font-sm);
  padding: 0 0.25rem;
  color: hsl(var(--qcom-muted-fg));
  background-color: hsl(var(--qcom-bg));
}

/* ==========================================================================
   OrderSummary
   ========================================================================== */

.qcom-checkout-order-summary {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: opacity var(--qcom-checkout-transition-base);
}

.qcom-checkout-order-summary--loading {
  opacity: 0.5;
}

.qcom-checkout-order-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qcom-checkout-order-summary__label {
  font-size: var(--qcom-checkout-font-base);
  color: hsl(var(--qcom-fg));
}

.qcom-checkout-order-summary__label--muted {
  font-size: var(--qcom-checkout-font-base);
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-order-summary__value {
  font-size: var(--qcom-checkout-font-base);
  color: hsl(var(--qcom-fg));
}

.qcom-checkout-order-summary__value--muted {
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-order-summary__value--discount {
  font-weight: 500;
  color: hsl(var(--qcom-destructive));
}

.qcom-checkout-order-summary__total {
  padding-top: 0.25rem;
}

.qcom-checkout-order-summary__total-label {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: hsl(var(--qcom-fg));
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qcom-checkout-order-summary__total-label .qcom-loading {
  padding: 0;
  display: inline-flex;
}

.qcom-checkout-order-summary__total-tax-label {
  font-weight: 400;
  font-size: 0.9rem;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-order-summary__total-value {
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 2.25rem;
  letter-spacing: -0.025em;
  color: hsl(var(--qcom-fg));
}

/* ==========================================================================
   OrderSummarySkeleton
   ========================================================================== */

.qcom-checkout-summary-skeleton {
  display: flex;
  flex-direction: column;
  gap: var(--qcom-checkout-gap-xl);
}

.qcom-checkout-summary-skeleton__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qcom-checkout-summary-skeleton__heading-text {
  height: 1.5rem;
  width: 7rem;
}

.qcom-checkout-summary-skeleton__heading-badge {
  height: 1.75rem;
  width: 1.75rem;
  border-radius: 9999px;
}

.qcom-checkout-summary-skeleton__items {
  border-bottom: 1px solid hsl(var(--qcom-border));
}

.qcom-checkout-summary-skeleton__items > * + * {
  border-top: 1px solid hsl(var(--qcom-border));
}

.qcom-checkout-summary-skeleton__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.qcom-checkout-summary-skeleton__item-image {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: var(--qcom-radius-md);
}

.qcom-checkout-summary-skeleton__item-title {
  height: 1rem;
  width: 75%;
}

.qcom-checkout-summary-skeleton__item-code {
  height: 0.75rem;
  width: 6rem;
}

.qcom-checkout-summary-skeleton__item-stock {
  height: 0.75rem;
  width: 4rem;
}

.qcom-checkout-summary-skeleton__item-price-line {
  height: 1rem;
  width: 4rem;
}

.qcom-checkout-summary-skeleton__discount-input {
  flex: 1;
  height: 2.5rem;
  border-radius: var(--qcom-radius-md);
}

.qcom-checkout-summary-skeleton__discount-btn {
  width: 7rem;
  height: 2.5rem;
  border-radius: var(--qcom-radius-md);
}

.qcom-checkout-summary-skeleton__totals-label {
  height: 1rem;
  width: 4rem;
}

.qcom-checkout-summary-skeleton__totals-value {
  height: 1rem;
  width: 5rem;
}

.qcom-checkout-summary-skeleton__totals-label--sm {
  height: 1rem;
  width: 3rem;
}

.qcom-checkout-summary-skeleton__totals-value--sm {
  height: 1rem;
  width: 4rem;
}

.qcom-checkout-summary-skeleton__totals-label--lg {
  height: 1.25rem;
  width: 5rem;
}

.qcom-checkout-summary-skeleton__totals-value--lg {
  height: 1.25rem;
  width: 6rem;
}

.qcom-checkout-summary-skeleton__item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.qcom-checkout-summary-skeleton__item-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.qcom-checkout-summary-skeleton__discount {
  display: flex;
  gap: 0.5rem;
}

.qcom-checkout-summary-skeleton__totals {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.qcom-checkout-summary-skeleton__totals-row {
  display: flex;
  justify-content: space-between;
}

.qcom-checkout-summary-skeleton__totals-row--total {
  padding-top: 0.5rem;
}

/* ==========================================================================
   PaymentMethodSection
   ========================================================================== */

.qcom-checkout-payment {
  position: relative;
}

.qcom-checkout-payment__loading {
  border-radius: var(--qcom-radius-lg);
}

.qcom-checkout-payment__loading-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.qcom-checkout-payment__loading-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--qcom-checkout-gap-lg);
  border: 1px solid hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-lg);
  background-color: hsl(var(--qcom-bg));
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  min-height: var(--qcom-checkout-min-option-height);
  animation: qcom-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.qcom-checkout-payment__loading-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qcom-checkout-payment__skeleton-circle {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
}

.qcom-checkout-payment__skeleton-title {
  height: 1rem;
  width: 8rem;
  margin-bottom: 0.25rem;
}

.qcom-checkout-payment__skeleton-desc {
  height: 0.75rem;
  width: 6rem;
}

/* Sits where an option row would, so the step does not look unfinished. */
.qcom-checkout-payment__empty {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-lg);
  font-size: var(--qcom-checkout-font-base);
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-payment__options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.qcom-checkout-payment__option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-lg);
  cursor: pointer;
  min-height: 3rem;
  transition: background-color var(--qcom-checkout-transition-fast);
}

.qcom-checkout-payment__option-label:hover {
  border-color: hsl(var(--qcom-primary));
}

.qcom-checkout-payment__option-label:has(:checked) {
  border-color: hsl(var(--qcom-primary));
  background-color: hsl(var(--qcom-primary) / 0.05);
}

.qcom-checkout-payment__option-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qcom-checkout-payment__option-name {
  font-weight: 500;
}

.qcom-checkout-payment__option-description {
  padding: 0 var(--qcom-checkout-gap-lg) var(--qcom-checkout-gap-lg);
  border-top: 1px solid hsl(var(--qcom-border));
}

.qcom-checkout-payment__option-description-text {
  padding-top: 0.75rem;
  font-size: var(--qcom-checkout-font-sm);
  color: hsl(var(--qcom-muted-fg));
}

/* ==========================================================================
   PickupPointSelector
   ========================================================================== */

.qcom-checkout-pickup {
  padding-top: 0.75rem;
  padding-bottom: 0.25rem;
}

.qcom-checkout-pickup__header {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
}

.qcom-checkout-pickup__label {
  font-size: var(--qcom-checkout-font-sm);
  font-weight: 500;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-pickup__icon {
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-pickup__empty {
  font-size: var(--qcom-checkout-font-sm);
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-pickup__skeleton {
  height: 2.5rem;
  width: 100%;
  border-radius: var(--qcom-radius-md);
}

.qcom-checkout-pickup__item-address {
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-pickup__item-name {
  font-weight: 500;
}

/* ==========================================================================
   PrePayment
   ========================================================================== */

.qcom-checkout-pre-payment__continue {
  margin-top: var(--qcom-checkout-gap-xl);
}

.qcom-checkout-pre-payment__title {
  font-weight: 700;
  margin-top: var(--qcom-checkout-gap-xl) !important;
}

.qcom-checkout-pre-payment__cancel {
  font-size: var(--qcom-checkout-font-base);
  margin-top: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: hsl(var(--qcom-muted-fg));
  transition: color var(--qcom-checkout-transition-fast);
}

.qcom-checkout-pre-payment__cancel:hover {
  color: hsl(var(--qcom-fg));
}

/* Bleeds to the card edges only once a gateway has mounted something: while
   empty, the negative margin ate the card's bottom padding. */
.qcom-checkout-pre-payment__container:not(:empty) {
  margin: 0 -1.25rem -1.25rem;
}

.qcom-checkout-pre-payment__container iframe {
  display: block;
}

.qcom-checkout-pre-payment__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
}

.qcom-checkout-pre-payment__spinner {
  width: 2rem;
  height: 2rem;
  border: 2.5px solid hsl(var(--qcom-border));
  border-top-color: hsl(var(--qcom-primary));
  border-radius: 50%;
  animation: qcom-spinner 0.7s linear infinite;
}

@keyframes qcom-spinner {
  to { transform: rotate(360deg); }
}

.qcom-checkout-pre-payment__loading-text {
  font-size: 0.875rem;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-pre-payment__error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 1.5rem;
  margin-top: var(--qcom-checkout-gap-xl);
  border: 1px solid hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-lg);
  text-align: center;
}

.qcom-checkout-pre-payment__error-icon {
  font-size: 2rem;
  line-height: 1;
}

.qcom-checkout-pre-payment__error-text {
  font-size: 0.875rem;
  color: hsl(var(--qcom-muted-fg));
  margin: 0;
}

/* ==========================================================================
   PreShippingB2B
   ========================================================================== */

.qcom-checkout-pre-shipping-b2b {
  display: flex;
  flex-direction: column;
  gap: var(--qcom-checkout-gap-xl);
}

.qcom-checkout-pre-shipping-b2b__form {
  display: flex;
  flex-direction: column;
  gap: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-pre-shipping-b2b__form-label {
  font-size: var(--qcom-checkout-font-base);
  font-weight: 500;
  color: hsl(var(--qcom-fg));
}

.qcom-checkout-pre-shipping-b2b__email-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qcom-checkout-pre-shipping-b2b__email-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-md);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.qcom-checkout-pre-shipping-b2b__email-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--qcom-primary));
  border-color: hsl(var(--qcom-primary));
}

.qcom-checkout-pre-shipping-b2b__email-input--disabled {
  background-color: hsl(var(--qcom-muted));
  cursor: not-allowed;
}

.qcom-checkout-pre-shipping-b2b__change-email {
  font-size: var(--qcom-checkout-font-base);
  color: hsl(var(--qcom-primary));
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.qcom-checkout-pre-shipping-b2b__change-email:hover {
  opacity: 0.8;
}

.qcom-checkout-pre-shipping-b2b__form-error {
  font-size: var(--qcom-checkout-font-base);
  color: hsl(var(--qcom-destructive));
}

.qcom-checkout-pre-shipping-b2b__notice {
  border-radius: var(--qcom-radius-md);
  padding: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-pre-shipping-b2b__notice--info {
  background-color: hsl(var(--qcom-primary) / 0.1);
  border: 1px solid hsl(var(--qcom-primary) / 0.3);
}

.qcom-checkout-pre-shipping-b2b__notice-text {
  font-size: var(--qcom-checkout-font-sm);
  color: hsl(var(--qcom-primary));
}

.qcom-checkout-pre-shipping-b2b__login-section {
  display: flex;
  flex-direction: column;
  gap: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-pre-shipping-b2b__toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qcom-checkout-pre-shipping-b2b__toggle-label {
  font-size: var(--qcom-checkout-font-base);
  font-weight: 500;
  color: hsl(var(--qcom-fg));
}

.qcom-checkout-pre-shipping-b2b__input-row {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .qcom-checkout-pre-shipping-b2b__input-row {
    flex-direction: row;
    align-items: flex-end;
    gap: var(--qcom-checkout-gap-lg);
  }
}

.qcom-checkout-pre-shipping-b2b__input-field {
  flex: 1;
}

.qcom-checkout-pre-shipping-b2b__password-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-md);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.qcom-checkout-pre-shipping-b2b__password-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--qcom-primary));
  border-color: hsl(var(--qcom-primary));
}

.qcom-checkout-pre-shipping-b2b__otp-group {
  display: flex;
  gap: 0.25rem;
  justify-content: space-between;
}

.qcom-checkout-pre-shipping-b2b__otp-slot {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-md);
  text-align: center;
}

@media (min-width: 768px) {
  .qcom-checkout-pre-shipping-b2b__otp-slot {
    width: 1.75rem;
  }
}

.qcom-checkout-pre-shipping-b2b__otp-slot:focus {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--qcom-primary));
  border-color: hsl(var(--qcom-primary));
}

.qcom-checkout-pre-shipping-b2b__submit-wrapper {
  margin-top: var(--qcom-checkout-gap-lg);
}

@media (min-width: 768px) {
  .qcom-checkout-pre-shipping-b2b__submit-wrapper {
    margin-top: 0;
    width: auto;
  }
}

.qcom-checkout-pre-shipping-b2b__submit-btn {
  width: 100%;
}

@media (min-width: 768px) {
  .qcom-checkout-pre-shipping-b2b__submit-btn {
    width: auto;
  }
}

.qcom-checkout-pre-shipping-b2b__submit-btn--loading {
  opacity: 0.5;
  cursor: not-allowed;
}

.qcom-checkout-pre-shipping-b2b__continue-btn {
  width: 100%;
  margin-top: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-pre-shipping-b2b__continue-btn--loading {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkout-page__submit-spinner {
  animation: qcom-spin 1s linear infinite;
}

.checkout-step__continue-btn,
.checkout-page__submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   PreShippingFormPrivate
   ========================================================================== */

.qcom-checkout-pre-shipping-private__form {
  display: flex;
  margin-top: 1rem;
  flex-direction: column;
  gap: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-pre-shipping-private__submit {
  display: flex;
  align-items: flex-end;
}

/* ==========================================================================
   ScrollIndicator
   ========================================================================== */

.qcom-checkout-scroll-indicator {
  position: fixed;
  margin-right: var(--qcom-checkout-gap-lg);
  right: var(--qcom-checkout-gap-lg);
  top: var(--qcom-checkout-gap-lg);
  bottom: var(--qcom-checkout-gap-lg);
  width: 2px;
  border-radius: var(--qcom-radius-full);
  z-index: 50;
  background-color: hsl(var(--qcom-muted-fg) / 0.3);
  cursor: pointer;
  display: none;
}

@media (min-width: 768px) {
  .qcom-checkout-scroll-indicator {
    display: block;
    right: 50%;
  }
}

.qcom-checkout-scroll-indicator__thumb {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--qcom-radius-full);
  position: absolute;
  left: 50%;
  cursor: grab;
  background-color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-scroll-indicator__thumb:hover {
  background-color: hsl(var(--qcom-muted-fg) / 0.8);
}

.qcom-checkout-scroll-indicator__thumb:active {
  cursor: grabbing;
}

/* ==========================================================================
   ShippingAddressForm
   ========================================================================== */

.qcom-checkout-shipping-address {
  display: flex;
  flex-direction: column;
  gap: var(--qcom-checkout-gap-lg);
}

/* ==========================================================================
   ShippingMethodSection
   ========================================================================== */

.qcom-checkout-shipping {
  margin-top: 2rem;
  position: relative;
}

.qcom-checkout-shipping__title {
  font-weight: 700;
}

.qcom-checkout-shipping__options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.qcom-checkout-shipping__option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-lg);
  cursor: pointer;
  min-height: 3rem;
  transition: background-color var(--qcom-checkout-transition-fast);
}

.qcom-checkout-shipping__option-label:hover {
  border-color: hsl(var(--qcom-primary));
}

.qcom-checkout-shipping__option-label:has(:checked) {
  border-color: hsl(var(--qcom-primary));
  background-color: hsl(var(--qcom-primary) / 0.05);
}

.qcom-checkout-shipping__option-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qcom-checkout-shipping__option-image {
  width: 2rem;
  height: 2rem;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: var(--qcom-radius-sm);
  flex-shrink: 0;
}

.qcom-checkout-shipping__option-name {
  font-weight: 500;
}

.qcom-checkout-shipping__option-description {
  margin-top: 0.125rem;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--qcom-info);
}

.qcom-checkout-shipping__option-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: right;
}

.qcom-checkout-shipping__option-price-block {
  text-align: right;
}

.qcom-checkout-shipping__pickup-panel {
  padding: 0 var(--qcom-checkout-gap-lg) var(--qcom-checkout-gap-lg);
  border-top: 1px solid hsl(var(--qcom-border));
  border-radius: 0 0 var(--qcom-radius-lg) var(--qcom-radius-lg);
  animation: qcom-fade-in 0.3s ease-out;
}

.qcom-checkout-shipping__warning {
  padding: var(--qcom-checkout-gap-lg);
  border: 1px solid hsl(var(--qcom-warning) / 0.3);
  background-color: hsl(var(--qcom-warning) / 0.1);
  border-radius: var(--qcom-radius-lg);
}

.qcom-checkout-shipping__warning-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qcom-checkout-shipping__warning-icon {
  height: 1.25rem;
  width: 1.25rem;
  color: hsl(var(--qcom-warning));
}

.qcom-checkout-shipping__warning-text {
  font-size: var(--qcom-checkout-font-base);
  color: hsl(var(--qcom-fg));
}

/* ==========================================================================
   SoldOutAlert
   ========================================================================== */

.qcom-checkout-sold-out {
  border-radius: var(--qcom-radius-lg);
  border: 1px solid hsl(var(--qcom-destructive) / 0.2);
  padding: var(--qcom-checkout-gap-lg);
  margin: var(--qcom-checkout-gap-lg) 0;
  background-color: hsl(var(--qcom-destructive) / 0.1);
}

.qcom-checkout-sold-out__content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.qcom-checkout-sold-out__icon {
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: hsl(var(--qcom-destructive));
}

.qcom-checkout-sold-out__body {
  flex: 1;
}

.qcom-checkout-sold-out__title {
  font-size: var(--qcom-checkout-font-base);
  font-weight: 500;
  color: hsl(var(--qcom-destructive));
}

.qcom-checkout-sold-out__list {
  margin-top: 0.5rem;
  list-style: disc inside;
  font-size: var(--qcom-checkout-font-base);
  color: hsl(var(--qcom-destructive) / 0.9);
}

.qcom-checkout-sold-out__message {
  margin-top: 0.5rem;
  font-size: var(--qcom-checkout-font-base);
  color: hsl(var(--qcom-destructive) / 0.8);
}

.qcom-checkout-sold-out .qcom-checkout-sold-out__action {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background-color: var(--wp--preset--color--primary, hsl(var(--qcom-primary))) !important;
  color: #fff !important;
  border: 1px solid var(--wp--preset--color--primary, hsl(var(--qcom-primary))) !important;
  border-radius: var(--qcom-radius-md);
  font-size: var(--qcom-checkout-font-base) !important;
  font-weight: 500 !important;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  transition: opacity 0.15s ease;
  text-decoration: none;
  box-shadow: none;
}

.qcom-checkout-sold-out .qcom-checkout-sold-out__action:hover:not(:disabled),
.qcom-checkout-sold-out .qcom-checkout-sold-out__action:focus:not(:disabled) {
  background-color: var(--wp--preset--color--primary, hsl(var(--qcom-primary))) !important;
  color: #fff !important;
  opacity: 0.9;
}

.qcom-checkout-sold-out .qcom-checkout-sold-out__action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.qcom-checkout-sold-out__action-spinner {
  width: 1rem;
  height: 1rem;
  animation: qcom-spinner 0.7s linear infinite;
}

/* ==========================================================================
   TermsAndPrivacy
   ========================================================================== */

.qcom-checkout-terms {
  margin-top: var(--qcom-checkout-gap-xl);
  display: flex;
  flex-direction: column;
  gap: var(--qcom-checkout-gap-lg);
}

.qcom-checkout-terms__privacy-text {
  font-size: var(--qcom-checkout-font-sm);
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-terms__checkbox-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.qcom-checkout-terms__label-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  line-height: 1;
}

.qcom-checkout-terms__label {
  font-size: var(--qcom-checkout-font-sm);
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-terms__link {
  color: hsl(var(--qcom-primary));
  cursor: pointer;
}

.qcom-checkout-terms__link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Editor Preview
   ========================================================================== */

.qcom-checkout-editor-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  border: 1px dashed hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-md);
  background-color: hsl(var(--qcom-muted));
}

.qcom-checkout-editor-preview__icon {
  margin-bottom: 1rem;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-checkout-editor-preview__title {
  font-size: var(--qcom-checkout-font-xl);
  font-weight: 500;
  color: hsl(var(--qcom-fg));
  margin-bottom: 0.5rem;
}

.qcom-checkout-editor-preview__description {
  color: hsl(var(--qcom-muted-fg));
  max-width: 24rem;
  font-size: var(--qcom-checkout-font-base);
}

/* --- Screen reader only --- */
.qcom-checkout-delivery-date__sr-only,
.qcom-checkout-discount__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Radio option wrappers --- */
.qcom-checkout-payment__option,
.qcom-checkout-shipping__option {
  position: relative;
}

/* ── Skeleton ── qcom-skeleton ─────────────────────────────── */

.qcom-skeleton {
	border-radius: var(--qcom-radius-md);
	background: var(--qcom-skeleton-bg, hsl(var(--qcom-muted)));
	animation: qcom-skeleton-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes qcom-skeleton-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}

/* ── Checkbox ── qcom-checkbox ─────────────────────────────── */
/* Radix primitive + our design tokens (Radix Themes "surface" style) */

.qcom-checkbox {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: top;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	border-radius: var(--qcom-radius-sm);
	border: none;
	padding: 0;
	background: transparent;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	     appearance: none;
	outline: none;
}

/* The visible box — rendered as ::before (Radix Themes pattern) */
.qcom-checkbox::before {
	content: '';
	display: block;
	position: absolute;
	inset: 0;
	border-radius: inherit;
	transition: background-color 0.12s ease, box-shadow 0.12s ease;
}

/* Unchecked: surface background with inset border */
.qcom-checkbox[data-state="unchecked"]::before {
	background-color: hsl(var(--qcom-bg));
	box-shadow: inset 0 0 0 1px hsl(var(--qcom-border));
}

/* Checked: solid accent fill */
.qcom-checkbox[data-state="checked"]::before {
	background-color: hsl(var(--qcom-primary));
}

/* Focus ring */
.qcom-checkbox:focus-visible::before {
	outline: 2px solid hsl(var(--qcom-primary));
	outline-offset: 2px;
}

/* Disabled */
.qcom-checkbox[data-disabled] {
	cursor: not-allowed;
	opacity: 0.5;
}

/* Indicator (check icon wrapper) — absolutely centered */
.qcom-checkbox__indicator {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	z-index: 1;
}

/* Check icon SVG */
.qcom-checkbox__icon {
	width: 9px;
	height: 9px;
}

/* ── Label ── qcom-label ───────────────────────────────────── */

.qcom-label {
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1;
	cursor: default;
}

.qcom-label[data-disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}

.qcom-form-item {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.qcom-form-label--error {
  color: hsl(var(--qcom-destructive));
}

.qcom-form-description {
  font-size: 0.875rem;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-form-message {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--qcom-destructive));
}

/* ── Select ── qcom-select ─────────────────────────────────── */

/* Trigger */
.qcom-select__trigger {
	display: flex;
	height: 2.5rem;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	border-radius: var(--qcom-radius-md);
	border: 1px solid hsl(var(--qcom-border));
	background: var(--qcom-input-bg, hsl(var(--qcom-bg)));
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	outline: none;
	cursor: pointer;
}

.qcom-select__trigger:focus {
	box-shadow: 0 0 0 2px hsl(var(--qcom-ring));
}

.qcom-select__trigger[data-disabled] {
	cursor: not-allowed;
	opacity: 0.5;
}

.qcom-select__trigger > span {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.qcom-select__trigger-icon {
	width: 1rem;
	height: 1rem;
	opacity: 0.5;
	flex-shrink: 0;
}

/* Scroll buttons */
.qcom-select__scroll-btn {
	display: flex;
	cursor: default;
	align-items: center;
	justify-content: center;
	padding: 0.25rem 0;
}

.qcom-select__scroll-icon {
	width: 1rem;
	height: 1rem;
}

/* Content (dropdown) */
.qcom-select__content {
	position: relative;
	z-index: 10002;
	max-height: 24rem;
	min-width: 8rem;
	overflow: hidden;
	border-radius: var(--qcom-radius-md);
	border: 1px solid hsl(var(--qcom-border));
	background: hsl(var(--qcom-popover));
	color: hsl(var(--qcom-popover-fg));
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.qcom-select__content[data-state="open"] {
	animation: qcom-select-in 0.15s ease;
}

.qcom-select__content[data-state="closed"] {
	animation: qcom-select-out 0.1s ease;
}

/* Popper-position modifier */
.qcom-select__content--popper {
	/* Grow to fit the widest option, but never narrower than the trigger, so
	   long option labels aren't clipped. */
	min-width: var(--radix-select-trigger-width);
	max-width: min(24rem, 90vw);
}

.qcom-select__content--popper[data-side="bottom"] {
	transform: translateY(0.25rem);
}

.qcom-select__content--popper[data-side="top"] {
	transform: translateY(-0.25rem);
}

.qcom-select__content--popper[data-side="left"] {
	transform: translateX(-0.25rem);
}

.qcom-select__content--popper[data-side="right"] {
	transform: translateX(0.25rem);
}

/* Viewport */
.qcom-select__viewport {
	padding: 0.25rem;
}

.qcom-select__viewport--popper {
	height: var(--radix-select-trigger-height);
	width: 100%;
	min-width: var(--radix-select-trigger-width);
}

/* Label */
.qcom-select__label {
	padding: 0.375rem 0.5rem 0.375rem 2rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
}

/* Item */
.qcom-select__item {
	position: relative;
	display: flex;
	width: 100%;
	cursor: default;
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	align-items: center;
	border-radius: 0.125rem;
	padding: 0.375rem 0.5rem 0.375rem 2rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	white-space: nowrap;
	outline: none;
}

.qcom-select__item:focus,
.qcom-select__item[data-highlighted] {
	background: hsl(var(--qcom-accent));
	color: hsl(var(--qcom-accent-fg));
}

.qcom-select__item[data-disabled] {
	pointer-events: none;
	opacity: 0.5;
}

.qcom-select__item-indicator-wrapper {
	position: absolute;
	left: 0.5rem;
	display: flex;
	width: 0.875rem;
	height: 0.875rem;
	align-items: center;
	justify-content: center;
}

.qcom-select__item-check {
	width: 1rem;
	height: 1rem;
}

/* Separator */
.qcom-select__separator {
	margin: 0.25rem -0.25rem;
	height: 1px;
	background: hsl(var(--qcom-muted));
}

/* Animations */
@keyframes qcom-select-in {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes qcom-select-out {
	from {
		opacity: 1;
		transform: scale(1);
	}
	to {
		opacity: 0;
		transform: scale(0.95);
	}
}

/* Flags come from the intl-tel-input sprite so this selector matches the phone
   field. Within one bundle webpack resolves this to the same module the phone
   input already imports, so it costs nothing extra where both are present. */

.qcom-country-input__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* `.iti__flag` supplies the sprite, its size, and the per-country offset. The
   span carries no text, so it needs to hold its box as a flex item. */
.qcom-country-input__flag {
  flex: 0 0 auto;
}

.qcom-country-input__static {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  height: var(--qcom-input-height, 2.5rem);
  border: 1px solid hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-md);
  background: hsl(var(--qcom-muted));
  font-size: 0.875rem;
}

/* button.css -- BEM styles for qcom-button */

/* Base */
.qcom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--qcom-radius-md);
  transition: colors 0.15s;
  cursor: pointer;
  border: none;
}

.qcom-button:focus-visible {
  outline: 2px solid hsl(var(--qcom-primary));
  outline-offset: 2px;
}

.qcom-button:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.qcom-button svg {
  pointer-events: none;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Variants */
.qcom-button--default {
  background: hsl(var(--qcom-primary));
  color: hsl(var(--qcom-primary-fg));
}

.qcom-button--default:hover {
  opacity: 0.9;
}

.qcom-button--destructive {
  background: hsl(var(--qcom-destructive));
  color: hsl(var(--qcom-destructive-fg));
}

.qcom-button--destructive:hover {
  opacity: 0.9;
}

.qcom-button--outline {
  border: 1px solid hsl(var(--qcom-border));
  background: transparent;
}

.qcom-button--outline:hover {
  background: hsl(var(--qcom-accent));
}

.qcom-button--secondary {
  background: hsl(var(--qcom-secondary));
  color: hsl(var(--qcom-secondary-fg));
}

.qcom-button--secondary:hover {
  opacity: 0.8;
}

.qcom-button--ghost {
  background: transparent;
}

.qcom-button--ghost:hover {
  background: hsl(var(--qcom-accent));
}

.qcom-button--link {
  background: transparent;
  color: hsl(var(--qcom-primary));
  text-decoration-underline-offset: 4px;
}

.qcom-button--link:hover {
  text-decoration: underline;
}

/* Sizes */
.qcom-button--size-default {
  height: 2.5rem;
  padding: 0.5rem 1rem;
}

.qcom-button--size-sm {
  height: 2.25rem;
  padding: 0 0.75rem;
}

.qcom-button--size-lg {
  height: 2.75rem;
  padding: 0 2rem;
}

.qcom-button--size-icon {
  height: 2.5rem;
  width: 2.5rem;
}

/* ── PasswordInput ── qcom-password-input ──────────────────── */

.qcom-password-input {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.qcom-password-input__label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	color: hsl(var(--qcom-muted-fg));
}

.qcom-password-input__wrapper {
	position: relative;
}

.qcom-password-input__input {
	padding-right: 2.75rem;
}

.qcom-password-input__toggle {
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	padding: 0 0.75rem;
	display: flex;
	align-items: center;
	background: transparent;
	border: none;
	cursor: pointer;
	color: hsl(var(--qcom-muted-fg));
}

.qcom-password-input__toggle:hover {
	background: transparent;
}

.qcom-password-input__toggle svg {
	width: 1rem;
	height: 1rem;
}

.qcom-password-input__error {
	font-size: 0.875rem;
	font-weight: 500;
	color: hsl(var(--qcom-destructive));
}

.qcom-password-input__sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* ── Radio Group ── qcom-radio ─────────────────────────────── */

.qcom-radio-group {
	display: grid;
	gap: 0.75rem;
}

.qcom-radio {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.125rem;
	height: 1.125rem;
	flex-shrink: 0;
	border-radius: 50%;
	border: 2px solid hsl(var(--qcom-border));
	background: hsl(var(--qcom-bg));
	cursor: pointer;
	transition: border-color 0.15s ease;
	padding: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	     appearance: none;
	outline: none;
}

.qcom-radio:focus-visible {
	box-shadow: 0 0 0 2px hsl(var(--qcom-ring));
}

.qcom-radio[data-state="checked"] {
	border-color: hsl(var(--qcom-primary));
}

.qcom-radio[data-disabled] {
	opacity: 0.35;
	cursor: not-allowed;
}

/* Indicator (dot wrapper) */
.qcom-radio__indicator {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.qcom-radio__dot {
	display: block;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: hsl(var(--qcom-primary));
}

/* ── Textarea ── qcom-textarea ─────────────────────────────── */

.qcom-textarea {
	display: flex;
	width: 100%;
	min-height: 5rem;
	border-radius: var(--qcom-radius-md);
	border: 1px solid hsl(var(--qcom-border));
	background: var(--qcom-input-bg, hsl(var(--qcom-bg)));
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	font-family: inherit;
	color: inherit;
	line-height: 1.5;
	resize: vertical;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	outline: none;
}

.qcom-textarea::-moz-placeholder {
	color: hsl(var(--qcom-muted-fg));
}

.qcom-textarea::placeholder {
	color: hsl(var(--qcom-muted-fg));
}

.qcom-textarea:focus {
	border-color: hsl(var(--qcom-primary));
	box-shadow: 0 0 0 2px hsl(var(--qcom-ring));
}

.qcom-textarea:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.qcom-calendar {
  padding: 0.75rem;
}

.qcom-calendar__months {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .qcom-calendar__months {
    flex-direction: row;
    gap: 1rem;
  }
}

.qcom-calendar__month {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qcom-calendar__caption {
  display: flex;
  justify-content: center;
  padding-top: 0.25rem;
  position: relative;
  align-items: center;
}

.qcom-calendar__caption-label {
  font-size: 0.875rem;
  font-weight: 500;
}

.qcom-calendar__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.qcom-calendar__nav-button {
  height: 1.75rem;
  width: 1.75rem;
  background: transparent;
  padding: 0;
  opacity: 0.5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(var(--qcom-border));
  border-radius: var(--qcom-radius-md);
  cursor: pointer;
}

.qcom-calendar__nav-button:hover {
  opacity: 1;
}

.qcom-calendar__nav-button--prev {
  position: absolute;
  left: 0.25rem;
}

.qcom-calendar__nav-button--next {
  position: absolute;
  right: 0.25rem;
}

.qcom-calendar__table {
  width: 100%;
  border-collapse: collapse;
}

.qcom-calendar__head-row {
  display: flex;
}

.qcom-calendar__head-cell {
  color: hsl(var(--qcom-muted-fg));
  border-radius: var(--qcom-radius-md);
  width: 2.25rem;
  font-weight: 400;
  font-size: 0.8rem;
}

.qcom-calendar__row {
  display: flex;
  width: 100%;
  margin-top: 0.5rem;
}

.qcom-calendar__cell {
  height: 2.25rem;
  width: 2.25rem;
  text-align: center;
  font-size: 0.875rem;
  padding: 0;
  position: relative;
}

.qcom-calendar__cell:has([aria-selected]) {
  background: hsl(var(--qcom-accent));
}

.qcom-calendar__cell:first-child:has([aria-selected]) {
  border-radius: var(--qcom-radius-md) 0 0 var(--qcom-radius-md);
}

.qcom-calendar__cell:last-child:has([aria-selected]) {
  border-radius: 0 var(--qcom-radius-md) var(--qcom-radius-md) 0;
}

.qcom-calendar__cell:has([aria-selected].day-range-end) {
  border-radius: 0 var(--qcom-radius-md) var(--qcom-radius-md) 0;
}

.qcom-calendar__cell:has([aria-selected].day-outside) {
  background: hsl(var(--qcom-accent));
  opacity: 0.5;
}

.qcom-calendar__cell:focus-within {
  position: relative;
  z-index: 20;
}

.qcom-calendar__day {
  height: 2.25rem;
  width: 2.25rem;
  padding: 0;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: var(--qcom-radius-md);
  cursor: pointer;
}

.qcom-calendar__day:hover {
  background: hsl(var(--qcom-accent));
}

.qcom-calendar__day[aria-selected="true"] {
  opacity: 1;
}

.qcom-calendar__day--selected {
  background: var(--qcom-button-bg, #18181b) !important;
  color: var(--qcom-button-fg, #fff) !important;
}

.qcom-calendar__day--selected:hover {
  background: var(--qcom-button-bg, #18181b) !important;
  color: var(--qcom-button-fg, #fff) !important;
}

.qcom-calendar__day--selected:focus {
  background: var(--qcom-button-bg, #18181b) !important;
  color: var(--qcom-button-fg, #fff) !important;
}

.qcom-calendar__day--today {
  background: hsl(var(--qcom-accent));
}

.qcom-calendar__day--outside {
  color: hsl(var(--qcom-muted-fg));
  opacity: 0.5;
}

.qcom-calendar__day--outside[aria-selected="true"] {
  background: hsl(var(--qcom-accent));
  opacity: 0.3;
}

.qcom-calendar__day--disabled {
  color: hsl(var(--qcom-muted-fg));
  opacity: 0.5;
}

.qcom-calendar__day--range-middle[aria-selected="true"] {
  background: hsl(var(--qcom-accent));
}

.qcom-calendar__day--hidden {
  visibility: hidden;
}

/* ── Popover ── qcom-popover ───────────────────────────────── */

.qcom-popover__content {
	z-index: 10002;
	width: 18rem;
	border-radius: var(--qcom-radius-md);
	border: 1px solid hsl(var(--qcom-border));
	background: hsl(var(--qcom-popover));
	color: hsl(var(--qcom-popover-fg));
	padding: 1rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
	outline: none;
}

.qcom-popover__content[data-state="open"] {
	animation: qcom-popover-in 0.15s ease;
}

.qcom-popover__content[data-state="closed"] {
	animation: qcom-popover-out 0.1s ease;
}

@keyframes qcom-popover-in {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes qcom-popover-out {
	from {
		opacity: 1;
		transform: scale(1);
	}
	to {
		opacity: 0;
		transform: scale(0.95);
	}
}

/* ==========================================================================
   Dialog (qcom-dialog)
   BEM CSS for the Dialog component backed by Radix DialogPrimitive.
   ========================================================================== */

/* -- Animations ---------------------------------------------------------- */

@keyframes qcom-dialog-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes qcom-dialog-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes qcom-dialog-zoom-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes qcom-dialog-zoom-out {
  from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  to   { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
}

/* -- Overlay ------------------------------------------------------------- */

.qcom-dialog__overlay {
  position: fixed;
  inset: 0;
  z-index: var(--qcom-dialog-overlay-z, 10000);
  background-color: var(--qcom-dialog-overlay-bg, rgba(0, 0, 0, 0.8));
}

.qcom-dialog__overlay[data-state="open"] {
  animation: qcom-dialog-fade-in 150ms ease-out;
}

.qcom-dialog__overlay[data-state="closed"] {
  animation: qcom-dialog-fade-out 150ms ease-in;
}

/* -- Content panel ------------------------------------------------------- */

.qcom-dialog__content {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: var(--qcom-dialog-content-z, 10001);
  display: grid;
  width: calc(100% - 2rem);
  max-width: var(--qcom-dialog-max-width, 32rem);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  transform: translate(-50%, -50%);
  gap: 1rem;
  border: 1px solid var(--qcom-dialog-border-color, hsl(var(--qcom-border)));
  background: #fff !important;
  color: #111827 !important;
  padding: 1.5rem;
  box-shadow: var(--qcom-dialog-shadow, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1));
  border-radius: var(--qcom-dialog-radius, var(--qcom-radius-lg));
  font-size: 16px !important;
  line-height: 1.5;
  box-sizing: border-box;
}

.qcom-dialog__content[data-state="open"] {
  animation: qcom-dialog-zoom-in 150ms ease-out;
}

.qcom-dialog__content[data-state="closed"] {
  animation: qcom-dialog-zoom-out 150ms ease-in;
}

/* Tighter padding on small screens */
@media (max-width: 480px) {
  .qcom-dialog__content {
    width: calc(100% - 1rem);
    padding: 1.25rem;
  }
}

/* -- Close button -------------------------------------------------------- */

.qcom-dialog__close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  border-radius: 0.125rem;
  opacity: 0.7;
  transition: opacity 150ms ease;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  line-height: 1;
}

.qcom-dialog__close:hover {
  opacity: 1;
}

.qcom-dialog__close:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--qcom-ring-color, hsl(var(--qcom-ring))),
              0 0 0 4px var(--qcom-ring-offset-color, hsl(var(--qcom-bg)));
}

.qcom-dialog__close:disabled {
  pointer-events: none;
}

.qcom-dialog__close[data-state="open"] {
  background-color: var(--qcom-dialog-close-open-bg, hsl(var(--qcom-accent)));
  color: var(--qcom-dialog-close-open-color, hsl(var(--qcom-muted-fg)));
}

.qcom-dialog__close-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

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

.qcom-dialog__header {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  text-align: center;
}

@media (min-width: 640px) {
  .qcom-dialog__header {
    text-align: left;
  }
}

/* -- Footer -------------------------------------------------------------- */

.qcom-dialog__footer {
  display: flex;
  flex-direction: column-reverse;
}

@media (min-width: 640px) {
  .qcom-dialog__footer {
    flex-direction: row;
    justify-content: flex-end;
    gap: 0.5rem;
  }
}

/* -- Title --------------------------------------------------------------- */

.qcom-dialog__title {
  font-size: var(--qcom-dialog-title-size, 1.125rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* -- Description --------------------------------------------------------- */

.qcom-dialog__description {
  font-size: var(--qcom-dialog-description-size, 0.875rem);
  color: var(--qcom-dialog-description-color, hsl(var(--qcom-muted-fg)));
}

/* -- Screen-reader only -------------------------------------------------- */

.qcom-dialog__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.qcom-command {
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--qcom-radius-md);
  background: hsl(var(--qcom-popover));
  color: hsl(var(--qcom-popover-fg));
}

.qcom-command__input-wrapper {
  display: flex;
  align-items: center;
  border-bottom: 1px solid hsl(var(--qcom-border));
  padding: 0 0.75rem;
}

.qcom-command__input-icon {
  margin-right: 0.5rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  opacity: 0.5;
}

.qcom-command__input {
  display: flex;
  height: 2.75rem;
  width: 100%;
  border-radius: var(--qcom-radius-md);
  background: transparent;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  outline: none;
  border: none;
}

.qcom-command__input::-moz-placeholder {
  color: hsl(var(--qcom-muted-fg));
}

.qcom-command__input::placeholder {
  color: hsl(var(--qcom-muted-fg));
}

.qcom-command__input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.qcom-command__list {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
}

.qcom-command__empty {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

.qcom-command__group {
  overflow: hidden;
  padding: 0.25rem;
  color: hsl(var(--qcom-fg));
}

.qcom-command__group [cmdk-group-heading] {
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-command__separator {
  margin: 0 -0.25rem;
  height: 1px;
  background: hsl(var(--qcom-border));
}

.qcom-command__item {
  position: relative;
  display: flex;
  cursor: default;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  align-items: center;
  border-radius: calc(var(--qcom-radius-md) - 2px);
  padding: 0.375rem 0.5rem;
  font-size: 0.875rem;
  outline: none;
}

.qcom-command__item[data-disabled="true"] {
  pointer-events: none;
  opacity: 0.5;
}

.qcom-command__item[data-selected="true"] {
  background: hsl(var(--qcom-accent));
  color: hsl(var(--qcom-accent-fg));
}

.qcom-command__shortcut {
  margin-left: auto;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-command-dialog .qcom-dialog__content {
  overflow: hidden;
  padding: 0;
}

.qcom-command-dialog [cmdk-group-heading] {
  padding: 0 0.5rem;
  font-weight: 500;
  color: hsl(var(--qcom-muted-fg));
}

.qcom-command-dialog [cmdk-group]:not([hidden])~[cmdk-group] {
  padding-top: 0;
}

.qcom-command-dialog [cmdk-group] {
  padding: 0 0.5rem;
}

.qcom-command-dialog [cmdk-input-wrapper] svg {
  width: 1.25rem;
  height: 1.25rem;
}

.qcom-command-dialog [cmdk-input] {
  height: 3rem;
}

.qcom-command-dialog [cmdk-item] {
  padding: 0.5rem 0.75rem;
}

.qcom-command-dialog [cmdk-item] svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ── Loading ── qcom-loading ───────────────────────────────── */

.qcom-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.qcom-loading__spinner {
	color: hsl(var(--qcom-primary));
	animation: qcom-spin 1s linear infinite;
}

.qcom-loading__spinner--sm {
	width: 1rem;
	height: 1rem;
}

.qcom-loading__spinner--md {
	width: 1.5rem;
	height: 1.5rem;
}

.qcom-loading__spinner--lg {
	width: 2rem;
	height: 2rem;
}

@keyframes qcom-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

