.mcrm-store-bar {
	display: none;
}

.wcsb-store--custom-chrome .mcrm-store-bar {
	padding: 0 0 10px;
}

.mcrm-store-bar__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #dbeafe;
	background: #eff6ff;
	color: #1d4ed8;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 999px;
	cursor: pointer;
}

.mcrm-store-bar__btn:hover {
	background: #dbeafe;
}

.mcrm-store-modal-open {
	overflow: hidden;
}

.mcrm-store-modal[hidden] {
	display: none !important;
}

.mcrm-store-modal {
	position: fixed;
	inset: 0;
	z-index: 12000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0;
}

@media (min-width: 541px) {
	.mcrm-store-modal {
		align-items: center;
		padding: 16px;
	}
}

.mcrm-store-modal__shade {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.mcrm-store-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 480px;
	background: #fff;
	border-radius: 14px 14px 0 0;
	max-height: 92dvh;
	overflow: auto;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

@media (min-width: 541px) {
	.mcrm-store-modal__dialog {
		border-radius: 14px;
	}
}

.mcrm-store-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 16px 8px;
	border-bottom: 1px solid #e5e7eb;
}

.mcrm-store-modal__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	color: #111827;
}

.mcrm-store-modal__subtitle {
	margin: 4px 0 0;
	font-size: 0.875rem;
	color: #6b7280;
}

.mcrm-store-modal__close {
	flex-shrink: 0;
	background: transparent;
	border: 0;
	font-size: 24px;
	line-height: 1;
	width: 44px;
	height: 44px;
	cursor: pointer;
	color: #6b7280;
	border-radius: 8px;
}

.mcrm-store-modal__body {
	padding: 16px;
}

.mcrm-store-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mcrm-store-form label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #374151;
}

.mcrm-store-form input,
.mcrm-store-form textarea {
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 1rem;
	font-family: inherit;
}

.mcrm-store-form__submit {
	border: 0;
	background: #2563eb;
	color: #fff;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	padding: 12px 16px;
	border-radius: 999px;
	cursor: pointer;
	margin-top: 4px;
}

.mcrm-store-form__submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.mcrm-store-form__error {
	color: #b91c1c;
	font-size: 0.8125rem;
	margin: 0;
}

.mcrm-store-form__success {
	margin: 12px 0;
	text-align: center;
	color: #047857;
	font-size: 0.9375rem;
	line-height: 1.5;
}
