:root {
    --gold: #c49a6c;
    --black: #000000;
    --white: #ffffff;
    --nau_dam: #a78a62;
    --nau_dam_2x: #5f452f;
    --nau_vua: #B8A07E;
    --nau_nhat:#F5EFE0;
    --xanh_reu: #576E65;
    --xam_nhe:#7A7A7A;
    --xam_dam: #4D4D4D;
    --xam_dam_2x: #313131;
    --kem_nhat: #fdf6e3;
    --header-height: 90px;
    --header-height-mobile: 50px;
    --header-shrink-height:50px;
    --header-shrink-height-mobile:35px;
    --main-font: "Times New Roman", Times, serif;
    --fallback-font: Arial, sans-serif;
    --ripple-color: #4b2e1e;
    
}

html {
    /* Thiết lập 1rem = 16px (mặc định) */
    font-size: 20px; 
    
    /* Hoặc dùng mẹo 62.5% để 1rem = 10px, giúp tính toán cực nhanh */
    /* font-size: 62.5%; */ 
}

/* Reset cơ bản */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--main-font), var(--fallback-font);
    font-size: 1rem;
    -webkit-font-smoothing: antialiased; /* Giúp chữ hiển thị mượt hơn trên Mac/iOS */
    -moz-osx-font-smoothing: grayscale;
}

.main-header {
    /* background: var(--nau_vua); */
    background: transparent;
    width: 100%; /* Full-width */
    height: var(--header-height);
    display: flex;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: fixed;
    top: 0;
    /* position: absolute; 
    top: 0;
    left: 0; */
    z-index: 1000;
    transition: all 0.4s ease-in-out; /* Giúp co giãn và đổi màu mượt mà */
}

.main-header.nav-scrolled {
    height: var(--header-shrink-height);
    background: rgba(0, 0, 0, 0.9); /* Màu nền tối khi cuộn */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--nau_dam); /* Đổi màu viền sang vàng đồng */
}

.header-container {
    width: 100%;
    max-width: 1200px; /* Độ rộng tối đa để nội dung không quá loãng trên màn hình lớn */
    margin: 0 auto;
    /* padding: 0 4%; */
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    height: 100%;
}

.logo-container {
    flex: 0 0 10%; 
    display: flex;
    justify-content: flex-start; /* Giữ logo sát lề trái */
    padding-left: 70px;
    align-items: center;
    margin:auto 0;
    transition: all 0.3s ease;
}



.logo { height: 60px; aspect-ratio: 1 / 1; object-fit: contain; margin-top: 0;}

.main-header.nav-scrolled .logo img {
    height: 35px; /* Điều chỉnh kích thước logo cho cân đối */
    transition: height 0.4s ease;
}



/* .logo-default {
    display: block;

} */


.nav-scrolled .logo {
    display: block; /* Hiện logo nhỏ */
    height: 40px;   /* Thường logo lúc cuộn sẽ nhỏ hơn để tiết kiệm diện tích */
    animation: fadeIn 0.5s ease; /* Thêm hiệu ứng hiện ra cho mượt */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}



.nav-wrapper {
    flex: 0 0 70%;
    display: flex;
    justify-content: center; /* Căn menu vào chính giữa vùng 60% */
    margin: 0px;
    align-items: center;
}
/* Menu Desktop */
.nav-list { display: flex; list-style: none; gap: 60px; margin: 0; padding: 0; height: 100%;}
.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s;
    margin: 0px;
    padding: 0px;
    align-items: center;
}
.nav-list li {
    display: flex;
    margin: 0px;
    padding: 0px;
    align-items: center;
}
.nav-list a:hover, .nav-list a.active { color: var(--gold); }

.nav-scrolled .nav-list a {
    font-size: 0.9rem;
}

/* Nút CTA */
.header-right {
    flex: 0 0 20%;
    display: flex;
    justify-content: flex-end; /* Đẩy nút "GỌI NGAY" sát lề phải */
    padding-right: 70px;
    align-items: center;
}


.btn-cta {
    background: var(--gold);
    color: var(--black);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

.nav-scrolled .btn-cta {
    padding: 5px 15px;
}

/* --- RESPONSIVE CHO TABLET & MOBILE --- */
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.mobile-menu-toggle .bar { width: 25px; height: 3px; background: var(--white); }



/* Khi nhấn nút mở menu (sẽ dùng JS thêm class 'open') */
/* .nav-wrapper.open { left: 0; } */


.hero-container {
    width: 100%;
    min-height: 110vh; /* Chiều cao bằng 100% màn hình thiết bị*/
    
    /* Chèn ảnh nền của bạn vào đây */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                      url('../images/desktop/Túi robusta honey 500gr 1.webp'); 
    
    background-size: cover;      /* Ảnh luôn lấp đầy khung hình mà không bị méo */
    background-position: center; /* Luôn lấy tâm ảnh làm điểm chính */
    background-attachment: fixed; /* Hiệu ứng cuộn trang (Parallax) cực sang */
    
    display: flex;
    justify-content: center; /* Căn giữa nội dung theo chiều dọc */
    align-items: center;     /* Căn giữa nội dung theo chiều ngang */
    text-align: center;
}

/* .hero-content h1 {
    font-family: "Times New Roman", serif;
    font-size: 5rem;
    color: var(--gold);
    letter-spacing: 8px;
    margin-bottom: 10px;
} */

.hero-content {
    font-family: "Georgia", Sans-serif;
    font-size: 65px;
    font-weight: 600;
    color: white;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-content .highlight {
    color: var(--nau_vua);
}




.menu-price-section {
    background-color: var(--nau_vua);
    padding: 50px 0 70px;
    /* font-family: "Times New Roman", serif; */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    color: var(--white);
    font-size: 1.7rem;
    margin-bottom: 50px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* .section-title {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
} */

/* Định dạng hình ảnh */
.product-gallery {
    display: grid;
    /* Tạo các cột có độ rộng cố định 308px, tự động tràn hàng */
    grid-template-columns: repeat(3, 1fr);
    /* Khoảng cách giữa các ô ảnh */
    gap: 15px; 
    /* Căn giữa toàn bộ hệ thống grid nếu màn hình dư chỗ */
    justify-content: center; 
    margin-bottom: 40px;
}

.product-gallery a {
    display: block;
    width: 100%;
    /* height: 231px; */
    overflow: hidden;
    border-radius: 8px;
}
.product-gallery.shop-image a {
    aspect-ratio: 4 / 3;
}

.product-gallery img {
    width: 100%;
    height: 100%;
    /* Cắt ảnh dọc, lấy phần giữa để lấp đầy khung 308x231 */
    object-fit: cover; 
    object-position: center;
    
    transition: transform 0.4s ease;
}

/* Class này sẽ được thêm vào bằng Javascript khi cuộn tới nơi */
.product-gallery a.reveal {
    opacity: 1;
    transform: scale(1);
}


/* Hiệu ứng nhẹ khi khách rê chuột vào sản phẩm */
.product-gallery img:hover {
    /* Độ sáng giảm còn 0.6 (tương đương phủ tối 40%) */
    filter: brightness(0.6); 
}






.price-card {
    width: 100%;
    max-width: 600px;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    /* margin-bottom: 30px; */
    /* font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; */
    margin: 20px auto 50px;
}

/* Header màu xanh xám */
.price-header {
    background-color: var(--xanh_reu); /* Màu xanh xám đặc trưng */
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

.price-header h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.price-header p {
    margin: 5px 0 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Body nội dung */
.price-body {
    padding: 40px;
    text-align: center;
    background-color: #f9f9f9; /* Màu nền hơi xám nhẹ */
}

/* Hiển thị giá số to */
.price-amount {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: #444;
    margin-bottom: 30px;
}

.price-amount .currency {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 5px;
    align-self: flex-start;
    margin-top: 10px;
}

.price-amount .number {
    font-size: 4.5rem; /* Số 130 to hẳn lên */
    font-weight: 700;
    line-height: 1;
}

.price-sub {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 2px;
}

.price-sub .thousands {
    font-size: 1.2rem;
    font-weight: bold;
    align-self: flex-start;
    margin-top: 10px;
}

.price-sub .unit {
    font-size: 1.1rem;
    color: #555;
}

/* Danh sách ưu điểm */
.price-features {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #555;
    font-size: 1rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    border: 2px solid #a67c41; /* Màu vàng đồng */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a67c41;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Nút đặt hàng */
.btn-order {
    display: inline-block;
    background-color: #a67c41; /* Màu vàng đồng của logo */
    color: white;
    padding: 15px 50px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.btn-order:hover {
    background-color: #8e6835;
}



.wholesale-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.wholesale-table {
    width: 100%;
    border-collapse: collapse;
    font-family: inherit;
}

.wholesale-table th {
    background-color: var(--xanh_reu); /* Màu xám đậm như mẫu của bạn */
    color: var(--white);
    padding: 16px;
    text-align: center;
    font-weight: 600;
    border-right: 1px solid #666;
}

.wholesale-table th:last-child {
    border-right: none;
}

.wholesale-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    /* color: #333; */
}

/* Kẻ sọc nhẹ để khách hàng dễ nhìn dòng */
.wholesale-table tr:nth-child(even) {
    background-color: #fafafa;
}

.price-cell {
    text-align: center;
    font-weight: 700;
    /* color: #a67c41 !important; Màu vàng đồng tinh tế */
}

.freeship-note {
    text-align: right;
    font-style: italic;
    padding: 12px 20px;
    color: var(--nau_dam);
    font-size: 1.2rem;
}







/* Container chính cho section */
.experience-section {
    background-color: #4D4D4D; /* Nền tối sang trọng */
    padding: 80px 20px;
    text-align: center;
}


/* Lưới hiển thị bài viết */
.experience-grid {
    display: grid; /* Chuyển hẳn sang grid */
    /* Tự động tính số cột: tối thiểu 320px, tối đa chia đều 1 phần */
    grid-template-columns: repeat(3, 1fr);
    gap: 25px; 
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch; /* Đảm bảo các card trong 1 hàng cao bằng nhau */
}

.kinh-nghiem .experience-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* Thẻ bài viết cá nhân */
.experience-card {
    /* flex: 1;  <-- XÓA DÒNG NÀY */
    width: 100%; /* Đảm bảo card chiếm hết độ rộng của cột grid */
    max-width: 450px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    /* Nên chuyển padding vào .card-content nếu bạn muốn ảnh tràn viền 
       như đã thảo luận ở trên. Nếu muốn giữ khung thì để nguyên. */
    padding: 20px; 
    
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px; /* Thêm bo góc cho chuyên nghiệp */
    overflow: hidden;
}


.experience-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    border-color: #a67c41; /* Đổi sang màu vàng đồng khi hover */
}


.card-image {
    width: 100%;
    aspect-ratio: 16 / 9 !important; 
    overflow: hidden;
    /* border-radius: 8px 8px 0 0; */
    display: block;
}

.card-image img {
    display: block;
    width: 100%;
    height: 100%; /* Chốt chặn cuối cùng để luôn khít */
    object-fit: cover; /* Chốt chặn để không bao giờ bị méo ảnh */
    margin: 0px !important;
}


/* Nội dung văn bản */
.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: justify;
}

.card-content h3 {
    color: #fff;
    font-size: 1.3rem;
    margin: 10px 0;
    line-height: 1.4;
}

.card-content p {
    color: #bbb;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Nút Xem tất cả */
.view-more .btn-outline {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid #a67c41;
    color: #a67c41;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.3s;
}

.view-more .btn-outline:hover {
    background-color: #a67c41;
    color: #fff;
}



.why-choose-section {
    /* background-color: var(--black); */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                      url('../images/Rót sữa vào cà phê.webp'); ;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0 70px; /* Dùng rem để đồng bộ với font-size gốc */
    display: flex;
    flex-direction: column;
    align-items: center; /* Căn giữa tất cả các block con theo chiều ngang */
    /* gap: 3rem; */
}

/* Container giới hạn chiều rộng để video không bị quá to trên laptop */
.why-choose-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 30px;
    display: flex; 
    flex-direction: column;
    align-items: center;
}

/* Kỹ thuật giúp video Youtube giữ đúng tỷ lệ và không tràn màn hình */
.video-wrapper {
    width: 100%;          /* Tăng chiều rộng khối video so với container */
    /* margin: 0 auto;      */
    max-width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Accordion */
.reasons-container {
    position: relative;
    z-index: 2;
    width:100%;
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.reason-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.reason-item summary {
    list-style: none; /* Ẩn dấu mũi tên mặc định */
    font-family: var(--main-font);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--nau_dam); /* Sử dụng màu vàng đồng của bạn */
    cursor: pointer;
    position: relative;
    /* padding-right: 30px; */
    transition: 0.3s;
}

/* Tạo dấu mũi tên tùy chỉnh bên phải */
.reason-item summary::after {
    content: '❯'; 
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 1rem;
    transition: 0.3s;
}

/* Hiệu ứng khi đang mở toggle */
.reason-item[open] summary::after {
    transform: translateY(-50%) rotate(-90deg);
}

.reason-item summary:hover {
    color: var(--nau_nhat);
}

.reason-content {
    padding: 1rem 0;
    color: var(--white);
    line-height: 1.6;
    font-size: 1.1rem;
}


.stats-section {
    padding: 5rem 1rem;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    color: var(--white);
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Lớp phủ tối cho nổi bật con số */
    z-index: 1;
}



/* Style cho nút Liên hệ */
.contact-button-wrapper {
    margin: 60px 0;
}

.btn-contact {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--xanh_reu); /* Màu xanh rêu từ :root của bạn */
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-contact:hover {
    background-color: #465a52; /* Màu xanh đậm hơn khi hover */
    transform: translateY(-3px);
}

.stats-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* Lưới thống kê */
.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    min-width: 350px;
}

.stat-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 3.5rem;
    color: var(--white); /* Hoặc dùng màu --gold */
    margin: 0.5rem 0;
    font-weight: 700;
}

.stat-sub {
    font-size: 1rem;
    color: var(--white);
}



/* Liên hệ tư vấn giá sỉ
/* Lớp nền mờ toàn màn hình */
.contact-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;

    /* ĐÂY LÀ PHẦN QUAN TRỌNG ĐỂ CĂN GIỮA */
    /* display: flex;  */
    align-items: center;     /* Căn giữa theo chiều dọc */
    justify-content: center; /* Căn giữa theo chiều ngang */
    
    backdrop-filter: blur(3px); /* Hiệu ứng mờ nền cho sang trọng */

}

/* Hộp thoại trắng chính */
.contact-popup {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 30px 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Từng cột liên hệ */
.contact-method {
    flex: 1;
    text-align: center;
}

.contact-method a {
    text-decoration: none;
    display: block;
}

/* Icon box tròn hoặc bo góc nhẹ */
.icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box img {
    width: 100%;
    height: auto;
}

/* Màu nền icon điện thoại giống trong ảnh */
.phone-bg {
    background-color: #5f6e67;
    border-radius: 12px;
    color: white;
    font-size: 24px;
}

/* Đường kẻ dọc ở giữa */
.divider {
    width: 2px;
    height: 80px;
    background-color: #5f6e67;
}

/* Văn bản dưới icon */
.contact-text {
    color: #333;
    font-size: 18px;
    font-weight: 500;
}





/* Giới thiệu về Windows */
.about-container {
    display: flex;
    flex-wrap: wrap; /* Giúp hỗ trợ mobile */
    gap: 40px;       /* Khoảng cách giữa chữ và ảnh */
    align-items: center; /* Căn giữa theo chiều dọc */
    margin-top: 2rem;
}

/* Cột nội dung chiếm 60% */
.about-content {
    flex: 0 0 calc(60% - 20px); 
    text-align: justify;
}

.about-content p {
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

/* Cột hình ảnh chiếm 40% */
.about-image {
    flex: 0 0 calc(40% - 20px);
    align-self: flex-start;
}

.about-image img {
    width: 100%;
    height: auto;
    transform: scale(1.2); /* Phóng to lên 1.2 lần so với cột gốc */
    transform-origin: top left; /* Giữ ảnh ở đỉnh cột và nở ra từ đó */
    height: auto;
    margin-top: -50px;
    margin-left: -50px;
    /* border-radius: 8px;
    border: 1px solid var(--gold); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); */
}


/* Container chứa ảnh full width */
.revenue-full-width {
    width: 100%;
    margin-top: 50px; /* Khoảng cách với phần nội dung bên trên */
    text-align: center;
    overflow: hidden; /* Chống tràn lề nếu ảnh quá to */
}

.revenue-full-width img {
    /* display:block; */
    width: 80%;        /* Chiếm hết 100% chiều rộng của .container */
    height: auto;
    margin: 0 auto;
    border-radius: 15px; /* Bo góc để trông mềm mại hơn */
    
    /* Hiệu ứng đổ bóng để làm nổi bật đồ thị trên nền tối */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); 
    
    /* Nếu bạn muốn ảnh "to hơn cả container" và tràn ra mép màn hình: */
    /* width: 100vw;
       margin-left: calc(50% - 50vw); */
}


.want-to-buy-section {
    /* background-color: var(--black); */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                      url('../images/Túi robusta honey 500gr 2.webp'); ;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0 70px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Căn giữa tất cả các block con theo chiều ngang */
    /* gap: 3rem; */
}

.want-to-buy-content p {
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    text-align: justify;
}


.story-section {
    /* background-color: var(--black); */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                      url('../images/Túi robusta honey 500gr 3.webp'); ;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0 70px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Căn giữa tất cả các block con theo chiều ngang */
    /* gap: 3rem; */
}

.story-content {
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.story-content p {
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    text-align: justify;
}


.xem-them-btn-container {
    padding:10px 0;
    width: 100%;
    text-align: center;
}

#xem-them-btn {
    background: white;
    color: #8b5a2b;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
}

/* footer */
.main-footer {
    background-color: var(--nau_vua); /* Màu nền nâu nhạt giống hình */
    padding: 60px 0;
    color: #ffffff; /* Chữ màu trắng */
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Căn giữa tất cả các thành phần */
    text-align: center;
}

.footer-logo img {
    max-width: 200px; /* Điều chỉnh kích thước logo phù hợp */
    margin-bottom: 30px;
}

.footer-info p {
    font-size: 1.2rem;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Khoảng cách giữa icon và chữ */
}




/* --- Container chính: Định vị nút cố định ở góc --- */
.call-btn-wrapper {
    position: fixed;
    bottom: 30px;  /* Cách cạnh dưới 30px */
    right: 30px;   /* Cách cạnh phải 30px */
    width: 60px;
    height: 60px;
    z-index: 9999; /* Đảm bảo nút luôn nằm trên các thành phần khác */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none; /* Xóa gạch chân của thẻ <a> */
}

/* --- Nút điện thoại chính --- */
.call-btn {
    width: 100%;
    height: 100%;
    /* Không cần màu nền vì đã có ảnh */
    background-color: transparent; 
    border-radius: 50%; /* Tạo hình tròn */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Đổ bóng cho nút nổi lên */
    position: relative;
    z-index: 2; /* Nằm trên các lớp sóng */
    transition: transform 0.3s ease; /* Hiệu ứng mượt khi hover */
}

/* Định dạng hình ảnh icon bên trong */
.call-btn img {
    width: 60%; /* Kích thước icon so với nút */
    height: 60%;
    object-fit: contain; /* Đảm bảo icon không bị méo */
}

/* Hiệu ứng phóng to nhẹ khi di chuột vào */
.call-btn-wrapper:hover .call-btn {
    transform: scale(1.1);
}

/* --- Tạo các lớp sóng tỏa ra (Ripple Effect) --- */
.ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    /* Dùng background-color trực tiếp và chỉnh opacity riêng */
    background-color: var(--xanh_reu);
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    animation: ripple-animation 2s infinite ease-out;
}

/* Định thời gian trễ cho từng lớp sóng để tạo hiệu ứng nối đuôi nhau */
.ripple:nth-child(1) { animation-delay: 0s; }
.ripple:nth-child(2) { animation-delay: 0.6s; }
.ripple:nth-child(3) { animation-delay: 1.2s; }





/* --- Định nghĩa Keyframes cho Animation --- */
@keyframes ripple-animation {
    0% {
        transform: scale(1); /* Bắt đầu từ kích thước thật */
        opacity: 1;
    }
    100% {
        transform: scale(2); /* Phóng to ra gấp 2.5 lần */
        opacity: 0;
    }
}




/* --- Responsive cho điện thoại --- */
@media (max-width: 992px) {
    .about-content {
        flex: 0 0 100%; /* Trên mobile mỗi phần chiếm trọn 1 hàng */
    }
    
    .about-image {
        display:none
    }
}







/* Quan trọng: Xử lý cho điện thoại */
@media (max-width: 768px) {
    .main-header {
        height: var(--header-height-mobile);
    }

    .main-header.nav-scrolled {
        height: var(--header-shrink-height-mobile);
    }

    

    .logo-container {
        /* flex: 0 0 10%;  */
        padding-left: 10px;
        /* display: flex;
        justify-content: flex-start;
        align-items: center;
        padding-left: 20px; */
    }

    .logo {height: 40px; margin-top: 7px;} /* ảnh logo */

    .nav-scrolled .logo {
    height: 30px;   /* Thường logo lúc cuộn sẽ nhỏ hơn để tiết kiệm diện tích */
    margin-top: 0px;
    }

    .nav-wrapper {
        /* flex: 0 0 90%; */
        display: flex;
        justify-content: center;
        padding-left: 10px;
        padding-right: 10px;
    }
    .nav-list {gap: 20px; }
    .nav-list a {
        font-size: 0.7rem;
    }

    .nav-scrolled .nav-list a {
        font-size: 0.6rem;
    }

    .header-right { padding-right: 10px;}

    .btn-cta {
        padding: 7px 4px;
        font-size: 0.5rem;
    }

    .nav-scrolled .btn-cta {
        padding: 7px 4px;
    }

    .product-gallery {
        grid-template-columns: repeat(1, 1fr); /* Trên điện thoại thì xếp dọc */
        gap: 30px;              /* Thu nhỏ khoảng cách lại cho vừa màn hình */
    }
    .product-gallery img {
        max-width: 100%;         /* Ảnh to hơn trên mobile để dễ nhìn */
    }


    
    .hero-container {
            background-attachment: scroll; /* Tắt fixed để ảnh không bị zoom */
            min-height: 100vh;
            /* background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                    url('../images/mobile/Túi robusta honey 500gr 1.webp');  */
    }

    .hero-content {
    font-size: 9vw;
    color: white;
    margin-bottom: 30px;
    line-height: 1.6;
    }

    /* Phần hiển thị posts */
    .experience-section {
        padding: 40px 20px; /* Giảm padding lề ngoài xuống còn khoảng 1rem */
    }

    .experience-grid {
        gap: 50px; /* Thu hẹp khoảng cách giữa các card */
        padding: 0; /* Đảm bảo không có padding dư thừa ở lưới */
        grid-template-columns: repeat(1, 1fr);
    }

    .kinh-nghiem .experience-grid {
        grid-template-columns: repeat(1, 1fr);
    }


    .experience-card {
        max-width: 100%; /* Loại bỏ giới hạn chiều ngang cũ */
        min-width: 0;    /* Cho phép card co lại nhỏ hơn mức min-width cũ */
        margin: 0;       /* Xóa các margin có thể gây lệch */
        box-sizing: border-box; /* Đảm bảo padding không làm tăng chiều rộng card */
        
    }

    .card-image img {
        height: auto; /* Để ảnh tự nhảy theo tỷ lệ trên màn hình nhỏ */
        aspect-ratio: 16 / 9; /* Giữ tỷ lệ ảnh chuẩn */
    }
    
    .section-title {
        font-size: 1.5rem; /* Thu nhỏ tiêu đề cho cân đối với điện thoại */
        margin-bottom: 30px;
    }

    /* Nhúng file youtube */
    .why-choose-section {
        padding: 2.5rem 0rem; /* Giảm padding lề lùi vào sát hơn một chút */
    }

    .stat-number { font-size: 2.5rem; }
    .btn-contact { font-size: 1rem; }
    
    .section-title {
        font-size: 1.5rem; /* Thu nhỏ tiêu đề cho mobile */
        margin-bottom: 2rem;
    }

    .footer-info p {
        font-size: 0.9rem;
    }


}