.pb-firm-reviews-wrap,
	.pb-comment-form,
	.pb-rating-widget,
	.pb-firm-ranking,
	.pb-firm-rating,
	.pb-firm-rating-details,
	.pb-firm-reviews-comments,
	.pb-comment-form input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
	.pb-comment-form textarea {
		font-family: "DM Sans", sans-serif;
		font-weight: 400;
		color: var(--bricks-color-zkbvqv);
	}

	#respond.comment-respond > .comment-reply-title,
	.pb-firm-reviews-wrap #reply-title.comment-reply-title,
	.pb-comment-form .comment-reply-title,
	.pb-firm-ranking__title,
	.pb-firm-ranking__name,
	.pb-firm-reviews-comments .comment-author .fn,
	.pb-firm-reviews-comments .comment-author .fn a,
	.pb-rating-widget__score,
	.pb-firm-ranking__position {
		font-family: "DM Sans", sans-serif;
		font-weight: 700;
		color: var(--bricks-color-bnpffg);
	}

	.pb-comment-form label,
	.pb-rating-help,
	.pb-rating-note,
	.pb-review-verification-info,
	.pb-review-notice,
	.pb-comment-rating__value,
	.pb-firm-rating__text,
	.pb-firm-rating-details__score,
	.pb-firm-rating-details__count,
	.pb-rating-widget__count,
	.pb-rating-widget__empty,
	.pb-firm-ranking__term-label,
	.pb-firm-ranking__average,
	.pb-firm-ranking__count,
	.pb-firm-ranking__meta--empty,
	.pb-firm-reviews-comments .comment-metadata,
	.pb-firm-reviews-comments .comment-content {
		font-family: "DM Sans", sans-serif;
		font-weight: 400;
		color: var(--bricks-color-zkbvqv);
	}

	.pb-firm-reviews-wrap {
		display: block;
	}

	.pb-review-notice,
	.pb-review-verification-info {
		margin-top: 18px;
		margin-bottom: 18px;
		padding: 12px 14px;
		border-radius: 8px;
		font-size: 14px;
		line-height: 1.5;
	}

	.pb-review-verification-info,
	.pb-review-notice--info {
		border: 1px solid #dbeafe;
		background: #eff6ff;
	}

	.pb-review-notice--success {
		border: 1px solid #bbf7d0;
		background: #f0fdf4;
	}

	.pb-review-notice--error {
		border: 1px solid #fecaca;
		background: #fef2f2;
	}

	.pb-comment-form .form-group,
	.comment-form.pb-comment-form .form-group {
		margin-bottom: 18px;
	}

	.pb-comment-form .comment-form-url,
	.pb-comment-form .comment-form-cookies-consent {
		display: none !important;
	}

	.pb-comment-form input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
	.pb-comment-form textarea {
		border-radius: 5px;
		background: #fff;
		background-color: #fff;
		padding-top: 15px;
		padding-bottom: 15px;
		padding-left: 16px;
		padding-right: 16px;
		line-height: 16px;
		width: 100%;
		box-shadow: none;
		outline: none;
	}

	.pb-comment-form input:focus,
	.pb-comment-form textarea:focus {
		box-shadow: none;
		outline: none;
	}

	.pb-comment-form textarea {
		min-height: 160px;
		resize: vertical;
	}

	#reply-title {
		margin-bottom: 15px !important;
	}

	.pb-comment-form input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
	.pb-comment-form textarea {
		background: #fff !important;
		background-color: #fff !important;
	}

	.pb-comment-form label {
		display: inline-block;
		margin-bottom: 8px;
	}

	.pb-comment-form .form-submit {
		margin-top: 20px;
	}

	.pb-comment-form .form-submit .brxe-button {
		padding: 10px 16px !important;
		line-height: 25.5px;
	}

	.pb-comment-form .brxe-button {
		cursor: pointer;
	}

	#reply-title,
	#respond.comment-respond > .comment-reply-title,
	.pb-firm-reviews-wrap #reply-title.comment-reply-title,
	.pb-comment-form .comment-reply-title {
		display: block;
		margin-top: 0;
		margin-bottom: 15px;
		font-family: "DM Sans", sans-serif;
		font-weight: 700;
	}

	#respond.comment-respond > .comment-reply-title small,
	.pb-firm-reviews-wrap #reply-title.comment-reply-title small,
	.pb-comment-form .comment-reply-title small {
		display: block;
		margin-top: 10px;
	}

	.pb-comment-form .comment-reply-title small a,
	#cancel-comment-reply-link {
		display: inline-flex;
		align-items: center;
		padding: 8px 14px;
		border-radius: 999px;
		background: #f3f4f6;
		text-decoration: none;
		font-size: 14px;
		line-height: 1;
		color: inherit;
	}

	.pb-rating-field {
		margin-bottom: 18px;
	}

	.pb-rating-stars {
		display: flex;
		gap: 6px;
		align-items: center;
		margin-top: 8px;
	}

	.pb-rating-star {
		appearance: none;
		border: 0;
		background: transparent;
		padding: 0;
		font-size: 32px;
		line-height: 1;
		cursor: pointer;
		color: #cfcfcf;
		transition: transform .16s ease, color .16s ease;
	}

	.pb-rating-star:hover {
		transform: scale(1.06);
	}

	.pb-rating-star.is-active {
		color: #f5b301;
	}

	.pb-rating-help {
		margin: 8px 0 0;
		font-size: 13px;
	}

	.pb-rating-note {
		padding: 12px 14px;
		border: 1px solid #e6e6e6;
		border-radius: 8px;
		background: #fafafa;
	}

	.pb-comment-rating {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		margin-bottom: 12px;
		padding-top: 2px;
		padding-bottom: 2px;
		padding-left: 12px;
		padding-right: 12px;
		background: #fff7dd;
		border: 1px solid #f2df9d;
		border-radius: 999px;
	}

	.pb-comment-rating__stars,
	.pb-firm-rating__stars,
	.pb-firm-rating-details__stars,
	.pb-rating-widget__stars,
	.pb-firm-ranking__stars {
		color: #f5b301;
		letter-spacing: 1px;
	}

	.pb-comment-rating__value,
	.pb-firm-rating__text,
	.pb-firm-rating-details__score,
	.pb-firm-rating-details__count,
	.pb-rating-widget__count {
		font-size: 14px;
	}

	.pb-firm-rating,
	.pb-firm-rating-details {
		display: flex;
		align-items: center;
		gap: 8px;
		flex-wrap: wrap;
		margin-bottom: 18px;
	}

	.pb-firm-reviews-comments {
		margin-bottom: 28px;
	}

	.pb-firm-reviews-comments > .comment {
		margin-bottom: 18px;
	}

	.pb-firm-reviews-comments .comment {
		position: relative;
	}

	.pb-firm-reviews-comments .comment-body {
		padding: 22px;
		border: 1px solid #e8e8e8;
		border-radius: 14px;
		background: #ffffff;
	}

	.pb-firm-reviews-comments .comment .children,
	.pb-firm-reviews-comments .comment > .children {
		margin-top: 14px;
		margin-left: 28px;
		padding-left: 18px;
		border-left: 2px solid #e9edf3;
	}

	.pb-firm-reviews-comments .comment .children .comment-body,
	.pb-firm-reviews-comments .comment > .children .comment-body {
		background: #f8fafc;
		border-color: #e5ebf3;
	}

	.pb-firm-reviews-comments .comment-meta {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 18px;
		margin-bottom: 14px;
		padding-bottom: 14px;
		border-bottom: 1px solid #efefef;
	}

	.pb-firm-reviews-comments .comment-author {
		display: flex;
		align-items: center;
		gap: 14px;
	}

	.pb-firm-reviews-comments .comment-author img.avatar {
		flex: 0 0 56px;
		width: 56px;
		height: 56px;
		border-radius: 999px;
		object-fit: cover;
	}

	.pb-firm-reviews-comments .comment-author .fn,
	.pb-firm-reviews-comments .comment-author .fn a {
		font-size: 18px;
		line-height: 25.2px;
		text-decoration: none;
	}

	.pb-firm-reviews-comments .comment-author .says {
		display: none;
	}

	.pb-firm-reviews-comments .comment-metadata {
		flex: 0 0 auto;
		font-size: 14px;
		line-height: 1.4;
		opacity: .7;
		padding-top: 4px;
	}

	.pb-firm-reviews-comments .comment-metadata a {
		text-decoration: none;
		color: inherit;
	}

	.pb-firm-reviews-comments .comment-content {
		font-size: 14px;
		line-height: 1.7;
	}

	.pb-firm-reviews-comments .comment-content p:last-child {
		margin-bottom: 0;
	}

	.pb-firm-reviews-comments .reply {
		margin-top: 16px;
	}

	.pb-firm-reviews-wrap .reply a.comment-reply-link,
	.pb-firm-reviews-wrap .reply a.comment-reply-link.pb-review-reply-button,
	.pb-firm-reviews-comments .reply a.comment-reply-link,
	.pb-firm-reviews-comments .reply a.comment-reply-link.pb-review-reply-button {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: auto !important;
		max-width: max-content !important;
		background: #293478 !important;
		background-color: #293478 !important;
		color: #ffffff !important;
		font-family: "DM Sans", sans-serif !important;
		font-weight: 500 !important;
		font-size: 14px !important;
		letter-spacing: .5px !important;
		line-height: 1.2 !important;
		padding-top: 10px !important;
		padding-right: 25px !important;
		padding-bottom: 10px !important;
		padding-left: 25px !important;
		border: 1px solid #293478 !important;
		border-radius: 99px !important;
		box-shadow: none !important;
		text-decoration: none !important;
		cursor: pointer !important;
		transition: all 0.3s ease !important;
	}

	.pb-firm-reviews-wrap .reply a.comment-reply-link:hover,
	.pb-firm-reviews-wrap .reply a.comment-reply-link.pb-review-reply-button:hover,
	.pb-firm-reviews-comments .reply a.comment-reply-link:hover,
	.pb-firm-reviews-comments .reply a.comment-reply-link.pb-review-reply-button:hover {
		background: #1f285f !important;
		background-color: #1f285f !important;
		border-color: #1f285f !important;
		color: #ffffff !important;
		text-decoration: none !important;
	}

	.pb-rating-widget {
		padding: 14px 16px;
		border: 1px solid var(--bricks-color-ywbued);
		border-radius: 8px;
		background: var(--bricks-color-srkkmh);
	}

	.pb-rating-widget__main {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.pb-rating-widget__score {
		font-size: 28px;
		line-height: 1;
		font-weight: 700;
	}

	.pb-rating-widget__meta {
		display: flex;
		flex-direction: column;
		gap: 2px;
	}

	.pb-rating-widget__stars {
		font-size: 15px;
		line-height: 1;
	}

	.pb-rating-widget__count,
	.pb-rating-widget__empty {
		font-size: 13px;
		line-height: 1.2;
		opacity: .8;
	}

	.pb-firm-ranking {
		display: block;
	}

	.pb-firm-ranking__title {
		margin-bottom: 18px;
	}

	.pb-firm-ranking__term-label {
		margin-bottom: 16px;
		font-size: 14px;
		opacity: .75;
	}

	.pb-firm-ranking__list {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.pb-firm-ranking__item {
		display: flex;
		align-items: center;
		gap: 16px;
		padding: 16px 18px;
		border: 1px solid #e8e8e8;
		border-radius: 14px;
		background: #fff;
	}

	.pb-firm-ranking__position {
		flex: 0 0 56px;
		width: 56px;
		height: 56px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 999px;
		background: #f5f5f5;
		font-size: 18px;
		font-weight: 700;
	}

	.pb-firm-ranking__content {
		flex: 1 1 auto;
		min-width: 0;
	}

	.pb-firm-ranking__name {
		display: inline-block;
		margin-bottom: 6px;
		font-size: 18px;
		font-weight: 700;
		text-decoration: none;
	}

	.pb-firm-ranking__meta {
		display: flex;
		align-items: center;
		gap: 8px;
		flex-wrap: wrap;
	}

	.pb-firm-ranking__average,
	.pb-firm-ranking__count,
	.pb-firm-ranking__meta--empty {
		font-size: 14px;
	}


	.pb-admin-review-fields {
		margin: 0 0 22px;
		padding: 16px;
		border: 1px solid #dbeafe;
		border-radius: 12px;
		background: #eff6ff;
	}

	.pb-admin-review-fields__head {
		margin-bottom: 6px;
		font-family: "DM Sans", sans-serif;
		font-weight: 700;
		color: #293478;
	}

	.pb-admin-review-fields__info {
		margin: 0 0 14px;
		font-size: 13px;
		line-height: 1.5;
		color: #293478;
	}

	.pb-admin-review-optional {
		font-size: 12px;
		opacity: .7;
	}

	.pb-admin-review-fields input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]) {
		background-color: #ffffff !important;
		color: #293478;
		border: 1px solid rgba(41, 52, 120, .18);
	}

	.pb-admin-review-fields input::placeholder {
		color: rgba(41, 52, 120, .55);
	}

	.pb-admin-review-fields input:focus {
		background-color: #ffffff !important;
		border-color: rgba(41, 52, 120, .45);
	}

	@media (max-width: 767px) {
		.pb-firm-reviews-comments .comment-meta {
			flex-direction: column;
			align-items: flex-start;
		}

		.pb-firm-reviews-comments .comment-content {
			font-size: 16px;
		}

		.pb-firm-reviews-comments .comment .children,
		.pb-firm-reviews-comments .comment > .children {
			margin-left: 12px;
			padding-left: 12px;
		}

		.pb-rating-widget__main {
			align-items: center;
			gap: 8px;
		}

		.pb-rating-widget__score {
			font-size: 24px;
		}

		.pb-rating-widget__stars {
			font-size: 14px;
		}

		.pb-rating-widget__count,
		.pb-rating-widget__empty {
			font-size: 12px;
		}

		.pb-firm-ranking__item {
			align-items: flex-start;
		}

		.pb-firm-ranking__position {
			flex: 0 0 44px;
			width: 44px;
			height: 44px;
			font-size: 15px;
		}

		.pb-firm-ranking__name {
			font-size: 16px;
		}
	}

/* Finalne poprawki formularza komentarzy - realne selektory z DOM */
#reply-title {
	margin-bottom: 15px !important;
}

.pb-comment-form input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
.pb-comment-form textarea {
	background: #fff !important;
	background-color: #fff !important;
}
