.bdl-manager,
.bdl-checkout-panel,
.bdl-order-location {
	background: var(--blissy-cream-soft, #f7eadb);
	border: 1px solid rgba(50, 27, 19, 0.14);
	border-radius: var(--blissy-radius, 8px);
	color: var(--blissy-ink, #100b08);
	margin: 0 0 24px;
	padding: 22px;
}

.bdl-manager__header {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.bdl-manager__header h2,
.bdl-location-form h3,
.bdl-checkout-panel h3,
.bdl-order-location h2 {
	color: var(--blissy-deep, #321b13);
	margin: 0 0 8px;
}

.bdl-manager__header p,
.bdl-checkout-panel p {
	margin: 0 0 14px;
}

.bdl-location-list {
	display: grid;
	gap: 12px;
	margin-bottom: 24px;
}

.bdl-section-title {
	color: var(--blissy-deep, #321b13);
	font-size: 1.05rem;
	margin: 0 0 12px;
}

.bdl-location-card,
.bdl-checkout-option {
	background: var(--blissy-white, #fffaf4);
	border: 1px solid rgba(50, 27, 19, 0.12);
	border-radius: 8px;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 16px;
}

.bdl-location-card.is-default,
.bdl-checkout-option:has(input:checked) {
	border-color: var(--blissy-caramel, #b77a43);
	box-shadow: 0 10px 28px rgba(50, 27, 19, 0.1);
}

.bdl-location-card strong,
.bdl-checkout-option strong {
	display: block;
	font-weight: 800;
}

.bdl-location-card span,
.bdl-location-card small,
.bdl-checkout-option small,
.bdl-checkout-option em {
	color: var(--blissy-muted, #775f50);
	display: block;
	font-style: normal;
	line-height: 1.5;
	margin-top: 4px;
}

.bdl-location-card__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.bdl-location-card__actions em {
	background: rgba(183, 122, 67, 0.14);
	border-radius: 999px;
	color: var(--blissy-cocoa, #6f3e28);
	font-style: normal;
	font-weight: 800;
	padding: 4px 10px;
}

.bdl-map-action-group {
	align-items: center;
	background: rgba(255, 250, 244, 0.72);
	border: 1px solid rgba(50, 27, 19, 0.12);
	border-radius: 8px;
	display: inline-flex;
	gap: 8px;
	padding: 5px;
}

.bdl-icon-action {
	align-items: center;
	color: var(--blissy-deep, #321b13);
	display: inline-flex;
	font-weight: 800;
	gap: 7px;
	line-height: 1.2;
	padding: 6px 8px;
}

.bdl-map-icon {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	flex: 0 0 28px;
	height: 28px;
	justify-content: center;
	width: 28px;
}

.bdl-map-icon svg {
	fill: currentColor;
	height: 18px;
	width: 18px;
}

.bdl-map-icon--google {
	background: #e9f2ff;
	color: #1a73e8;
}

.bdl-map-icon--osm {
	background: #e9f7eb;
	color: #2e7d32;
}

.bdl-copy-link {
	background: #fff !important;
	border: 1px solid rgba(50, 27, 19, 0.16) !important;
	border-radius: 6px;
	color: var(--blissy-cocoa, #6f3e28) !important;
	cursor: pointer;
	font-weight: 800;
	min-height: 34px;
	padding: 6px 10px;
}

.bdl-copy-link.is-copied {
	background: rgba(183, 122, 67, 0.14) !important;
	color: var(--blissy-deep, #321b13) !important;
}

.bdl-inline-form {
	margin: 0;
}

.bdl-button-link {
	background: transparent !important;
	border-color: rgba(50, 27, 19, 0.18) !important;
	color: var(--blissy-cocoa, #6f3e28) !important;
}

.bdl-manager .button,
.bdl-checkout-panel .button,
.bdl-order-location .button {
	border-radius: 8px;
	font-weight: 800;
}

.bdl-primary-button,
.bdl-location-form .button.alt,
.bdl-location-form button[type="submit"] {
	background: var(--blissy-deep, #321b13) !important;
	border-color: var(--blissy-deep, #321b13) !important;
	color: var(--blissy-white, #fffaf4) !important;
	min-height: 46px;
	padding-inline: 20px !important;
}

.bdl-primary-button:hover,
.bdl-location-form .button.alt:hover,
.bdl-location-form button[type="submit"]:hover {
	background: var(--blissy-cocoa, #6f3e28) !important;
	border-color: var(--blissy-cocoa, #6f3e28) !important;
	color: var(--blissy-white, #fffaf4) !important;
}

.bdl-location-form {
	background: var(--blissy-white, #fffaf4);
	border-radius: 8px;
	padding: 18px;
}

.bdl-form-grid {
	display: grid;
	gap: 14px 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bdl-form-grid .form-row {
	margin: 0;
}

.bdl-form-grid__wide {
	grid-column: 1 / -1;
}

.bdl-location-form label {
	color: var(--blissy-deep, #321b13);
	display: block;
	font-weight: 800;
	margin-bottom: 6px;
}

.bdl-location-form input[type="text"],
.bdl-location-form input[type="number"],
.bdl-location-form textarea,
.bdl-location-form select {
	background: #fff;
	border: 1px solid rgba(50, 27, 19, 0.18);
	border-radius: 8px;
	color: var(--blissy-ink, #100b08);
	padding: 11px 12px;
	width: 100%;
}

.bdl-coordinate-preview {
	color: var(--blissy-muted, #775f50);
	margin: 0 0 10px;
}

.bdl-coordinate-editor {
	align-items: end;
	display: grid;
	gap: 10px 12px;
	grid-template-columns: minmax(160px, 1fr) minmax(140px, 180px) minmax(140px, 180px);
	margin: 0 0 12px;
}

.bdl-coordinate-editor .form-row,
.bdl-coordinate-editor .bdl-coordinate-preview {
	margin: 0;
}

.bdl-map.is-unavailable {
	align-items: center;
	background: #fff;
	display: flex;
	justify-content: center;
}

.bdl-map-fallback {
	color: var(--blissy-muted, #775f50);
	max-width: 460px;
	padding: 22px;
	text-align: center;
}

.bdl-check {
	align-items: center;
	display: flex !important;
	gap: 10px;
	margin: 0;
}

.bdl-check input {
	flex: 0 0 auto;
}

.bdl-map-tools {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 18px 0 12px;
}

.bdl-map-tools span {
	color: var(--blissy-muted, #775f50);
}

.bdl-map-caution {
	background: rgba(217, 169, 95, 0.16);
	border: 1px solid rgba(183, 122, 67, 0.25);
	border-radius: 8px;
	color: var(--blissy-deep, #321b13);
	display: grid;
	gap: 3px;
	margin: 0 0 12px;
	padding: 12px 14px;
}

.bdl-map-caution strong {
	font-weight: 900;
}

.bdl-map-caution span {
	color: var(--blissy-cocoa, #6f3e28);
}

.bdl-map-search {
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin: 0 0 12px;
	position: relative;
}

.bdl-map-search input[type="search"] {
	background: #fff;
	border: 1px solid rgba(50, 27, 19, 0.18);
	border-radius: 8px;
	color: var(--blissy-ink, #100b08);
	min-height: 40px;
	padding: 8px 12px;
	width: 100%;
}

.bdl-map-search-results {
	background: #fff;
	border: 1px solid rgba(50, 27, 19, 0.14);
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(16, 11, 8, 0.14);
	display: none;
	grid-column: 1 / -1;
	max-height: 230px;
	overflow: auto;
	z-index: 5;
}

.bdl-map-search-results.is-open {
	display: grid;
}

.bdl-map-search-results button,
.bdl-map-search-message {
	background: #fff;
	border: 0;
	border-bottom: 1px solid rgba(50, 27, 19, 0.08);
	color: var(--blissy-deep, #321b13);
	cursor: pointer;
	padding: 10px 12px;
	text-align: start;
}

.bdl-map-search-results button:hover {
	background: var(--blissy-cream-soft, #f7eadb);
}

.bdl-map {
	background: #e9e2da;
	border: 1px solid rgba(50, 27, 19, 0.16);
	border-radius: 8px;
	height: 360px;
	overflow: hidden;
	width: 100%;
}

.bdl-form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 0;
}

.bdl-map-link-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bdl-checkout-options {
	display: grid;
	gap: 10px;
	margin: 14px 0;
}

.bdl-delivery-methods {
	background: var(--blissy-white, #fffaf4);
	border: 1px solid rgba(50, 27, 19, 0.12);
	border-radius: 8px;
	margin: 0 0 16px;
	padding: 14px;
}

.bdl-delivery-methods h4 {
	color: var(--blissy-deep, #321b13);
	font-size: 1rem;
	margin: 0 0 10px;
}

.bdl-delivery-methods__body ul {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bdl-delivery-methods__body li {
	align-items: flex-start;
	background: rgba(247, 234, 219, 0.56);
	border: 1px solid rgba(50, 27, 19, 0.1);
	border-radius: 8px;
	display: flex;
	gap: 10px;
	padding: 10px 12px;
}

.bdl-delivery-methods__body input {
	flex: 0 0 auto;
	margin-top: 5px;
}

.bdl-delivery-methods__body label {
	color: var(--blissy-deep, #321b13);
	cursor: pointer;
	font-weight: 800;
	margin: 0;
}

.bdl-delivery-methods__empty {
	color: var(--blissy-muted, #775f50);
	margin: 0;
}

.bdl-delivery-fee-summary th,
.bdl-delivery-fee-summary td {
	color: var(--blissy-deep, #321b13);
	font-weight: 800;
}

.bdl-delivery-fee-pending {
	color: var(--blissy-muted, #775f50);
	font-weight: 700;
}

.bdl-checkout-option {
	cursor: pointer;
	justify-content: flex-start;
}

.bdl-checkout-option input {
	flex: 0 0 auto;
	margin-top: 5px;
}

[dir="rtl"] .bdl-checkout-option input {
	margin-left: 8px;
}

body.blissy-lang-en .bdl-manager,
body.blissy-lang-en .bdl-checkout-panel,
body.blissy-lang-en .bdl-order-location {
	font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.bdl-admin-rules input[type="text"],
.bdl-admin-rules input[type="number"] {
	width: 100%;
}

.bdl-admin-rules th,
.bdl-admin-rules td {
	vertical-align: middle;
}

.bdl-admin-map-modal {
	align-items: center;
	background: rgba(16, 11, 8, 0.5);
	display: none;
	inset: 0;
	justify-content: center;
	position: fixed;
	z-index: 100000;
}

.bdl-admin-map-modal.is-open {
	display: flex;
}

.bdl-admin-map-dialog {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 24px 80px rgba(16, 11, 8, 0.28);
	box-sizing: border-box;
	max-width: min(920px, calc(100vw - 32px));
	padding: 20px;
	width: 920px;
}

.bdl-admin-map-header,
.bdl-admin-map-actions {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

.bdl-admin-map-header h2 {
	margin: 0;
}

.bdl-admin-map {
	background: #e9e2da;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	height: 480px;
	margin: 14px 0;
	overflow: hidden;
	width: 100%;
}

.bdl-admin-map-actions strong {
	color: #321b13;
	font-size: 14px;
}

.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-shipping-fields {
	display: none;
}

.woocommerce-order-received .blissy-order-addresses > .woocommerce-columns,
.woocommerce-order-received .blissy-order-addresses > .woocommerce-column__title,
.woocommerce-order-received .blissy-order-addresses > address {
	display: none;
}

@media (max-width: 720px) {
	.bdl-manager__header {
		display: grid;
	}

	.woocommerce-account .woocommerce:has(.bdl-manager),
	.page-id-9 .woocommerce:has(.bdl-manager) {
		grid-template-columns: 1fr !important;
	}

	.bdl-manager,
	.bdl-checkout-panel,
	.bdl-order-location {
		padding: 16px;
	}

	.bdl-location-card {
		display: grid;
	}

	.bdl-location-card__actions {
		justify-content: flex-start;
	}

	.bdl-form-grid {
		grid-template-columns: 1fr;
	}

	.bdl-coordinate-editor {
		grid-template-columns: 1fr;
	}

	.bdl-map {
		height: 300px;
	}
}
