:root {
    --primary: #eab308;
    /* Vàng chủ đạo */
    --secondary: #7030a0;
    /* Tím */
    --header-bg: #fffefe;
    /* Màu kem nhạt theo yêu cầu */
    --bg-color: #faf6f0;
    --text-dark: #3b2a22;
    --section-dark: #1f3014;
    --white: #ffffff;
    --border-light: #eaddd3;
    --font-heading: 'Quicksand', sans-serif;
    --font-body: 'Quicksand', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Header */
header {
    background-color: var(--header-bg);
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-dark);
    font-family: var(--font-heading);
    text-decoration: none;
    font-size: 1.7rem;
    /* Tăng cỡ chữ logo */
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-container img {
    height: 2.5em;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px dashed var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    text-align: center;
    color: var(--primary);
}

nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    /* Tăng cỡ chữ menu */
    font-weight: 600;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.btn-primary {
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: var(--text-dark);
    padding: 10px 25px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-primary 2s infinite;
}

@keyframes pulse-primary {
    0% {
        box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.7);
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(234, 179, 8, 0);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(234, 179, 8, 0);
        transform: scale(1);
    }
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    /* Image goes here */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10%;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
}

/* Introduction Section */
.intro {
    background-color: var(--section-dark);
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.intro p {
    max-width: 800px;
    margin: 0 auto 15px auto;
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.8;
}

.intro p strong {
    font-weight: 600;
    color: var(--primary);
}

/* Stores Section */
.stores {
    padding: 80px 10%;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--section-dark);
    margin-bottom: 30px;
    font-weight: 800;
}

.store-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.store-tab {
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.store-tab.active,
.store-tab:hover {
    background: var(--section-dark);
    color: var(--white);
    border-color: var(--section-dark);
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.store-card,
.product-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1200px) {
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .store-grid {
        grid-template-columns: 1fr;
    }
}

.store-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    height: 350px;
}

.store-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.store-card:hover img {
    transform: scale(1.05);
}

.store-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    transition: background 0.3s ease;
}

.store-card:hover .store-card-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.store-pin {
    font-size: 2rem;
    margin-bottom: 15px;
}

.store-card h3 {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.btn-store {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-store:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-dark);
}

/* News Section */
.news {
    display: flex;
    background-color: var(--section-dark);
    min-height: 500px;
}

.news-illus {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.news-content {
    flex: 1;
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.news-badge {
    display: inline-block;
    border: 1px solid var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    align-self: flex-start;
}

.news-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
}

/* Footer & Categories */
.categories {
    padding: 60px 10%;
    background: var(--bg-color);
}

.cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
}

.cat-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.cat-filters {
    display: flex;
    gap: 20px;
}

.cat-filter {
    color: #888;
    text-decoration: none;
    font-weight: 500;
}

.cat-filter.active,
.cat-filter:hover {
    color: var(--primary);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.article-card {
    width: 100%;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-light);
}

@media (max-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(234, 179, 8, 0.3);
}

.article-thumb {
    width: 100%;
    height: 200px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.article-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.article-thumb iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    z-index: 1;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s ease;
}

.article-card:hover .article-thumb img {
    transform: scale(1.05);
}

.article-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-tag {
    background: rgba(234, 179, 8, 0.15);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    align-self: flex-start;
    margin-bottom: 12px;
}

.article-date {
    color: #888;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Footer Section */
.site-footer {
    background-color: var(--section-dark);
    color: var(--white);
    font-size: 0.9rem;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 60px 10%;
    gap: 30px;
}

.footer-col {
    flex: 1;
}

.footer-col p {
    margin-bottom: 8px;
    line-height: 1.5;
    color: var(--white);
}

.footer-col strong {
    color: var(--white);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.footer-col.align-center {
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 30px;
}

.footer-col.align-center h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.working-time {
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    margin-top: 10px;
    justify-content: center;
}

.newsletter-form input {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 15px;
    color: var(--white);
    border-radius: 20px 0 0 20px;
    outline: none;
    font-family: var(--font-body);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    color: var(--white);
    padding: 8px 15px;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: var(--white);
    color: var(--section-dark);
}

.footer-col.align-right {
    text-align: right;
}

.footer-col.align-right .hotline {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.go-top {
    position: absolute;
    right: 5%;
    bottom: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.go-top:hover {
    background-color: var(--primary);
}

/* Mobile Menu Elements */
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1001;
}

.close-menu-btn {
    display: none;
}

/* Commitment Section */
.commitment-section {
    background-color: #3b5028;
    /* Màu xanh lá đậm cho nền section */
    padding: 80px 10%;
    color: var(--white);
    text-align: center;
}

.commitment-section .section-title {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 2.2rem;
    text-transform: uppercase;
}

.commitment-subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
    opacity: 0.9;
    font-size: 1.05rem;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stamp-card {
    background-color: var(--white);
    padding: 6px;
    border-radius: 12px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.stamp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
    z-index: 10;
    pointer-events: none;
}

.stamp-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 20px rgba(234, 179, 8, 0.2);
}

.stamp-card:hover::before {
    left: 150%;
}

.stamp-content {
    background-color: #fcfbf8;
    border: 2px dashed rgba(59, 80, 40, 0.25);
    border-radius: 8px;
    padding: 35px 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
}

.stamp-card:hover .stamp-content {
    border-color: var(--primary);
    background-color: #ffffff;
}

.stamp-content h3 {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    margin-bottom: 20px;
    line-height: 1.4;
    color: #3b5028;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
    transition: color 0.4s ease;
}

.stamp-card:hover .stamp-content h3 {
    color: var(--primary);
}

.stamp-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.stamp-content p {
    font-size: 0.98rem;
    color: #444;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .commitment-grid {
        grid-template-columns: 1fr;
    }
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-only {
    display: none;
}

body.menu-open {
    overflow: hidden;
}

/* Responsive CSS */
@media (max-width: 1180px) {
    header {
        padding: 15px 3%;
    }

    nav ul {
        gap: 15px;
    }

    nav a {
        font-size: 0.95rem;
    }

    .btn-primary.desktop-only {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .logo-container {
        font-size: 1.4rem;
        gap: 10px;
    }

    .logo-container img {
        height: 2.2em;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .footer-container {
        flex-wrap: wrap;
    }

    .footer-col.align-center {
        border: none;
        padding: 0;
        margin: 30px 0;
        text-align: left;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 30px 0;
        width: 100%;
        flex: none;
    }

    .newsletter-form {
        justify-content: flex-start;
    }

    .footer-col.align-right {
        text-align: left;
    }

    .social-links {
        justify-content: flex-start;
    }
}

@media (max-width: 1024px) {
    .logo-container span {
        display: none;
    }

    nav ul {
        gap: 10px;
    }
}

@media (max-width: 850px) {
    .article-card {
        width: 100%;
        flex-direction: column;
    }

    .article-thumb {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        color: var(--text-dark);
        font-size: 1.8rem;
        cursor: pointer;
        transition: opacity 0.3s ease;
    }

    body.menu-open .mobile-menu-btn {
        opacity: 0;
        visibility: hidden;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--header-bg);
        z-index: 1000;
        padding: 60px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
    }

    nav ul li a {
        font-size: 1.1rem;
        display: inline-block;
    }

    .close-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        color: var(--text-dark);
        font-size: 1.8rem;
        cursor: pointer;
    }

    .hero {
        height: auto;
        min-height: 50vh;
        background-size: cover;
        background-position: center;
        padding-top: 50px;
        padding-bottom: 50px;
        background-color: transparent;
    }

    .hero::after {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }


    .hero-content h2 {
        font-size: 1.5rem;
    }

    .stores,
    .intro,
    .news-content,
    .categories {
        padding: 40px 5%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .news {
        flex-direction: column;
    }

    .news-illus {
        min-height: 300px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .cat-filters {
        flex-wrap: wrap;
        gap: 10px;
    }

    .cat-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-container {
        padding: 40px 5%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .logo-container .logo-circle {
        width: 40px;
        height: 40px;
        font-size: 0.5rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .store-tabs {
        flex-direction: column;
        gap: 10px;
    }

    .store-tab {
        text-align: center;
    }

    .go-top {
        right: 20px;
        bottom: 20px;
    }
}

/* Floating Contact Widget */
.floating-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 15px;
}

.floating-menu {
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.floating-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.floating-item:hover {
    transform: scale(1.1);
    color: white;
}

.floating-fb {
    background-color: transparent;
    box-shadow: none;
}

.floating-tt {
    background-color: transparent;
    box-shadow: none;
}

.floating-zl {
    background-color: transparent;
    box-shadow: none;
}

.floating-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    transition: transform 0.3s;
    animation: vibra 1.5s infinite;
}

@keyframes vibra {
    0% {
        transform: scale(1) rotate(0);
    }

    10% {
        transform: scale(1.1) rotate(10deg);
    }

    20% {
        transform: scale(1.1) rotate(-10deg);
    }

    30% {
        transform: scale(1.1) rotate(10deg);
    }

    40% {
        transform: scale(1.1) rotate(-10deg);
    }

    50% {
        transform: scale(1.1) rotate(10deg);
    }

    60% {
        transform: scale(1) rotate(0);
    }

    100% {
        transform: scale(1) rotate(0);
    }
}

.floating-toggle i {
    transition: transform 0.3s;
}

.floating-toggle.active i {
    transform: rotate(135deg);
}

@media (max-width: 768px) {
    .floating-widget {
        bottom: 20px;
        right: 20px;
    }
}

/* =========================================
   LOCATIONS PAGE
   ========================================= */
.locations-page {
    background-color: var(--bg-color);
}

.locations-header {
    text-align: center;
    padding: 60px 20px 0;
    margin-bottom: 20px;
}

.locations-header .page-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--section-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.locations-header .store-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.locations-header .store-tab {
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 10px 40px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
}

.locations-header .store-tab.active,
.locations-header .store-tab:hover {
    background: var(--section-dark);
    color: var(--white);
    border-color: var(--section-dark);
}

.store-details {
    position: relative;
    padding-bottom: 80px;
}

.store-hero-img {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.store-info-container {
    max-width: 1400px;
    margin: 60px auto 0;
    position: relative;
    z-index: 2;
    display: flex;
    gap: 30px;
    padding: 0 40px;
}

.store-info-card {
    flex: 1;
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.store-info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.logo-shape {
    width: 30px;
    height: 30px;
    background-color: var(--primary) !important;
    border-radius: 5px;
    transform: rotate(45deg);
}

.store-info-header h3 {
    color: var(--primary) !important;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.store-info-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-group .info-label {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.info-group .info-text {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
}

.store-socials {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 5px;
}

.store-socials a {
    color: var(--text-dark);
    font-size: 1.5rem;
    transition: color 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.store-socials a:hover {
    color: var(--primary);
}

.store-map-card {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    background: var(--white);
    min-height: 400px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll globally */
    width: 100%;
}

/* Header */
header {
    background-color: var(--header-bg);
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
}

/* Ensure no element can exceed 100% width */
.hero,
.trust-section,
.products-section,
.about-home,
.feedback-section,
.commitment-section,
.intro,
footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .locations-header .page-title {
        font-size: 3rem;
    }

    .store-hero-img {
        height: 300px;
    }

    .store-info-container {
        flex-direction: column;
        margin-top: 40px;
    }

    .store-info-card {
        padding: 30px 20px;
    }

    .store-map-card {
        min-height: 350px;
    }
}

/* =========================================
   NEW SECTIONS CSS (TRUST, PRODUCTS, FEEDBACK)
   ========================================= */
/* Trust Section */
.trust-section {
    background-color: transparent;
    padding: 20px 5%;
    margin-top: -60px;
    /* Stronger overlap but controlled */
    position: relative;
    z-index: 10;
}

.trust-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    background: var(--white);
    padding: 25px 15px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 1200px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--primary);
    background: #fdfaf3;
    padding: 15px;
    border-radius: 50%;
}

.trust-item p {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.products-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid rgba(234, 179, 8, 0.3);
    /* Viền màu vàng nhạt mặc định */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    /* Viền vàng đậm khi hover */
    box-shadow: 0 12px 20px rgba(234, 179, 8, 0.1);
    /* Bóng vàng nhẹ */
}

.product-thumb {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-thumb img {
    transform: scale(1.08);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 10px;
    min-height: 3.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: auto;
    padding-bottom: 20px;
    line-height: 1.5;
    white-space: pre-line;
}

.feedback-section {
    padding: 80px 10%;
    background-color: var(--section-dark);
    color: var(--white);
    text-align: center;
}

.feedback-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feedback-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feedback-quote {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: auto;
    font-size: 1.05rem;
    padding-bottom: 25px;
}

@media (max-width: 1100px) {
    .feedback-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feedback-container {
        grid-template-columns: 1fr;
    }
}

.feedback-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feedback-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.feedback-author h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .trust-container {
        padding: 20px 10px;
        gap: 10px;
    }

    .trust-item {
        min-width: 45%;
    }

    .trust-item i {
        font-size: 2rem;
        padding: 10px;
    }

    .trust-item p {
        font-size: 0.9rem;
    }
}

.about-manifesto-box {
    background-color: var(--primary);
    color: var(--text-dark);
    padding: 15px 20px;
    border-radius: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 15px;
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.15);
    border-left: 6px solid var(--section-dark);
    font-size: 1.05rem;
    position: relative;
    transition: transform 0.3s ease;
    white-space: pre-line;
}

.about-manifesto-box:hover {
    transform: translateY(-5px);
}

/* About Home Section Styles */
.about-home {
    padding: 60px 10%;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-home-img {
    flex: 1;
    position: relative;
    z-index: 1;
}

.about-home-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--primary);
    transition: transform 0.5s ease;
}

.about-home-img:hover img {
    transform: translate(-10px, -10px);
}

.about-home-content {
    flex: 1.2;
}

.about-home-content .tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.about-home-content h2 {
    font-size: 2.8rem;
    font-family: var(--font-heading);
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--text-dark);
}

.about-home-content p,
.about-text-small {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.about-list li i {
    color: var(--primary);
    font-size: 1.4rem;
    background: var(--white);
    padding: 8px;
    border-radius: 50%;
    animation: icon-pulse 2s infinite ease-in-out;
}

.about-list li:nth-child(2) i {
    animation-delay: 0.2s;
}

.about-list li:nth-child(3) i {
    animation-delay: 0.4s;
}

.about-list li:nth-child(4) i {
    animation-delay: 0.6s;
}

.about-list li:nth-child(5) i {
    animation-delay: 0.8s;
}

@keyframes icon-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.4);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(234, 179, 8, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(234, 179, 8, 0);
    }
}

@media (max-width: 992px) {
    .about-home {
        flex-direction: column;
        padding: 60px 5%;
        text-align: center;
        gap: 40px;
    }

    .about-home-img {
        max-width: 500px;
        order: 1;
    }

    .about-home-content {
        order: 2;
    }

    .about-home-content h2 {
        font-size: 2rem;
    }

    .about-home-content {
        text-align: left;
    }

    .about-list li {
        justify-content: flex-start;
        text-align: left;
    }
}

/* ============================================================
   MODERN ANIMATIONS & EFFECTS
============================================================ */

/* 1. Pulse Animation */
@keyframes pulse-ring {
    0% {
        transform: scale(0.85);
        box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(234, 179, 8, 0);
    }

    100% {
        transform: scale(0.85);
        box-shadow: 0 0 0 0 rgba(234, 179, 8, 0);
    }
}

.floating-toggle {
    animation: pulse-ring 2.5s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* 2. Floating Image Animation */
@keyframes float-img {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

.about-home-img img {
    animation: float-img 5s ease-in-out infinite;
}

.about-home-img:hover img {
    animation-play-state: paused;
    transform: translate(-5px, -5px) scale(1.02);
}

/* 3. Button Shine Effect */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(35deg);
    width: 25px;
    height: 200%;
    background-color: rgba(255, 255, 255, 0.4);
    left: -50px;
    transition: left 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.btn-primary:hover::after {
    left: 120%;
}

/* 4. Interactive Logo Spin/Scale */
.logo-container {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-container:hover {
    transform: translateY(-3px) scale(1.02);
}

.logo-container img {
    transition: transform 0.5s ease;
}

.logo-container:hover img {
    transform: rotate(5deg) scale(1.1);
}

/* 5. Smooth Nav Underline */
nav a {
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: var(--primary);
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
    transform: translateX(-50%);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Prevent double underline due to old border-bottom */
nav a,
nav a:hover,
nav a.active {
    border-bottom: 2px solid transparent !important;
}

/* 6. Enchanced Trust Items Hover */
.trust-item {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    background: #fff;
    border-radius: 12px;
}

.trust-item i {
    transition: transform 0.4s ease, color 0.4s ease;
}

.trust-item:hover i {
    transform: scale(1.2) rotate(-5deg);
    color: var(--primary);
}

/* 7. Product & Post Card Lift & Glow */
.product-card,
.article-card,
.store-card,
.stamp-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.product-card:hover,
.article-card:hover,
.store-card:hover,
.stamp-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.article-thumb img,
.product-thumb img {
    transition: transform 0.6s ease;
}

.article-card:hover .article-thumb img,
.product-card:hover .product-thumb img {
    transform: scale(1.1);
}