.dlp-finder { width: 100%; max-width: 1100px; margin: 0 auto; }

/*
 * Elementor's flex-based Container system (.e-con-inner etc) doesn't
 * stretch a single-child widget wrapper to fill the row by default - it
 * sizes to content and packs it to the start, which left .dlp-finder's own
 * centering with nothing to actually center within (its immediate parent
 * was already exactly as wide as .dlp-finder itself). Scoped to this
 * widget's own type-specific class so it can't affect any other widget.
 */
.elementor-widget-dlp_price_finder .elementor-widget-container,
.elementor-widget-dlp_package_summary .elementor-widget-container {
	width: 100%;
	display: flex;
	justify-content: center;
}
.dlp-search-form {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 14px;
	align-items: end;
	margin-bottom: 20px;
}
.dlp-search-btn { justify-self: start; }
.dlp-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dlp-field label { font-weight: 600; font-size: 14px; }
.dlp-field input, .dlp-field select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 15px;
	box-sizing: border-box;
}
.dlp-field input:focus, .dlp-field select:focus {
	outline: 2px solid #2271b1;
	outline-offset: 1px;
}
.dlp-field-error { color: #b32d2e; font-size: 13px; min-height: 18px; }
.dlp-search-btn {
	padding: 11px 24px;
	background: #1d2939;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.dlp-search-btn:hover { background: #101828; }
.dlp-search-btn:focus { outline: 2px solid #2271b1; outline-offset: 2px; }

.dlp-status { min-height: 20px; margin-bottom: 12px; font-size: 14px; }
.dlp-status.dlp-status-error { color: #b32d2e; }

.dlp-results-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	flex-wrap: wrap;
	gap: 12px;
}
.dlp-results-left {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.dlp-field-sort {
	flex-direction: row;
	align-items: center;
	gap: 8px;
	min-width: 0;
}
.dlp-sort-label { font-weight: 600; font-size: 14px; white-space: nowrap; }
.dlp-sort-select {
	padding: 6px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
}
.dlp-change-postcode-btn, .dlp-change-package-btn {
	background: none;
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 6px 14px;
	cursor: pointer;
}

.dlp-results-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.dlp-results-grid[data-columns="1"] { grid-template-columns: 1fr; }
.dlp-results-grid[data-columns="2"] { grid-template-columns: repeat(2, 1fr); }
.dlp-results-grid[data-columns="4"] { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) { .dlp-results-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 782px) {
	.dlp-search-form { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.dlp-results-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
	.dlp-search-form { grid-template-columns: 1fr; }
	.dlp-search-btn { justify-self: stretch; }
	.dlp-results-header { flex-direction: column; align-items: stretch; }
	.dlp-results-left { flex-direction: column; align-items: stretch; }
	.dlp-field-sort { flex-direction: column; align-items: stretch; gap: 4px; }
	.dlp-change-postcode-btn { width: 100%; }
}

.dlp-card {
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #fff;
	position: relative;
}
.dlp-card--highlighted { border: 2px solid #2271b1; box-shadow: 0 4px 16px rgba(34,113,177,0.15); }
.dlp-card--compact { padding: 14px; gap: 6px; }
.dlp-card--female { border-left: 4px solid #d6336c; }
.dlp-card-badge {
	position: absolute;
	top: -10px;
	right: 16px;
	background: #2271b1;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 10px;
	text-transform: uppercase;
}
.dlp-card-female-badge {
	display: inline-block;
	background: #fbe4ec;
	color: #a3214e;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 10px;
	width: fit-content;
}
.dlp-card-title { font-size: 18px; font-weight: 700; margin: 0; }
.dlp-card-price { font-size: 26px; font-weight: 800; }
.dlp-card-price--contact { font-size: 20px; color: #2271b1; }
.dlp-card-price-original { font-size: 16px; font-weight: 400; color: #999; text-decoration: line-through; margin-right: 6px; }
.dlp-card-discount-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.03em; background: #c0392b; color: #fff; padding: 2px 8px; border-radius: 3px; vertical-align: middle; margin-left: 6px; }
.dlp-package-book-loading { display: flex; align-items: center; justify-content: center; min-height: 120px; color: #666; }
.dlp-package-book-error { color: #a02622; border: 1px solid #a02622; padding: 12px 16px; }
.dlp-package-book-context { color: #646970; font-size: 13px; margin: 0 0 12px; }
.dlp-card--contact-for-price .dlp-card-select-btn { background: #2271b1; }
.dlp-card--contact-for-price .dlp-card-select-btn:hover { background: #17578c; }
.dlp-card-price-from { font-size: 13px; font-weight: 400; color: #666; }
.dlp-card-hours { color: #666; font-size: 13px; }
.dlp-card-desc { font-size: 14px; color: #444; }
.dlp-card-features { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.dlp-card-features li { padding: 3px 0; display: flex; align-items: center; gap: 6px; }
.dlp-feature-icon { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }
.dlp-card-terms { font-size: 12px; }
.dlp-card-select-btn {
	margin-top: auto;
	padding: 10px;
	background: #1d2939;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
}
.dlp-card-select-btn:hover { background: #101828; }

.dlp-no-package { margin-top: 20px; }
.dlp-no-package-contact-btn {
	margin-top: 12px;
	padding: 10px 22px;
	background: #1d2939;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
}
.dlp-no-package-contact-btn:hover { background: #101828; }

.dlp-package-summary { border: 1px solid #e2e2e2; border-radius: 10px; padding: 20px; max-width: 480px; }
.dlp-coupon-box { margin: 10px 0; }
.dlp-coupon-input { padding: 6px 8px; border: 1px solid #ccc; border-radius: 4px; margin-right: 6px; text-transform: uppercase; }
.dlp-apply-coupon-btn, .dlp-remove-coupon-btn { padding: 6px 12px; border-radius: 4px; border: 1px solid #ccc; background: #f7f7f7; cursor: pointer; }
.dlp-coupon-message { color: #b32d2e; font-size: 0.9em; margin-top: 6px; }
.dlp-summary-discount-row { color: #2a7d2a; font-weight: 600; }
.dlp-coupon-applied-message { color: #2a7d2a; font-weight: 600; font-size: 0.9em; margin-top: 6px; }
.dlp-instructor-deduction-row { background: #f4f8ff; border: 1px solid #d6e4ff; border-radius: 6px; padding: 10px 12px; font-size: 0.92em; margin: 10px 0; }

/* Payment status (Thank You page) */
.dlp-payment-status { border: 1px solid #e2e2e2; border-radius: 10px; padding: 28px; max-width: 480px; text-align: center; }
.dlp-payment-status h3 { margin: 8px 0; }
.dlp-payment-status-icon { font-size: 32px; line-height: 1; margin: 0 0 8px; }
.dlp-payment-status-paid .dlp-payment-status-icon { color: #1a7a41; }
.dlp-payment-status-spinner {
	width: 32px; height: 32px; margin: 0 auto 8px;
	border: 3px solid #e2e2e2; border-top-color: #1a7a41; border-radius: 50%;
	animation: dlp-spin 0.8s linear infinite;
}
@keyframes dlp-spin { to { transform: rotate(360deg); } }
.dlp-payment-status-failed h3, .dlp-payment-status-refunded h3 { color: #a02622; }
