/* JC Immo Annonces Frontend Styles */

:root {
    --jc-primary: #2563eb;
    --jc-secondary: #0d9488;
    --jc-accent: #ea580c;
    --jc-text: #374151;
    --jc-background: #f9fafb;
    --jc-white: #ffffff;
    --jc-border: #e5e7eb;
    --jc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --jc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Ensure styles are applied even without theme support */
.jc-immo-grid,
.jc-immo-slider,
.jc-immo-detail {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: var(--jc-text);
}

/* Grid View Styles */
.jc-immo-grid {
    margin: 20px 0;
}

.jc-grid-container {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: stretch;
}

.jc-immo-grid[data-columns="2"] .jc-grid-container {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.jc-immo-grid[data-columns="4"] .jc-grid-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.jc-grid-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jc-grid-item:hover {
    transform: translateY(-5px);
}

.jc-card {
    background: var(--jc-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--jc-shadow);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.jc-card:hover {
    box-shadow: var(--jc-shadow-lg);
}

.jc-card.has-status {
    position: relative;
    opacity: 0.8;
}

.jc-card.has-status .jc-card-content {
    position: relative;
    z-index: 2;
}

/* Status Overlay for Cards and Slides */
.jc-status-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-radius: 12px;
}

.jc-slide .jc-status-overlay {
    border-radius: 0;
}

.jc-status-badge {
    background: #dc3545;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
    transform: rotate(-12deg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.jc-status-badge.loue {
    background: #fd7e14;
    box-shadow: 0 4px 15px rgba(253, 126, 20, 0.4);
}

.jc-status-badge.reserve {
    background: #6f42c1;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.4);
}

/* Smaller badge for grid cards */
.jc-grid-item .jc-status-badge {
    font-size: 14px;
    padding: 8px 16px;
    transform: rotate(-10deg);
}

/* Larger badge for slider */
.jc-slide .jc-status-badge {
    font-size: 22px;
    padding: 15px 30px;
    transform: rotate(-15deg);
}

.jc-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.jc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.jc-card:hover .jc-card-image img {
    transform: scale(1.05);
}

.jc-placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-weight: 500;
}

.jc-type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--jc-accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jc-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.jc-card-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: flex-start;
}

.jc-card-title a {
    color: var(--jc-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.jc-card-title a:hover {
    color: var(--jc-primary);
}

.jc-location {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.jc-features {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.jc-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #6b7280;
}

.jc-icon {
    font-size: 14px;
}

.jc-excerpt {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin: 15px 0;
    flex-grow: 1;
}

.jc-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--jc-border);
}

.jc-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.jc-price-fcfa {
    font-size: 18px;
    font-weight: 700;
    color: var(--jc-primary);
}

.jc-price-euro {
    font-size: 14px;
    color: #6b7280;
}

.jc-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

.jc-btn-primary {
    background: var(--jc-secondary);
    color: white;
}

.jc-btn-primary:hover {
    background: #0f766e;
    transform: translateY(-1px);
    box-shadow: var(--jc-shadow);
}

/* Slider Styles */
.jc-immo-slider {
    position: relative;
    margin: 20px 0;
}

.jc-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--jc-shadow-lg);
}

.jc-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.jc-slide {
    min-width: 100%;
    position: relative;
}

.jc-slide-image {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.jc-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jc-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 30px 30px;
}

.jc-slide-content {
    color: white;
}

.jc-slide-title {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 700;
}

.jc-slide-title a {
    color: white;
    text-decoration: none;
}

.jc-slide .jc-location {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.jc-slide .jc-features {
    margin: 15px 0 20px 0;
}

.jc-slide .jc-feature {
    color: rgba(255, 255, 255, 0.9);
}

.jc-slide .jc-price {
    margin-bottom: 20px;
}

.jc-slide .jc-price-fcfa {
    font-size: 20px;
    color: white;
}

.jc-slider-prev,
.jc-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--jc-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.jc-slider-prev {
    left: 20px;
}

.jc-slider-next {
    right: 20px;
}

.jc-slider-prev:hover,
.jc-slider-next:hover {
    background: #1d4ed8;
    transform: translateY(-50%) scale(1.1);
}

.jc-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.jc-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jc-dot.active,
.jc-dot:hover {
    background: var(--jc-primary);
    transform: scale(1.2);
}

/* Single Annonce Detail Styles */
.jc-immo-detail {
    margin: 20px 0;
}

.jc-detail-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.jc-advertiser-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.jc-advertiser-card {
    background: var(--jc-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--jc-shadow);
    margin-bottom: 20px;
}

.jc-advertiser-card h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--jc-text);
    border-bottom: 2px solid var(--jc-primary);
    padding-bottom: 10px;
}

.jc-advertiser-photo {
    text-align: center;
    margin-bottom: 15px;
   display: flex;
   justify-content: center;
   align-items: center;
}

.jc-advertiser-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--jc-border);
   display: block;
   margin: 0 auto;
}

.jc-advertiser-name {
    text-align: center;
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--jc-text);
}

.jc-advertiser-bio {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
}

.jc-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    font-size: 14px;
}

.jc-contact-item a {
    color: var(--jc-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.jc-contact-item a:hover {
    color: #1d4ed8;
}

.jc-contact-form {
    background: var(--jc-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--jc-shadow);
}

.jc-contact-form h4 {
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--jc-text);
}

.jc-property-main {
    background: var(--jc-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--jc-shadow);
}

.jc-property-main.has-status {
    position: relative;
    overflow: hidden;
}

.jc-property-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--jc-border);
}

.jc-property-title {
    margin: 0 0 15px 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--jc-text);
    line-height: 1.2;
}

.jc-price-display {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.jc-price-display .jc-price-fcfa {
    font-size: 24px;
    font-weight: 700;
}

.jc-price-display .jc-price-euro {
    font-size: 18px;
    color: #6b7280;
}

.jc-property-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 25px;
    background: var(--jc-background);
    border-radius: 12px;
}

.jc-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.jc-feature-item .jc-icon {
    font-size: 24px;
}

.jc-feature-item div {
    display: flex;
    flex-direction: column;
}

.jc-feature-item strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--jc-text);
}

.jc-feature-item span {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jc-property-gallery {
    margin: 40px 0;
}

.jc-property-gallery h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--jc-text);
}

.jc-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 10px;
    border-radius: 12px;
    overflow: hidden;
}

.jc-gallery-item.jc-main-image {
    grid-row: span 2;
}

.jc-gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.jc-gallery-item:hover {
    transform: scale(1.02);
}

.jc-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.jc-gallery-item:hover .jc-gallery-image {
    transform: scale(1.1);
}

.jc-property-description {
    margin: 40px 0 0 0;
}

.jc-property-description h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--jc-text);
}

.jc-content {
    line-height: 1.7;
    color: #4b5563;
}

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

/* Image Modal */
.jc-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    box-sizing: border-box;
}

.jc-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jc-modal-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
}

.jc-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    transition: color 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.jc-close:hover {
    color: #fff;
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.7);
}

/* Modal Navigation */
.jc-modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1002;
}

.jc-modal-nav-btn {
    background: var(--jc-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.jc-modal-nav-btn:hover {
    background: #1d4ed8;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.jc-modal-nav-btn:active {
    transform: scale(0.95);
}

/* Hide navigation when only one image */
.jc-modal-nav:not(:visible) {
    display: none;
}

.jc-modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.jc-modal-nav button {
    background: var(--jc-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.jc-modal-nav button:hover {
    background: #1d4ed8;
    transform: scale(1.1);
}

.jc-modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.jc-modal-nav button {
    background: var(--jc-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jc-modal-nav button:hover {
    background: #1d4ed8;
    transform: scale(1.1);
}

.jc-no-results {
    text-align: center;
    padding: 40px;
    color: #6b7280;
    font-size: 16px;
}

/* Similar Listings Section */
.jc-similar-listings,
.jc-other-listings {
    margin: 60px 0 40px 0;
    padding: 40px 0;
    border-top: 2px solid var(--jc-border);
}

.jc-similar-listings h3,
.jc-other-listings h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--jc-text);
    margin: 0 0 30px 0;
    text-align: center;
    position: relative;
}

.jc-similar-listings h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--jc-primary);
    border-radius: 2px;
}

.jc-similar-grid,
.jc-other-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.jc-similar-item,
.jc-other-item {
    transition: transform 0.3s ease;
}

.jc-similar-item:hover,
.jc-other-item:hover {
    transform: translateY(-5px);
}

.jc-similar-card,
.jc-other-card {
    background: var(--jc-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--jc-shadow);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.jc-similar-card:hover,
.jc-other-card:hover {
    box-shadow: var(--jc-shadow-lg);
}

.jc-similar-card.has-status,
.jc-other-card.has-status {
    opacity: 0.8;
}

.jc-similar-image,
.jc-other-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.jc-similar-image img,
.jc-other-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.jc-similar-card:hover .jc-similar-image img,
.jc-other-card:hover .jc-other-image img {
    transform: scale(1.05);
}

.jc-similar-image .jc-type-badge,
.jc-other-image .jc-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--jc-accent);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.jc-similar-content,
.jc-other-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.jc-similar-title,
.jc-other-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: flex-start;
}

.jc-similar-title a,
.jc-other-title a {
    color: var(--jc-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.jc-similar-title a:hover,
.jc-other-title a:hover {
    color: var(--jc-primary);
}

.jc-similar-content .jc-location,
.jc-other-content .jc-location {
    color: #6b7280;
    font-size: 13px;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.jc-similar-features,
.jc-other-features {
    display: flex;
    gap: 12px;
    margin: 12px 0;
    flex-wrap: wrap;
}

.jc-similar-features .jc-feature,
.jc-other-features .jc-feature {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #6b7280;
}

.jc-similar-features .jc-icon,
.jc-other-features .jc-icon {
    font-size: 12px;
}

.jc-similar-footer,
.jc-other-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--jc-border);
}

.jc-similar-footer .jc-price,
.jc-other-footer .jc-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.jc-similar-footer .jc-price-fcfa,
.jc-other-footer .jc-price-fcfa {
    font-size: 16px;
    font-weight: 700;
    color: var(--jc-primary);
}

.jc-similar-footer .jc-price-euro,
.jc-other-footer .jc-price-euro {
    font-size: 12px;
    color: #6b7280;
}

.jc-btn-small {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 12px;
    background: var(--jc-secondary);
    color: white;
}

.jc-btn-small:hover {
    background: #0f766e;
    transform: translateY(-1px);
    box-shadow: var(--jc-shadow);
}

.jc-no-similar,
.jc-no-other {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    grid-column: 1 / -1;
    padding: 40px;
}

.jc-placeholder-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jc-background);
    border: 2px dashed var(--jc-border);
    border-radius: 12px;
    padding: 40px 20px;
    color: #6b7280;
    font-style: italic;
    text-align: center;
}

/* Status badges for other listings */
.jc-similar-card .jc-status-overlay,
.jc-other-card .jc-status-overlay {
    border-radius: 12px 12px 0 0;
}

.jc-similar-card .jc-status-badge,
.jc-other-card .jc-status-badge {
    font-size: 12px;
    padding: 6px 12px;
    transform: rotate(-8deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .jc-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .jc-detail-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .jc-advertiser-sidebar {
        position: static;
        order: 2;
    }
    
    .jc-property-main {
        order: 1;
    }
    
    .jc-slide-image {
        height: 250px;
    }
    
    .jc-slide-overlay {
        padding: 20px 15px 15px;
    }
    
    .jc-slide-title {
        font-size: 20px;
    }
    
    .jc-property-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .jc-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(auto, 200px);
    }
    
    .jc-gallery-item.jc-main-image {
        grid-row: span 1;
    }
    
    .jc-slider-prev,
    .jc-slider-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .jc-slider-prev {
        left: 10px;
    }
    
    .jc-slider-next {
        right: 10px;
    }
    
    .jc-similar-grid,
    .jc-other-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .jc-similar-footer,
    .jc-other-footer {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .jc-btn-small {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .jc-card-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .jc-btn {
        text-align: center;
    }
    
    .jc-property-features {
        grid-template-columns: 1fr;
    }
    
    .jc-price-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Animation for loading */
@keyframes jc-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jc-grid-item,
.jc-slide {
    animation: jc-fade-in 0.6s ease-out;
}