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

a {
    text-decoration: none;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 3;
}

/* Header Styles */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Top Banner */
.top-banner {
    background-color: #1BCAC4;
    padding: 0.5rem 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.top-banner.hide {
    transform: translateY(-100%);
    opacity: 0;
}

.banner-text {
    color: white;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

/* Main Navigation */
.main-nav {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.logo-icon {
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 134px;
    height: 67px;
}

.search-bar {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: white;
    border-bottom: 1px solid #ddd;
}

.search-bar.active {
    display: flex;
    flex-direction: column;
}

.search-box {
    display: flex;
    align-items: flex-start;
}

.search-box input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 50px;
    width: 400px;
    outline: none;
}

.search-box button {
    border: none;
    background: white;
    color: black;
    padding: 10px 15px;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
}

.search-bar.active p {
    font-size: 12px;
    color: gray;
    margin: 5px 0 0 10px;
}


@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d7377;
    letter-spacing: -0.025em;
}

/* Navigation Menu */
/* .nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-dropdown {
    position: relative;
} */

/* Menu ẩn mặc định */
/* .dropdown-nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    display: none;
    z-index: 999;
}

.nav-dropdown .dropdown-nav-menu {
    display: none;
}

.nav-dropdown:hover .dropdown-nav-menu {
    display: block;
} */

/* Item */
/* .dropdown-item {
    display: block;
    padding: 10px 16px;
    color: #000;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s ease;
} */

/* .dropdown-item:hover {
    background: #1BCAC4 !important;
    color: white;
}


.dropdown-toggle .arrow27 {
    font-size: 0.7rem;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle .arrow {
    transform: rotate(180deg);
} */

/* Navigation Icons */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

/* .icon-btn:hover {
    color: #1BCAC4;
} */

.icon-btn i {
    font-size: 1.25rem;
}

/* Badge */
.icon-with-badge {
    position: relative;
}

.badge {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    background-color: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    color: #6b7280;
    cursor: pointer;
    font-size: 1.25rem;
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

.main-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.main-content p {
    color: #6b7280;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-icons {
        gap: 0.5rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 0.75rem;
    }
}

@media (max-width: 480px) {
    .banner-text {
        font-size: 0.75rem;
    }

    .nav-content {
        height: 3.5rem;
    }

    .logo-icon {
        width: 2rem;
        height: 2rem;
    }

    .logo-inner {
        width: 1.25rem;
        height: 1.25rem;
    }

    .logo-dot {
        width: 0.625rem;
        height: 0.625rem;
    }

    .logo-text {
        font-size: 1.125rem;
    }
}

/* Hover Effects */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 3px;
    background-color: black;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Smooth transitions */
* {
    transition: all 0.3s ease;
}

.hero-banner {
    background: white;
}

.hero-content {
    margin-top: 30px;
    text-align: center;
    width: 1200px;
    height: 727px;
}

.hero-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.features-section {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    /* background: white; */
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    /* background: linear-gradient(135deg, #a8edea, #fed6e3); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #1BCAC4;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.feature-description {
    color: #6b7280;
    font-size: 0.875rem;
}


/* Categories Section Styles */
.categories-section {
    padding: 5rem 0;
    background-color: white;
}

.categories-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1f2937;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    flex: 0 0 auto;
    width: 180px;
    min-width: 160px;
}

.category-item:hover {
    transform: translateY(-10px);
}

.category-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(27, 202, 196, 0.1), rgba(27, 202, 196, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(27, 202, 196, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.category-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent 70%);
    pointer-events: none;
}

.category-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

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

.category-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.category-count {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}



/* Categories Responsive Design */
@media (max-width: 768px) {
    .categories-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .categories-grid {
        justify-content: space-around;
        gap: 1.5rem;
    }

    .category-item {
        width: 140px;
        min-width: 120px;
        flex: 0 0 calc(50% - 0.75rem);
        max-width: 140px;
    }

    .category-image {
        width: 120px;
        height: 120px;
    }

    .category-image img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        justify-content: space-between;
        gap: 1rem;
        padding: 0 1rem;
    }

    .category-item {
        width: 120px;
        min-width: 100px;
        flex: 0 0 calc(50% - 0.5rem);
        max-width: 120px;
    }

    .category-image {
        width: 100px;
        height: 100px;
    }

    .category-image img {
        width: 50px;
        height: 50px;
    }

    .category-name {
        font-size: 1rem;
    }

    .category-count {
        font-size: 0.75rem;
    }

    .categories-title {
        font-size: 1.75rem;
    }
}

/* Alternative layout for very small screens */
@media (max-width: 360px) {
    .categories-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .category-item {
        width: 140px;
        flex: none;
        max-width: none;
    }

    .category-image {
        width: 120px;
        height: 120px;
    }
}


/* Hot Items Section */
.hot-items-section {
    padding: 3rem 0;
    background-color: white;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.confetti-icon {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #feca57, #ff9ff3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: confetti-bounce 2s ease-in-out infinite;
}

@keyframes confetti-bounce {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(-10deg) scale(1.1);
    }

    75% {
        transform: rotate(10deg) scale(1.1);
    }
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 10px
}

.hot-items-section .tab-btn {
    padding: 0.75rem 1.5rem;
    /* border: 2px solid #e5e7eb; */
    background: white;
    color: #6b7280;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hot-items-section .tab-btn.active {
    color: black;
    font-weight: 600;
}

.hot-items-section .tab-btn:hover:not(.active) {
    border-color: #1BCAC4;
    color: #1BCAC4;
}

/* Countdown Timer */
.countdown-timer {
    background: #1f2937;
    border-radius: 12px;
    padding: 1rem;
    color: white;
    min-width: 280px;
}

.timer-label {
    font-size: 0.875rem;
    color: #9ca3af;
    display: block;
    margin-bottom: 0.5rem;
}

.timer-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.time-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.time-label {
    font-size: 0.75rem;
    color: #9ca3af;
}

.time-separator {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1BCAC4;
}

/* Tab Content */
.tab-content {
    display: none;
    /* Hidden by default */
}

.tab-content.active {
    display: block;
    /* Shown when active */
}

/* Products Grid (Default 4 columns) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Products Grid (5 columns for Summer Vibes) */
.products-grid-5-cols {
    grid-template-columns: repeat(5, 1fr);
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f3f4f6;
    position: relative;
    justify-content: space-between;
    height: 100%;
    /* For product labels */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Neon Border for Summer Vibes */
/* .product-card.neon-border {
    border: 2px solid #00b894; 
    box-shadow: 0 0 15px rgba(0, 184, 148, 0.5), 0 0 30px rgba(0, 184, 148, 0.3);
} */

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge.mixi {
    background: #1BCAC4;
    color: white;
}

.product-badge.other {
    background: #f59e0b;
    color: white;
}

.product-info {
    padding: 1rem;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.product-price del bdi {
    color: gray
}

.current-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ef4444;
}

.original-price {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
}

/* Product Status */
.product-status {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.product-status.warning {
    color: #f59e0b;
    font-weight: 600;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #1BCAC4;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-bar.orange .progress-fill {
    background: #f59e0b;
}

/* Action Button */
.action-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-btn.primary {
    background: #1BCAC4;
    color: white;
}

.action-btn.primary:hover {
    background: #16a8b0;
    transform: translateY(-1px);
}

.action-btn.warning {
    background: #f59e0b;
    color: white;
}

.action-btn.warning:hover {
    background: #d97706;
    transform: translateY(-1px);
}

/* Product Labels for Summer Vibes */
.product-label {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    z-index: 10;
}

.product-label.new {
    background: #00b894;
    /* Green */
}

.product-label.best-seller {
    background: #ff6b6b;
    /* Red */
}

.product-label.trending {
    background: #45b7d1;
    /* Blue */
}


/* View All Button */
.view-all-container {
    text-align: center;
    margin-top: 2rem;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid #1BCAC4;
    color: #1BCAC4;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #1BCAC4;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid-5-cols {
        grid-template-columns: repeat(4, 1fr);
        /* Adjust 5-col to 4-col on smaller desktops */
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid-5-cols {
        grid-template-columns: repeat(3, 1fr);
        /* Adjust 5-col to 3-col on tablets */
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }

    .countdown-timer {
        min-width: auto;
    }

    .products-grid,
    .products-grid-5-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

    .tabs {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {

    .products-grid,
    .products-grid-5-cols {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .timer-display {
        gap: 0.25rem;
    }

    .time-value {
        font-size: 1.25rem;
    }
}

.summer-wear-section {
    padding: 4rem 0;
    background-color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1f2937;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.column-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    justify-content: space-between;
}

.column-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.image-container {
    width: 100%;
    height: 470px;
    /* Maintain aspect ratio */
    overflow: hidden;
    /* background-color: #e0f7fa; */
    /* Light blue background for images */
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* Ensure image covers the container */
}

.item-actions {
    padding: 1.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.buy-now-btn {
    width: 80%;
    padding: 0.85rem 1.5rem;
    background-color: #1BCAC4;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.buy-now-btn:hover {
    background-color: #16a8b0;
    transform: translateY(-2px);
}

.view-details-link {
    font-size: 0.9rem;
    color: #1BCAC4;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-details-link:hover {
    color: #0d7377;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .columns-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .columns-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
        gap: 1.5rem;
    }

    .buy-now-btn {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }

    .item-actions {
        padding: 1rem;
    }

    .buy-now-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .view-details-link {
        font-size: 0.8rem;
    }
}


.banner2 {
    background-color: white;
}

.banner2 .container {
    position: relative;
    overflow: hidden;
}

.banner2 .banner-image {
    width: 100%;
    height: auto;
    display: block;
}

.collection-section {
    padding: 4rem 0;
    background-color: white;
    border-radius: 16px;
}

.section-main-title {
    font-size: 3rem;
    font-weight: 900;
    color: #1f2937;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

/* Tabs */
.tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid #e5e7eb;
    gap: 1.5rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.tab-btn.active {
    color: #1f2937;
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    /* Align with border-bottom of container */
    left: 0;
    width: 100%;
    height: 4px;
    /* Thick underline */
    background-color: #1f2937;
    border-radius: 2px;
}

.tab-btn:hover:not(.active) {
    color: #6b7280;
}

/* Tab Content */
.tab-content {
    display: none;
    /* Hidden by default */
}

.tab-content.active {
    display: block;
    /* Shown when active */
}

/* Products Grid */
.products-grid-hot-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 5 columns */
    gap: 1.5rem;
}

/* Product Card Base Style */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}


.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.products-grid-hot-items a {
    color: inherit;
    text-decoration: none;
}

.products-grid-hot-items a:hover {
    text-decoration: none;
    color: inherit;
}

.products-grid-collection {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

/* Gradient Borders for Tabs */
.lego-tab .product-card {
    border: 2px solid transparent;
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.favorite-icon {
    margin-right: 5px;
}

.xuan-he-tab .product-card {
    border: 2px solid transparent;
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.thu-dong-tab .product-card {
    border: 2px solid transparent;
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-label {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Square aspect ratio */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.5rem;
}

.product-image img {
    /* width: 90%; 
  height: 90%;
  object-fit: contain; */
    display: block;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.product-info {
    padding: 0 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    /* For favorite icon */
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}


.product-price.blue {
    color: black;
}

.product-actions .btn-add-to-cart,
.product-actions .btn-buy-now {
    background-color: #1BCAC6;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-right: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 1px solid #ddd;
}

.product-actions .btn-add-to-cart {
    opacity: 0.8;
    background-color: #ffffff;
    color: #000;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-actions .btn-add-to-cart:hover,
.product-actions .btn-buy-now:hover {
    background-color: #17b0b2;
    /* màu hover tối hơn 1 chút */
    /* transform: translateY(-2px); */
    text-decoration: none;
    color: #fff;
}

.product-actions .btn-add-to-cart:hover {
    background-color: #ffffff;
    color: #000;
}

/* View All Button */
.view-all-container {
    text-align: center;
    margin-top: 3rem;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2.5rem;
    background-color: white;
    border: 2px solid #1f2937;
    color: #1f2937;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-all-btn:hover {
    background-color: #1f2937;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        /* 4 columns on smaller desktops */
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns on tablets */
    }

    .section-main-title {
        font-size: 2.5rem;
    }

    .tabs-container {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on mobile */
        gap: 1rem;
    }

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

    .tab-btn {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }

    .product-card {
        padding-bottom: 0.75rem;
    }

    .product-label {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
    }

    .product-name {
        font-size: 0.9rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .favorite-icon {
        font-size: 1rem;
    }

    .product-tag {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        /* Single column on small mobile */
    }

    .section-main-title {
        font-size: 1.75rem;
    }

    .tab-btn {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }

    .view-all-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}


/* Products Section */
.products-section {
    padding: 4rem 0;
    background: #ffffff;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1bcac4, #17a2b8);
    margin: 0 auto;
    border-radius: 2px;
}

.category-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.selector-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.dropdown {
    position: relative;
    z-index: 99;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #fff;
    border: 2px solid #1bcac4;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #1bcac4;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: space-between;
}

.dropdown-btn:hover {
    background: #1bcac4;
    color: white;
}

.dropdown-btn i {
    transition: transform 0.3s ease;
}

.dropdown-btn.active {
    border-radius: 8px 8px 0px 0px;

}

.dropdown-btn.active i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #1bcac4;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-item.active {
    background: #1bcac4;
    color: white;
}

.product-actions {
    display: flex;
    flex-direction: column;
    /* nút xếp dọc */
    gap: 6px;
    /* khoảng cách giữa 2 nút */
    margin-top: 10px;
}

.btn-add-to-cart,
.btn-buy-now {
    background-color: #1BCAC6;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 1px solid #ddd;
    text-decoration: none;
    width: 100%;
}

/* Nút thêm giỏ: màu trắng viền xám */
.btn-add-to-cart {
    background-color: #fff;
    color: #000;
    opacity: 0.9;
}

.product-actions .btn-add-to-cart:hover {
    background-color: #f9f9f9;
    color: #000;
}

/* Nút mua ngay: màu chủ đạo */
.product-actions .btn-buy-now {
    background-color: #1BCAC6;
    color: #fff;
}

.product-actions .btn-buy-now:hover {
    background-color: #17b0b2;
    color: #fff;
}


.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    transition: opacity 0.3s ease;
}

.hidden {
    display: none;
}

/* Product Card */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-label.new {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
}

.product-label.hot {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.product-label.trending {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #000;
}

.product-label.burning {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #000;
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.wishlist-btn i {
    color: #666;
    font-size: 1.1rem;
}

.wishlist-btn:hover i {
    color: #dc3545;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: black;
    margin-bottom: 0.8rem;
}

.product-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.product-tag.trending {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
}

.product-tag.burning {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #000;
}

.product-tag.hot-sale {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
}

.add-to-cart {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #1bcac4, #17a2b8);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart:hover {
    background: linear-gradient(135deg, #17a2b8, #138496);
    transform: translateY(-2px);
}


@media (max-width: 768px) {

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

    .category-selector {
        flex-direction: column;
        gap: 0.5rem;
    }

    .dropdown-btn {
        min-width: 200px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-section {
        padding: 2rem 0;
    }

    .dropdown-btn {
        min-width: 100%;
    }
}

.testimonials-section {
    padding: 60px 20px;
    /* min-height: 100vh; */
}

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

.section-title {
    justify-content: center;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 50px;
    flex-direction: column;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
}

.profile-pic.top-right {
    top: 20px;
    right: 20px;
}

.customer-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

.stars {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
}

.star {
    color: #ffd700;
    font-size: 1.2rem;
}

.review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-top: 10px;
}

/* Card specific adjustments */
.card-1 .customer-name,
.card-1 .stars {
    margin-left: 0;
}


@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .profile-pic {
        width: 50px;
        height: 50px;
    }

    .card-2 .customer-name,
    .card-2 .stars {
        margin-left: 70px;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .testimonial-card {
        padding: 20px;
    }
}

.promo-banner img {
    width: 100%;
    height: auto;
}

/* Instagram Section */
.instagram-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.instagram-title {
    text-align: center;
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 40px;
    font-weight: normal;
}

.instagram-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.instagram-item {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.instagram-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.overlay img {
    width: 50px;
    height: 50px;
    filter: invert(1);
    /* icon trắng trên nền tối */
}

.instagram-item:hover .overlay {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .product-image {
        margin-left: 0;
        margin-top: 30px;
    }

    .product-image img {
        width: 220px;
        height: 220px;
    }

    .promo-title {
        font-size: 2.2rem;
    }

    .promo-subtitle {
        font-size: 1rem;
    }

    .instagram-grid {
        gap: 15px;
    }

    .instagram-item {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .promo-title {
        font-size: 1.8rem;
    }

    .instagram-grid {
        flex-direction: column;
        align-items: center;
    }

    .instagram-item {
        width: 180px;
        height: 180px;
    }
}

.footer {
    background-color: #16c2b5;
    color: white;
    padding: 60px 20px 20px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    opacity: 0.8;
}

.contact-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-info .icon {
    margin-right: 12px;
    margin-top: 2px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    margin-bottom: 25px;
}

.newsletter-form p {
    margin: 0;
    /* bỏ margin */
    display: contents;
    /* giúp loại bỏ wrapper thẻ p để flex được */
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 6px 0 0 6px;
    font-size: 0.95rem;
}

.newsletter-button {
    background-color: #000;
    color: white;
    border: 2px solid white;
    padding: 12px 20px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.certification-logos,
.payment-logos {
    display: flex;
    gap: 15px;
    align-items: center;
}

.logo-item {
    border-radius: 6px;
    font-size: 0.8rem;
    color: #333;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .product-image {
        margin-left: 0;
        margin-top: 30px;
    }

    .product-image img {
        width: 220px;
        height: 220px;
    }

    .promo-title {
        font-size: 2.2rem;
    }

    .promo-subtitle {
        font-size: 1rem;
    }

    .instagram-grid {
        gap: 15px;
    }

    .instagram-item {
        width: 150px;
        height: 150px;
    }

    /* Responsive Footer Styles */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .certification-logos,
    .payment-logos {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .promo-title {
        font-size: 1.8rem;
    }

    .instagram-grid {
        flex-direction: column;
        align-items: center;
    }

    .instagram-item {
        width: 180px;
        height: 180px;
    }

    /* Mobile Footer Styles */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .newsletter-input {
        border-radius: 6px;
        margin-bottom: 10px;
    }

    .newsletter-button {
        border-radius: 6px;
    }
}

.floating-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

/* Base button styles */
.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-btn svg {
    width: 100%;
    height: 100%;
}

/* Scroll to top button */
.scroll-top {
    background: #000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top svg {
    fill: white;
    width: 24px;
    height: 24px;
}

/* Phone button */
.phone-btn {
    /* background: blue; */
    animation: pulse-phone 5s infinite;
}

.phone-btn svg {
    fill: white;

}

/* Messenger button */
.messenger-btn {
    /* background: #0084ff; */
    animation: pulse-messenger 5s infinite;
}

.messenger-btn svg {
    fill: white;

}

/* Ripple effect */
.floating-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.floating-btn:active::before {
    width: 60px;
    height: 60px;
}

/* Pulse animations */
@keyframes pulse-phone {

    0%,
    70%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    15%,
    25% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(0, 132, 255, 0.3), 0 6px 20px rgba(0, 0, 0, 0.25);
    }

    20% {
        box-shadow: 0 0 0 20px rgba(0, 132, 255, 0.1), 0 6px 20px rgba(0, 0, 0, 0.25);
    }
}

@keyframes pulse-messenger {

    0%,
    70%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    15%,
    25% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(0, 132, 255, 0.3), 0 6px 20px rgba(0, 0, 0, 0.25);
    }

    20% {
        box-shadow: 0 0 0 20px rgba(0, 132, 255, 0.1), 0 6px 20px rgba(0, 0, 0, 0.25);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .floating-buttons {
        right: 15px;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
    }

    .floating-btn svg {
        width: 20px;
        height: 20px;
    }
}

.dropdown-nav-menu {
    display: block;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-user {
    display: flex;
    justify-content: center;
}

/* Icon mặc định */
.icon-btn i {
    color: gray;
    /* chưa login thì xám */
}

/* Khi đã login thì icon thành đen */
.icon-btn.logged-in i {
    color: black;
}

/* tìm kiếm ở trang chủ */
#live-results {
    position: absolute;
    top: 100%;
    left: 50%;
    /* đẩy sang giữa */
    transform: translateX(-50%);
    /* canh giữa theo input */
    width: 420px;
    /* bạn chọn chiều rộng mong muốn */
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    /* margin-top: 5px; */
    display: none;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

/* Item */
.live-result-item {
    border-bottom: 1px solid #f1f1f1;
}

.live-result-item a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

.live-result-item:hover {
    background: #f9f9f9;
}

/* Thumbnail */
.result-thumb {
    flex: 0 0 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #eee;
}

.result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info */
.result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.result-info h4 {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.result-info .price {
    font-size: 13px;
    color: #e63946;
    font-weight: bold;
}

/* More link */
.live-result-more {
    text-align: center;
    padding: 12px;
    background: #fafafa;
}

.live-result-more a {
    color: #e63946;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.live-result-more a:hover {
    text-decoration: underline;
}


/* đã thêm vào giỏ */
.ajax-cart-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}

.btn-add-to-cart.loading {
    opacity: 0.6;
    pointer-events: none;
}


/* test  */
.nav-menu a {
    color: black;
    font-weight: bold;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.nav-menu .menu-item {
    position: relative;
}

.nav-menu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 0;
    min-width: 180px;
    z-index: 1000;
}

.nav-menu .submenu li {
    list-style: none;
}

.nav-menu .submenu a {
    display: block;
    padding: 6px 12px;
    color: #333;
    text-decoration: none;
}

.nav-menu .submenu a:hover {
    background: #f2f2f2;
}

.nav-menu .menu-item:hover>.submenu {
    display: block;
}

.nav-menu a {
    position: relative;
    display: inline-block;
    color: #333;
    text-decoration: none;
    padding: 6px 12px;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    /* nằm sát dưới chữ */
    width: 0;
    height: 3px;
    background: black;
    /* màu gạch */
    transition: width 0.3s ease;
}

/* .nav-menu a:hover {
    color: #1BCAC6; 
} */

.nav-menu a:hover::after {
    width: 100%;
    /* chạy từ trái sang phải */
}

