/* ============================================================
   TPLC Properties — Frontend Stylesheet
   Matches reference design from tplcaberdeen.co.uk
   ============================================================ */

/* ── Base / Reset ─────────────────────────────────────────────────────────── */
.tplc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.tplc-btn-primary {
    display: inline-block;
    background: #111;
    color: #fff;
    border: 2px solid #111;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border-radius: 0;
    font-family: inherit;
    line-height: 1.4;
}
.tplc-btn-primary:hover {
    background: #333;
    border-color: #333;
    color: #fff;
}
.tplc-btn-outline {
    display: inline-block;
    background: transparent;
    color: #111;
    border: 2px solid #111;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border-radius: 0;
    font-family: inherit;
    line-height: 1.4;
}
.tplc-btn-outline:hover {
    background: #111;
    color: #fff;
}

/* ── Status Badges ──────────────────────────────────────────────────────── */
.tplc-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 2px;
    line-height: 1.4;
}
.tplc-badge--available   { background: #111; color: #fff; }
.tplc-badge--coming-soon { background: #444; color: #fff; }
.tplc-badge--rented      { background: #c0392b; color: #fff; }
.tplc-badge--not-live    { background: #999; color: #fff; }
.tplc-badge--hmo         { background: #2c3e50; color: #fff; float: right; }

/* ── Section Labels ─────────────────────────────────────────────────────── */
.tplc-section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 8px;
}
.tplc-section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #111;
    line-height: 1.15;
    margin: 0 0 8px;
}

/* ================================================================
   PROPERTY CARDS
   ================================================================ */
.tplc-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 0;
}

/* Card */
.tplc-property-card {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}
.tplc-property-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.tplc-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Rented card */
.tplc-card-rented {
    opacity: 0.65;
    filter: grayscale(30%);
}
.tplc-card-rented:hover {
    opacity: 0.75;
}

/* ── Card image / slider ─────────────────────────────────────────── */
.tplc-card-media {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}
.tplc-card-media .tplc-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}
.tplc-card-media .tplc-badge--hmo {
    left: auto;
    right: 12px;
    float: none;
}

.tplc-card-slider {
    position: relative;
}
.tplc-slide {
    display: none;
}
.tplc-slide--active {
    display: block;
}
.tplc-slide img,
.tplc-card-slider img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Slide nav buttons */
.tplc-slide-prev,
.tplc-slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    font-size: 22px;
    line-height: 1;
    padding: 6px 10px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
}
.tplc-slide-prev { left: 0; }
.tplc-slide-next { right: 0; }
.tplc-slide-prev:hover,
.tplc-slide-next:hover { background: rgba(0,0,0,0.7); }

/* Slide dots */
.tplc-slide-dots {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 3;
}
.tplc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: background 0.2s;
}
.tplc-dot--active { background: #fff; }

/* Rented overlay */
.tplc-rented-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 57, 43, 0.18);
    z-index: 2;
    pointer-events: none;
}
.tplc-rented-overlay span {
    background: #c0392b;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 18px;
    transform: rotate(-8deg);
    border-radius: 2px;
}

/* ── Card body ───────────────────────────────────────────────────── */
.tplc-card-body {
    padding: 18px 20px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.tplc-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
    line-height: 1.3;
}
.tplc-card-address {
    font-size: 13px;
    color: #555;
    margin: 0 0 10px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    flex-wrap: wrap;
}
.tplc-card-address svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #888;
}
.tplc-postcode {
    color: #777;
    margin-left: 4px;
}
.tplc-card-price {
    margin: 0 0 12px;
    color: #111;
}
.tplc-card-price strong {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.tplc-price-unit {
    font-size: 13px;
    color: #666;
    margin-left: 3px;
}

/* Tags */
.tplc-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.tplc-tag {
    background: #f3f3f3;
    color: #333;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 2px;
    letter-spacing: 0.02em;
}

/* Card footer */
.tplc-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ebebeb;
    padding-top: 12px;
    margin-top: auto;
}
.tplc-epc {
    font-size: 12px;
    font-weight: 600;
    color: #444;
}
.tplc-view-link {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ================================================================
   LETTINGS PAGE
   ================================================================ */
.tplc-lettings-page {
    padding-bottom: 80px;
}

/* Page hero */
.tplc-page-hero {
    background: #111;
    color: #fff;
    padding: 64px 0 48px;
    margin-bottom: 40px;
}
.tplc-page-hero .tplc-section-label { color: rgba(255,255,255,0.55); }
.tplc-page-hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}
.tplc-page-hero-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.72);
    margin: 0;
}

/* Tabs */
.tplc-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e2e2e2;
    margin-bottom: 28px;
}
.tplc-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    font-family: inherit;
}
.tplc-tab:hover { color: #111; }
.tplc-tab--active {
    color: #111;
    border-bottom-color: #111;
}

/* Filter bar */
.tplc-filter-bar {
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 20px 24px;
    margin-bottom: 32px;
}
.tplc-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}
.tplc-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 140px;
}
.tplc-filter-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #555;
}
.tplc-range-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
}
.tplc-range-inputs span { color: #aaa; font-size: 13px; }
.tplc-filter-form input[type="number"],
.tplc-filter-form select {
    border: 1px solid #ddd;
    padding: 8px 10px;
    font-size: 13px;
    font-family: inherit;
    background: #fff;
    width: 70px;
    border-radius: 2px;
    -moz-appearance: textfield;
}
.tplc-filter-form input[type="number"]::-webkit-inner-spin-button { opacity: 0.5; }
.tplc-filter-form select { width: 170px; cursor: pointer; }
.tplc-filter-actions {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-left: auto;
}
.tplc-filter-actions .tplc-btn-primary,
.tplc-filter-actions .tplc-btn-outline {
    padding: 9px 20px;
    font-size: 13px;
}

/* Results count */
.tplc-results-count {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* Loading spinner */
.tplc-loading-spinner {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}
.tplc-spinner {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 3px solid #e0e0e0;
    border-top-color: #111;
    border-radius: 50%;
    animation: tplc-spin 0.7s linear infinite;
    margin-bottom: 12px;
}
@keyframes tplc-spin { to { transform: rotate(360deg); } }

/* No results */
.tplc-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}
.tplc-no-results p { margin-bottom: 16px; }

/* Pagination */
.tplc-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 40px;
}
.tplc-page-btn {
    width: 38px;
    height: 38px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
    border-radius: 2px;
}
.tplc-page-btn:hover { background: #f0f0f0; }
.tplc-page-active {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* ================================================================
   SINGLE PROPERTY PAGE
   ================================================================ */
.tplc-single-property {
    padding: 40px 0 80px;
}

/* Breadcrumb */
.tplc-breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.tplc-breadcrumb a { color: #555; text-decoration: none; }
.tplc-breadcrumb a:hover { color: #111; }
.tplc-breadcrumb span { color: #bbb; }
.tplc-breadcrumb span:last-child { color: #333; }

/* Property header */
.tplc-property-header {
    margin-bottom: 32px;
}
.tplc-property-header .tplc-badge { margin-bottom: 10px; }
.tplc-property-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #111;
    margin: 8px 0 10px;
    line-height: 1.2;
}
.tplc-property-address-header {
    font-size: 16px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.tplc-property-address-header svg { color: #888; flex-shrink: 0; }

/* Main grid: gallery + sidebar */
.tplc-property-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
    margin-bottom: 48px;
}

/* Gallery */
.tplc-main-image-wrap {
    position: relative;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
}
.tplc-main-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
    display: block;
    cursor: zoom-in;
    transition: opacity 0.25s;
}
.tplc-enlarge-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 7px 9px;
    cursor: pointer;
    line-height: 0;
    transition: background 0.2s;
}
.tplc-enlarge-btn:hover { background: rgba(0,0,0,0.8); }

/* Thumbnails */
.tplc-thumbnails {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.tplc-thumb-btn {
    width: 80px;
    height: 60px;
    border: 2px solid transparent;
    padding: 0;
    background: none;
    cursor: pointer;
    border-radius: 3px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.tplc-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tplc-thumb-btn--active { border-color: #111; }
.tplc-thumb-btn:hover   { border-color: #555; }

/* No images placeholder */
.tplc-no-images {
    background: #f5f5f5;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 14px;
    border-radius: 4px;
}

/* Lightbox */
.tplc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tplc-lightbox[hidden] { display: none; }
.tplc-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    cursor: pointer;
}
.tplc-lightbox-img-wrap {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
}
.tplc-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    border-radius: 2px;
}
.tplc-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 2;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.tplc-lightbox-close:hover { opacity: 1; }
.tplc-lightbox-prev,
.tplc-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 40px;
    padding: 12px 18px;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1;
}
.tplc-lightbox-prev { left: 16px; }
.tplc-lightbox-next { right: 16px; }
.tplc-lightbox-prev:hover,
.tplc-lightbox-next:hover { background: rgba(255,255,255,0.28); }
.tplc-lightbox-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    z-index: 2;
}

/* Sidebar */
.tplc-property-sidebar {
    position: sticky;
    top: 100px;
}
.tplc-sidebar-price {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #111;
}
.tplc-price-amount {
    font-size: 36px;
    font-weight: 800;
    color: #111;
    letter-spacing: -1px;
}
.tplc-price-period {
    font-size: 15px;
    color: #666;
    margin-left: 4px;
}

/* Feature list */
.tplc-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.tplc-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #222;
    font-weight: 500;
}
.tplc-feature-list li svg { color: #555; flex-shrink: 0; }

/* Sidebar CTA */
.tplc-sidebar-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tplc-sidebar-cta .tplc-btn-primary,
.tplc-sidebar-cta .tplc-btn-outline {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 15px;
}
.tplc-sidebar-contact {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #ebebeb;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tplc-sidebar-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #444;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.tplc-sidebar-contact a:hover { color: #111; }
.tplc-sidebar-contact a svg { color: #888; }

/* Property description */
.tplc-property-description {
    max-width: 780px;
    padding-top: 40px;
    border-top: 1px solid #e8e8e8;
    margin-bottom: 40px;
}
.tplc-property-description h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
}
.tplc-description-content {
    font-size: 16px;
    line-height: 1.75;
    color: #444;
}
.tplc-description-content p { margin-bottom: 1em; }

/* Back link */
.tplc-back-link-wrap { margin-top: 32px; }
.tplc-back-link {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.tplc-back-link:hover { color: #111; }

/* ================================================================
   HOMEPAGE CAROUSEL
   ================================================================ */
.tplc-carousel-section {
    padding: 72px 0 80px;
    background: #fff;
    overflow: hidden;
}
.tplc-carousel-header {
    max-width: 1200px;
    margin: 0 auto 36px;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}
.tplc-view-all-link {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.tplc-carousel-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}
.tplc-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.tplc-carousel-track .tplc-property-card {
    flex: 0 0 calc(25% - 18px);
    min-width: 0;
}

/* Carousel nav */
.tplc-carousel-prev,
.tplc-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e0e0e0;
    color: #111;
    font-size: 22px;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.tplc-carousel-prev:hover,
.tplc-carousel-next:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}
.tplc-carousel-prev { left: -22px; }
.tplc-carousel-next { right: -22px; }

/* Carousel dots */
.tplc-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}
.tplc-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.tplc-carousel-dot--active {
    background: #111;
    transform: scale(1.3);
}

/* ================================================================
   ENQUIRY MODAL
   ================================================================ */
.tplc-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.tplc-modal[hidden] { display: none; }
.tplc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    cursor: pointer;
}
.tplc-modal-box {
    position: relative;
    z-index: 1;
    background: #fff;
    width: 100%;
    max-width: 520px;
    padding: 36px 40px;
    border-radius: 4px;
    max-height: 90vh;
    overflow-y: auto;
}
.tplc-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #888;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}
.tplc-modal-close:hover { color: #111; }
.tplc-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin: 0 0 4px;
}
.tplc-modal-property-name {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

/* ================================================================
   SHARED FORM STYLES
   ================================================================ */
.tplc-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.tplc-form-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.tplc-form-row label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}
.tplc-required { color: #c0392b; }
.tplc-form-row input,
.tplc-form-row textarea,
.tplc-form-row select {
    border: 1px solid #ddd;
    padding: 10px 14px;
    font-size: 15px;
    font-family: inherit;
    color: #111;
    background: #fff;
    border-radius: 2px;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.tplc-form-row input:focus,
.tplc-form-row textarea:focus {
    outline: none;
    border-color: #111;
}
.tplc-form-row textarea { resize: vertical; }
.tplc-form-submit {
    width: 100%;
    padding: 14px;
    font-size: 15px;
}
.tplc-form-status {
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 2px;
    display: none;
}
.tplc-form-status.tplc-success {
    display: block;
    background: #eafaf1;
    color: #1e8449;
    border: 1px solid #a9dfbf;
}
.tplc-form-status.tplc-error {
    display: block;
    background: #fdf2f2;
    color: #c0392b;
    border: 1px solid #f5c6cb;
}

/* ================================================================
   FIXED CONTACT BUTTONS (bottom-right, all pages)
   ================================================================ */
.tplc-fixed-contact {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 8000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tplc-fixed-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
    transition: box-shadow 0.2s, transform 0.2s;
    white-space: nowrap;
}
.tplc-fixed-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: #fff;
}
.tplc-fixed-btn--messenger { background: #0084ff; }
.tplc-fixed-btn--whatsapp  { background: #25d366; }
.tplc-fixed-btn span { font-size: 13px; }

/* ================================================================
   CONTACT FORM (shortcode)
   ================================================================ */
.tplc-contact-form-wrap { max-width: 560px; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .tplc-property-grid {
        grid-template-columns: 1fr;
    }
    .tplc-property-sidebar {
        position: static;
    }
    .tplc-carousel-track .tplc-property-card {
        flex: 0 0 calc(50% - 12px);
    }
    .tplc-carousel-prev { left: -12px; }
    .tplc-carousel-next { right: -12px; }
}

@media (max-width: 768px) {
    .tplc-container { padding: 0 16px; }

    .tplc-filter-form {
        flex-direction: column;
        gap: 16px;
    }
    .tplc-filter-actions { margin-left: 0; }
    .tplc-filter-actions .tplc-btn-primary,
    .tplc-filter-actions .tplc-btn-outline {
        flex: 1;
    }

    .tplc-properties-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tplc-carousel-header { flex-direction: column; align-items: flex-start; }
    .tplc-carousel-track .tplc-property-card {
        flex: 0 0 calc(100% - 0px);
    }

    .tplc-main-image { height: 280px; }
    .tplc-modal-box { padding: 28px 20px; }

    .tplc-tabs { overflow-x: auto; }
    .tplc-tab { white-space: nowrap; padding: 10px 16px; }

    .tplc-fixed-btn span { display: none; }
    .tplc-fixed-btn { padding: 12px; border-radius: 50%; }
}

@media (max-width: 480px) {
    .tplc-properties-grid { grid-template-columns: 1fr; }
    .tplc-slide img { height: 200px; }
    .tplc-page-hero { padding: 40px 0 32px; }
}
