/*
Template:       classima
Theme Name:     Classima Child
Theme URI:      http://radiustheme.com/demo/wordpress/classima
Author:         RadiusTheme
Author URI:     https://www.radiustheme.com
Description:    Classima is a clean and modern WordPress Theme best suited for Classified Listing. This theme comes with all necessary features and pages for a Classified Listing website.
Version:        1.0
Text Domain:    classima
Tags:           two-columns, three-columns, left-sidebar, right-sidebar, custom-colors, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, blog
License:        Envato split License
License URI:    https://themeforest.net/licenses/terms/regular
*/

html {
	overflow-y: scroll;
	scrollbar-gutter: stable;
}

html body.rtcl-overflow-hidden {
	overflow: visible !important;
}

.rtcl-notices-wrapper {
	margin: 0 0 18px;
}

.rtcl-notices-wrapper .rtcl-message,
.classima-child-inline-notice {
	position: relative;
	margin: 0 0 14px;
	padding: 13px 16px 13px 44px;
	border: 1px solid #d9e6f2;
	border-radius: 10px;
	background: #eff7ff;
	color: #0f3f5f;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.rtcl-notices-wrapper .rtcl-message:before,
.classima-child-inline-notice:before {
	content: "i";
	position: absolute;
	top: 13px;
	left: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 999px;
	background: #0f4b73;
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.rtcl-notices-wrapper .rtcl-message p {
	margin: 0;
}

.rtcl-notices-wrapper .rtcl-message p + p {
	margin-top: 6px;
}

.rtcl-notices-wrapper .rtcl-message.alert-success {
	border-color: #bbf7d0;
	background: #f0fdf4;
	color: #166534;
}

.rtcl-notices-wrapper .rtcl-message.alert-success:before {
	content: "";
	background: #16a34a;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}

.rtcl-notices-wrapper .rtcl-message.rtcl-error,
.rtcl-notices-wrapper .rtcl-message.alert-danger {
	border-color: #fecaca;
	background: #fef2f2;
	color: #991b1b;
}

.rtcl-notices-wrapper .rtcl-message.rtcl-error:before,
.rtcl-notices-wrapper .rtcl-message.alert-danger:before {
	content: "!";
	background: #dc2626;
}

.rtcl-notices-wrapper .rtcl-message.rtcl-info,
.rtcl-notices-wrapper .rtcl-message.alert-info,
.classima-child-inline-notice-info {
	border-color: #bfdbfe;
	background: #eff6ff;
	color: #1e3a8a;
}

.rtcl-notices-wrapper .rtcl-message.rtcl-info:before,
.rtcl-notices-wrapper .rtcl-message.alert-info:before,
.classima-child-inline-notice-info:before {
	background: #2563eb;
}

.classima-child-account-placeholder {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #ffffff;
	padding: 24px;
}

.classima-child-account-placeholder h3 {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.3;
}

.classima-child-account-placeholder p {
	margin: 0;
	color: #64748b;
}

.rtcl-user-info .classima-child-user-phone a {
	color: inherit;
}

.classima-child-account-kind-row .rtcl-field-label {
	margin-bottom: 8px;
	font-weight: 600;
}

.classima-child-account-kind-options {
	gap: 18px;
}

.classima-child-account-kind-options label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	cursor: pointer;
}

.classima-child-buy-now {
	margin-top: 18px;
	margin-bottom: 24px;
	clear: both;
}

.classima-child-buy-now form {
	margin: 0;
}

.classima-child-buy-now p {
	margin: 8px 0 0;
	color: #64748b;
}

.classima-child-buy-now-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	text-align: center;
}

.classima-child-deal-history {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #ffffff;
	padding: 24px;
}

.classima-child-deal-history h3 {
	margin: 0 0 18px;
	font-size: 22px;
	line-height: 1.3;
}

.classima-child-empty-history {
	margin: 0;
	color: #64748b;
}

.classima-child-deal-table-wrap {
	overflow-x: auto;
}

.classima-child-deal-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 760px;
}

.classima-child-deal-table th,
.classima-child-deal-table td {
	padding: 12px 10px;
	border-bottom: 1px solid #e5e7eb;
	text-align: left;
	vertical-align: middle;
}

.classima-child-deal-table th {
	color: #334155;
	font-weight: 700;
}

.classima-child-deal-status {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 4px 10px;
	background: #eef2ff;
	color: #3730a3;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.classima-child-deal-status-completed {
	background: #dcfce7;
	color: #166534;
}

.classima-child-deal-status-pending {
	background: #fef3c7;
	color: #92400e;
}

.classima-child-deal-status-cancelled {
	background: #fee2e2;
	color: #991b1b;
}

.classima-child-deal-status-rejected {
	background: #f1f5f9;
	color: #475569;
}

.classima-child-deal-status-inactive {
	background: #e2e8f0;
	color: #64748b;
}

.classima-child-payment-status {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 3px 9px;
	background: #f1f5f9;
	color: #475569;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	margin-left: 4px;
}

.classima-child-payment-status-paid_funds_held {
	background: #dbeafe;
	color: #1d4ed8;
}

.classima-child-payment-status-failed,
.classima-child-payment-status-cancelled {
	background: #fee2e2;
	color: #991b1b;
}

.classima-child-payment-status-released {
	background: #dcfce7;
	color: #166534;
}

.classima-child-payment-status-refunded {
	background: #ede9fe;
	color: #5b21b6;
}

.classima-child-deal-stage {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 3px 9px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	margin-left: 4px;
}

.classima-child-deal-stage-waiting-confirmation {
	background: #fef9c3;
	color: #854d0e;
}

.classima-child-balance-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 12px 0;
}

.classima-child-balance-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 20px;
	border-radius: 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	min-width: 180px;
}

.classima-child-balance-label {
	font-size: 13px;
	color: #64748b;
	font-weight: 600;
}

.classima-child-balance-value {
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
}

.classima-child-withdraw-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 360px;
	margin: 16px 0;
}

.classima-child-withdraw-form label {
	font-weight: 600;
	font-size: 13px;
	color: #334155;
}

.classima-child-withdraw-form input[type="text"],
.classima-child-withdraw-form input[type="number"] {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
}

.classima-child-deal-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}

.classima-child-deal-actions form {
	margin: 0;
}

.classima-child-contact-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0;
	white-space: nowrap;
}

.classima-child-deal-actions .rtcl-btn {
	white-space: nowrap;
}

.classima-child-secondary-action {
	background: #f8fafc !important;
	border-color: #cbd5e1 !important;
	color: #334155 !important;
}

body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.classima-child-has-new-sales,
body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.classima-child-has-new-offers,
body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.classima-child-has-update {
	position: relative;
}

body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.classima-child-has-new-sales a,
body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.classima-child-has-new-offers a,
body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.classima-child-has-update a {
	position: relative;
	padding-right: 72px !important;
}

body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.classima-child-has-new-sales a:after,
body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.classima-child-has-new-offers a:after,
body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.classima-child-has-update a:after {
	content: "New";
	position: absolute;
	top: 50%;
	right: 18px !important;
	left: auto !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 22px;
	padding: 0 8px;
	border-radius: 999px;
	background: #ff5a66;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%);
	z-index: 2;
}

body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.classima-child-has-update a:after {
	content: "Update";
	min-width: 50px;
}

.rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.rtcl-MyAccount-navigation-link.rtcl-MyAccount-navigation-link--sales-history a:before,
.rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.rtcl-MyAccount-navigation-link.rtcl-MyAccount-navigation-link--purchase-history a:before,
.rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.rtcl-MyAccount-navigation-link.rtcl-MyAccount-navigation-link--sent-offers a:before,
.rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.rtcl-MyAccount-navigation-link.rtcl-MyAccount-navigation-link--received-offers a:before,
.rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.rtcl-MyAccount-navigation-link.rtcl-MyAccount-navigation-link--available-balance a:before,
.rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.rtcl-MyAccount-navigation-link.rtcl-MyAccount-navigation-link--withdraw-funds a:before {
	width: 20px;
	height: 20px;
	-webkit-mask-size: 20px 20px;
	mask-size: 20px 20px;
}

.rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.rtcl-MyAccount-navigation-link.rtcl-MyAccount-navigation-link--sales-history a:before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 3h16v18l-3-2-3 2-3-2-3 2-4-2z'/%3E%3Cpath d='M8 7h8M8 11h8M8 15h5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 3h16v18l-3-2-3 2-3-2-3 2-4-2z'/%3E%3Cpath d='M8 7h8M8 11h8M8 15h5'/%3E%3C/svg%3E");
}

.rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.rtcl-MyAccount-navigation-link.rtcl-MyAccount-navigation-link--purchase-history a:before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 14H7L6 7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 14H7L6 7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E");
}

.rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.rtcl-MyAccount-navigation-link.rtcl-MyAccount-navigation-link--sent-offers a:before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='M22 2 15 22 11 13 2 9z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='M22 2 15 22 11 13 2 9z'/%3E%3C/svg%3E");
}

.rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.rtcl-MyAccount-navigation-link.rtcl-MyAccount-navigation-link--received-offers a:before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5 5h14l3 7v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-6z'/%3E%3Cpath d='M12 4v8'/%3E%3Cpath d='m8 8 4 4 4-4'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5 5h14l3 7v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-6z'/%3E%3Cpath d='M12 4v8'/%3E%3Cpath d='m8 8 4 4 4-4'/%3E%3C/svg%3E");
}

.rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.rtcl-MyAccount-navigation-link.rtcl-MyAccount-navigation-link--available-balance a:before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h18v12H3z'/%3E%3Cpath d='M16 12h3'/%3E%3Cpath d='M3 7l4-4h12'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h18v12H3z'/%3E%3Cpath d='M16 12h3'/%3E%3Cpath d='M3 7l4-4h12'/%3E%3C/svg%3E");
}

.rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.rtcl-MyAccount-navigation-link.rtcl-MyAccount-navigation-link--withdraw-funds a:before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E");
}

#rtcl-chat-modal-wrap {
	right: 22px;
	bottom: 18px;
	max-width: 390px;
	max-height: 560px;
	filter: drop-shadow(0 18px 35px rgba(15, 23, 42, .18));
}

#rtcl-chat-modal {
	overflow: hidden;
	border: 0;
	border-radius: 12px;
	background: #ffffff;
}

#rtcl-chat-modal .rtcl-chat-modal-handle {
	align-items: center;
	min-height: 54px;
	padding: 13px 18px;
	background: #0f4b73;
	color: #ffffff;
}

#rtcl-chat-modal .rtcl-chat-modal-handle .handle-title {
	align-items: center;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0;
}

#rtcl-chat-modal .rtcl-chat-modal-handle .rtcl-icon {
	color: #ffffff;
}

#rtcl-chat-modal .rtcl-chat-model-body {
	background: #f6f8fb;
	height: calc(100% - 54px);
}

#rtcl-chat-modal .rtcl-chat-model-body .rtcl-message-container,
#rtcl-chat-modal .rtcl-chat-model-body .rtcl-chat-container {
	background: #f6f8fb;
}

#rtcl-chat-modal ul.rtcl-messages-list {
	padding: 24px 22px;
	background: #f6f8fb;
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 transparent;
}

#rtcl-chat-modal ul.rtcl-messages-list .rtcl-message-wrap + .rtcl-message-wrap {
	margin-top: 16px;
}

#rtcl-chat-modal ul.rtcl-messages-list .rtcl-message {
	gap: 10px;
	max-width: 86%;
}

#rtcl-chat-modal ul.rtcl-messages-list .rtcl-message .rtcl-message-owner-picture {
	max-width: 34px;
}

#rtcl-chat-modal ul.rtcl-messages-list .rtcl-message .rtcl-message-owner-picture img {
	width: 34px;
	height: 34px;
	border: 2px solid #ffffff;
	box-shadow: 0 4px 12px rgba(15, 23, 42, .12);
}

#rtcl-chat-modal ul.rtcl-messages-list .rtcl-message .rtcl-message-text {
	padding: 11px 14px;
	border-radius: 14px 14px 14px 4px;
	background: #ffffff;
	color: #1f2937;
	font-size: 15px;
	line-height: 1.45;
	box-shadow: 0 5px 16px rgba(15, 23, 42, .08);
}

#rtcl-chat-modal ul.rtcl-messages-list .rtcl-message-wrap.own-message .rtcl-message-text {
	border-radius: 14px 14px 4px 14px;
	background: #0f4b73;
	color: #ffffff;
}

#rtcl-chat-modal ul.rtcl-messages-list .rtcl-message .rtcl-message-content {
	color: #94a3b8;
	font-size: 13px;
}

#rtcl-chat-modal ul.rtcl-messages-list .rtcl-message .rtcl-message-meta {
	margin-top: 6px;
	color: #94a3b8;
	font-size: 12px;
	line-height: 1.3;
}

#rtcl-chat-modal ul.rtcl-messages-list .rtcl-message span.read-receipt-status .rtcl-icon,
#rtcl-chat-modal ul.rtcl-messages-list .rtcl-message span.read-receipt-status .rtcl-icon.rtcl-read {
	color: #0f4b73;
}

#rtcl-chat-modal .rtcl-chat-send-wrapper {
	gap: 8px;
	padding: 14px 18px 18px;
	border-top: 1px solid #e5e7eb;
	background: #ffffff;
}

#rtcl-chat-modal .rtcl-chat-send-wrapper .rtcl-chat-send-wrap {
	gap: 12px;
}

#rtcl-chat-modal .rtcl-chat-send-wrapper textarea {
	height: 46px;
	padding: 11px 48px 11px 14px;
	border: 1px solid #d9e1ea;
	border-radius: 10px;
	background: #ffffff;
	color: #1f2937;
	font-size: 15px;
	line-height: 1.4;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04);
}

#rtcl-chat-modal .rtcl-chat-send-wrapper textarea:focus {
	border-color: #0f4b73;
	box-shadow: 0 0 0 3px rgba(15, 75, 115, .12);
}

#rtcl-chat-modal .rtcl-chat-send-wrapper button.rtcl-action-menu,
#rtcl-chat-modal .rtcl-chat-send-wrapper button.rtcl-chat-send {
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	color: #0f4b73;
}

#rtcl-chat-modal .rtcl-chat-send-wrapper button.rtcl-action-menu {
	background: #e8f2f8;
}

#rtcl-chat-modal .rtcl-chat-send-wrapper button.rtcl-chat-send {
	right: 8px;
	background: transparent;
}

#rtcl-chat-modal .rtcl-chat-send-wrapper button.rtcl-action-menu:hover,
#rtcl-chat-modal .rtcl-chat-send-wrapper button.rtcl-chat-send:hover {
	background: #dcecf5;
}

#rtcl-chat-modal .rtcl-chat-send-wrapper button i {
	color: currentColor;
	font-size: 20px;
}

#rtcl-report-abuse-modal {
	z-index: 99999;
}

#rtcl-report-abuse-modal .modal-dialog,
#rtcl-report-abuse-modal .rtcl-popup {
	max-width: 640px;
}

#rtcl-report-abuse-modal .modal-content,
#rtcl-report-abuse-modal .rtcl-popup-content {
	overflow: hidden;
	border: 0;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
}

#rtcl-report-abuse-modal .modal-header,
#rtcl-report-abuse-modal .rtcl-popup-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 28px 20px;
	border-bottom: 1px solid #e8eef5;
	background: #ffffff;
}

#rtcl-report-abuse-modal .modal-title,
#rtcl-report-abuse-modal .rtcl-popup-title {
	margin: 0;
	color: #0f172a;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.25;
}

#rtcl-report-abuse-modal .close,
#rtcl-report-abuse-modal .rtcl-popup-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #f1f5f9;
	color: #64748b;
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	text-shadow: none;
	opacity: 1;
	transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

#rtcl-report-abuse-modal .close span {
	display: block;
	margin-top: -2px;
}

#rtcl-report-abuse-modal .close:hover,
#rtcl-report-abuse-modal .rtcl-popup-close:hover {
	background: #e2e8f0;
	color: #0f172a;
	transform: rotate(90deg);
}

#rtcl-report-abuse-modal .modal-body,
#rtcl-report-abuse-modal .rtcl-popup-body {
	padding: 24px 28px 26px;
	background: #ffffff;
}

#rtcl-report-abuse-form .form-group,
#rtcl-report-abuse-form .rtcl-form-group {
	margin: 0;
}

#rtcl-report-abuse-form label,
#rtcl-report-abuse-form .rtcl-field-label {
	display: block;
	margin: 0 0 10px;
	color: #334155;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

#rtcl-report-abuse-form .rtcl-star {
	margin-left: 2px;
	color: #ef4444;
}

#rtcl-report-abuse-message {
	display: block;
	width: 100%;
	min-height: 150px;
	padding: 14px 16px;
	border: 1px solid #d9e1ea;
	border-radius: 10px;
	background: #f8fafc;
	color: #0f172a;
	font-size: 15px;
	line-height: 1.5;
	resize: vertical;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, .03);
	transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

#rtcl-report-abuse-message::placeholder {
	color: #94a3b8;
	opacity: 1;
}

#rtcl-report-abuse-message:focus {
	border-color: #0f4b73;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(15, 75, 115, .12);
	outline: none;
}

#rtcl-report-abuse-message-display {
	margin-top: 14px;
}

#rtcl-report-abuse-modal .modal-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	padding: 18px 28px 24px;
	border-top: 1px solid #e8eef5;
	background: #f8fafc;
}

#rtcl-report-abuse-form > .rtcl-btn {
	margin-top: 18px;
}

#rtcl-report-abuse-form .rtcl-btn,
#rtcl-report-abuse-modal .modal-footer .rtcl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin-top: 0;
	padding: 0 22px;
	border: 0;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	text-transform: none;
	transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

#rtcl-report-abuse-form .rtcl-btn-primary,
#rtcl-report-abuse-modal .modal-footer .rtcl-btn-primary {
	background: #0f4b73;
	color: #ffffff;
	box-shadow: 0 10px 22px rgba(15, 75, 115, .2);
}

#rtcl-report-abuse-form .rtcl-btn-primary:hover,
#rtcl-report-abuse-modal .modal-footer .rtcl-btn-primary:hover {
	background: #0b3e61;
	box-shadow: 0 14px 26px rgba(15, 75, 115, .24);
	transform: translateY(-1px);
}

#rtcl-report-abuse-modal .modal-footer .rtcl-btn-default {
	background: #e8eef5;
	color: #334155;
}

#rtcl-report-abuse-modal .modal-footer .rtcl-btn-default:hover {
	background: #dbe5ee;
	color: #0f172a;
}

.classima-child-purchase-step {
	clear: both;
	display: grid;
	gap: 10px;
	margin-top: 18px;
	margin-bottom: 18px;
}

.classima-child-purchase-step-label {
	color: #64748b;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.classima-child-purchase-actions {
	display: grid;
	gap: 8px;
}

.classima-child-make-offer,
.classima-child-buy-now {
	margin-top: 0;
}

.classima-child-make-offer-form {
	display: grid;
	gap: 8px;
	margin: 0;
}

.classima-child-buy-now-form {
	margin: 0;
}

.classima-child-make-offer-form label {
	margin: 0;
	color: #334155;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.classima-child-make-offer-form input[type="number"] {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid #d9e1ea;
	border-radius: 8px;
	background: #ffffff;
	color: #0f172a;
	font-size: 15px;
	line-height: 1.4;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, .03);
}

.classima-child-make-offer-form input[type="number"]:focus {
	border-color: #0f4b73;
	box-shadow: 0 0 0 3px rgba(15, 75, 115, .12);
	outline: none;
}

.classima-child-make-offer .rtcl-btn,
.classima-child-buy-now .rtcl-btn,
.classima-child-purchase-actions .rtcl-btn,
.classima-child-buy-now-form .rtcl-btn,
.classima-child-make-offer button,
.classima-child-buy-now button,
.classima-child-purchase-actions button,
.classima-child-buy-now-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	white-space: normal;
	text-align: center;
	text-transform: none;
}

.classima-child-purchase-step p,
.classima-child-make-offer p,
.classima-child-buy-now p {
	margin: 0;
	color: #64748b;
	font-size: 14px;
	line-height: 1.4;
}

@media screen and (max-width: 450px) {
	#rtcl-chat-modal-wrap {
		right: 12px;
		bottom: 12px;
		max-width: calc(100vw - 24px);
	}
}

@media screen and (max-width: 767px) {
	.rt-listing-cat-list-2 {
		position: relative;
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		min-height: 58px;
		padding: 0 20px;
	}

	.rt-listing-cat-list-2::before {
		content: "Κατηγορίες Αγγελιών";
		color: #ffffff;
		font-size: 18px;
		font-weight: 700;
		line-height: 1.2;
		padding-right: 56px;
	}

	.rt-listing-cat-list-2 > h3 {
		display: none;
	}

	.rt-listing-cat-list-2 .classima-listing-cat-open-menu {
		position: absolute;
		top: 50%;
		right: 20px;
		float: none;
		margin: 0;
		transform: translateY(-50%);
	}

	.rt-listing-cat-list-2 .listing-category-list {
		flex: 0 0 calc(100% + 40px);
		margin: 0 -20px;
		z-index: 20;
	}

}

/* На мобільному JS переміщує форму поруч з ціною і встановлює display:block — до того ховаємо */
@media screen and (max-width: 991.98px) {
	.classima-child-purchase-step {
		display: none;
	}
}

.classima-child-complaint-action {
	margin-top: 8px;
}

.classima-child-complaint-toggle {
	cursor: pointer;
	color: #991b1b;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.classima-child-complaint-toggle:hover {
	text-decoration: underline;
}

.classima-child-complaint-form {
	display: grid;
	gap: 8px;
	margin: 10px 0 0;
	padding: 12px;
	border: 1px solid #fecaca;
	border-radius: 8px;
	background: #fef2f2;
	min-width: 260px;
}

.classima-child-complaint-form label {
	margin: 0;
	color: #334155;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.classima-child-complaint-form textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 14px;
	resize: vertical;
}

.classima-child-complaint-confirm {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400 !important;
	color: #475569 !important;
}

.classima-child-complaint-confirm input {
	margin-top: 3px;
}

.classima-child-complaint-pending {
	margin: 8px 0 0;
	color: #92400e;
	font-size: 13px;
	font-weight: 700;
}

.classima-child-modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, .55);
	padding: 20px;
}

.classima-child-modal-overlay[style*="block"] {
	display: flex !important;
}

.classima-child-modal-box {
	width: 100%;
	max-width: 380px;
	padding: 28px 28px 24px;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
	text-align: center;
}

.classima-child-modal-message {
	margin: 0 0 20px;
	color: #0f172a;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
}

.classima-child-modal-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.classima-child-modal-actions .rtcl-btn {
	margin: 0;
}

.classima-child-modal-actions .rtcl-btn[disabled] {
	opacity: .5;
	cursor: not-allowed;
	pointer-events: none;
}

.classima-child-withdraw-modal-box {
	max-width: 440px;
	text-align: left;
}

.classima-child-withdraw-modal-box h3 {
	margin: 0 0 16px;
	text-align: center;
}

.classima-child-withdraw-summary {
	width: 100%;
	margin-bottom: 18px;
	border-collapse: collapse;
}

.classima-child-withdraw-summary td {
	padding: 8px 4px;
	border-bottom: 1px solid #e5e7eb;
	color: #334155;
	font-size: 14px;
}

.classima-child-withdraw-summary td:last-child {
	text-align: right;
	font-weight: 700;
	color: #0f172a;
}

.classima-child-withdraw-summary .wc-net-row td {
	border-top: 2px solid #cbd5e1;
	padding-top: 12px;
	padding-bottom: 12px;
	font-size: 16px;
}

.classima-child-withdraw-summary .wc-net-row td:last-child {
	color: #166534;
}

.classima-child-withdraw-modal-box .classima-child-complaint-confirm {
	align-items: center;
}

.classima-child-withdraw-modal-box .classima-child-complaint-confirm input {
	margin-top: 0;
}

.classima-child-withdraw-modal-box .classima-child-complaint-confirm {
	margin-bottom: 18px;
}

/*
 * Головна: пошуковий віджет (rt-el-listing-search) стоїть у 50%-колонці поруч
 * із колажем зображень, тому реально має набагато менше місця, ніж ширина
 * вікна. Батьківська тема не задає flex-дочірнім елементам min-width:0, тому
 * вони не стискаються нижче свого "природного" контенту і рядок вилазить за
 * межі колонки замість переносу (перенос у темі прив'язаний до ширини вікна,
 * а не колонки).
 */
.classima-listing-search .classima-listing-search-form > div,
.classima-listing-search .rtcl-widget-search-form > div {
	min-width: 0;
}

.classima-listing-search-form .rtin-keyword input,
.classima-listing-search-form .classima-search-style-2 input,
.classima-listing-search-form .classima-search-style-2 select,
.classima-listing-search-form .rtcl-search-input-button .search-input-label {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/*
 * rtin-style-4 (pill) зменшує .rtcl-search-input-button (обгортку поля) до
 * 50px, але не чіпає сам <input>/<select> усередині .classima-search-style-2
 * (поле локації) — той лишається на базових 58px і вилазить за межі своєї
 * пігулки по вертикалі.
 */
.rt-el-listing-search.rtin-style-4 .classima-listing-search-form .classima-search-style-2 input,
.rt-el-listing-search.rtin-style-4 .classima-listing-search-form .classima-search-style-2 select {
	height: 50px;
	line-height: 50px;
}

/* ==========================================================================
   Milestone 6 — promote listings, delivery options, Greek-first setup
   ========================================================================== */

/* Featured badge (plugin's own .rtcl-badge-featured) — stronger visual highlight. */
.rtcl-badge-featured {
	background-color: #ff9800 !important;
	color: #fff !important;
	box-shadow: 0 2px 6px rgba(255, 152, 0, 0.4);
}

/* [classima_featured_listings] shortcode section (drop into the homepage). */
.classima-featured-listings {
	margin: 30px 0;
}

.classima-featured-listings__title {
	margin-bottom: 16px;
}

.classima-featured-listings__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

/* Delivery options — display only, on the single listing page. Inside the
   Classima template it is a theme .site-content-block (own box + title
   style); the bordered box below is only for the plugin's default template. */
.classima-delivery-options:not(.site-content-block) {
	margin: 20px 0;
	padding: 16px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 6px;
}

.classima-delivery-options:not(.site-content-block) .classima-delivery-options__title {
	margin: 0 0 10px;
	font-size: 16px;
}

.classima-delivery-options__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.classima-delivery-options__item {
	padding: 6px 12px;
	border-radius: 20px;
	background: rgba(0, 0, 0, 0.05);
	font-size: 13px;
}

/* Delivery options checkboxes on the submit-listing form (rtcl_fb_extra_form). */
.classima-delivery-options-field {
	margin-top: 10px;
}

/* rtcl_fb_extra_form renders as a real <form> with its own <button
 * type="submit"> (form-builder.php, classified-listing plugin) — that's by
 * design: the main "Submit Listing" button's own JS (form-builder.js)
 * reads this form's fields via jQuery('form#rtcl-fb-extra-form') and
 * folds them into the *same* AJAX request, so clicking "Submit Listing"
 * already saves delivery options too. This second button was never meant
 * to be clicked on its own — it's just a leftover artifact of the extra
 * form needing to be a real <form> element. Clicking it does a plain
 * (non-AJAX) browser form submission, reloading the page with the
 * checkbox values dumped into the URL as a query string and nothing
 * actually saved — confusing and broken. Hiding it (not removing — the
 * JS still needs the <form> and its fields, just not this button) fixes
 * both the "why are there two submit buttons" confusion and the reload
 * bug in one move; nothing else about this form changes.
 */
#rtcl-fb-extra-form button[type="submit"] {
	display: none !important;
}

/* Greek/English language switcher, injected at wp_body_open. */
/* Bottom-left (not bottom-right, where the theme's own "scroll to top"
   button lives, and not the top corners, where the header's own icons —
   chat, login, post-ad — already sit) so it doesn't collide with anything
   the theme already renders, whatever the current header/scroll position. */
.classima-lang-switch {
	position: fixed;
	bottom: 16px;
	left: 12px;
	z-index: 9999;
	display: flex;
	gap: 4px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	padding: 4px;
}

.classima-lang-switch__item {
	padding: 4px 10px;
	border-radius: 16px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	color: #333;
}

.classima-lang-switch__item.is-active {
	background: #ff5a5f;
	color: #fff;
}

/* Issue #001: switcher in the header (copied there by
   classima_child_move_language_switcher_to_header()); the floating original
   is only a no-JS fallback. */
html.classima-js .classima-lang-switch:not(.classima-lang-switch--header) {
	display: none;
}

.classima-lang-switch.classima-lang-switch--header {
	position: static;
	box-shadow: none;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.6);
	padding: 3px;
	gap: 2px;
	flex: 0 0 auto;
}

.classima-lang-switch--header .classima-lang-switch__item {
	color: #fff;
	line-height: 1.4;
}

.classima-lang-switch--header .classima-lang-switch__item:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.15);
}

.classima-lang-switch--header .classima-lang-switch__item.is-active {
	background: #fff;
	color: #0b3a5f;
}

.header-btn-area.classima-has-lang-switch {
	display: flex;
	align-items: center;
	gap: 14px;
}

/* Mobile bar has a white background: navy variant, compact. */
.header-mobile-icons {
	display: flex;
	align-items: center;
}

.header-mobile-icons .classima-lang-switch--header {
	border-color: #0b3a5f;
	margin-right: 8px;
	padding: 2px;
}

.header-mobile-icons .classima-lang-switch--header .classima-lang-switch__item {
	color: #0b3a5f;
	padding: 2px 6px;
	font-size: 11px;
}

.header-mobile-icons .classima-lang-switch--header .classima-lang-switch__item.is-active {
	background: #0b3a5f;
	color: #fff;
}

/* Narrow phones (360px Android etc.): the full EL|EN pill overlapped the logo.
   Show only the language to switch to — one tap, same result. */
@media (max-width: 400px) {
	.header-mobile-icons .classima-lang-switch--header {
		margin-right: 6px;
	}

	.header-mobile-icons .classima-lang-switch--header .classima-lang-switch__item.is-active {
		display: none;
	}
}

/* Very narrow (320px): the post-ad button keeps only its "+" icon. */
@media (max-width: 340px) {
	.header-mobile-icons .header-menu-btn-mob {
		font-size: 0 !important;
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	.header-mobile-icons .header-menu-btn-mob i,
	.header-mobile-icons .header-menu-btn-mob svg {
		font-size: 16px !important;
		margin: 0 !important;
	}
}

/* Issue #001: no "scroll to top" button bottom-right. */
a.scrollToTop {
	display: none !important;
}

/* ==========================================================================
   Mobile homepage compacting (client request, 2026-08-31) — body.home only,
   <=767px only. Desktop untouched. See classima_child_mobile_home_drawer_script()
   in functions.php for why the drawer needs a JS handler too.
   ========================================================================== */
@media screen and (max-width: 767px) {
	/* Listings right after the search bar, category tree second — order is
	   set on the Elementor *column* via :has(), not the widget itself, so it
	   isn't tied to Elementor's auto-generated per-page element IDs. */
	body.home .elementor-column:has( .rt-listing-cat-list-2 ) {
		order: 2;
	}

	body.home .elementor-column:has( .rt-el-listing-grid ) {
		order: 1;
	}

	/* Hero search widget — compact, single-column, tighter gaps between the
	   3 stacked fields (location/category/keyword) and the button below. */
	body.home .rt-el-listing-search.rtin-style-4 {
		padding: 12px;
	}

	body.home .rt-el-listing-search .form-group,
	body.home .rt-el-listing-search .rtin-loc-space,
	body.home .rt-el-listing-search .rtin-cat-space,
	body.home .rt-el-listing-search .rtin-key-space {
		margin-bottom: 8px !important;
	}

	body.home .rt-el-listing-search .rtin-btn-holder {
		margin-top: 4px !important;
	}

	/* Category tree collapsed by default — the parent theme already draws a
	   proper hamburger icon for .classima-listing-cat-open-menu (3 white
	   lines that morph into an X via its own .sidebar-open CSS), so we
	   don't touch that button's look at all here — overriding its
	   :before/:after previously fought the native icon and produced a
	   broken-looking bar (see functions.php JS for the .sidebar-open toggle). */
	body.home .rt-listing-cat-list-2 {
		margin-bottom: 14px;
	}

	/* ...and reopened as a left-edge off-canvas drawer (JS toggles
	   body.classima-cat-drawer-open — see functions.php). */
	/* The theme's own default for this element on mobile is `display: none`
	   (it expects jQuery slideToggle to reveal it) — since we show/hide via
	   `transform` instead, it has to be forced visible here or the
	   transform has nothing to animate. */
	body.home .rt-listing-cat-list-2 .listing-category-list {
		display: block !important;
		position: fixed !important;
		top: 0;
		left: 0;
		width: 85%;
		max-width: 320px;
		height: 100vh !important;
		margin: 0 !important;
		overflow-y: auto;
		background: #fff;
		z-index: 100000;
		padding: 60px 16px 30px;
		box-shadow: 2px 0 18px rgba(0, 0, 0, 0.25);
		transform: translateX(-100%);
		transition: transform 0.3s ease;
	}

	body.classima-cat-drawer-open .rt-listing-cat-list-2 .listing-category-list {
		transform: translateX(0);
	}

	.classima-cat-drawer-backdrop {
		display: none;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.45);
		z-index: 99999;
	}

	body.classima-cat-drawer-open .classima-cat-drawer-backdrop {
		display: block;
	}

	.classima-cat-drawer-close {
		position: absolute;
		top: 14px;
		right: 14px;
		width: 32px;
		height: 32px;
		border: none;
		border-radius: 50%;
		background: rgba(0, 0, 0, 0.06);
		font-size: 20px;
		line-height: 1;
		cursor: pointer;
	}

	/* "Recommended for You" grid — 3 compact columns instead of 1 full-width card.
	   flex-shrink must NOT be 0 here: a 0 0 %-basis column won't shrink below
	   its content's natural width, so any nowrap text inside (price, title)
	   was pushing the column wider than 33.33% and spilling past the card
	   edge instead of wrapping/truncating — `min-width: 0` is the other half
	   of that fix (flex items default to min-width:auto, which alone still
	   lets intrinsic content width win over the flex-basis). */
	body.home .rt-el-listing-grid .row > [class*="col-"] {
		flex: 1 1 33.3333%;
		max-width: 33.3333%;
		min-width: 0;
		padding-left: 5px;
		padding-right: 5px;
		margin-bottom: 10px;
		box-sizing: border-box;
	}

	body.home .rt-el-listing-grid .listing-grid-each,
	body.home .rt-el-listing-grid .rtin-item,
	body.home .rt-el-listing-grid .rtin-content {
		overflow: hidden;
		min-width: 0;
	}

	/* Price can be a range ("220€ – 360€") — too wide to fit one line at any
	   readable size in a ~110px column, so let it wrap onto 2 lines instead
	   of forcing single-line text past the card edge. */
	body.home .rt-el-listing-grid .rtin-price,
	body.home .rt-el-listing-grid .rtcl-price-range,
	body.home .rt-el-listing-grid .rtcl-price-amount {
		white-space: normal;
		word-break: break-word;
		line-height: 1.25;
	}

	body.home .rt-el-listing-grid .rtin-thumb,
	body.home .rt-el-listing-grid .rtin-thumb img {
		height: 80px;
	}

	/* The theme's "For Sell"/"Featured" ribbons on the thumbnail are
	   absolutely positioned and sized for the original ~280px-tall photo;
	   shrunk to an 80px thumb they overlap and clip into the image instead
	   of sitting in the corner. `.rtin-featured-ad` renders as an empty,
	   already-colored ribbon shape even on non-featured listings (a
	   pre-existing theme quirk, invisible at full size) — hiding it here
	   also removes the CSS `+` sibling rule that was pushing "For Sell"
	   down to overlap it; the type ribbon still shows, just smaller.
	   Trade-off: a genuinely Featured listing loses its ribbon in this one
	   teaser grid on mobile — the separate Featured badge elsewhere on the
	   site (.rtcl-badge-featured) is unaffected. */
	body.home .rt-el-listing-grid .rtin-featured-ad {
		display: none !important;
	}

	body.home .rt-el-listing-grid .rtin-type {
		top: 4px !important;
		padding: 3px 14px 3px 6px !important;
	}

	body.home .rt-el-listing-grid .rtin-type span {
		font-size: 9px !important;
	}

	body.home .rt-el-listing-grid .rtin-content {
		padding: 6px 4px;
	}

	/* text-overflow:ellipsis only truncates on the box it's set on — it was
	   on .rtin-title, but that box had no explicit width, so it just grew
	   past the card and got hard-clipped by .rtin-content's overflow:hidden
	   above instead (no "…", cut mid-word). Same reasoning for the <a>
	   inside — a nowrap inline link doesn't take the width of its own h3. */
	body.home .rt-el-listing-grid .rtin-title {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		font-size: 11px !important;
		line-height: 1.3 !important;
		margin: 0 0 4px !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
	}

	body.home .rt-el-listing-grid .rtin-title a {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	/* "4 months ago" etc. and the quick-view/compare icons don't fit a card
	   this small and aren't essential at a glance. */
	body.home .rt-el-listing-grid .rtin-meta,
	body.home .rt-el-listing-grid .rtcl-meta-buttons {
		display: none;
	}

	/* The theme sets the amount's font-size via an ID-prefixed selector
	   (#content .listing-grid-each-9 span.rtcl-price-amount { 22px }),
	   which outranks a plain class selector — needs !important to actually
	   win, same as the title/type fixes above. */
	body.home .rt-el-listing-grid .rtin-price,
	body.home .rt-el-listing-grid .rtcl-price-amount {
		font-size: 12px !important;
	}
}

/* ==========================================================================
   Business/Company account — Verified Business badge (2026-09-07)
   ========================================================================== */
.classima-verified-business-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 12px;
	background: #e6f4ea;
	color: #1e7e34;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.classima-child-company-fields {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Mobile QA round (client request, 2026-09-14)
   ========================================================================== */

/* Google reCAPTCHA v3's own badge defaults to bottom:14px/right:14px, which
   is directly on top of the theme's own .scrollToTop button
   (bottom:5px/right:20px, 44px tall) — push the badge above it. Repositioning
   (not hiding) is allowed under Google's terms. */
.grecaptcha-badge {
	bottom: 80px !important;
}

@media screen and (max-width: 767px) {
	/* Homepage hero search — ~25-30% shorter fields so more listings are
	   visible without scrolling past the search area first. */
	body.home .rt-el-listing-search .rtcl-search-input-button,
	body.home .rt-el-listing-search .rtin-keyword input,
	body.home .rt-el-listing-search .classima-search-style-2 input,
	body.home .rt-el-listing-search .classima-search-style-2 select {
		height: 42px !important;
		line-height: 42px !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	body.home .rt-el-listing-search .rtin-btn-holder,
	body.home .rt-el-listing-search .rtin-search-btn {
		height: 42px !important;
	}

	/* Single listing page — the "Home / All Ads / Category / Title"
	   breadcrumb trail is dead weight on a small screen; the page title
	   right below it already says where you are. */
	.main-breadcrumb {
		display: none !important;
	}
}

/* Seller Information block — seller type + company name (2026-09-14). */
.classima-seller-type-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 600;
	vertical-align: middle;
}

.classima-seller-type-badge--individual {
	background: #eef2f7;
	color: #475569;
}

.classima-seller-type-badge--company {
	background: #e0f2fe;
	color: #075985;
}

.classima-seller-company-name {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	color: #64748b;
}

/* Homepage hero background (2026-09-14 follow-up): the section's own
   "Parallax" feature (classima-core) writes the image URL to
   `data-bg-image`, but the parallaxie.js library that reads it back
   expects `data-image` — a pre-existing mismatch, unrelated to which
   image is configured. It falls through to reading the *computed* CSS
   background-image (which is correct) but then reapplies it inline with
   `background-position: right <offset>px` and no `background-size`, so at
   the image's natural 1536px width the section's left portion shows only
   the plain background-color instead of the photo. `!important` here
   beats that inline style (the one case a stylesheet rule can). */
.elementor-element-4ab08553 {
	background-size: cover !important;
	background-position: center center !important;
}

/* ===== Client feedback round (2026-10-13) ===== */

/* My Account menu: "Log out" stands apart from the other items — red, bold,
   without its icon (both the desktop sidebar and the mobile navbar). */
.rtcl-MyAccount-navigation-link--logout a,
.rtcl-MyAccount-navigation-link--logout a:hover {
	color: #dc2626 !important;
	font-weight: 700 !important;
}

.rtcl-MyAccount-wrap .rtcl-MyAccount-navigation ul li.rtcl-MyAccount-navigation-link--logout a:before,
.rtcl-MyAccount-mobile-navbar .rtcl-MyAccount-navigation-link--logout a:before,
.rtcl-MyAccount-navigation-link--logout a .rtcl-icon,
.rtcl-MyAccount-navigation-link--logout a i {
	display: none !important;
}

/* Membership report: link to the paid promotion packages, clearly
   recognisable as a link. */
/* !important: the theme's own link colour rule is more specific. */
.membership-statistic-report-wrap .classima-child-promote-hint a,
.membership-statistic-report-wrap p a {
	color: #1d6fe0 !important;
	font-weight: 700;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.membership-statistic-report-wrap .classima-child-promote-hint a:hover,
.membership-statistic-report-wrap p a:hover {
	color: #1452b3 !important;
}

/* Chat window: close (X) button next to the minimize handle. */
.rtcl-chat-modal-handle {
	position: relative;
}

.rtcl-chat-modal-handle .classima-chat-close {
	position: absolute;
	top: 50%;
	right: 40px;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	color: inherit;
	font-size: 20px;
	line-height: 28px;
	text-align: center;
	cursor: pointer;
}

.rtcl-chat-modal-handle .classima-chat-close:hover,
.rtcl-chat-modal-handle .classima-chat-close:focus {
	background: rgba(255, 255, 255, 0.35);
}

#rtcl-chat-modal-wrap.classima-chat-hidden {
	display: none !important;
}

/* Mobile homepage search: keyword + search button by default, Location and
   Category behind the ▼ / ▲ toggle. Desktop unchanged. */
.classima-search-filters-toggle {
	display: none;
}

@media (max-width: 767px) {
	.rt-el-listing-search form.classima-mobile-search {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		gap: 8px;
	}

	.rt-el-listing-search form.classima-mobile-search > * {
		width: 100%;
		margin: 0;
	}

	.rt-el-listing-search form.classima-mobile-search .rtin-key-space {
		order: 1;
	}

	.rt-el-listing-search form.classima-mobile-search .classima-search-filters-toggle {
		order: 2;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		padding: 6px 12px;
		border: 1px solid rgba(0, 0, 0, 0.12);
		border-radius: 6px;
		background: #fff;
		color: #0a3d62;
		font-size: 14px;
		font-weight: 600;
		line-height: 1.4;
	}

	.rt-el-listing-search form.classima-mobile-search .rtin-loc-space,
	.rt-el-listing-search form.classima-mobile-search .rtin-cat-space {
		order: 3;
		display: none;
	}

	.rt-el-listing-search form.classima-mobile-search.classima-search-filters-open .rtin-loc-space,
	.rt-el-listing-search form.classima-mobile-search.classima-search-filters-open .rtin-cat-space {
		display: block;
	}

	.rt-el-listing-search form.classima-mobile-search .rtin-btn-holder {
		order: 4;
	}

	.rt-el-listing-search form.classima-mobile-search .form-group {
		margin-bottom: 0;
	}

	/* The theme sizes each block to 46% (two per row) and the inputs to
	   their own narrow width — make every row full width, no extra gaps. */
	.rt-el-listing-search form.classima-mobile-search .rtin-key-space,
	.rt-el-listing-search form.classima-mobile-search .rtin-loc-space,
	.rt-el-listing-search form.classima-mobile-search .rtin-cat-space,
	.rt-el-listing-search form.classima-mobile-search .rtin-btn-holder {
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
	}

	.rt-el-listing-search form.classima-mobile-search .form-group,
	.rt-el-listing-search form.classima-mobile-search .rtcl-search-input-button {
		width: 100% !important;
		margin: 0 !important;
	}

	/* Icon + input on one line: the input takes the remaining width (a plain
	   width:100% made it wrap below the icon and cover the toggle). */
	.rt-el-listing-search form.classima-mobile-search .rtin-keyword,
	.rt-el-listing-search form.classima-mobile-search .rtin-location {
		display: flex !important;
		align-items: center;
	}

	.rt-el-listing-search form.classima-mobile-search .rtin-keyword input[name="q"],
	.rt-el-listing-search form.classima-mobile-search .rtin-location input.form-control {
		flex: 1 1 auto;
		min-width: 0;
		width: auto !important;
	}

	.rt-el-listing-search form.classima-mobile-search .rtin-search-btn {
		width: 100% !important;
	}

	.rt-el-listing-search form.classima-mobile-search .classima-search-filters-toggle {
		width: 100%;
		padding: 4px 12px;
		border: 0;
		background: transparent;
		font-size: 13px;
	}
}

/* Post an Ad → Photos: the plugin always shows the upload rules (max size,
   max count, allowed types) in a red error box before anything is uploaded.
   Show them as a neutral hint instead. */
.rtcl-file-upload-instruction.image-upload {
	background: #f1f5f9 !important;
	border-color: #e2e8f0 !important;
	color: #475569 !important;
}
