/* Single Listing Page Styles */

/* Keep date/phone inputs within the parking checkout on narrow screens. */
.stl-rent-modal, .stl-rent-modal * { box-sizing: border-box; }

.stl-single-listing-wrapper {
/*     max-width: 1400px; */
    margin: 0 auto;
/*     padding: 30px 20px; */
padding: 30px 100px;
}

/* Breadcrumb */
.stl-breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #7F8C8D;
}

.stl-breadcrumb a {
    color: #7F8C8D;
    text-decoration: none;
    transition: color 0.3s;
}

.stl-breadcrumb a:hover {
    color: #E67E22;
}

.stl-separator {
    margin: 0 10px;
}

.stl-current {
    color: #2C3E50;
    font-weight: 600;
}

/* Main Container */
.stl-single-container {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 40px;
    margin-bottom: 40px;
}

/* Left Column: Gallery */
.stl-single-gallery {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.stl-main-gallery-image {
    width: 100%;
    height: 500px;
    background: #ECF0F1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.stl-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.3s;
}

.stl-featured-img:hover {
    transform: scale(1.02);
}

.stl-no-gallery-image {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ECF0F1;
    border-radius: 12px;
    color: #95A5A6;
    font-size: 18px;
}

/* Thumbnail Gallery */
.stl-thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.stl-thumb-item {
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.stl-thumb-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.stl-thumb-item:hover::after {
    opacity: 1;
}

.stl-thumb-item.active {
    border-color: #E67E22;
}

.stl-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stl-view-all-photos {
    width: 100%;
    padding: 15px;
    background: #1a3a52;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.stl-view-all-photos:hover {
    background: #E67E22;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

/* Right Column: Details */
.stl-single-details {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* Header */
.stl-single-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #ECF0F1;
}

.stl-single-title {
    margin: 0 0 15px 0;
    font-size: 32px;
    color: #1a3a52;
    font-weight: 700;
    line-height: 1.3;
}

.stl-single-price {
    display: flex;
    align-items: baseline;
}

.stl-price-amount {
    font-size: 36px;
    font-weight: 700;
    color: #E67E22;
}

.stl-price-period {
    font-size: 18px;
    color: #7F8C8D;
    margin-left: 8px;
}

/* Location */
.stl-single-location {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: #F8F9FA;
    border-radius: 8px;
    margin-bottom: 30px;
}

.stl-location-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.stl-location-text {
    font-size: 16px;
    color: #2C3E50;
    line-height: 1.6;
}

/* Quick Info Cards */
.stl-quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stl-info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #ECF0F1 0%, #F8F9FA 100%);
    border-radius: 10px;
    border-left: 4px solid #E67E22;
}

.stl-info-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.stl-info-content {
    display: flex;
    flex-direction: column;
}

.stl-info-label {
    font-size: 12px;
    color: #7F8C8D;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.stl-info-value {
    font-size: 18px;
    color: #2C3E50;
    font-weight: 600;
    margin-top: 4px;
}

/* Section Titles */
.stl-section-title {
    font-size: 22px;
    color: #1a3a52;
    font-weight: 600;
    margin: 0 0 20px 0;
    position: relative;
    padding-bottom: 10px;
}

.stl-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #E67E22;
}

/* Amenities */
.stl-single-amenities {
    margin-bottom: 35px;
}

.stl-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.stl-amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #F8F9FA;
    border-radius: 8px;
    font-size: 15px;
    color: #2C3E50;
    font-weight: 500;
}

.stl-amenity-check {
    color: #27AE60;
    font-weight: bold;
    font-size: 18px;
}

/* Description */
.stl-single-description {
    margin-bottom: 35px;
}

.stl-description-content {
    font-size: 16px;
    line-height: 1.8;
    color: #2C3E50;
}

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

/* Contact Card */
.stl-contact-card {
    background: linear-gradient(135deg, #1a3a52 0%, #0f2537 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    color: white;
}

.stl-contact-card .stl-section-title {
    color: white;
}

.stl-contact-card .stl-section-title::after {
    background: #E67E22;
}

.stl-contact-info {
    margin-bottom: 25px;
}

.stl-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stl-contact-item:last-child {
    border-bottom: none;
}

.stl-contact-icon {
    font-size: 20px;
    width: 30px;
    flex-shrink: 0;
}

.stl-contact-text {
    font-size: 16px;
}

.stl-contact-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.stl-contact-link:hover {
    color: #E67E22;
}

.stl-contact-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: #E67E22;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.stl-contact-btn:hover {
    background: #D35400;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

/* Share Section */
.stl-share-section {
    padding: 20px;
    background: #F8F9FA;
    border-radius: 8px;
}

.stl-share-section h4 {
    margin: 0 0 15px 0;
    color: #2C3E50;
    font-size: 16px;
}

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

.stl-share-btn {
    flex: 1;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.stl-share-facebook {
    background: #3b5998;
    color: white;
}

.stl-share-facebook:hover {
    background: #2d4373;
}

.stl-share-twitter {
    background: #1DA1F2;
    color: white;
}

.stl-share-twitter:hover {
    background: #0c85d0;
}

.stl-share-email {
    background: #7F8C8D;
    color: white;
}

.stl-share-email:hover {
    background: #5D6D7E;
}

/* Back to Listings */
.stl-back-to-listings {
    text-align: center;
}

.stl-back-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ECF0F1;
    color: #2C3E50;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.stl-back-btn:hover {
    background: #1a3a52;
    color: white;
}

/* Lightbox Gallery */
.stl-lightbox-gallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.stl-lightbox-gallery.active {
    display: flex;
}

.stl-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.stl-lightbox-image {
    max-width: 300px;
    max-height: 85vh;
    border-radius: 8px;
}

.stl-lightbox-close {
    position: absolute;
    top: 0px;
    right: 0px;
    background: transparent;
    border: none;
    color: white;
    font-size: 48px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    line-height: 1;
    transition: color 0.3s;
}

.stl-lightbox-close:hover {
    color: #E67E22;
}

.stl-lightbox-prev,
.stl-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 60px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}

.stl-lightbox-prev {
    left: -80px;
}

.stl-lightbox-next {
    right: -80px;
}

.stl-lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1200px) {
    .stl-single-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stl-single-gallery {
        position: static;
    }
}

@media (max-width: 768px) {
    .stl-single-listing-wrapper {
        padding: 20px 15px;
    }
    
    .stl-single-details {
        padding: 25px 20px;
    }
    
    .stl-single-title {
        font-size: 24px;
    }
    
    .stl-price-amount {
        font-size: 28px;
    }
    
    .stl-main-gallery-image {
        height: 300px;
    }
    
    .stl-thumbnail-gallery {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .stl-thumb-item {
        height: 80px;
    }
    
    .stl-quick-info {
        grid-template-columns: 1fr;
    }
    
    .stl-amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .stl-share-buttons {
        flex-direction: column;
    }
    
    .stl-lightbox-prev {
        left: 10px;
    }
    
    .stl-lightbox-next {
        right: 10px;
    }
    
    .stl-lightbox-prev,
    .stl-lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .stl-breadcrumb {
        font-size: 12px;
    }
    
    .stl-separator {
        margin: 0 5px;
    }
}




/* ADD THESE STYLES TO YOUR EXISTING single-listing.css FILE */

/* ============================================
   RENT NOW / COMING SOON BUTTON STYLES
   ============================================ */

.stl-rent-action-card {
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

.stl-rent-now-btn,
.stl-coming-soon-btn,
.stl-booked-btn,
.stl-unavailable-btn {
    width: 100%;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.stl-rent-now-btn {
    background: white;
    color: #E67E22;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.stl-rent-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.stl-coming-soon-btn,
.stl-booked-btn,
.stl-unavailable-btn {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    cursor: not-allowed;
    opacity: 0.8;
}

.stl-rent-now-text,
.stl-coming-soon-text,
.stl-booked-text,
.stl-unavailable-text {
    color: white;
    margin: 10px 0 0 0;
    font-size: 14px;
}

/* ============================================
   MODAL POPUP STYLES
   ============================================ */

.stl-rent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.stl-rent-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.stl-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #E74C3C;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
}

.stl-modal-close:hover {
    background: #C0392B;
    transform: rotate(90deg);
}

.stl-modal-header {
    background: linear-gradient(135deg, #1a3a52 0%, #0f2537 100%);
    color: white;
    padding: 30px;
    border-radius: 16px 16px 0 0;
    text-align: center;
}

.stl-modal-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
}

.stl-modal-subtitle {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.stl-rent-form {
    padding: 30px;
}

.stl-rent-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ECF0F1;
}

.stl-rent-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.stl-rent-section h3 {
    color: #1a3a52;
    margin: 0 0 15px 0;
    font-size: 18px;
}

.stl-rent-section p {
    margin: 5px 0;
    color: #555;
    line-height: 1.6;
}

/* Unit Selection Options */
.stl-unit-options {
    display: grid;
    gap: 15px;
}

.stl-unit-option {
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stl-unit-option:hover {
    border-color: #E67E22;
    background: #FFF5F0;
}

.stl-unit-option.selected {
    border-color: #E67E22;
    background: #E67E22;
    color: white;
}

.stl-unit-size {
    font-weight: bold;
    font-size: 16px;
}

.stl-unit-price {
    font-size: 18px;
    font-weight: bold;
    color: #E67E22;
}

.stl-unit-option.selected .stl-unit-price {
    color: white;
}

/* Form Groups */
.stl-form-group {
    margin-bottom: 20px;
}

.stl-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1a3a52;
    font-weight: 600;
    font-size: 14px;
}

.stl-form-group input,
.stl-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.stl-form-group input:focus,
.stl-form-group select:focus {
    outline: none;
    border-color: #E67E22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

/* Price Summary */
.stl-price-summary {
    background: #F8F9FA;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #E67E22;
}

.stl-price-breakdown {
    margin-top: 10px;
}

.stl-price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.stl-price-row:last-child {
    margin-bottom: 0;
    padding-top: 10px;
    border-top: 2px solid #E67E22;
    font-weight: bold;
    font-size: 20px;
}

.stl-price-value {
    color: #E67E22;
    font-weight: bold;
}

/* Submit Button */
.stl-proceed-payment-btn {
    width: 100%;
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    color: white;
    border: none;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.stl-proceed-payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.stl-proceed-payment-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .stl-rent-modal {
        padding: 10px;
    }
    
    .stl-rent-modal-content {
        max-height: 95vh;
    }
    
    .stl-modal-header h2 {
        font-size: 22px;
    }
    
    .stl-rent-form {
        padding: 20px;
    }
}
/* ---------------------------------------------------------
   Rentable Option Cards (Reserve Now)
--------------------------------------------------------- */
.stl-option-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 12px;
}
.stl-option-card {
    border: 2px solid #e6e6e6;
    border-radius: 10px;
    padding: 18px 16px;
    text-align: center;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.stl-option-card:hover {
    border-color: #E67E22;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.stl-option-name {
    font-weight: 700;
    font-size: 16px;
    color: #1a3a52;
    margin-bottom: 6px;
}
.stl-option-price {
    font-size: 22px;
    font-weight: 800;
    color: #E67E22;
    margin-bottom: 4px;
}
.stl-option-price span {
    font-size: 13px;
    font-weight: 500;
    color: #888;
}
.stl-option-deposit {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}
.stl-option-card .stl-reserve-btn {
    width: 100%;
    margin-top: 8px;
}

/* Booking modal steps */
.stl-book-step { animation: stlFade .25s ease; }
@keyframes stlFade { from { opacity: 0; } to { opacity: 1; } }
.stl-agreement-scroll h1 { font-size: 18px; }
.stl-agreement-scroll h2 { font-size: 15px; margin-top: 16px; }
.stl-agreement-scroll table { border-collapse: collapse; width: 100%; }
.stl-agreement-scroll td, .stl-agreement-scroll th {
    border: 1px solid #ddd; padding: 5px 8px; font-size: 12px; text-align: left;
}

/* Per-option inventory badges */
.stl-option-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.stl-option-badge-available { background: #e8f7ee; color: #1a7f37; }
.stl-option-badge-pending   { background: #fff6e0; color: #8a6d00; }
.stl-option-badge-reserved  { background: #fdeaea; color: #b02a2a; }
.stl-option-taken { opacity: .75; background: #fafafa; }

/* Option description + feature tags */
.stl-option-desc { font-size:13px; color:#666; margin:2px 0 8px; line-height:1.4; }
.stl-option-features { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0; justify-content:center; }
.stl-option-feature { font-size:11px; font-weight:600; color:#1a3a52; background:#eef4f9; border-radius:20px; padding:3px 10px; }
