.thumbtack-container {
	--tt-search-burgundy: #000000;
	--tt-search-burgundy-dark: #000000;
	--tt-search-red: #000000;
	--tt-search-gold: #ffc02e;
	--tt-search-ink: #19181c;
	--tt-search-muted: #645f5b;
	--tt-search-line: rgba(139, 22, 8, 0.16);
	--tt-search-panel: #fffaf4;
	box-sizing: border-box;
	width: min(100% - 32px, 980px);
	margin: 54px auto 46px;
	padding: clamp(22px, 4vw, 38px);
	border: 1px solid var(--tt-search-line);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(139, 22, 8, 0.08), rgba(255, 192, 46, 0.13)),
		var(--tt-search-panel);
	box-shadow: 0 18px 48px rgba(31, 20, 13, 0.12);
	color: var(--tt-search-ink);
	clear: both;
}

.thumbtack-container,
.thumbtack-container *,
.thumbtack-container *::before,
.thumbtack-container *::after {
	box-sizing: border-box;
}

.thumbtack-container .thumbtack-container-tile {
	max-width: 760px;
	margin: 0 auto 20px;
	padding: 0;
	color: var(--tt-search-ink);
	font-size: clamp(1.45rem, 2.3vw, 2.15rem);
	font-weight: 800;
	line-height: 1.16;
	text-align: center;
	letter-spacing: 0;
	white-space: normal;
	overflow-wrap: break-word;
}

.thumbtack-container .thumbtack-wp-search {
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	padding: 0;
	color: var(--tt-search-ink);
	font-family: inherit;
}

.thumbtack-container .thumbtack-wp-search__form {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.65fr) auto;
	align-items: end;
	gap: 14px;
	margin: 0;
}

.thumbtack-container .thumbtack-wp-search__field,
.thumbtack-container .thumbtack-wp-search__actions,
.thumbtack-container .thumbtack-wp-search__message {
	margin: 0;
	padding: 0;
}

.thumbtack-container .thumbtack-wp-search__field label {
	display: block;
	margin: 0 0 7px;
	color: var(--tt-search-ink);
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.25;
}

.thumbtack-container .thumbtack-wp-search__field input[type="text"] {
	display: block;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 13px 15px;
	border: 1px solid rgba(25, 24, 28, 0.22);
	border-radius: 6px;
	background: #fff;
	color: var(--tt-search-ink);
	font: inherit;
	font-size: 1rem;
	line-height: 1.35;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.thumbtack-container .thumbtack-wp-search__field input[type="text"]::placeholder {
	color: #817a72;
	opacity: 1;
}

.thumbtack-container .thumbtack-wp-search__field input[type="text"]:focus {
	border-color: var(--tt-search-burgundy);
	outline: 2px solid rgba(178, 33, 17, 0.2);
	outline-offset: 2px;
	box-shadow: 0 0 0 4px rgba(178, 33, 17, 0.08);
}

.thumbtack-container .thumbtack-wp-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 136px;
	min-height: 52px;
	margin: 0;
	padding: 13px 24px;
	border: 0;
	border-radius: 6px;
	background: linear-gradient(180deg, var(--tt-search-red), var(--tt-search-burgundy));
	color: #fff;
	font: inherit;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 12px 24px rgba(139, 22, 8, 0.24);
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.thumbtack-container .thumbtack-wp-search__submit:hover,
.thumbtack-container .thumbtack-wp-search__submit:focus {
	background: linear-gradient(180deg, #c52b19, var(--tt-search-burgundy-dark));
	color: #fff;
	box-shadow: 0 15px 28px rgba(139, 22, 8, 0.3);
	transform: translateY(-1px);
}

.thumbtack-container .thumbtack-wp-search__submit:focus {
	outline: 2px solid rgba(178, 33, 17, 0.25);
	outline-offset: 3px;
}

.thumbtack-container .thumbtack-wp-search__submit:disabled {
	opacity: 0.68;
	cursor: not-allowed;
	transform: none;
}

.thumbtack-container .thumbtack-wp-search__message {
	grid-column: 1 / -1;
	margin-top: 4px;
	padding: 12px 14px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.78);
	color: var(--tt-search-muted);
	font-weight: 700;
}

.thumbtack-container .thumbtack-wp-search__message--error {
	background: #fff2ef;
	color: var(--tt-search-burgundy);
}

.thumbtack-container .thumbtack-wp-search__results {
	margin-top: 24px;
	text-align: left;
}

.thumbtack-container .thumbtack-wp-search__empty {
	margin: 0;
	color: var(--tt-search-muted);
	font-weight: 700;
	text-align: center;
}

.thumbtack-container .tt-results__title {
	margin: 0 0 12px;
	color: var(--tt-search-ink);
	font-size: clamp(1.25rem, 2vw, 1.7rem);
	font-weight: 800;
	line-height: 1.22;
}

.thumbtack-container .tt-results__subtitle,
.thumbtack-container .tt-results__attr {
	color: var(--tt-search-muted);
}

.thumbtack-container .tt-card {
	border-radius: 8px;
	border-color: rgba(139, 22, 8, 0.14);
	box-shadow: 0 10px 28px rgba(31, 20, 13, 0.08);
}

.thumbtack-container .tt-card__cta {
	border-color: transparent;
	background: var(--tt-search-burgundy);
	color: #fff;
}

.thumbtack-container .tt-card__cta:hover,
.thumbtack-container .tt-card__cta:focus {
	background: var(--tt-search-burgundy-dark);
	color: #fff;
}

.home .thumbtack-container {
	width: min(100%, 920px);
	margin: 22px auto 0;
	padding: clamp(20px, 3.2vw, 34px);
	border-color: rgba(255, 255, 255, 0.22);
	background:
		linear-gradient(135deg, rgba(95, 14, 5, 0.95), rgba(139, 22, 8, 0.9)),
		linear-gradient(135deg, rgba(255, 192, 46, 0.18), transparent);
	box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

.home .thumbtack-container .thumbtack-container-tile,
.home .thumbtack-container .thumbtack-wp-search__field label,
.home .thumbtack-container .tt-results__title,
.home .thumbtack-container .tt-results__subtitle,
.home .thumbtack-container .tt-results__attr,
.home .thumbtack-container .tt-results__attr-text {
	color: #fff;
}

.home .thumbtack-container .thumbtack-wp-search__field input[type="text"] {
	border-color: rgba(255, 255, 255, 0.32);
}

.home .thumbtack-container .thumbtack-wp-search__submit {
	background: linear-gradient(180deg, #ffc02e, #dc8b04);
	color: #2a1208;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.home .thumbtack-container .thumbtack-wp-search__submit:hover,
.home .thumbtack-container .thumbtack-wp-search__submit:focus {
	background: linear-gradient(180deg, #ffd25e, #c97800);
	color: #2a1208;
}

.home .thumbtack-container .thumbtack-wp-search__message {
	background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 860px) {
	.thumbtack-container .thumbtack-wp-search__form {
		grid-template-columns: 1fr 1fr;
	}

	.thumbtack-container .thumbtack-wp-search__actions {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.thumbtack-container {
		width: min(100% - 20px, 980px);
		margin: 38px auto 34px;
		padding: 20px;
	}

	.home .thumbtack-container {
		width: 100%;
		max-width: none;
		overflow: hidden;
	}

	.thumbtack-container .thumbtack-container-tile {
		margin-bottom: 17px;
		font-size: clamp(0.95rem, 4.8vw, 1.25rem);
	}

	.thumbtack-container .thumbtack-wp-search__form {
		grid-template-columns: 1fr;
		gap: 13px;
	}

	.thumbtack-container .thumbtack-wp-search__field input[type="text"],
	.thumbtack-container .thumbtack-wp-search__submit {
		min-height: 50px;
	}
}

@media (max-width: 360px) {
	.home .thumbtack-container {
		padding: 17px;
	}

	.thumbtack-container .thumbtack-container-tile {
		font-size: 0.88rem;
		line-height: 1.22;
		overflow-wrap: anywhere;
	}

	.home .thumbtack-container .thumbtack-wp-search__field input[type="text"] {
		padding-right: 10px;
		padding-left: 10px;
		font-size: 0.92rem;
	}
}
p.tt-results__subtitle {
    margin-top: 10px;
}

.thumbtack-container {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 22px 54px rgba(24, 89, 123, 0.12);
    color: #111 !important;
}

/* всички текстове вътре да са четими */
.thumbtack-container * {
    color: #111 !important;
}

/* бутон */
.thumbtack-container .thumbtack-wp-search__submit {
    background: #6bb600 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* hover ефект (по желание, но препоръчително) */
.thumbtack-container .thumbtack-wp-search__submit:hover {
    background: #5aa200 !important;
}
.thumbtack-container input,
.thumbtack-container textarea {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    opacity: 1 !important;
}