/* Delivery Location Checker — Frontend Styles
   Designed to sit cleanly inside Woodmart's single product summary column.
   Button styling matched to packnfreshuae.com's site theme colour
   (rgb(105,11,120) / #690b78) with fully rounded, pill-shaped buttons. */

.dlc-widget {
	--dlc-border: #d9d9d9;
	--dlc-primary: #000000;
	--dlc-primary-dark: #fbbc34;
	--dlc-primary-light: #f4e9f6;
	--dlc-green: #2e8b3d;
	--dlc-red: #d0342c;
	--dlc-text: #2b2b2b;
	--dlc-muted: #6c6c6c;
	font-family: inherit;
	color: var(--dlc-text);
	margin: 18px 0;
	max-width: 640px;
}

.dlc-widget * {
	box-sizing: border-box;
}

.dlc-box {
	border: 1px dashed var(--dlc-border);
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 14px;
}

/* --- Area selector box --- */
.dlc-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 10px;
}

.dlc-icon-pin {
	font-size: 20px;
}

.dlc-input-row {
	margin-bottom: 12px;
}

.dlc-area-select {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--dlc-border);
	border-radius: 30px;
	font-size: 14px;
	font-weight: 600;
	background: #fff;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%236c6c6c' d='M5.5 7.5l4.5 4.5 4.5-4.5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
}

.dlc-area-select:focus {
	outline: none;
	border-color: var(--dlc-primary);
}

.dlc-icon-img {
	width: 20px;
	height: 20px;
	object-fit: contain;
	vertical-align: middle;
}

/* --- Check Delivery button (matches site's Add to cart / Buy now pill style) --- */
.dlc-widget button.dlc-check-btn,
.dlc-widget .dlc-check-btn {
	background: var(--dlc-primary) !important;
	background-color: var(--dlc-primary) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 30px !important;
	font-weight: 700 !important;
	letter-spacing: 0.03em !important;
	padding: 12px 26px !important;
	cursor: pointer;
	font-size: 13.5px !important;
	line-height: normal !important;
	box-shadow: none !important;
	transition: background 0.15s ease, transform 0.1s ease;
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
}

.dlc-btn-icon {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.dlc-widget button.dlc-check-btn:hover,
.dlc-widget .dlc-check-btn:hover {
	background: var(--dlc-primary-dark) !important;
	background-color: var(--dlc-primary-dark) !important;
	color: #000 !important;
}

.dlc-widget button.dlc-check-btn:active,
.dlc-widget .dlc-check-btn:active {
	transform: scale(0.98);
}

.dlc-widget button.dlc-check-btn:disabled,
.dlc-widget .dlc-check-btn:disabled {
	opacity: 0.6 !important;
	cursor: default;
	transform: none;
}

.dlc-result {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.7;
	min-height: 1px;
}

.dlc-result .dlc-fastest {
	color: var(--dlc-green);
	font-weight: 700;
}

.dlc-result .dlc-fastest::before {
	content: "✔ ";
}

.dlc-result .dlc-days-note {
	color: var(--dlc-muted);
	font-weight: 400;
}

.dlc-result .dlc-order-line {
	color: var(--dlc-text);
}

.dlc-result .dlc-countdown {
	color: var(--dlc-red);
	font-weight: 700;
}

.dlc-result .dlc-receive-day {
	color: var(--dlc-green);
	font-weight: 700;
}

.dlc-result .dlc-error {
	color: var(--dlc-red);
	font-weight: 600;
}

/* --- Trust icons row --- */
.dlc-icons-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	border: 1px solid var(--dlc-border);
	border-radius: 12px;
	padding: 20px 10px;
	margin-bottom: 14px;
	position: relative;
	gap: 8px;
}

.dlc-icon-col {
	flex: 1 1 0;
	text-align: center;
	padding: 0 6px;
	position: relative;
	border-right: 1px solid #ececec;
}

.dlc-icon-col:last-child {
	border-right: none;
}

.dlc-icon-glyph {
	display: block;
	font-size: 22px;
	margin-bottom: 8px;
}

.dlc-icon-glyph-img {
	width: 35px;
	height: 35px;
	object-fit: contain;
	margin: 0 auto 8px;
}

.dlc-icon-text {
	font-size: 12.5px;
	line-height: 1.4;
	margin: 0;
	color: var(--dlc-text);
}

.dlc-icon-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: #bbb;
	font-size: 20px;
	font-weight: bold;
}

.dlc-arrow-left {
	left: -14px;
}

.dlc-arrow-right {
	right: -14px;
}

/* --- Responsive --- */
@media (max-width: 480px) {
	.dlc-icons-row {
		flex-wrap: wrap;
	}
	.dlc-icon-col {
		flex: 1 1 45%;
		border-right: none;
		margin-bottom: 14px;
	}
}

/* --- Checkout delivery estimate row ---
   Sits inside the order review totals table, directly under the shipping
   method options (woocommerce_review_order_after_shipping). */
.dlc-checkout-estimate-row th {
	padding: 12px !important;
}

.dlc-checkout-estimate {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--dlc-primary-light, #f4e9f6);
	border: 1px dashed var(--dlc-border, #d9d9d9);
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--dlc-text, #2b2b2b);
	text-align: left;
}

.dlc-checkout-estimate-icon {
	font-size: 18px;
	flex-shrink: 0;
}

.dlc-checkout-estimate-day {
	color: var(--dlc-green, #2e8b3d);
}