/**
 * Store Location Page Styles
 * Scoped to .page-store-location
 * 
 * @package RinnoTools
 */

/* Main container */
.page-store-location .store-location-block {
    padding: 40px 0;
}

.page-store-location .store-location__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .page-store-location .store-location__title {
        font-size: 3rem;
    }
}

.page-store-location .store-location__intro {
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #6c757d;
}

/* Section titles */
.page-store-location .store-location__section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #3d464d;
}

/* Store info card */
.page-store-location .store-location__info {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 4px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.page-store-location .store-location__details {
    margin-bottom: 2rem;
}

.page-store-location .store-location__detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.page-store-location .store-location__detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-store-location .store-location__icon {
    font-size: 1.25rem;
    color: #3d464d;
    margin-right: 1rem;
    margin-top: 0.25rem;
    min-width: 24px;
}

.page-store-location .store-location__detail-content {
    flex: 1;
}

.page-store-location .store-location__detail-content strong {
    color: #3d464d;
    display: block;
    margin-bottom: 0.5rem;
}

.page-store-location .store-location__detail-content a {
    color: #3d464d;
    text-decoration: none;
}

.page-store-location .store-location__detail-content a:hover {
    color: #ffd333;
    text-decoration: underline;
}

/* Actions */
.page-store-location .store-location__actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #ebebeb;
}

.page-store-location .store-location__actions .btn {
    width: 100%;
}

@media (min-width: 768px) {
    .page-store-location .store-location__actions .btn {
        width: auto;
    }
}

/* Map */
.page-store-location .store-location__map {
    margin-bottom: 2rem;
}

.page-store-location .store-location__map-embed {
    border: 1px solid #ebebeb;
    border-radius: 4px;
    overflow: hidden;
    background: #f7f8fa;
}

.page-store-location .store-location__map-embed iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

.page-store-location .store-location__map-embed p {
    padding: 1.5rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .page-store-location .store-location__info,
    .page-store-location .store-location__map {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .page-store-location .store-location__title {
        font-size: 2rem;
    }
    
    .page-store-location .store-location__info {
        padding: 1.5rem;
    }
    
    .page-store-location .store-location__section-title {
        font-size: 1.25rem;
    }
    
    .page-store-location .store-location__map-embed iframe {
        height: 300px;
    }
}

/* WooCommerce My Account endpoint styles */
.woocommerce-MyAccount-content.store-location-endpoint {
    padding: 0;
}

.woocommerce-MyAccount-content .store-location-content {
    padding: 20px 0;
}

.woocommerce-MyAccount-content .store-location__info,
.woocommerce-MyAccount-content .store-location__map {
    margin-bottom: 2rem;
}

.woocommerce-MyAccount-content .store-location__section-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

