/* TND Estate Pro – Showcase single listing page */
.tep-showcase { background: #fff; overflow: hidden; }
.tep-sc-in { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.tep-sc-block { padding: 80px 0; }
.tep-sc-soft { background: var(--tep-soft); }
.tep-sc-grey { background: #f5f4f3; }
.tep-sc-h { font-size: clamp(30px, 4vw, 52px); line-height: 1.1; font-weight: 700; color: var(--tep-dark); margin: 0 0 14px; letter-spacing: -.5px; }
.tep-sc-h.tep-center { margin-bottom: 40px; }
.tep-sc-h3 { font-size: 26px; color: var(--tep-dark); margin: 50px 0 24px; }
.tep-sc-card { background: #fff; border: 1px solid #ece7e3; border-radius: 22px; box-shadow: 0 10px 30px rgba(61, 34, 24, .05); }

/* ---------- Hero ---------- */
.tep-sc-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; color: #fff; padding: 110px 0 60px; background: linear-gradient(160deg, #3a1d14 0%, #120a07 60%, #050302 100%); }
.tep-sc-hero.has-img { background: linear-gradient(180deg, rgba(10, 5, 3, .15) 0%, rgba(10, 5, 3, .55) 55%, rgba(10, 5, 3, .92) 100%), var(--hero) center / cover no-repeat; }
.tep-sc-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--tep-primary), var(--tep-dark)); }
.tep-sc-crumbs { font-size: 14px; opacity: .8; margin-bottom: 14px; }
.tep-sc-crumbs a { color: #fff; }
.tep-sc-crumbs a:hover { color: var(--tep-soft); }
.tep-sc-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tep-sc-badges:empty { display: none; }
.tep-sc-badges span { background: rgba(255, 255, 255, .15); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .25); border-radius: 30px; padding: 5px 14px; font-size: 13px; font-weight: 600; }
.tep-sc-badges .is-hot { background: var(--tep-primary); border-color: var(--tep-primary); }
.tep-sc-badges .is-sold { background: #b42318; border-color: #b42318; }
.tep-sc-title { font-size: clamp(32px, 5vw, 58px); line-height: 1.08; font-weight: 700; color: #fff; margin: 0 0 12px; max-width: 900px; letter-spacing: -.5px; }
.tep-sc-loc { display: flex; align-items: center; gap: 6px; font-size: 17px; opacity: .9; margin: 0 0 26px; }
.tep-sc-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tep-s .tep-sc-round { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .25s; position: static; }
.tep-s .tep-sc-round:hover { background: #fff; color: var(--tep-dark); }
.tep-s .tep-sc-round.is-on { background: #fff; color: #e02020; }
.tep-s .tep-sc-round.is-on svg { fill: #e02020; }

/* ---------- Overview ---------- */
.tep-sc-overview { padding: 34px 36px 36px; margin-top: 0; }
.tep-sc-intro { font-size: 18px; color: #3b3f47; margin: 0 0 22px; max-width: 980px; }
.tep-sc-addr { display: flex; gap: 8px; align-items: center; margin: 0 0 26px; color: #3b3f47; font-size: 16px; }
.tep-sc-addr svg { color: var(--tep-primary); flex: none; }
.tep-sc-chips { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.tep-sc-chip { display: inline-flex; align-items: center; gap: 12px; background: var(--tep-soft); border-radius: 14px; padding: 10px 20px 10px 10px; font-size: 16.5px; color: #2c2f36; }
.tep-sc-chip i { width: 36px; height: 36px; border-radius: 9px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--tep-primary); flex: none; }
.tep-sc-chip b { font-weight: 600; }
.tep-sc-desc { margin-top: 28px; padding-top: 24px; border-top: 1px dashed #e7dfd8; color: #4a4e57; font-size: 16px; }
.tep-sc-desc p { margin: 0 0 12px; }

/* ---------- Gallery ---------- */
.tep-sc-gallery .tep-slider { padding: 0 50px; }
.tep-s .tep-sc-gimg { display: block; width: 100%; padding: 0; border: 0; background: #fff; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; box-shadow: 0 10px 26px rgba(61,34,24,.12); }
.tep-sc-gimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tep-sc-gimg:hover img { transform: scale(1.06); }
.tep-sc-gallery .tep-sl-prev, .tep-sc-amen .tep-sl-prev { left: 0; }
.tep-sc-gallery .tep-sl-next, .tep-sc-amen .tep-sl-next { right: 0; }
.tep-sc-video { position: relative; padding-top: 50%; border-radius: 20px; overflow: hidden; margin-top: 40px; box-shadow: 0 16px 40px rgba(0,0,0,.15); }
.tep-sc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Amenities ---------- */
.tep-sc-amen .tep-slider { padding: 0 54px; }
.tep-sc-amen-card { background: #fff; border: 1px solid #ece7e3; border-radius: 18px; padding: 34px 16px 30px; text-align: center; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; transition: .3s; min-height: 184px; }
.tep-sc-amen-card:hover { border-color: var(--tep-primary); box-shadow: 0 14px 30px rgba(61,34,24,.1); transform: translateY(-4px); }
.tep-sc-amen-ic { color: #4b4f58; display: flex; }
.tep-sc-amen-card:hover .tep-sc-amen-ic { color: var(--tep-primary); }
.tep-sc-amen-ic img { width: 56px; height: 56px; object-fit: contain; }
.tep-sc-amen-ic svg { width: 56px; height: 56px; }
.tep-sc-amen-card strong { font-size: 17px; font-weight: 600; color: #22252c; line-height: 1.3; }
.tep-sc-amen .tep-floorplans { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tep-sc-amen .tep-fp { border: 1px solid #ece7e3; border-radius: 14px; background: #fff; padding: 8px; cursor: zoom-in; }

/* ---------- Location ---------- */
.tep-sc-loc-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.tep-sc-loc-grid.no-map { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.tep-sc-map { position: relative; border-radius: 22px; overflow: hidden; min-height: 460px; background: #e9e6e3; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.tep-sc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tep-sc-radius { position: absolute; top: 14px; right: 14px; background: #fff; border-radius: 30px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: #2c2f36; display: flex; align-items: center; gap: 7px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.tep-sc-radius i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #1a73e8; }
.tep-sc-dir { position: absolute; left: 14px; bottom: 14px; background: var(--tep-primary); color: #fff !important; border-radius: 30px; padding: 8px 16px; font-size: 14px; font-weight: 600; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.tep-sc-why { padding: 32px; display: flex; flex-direction: column; }
.tep-sc-why h3 { font-size: 26px; color: var(--tep-dark); margin: 0 0 22px; font-weight: 600; }
.tep-sc-why h4 { font-size: 17px; color: var(--tep-dark); margin: 26px 0 14px; font-weight: 700; }
.tep-sc-checks { list-style: none; margin: 0; padding: 0; }
.tep-sc-checks li { position: relative; padding: 0 0 0 38px; margin: 0 0 16px; font-size: 17px; color: #2c2f36; line-height: 1.5; }
.tep-sc-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 25px; height: 25px; border-radius: 50%; border: 1.5px solid var(--tep-primary); color: var(--tep-primary); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; background: #fff; }
.tep-sc-nearby { margin-top: auto; padding: 0 40px; }
.tep-sc-nearby .tep-sl-prev { left: 0; } .tep-sc-nearby .tep-sl-next { right: 0; }
.tep-sc-nearby .tep-sl-arrow { width: 34px; height: 34px; font-size: 22px; }
.tep-s .tep-nearby { width: 100%; background: #fff5ea; border: 1px solid #fbe1c8; border-radius: 14px; padding: 16px 8px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: #22252c; cursor: pointer; transition: .25s; font-family: inherit; min-height: 106px; justify-content: center; }
.tep-nearby span { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: #2c2f36; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.tep-s .tep-nearby:hover, .tep-s .tep-nearby.active { border-color: var(--tep-primary); background: #fff; box-shadow: 0 8px 20px rgba(224,122,53,.18); }
.tep-nearby.active span { background: var(--tep-primary); color: #fff; }
.tep-s .tep-nearby-reset { margin-top: 14px; background: none; border: 0; color: var(--tep-primary); font-weight: 600; cursor: pointer; padding: 0; font-family: inherit; }

/* ---------- Split enquiry ---------- */
.tep-sc-enquiry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tep-sc-enq-left { background: var(--tep-soft); padding: 90px 50px 90px 20px; }
.tep-sc-enq-right { background: #f6f6f6; padding: 70px 20px 80px 50px; }
.tep-sc-enq-in { max-width: 600px; }
.tep-sc-enq-left .tep-sc-enq-in { margin-left: auto; }
.tep-sc-enquiry h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.12; color: var(--tep-dark); margin: 0 0 12px; font-weight: 700; }
.tep-sc-enq-right h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 26px; }
.tep-sc-enq-sub { font-size: 19px; color: #2c2f36; margin: 0 0 40px; }
.tep-sc-contact { list-style: none; margin: 0; padding: 0; }
.tep-sc-contact li { display: flex; gap: 16px; align-items: flex-start; margin: 0 0 30px; }
.tep-sc-cic { width: 48px; height: 48px; border-radius: 50%; background: var(--tep-dark); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.tep-sc-contact strong { display: block; font-size: 21px; color: var(--tep-dark); margin-bottom: 2px; }
.tep-sc-contact div > span, .tep-sc-contact a { color: #33363d; font-size: 16px; display: block; }
.tep-sc-contact a:hover { color: var(--tep-primary); }
.tep-sc-enquiry .tep-visit input[type=text], .tep-sc-enquiry .tep-visit input[type=email], .tep-sc-enquiry .tep-visit input[type=tel], .tep-sc-enquiry .tep-visit input[type=date], .tep-sc-enquiry .tep-visit select, .tep-sc-enquiry .tep-visit textarea { background: #ececec; border-color: #e2e2e2; }
.tep-sc-enquiry .tep-visit .tep-sbtn { border-radius: 8px; }

/* EMI inside showcase */
.tep-sc-emi .tep-section { border: 1px solid #ece7e3; border-radius: 22px; padding: 30px; margin: 0; }
.tep-showcase .tep-similar, .tep-showcase .tep-section-plain { padding: 0; }
.tep-showcase .tep-section-plain > h2, .tep-showcase .tep-section > h2 { color: var(--tep-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.tep-sc-loc-grid { grid-template-columns: minmax(0, 1fr); }
	.tep-sc-map { min-height: 360px; }
	.tep-sc-enquiry { grid-template-columns: minmax(0, 1fr); }
	.tep-sc-enq-left, .tep-sc-enq-right { padding: 60px 20px; }
	.tep-sc-enq-in { max-width: 700px; margin: 0 auto !important; }
}
@media (max-width: 767px) {
	.tep-sc-block { padding: 54px 0; }
	.tep-sc-hero { min-height: 380px; padding: 80px 0 40px; }
	.tep-sc-overview { padding: 24px 20px; border-radius: 18px; }
	.tep-sc-intro { font-size: 16px; }
	.tep-sc-chips { gap: 10px; }
	.tep-sc-chip { font-size: 14.5px; padding: 8px 14px 8px 8px; gap: 10px; }
	.tep-sc-chip i { width: 30px; height: 30px; }
	.tep-sc-gallery .tep-slider, .tep-sc-amen .tep-slider, .tep-sc-nearby { padding: 0; }
	.tep-sc-amen-card { min-height: 150px; padding: 24px 10px; }
	.tep-sc-amen-ic svg, .tep-sc-amen-ic img { width: 44px; height: 44px; }
	.tep-sc-amen-card strong { font-size: 15px; }
	.tep-sc-why { padding: 24px 20px; }
	.tep-sc-checks li { font-size: 15.5px; }
	.tep-sc-enq-sub { margin-bottom: 26px; font-size: 16.5px; }
	.tep-showcase { padding-bottom: 60px; }
}

.tep-sc-chip > span { min-width: 0; overflow-wrap: anywhere; }
.tep-sc-why, .tep-sc-map { min-width: 0; }
