/*
 Theme Name: Guido Child
 Template: guido
*/

/* Remove dark overlay on listing images */


.apus-listing-item .image img,
.listing-item img {
  filter: none !important;
  -webkit-filter: none !important;
}

/* 2) Hide open/close badges */
.apus-listing-item .listing-time,
.apus-listing-item .listing-status,
.listing-item .listing-time,
.listing-item .listing-status {
  display: none !important;
}

/* 3) Price below image (remove overlay positioning) */
.listing-item .price {
    position: static !important;
    margin-top: 5px;
    display: block;
    text-align: left; /* change to right if needed */
}



.pricing-plans {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.plan-card {
    background: #f8faff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.plan-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.price {
    font-size: 1.2em;
    font-weight: bold;
}
.enquire-btn {
    margin-top: 8px;
    color: #0073e6;
    font-weight: bold;
    text-decoration: none;
}
.enquire-btn:hover {
    text-decoration: underline;
}
/* === Quform Sidebar Styling === */
#quform-box.quform-wrapper {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}


/* --- Make the Listing Header Sticky with High Specificity --- */

body .top-header-detail-listing {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    z-index: 1020 !important; /* Forces the stacking order */
    background-color: #fff !important; /* Forces the background color */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease;
}

/* Add padding to the content below the header */
body.single-listing .content-listing-detail {
    padding-top: 150px !important; /* Force padding to prevent content from jumping */
}

/* Adjust for the WordPress admin bar */
body.admin-bar .top-header-detail-listing {
    top: 32px !important;
}


/* --- Style for the price layout container--- */
/* --- Pricing Plan Card Styles --- */
.listing-single-v2 .pricing-plans {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* space between cards */
    margin-bottom: 30px;
}

.listing-single-v2 .pricing-plans .plan-card {
    flex: 1 1 48%; /* take ~half width */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect (desktop only) */
@media (hover:hover) {
    .listing-single-v2 .pricing-plans .plan-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }
}

/* Mobile fix: show cards side by side */
@media (max-width: 767px) {
    .listing-single-v2 .pricing-plans {
        flex-direction: row;
    }
    .listing-single-v2 .pricing-plans .plan-card {
        flex: 1 1 100%; /* fallback */
        max-width: 48%; /* two in a row */
    }
}










