/* WP Real Estate Post Generator - Frontend Styles */
.wprep-single-container,
.wprep-archive-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #1e293b;
}

.wprep-breadcrumbs {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}
.wprep-breadcrumbs a {
    color: #0284c7;
    text-decoration: none;
}

.wprep-single-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}
.wprep-badges-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.wprep-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.wprep-badge-purpose { background: #dbeafe; color: #1e40af; }
.wprep-badge-category { background: #f1f5f9; color: #334155; }
.wprep-badge-subtype { background: #fef3c7; color: #92400e; }

.wprep-single-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin: 4px 0 8px 0;
    color: #0f172a;
}
.wprep-single-address {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}
.wprep-price-tag {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}
.wprep-nego-badge {
    font-size: 12px;
    background: #dcfce7;
    color: #15803d;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}
.wprep-header-cta-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Photo Slider */
.wprep-slider-wrapper {
    margin-bottom: 32px;
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}
.wprep-main-slider {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #090d16;
}
.wprep-slide-viewport {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wprep-active-slide-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    transition: opacity 0.25s ease-in-out;
}
.wprep-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}
.wprep-nav-btn:hover {
    background: #0284c7;
    border-color: #0284c7;
}
.wprep-prev-btn { left: 16px; }
.wprep-next-btn { right: 16px; }

.wprep-slider-counter {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 5;
}
.wprep-fullscreen-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    z-index: 5;
}

/* Thumbnail Strip */
.wprep-thumbnail-strip {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: #1e293b;
    overflow-x: auto;
    scrollbar-width: thin;
}
.wprep-thumb-btn {
    flex: 0 0 88px;
    height: 60px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #0f172a;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
}
.wprep-thumb-btn.active,
.wprep-thumb-btn:hover {
    border-color: #0284c7;
    opacity: 1;
}
.wprep-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Grid */
.wprep-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}
@media (max-width: 880px) {
    .wprep-content-grid { grid-template-columns: 1fr; }
    .wprep-main-slider { height: 320px; }
}

.wprep-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}
.wprep-section-heading {
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 16px;
    color: #0f172a;
    border-left: 4px solid #0284c7;
    padding-left: 12px;
}

.wprep-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.wprep-stat-item {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 12px;
    border-radius: 8px;
}
.wprep-stat-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
}
.wprep-stat-val {
    font-size: 16px;
    color: #0f172a;
}

.wprep-entry-content {
    line-height: 1.8;
    color: #334155;
    white-space: pre-line;
}

.wprep-amenities-pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.wprep-amenities-pills li {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}
.wprep-check-icon {
    font-weight: 800;
    margin-right: 4px;
}

/* Sidebar Contact Card */
.wprep-contact-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 24px;
}
.wprep-agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}
.wprep-agent-avatar {
    width: 48px;
    height: 48px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.wprep-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}
.wprep-btn-block { width: 100%; box-sizing: border-box; margin-bottom: 10px; }
.wprep-btn-whatsapp { background: #25d366; color: #fff; }
.wprep-btn-whatsapp:hover { background: #1eb757; }
.wprep-btn-call { background: #0284c7; color: #fff; }
.wprep-btn-call:hover { background: #0369a1; }
.wprep-btn-primary { background: #0f172a; color: #fff; }
.wprep-btn-reset { background: #e2e8f0; color: #475569; }

/* Archive Grid */
.wprep-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.wprep-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.wprep-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(0,0,0,0.1);
}
.wprep-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    background: #0f172a;
}
.wprep-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wprep-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}
.wprep-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.wprep-card-price {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}
.wprep-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.4;
}
.wprep-card-title a {
    color: #0f172a;
    text-decoration: none;
}
.wprep-card-title a:hover {
    color: #0284c7;
}
.wprep-card-loc {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 12px 0;
}
.wprep-card-specs {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #475569;
    padding: 8px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 16px;
}
.wprep-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}
.wprep-btn-details {
    flex: 1;
    background: #f1f5f9;
    color: #0f172a;
    text-align: center;
}
.wprep-btn-details:hover { background: #e2e8f0; }
.wprep-btn-wa-icon { background: #dcfce7; color: #15803d; padding: 8px 12px; }
.wprep-btn-call-icon { background: #e0f2fe; color: #0369a1; padding: 8px 12px; }

/* Filter Bar */
.wprep-filter-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}
.wprep-filter-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}
.wprep-filter-inputs select,
.wprep-filter-inputs input {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
}
