.retraide-listing-view-container {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
    margin: 0px auto;
    max-width: 1200px;
    padding: 20px 15px;
}

.rlv-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 20px;
    flex-wrap: wrap;
}

.rlv-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rlv-breadcrumb .breadcrumb-container {
    padding-top: 0 !important;
    padding-bottom: 10px;
}

.rlv-badge-pro {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.rlv-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 15px;
}

.rlv-location-icon {
    font-size: 16px;
}

.rlv-price-display {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 8px 20px;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.rlv-price-amount {
    font-size: 26px;
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1;
}

.rlv-price-period {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

.rlv-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Main Column */
.rlv-main-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Gallery */
.rlv-gallery {
    position: relative;
    width: 100%;
}

.rlv-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    background-color: #f1f5f9;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

#rlv-main-image {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
    transition: opacity 0.3s ease;
    height: 100%;
    width: 100%;
}

.rlv-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    color: #0f172a;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
    z-index: 10;
}

.rlv-gallery-nav:hover {
    background: #ffffff;
    color: #1e3a8a;
    transform: translateY(-50%) scale(1.05);
}

.rlv-gallery-prev {
    left: 15px;
}

.rlv-gallery-next {
    right: 15px;
}

/* Favorite button on image */
.rlv-favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
    z-index: 10;
}

.rlv-favorite-btn svg {
    fill: none;
    stroke: #64748b;
    stroke-width: 2;
    transition: all 0.2s ease;
}

.rlv-favorite-btn:hover {
    background: #ffffff;
    transform: scale(1.08);
}

.rlv-favorite-btn:hover svg {
    stroke: #ef4444;
}

.rlv-favorite-btn.is-active svg {
    fill: #ef4444;
    stroke: #ef4444;
    animation: rlv-heart-beat 0.3s ease;
}

.rlv-favorite-btn.loading svg {
    opacity: 0.3;
}

@keyframes rlv-heart-beat {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

/* Thumbnails */
.rlv-gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
}

.rlv-thumbnail {
    flex: 0 0 100px;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.rlv-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rlv-thumbnail:hover {
    opacity: 1;
}

.rlv-thumbnail.is-active {
    border-color: #3b82f6;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

/* Quick Stats */
.rlv-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.rlv-stat-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
}

.rlv-stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border-color: #cbd5e1;
}

.rlv-stat-icon {
    font-size: 24px;
    background: #ffffff;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.rlv-stat-details {
    display: flex;
    flex-direction: column;
}

.rlv-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.rlv-stat-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sections */
.rlv-section {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.rlv-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.rlv-text-content {
    font-size: 15px;
    line-height: 1.6;
    color: #334155;
}

.rlv-text-content p {
    margin-bottom: 15px;
}

.rlv-text-content p:last-child {
    margin-bottom: 0;
}

/* Rules / requested profile */
.rlv-rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.rlv-rule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
}

.rlv-rule-item.is-allowed {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.rlv-rule-item.is-forbidden {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.rlv-rule-item.is-neutral {
    background: #f8fafc;
    color: #475569;
    border-color: #e2e8f0;
}

.rlv-rule-icon {
    font-size: 18px;
}

/* Share section */
.rlv-share-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rlv-share-title {
    font-size: 15px;
    font-weight: 700;
    color: #475569;
    margin: 0;
}

.rlv-share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rlv-share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.rlv-share-btn.facebook { background-color: #1877f2; }
.rlv-share-btn.facebook:hover { background-color: #166fe5; transform: translateY(-1px); }

.rlv-share-btn.twitter { background-color: #1da1f2; }
.rlv-share-btn.twitter:hover { background-color: #1a91da; transform: translateY(-1px); }

.rlv-share-btn.whatsapp { background-color: #25d366; }
.rlv-share-btn.whatsapp:hover { background-color: #20ba5a; transform: translateY(-1px); }

.rlv-share-btn.email { background-color: #64748b; }
.rlv-share-btn.email:hover { background-color: #475569; transform: translateY(-1px); }

.rlv-share-icon {
    font-size: 15px;
}

/* Search other widget */
.rlv-search-other-widget {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.rls-widget-content h4 {
    color: #1e3a8a;
    font-weight: 700;
    margin: 0 0 8px 0;
    font-size: 18px;
}

.rls-widget-content p {
    color: #1e40af;
    font-size: 14px;
    margin: 0 0 16px 0;
}

/* Sidebar Column */
.rlv-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.rlv-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.rlv-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 18px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

/* Criteria List */
.rlv-criteria-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rlv-criteria-list li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rlv-criteria-icon {
    font-size: 20px;
    background: #f8fafc;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1f5f9;
}

.rlv-criteria-info {
    display: flex;
    flex-direction: column;
}

.rlv-criteria-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.rlv-criteria-value {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

/* Action button card */
.rlv-action-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.rlv-action-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rlv-action-note {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin: 0;
}

.rlv-own-listing-message {
    font-size: 13px;
    color: #475569;
    text-align: center;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

/* Buttons */
.rlv-btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    color: #ffffff !important;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
    text-decoration: none !important;
}

.rlv-btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.25);
}

.rlv-btn-primary:active {
    transform: translateY(0);
}

.rlv-btn-primary.full-width {
    width: 100%;
}

.rlv-btn-secondary {
    background: #ffffff;
    color: #1e3a8a !important;
    border: 1.5px solid #bfdbfe;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.rlv-btn-secondary:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    transform: translateY(-1px);
}

/* Author Profile */
.rlv-author-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rlv-author-avatar-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.rlv-author-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eff6ff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.rlv-pro-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #3b82f6;
    color: #ffffff;
    font-size: 8px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
    border: 1px solid #ffffff;
}

.rlv-author-meta {
    display: flex;
    flex-direction: column;
}

.rlv-author-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.rlv-author-joined {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* Helper classes for visibility */
.rlv-mobile-only {
    display: none !important;
}

.rlv-desktop-only {
    display: block !important;
}

/* Responsive */
@media (max-width: 991px) {
    .rlv-mobile-only {
        display: block !important;
    }
    
    .rlv-desktop-only {
        display: none !important;
    }

    .rlv-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .rlv-sidebar-col {
        order: 2;
    }
    
    .rlv-main-col {
        order: 1;
    }
}

@media (max-width: 640px) {
    .rlv-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .rlv-price-display {
        text-align: left;
        align-self: flex-start;
    }
    
    .rlv-quick-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .rlv-title {
        font-size: 22px;
    }
}

/* Luxurious Featured Listing detail styling */
.rlv-badge-featured {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.rlv-badge-star {
    font-size: 12px;
}

.rlv-gallery-badge-featured {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.45);
    text-transform: uppercase;
    z-index: 10;
    pointer-events: none;
}

/* Subtly premium look for the entire card grid when featured */
.retraide-listing-view-container.is-featured .rlv-criteria-card {
    border-color: #fbbf24;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.06), 0 4px 20px rgba(0,0,0,0.02);
}
