/* ==========================================================================
   Woo Delivery Timeline v2.1 — frontend
   Color custom properties are injected via :root by the plugin.
   ========================================================================== */
.wdt-widget {
	font-family: inherit;
	color: #2b2f38;
	margin: 1.2em 0;
	max-width: 700px;
}

/* -------- compact trigger (Deliver to / Get it by) -------- */
.wdt-trigger {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	box-shadow: none;
	padding: 0 0 12px;
	margin: 0;
	cursor: pointer;
	font-size: 15px;
	line-height: 1.45;
	color: #2b2f38;
	text-transform: none;
	letter-spacing: normal;
}
.wdt-trigger:hover,
.wdt-trigger:focus { background: none; }
.wdt-trigger-line { display: flex; align-items: center; gap: 8px; }
.wdt-trigger-to .wdt-country-name { color: var(--wdt-selected, #1a73e8); }
.wdt-trigger-to:hover .wdt-country-name { text-decoration: underline; }
.wdt-chevron { color: #8a97a6; font-size: 11px; margin-left: 2px; }
.wdt-trigger-by { color: #5f6b7a; }
.wdt-trigger-by strong { color: #2b2f38; }

/* -------- flags -------- */
.wdt-flag-img {
	width: 24px;
	height: 18px;
	object-fit: cover;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0,0,0,.08);
	flex: 0 0 24px;
	display: block;
}
.wdt-flag-code {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	width: 24px;
	height: 18px;
	padding: 0 3px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .3px;
	color: #5f6b7a;
	background: #eef1f5;
	border-radius: 3px;
	flex: 0 0 auto;
}

/* -------- small inline icon (truck) -------- */
.wdt-mini-icon { display: inline-flex; width: 22px; height: 22px; }
.wdt-mini-icon svg { width: 22px; height: 22px; fill: var(--wdt-primary, #0b2a4a); }

/* -------- "Estimated Delivery" header -------- */
.wdt-timeline-head {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	color: #2b2f38;
	margin-bottom: 14px;
}
.wdt-timeline-head strong { color: var(--wdt-primary, #0b2a4a); }

/* -------- timeline (vip.txt style: bordered box + chevron-pierced dividers) -------- */
.wdt-steps {
	display: flex;
	align-items: center;
	border: 1px solid var(--wdt-border, #e0e4ea);
	background: #fff;
	border-radius: 6px;
}
.wdt-step {
	flex: 1;
	position: relative;
	text-align: center;
	padding: 20px 10px;
}
.wdt-step:not(:last-child) {
	border-right: 1px solid var(--wdt-border, #e0e4ea);
}
.wdt-step:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -8px;
	width: 14px;
	height: 14px;
	background: #fff;
	border-top: 1px solid var(--wdt-border, #e0e4ea);
	border-right: 1px solid var(--wdt-border, #e0e4ea);
	transform: translateY(-50%) rotate(45deg);
	z-index: 2;
}
.wdt-step-icon { display: flex; justify-content: center; align-items: center; margin-bottom: 8px; }
.wdt-step-icon svg { width: 28px; height: 28px; fill: var(--wdt-primary, #0b2a4a); }
.wdt-step-name {
	display: block;
	color: var(--wdt-primary, #0b2a4a);
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 4px;
}
.wdt-step-date { display: block; color: var(--wdt-date, #000); font-size: 14px; }

.wdt-cancel-note {
	margin: 14px 2px 0;
	font-size: 14px;
	color: #555;
	line-height: 1.5;
}

/* ==========================================================================
   Popup (country / currency picker)
   ========================================================================== */
.wdt-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 28, 38, .45);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	padding: 16px;
}
.wdt-overlay.is-open { display: flex; }
body.wdt-no-scroll { overflow: hidden; }

.wdt-popup {
	background: #fff;
	border-radius: 14px;
	width: 100%;
	max-width: 380px;
	max-height: 86vh;
	display: flex;
	flex-direction: column;
	padding: 22px;
	position: relative;
	box-shadow: 0 24px 60px rgba(20, 28, 38, .35);
	font-family: inherit;
}
.wdt-close {
	position: absolute;
	top: 12px;
	right: 12px;
	background: none;
	border: 0;
	box-shadow: none;
	font-size: 16px;
	line-height: 1;
	color: #8a97a6;
	cursor: pointer;
	padding: 6px;
}
.wdt-popup-title { font-size: 17px; font-weight: 700; color: #21364a; margin: 0 0 12px; }
.wdt-search {
	width: 100% !important;
	box-sizing: border-box !important;
	height: auto !important;
	min-height: 46px !important;
	margin: 0 0 12px !important;
	padding: 12px 14px !important;
	border: 1px solid #d9e0e8 !important;
	border-radius: 8px !important;
	font-size: 15px !important;
	line-height: 1.4 !important;
	color: #2b3a4b !important;
	background: #fff !important;
	box-shadow: none !important;
	outline: none !important;
}
.wdt-search:focus { border-color: var(--wdt-selected, #1a73e8) !important; box-shadow: none !important; }

.wdt-country-list {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	overflow-y: auto;
	flex: 1;
	min-height: 120px;
	border: 1px solid #eef1f5;
	border-radius: 8px;
}
.wdt-li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	font-size: 15px;
	color: #2b3a4b;
	cursor: pointer;
}
.wdt-li:hover { background: #f4f7fb; }
.wdt-li.is-selected { background: var(--wdt-selected, #1a73e8); color: #fff; }
.wdt-li.is-selected .wdt-li-cur { color: rgba(255, 255, 255, .85); }
.wdt-li-name {
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.wdt-li-cur {
	flex: 0 0 auto;
	min-width: 54px;
	text-align: right;
	color: #8a97a6;
	font-size: 14px;
}

.wdt-save {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	box-sizing: border-box !important;
	height: auto !important;
	min-height: 48px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: var(--wdt-accent, #ff6b1a) !important;
	background-image: none !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-align: center !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	padding: 12px 16px !important;
	cursor: pointer;
	box-shadow: none !important;
	transition: filter .15s ease;
}
.wdt-save:hover { filter: brightness(.94); color: #fff !important; }
.wdt-policy {
	display: block;
	text-align: center;
	margin-top: 14px;
	font-size: 13px;
	color: #6b7a8d;
	text-decoration: none;
}
.wdt-policy:hover { text-decoration: underline; }

/* -------- responsive -------- */
@media (max-width: 480px) {
	.wdt-step { padding: 14px 6px; }
	.wdt-step-name { font-size: 13px; }
	.wdt-step-date { font-size: 12px; }
	.wdt-step-icon svg { width: 24px; height: 24px; }
}

/* Checkout: estimated delivery under each shipping method */
/* min-height reserves the line's space up-front so the shipping row keeps the same
   height whether or not the text has been filled in yet — no visible jump on load. */
.wdt-co-estimate{display:block;width:100%;flex-basis:100%;margin:0;padding:5px 0 0 28px;font-size:12px;line-height:1.4;min-height:22px;color:#6b7280;clear:both;}
.wdt-co-estimate strong{font-weight:600;}

/* Reassurance badge under the estimated delivery line (Option A) */
.wdt-badge{
	display:inline-flex !important;
	align-items:center !important;
	gap:7px !important;
	background:#e9f3fb !important;
	color:#0c447c !important;
	border:0 !important;
	border-radius:999px !important;
	padding:6px 13px !important;
	margin:-18px 0 15px !important;
	font-size:12.5px !important;
	font-weight:400 !important;
	line-height:1.35 !important;
	letter-spacing:normal !important;
	text-transform:none !important;
	box-shadow:none !important;
	width:auto !important;
	max-width:100% !important;
}
.wdt-badge span{font-size:12.5px !important;font-weight:400 !important;color:#0c447c !important;}
.wdt-badge strong{font-weight:700 !important;color:#0c447c !important;}
.wdt-badge-ico{flex:0 0 auto;display:block;width:15px;height:15px;color:#0c447c;}
