/* =================================================================== */
/* FIND V - MASTER STYLESHEET FOR STORE, CATEGORY, DETAIL (CANVA-LIKE)*/
/* Phong cách: Trắng chủ đạo, tối giản, không chấm timeline, icon nổi bật */
/* Optimized for responsiveness, inspired by Canva, with user's purple accent */
/* =================================================================== */

/* --- Biến màu và Font chữ (Variables & Fonts) --- */
:root {
    /* Màu sắc chủ đạo: Trắng và các tông xám nhạt */
    --primary-background: #edf1f7; /* Nền XÁM tinh khôi */
    --secondary-background: #edf1f7; /* Nền xám nhạt cho các phần phụ */
    --card-background: #ffffff; /* Nền card trắng */
    --border-color-light: #73778b; /* Màu viền xám ĐẬM */

    /* Màu chữ */
    --text-color-dark: #333333; /* Màu chữ chính tối */
    --text-color-medium: #666666; /* Màu chữ phụ */
    --text-color-light: #999999; /* Màu chữ rất nhẹ */

    /* Màu nhấn (Accent Color) - Màu XÁM của bạn */
    --accent-color: #bf1414; /* Màu Đỏ bạn đã chọn */
    --accent-color-light: #d5d6db; /* XÁM nhạt hơn */
    --accent-color-dark: #73778b; /* XÁM đậm hơn */

    /* Box Shadows (mềm mại, tinh tế) */
    --box-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --box-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 6px 18px rgba(0, 0, 0, 0.12);

    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px; /* Bo góc lớn hơn cho các card chính */
    --border-radius-circle: 50%;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;

    /* Font Families */
    --font-heading: 'Space Grotesk', sans-serif; /* Giữ nguyên nếu bạn thích */
    --font-body: 'Roboto', sans-serif;
    --font-merriweather: 'Merriweather', serif;
}

/* === Reset & Base Styles === */
*, *::before, *::after {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--secondary-background); /* Nền xám nhạt */
    color: var(--text-color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-color-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Wrapper chính cho toàn bộ trang --- */


/* =================================================================== */
/* == HEADER BAR (Thanh ngang cho Header - Dùng chung)               == */
/* =================================================================== */
.store-header-new-style {
    display: flex;
    justify-content: space-between; /* Căn trái và phải */
    align-items: center; /* Căn giữa theo chiều dọc */
    margin: var(--spacing-lg) auto var(--spacing-xxl) auto;
    max-width: 1200px; /* Tăng max-width để rộng hơn, cho phép slogan sang phải */
    width: 100%; /* Đảm bảo chiếm đủ chiều rộng */
    padding: var(--spacing-md) var(--spacing-xl); /* Tăng padding ngang */
    /* Bỏ background, border, box-shadow để không bị "ô khung" */
    z-index: 10;
    flex-shrink: 0;
}

.store-header-new-style .header-left {
    display: flex;
    align-items: center; /* Căn giữa icon và tiêu đề */
    gap: var(--spacing-sm); /* Khoảng cách giữa icon và tiêu đề */
}

.store-header-new-style .header-logo {
    width: 100px; /* Kích thước logo nhỏ hơn, gọn hơn */
    height: auto;
    flex-shrink: 0; /* Đảm bảo không co lại */
}

.store-header-new-style .header-title { /* Đổi từ h1 thành class để kiểm soát tốt hơn */
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem); /* Kích thước tiêu đề hợp lý */
    margin: 0;
    color: var(--accent-color); /* Màu tím của bạn */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Bóng nhẹ */
    white-space: nowrap; /* Ngăn tiêu đề xuống dòng */
}

.store-header-new-style .header-slogan { /* Đổi từ p thành class để kiểm soát tốt hơn */
    font-size: clamp(0.9rem, 2vw, 1rem); /* Slogan gọn hơn */
    margin: 0;
    color: var(--text-color-medium);
    font-style: italic;
    opacity: 0.9;
    text-align: right; /* Căn phải cho slogan */
    flex-shrink: 1; /* Cho phép slogan co lại nếu cần */
    min-width: 0; /* Cho phép co lại nếu text quá dài */
}


/* Header cho trang Category (giữ nguyên phong cách card) */
.category-header-new-style {
    background-color: var(--card-background);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    margin: var(--spacing-sm) auto var(--spacing-xl) auto;
    max-width: 900px;
    text-align: center;
    box-shadow: var(--box-shadow-sm);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-header-new-style h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin: 0;
    color: var(--text-color-dark);
}

/* --- Breadcrumb (Phần "quay lại") --- */
.breadcrumb-new-style {
    margin: var(--spacing-md) auto var(--spacing-lg) auto; /* Điều chỉnh margin để căn giữa và tạo khoảng trống */
    max-width: 1200px; /* Max-width để nó không quá rộng */
    width: 100%; /* Chiếm đủ chiều rộng trong max-width */
    padding: 0 var(--spacing-md); /* Giữ padding ngang */
    font-size: 0.9rem;
    color: var(--text-color-light); /* Màu chữ nhẹ nhàng */
    text-align: left; /* Căn trái */
    display: flex; /* Dùng flex để căn chỉnh các item */
    align-items: center; /* Căn giữa theo chiều dọc */
    flex-wrap: wrap; /* Cho phép xuống dòng nếu quá dài */
}

.breadcrumb-new-style a {
    color: var(--text-color-medium); /* Màu chữ link */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: var(--spacing-xs) 0; /* Thêm padding nhẹ để dễ bấm */
    display: flex; /* Dùng flex để căn chỉnh icon */
    align-items: center;
}

.breadcrumb-new-style a:hover {
    color: var(--accent-color); /* Màu tím khi hover */
}

.breadcrumb-new-style span { /* Dùng cho text hiện tại (ví dụ "Beauty") */
    color: var(--text-color-dark); /* Màu chữ tối hơn cho mục hiện tại */
    font-weight: 600; /* Nổi bật hơn */
    padding: var(--spacing-xs) 0;
}

.breadcrumb-new-style .separator { /* Biểu tượng phân tách */
    display: inline-block;
    margin: 0 var(--spacing-sm); /* Khoảng cách với text */
    color: var(--text-color-light); /* Màu nhẹ */
    font-size: 0.8rem; /* Kích thước nhỏ */
    line-height: 1; /* Căn chỉnh với text */
    vertical-align: middle; /* Căn giữa theo chiều dọc */
}

/* Biểu tượng mũi tên tùy chỉnh (CSS Generated Content) */
.breadcrumb-new-style .separator::after {
    content: "\203A"; /* Dấu mũi tên phải (U+203A) */
    /* content: "\2022"; /* Dấu chấm tròn (U+2022) */
    /* content: ">"; */
}


/* =================================================================== */
/* == STORE INDEX PAGE STYLES                                        == */
/* =================================================================== */
.store-content-new-style {
    flex-grow: 1;
    display: flex;
    flex-direction: column; /* Bố cục cột cho mobile, sẽ chuyển thành hàng ngang trên desktop */
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: var(--spacing-md) 0;
    position: relative;
    gap: var(--spacing-xxl); /* Khoảng cách lớn giữa các section */
}

/* == TIMELINE SECTION (Chỉ còn Icon) == */
.timeline-section {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-start; /* Căn trái để bắt đầu cuộn */
    padding: var(--spacing-md) 0;
    flex-shrink: 0;
    z-index: 5;
    /* Các thuộc tính quan trọng cho cuộn ngang */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; /* Khóa chiều ngang và bật tính năng snap */
    scrollbar-width: none; /* Ẩn scrollbar cho Firefox */
    white-space: nowrap; /* Quan trọng: Ngăn các item xuống dòng */
}

/* Ẩn scrollbar cho Webkit (Chrome, Safari) */
.timeline-section::-webkit-scrollbar {
    display: none;
}

.timeline-points-container {
    display: flex;
    gap: var(--spacing-lg); /* Khoảng cách giữa các icon */
    justify-content: flex-start; /* Bắt đầu từ trái */
    align-items: center;
    /* Không cần width: max-content; nữa, sẽ dựa vào kích thước con */
    padding: 0 var(--spacing-md);
}

.timeline-point {
    position: relative;
    /* Kích thước cố định cho desktop */
    width: 90px;
    height: 90px;
    /* Đảm bảo không co lại */
    flex-shrink: 0; 
    
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 6;
    flex-direction: column;
    border-radius: var(--border-radius-circle);
    scroll-snap-align: center; /* Giúp item căn giữa khi cuộn snap */
}

.timeline-point:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-sm);
}

.timeline-point.active {
    background-color: var(--secondary-background);
    box-shadow: 0 0 0 3px var(--accent-color), var(--box-shadow-md);
    transform: translateY(-3px);
}

.timeline-icon {
    width: 60px; /* KÍCH THƯỚC ICON */
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.timeline-point.active .timeline-icon {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* == CENTRAL HIGHLIGHT SECTION & DETAIL CONTENT (Gộp thành một Card) == */
.central-highlight-section-wrapper { /* Wrapper mới để chứa cả central và detail */
    background-color: var(--card-background);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--box-shadow-lg);
    padding: var(--spacing-xxl);
    max-width: 800px; /* Giới hạn chiều rộng của card chính */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative; /* Để chứa các phần tử con */
    min-height: 450px; /* Chiều cao tối thiểu */
}

.central-circle-link { /* Thẻ A bao quanh icon và tên */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    margin-bottom: var(--spacing-xl);
    transition: transform 0.2s ease;
}

.central-circle-link:hover {
    transform: translateY(-5px);
}

.central-icon {
    width: 150px; /* Kích thước ảnh trung tâm */
    height: 150px;
    object-fit: contain;
    margin-bottom: var(--spacing-md);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth morph transition */
}

.central-category-name {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--text-color-dark);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth morph transition */
    margin: 0;
}

.detail-content-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text-color-dark);
    margin-top: var(--spacing-xl); /* Khoảng cách với phần trên */
    margin-bottom: var(--spacing-md);
    text-shadow: none; /* Bỏ text-shadow */
}

.detail-content-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-color-medium);
    margin-bottom: var(--spacing-xxl);
    max-width: 600px; /* Giới hạn chiều rộng mô tả */
}

/* CTA Button (dùng chung cho cả 3 trang) */
.cta-button-new-style {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-background); /* Chữ trắng */
    padding: 15px 30px;
    border-radius: var(--border-radius-xl); /* Bo góc rất tròn */
    text-decoration: none;
    font-family: var(--font-body); /* Dùng font body cho nút */
    font-size: 1.1em;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
    box-shadow: var(--box-shadow-md);
    border: none;
    cursor: pointer;
}

.cta-button-new-style:hover {
    background-color: var(--accent-color-dark);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

/* =================================================================== */
/* == CATEGORY PAGE STYLES                                          == */
/* =================================================================== */
.category-main-content {
    max-width: 1200px; /* Tăng max-width để Hero Card có thể rộng hơn */
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    flex-grow: 1;
}

/* == HERO LOCATION CARD (REDESIGNED - FIX VẤN ĐỀ HIỂN THỊ TEXT) == */
.hero-location-card {
    background-color: var(--card-background); /* Nền trắng */
    border-radius: var(--border-radius-xl);
    overflow: hidden; /* Quan trọng để bo góc ảnh và content */
    margin-bottom: var(--spacing-xxl);
    box-shadow: var(--box-shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Dùng flex để dễ dàng căn chỉnh sau này nếu cần */
    flex-direction: column; /* Mặc định là cột */
    min-height: 400px; /* Đảm bảo Hero Card có chiều cao tối thiểu */
    position: relative; /* Cho phép định vị tương đối các phần tử con */
}

.hero-location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.hero-card-link {
    text-decoration: none;
    color: inherit;
    display: block; /* Quan trọng: là khối bao */
    width: 100%;
    height: 100%; /* Chiếm toàn bộ chiều cao của .hero-location-card */
    position: relative; /* Cho phép các lớp phủ bên trong định vị tuyệt đối */
}

.hero-card-main-content-area {
    position: relative; /* Để ảnh nền định vị tuyệt đối trong đây */
    width: 100%;
    height: 100%; /* Chiếm toàn bộ không gian của link */
    display: flex; /* Dùng flex để xếp ảnh và content overlay */
    flex-direction: row; /* Mặc định trên DESKTOP: ảnh và content overlay nằm cạnh nhau */
}

.hero-card-image-bg { /* Ảnh nền của Hero Card */
    position: relative; /* Quan trọng: Thay absolute thành relative để nó chiếm không gian */
    flex-shrink: 0; /* Không cho ảnh co lại */
    flex-basis: 50%; /* Chiếm 50% chiều rộng trên desktop */
    height: 100%; /* Chiếm 100% chiều cao của main-content-area */
    object-fit: cover; /* Đảm bảo ảnh phủ kín */
    z-index: 0; /* Đặt dưới các lớp khác */
    border-radius: var(--border-radius-xl) 0 0 var(--border-radius-xl); /* Bo góc chỉ bên trái */
    transition: transform 0.3s ease; /* Thêm transition cho ảnh */
}
.hero-location-card:hover .hero-card-image-bg {
    transform: scale(1.05); /* Hiệu ứng zoom nhẹ khi hover */
}


.hero-card-discount {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background-color: var(--accent-color);
    color: var(--primary-background);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 1.5em;
    box-shadow: var(--box-shadow-sm);
    z-index: 3; /* Đảm bảo tag discount hiển thị trên cùng */
}

.hero-card-content-overlay { /* Lớp phủ cho nội dung text */
    position: relative; /* Quan trọng để z-index hoạt động và nằm trong luồng */
    background-color: var(--card-background); /* Nền trắng hoàn toàn cho nội dung text */
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-xl); /* Điều chỉnh padding */
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Căn giữa nội dung */
    align-items: flex-start; /* Căn trái */
    z-index: 1; /* Đặt trên ảnh nền */
    flex-grow: 1; /* Cho phép chiếm hết chiều cao còn lại */
    flex-basis: 50%; /* Chiếm 50% chiều rộng còn lại trên desktop */
    min-height: 100%; /* Đảm bảo chiều cao tối thiểu bằng 100% của hero-card-main-content-area */
    box-sizing: border-box; /* Bao gồm padding và border trong chiều cao */
    border-radius: 0 var(--border-radius-xl) var(--border-radius-xl) 0; /* Bo góc chỉ bên phải */
    
    /* REMOVE DEBUG OUTLINE */
    /* outline: 2px dashed red; */
}
.hero-card-content-overlay h2,
.hero-card-content-overlay p,
.hero-card-content-overlay div {
    color: var(--text-color-dark); /* Đảm bảo màu chữ rõ ràng trên nền trắng */
    /* outline: 1px solid blue; DEBUG: To see individual text blocks */
}


.hero-card-content-overlay h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem); 
    margin: 0 0 var(--spacing-sm) 0;
}

.hero-card-address {
    font-size: 1.1rem; 
    margin-bottom: var(--spacing-md);
}

.hero-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: 1rem; 
    margin-bottom: var(--spacing-md);
}

.hero-card-details span i.star-icon {
    color: gold;
    margin-left: var(--spacing-xs);
}

.hero-card-description {
    font-size: 1rem; 
    line-height: 1.6;
    margin-top: 0;
    /* Dòng mô tả có thể bị ẩn trên mobile để gọn hơn */
}

/* == REMAINING LOCATIONS GRID == */
.remaining-locations-grid {
    display: grid;
    /* Điều chỉnh minmax để có thể hiển thị 3-4 cột trên desktop, item nhỏ hơn */
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); /* Giảm minwidth để có thể chia 4-5 cột */
    gap: var(--spacing-lg); /* Giảm khoảng cách để card nhỏ lại và gọn hơn */
}

.location-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.location-card-two-column {
    background-color: var(--card-background);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--box-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.location-card-two-column:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-md);
}

.card-image-two-column {
    width: 100%;
    height: 100px; /* Giảm chiều cao ảnh mặc định của card nhỏ */
    object-fit: cover;
    display: block;
    background-color: var(--secondary-background); /* Nền cho ảnh mặc định */
}

.card-content-two-column {
    padding: var(--spacing-sm); /* Giảm padding để nội dung gọn hơn */
    flex-grow: 1;
    text-align: left;
}

.card-content-two-column h3 {
    margin: 0 0 var(--spacing-xs) 0; /* Giảm margin bottom */
    font-family: var(--font-heading);
    font-size: 1rem; /* Giảm font size cho tiêu đề card nhỏ */
    color: var(--text-color-dark);
}

.card-address-two-column {
    margin-bottom: var(--spacing-xs); /* Giảm margin bottom */
    font-size: 0.75rem; /* Giảm font size cho địa chỉ card nhỏ */
    color: var(--text-color-medium);
}

.card-details-two-column {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs); /* Giảm gap cho chi tiết */
    font-size: 0.7rem; /* Giảm font size cho chi tiết card nhỏ */
    color: var(--text-color-light);
    margin-bottom: var(--spacing-xs); /* Giảm margin bottom */
}

.card-discount-two-column {
    background-color: var(--accent-color);
    color: var(--primary-background);
    padding: 1px 4px; /* Giảm padding cho tag discount */
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 1em; /* Giảm font size cho tag discount */
    box-shadow: var(--box-shadow-sm);
}

.card-rating-two-column {
    font-size: 0.7em; /* Giảm font size */
    color: var(--text-color-light);
}

.card-rating-two-column i.star-icon {
    color: gold;
    margin-left: var(--spacing-xs);
}

.card-hours-two-column {
    font-size: 0.7em; /* Giảm font size */
    color: var(--text-color-light);
    margin-top: var(--spacing-xs);
}

.no-results-message-new-style {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.1rem;
    padding: var(--spacing-xxl);
    background-color: var(--card-background);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-md);
    color: var(--text-color-medium);
    margin-top: var(--spacing-xl);
}

/* =================================================================== */
/* == LOCATION DETAIL PAGE STYLES                                    == */
/* =================================================================== */

.cover-image {
    width: 100%;
    height: 30vh;
    max-height: 300px;
    object-fit: cover;
    background-color: var(--secondary-background);
    display: block;
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0; /* Bo góc trên */
}

.location-detail-container {
    max-width: 900px;
    margin: -80px auto var(--spacing-xxl) auto; /* Margin âm để chồng lên ảnh bìa */
    background-color: var(--card-background);
    border-radius: var(--border-radius-xl); /* Bo góc lớn */
    box-shadow: var(--box-shadow-lg);
    position: relative;
    padding: var(--spacing-xl);
    z-index: 2;
    text-align: left;
}

.location-detail-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text-color-dark);
}

.location-detail-header .loaihinh {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-color-medium);
    margin-bottom: var(--spacing-lg);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color-light);
}

.info-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--secondary-background); /* Nền nhẹ cho mỗi item */
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color-light);
}

.info-item .icon {
    font-size: 1.6rem;
    width: 40px;
    text-align: center;
    margin-right: var(--spacing-md);
    color: var(--accent-color); /* Màu tím cho icon */
    flex-shrink: 0;
}

.info-text strong {
    display: block;
    font-size: 1rem;
    color: var(--text-color-dark);
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-heading);
}

.info-text span {
    font-size: 0.95rem;
    color: var(--text-color-medium);
}

.discount-tag {
    font-weight: 700;
    color: var(--primary-background);
    background-color: var(--accent-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    display: inline-block;
    box-shadow: var(--box-shadow-sm);
    font-size: 1.2em;
}

.description-section {
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color-light);
}

.description-section h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-color-dark);
}

.description-section p {
    line-height: 1.7;
    font-size: 1rem;
    color: var(--text-color-medium);
}

/* New Bio Section - Removed as per request */

.actions {
    margin-top: var(--spacing-xxl);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
}

.btn { /* Kế thừa từ cta-button-new-style để nhất quán */
    flex-grow: 1;
    max-width: 280px;
}

.btn-map {
    background-color: #2980b9; /* Màu xanh dương */
    color: white;
}

.btn-phone {
    background-color: #27ae60; /* Màu xanh lá */
    color: white;
}

/* =================================================================== */
/* == ANIMATIONS (Common animations)                                == */
/* =================================================================== */
.fade-in {
    opacity: 0;
    animation: fadeInAnimation 0.5s forwards;
}

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

/* For type text effect */
.typing-animation::after {
    content: '|';
    animation: blink-caret .75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-color); }
}


/* =================================================================== */
/* == RESPONSIVE STYLES                                               == */
/* =================================================================== */

@media (min-width: 1024px) { /* Desktop (dành cho store page) */
    .store-content-new-style {
        flex-direction: row; /* Bố cục ngang trên desktop */
        align-items: flex-start; /* Căn trên cùng */
        justify-content: center;
        gap: var(--spacing-xxl);
        padding: var(--spacing-xl) 0;
    }

    .timeline-section {
        width: 250px; /* Chiều rộng cố định cho timeline */
        height: auto;
        flex-direction: column; /* Xếp cột trên desktop */
        padding: var(--spacing-md) 0;
        overflow-x: visible; /* Bỏ cuộn ngang */
        white-space: normal;
        align-items: flex-start; /* Căn trái */
    }

    .timeline-points-container {
        display: grid; /* Quay lại grid 2 cột */
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg) var(--spacing-sm);
        width: 100%;
        padding: 0;
        justify-items: center;
    }
    .timeline-point {
        flex-shrink: 0; /* Đảm bảo không co lại */
        width: 90px;
        height: 90px;
    }
    .timeline-icon {
        width: 60px;
        height: 60px;
    }
    .central-highlight-section-wrapper {
        min-height: 550px; /* Tăng chiều cao tối thiểu trên desktop */
    }

    /* Category Page Adjustments (REDESIGNED HERO CARD - Desktop) */
    .hero-location-card {
        flex-direction: row; /* Trở lại bố cục hàng ngang trên desktop */
        min-height: 350px; /* Chiều cao cố định trên desktop */
    }
    .hero-card-main-content-area {
        flex-direction: row; /* Ảnh và overlay nằm cạnh nhau */
        height: 350px; /* Chiều cao cố định trên desktop */
    }
    .hero-card-image-bg {
        border-radius: var(--border-radius-xl) 0 0 var(--border-radius-xl); /* Bo góc bên trái */
    }
    .hero-card-content-overlay {
        border-radius: 0 var(--border-radius-xl) var(--border-radius-xl) 0; /* Bo góc bên phải */
    }
    
    /* REMAINING LOCATIONS GRID - DESKTOP (3 CỘT HOẶC HƠN) */
    .remaining-locations-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); /* Rất quan trọng: Giảm minwidth để ép chia 4-5 cột */
        gap: var(--spacing-md); /* Giảm khoảng cách để card nhỏ lại và gọn hơn */
    }
    /* Kích thước font và hình ảnh của card nhỏ trên desktop khi có nhiều cột */
    .card-image-two-column {
        height: 80px; /* Giảm chiều cao ảnh card nhỏ */
    }
    .card-content-two-column h3 {
        font-size: 0.85rem; /* Giảm font size cho tiêu đề card nhỏ */
    }
    .card-address-two-column, .card-details-two-column, .card-rating-two-column, .card-hours-two-column {
        font-size: 0.65rem; /* Giảm font size cho chi tiết card nhỏ */
    }

    /* Bio Grid on Desktop - Removed as per request */
}

@media (max-width: 992px) { /* Màn hình lớn hơn tablet, nhỏ hơn desktop (có thể là laptop nhỏ) */
    /* REMAINING LOCATIONS GRID - LAPTOP NHỎ (3 CỘT HOẶC HƠN) */
    .remaining-locations-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); /* Giữ 160px để cố gắng 3-4 cột */
        gap: var(--spacing-md); /* Giảm khoảng cách này */
    }
    /* Đảm bảo font/image size phù hợp với 3 cột trên laptop nhỏ */
    .card-image-two-column {
        height: 70px; /* Giảm chiều cao ảnh */
    }
    .card-content-two-column h3 {
        font-size: 0.8rem; /* Giảm font size */
    }
    .card-address-two-column, .card-details-two-column, .card-rating-two-column, .card-hours-two-column {
        font-size: 0.6rem; /* Giảm font size */
    }
    /* Bio Grid on Laptop/Tablet Large - Removed as per request */
}

@media (max-width: 900px) { /* NEW BREAKPOINT: Forcing 2 columns on wider tablets/mid-size devices */
    .remaining-locations-grid {
        grid-template-columns: repeat(2, 1fr); /* FORCING 2 COLUMNS */
        gap: var(--spacing-lg); /* Adjust gap for 2 columns */
    }
    /* Adjust sizes for 2 columns */
    .card-image-two-column {
        height: 100px; /* Increase image height for 2 columns */
    }
    .card-content-two-column h3 {
        font-size: 1rem; /* Increase font size */
    }
    .card-address-two-column, .card-details-two-column, .card-rating-two-column, .card-hours-two-column {
        font-size: 0.75rem; /* Increase font size */
    }
}

@media (max-width: 768px) { /* Tablet & Mobile Landscape */
    /* Header cho trang Store */
    .store-header-new-style {
        padding: var(--spacing-sm) var(--spacing-md);
        margin-bottom: var(--spacing-lg);
        max-width: 100%; /* Cho phép chiếm hết chiều rộng */
        justify-content: space-between; /* Giữ icon/title bên trái, slogan bên phải */
    }
    .store-header-new-style .header-logo {
        width: 50px; /* Kích thước logo nhỏ hơn */
    }
    .store-header-new-style .header-title {
        font-size: clamp(1.8rem, 4vw, 2.2rem); /* Tiêu đề nhỏ hơn */
    }
    .store-header-new-style .header-slogan {
        font-size: clamp(0.8rem, 1.8vw, 0.9rem); /* Slogan nhỏ hơn */
        text-align: right; /* Đảm bảo vẫn căn phải */
        flex-grow: 1; /* Cho phép slogan chiếm khoảng trống còn lại */
        padding-left: var(--spacing-md); /* Thêm padding trái để không dính vào title */
    }

    /* Header cho trang Category (giữ nguyên hoặc tinh chỉnh nhẹ) */
    .category-header-new-style {
        max-width: 95%;
        padding: var(--spacing-sm) var(--spacing-md);
        margin-bottom: var(--spacing-lg);
    }
    .category-header-new-style h1 {
        font-size: 1.6rem;
    }
    .breadcrumb-new-style {
        font-size: 0.85rem;
        margin-bottom: var(--spacing-md);
    }

    /* Store Page Adjustments */
    .store-content-new-style {
        gap: var(--spacing-xl);
    }
    .timeline-section {
        padding: var(--spacing-md) 0;
    }
    .timeline-points-container {
        gap: var(--spacing-md);
        padding: 0 var(--spacing-md);
    }
    .timeline-point {
        width: 70px; /* Kích thước cố định cho icon */
        height: 70px;
        flex-shrink: 0; /* Quan trọng: Ngăn icon co lại */
    }
    .timeline-icon {
        width: 45px;
        height: 45px;
    }
    .central-highlight-section-wrapper {
        padding: var(--spacing-xl);
        min-height: 400px;
    }
    .central-icon {
        width: 120px;
        height: 120px;
    }
    .central-category-name {
        font-size: 2rem;
    }
    .detail-content-title {
        font-size: 1.6rem;
    }
    .detail-content-description {
        font-size: 0.95rem;
    }
    .cta-button-new-style {
        padding: 12px 25px;
        font-size: 1em;
    }

    /* Category Page Adjustments (REDESIGNED HERO CARD) */
    .hero-location-card {
        flex-direction: column; /* Luôn là cột trên mobile */
        min-height: 350px; /* Đảm bảo chiều cao tối thiểu cho Hero Card trên tablet */
    }
    .hero-card-link {
        min-height: auto; /* reset min-height */
    }
    .hero-card-main-content-area {
        height: 100%; /* Chiếm toàn bộ chiều cao của link */
        flex-direction: column; /* BUỘC ảnh và overlay xếp cột trên mobile */
    }
    .hero-card-image-bg {
        position: relative; /* Ảnh chiếm không gian */
        width: 100%;
        height: 200px; /* Chiều cao ảnh nền cố định trên mobile */
        border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0; /* Bo góc trên */
        flex-basis: auto; /* Không cần flex-basis cố định */
    }
    .hero-card-content-overlay {
        position: relative;
        width: 100%;
        min-height: 150px; /* Chiều cao tối thiểu cho overlay trên mobile */
        flex-grow: 1; /* Đẩy nội dung chiếm phần còn lại */
        flex-basis: auto; /* Không cần flex-basis cố định */
        padding: var(--spacing-md); /* Giảm padding cho mobile */
        justify-content: flex-start; /* Căn nội dung lên đầu (sau ảnh) */
        border-radius: 0 0 var(--border-radius-xl) var(--border-radius-xl); /* Bo góc dưới */
        /* outline: 1px dashed red; DEBUG: viền đỏ cho hero-card-content-overlay */
    }
    .hero-card-content-overlay h2 {
        font-size: 1.8rem; /* Giảm font size cho mobile */
    }
    .hero-card-address, .hero-card-details, .hero-card-description {
        font-size: 0.9em; /* Giảm font size cho mobile */
    }

    /* REMAINING LOCATIONS GRID - TABLET (2 CỘT) */
    /* Điều chỉnh kích thước font và hình ảnh của card nhỏ trên tablet (2 cột) */
    .card-image-two-column {
        height: 90px; /* Giảm chiều cao ảnh */
    }
    .card-content-two-column h3 {
        font-size: 0.9rem; /* Giảm font size */
    }
    .card-address-two-column, .card-details-two-column, .card-rating-two-column, .card-hours-two-column {
        font-size: 0.7rem; /* Giảm font size */
    }

    /* Bio Grid on Tablet - Removed as per request */

    /* Location Detail Adjustments */
    .location-detail-container {
        margin: -60px auto var(--spacing-xl) auto;
        padding: var(--spacing-lg);
    }
    .cover-image {
        height: 25vh;
    }
    .location-detail-header h1 {
        font-size: 2rem;
    }
    .info-grid {
        grid-template-columns: 1fr; /* Một cột trên mobile và tablet */
        gap: var(--spacing-md);
    }
    .info-item .icon {
        font-size: 1.4rem;
    }
    .info-text strong {
        font-size: 0.95rem;
    }
    .info-text span {
        font-size: 0.9rem;
    }
    .description-section h3 {
        font-size: 1.5rem;
    }
    .description-section p {
        font-size: 0.9rem;
    }
    .actions {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 90%;
        max-width: 300px;
    }
}

@media (max-width: 700px) { /* MEDIA QUERY - CHUYỂN TỪ 3 CỘT SANG 2 CỘT */
    .hero-location-card {
        min-height: 300px; /* Giảm chiều cao tối thiểu Hero Card tại ngưỡng này */
    }
    .hero-card-image-bg {
        height: 180px; /* Giảm chiều cao ảnh nền tại ngưỡng 700px */
    }
    .hero-card-content-overlay {
        min-height: 120px; /* Giảm min-height cho overlay tại ngưỡng 700px */
    }
    .hero-card-content-overlay h2 {
        font-size: 1.7rem; /* Giảm nhẹ font size để vừa hơn */
    }
    /* Đảm bảo nội dung card nhỏ vẫn 2 cột khi chuyển từ trên 700px xuống */
    .remaining-locations-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: var(--spacing-md); /* Giảm gap để vừa 2 cột */
    }
    /* Điều chỉnh kích thước font và hình ảnh của card nhỏ trên mobile (2 cột) */
    .card-image-two-column {
        height: 80px; /* Giảm chiều cao ảnh */
    }
    .card-content-two-column h3 {
        font-size: 0.8rem; /* Giảm font size */
    }
    .card-address-two-column, .card-details-two-column, .card-rating-two-column, .card-hours-two-column {
        font-size: 0.6rem; /* Giảm font size */
    }
    /* Bio Grid at 700px - Removed as per request */
}


@media (max-width: 480px) { /* Mobile nhỏ (chân dung) */
    .main-wrapper-new-style {
        padding: var(--spacing-sm);
    }
    /* Header cho trang Store */
    .store-header-new-style {
        padding: var(--spacing-xs) var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }
    .store-header-new-style .header-logo {
        width: 40px; /* Kích thước logo nhỏ hơn */
    }
    .store-header-new-style .header-title {
        font-size: clamp(1.5rem, 3.5vw, 1.8rem); /* Tiêu đề nhỏ hơn nữa */
    }
    .store-header-new-style .header-slogan {
        font-size: clamp(0.7rem, 1.5vw, 0.8rem); /* Slogan nhỏ nhất */
        padding-left: var(--spacing-sm); /* Giảm padding trái */
    }

    /* Header cho trang Category */
    .category-header-new-style {
        padding: var(--spacing-xs) var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }
    .category-header-new-style h1 {
        font-size: 1.4rem;
    }
    .breadcrumb-new-style {
        font-size: 0.75rem; /* Giảm font size cho mobile nhỏ */
        margin-bottom: var(--spacing-md);
    }
    .breadcrumb-new-style .separator {
        margin: 0 var(--spacing-xs); /* Giảm khoảng cách separator */
    }

    /* Store Page Adjustments */
    .timeline-points-container {
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }
    .timeline-point {
        width: 60px; /* Kích thước cố định cho mobile nhỏ */
        height: 60px;
        flex-shrink: 0; /* Quan trọng: Ngăn icon co lại */
    }
    .timeline-icon {
        width: 40px;
        height: 40px;
    }
    .central-highlight-section-wrapper {
        padding: var(--spacing-lg);
        min-height: 350px;
    }
    .central-icon {
        width: 100px;
        height: 100px;
    }
    .central-category-name {
        font-size: 1.8rem;
    }
    .detail-content-title {
        font-size: 1.4rem;
    }
    .detail-content-description {
        font-size: 0.85rem;
    }
    .cta-button-new-style {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    /* Category Page Adjustments (REDESIGNED HERO CARD) */
    .hero-location-card {
        min-height: 250px; /* Giảm chiều cao tối thiểu Hero Card trên mobile nhỏ */
    }
    .hero-card-image-bg {
        height: 150px; /* Giảm chiều cao ảnh nền trên mobile nhỏ */
    }
    .hero-card-content-overlay {
        min-height: 100px; /* Giảm min-height cho overlay trên mobile nhỏ */
        padding: var(--spacing-md); /* Giảm padding cho mobile nhỏ */
    }
    .hero-card-content-overlay h2 {
        font-size: 1.6rem;
    }
    .hero-card-address, .hero-card-details, .hero-card-description {
        font-size: 0.8em; /* Giảm font size cho mobile nhỏ */
    }

    /* REMAINING LOCATIONS GRID - MOBILE NHỎ (1 CỘT) */
    .remaining-locations-grid {
        grid-template-columns: 1fr; /* Buộc 1 cột trên mobile nhỏ */
        gap: var(--spacing-md); 
    }
    .card-image-two-column {
        height: 140px;
    }
    .card-content-two-column h3 {
        font-size: 1.1rem;
    }

    /* Bio Grid on Mobile Small - Removed as per request */

    /* Location Detail Adjustments */
    .location-detail-container {
        margin: -40px auto var(--spacing-lg) auto;
        padding: var(--spacing-md);
    }
    .cover-image {
        height: 20vh;
    }
    .location-detail-header h1 {
        font-size: 1.8rem;
    }
    .info-grid {
        grid-template-columns: 1fr; /* Một cột trên mobile và tablet */
        gap: var(--spacing-md);
    }
    .info-item .icon {
        font-size: 1.2rem;
    }
    .info-text strong {
        font-size: 0.9rem;
    }
    .info-text span {
        font-size: 0.8rem;
    }
    .description-section h3 {
        font-size: 1.3rem;
    }
    .description-section p {
        font-size: 0.85rem;
    }
}

/* ====================================================== */
/* == CSS DÙNG CHUNG CHO HEADER & FOOTER == */
/* ====================================================== */

/* --- BIẾN MÀU & FONT CHỮ (Bắt buộc) --- */
:root {
    --brand-color-findv: #bf1414;
    --tagline-color: #6A6A6A;
    --search-button-bg: #BF1414;
    --search-button-text-color: #FFFFFF;
    --search-button-hover-bg: #404040;
    --text-dark: #333333;
    --soft-gray-background: #edf1f7;
    --box-background-light: #FFFFFF;
    --border-color-light: #e0e0e0;
}

/* --- Thiết lập cơ bản cho Body để Footer hoạt động đúng --- */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', sans-serif;
}
main {
    flex: 1 0 auto;
}

/* --- HEADER --- */
.site-header {
    background-color: var(--soft-gray-background);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo img {
    margin-top: 20px;
    height: 100px;
    width: auto;
    display: block;
}
.header-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}
.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}
.header-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}
.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-color-findv);
    transition: width 0.3s ease;
}
.header-nav a:hover::after {
    width: 100%;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.login-button {
    background-color: var(--brand-color-findv);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}
.login-button:hover {
    background-color: var(--search-button-hover-bg);
    color: #fff;
}
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    border-left: 1px solid var(--border-color-light);
    padding-left: 20px;
}
.lang-switcher button {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.lang-switcher button:hover {
    opacity: 1;
}
.lang-switcher button.active {
    opacity: 1;
    color: var(--brand-color-findv);
}
.lang-switcher span {
    color: var(--border-color-light);
}

/* --- FOOTER --- */
.site-footer {
    background-color: #212529;
    color: #adb5bd;
    padding: 10px 5px 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap; /* Cho responsive, tự xuống dòng nếu hẹp */
    justify-content: space-between; /* Khoảng cách đều giữa các phần */
    gap: 20px; /* Khoảng cách giữa các cột */
    padding: 20px 30px;
    background-color: #212529;
    color: white;
}

.footer-about,
.footer-links,
.footer-social,
.footer-reference {
    flex: 1 1 200px; /* Mỗi phần chiếm đều, co giãn đẹp */
    min-width: 200px;
    max-width: 300px;
    font-size: 15px;
}


.footer-about img {
    width: 40px;
    height: auto;
    margin-left: 90px;
}

.footer-about p {
    font-size: 15px;
    line-height: 1.6;
}

.footer-links .h4,
.footer-reference .h4,
.footer-social .h4 {
    font-size: 10px;
    text-transform: uppercase;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 10px
}

.footer-links ul li {
    margin-bottom: 10px;
    margin-top: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #f8c3d4;
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    color: #ccc;
    font-size: 18px;
    transition: color 0.3s;
    padding: 10px;
}

.social-icons a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 30px;
    padding-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-about img {
        margin: 0 auto 15px;
    }

    .social-icons a {
        margin: 0 10px;
    }
}

