/* --- CSS Reset and Variables --- */
:root {
    --primary-blue: #2E4D6B; /* New Dark Blue */
    --accent-green: #408F4E; /* New Accent Green */
    --dark-text: #333333;
    --light-text: #ffffff;
    --body-bg: #f4f7f6;
    --header-bg: #ffffff;
    --border-color: #eeeeee;
    --accent-blue: #2E4D6B ; /* Added from properties.php */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--body-bg);
    color: var(--dark-text);
}

/* --- Header Styles --- */
.site-header {
    background-color: var(--header-bg);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.logo a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px; 
    margin-right: 10px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--accent-green);
}

/* --- Mobile Navigation --- */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle .icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 5px 0;
    transition: all 0.3s ease;
}



.search-bar {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255,255,255,0.9);
    padding: 0.5rem;
    border-radius: 50px;
    display: flex;
}

.search-bar input {
    border: none;
    background: transparent;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    color: #333;
}

.search-bar input:focus {
    outline: none;
}

.search-bar button {
    background-color: var(--accent-green);
    color: var(--light-text);
    border: none;
    border-radius: 50px;
    padding: 0 2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.search-bar button:hover {
    background-color: var(--primary-blue);
}

/* --- Featured Properties Section (from index.php) --- */
.featured-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-blue);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* --- Grid Property Card (from index.php) --- */
.properties-grid .property-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}
.properties-grid .property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.properties-grid .property-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.properties-grid .property-card-content {
    padding: 1.5rem;
}

.properties-grid .property-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.properties-grid .property-card-content .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.properties-grid .property-card-content .location {
    margin-bottom: 1rem;
    color: #666;
}

.properties-grid .property-card-features {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.properties-grid .property-card-features span {
    font-size: 0.9rem;
}

/* --- Page Header and Filter Bar Styles (from properties.php) --- */
.page-header {
    
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('images/prop_bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.page-header h1 {
    text-align: center;
    color: #fff;
    margin-bottom: 1.5rem;
}

.filter-bar {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--body-bg);
    padding: 1rem;
    border-radius: 8px;
}

.filter-bar input, .filter-bar select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.filter-bar button {
    background-color: var(--accent-blue);
    color: var(--light-text);
    border: none;
    border-radius: 5px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.filter-bar button:hover {
    background-color: var(--primary-blue);
}

/* --- Properties List Section (from properties.php) --- */
.properties-section {
    padding: 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.results-info {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.properties-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* --- List Property Card Styles (from properties.php) --- */
.properties-list .property-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    display: flex; 
    flex-direction: column;
    border: 1px solid var(--border-color);
}
.properties-list .property-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.properties-list .property-card-image {
    width: 100%;
    height: 220px;
    flex-shrink: 0;
}
.properties-list .property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.properties-list .property-card-main {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.properties-list .property-card-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.properties-list .property-card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--primary-blue);
}

.properties-list .property-card-content .location {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}
.properties-list .property-card-content .location svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.properties-list .property-card-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.properties-list .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #555;
}
.properties-list .feature-item img {
    width: 20px;
    height: 20px;
}

.properties-list .property-card-content .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.properties-list .property-card-actions {
    display: flex;
    border-top: 1px solid var(--border-color);
}
.properties-list .property-card-actions a {
    flex: 1;
    text-align: center;
    padding: 1rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.properties-list .property-card-actions a:first-child {
    border-right: 1px solid var(--border-color);
}
.properties-list .action-view {
    color: var(--primary-blue);
}
.properties-list .action-contact {
    color: #25D366; /* WhatsApp Green */
}
.properties-list .action-view:hover { background-color: #f0f8ff; }
.properties-list .action-contact:hover { background-color: #f0fff4; }

.no-results {
    text-align: center;
    font-size: 1.5rem;
    color: #888;
    padding: 5rem;
}

/* --- View Property Styles (from view-property.php) --- */
.property-view-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    cursor: pointer; 
    height: 250px;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .view-more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 90, 135, 0.7);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .view-more-overlay {
    opacity: 1;
}

.info-bar {
    background-color: var(--primary-blue);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 8px;
    gap: 1rem;
}
.info-bar .price {
    font-size: 1.5rem;
    font-weight: bold;
}
.info-bar .stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.property-content-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.property-main-details h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.property-main-details .address {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.details-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.details-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
}
.detail-item:last-child {
    border-bottom: none;
}

.detail-item strong {
    color: #333;
    font-weight: 500;
    flex-grow: 1;
}

.detail-item span:last-child {
    color: #555;
    font-weight: 400;
}

.detail-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.amenities-list {
    list-style: none;
    padding: 0;
    column-count: 1;
}
.amenities-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%2300a8e0" class="bi bi-check-circle-fill" viewBox="0 0 16 16"><path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/></svg>') no-repeat left center;
    padding-left: 25px;
    margin-bottom: 0.8rem;
}

.agent-contact-card {
    background-color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: static;
    top: auto;
    text-align: center;
}
.agent-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem auto;
    border: 4px solid var(--accent-blue);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.agent-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.agent-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}
.agent-title {
    color: #777;
    margin-bottom: 2rem;
}
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 1rem;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.whatsapp-button:hover {
    background-color: #1DA851;
}
.whatsapp-button svg {
    width: 24px;
    height: 24px;
}

#map {
    height: 300px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}
.lightbox.is-open {
    display: flex;
}
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}
.lightbox-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 5px;
}
.lightbox-close, .lightbox-next, .lightbox-prev {
    position: absolute;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}
.lightbox-close:hover, .lightbox-next:hover, .lightbox-prev:hover {
    color: #ccc;
}
.lightbox-close {
    top: 20px;
    right: 30px;
}
.lightbox-next, .lightbox-prev {
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* --- Footer Styles --- */
.site-footer {
    background-color: #1D283A; 
    color: var(--light-text);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--light-text);
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background-color: var(--accent-green);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    text-decoration: none;
    color: #dddddd;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--light-text);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2a3a52;
}

/* --- Responsive Media Queries --- */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        border-top: 1px solid var(--border-color);
    }
    .main-nav.is-open {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        align-items: center;
    }
    .mobile-nav-toggle {
        display: block;
    }
}

@media (min-width: 768px) {
    .filter-bar {
        flex-direction: row;
    }
    .properties-list .property-card {
        flex-direction: row;
    }
    .properties-list .property-card-image {
        width: 40%;
        height: auto;
    }
    .properties-list .property-card-main {
        width: 60%;
    }
    
    .property-view-container {
        padding: 0 2rem;
    }
    .gallery-grid {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: repeat(2, 250px);
        height: 510px;
    }
    .gallery-item {
        height: 100%;
    }
    .gallery-item.main-image {
        grid-row: 1 / 3;
    }
    .property-content-layout {
        grid-template-columns: 2fr 1fr;
    }
    .details-grid {
        grid-template-columns: 1fr 1fr;
    }
    .detail-item:nth-child(4n-3),
    .detail-item:nth-child(4n-2) {
        background-color: #ffffff;
    }
    .detail-item:nth-child(4n-1),
    .detail-item:nth-child(4n) {
        background-color: #f8f9fa;
    }
    .amenities-list {
        column-count: 2;
    }
    #map {
        height: 400px;
    }
    .agent-contact-card {
        position: sticky;
    }
}

/* --- Properties Page: Three-Column Grid Layout --- */
.properties-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates 3 equal columns */
    gap: 2rem;
}

/* Ensure cards stay vertical in the grid */
.properties-list .property-card {
    flex-direction: column;
}

.properties-list .property-card-image {
    width: 100%;
    height: 220px;
}

.properties-list .property-card-main {
    width: 100%;
}

/* Media Query for tablets and smaller */
@media (max-width: 992px) {
    .properties-list {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

/* Media Query for mobile phones */
@media (max-width: 576px) {
    .properties-list {
        grid-template-columns: 1fr; /* 1 column on phones */
    }
}

/* --- CSS for Property Status Overlay (Final, Safe Version) --- */

/* Make the entire card the positioning context for the homepage grid.
  Make the image container the context for the properties list page.
  This prevents breaking the layout on the homepage.
*/
.properties-grid .property-card,
.properties-list .property-card-image {
    position: relative;
}

/* Styles for the overlay itself */
.status-overlay {
    position: absolute;
    top: 20px;
    left: 0;
    background-color: #c0392b; /* A strong red color */
    color: white !important; /* Use !important to override any link colors */
    padding: 8px 18px;
    font-size: 1rem;
    font-weight: 500;
    z-index: 10;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
/* --- Homepage: Hero Section & Advanced Search --- */
.hero-section {
    /* The background-image is now set dynamically in the PHP file */
    /* This line has been removed to prevent conflicts. */
    background-size: cover;
    background-position: center 70%;
    min-height: 80vh;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;              /* Create the two-column layout */
    grid-template-columns: 1fr 1.2fr; /* Left column for content, right for image visibility */
    align-items: center;
    gap: 3rem;
}

/* IMPORTANT: This new class wraps the text AND form to stack them in the left column */
.hero-content-left {
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* Space between the text block and the form */
}

.hero-text-content {
    text-align: left; /* Align text to the left */
    color: white;
}

.hero-text-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-text-content p {
    font-size: 1.5rem;
    color: white;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    margin: 0.5rem 0 0 0;
    max-width: 500px;
}


/* --- Advanced Search Form --- */
.advanced-search-form {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    width: 100%;
    max-width: 480px; /* Constrain the form's width */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.advanced-search-form .search-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    gap: 1rem;
}

.advanced-search-form .search-options {
    display: flex;
    gap: 0.5rem;
    background-color: #f8f9fa;
    padding: 0.4rem;
    border-radius: 50px;
}

.advanced-search-form .search-options label {
    position: relative;
    cursor: pointer;
}

.advanced-search-form .search-options input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.advanced-search-form .search-options span {
    display: block;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.advanced-search-form .search-options input[type="radio"]:checked + span {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.advanced-search-form .id-search-group input {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background-color: #fff;
    width: 100%;
}

.advanced-search-form .search-fields-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for fields */
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.advanced-search-form .form-group {
    position: relative;
}

.advanced-search-form .input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    opacity: 0.5;
    pointer-events: none;
}

.advanced-search-form .form-group input,
.advanced-search-form .form-group select {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.9rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background-color: #f8f9fa;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.advanced-search-form .form-group.icon-group select,
.advanced-search-form .form-group.icon-group input {
    padding-left: 50px;
}

.advanced-search-form .search-button {
    width: 100%;
    padding: 0.9rem;
    margin-top: 1rem;
    background-color: var(--primary-blue);
    color: var(--light-text);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.advanced-search-form .search-button:hover {
    background-color: var(--accent-green);
}


/* --- Responsive Adjustments for Hero --- */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding: 5rem 1.5rem;
    }
    .hero-container {
        grid-template-columns: 1fr; /* Stack to a single column */
    }
    .hero-content-left {
        align-items: center; /* Center the text and form when stacked */
    }
    .hero-text-content {
        text-align: center; /* Center the text on smaller screens */
    }
    .advanced-search-form {
        margin: 0 auto;
    }
}
/* ==========================================================================
   OVERRIDE TO FORCE-REMOVE SHADOWS
   Add this entire block to the very bottom of your style.css file
========================================================================== */



/* For the Header on Internal Pages (like the properties page) */
.page-header {
    background-image: url('images/prop_bg.jpg') !important;
}
/* --- FIX FOR GIANT ICONS --- */

/* 1. Container alignment */
.property-card-features-styled {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-top: 1px solid #eee;
    background-color: #f9f9f9;
}

/* 2. Item alignment */
.feature-item {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
    font-size: 0.9rem;
    color: #555;
}

/* 3. ICON SIZING - The most important part! */
.prop-icon {
    width: 20px !important;  /* Forces the width to be small */
    height: 20px !important; /* Forces the height to be small */
    fill: #FCA311;           /* Festive Gold Color */
    display: inline-block;
}
/* Ensure the detail page containers are the anchor for the ribbon */
.gallery-main-view, 
.gallery-item.main-image {
    position: relative;
    overflow: hidden; /* Keeps the ribbon from "poking out" of the rounded corners */
}

/* Enhancing your existing status-overlay to use your theme variables */
.status-overlay {
    position: absolute;
    top: 20px;
    left: 0;
    background-color: #c0392b; /* You can change this to var(--accent-green) if preferred */
    color: white !important;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 50;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.2);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}