/* Base Styles */

:root {
    --primary-color: #15803d;
    --light-primary-color: #16a34a;
    --dark-primary-color: #16a34a;
    --banana-leaf: #15803d;
    --banana-leaf-light: #6a9955;
    --banana-leaf-dark: #3a5a32;
    --cream: #fff8e7;
    --orange: #ff7f50;
    --brown: #8b4513;
    --text-dark: #333333;
    --text-light: #ffffff;
    /* --primary-color: #3c7c3c; */
    --heading-color: #222;
    --transition: .3s;
    --border-radius: 5px;
    --box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    --text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0px 0px 15px rgba(0, 0, 0, 0.3);
    --text-shadow-hover: 0px 0px 15px rgba(0, 0, 0, 0.3);
    --box-shadow-active: 0px 0px 10px rgba(22, 117, 42, 0.7);
    --text-shadow-active: 0px 0px 10px rgba(24, 109, 62, 0.7);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: "Montserrat", sans-serif;
    color: var(--text-dark);
    background-color: var(--cream);
    overflow-x: hidden;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    font-family: inherit;
}



img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--banana-leaf-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.title-underline {
    height: 4px;
    width: 80px;
    background-color: var(--orange);
    margin: 0 auto;
    position: relative;
}

.title-underline::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 4px;
    background-color: var(--banana-leaf);
    left: -50px;
    top: 0;
}

.title-underline::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 4px;
    background-color: var(--banana-leaf);
    right: -50px;
    top: 0;
}

/* Container & Grid system (thay thế Bootstrap) */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-12 {
    width: 100%;
    padding: 0 15px;
}

.col-lg-3 {
    width: 25%;
    padding: 0 15px;
}

.col-lg-4 {
    width: 33.333333%;
    padding: 0 15px;
}

.col-lg-9 {
    width: 75%;
    padding: 0 15px;
}

.col-md-4 {
    width: 33.333333%;
    padding: 0 15px;
}

.col-md-6 {
    width: 50%;
    padding: 0 15px;
}

.col-md-8 {
    width: 66.666667%;
    padding: 0 15px;
}

.mb-4 {
    margin-bottom: 2rem;
}

.d-flex {
    display: flex;
}

.text-center {
    text-align: center;
}


/* Hero Section with Swiper */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 70px;
    background-color: var(--background);
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    text-align: center;
    font-size: 18px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.8);
    transition: transform 5s ease;
}

.swiper-slide-active img {
    transform: scale(1.1);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    width: 80%;
    max-width: 900px;
    padding: 2rem;
    border-radius: 8px;
    z-index: 10;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transition: opacity 0.5s ease;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Dancing Script', cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


/* Swiper Navigation and Pagination Styles */

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    opacity: 1;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: var(--banana-leaf);
    transform: scale(1.2);
}


/* Responsive styles for hero section */

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        height: auto;
        min-height: 100vh;
        margin-top: 60px;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

    .hero-image {
        padding: 1rem;
    }

    .hero-image img {
        max-width: 90%;
        margin: 0 auto;
    }

    .contact-container {
        flex-direction: column;
    }

    .about-image img {
        max-width: 100%;
    }

}

@media (max-width: 768px) {
    /* Sửa phần hero section trong 768px */
    .hero {
        height: 60vh;
        min-height: 450px;
        margin-top: 60px;
        /* Thêm margin-top để tránh header đè lên hero */
    }

    .hero-content {
        width: 90%;
        padding: 1.5rem;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 10px;
        z-index: 5;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-slide {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .featured-items {
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .featured-img {
        height: 230px;
    }

    .about-image img {
        height: 300px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 36px;
        height: 36px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }

    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }

    .video-slide {
        flex: 0 0 280px;
    }

    .video-wrapper {
        height: auto;
    }

    .video-wrapper.youtube-video {
        padding-bottom: 56.25%;
    }

    .prev-video {
        left: 2%;
    }

    .next-video {
        right: 2%;
    }

    .play-btn {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .stats {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-image img {
        max-width: 100%;
    }

    .featured-img {
        height: 230px;
    }

    .about-image img {
        height: 250px;
    }

    .testimonial-author img {
        width: 50px;
        height: 50px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 32px;
        height: 32px;
        display: none;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .hero {
        height: 50vh;
        min-height: 350px;
        margin-top: 50px;
        /* Điều chỉnh margin-top cho màn hình nhỏ hơn */
    }

    .hero-content {
        width: 95%;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.5);
        z-index: 5;
    }

    .cta-button {
        padding: 0.8rem 1.6rem;
    }

    .video-slide {
        flex: 0 0 240px;
        margin: 0 1rem;
    }

    .video-wrapper {
        height: auto;
    }

    .play-btn {
        width: 50px;
        height: 50px;
    }

    .play-btn svg {
        width: 30px;
        height: 30px;
    }

    .video-nav-btn {
        width: 36px;
        height: 36px;
    }

    .video-slide.prev,
    .video-slide.next {
        opacity: 0.5;
    }

}

.leaf-decoration {
    position: absolute;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,0 C70,20 90,50 50,100 C10,50 30,20 50,0" fill="%233A5A32" opacity="0.2"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 100;
    pointer-events: none;
}

.leaf-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -100px;
    transform: rotate(45deg);
    animation: rotateLeaf 20s linear infinite;
}

.leaf-2 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: 100px;
    transform: rotate(-30deg);
    animation: rotateLeaf 15s linear infinite reverse;
}

.leaf-3 {
    width: 150px;
    height: 150px;
    top: 100px;
    right: 50px;
    transform: rotate(15deg);
    animation: rotateLeaf 25s linear infinite;
}

.cta-button {
    padding: 1rem 2rem;
    background-color: var(--orange);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s 0.6s forwards;
}

.cta-button:hover {
    background-color: #ff6b3d;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 127, 80, 0.3);
}


.view-details-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--banana-leaf);
    color: var(--text-light);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    margin-top: 1rem;
    font-size: .9rem;
}


.featured-item .view-details-btn {
    width: auto;
    min-width: 150px;
    max-width: 75%;
    margin: 1rem auto;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.view-details-btn:hover {
    background-color: var(--banana-leaf-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.view-details-btn:active {
    transform: translateY(0);
}

.view-details-btn svg {
    transition: transform 0.3s ease;
}

.view-details-btn:hover svg {
    transform: translateX(4px);
}


.food-videos {
    background-color: var(--bg-light);
    position: relative;
}

.video-container {
    margin-top: 40px;
    position: relative;
    width: 80%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}


.tiktok-videos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
    justify-content: center;
}


.video-item {
    flex: 1 1 calc(30% - 14px);
    /* 3 videos mỗi hàng, trừ đi gap */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: transparent;
    transition: transform 0.3s ease;
    max-height: 550px;
    max-width: 330px;
    min-width: 280px;
    overflow: hidden;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.video-item.playing {
    z-index: 5;
}

.video-wrapper.tiktok-video {
    position: relative;
    width: 100%;
    height: 570px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f8f8f8;
}

.tiktok-embed-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f8f8f8;
}

.tiktok-embed {
    width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
}


/* Responsive cho grid video */

@media (max-width: 1200px) {
    .video-wrapper.tiktok-video {
        height: 480px;
    }
}

@media (max-width: 992px) {
    .video-container {
        width: 90%;
    }

    .video-wrapper.tiktok-video {
        height: 500px;
    }
}

@media (max-width: 768px) {

    .video-wrapper.tiktok-video {
        height: 500px;
    }
}

@media (max-width: 576px) {
    .tiktok-videos {
        gap: 20px;
        padding: 0 10px;
    }

    .video-wrapper.tiktok-video {
        height: 500px;
    }
}


/* Button Styles */

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--banana-leaf);
    color: white;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--banana-leaf);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border-color: white;
}


/* Leaf animations and floating effects */

.leaf-4 {
    position: absolute;
    width: 150px;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50,10 C70,10 90,30 90,50 C90,70 70,90 50,90 C30,90 10,70 10,50 C10,30 30,10 50,10 Z' fill='%233a5a32' opacity='0.2'/%3E%3C/svg%3E");
    background-size: contain;
    right: 10%;
    top: 30%;
    z-index: 100;
    filter: blur(2px);
    opacity: 0.3;
    transform-origin: center;
}


.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-reverse {
    animation: float 5s ease-in-out infinite reverse;
}


/* Animations */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-80px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes rotateLeaf {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* Font Face Definitions */

@font-face {
    font-family: 'UTM Azuki';
    src: url('font/UTM Azuki.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.swiper-button-next:after {
    font-size: 15px !important;
    color: var(--banana-leaf);
}

.swiper-button-next {
    width: 35px !important;
    height: 35px !important;
}

.swiper-button-prev:after {
    font-size: 15px !important;
    color: var(--banana-leaf);
}

.swiper-button-prev {
    width: 35px !important;
    height: 35px !important;
}


/* Featured Section */

.featured {
    padding: 5rem 5%;
    background-color: var(--cream);
}

.featured-items {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.featured-item {
    flex: 1;
    min-width: 220px;
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    transform: translateY(50px);
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

.featured-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.featured-img {
    height: 280px;
    overflow: hidden;
    position: relative;
    border-radius: 15px 15px 0 0;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-item:hover .featured-img img {
    transform: scale(1.1);
}

.featured-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--banana-leaf-dark);
    font-size: 1.3rem;
}

.featured-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.6;
}

.order-btn {
    margin: 0 1.5rem 1.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--banana-leaf);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.order-btn:hover {
    background-color: var(--banana-leaf-dark);
}


/* Menu Section */

.menu-section {
    padding: 3rem 5%;
    background-color: #ffffff;
}

.menu-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.3rem 1.2rem;
    background-color: transparent;
    border: 1px solid var(--banana-leaf);
    border-radius: 50px;
    color: var(--banana-leaf);
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--banana-leaf);
    color: var(--text-light);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-item.show {
    opacity: 1;
    transform: translateY(0);
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(79, 121, 66, 0.2);
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--banana-leaf-light), transparent);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
    border-radius: 10px;
}

.menu-item:hover::before {
    opacity: 0.7;
}

.menu-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 8px 8px 0 0;
}

.menu-item:hover .menu-img img {
    transform: scale(1.1);
}

.menu-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--orange);
    color: var(--text-light);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.6rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(255, 127, 80, 0.3);
}

.menu-info {
    padding: 1.1rem;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.menu-header h3 {
    color: var(--banana-leaf-dark);
    font-size: 1rem;
}

.menu-price {
    color: var(--vietnam-red);
    font-weight: 700;
    font-size: .8rem;
    background-color: rgba(255, 99, 71, 0.1);
    padding: 0.4rem 0.4rem;
    border-radius: 20px;
    display: inline-block;
    position: relative;
    text-align: right;
    min-width: 100px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.menu-desc {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    height: 46px;
    overflow: hidden;
}

.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.menu-tag {
    padding: 4px 10px;
    background-color: #f0f0f0;
    border-radius: 30px;
    font-size: 0.75rem;
    color: #666;
}


/* About Section */

.about-section {
    padding: 4rem 5%;
    display: flex;
    align-items: center;
    gap: 4rem;
    background-color: var(--cream);
}

.about-image {
    flex: 1;
    padding: 1rem;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-content {
    flex: 1;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat .count {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--banana-leaf-dark);
    margin-bottom: 0.5rem;
}

.count {
    transition: all 0.3s ease;
}

.count.highlight {
    color: #ff6b6b;
    transform: scale(1.1);
}

.count.counted {
    color: #2d3436;
}

/* Testimonials */

.testimonials {
    padding: 5rem 5%;
    background-color: #ffffff;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 200px;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-content {
    background-color: var(--cream);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-content::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50px;
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: var(--cream) transparent;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    margin-left: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    border: 3px solid var(--cream);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-author h4 {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--banana-leaf);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.prev-btn,
.next-btn {
    background-color: transparent;
    border: none;
    color: var(--banana-leaf);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
    color: var(--banana-leaf-dark);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--banana-leaf);
}


/* Newsletter */

.newsletter {
    padding: 5rem 5%;
    background-color: var(--banana-leaf);
    color: var(--text-light);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background-color: var(--orange);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #ff6b3d;
}


/* Contact Section */

.contact-section {
    padding: 5rem 5%;
    background-color: var(--cream);
}

.contact-container {
    display: flex;
    gap: 4rem;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-item svg {
    color: var(--banana-leaf);
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--banana-leaf-dark);
}

.contact-form {
    flex: 1;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--banana-leaf);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--banana-leaf);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--banana-leaf-dark);
}


/* Footer */

footer {
    background-color: var(--banana-leaf);
    color: var(--text-light);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 1rem;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.footer-logo img:hover {
    transform: scale(1.1);
}

.footer-logo h3 {
    font-family: 'UTM Azuki', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-links,
.footer-hours,
.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-content h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-content h4::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--orange);
    bottom: -10px;
    left: 0;
}

.footer-links ul,
.footer-hours ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--orange);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--orange);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: .9rem;
}


/* Back to Top Button */

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 80px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #337574;
    color: var(--text-light);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: var(--banana-leaf-dark);
    transform: translateY(-5px);
}


/* Media Queries */

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .about-section {
        flex-direction: column;
    }

    .about-image,
    .about-content {
        flex: none;
        width: 100%;
    }

    .logo-text {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 992px) {
    .logo-text {
        font-size: 1.8rem !important;
    }

    .contact-container {
        flex-direction: column;
    }

    .about-image img {
        height: 400px;
    }

}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.5rem !important;
    }

    .featured-items {
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .featured-img {
        height: 230px;
    }

    .about-image img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1.6rem !important;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .stats {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-image img {
        height: 200px;
    }

    .featured-img {
        height: 210px;
    }

    .about-image img {
        height: 250px;
    }

    .testimonial-author img {
        width: 50px;
        height: 50px;
    }

    .footer-logo img {
        height: 60px;
    }

}


/* Product Thumbs Navigation */

.product-thumbs-swiper {
    width: 100%;
    height: 100px;
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.product-thumbs-swiper .swiper-slide {
    opacity: 0.5;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--banana-leaf);
}

@media (max-width: 768px) {
    .product-thumbs-swiper {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .product-thumbs-swiper {
        height: 60px;
    }
}


/* Phần Báo Chí & Truyền Thông */

.press-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.press-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.press-item {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid #f0f0f0;
}

.press-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(246, 170, 28, 0.02) 0%, rgba(246, 170, 28, 0.12) 100%);
    opacity: 0;
    z-index: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.press-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(246, 170, 28, 0.3);
}

.press-item:hover::before {
    opacity: 1;
}

.press-logo {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f3f3;
    border-bottom: 1px solid #eee;
    height: 100px;
}

.press-logo img {
    max-height: 60px;
    max-width: 80%;
    object-fit: contain;
}

.press-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.press-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.press-item:hover .press-content h3 {
    color: var(--orange);
}

.press-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.press-item:hover .press-content p {
    color: #444;
}

.press-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.press-date::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: var(--orange);
    border-radius: 50%;
    margin-right: 8px;
}

.press-link {
    display: inline-flex;
    align-items: center;
    color: var(--orange);
    font-weight: 600;
    transition: color 0.3s ease;
    text-decoration: none;
    margin-top: auto;
}

.press-link svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.press-link:hover {
    color: var(--primary);
}

.press-link:hover svg {
    transform: translateX(5px);
}


/* Media Queries cho phần Press */

@media (max-width: 992px) {
    .press-container {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

@media (max-width: 768px) {
    .press-section {
        padding: 4rem 0;
    }

    .press-container {
        grid-template-columns: 1fr;
    }

    .press-logo {
        height: 80px;
    }

    .press-logo img {
        max-height: 50px;
    }
}

@media (max-width: 576px) {
    .press-section {
        padding: 3rem 0;
    }

    .press-container {
        gap: 1.5rem;
    }

    .press-logo {
        height: 70px;
    }

    .press-content h3 {
        font-size: 1.1rem;
    }
}


/* Thêm CSS cho yếu tố trang trí lá trong press section */

.leaf-press-1 {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 3v18h-9a9 9 0 0 1 0-18h9z' fill='rgba(246, 170, 28, 0.15)'/%3E%3C/svg%3E");
    width: 150px;
    height: 150px;
    top: 10%;
    left: -2%;
    z-index: 1;
    animation: rotateLeaf 20s linear infinite;
}

.leaf-press-2 {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3v18h9a9 9 0 0 0 0-18h-9z' fill='rgba(246, 170, 28, 0.12)'/%3E%3C/svg%3E");
    width: 180px;
    height: 180px;
    bottom: 5%;
    right: -3%;
    z-index: 1;
    animation: rotateLeaf 25s linear infinite reverse;
}

.press-view-all {
    text-align: center;
    margin-top: 3rem;
}

.press-view-all .btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: var(--orange);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(246, 170, 28, 0.3);
    transition: all 0.3s ease;
}

.press-view-all .btn-primary svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.press-view-all .btn-primary:hover {
    background-color: var(--primary);
    box-shadow: 0 8px 20px rgba(65, 65, 65, 0.4);
    transform: translateY(-3px);
}

.press-view-all .btn-primary:hover svg {
    transform: translateX(5px);
}

@media (max-width: 576px) {
    .press-view-all {
        margin-top: 2rem;
    }

    .press-view-all .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}


/* Nút Zalo cố định */

.zalo-button {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: #0068ff;
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 104, 255, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.zalo-button img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    padding: 2px;
}

.zalo-button span {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.zalo-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 104, 255, 0.5);
}


/* Chỉnh sửa TikTok icon */

.tiktok-icon svg {
    transform: scale(0.9);
}

@media (max-width: 576px) {
    .zalo-button {
        padding: 8px 16px;
        bottom: 70px;
    }

    .zalo-button img {
        width: 25px;
        height: 25px;
    }

    .zalo-button span {
        font-size: 0.9rem;
    }
}

.footer-contact {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-contact strong {
    font-weight: 600;
}

.social-follow {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fb-like-box {
    margin-bottom: 15px;
    width: 100%;
    overflow: hidden;
}

.fb-page {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
    .fb-page {
        width: 100% !important;
    }
}

.tiktok-follow-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #000;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tiktok-follow-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.tiktok-follow-btn svg {
    margin-right: 4px;
}

@media (max-width: 768px) {
    .social-follow {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-contact {
        font-size: 0.85rem;
    }

    .tiktok-follow-btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
}


/* Ẩn 2 video cuối trên mobile */

@media (max-width: 1180px) {
    .tiktok-videos .video-item:nth-child(3) {
        display: none;
    }
}


/* Phần CSS cho tiêu đề loại sản phẩm - Kiểu mới theo hình ví dụ */

.category-title {
    background-color: #f9f9f9;
    border-left: 4px solid #4CAF50;
    border-right: 4px solid #4CAF50;
    padding: 10px 15px;
    margin: 30px 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.category-title h3 {
    font-size: 30px;
    font-weight: 900;
    color: #333;
    margin: 0;
    position: relative;
    padding-bottom: 0.3rem;
}

.category-title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff6b6b;
}

.category-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #e74c3c;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 50%;
    font-size: 14px;
    z-index: 2;
}

.order-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    width: 100%;
}

.order-btn:hover {
    background-color: #45a049;
}


/* CSS cho tiêu đề chính của section */

.section-title-with-view {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.section-title-with-view h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
}

.view-all-link {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: #45a049;
}


/* Nút liên hệ cố định */

.contact-buttons {
    position: fixed;
    right: 15px;
    bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.contact-button {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 30px;
    padding: 8px 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-button img {
    width: 30px;
    height: 30px;
}

.hotline-button {
    background-color: #e74c3c;
    color: white;
}

.message-button {
    background-color: #4CAF50;
    color: white;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .contact-button span {
        display: none;
    }

    .contact-button {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }

    .contact-button img {
        margin-right: 0;
    }

    .category-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .category-products {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.facebook-link-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #2159a0;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.facebook-link-btn:hover {
    background-color: #166FE5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.facebook-link-btn svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

@media (max-width: 576px) {
    .facebook-link-btn {
        font-size: 14px;
        padding: 8px 12px;
    }
}

.category-container {
    display: none;
    margin-bottom: 3rem;
}

.menu-item {
    opacity: 0;
    /* Ẩn mặc định cho animation */
    transition: all 0.5s ease;
}

/* No Products Message */
.no-products {
    text-align: center;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 2rem 0;
    font-size: 1.1rem;
    color: #666;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}