/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.tax-and-duty-estimate {
	background: linear-gradient(180deg, #fff 0%, #fafbfd 100%);
	border: 1px solid #d5d9d9;
	border-radius: 14px;
	padding: 14px 16px;
	margin: 16px 0;
	color: #0f1111;
	box-shadow: 0 1px 2px rgba(15, 17, 17, 0.08);
}

.tax-and-duty-fees-line {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
	font-size: 14px;
	line-height: 1.4;
}

.tax-and-duty-fees-value {
	font-weight: 600;
	color: #0f1111;
}

.tax-and-duty-fees-copy {
	color: #565959;
}

.tax-and-duty-details-button,
.tax-and-duty-delivery-country-link,
.tax-and-duty-modal-cancel,
.tax-and-duty-modal-apply {
	border: 0;
	background: none;
	padding: 0;
	cursor: pointer;
	font: inherit;
}

.tax-and-duty-details-button,
.tax-and-duty-delivery-country-link {
	color: #007185;
}

.tax-and-duty-details-button:hover,
.tax-and-duty-delivery-country-link:hover {
	color: #c7511f;
	text-decoration: underline;
}

.tax-and-duty-delivery-line {
	margin-top: 10px;
	font-size: 14px;
	font-weight: 400;
	color: #0f1111;
}

.tax-and-duty-delivery-country-link {
	display: inline;
}

.tax-and-duty-delivery-note {
	margin-top: 6px;
	font-size: 14px;
	color: #565959;
}

.tax-and-duty-modal[hidden] {
	display: none;
}

.tax-and-duty-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
}

.tax-and-duty-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 17, 17, 0.45);
}

.tax-and-duty-modal-dialog {
	position: relative;
	width: min(92vw, 420px);
	margin: 10vh auto 0;
	background: #fff;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 14px 30px rgba(15, 17, 17, 0.24);
}

.tax-and-duty-modal-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.tax-and-duty-modal-copy {
	margin-top: 8px;
	color: #565959;
	font-size: 14px;
	line-height: 1.5;
}

.tax-and-duty-country-search {
	width: 100%;
	margin-top: 16px;
	border: 1px solid #888c8c;
	border-radius: 10px;
	padding: 10px 12px;
	background: #fff;
	font-size: 15px;
}

.tax-and-duty-modal .tax-and-duty-country {
	width: 100%;
	margin-top: 12px;
	border: 1px solid #888c8c;
	border-radius: 10px;
	padding: 10px 12px;
	background: #fff;
	font-size: 15px;
}

.tax-and-duty-modal .select2-container {
	width: 100% !important;
	margin-top: 12px;
}

.tax-and-duty-modal .select2-container .select2-selection--single {
	height: auto;
	min-height: 46px;
	border: 1px solid #888c8c;
	border-radius: 10px;
	padding: 8px 12px;
}

.tax-and-duty-modal .select2-container .select2-selection__rendered {
	line-height: 28px;
	padding-left: 0;
}

.tax-and-duty-modal .select2-container .select2-selection__arrow {
	height: 100%;
}

.tax-and-duty-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 18px;
}

.tax-and-duty-modal-cancel,
.tax-and-duty-modal-apply {
	border-radius: 999px;
	padding: 10px 16px;
}

.tax-and-duty-modal-cancel {
	background: #f7fafa;
	color: #0f1111;
}

.tax-and-duty-modal-apply {
	background: #ffd814;
	color: #0f1111;
	font-weight: 700;
}

.tax-and-duty-details-dialog {
	max-width: 460px;
}

.tax-and-duty-breakdown-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	font-size: 15px;
	border-bottom: 1px solid #eaeded;
}

.tax-and-duty-breakdown-total {
	margin-top: 4px;
	font-weight: 700;
	border-bottom: 0;
}

body.tax-and-duty-modal-open {
	overflow: hidden;
}
