/* ---- Contact Supplier button ---- */
.csb-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: var(--csb-accent, #1e3a8a);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: filter .12s ease;
}
.csb-btn:hover,
.csb-btn:focus-visible {
	filter: brightness(.9);
	color: #fff;
}
.csb-btn__icon {
	display: inline-block;
	font-size: .85em;
	transform: rotate(-45deg);
}

/* ---- Modal (native <dialog>, renders in the browser top layer) ---- */
dialog.csb-modal {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 16px;
	border: 0;
	background: transparent;
	box-sizing: border-box;
	overflow: auto;
}
dialog.csb-modal:not([open]) { display: none; }
dialog.csb-modal[open] {
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2147483647;
}
dialog.csb-modal::backdrop { background: rgba(0, 0, 0, .45); }
.csb-modal__dialog {
	width: 100%;
	max-width: 400px;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
	animation: csb-pop .15s ease-out;
}
@keyframes csb-pop {
	from { transform: scale(.96); opacity: 0; }
	to   { transform: scale(1);   opacity: 1; }
}

/* ---- Blue header bar ---- */
.csb-modal__header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 22px;
	background: var(--csb-head, #0a3d91);
}
.csb-modal__title {
	flex: 1;
	min-width: 0;
	margin: 0;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}
.csb-modal__header .csb-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	min-width: 0;
	min-height: 0;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 20px;
	line-height: 1;
	border-radius: 8px;
	cursor: pointer;
	flex-shrink: 0;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
}
.csb-modal__header .csb-modal__close:hover {
	background: rgba(255, 255, 255, .18);
	color: #fff;
}

/* ---- Method rows ---- */
.csb-modal__body {
	padding: 16px 20px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.csb-method {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	text-decoration: none;
	transition: background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.csb-method:hover {
	border-color: #dfe1e5;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}
.csb-method__icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.csb-method__icon svg,
.csb-method__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.csb-method__text { flex: 1; min-width: 0; }
.csb-method__label {
	display: block;
	font-size: 13px;
	color: #9097a1;
	line-height: 1.3;
}
.csb-method__value {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #16181d;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.csb-method__chevron {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1a1c20;
	flex-shrink: 0;
}
.csb-method__chevron svg { width: 18px; height: 18px; }

body.csb-modal-open { overflow: hidden; }

/* ---- Content-only block (no button / no dialog) ---- */
.csb-content {
	width: 100%;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 18px;
	overflow: hidden;
}
.csb-content .csb-modal__body { padding: 16px 20px 20px; }
