/* Header */
.member-info {
	padding: 8px 16px;
	border-bottom: 1px solid #eee;
	position: relative;
}

.seller-info {
	display: flex;
	align-items: center;

}
.like
{
	display: flex;
	align-items: center;
	width:20%;
}

.avatar {
	width: 44px;
	height: 44px;
	background: linear-gradient(135deg, #3498db, #2980b9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	font-size: 19px;
	margin-right: 12px;
}

.seller-details {
	flex: 1;
}

.seller-name {
	display:flex;
	font-weight: 700;
	font-size: 17px;
	color: #2c3e50;
}

.seller-stats {
	display: flex;
	color: #7f8c8d;
	font-size: 13px;
	margin-top: 3px;
}

.seller-stats span {
	margin-right: 12px;
	display: flex;
	align-items: center;
}

.time-ago {
	font-size: 14px;
	color: #95a5a6;
	text-align: right;
}

/* Gallery Styles */
.gallery {
	position: relative;
	overflow: hidden;
	height: 330px;
	background: #1a1a1a;
	touch-action: pan-y;
}

.image-container {
	display: flex;
	height: 100%;
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
	min-width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	user-select: none;
	touch-action: manipulation;
}

.slider-controls {
	position: absolute;
	bottom: 20px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10;
}

.pagination {
	background: rgba(0,0,0,0.7);
	color: white;
	padding: 7px 16px;
	border-radius: 30px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.5px;
}

.nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.6);
	color: white;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 20;
	transition: all 0.2s ease;
	opacity: 0.85;
}

.nav-btn:hover {
	background: rgba(0,0,0,0.8);
	opacity: 1;
}

.prev {
	left: 15px;
}

.next {
	right: 15px;
}

/* Lightbox */
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.lightbox.active {
	opacity: 1;
	pointer-events: all;
}

.lightbox-image {
	max-width: 92%;
	max-height: 85%;
	object-fit: contain;
	transform: scale(0.95);
	transition: transform 0.3s ease;
	border-radius: 2px;
}

.lightbox.active .lightbox-image {
	transform: scale(1);
}

.lightbox-close {
	position: absolute;
	top: 30px;
	right: 30px;
	color: white;
	font-size: 32px;
	cursor: pointer;
	opacity: 0.8;
	transition: opacity 0.2s;
}

.lightbox-close:hover {
	opacity: 1;
}

.lightbox-pagination {
	position: absolute;
	bottom: 40px;
	left: 0;
	width: 100%;
	text-align: center;
	color: white;
	font-size: 18px;
	font-weight: 600;
	padding: 8px 16px;
	background: rgba(0,0,0,0.6);
	border-radius: 6px;
	max-width: 120px;
	margin: 0 auto;
}

/* Details Section */
.details {
	padding: 0.4rem 0.1rem;
}

.title {
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 18px;
	color: #2c3e50;
	line-height: 1.3;
}

.price {
	/*color: #e74c3c;*/
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 22px;
	width:80%;
	float:left;
}
.contact-info {
	background: #f8f9fa;
	padding: 18px;
	border-radius: 10px;
	margin: 20px 0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	border: 1px solid #eee;
}

.contact-row {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	border-bottom: 1px solid #f0f0f0;
	padding-bottom:15px;
}

.contact-row:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border: none;
}

.contact-icon {
	width: 32px;
	color: #3498db;
	margin-right: 14px;
	font-size: 18px;
	display: flex;
	justify-content: center;
}

.contact-text {
	flex: 1;
	font-size: 16px;
}

.contact-label {
	font-size: 14px;
	color: #7f8c8d;
	margin-bottom: 3px;
}

.contact-value {
	font-weight: 500;
	font-size: 16px;
	color: #2c3e50;
}

/* Description Section */
.description {
	margin: 25px 0;
	position: relative;
}

.description h3 {
	font-size: 20px;
	margin-bottom: 15px;
	color: #2c3e50;
	padding-bottom: 8px;
	border-bottom: 2px solid #3498db;
	display: inline-block;
}

.description-content {
	position: relative;
	overflow: hidden;
	max-height: 108px;
	transition: max-height 0.45s ease;
	color: #34495e;
	line-height: 1.7;
	white-space: pre;
	white-space: pre-wrap;
	word-break: break-all;
	word-wrap: break-word;
}

.description-content.expanded {
	max-height: 1000px;
}

.description-content p {
	margin-bottom: 12px;
}

.toggle-description {
	display: block;
	text-align: center;
	cursor: pointer;
	margin-top: 15px;
	color: #3498db;
	font-weight: 600;
	padding: 10px;
	background: rgba(52, 152, 219, 0.08);
	border-radius: 8px;
	transition: all 0.2s;
}

.toggle-description:hover {
	background: rgba(52, 152, 219, 0.15);
}

/* Contact Button */
.contact-btn {
	display: flex;
	justify-content: center;
	margin-top: 25px;
	margin-bottom: 10px;
}

.message-btn {
	background: linear-gradient(to right, #3498db, #2980b9);
	color: white;
	border: none;
	padding: 16px 45px;
	border-radius: 50px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	transition: all 0.25s ease;
	box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.message-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(52, 152, 219, 0.4);
}

.message-btn i {
	margin-right: 12px;
}

/* Modal Overlay */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.modal-overlay.active {
	opacity: 1;
	pointer-events: all;
}

.modal {
	background: white;
	width: 90%;
	max-width: 450px;
	padding: 30px;
	border-radius: 16px;
	position: relative;
	box-shadow: 0 20px 40px rgba(0,0,0,0.25);
	transform: translateY(20px);
	transition: transform 0.3s ease, opacity 0.3s ease;
	opacity: 0;
}

.modal-overlay.active .modal {
	transform: translateY(0);
	opacity: 1;
}

.modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
	font-size: 26px;
	cursor: pointer;
	color: #bdc3c7;
	transition: color 0.2s;
}

.modal-close:hover {
	color: #e74c3c;
}

.modal-title {
	font-size: 24px;
	margin-bottom: 25px;
	text-align: center;
	color: #2c3e50;
	padding-bottom: 15px;
	border-bottom: 2px solid #f1f2f6;
}

.contact-to {
	text-align: center;
	margin-bottom: 18px;
	font-weight: 600;
	font-size: 18px;
	color: #3498db;
}

.message-input {
	width: 100%;
	height: 150px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 20px;
	font-size: 16px;
	resize: none;
	transition: border 0.2s;
	color: #2c3e50;
	font-family: inherit;
}

.message-input:focus {
	border-color: #3498db;
	outline: none;
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

.send-btn {
	background: linear-gradient(to right, #3498db, #2980b9);
	color: white;
	width: 100%;
	padding: 16px;
	border: none;
	border-radius: 8px;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s ease;
}

.send-btn:hover {
	background: linear-gradient(to right, #2980b9, #2573a7);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.property-meta {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	margin: 20px 0;
}

.meta-item {
	background: #f8f9fa;
	padding: 14px;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 2px 6px rgba(0,0,0,0.03);
	border: 1px solid #eee;
}

.meta-value {
	font-size: 18px;
	font-weight: 700;
	color: #3498db;
}

.meta-label {
	font-size: 14px;
	color: #7f8c8d;
	margin-top: 5px;
}

.send-message{
	background-color:#fff;
	height: 1.4rem;
	position: fixed; 
	bottom:1rem; 
	width:100%;
}
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.modal-overlay.active {
	opacity: 1;
	pointer-events: all;
}

.modal {
	background: white;
	width: 90%;
	max-width: 450px;
	padding: 30px;
	border-radius: 16px;
	position: relative;
	box-shadow: 0 20px 40px rgba(0,0,0,0.25);
	transform: translateY(20px);
	transition: transform 0.3s ease, opacity 0.3s ease;
	opacity: 0;
}

.modal-overlay.active .modal {
	transform: translateY(0);
	opacity: 1;
}

.modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
	font-size: 26px;
	cursor: pointer;
	color: #bdc3c7;
	transition: color 0.2s;
}

.modal-close:hover {
	color: #e74c3c;
}

.modal-title {
	font-size: 24px;
	margin-bottom: 25px;
	text-align: center;
	color: #2c3e50;
	padding-bottom: 15px;
	border-bottom: 2px solid #f1f2f6;
}
.tel-phone{
	font-size:24px; 
	font-weight:600; 
	color:#e74c3c; 
	text-align:center;
}
.share{
	float: left;
	width: 15%;
	text-align:right;
}
