:root {
    --secondary-gradient: linear-gradient(to right, #005DE4, #2A82C6);
}

/* CSS cho Store Locator */
.store-locator-container {
    margin: 20px auto;
    font-family: Arial, sans-serif;
}
img.store-thumbnail {
border-radius: 15px;
}
.store-locator-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.store-locator-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.store-filter-section {
    display: flex;
    justify-content: space-between;
}

.store-search-box {
    margin-right: 10px;
    width: 30%; /* Thêm chiều rộng cho search box */
    box-sizing: border-box; /* Đảm bảo padding không làm tăng chiều rộng */
}

.search-box-container {
    border: 1px solid #cccccc6e;
    border-radius: 5px;
    padding: 15px;
}

.store-search-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.store-search-box input[type="text"],
.store-search-box select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    box-sizing: border-box; /* Đảm bảo padding không làm tăng chiều rộng */
}

.search-divider {
    display: flex;
    align-items: center;
    text-align: center;
    font-weight: bold;
    margin: 10px 0;
}

.search-divider::before,
.search-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
    margin: 0 10px;
}

.store-list-section {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    width: 68%; /* Thêm chiều rộng cho list section */
    box-sizing: border-box; /* Đảm bảo padding không làm tăng chiều rộng */
}

.store-list-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Grid System và Store Item */
.store-item {
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap; /* Thêm để tránh tràn khi lọc */
}

.store-item .store-image {
    width: 41.66666667%; /* 5/12 = 41.66% */
    padding-right: 15px;
    box-sizing: border-box;
}

.store-item .store-image img {
    max-width: 100%;
    height: auto;
}

.store-item .store-details {
    width: 58.33333333%; /* 7/12 = 58.33% */
    box-sizing: border-box;
}

.store-item .store-details h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.store-content {  /* Sử dụng class này cho nội dung */
    font-size: 14px;
    line-height: 1.4;  /* Thêm line-height để cải thiện khả năng đọc */
}

.store-item .store-details p {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

/* Store Actions (Buttons) */
.store-item .store-actions {
    display: flex;
    justify-content: space-between; /* Chia đều khoảng cách */
    margin-top: 10px;
    width: 100%; /* Chiếm toàn bộ chiều rộng */
}

.store-item .store-actions .store-direction-link {
    text-decoration: none;
    background-image: var(--secondary-gradient); /* Thêm gradient */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex: 1; /* Chia đều chiều rộng cho các nút */
    text-align: center; /* Căn giữa chữ */
	font-weight: 600;
}
.store-item .store-actions .store-consult-phone {
    text-decoration: none;
    background-color:#fff !important;
    color: #2A73FF;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex: 1; /* Chia đều chiều rộng cho các nút */
    text-align: center; /* Căn giữa chữ */
	border: 1px solid #ccc;
	font-weight: 600;
}
.store-item .store-actions a:first-child {  /* Thêm để đảm bảo có khoảng cách */
    margin-right: 5px;
}

.store-item .store-actions a:last-child {  /* Thêm để đảm bảo có khoảng cách */
    margin-left: 5px;
}

.store-item .store-actions a:hover {
    /* background-color: #0056b3; */ /* Loại bỏ màu nền đơn sắc khi hover */
    opacity: 0.8; /* Giảm độ mờ khi hover */
}

.store-item .store-actions a[href^="tel:"]:hover {
    opacity: 0.8; /* Giảm độ mờ khi hover */
}
/* Media Query cho Mobile (ví dụ: màn hình nhỏ hơn 768px) */
@media (max-width: 767px) {
    .store-filter-section {
        flex-direction: column; /* Xếp các phần tử theo chiều dọc */
    }

    .store-search-box,
    .store-list-section {
        width: 100%; /* Chiếm toàn bộ chiều rộng */
		margin-bottom: 10px;
    }
.store-item .store-actions a:last-child {
    margin-left: 0px;
}
    .store-item {
        flex-direction: column; /* Xếp ảnh và thông tin theo chiều dọc */
    }

    .store-item .store-image {
        width: 100%; /* Chiếm toàn bộ chiều rộng */
        padding-right: 0; /* Loại bỏ padding */
        margin-bottom: 10px; /* Thêm khoảng cách bên dưới ảnh */
    }

    .store-item .store-details {
        width: 100%; /* Chiếm toàn bộ chiều rộng */
    }

    .store-item .store-actions {
        flex-direction: column; /* Xếp các nút theo chiều dọc */
        align-items: stretch; /* Kéo dài các nút để chiếm toàn bộ chiều rộng */
    }

    .store-item .store-actions a {
        margin: 5px 0; /* Thêm khoảng cách giữa các nút */
    }
}