/* DE-Woo Checkout — DeliverySelector */
.de-woo-delivery[hidden] {
	display: none !important;
}

.de-woo-delivery.is-inactive {
	display: none !important;
}

.de-woo-delivery {
	margin-top: 1rem;
	padding: 1.25rem 1.35rem;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

/* Самовивіз */
.de-woo-pickup-options {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.de-woo-pickup-card {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 0.85rem 1rem;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.de-woo-pickup-card:has(input:checked) {
	border-color: #2563eb;
	background: #eff6ff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.de-woo-pickup-card input {
	margin-top: 0.2rem;
}

.de-woo-pickup-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.de-woo-pickup-card__title {
	font-size: 0.9rem;
	color: #0f172a;
}

.de-woo-pickup-card__address {
	font-size: 0.8125rem;
	color: #475569;
	line-height: 1.45;
}

.de-woo-pickup-card__note {
	font-size: 0.75rem;
	color: #64748b;
}

	padding: 1.25rem 1.35rem;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.de-woo-delivery__header {
	margin-bottom: 1rem;
}

.de-woo-delivery__title {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
}

.de-woo-delivery__intro {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #64748b;
}

.de-woo-steps {
	display: flex;
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	gap: 0.35rem;
	counter-reset: dewoostep;
}

.de-woo-steps__item {
	flex: 1;
	text-align: center;
	padding: 0.45rem 0.35rem;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #94a3b8;
	background: #f1f5f9;
	border-radius: 8px;
	transition: background 0.2s, color 0.2s;
}

.de-woo-steps__item.is-active {
	color: #1d4ed8;
	background: #dbeafe;
}

.de-woo-steps__item.is-done {
	color: #047857;
	background: #d1fae5;
}

.de-woo-delivery__step {
	margin-bottom: 1.1rem;
	padding-bottom: 0.25rem;
}

.de-woo-delivery__step[hidden] {
	display: none !important;
}

.de-woo-delivery__carriers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.de-woo-carrier-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-width: 108px;
	padding: 0.75rem 0.85rem;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #334155;
	transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.1s;
}

.de-woo-carrier-btn__logo {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.de-woo-carrier-btn__label {
	line-height: 1.2;
	text-align: center;
}

.de-woo-carrier-btn:hover {
	border-color: #93c5fd;
	background: #f8fafc;
}

.de-woo-carrier-btn.is-active {
	border-color: #2563eb;
	background: #eff6ff;
	color: #1e40af;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.de-woo-label {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #1e293b;
}

.de-woo-sublabel {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: #64748b;
}

.de-woo-hint {
	margin: 0.35rem 0 0.5rem;
	font-size: 0.75rem;
	line-height: 1.45;
	color: #64748b;
}

.de-woo-hint--inline {
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.de-woo-hint--cost {
	margin: 0.35rem 0 0;
	font-size: 0.6875rem;
}

.de-woo-select.de-woo-warehouse {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.de-woo-warehouse-list {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	max-height: 14rem;
	overflow-y: auto;
	margin: 0;
	padding: 0.15rem 0;
}

.de-woo-warehouse-item {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.55rem 0.75rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #0f172a;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.de-woo-warehouse-item:hover {
	border-color: #93c5fd;
	background: #f8fafc;
}

.de-woo-warehouse-item.is-selected {
	border-color: #2563eb;
	background: #eff6ff;
	box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
	font-weight: 600;
}

.de-woo-warehouse-picked {
	margin: 0.5rem 0 0;
	font-size: 0.8125rem;
	color: #047857;
	font-weight: 600;
}

.de-woo-warehouse-search {
	margin-bottom: 0.5rem;
}

.de-woo-input,
.de-woo-select {
	width: 100%;
	padding: 0.6rem 0.8rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 0.875rem;
	box-sizing: border-box;
	background: #fff;
	color: #0f172a;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.de-woo-input:focus,
.de-woo-select:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.de-woo-input.de-woo-input--locked {
	background: #f1f5f9;
	color: #475569;
	cursor: not-allowed;
}

.de-woo-input::placeholder {
	color: #94a3b8;
}

.de-woo-row {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.de-woo-col {
	flex: 1;
	min-width: 120px;
}

.de-woo-col--sm {
	flex: 0 0 90px;
	min-width: 80px;
}

.de-woo-autocomplete {
	list-style: none;
	margin: 0.25rem 0 0;
	padding: 0;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	max-height: 220px;
	overflow-y: auto;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.de-woo-autocomplete[hidden] {
	display: none !important;
}

.de-woo-autocomplete__item {
	padding: 0.6rem 0.85rem;
	cursor: pointer;
	font-size: 0.875rem;
	border-bottom: 1px solid #f1f5f9;
}

.de-woo-autocomplete__item:last-child {
	border-bottom: none;
}

.de-woo-autocomplete__item:hover {
	background: #f1f5f9;
}

.de-woo-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #1e293b;
	cursor: pointer;
}

.de-woo-checkbox input {
	margin-top: 0.15rem;
}

.de-woo-cod-amount {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px dashed #e2e8f0;
}

.de-woo-delivery__cost {
	padding: 0.9rem 1rem;
	background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
	border: 1px solid #a7f3d0;
	border-radius: 10px;
	font-size: 0.875rem;
}

.de-woo-delivery__cost[hidden] {
	display: none !important;
}

.de-woo-delivery__cost-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.de-woo-delivery__cost-label {
	color: #065f46;
	font-weight: 500;
}

#de-woo-cost-value {
	font-size: 1.125rem;
	color: #047857;
}

.de-woo-delivery__error {
	padding: 0.75rem 0.9rem;
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
	border-radius: 8px;
	font-size: 0.875rem;
	line-height: 1.45;
}

.de-woo-delivery__error[hidden] {
	display: none !important;
}

/* Brand footer — dgtlaesthetics.com */
.de-woo-delivery .de-woo-brand-footer {
	margin-top: 1.25rem;
	padding-top: 0.9rem;
	border-top: 1px dashed #e2e8f0;
}

.de-woo-brand-footer__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	text-decoration: none;
	transition: opacity 0.15s;
}

.de-woo-brand-footer__link:hover {
	opacity: 0.85;
}

.de-woo-brand-footer__logo {
	display: block;
	max-width: 180px;
	width: auto;
	height: auto;
	max-height: 36px;
	object-fit: contain;
}

@media (max-width: 480px) {
	.de-woo-delivery {
		padding: 1rem;
	}

	.de-woo-steps__item {
		font-size: 0.625rem;
		padding: 0.4rem 0.2rem;
	}

	.de-woo-delivery__carriers {
		flex-direction: column;
	}

	.de-woo-carrier-btn {
		width: 100%;
		text-align: center;
	}

	.de-woo-col--sm {
		flex: 1;
	}
}
