/* Custom CSS for the merged map and list view layout */

/* Make sure the map container is visible */
.map-container {
    display: block !important;
    height: 400px !important;
    margin-bottom: 20px;
}

/* Adjust store list for side-by-side layout */
.store-list {
    max-height: 800px;
    overflow-y: auto;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .map-container {
        height: 300px !important;
    }
    
    /* Stack list and map on mobile */
    .store-list {
        margin-bottom: 20px;
    }
}

/* Ensure single store container doesn't have excessive height */
.single-store-container {
    min-height: auto;
    padding: 15px 0;
}

/* Adjust store list items for better display */
.store-list ul .single-store-container .top-block,
.store-list ul .single-store-container .middle-block,
.store-list ul .single-store-container .bottom-block {
    float: none;
    width: 100%;
}

.store-list ul .single-store-container .middle-block {
    padding-top: 0;
}


.store-card {
    background-color: #ffffff;
    padding: 24px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

    .store-title {
        font-size: 26px;
        font-weight: bold;
        color: #411a31;
        line-height: 38px;
        margin-bottom: 16px;
    }

    .store-address {
        font-size: 20px;
        color: #000000;
        margin-bottom: 16px;
        line-height: 24px;
    }

    .info-row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 16px;
        font-size: 20px;
        color: #000000;
    }

    .icon {
        width: 20px;
        height: 20px;
        display: inline-block;
        position: relative;
    }

    .icon-location::before {
        content: "📍";
        font-size: 16px;
    }

    .icon-phone::before {
        content: "📞";
        font-size: 16px;
    }

    .icon-clock::before {
        content: "🕐";
        font-size: 16px;
    }

    .highlight {
        color: #411a31;
        font-weight: 600;
    }

    .phone-number {
        color: #411a31;
        font-weight: 600;
    }

    .store-hours {
        color: #411a31;
        font-weight: 600;
    }

    .button-container {
        display: flex;
        gap: 12px;
        margin-top: 32px;
    }

    .btn {
        padding: 8px 24px;
        border-radius: 24px;
        font-weight: 500;
        font-size: 16px;
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .btn-secondary {
        background-color: #eaecf0;
        color: #1d2939;
    }

    .btn-secondary:hover {
        background-color: #d0d5dd;
    }

    .btn-primary {
        background-color: #411a31;
        color: #ffffff;
    }

    .btn-primary:hover {
        background-color: #2d1122;
    }
}

.location-selector {
    margin: 25px 0;
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);

    .header {
        background-color: white;
        padding: 16px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header h2 {
        color: #411a31;
        font-size: 20px;
        font-weight: 500;
        line-height: 1.2;
    }

    &[open] .header{
        background-color: #411a31;
    }
    &[open] .header h2{
        color: white;
     }
    .chevron-icon {
        width: 24px;
        height: 24px;
        fill: white;
    }

    .locations-grid {
        padding: 32px;
    }

    .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px 64px;
    }

    .location-item {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .map-pin-icon {
        width: 20px;
        height: 20px;
        fill: #411a31;
        flex-shrink: 0;
    }

    .location-name {
        font-size: 18px;
        color: #374151;
        line-height: 1.4;
    }

    .location-name.selected {
        text-decoration: underline;
    }

    @media (max-width: 768px) {
        .grid {
            grid-template-columns: 1fr;
            gap: 24px;
        }

        .header {
            padding: 12px 20px;
        }

        .header h2 {
            font-size: 18px;
        }

        .locations-grid {
            padding: 24px 20px;
        }
    }
}
.small-title {
    font-size: 18px;
    line-height: 27px;
    color: #411A31;
}
.p-l-10 {
    padding-left: 10px;
}
.display-flex {
    display: flex;
    align-items: center;
}
.title-closest-store{
    font-family: Poppins;
    font-weight: 600;
    font-size: 30px;
    line-height: 100%;
    color: #411A31;
    margin-bottom: 46px;
}
.input-addon-search{
    padding: 0;
    background: none;
    border: none;
}
.input-group #autocomplete{
    border:none;
    box-shadow: none;
}
#btnLocateMe, #btnSearchLocations{
    height:40px;
}
.input-group{
    border: 1px solid #40142d;
    border-radius: 60px;
}
.title-page{
    font-family: Poppins;
    font-weight: 600;
    font-size: 26px;
    line-height: 100%;
    text-align: center;
    margin-top: 38px;
}
.desc-page{
    font-family: Poppins;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
}
.search-controls{
    margin-top: 21px;
}

.faq-section{
    margin-bottom: 72px;
    details{
        border: 1px solid #411A3180;
        border-radius: 6px;
        margin-bottom: 15px;
        padding: 20px;
    }

    summary{
        font-family: Poppins;
        font-weight: 500;
        font-size: 18px;
        line-height: 22px;
        color:#000;
    }
    p{
        padding: 20px 0;
    }
    .plus{
        float: right;
        width: 20px;
        height: 20px;
    }
}