.cofw-whatsapp-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 10px 0;
	border: 0 !important;
	transition: opacity 0.2s ease;
}

.cofw-whatsapp-button:hover,
.cofw-whatsapp-button:focus {
	opacity: 0.9;
}

.cofw-whatsapp-button::after {
	display: none !important;
}

.cofw-whatsapp-button img {
	width: 40px;
	height: 40px;
	margin: 0 !important;
}

.cofw-block-cart-button {
	width: 100%;
	min-height: 52px;
	box-sizing: border-box;
	text-decoration: none !important;
}

.cofw-block-checkout-hidden {
	display: none !important;
}

.cofw-tabs {
	margin-top: 20px;
}

.cofw-tab-panel {
	max-width: 940px;
	padding-top: 12px;
}

.cofw-tab-panel .form-table th {
	width: 220px;
}

.cofw-color-field {
	display: flex;
	align-items: center;
	width: 220px;
	min-height: 42px;
	box-sizing: border-box;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	background: #fff;
	overflow: hidden;
}

.cofw-color-field:focus-within {
	box-shadow: 0 0 0 1px #2271b1;
	outline: 2px solid transparent;
}

.cofw-color-field .cofw-color-input {
	width: 62px;
	height: 42px;
	padding: 5px;
	border: 0;
	border-right: 1px solid #dcdcde;
	background: transparent;
	cursor: pointer;
}

.cofw-color-field .cofw-color-hex {
	flex: 1;
	min-width: 0;
	height: 42px;
	border: 0;
	box-shadow: none;
	text-transform: lowercase;
}

.cofw-color-field .cofw-color-hex:focus {
	border: 0;
	box-shadow: none;
	outline: none;
}

.cofw-radius-field {
	display: flex;
	align-items: center;
	width: 360px;
	min-height: 46px;
	box-sizing: border-box;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	background: #fff;
	overflow: hidden;
}

.cofw-radius-field:focus-within {
	box-shadow: 0 0 0 1px #2271b1;
	outline: 2px solid transparent;
}

.cofw-radius-range {
	flex: 1;
	min-width: 0;
	margin: 0 18px;
	accent-color: #3858e9;
}

.cofw-radius-value {
	display: flex;
	align-items: center;
	align-self: stretch;
	border-left: 1px solid #dcdcde;
	overflow: hidden;
}

.cofw-radius-number {
	width: 72px;
	height: 44px;
	border: 0;
	box-shadow: none;
	text-align: center;
	border: 0 !important;
}

.cofw-radius-number:focus {
	border: 0;
	box-shadow: none;
	outline: none;
}

.cofw-radius-unit {
	display: inline-flex;
	align-items: center;
	align-self: stretch;
	padding: 0 12px;
	border-left: 1px solid #dcdcde;
	color: #50575e;
	background: #f6f7f7;
}

.cofw-phone-field {
	max-width: 360px;
}

.cofw-phone-combobox {
	position: relative;
}

.cofw-phone-control {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 42px;
	box-sizing: border-box;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	background: #fff;
}

.cofw-country-toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	align-self: stretch;
	min-width: 104px;
	padding: 0 10px;
	border: 0;
	border-right: 1px solid #dcdcde;
	background: transparent;
	color: #1d2327;
	cursor: pointer;
}

.cofw-country-toggle:focus,
.cofw-phone-control:focus-within {
	box-shadow: 0 0 0 1px #2271b1;
	outline: 2px solid transparent;
}

.cofw-country-flag,
.cofw-option-flag {
	display: inline-block;
	width: 24px;
	font-size: 18px;
	line-height: 1;
}

.cofw-country-code {
	min-width: 34px;
	text-align: left;
}

.cofw-country-arrow {
	color: #50575e;
	font-size: 12px;
}

.cofw-phone-control .cofw-phone-number {
	flex: 1;
	min-width: 0;
	border: 0;
	box-shadow: none;
	font-size: 15px;
}

.cofw-phone-control .cofw-phone-number:focus {
	border: 0;
	box-shadow: none;
	outline: none;
}

.cofw-country-dropdown {
	position: absolute;
	z-index: 20;
	top: calc(100% + 4px);
	left: 0;
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.cofw-country-search {
	width: 100%;
	margin: 0;
	border: 0;
	border-bottom: 1px solid #dcdcde;
	border-radius: 4px 4px 0 0;
	box-shadow: none;
}

.cofw-country-search:focus {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
	outline: 2px solid transparent;
}

.cofw-country-list {
	max-height: 260px;
	overflow-y: auto;
	padding: 4px 0;
}

.cofw-country-option {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 8px 12px;
	border: 0;
	background: #fff;
	color: #1d2327;
	text-align: left;
	cursor: pointer;
}

.cofw-country-option[hidden],
.cofw-country-option.is-hidden {
	display: none !important;
}

.cofw-country-option:hover,
.cofw-country-option:focus,
.cofw-country-option.is-selected {
	background: #f0f0f1;
}

.cofw-option-label {
	flex: 1;
}

.cofw-option-check::before {
	content: "\2713";
	display: none;
	font-weight: 600;
}

.cofw-country-option.is-selected .cofw-option-check::before {
	display: inline;
}

.cofw-switch-field {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 32px;
	cursor: pointer;
}

.cofw-switch-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.cofw-switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	border-radius: 999px;
	background: #c3c7cf;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
	transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.cofw-switch::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	transition: transform 0.18s ease;
}

.cofw-switch-input:checked + .cofw-switch {
	background: #3858e9;
}

.cofw-switch-input:checked + .cofw-switch::before {
	transform: translateX(20px);
}

.cofw-switch-input:focus + .cofw-switch {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2271b1;
}

.cofw-switch-label {
	line-height: 1.4;
}
