:where([class^="ri-"])::before {
    content: "\f3c2";
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #FFFFFF;
}

.hero-section {
    background-image: url('/images/banner.png');
    background-size: cover;
    background-position: center;
}

.nav-logo .logo-text {
    font-size: 22px;
    font-weight: bold;
    padding-top: 10px;
}

.nav-logo {
    display: flex;
    gap: 20px;
}

.nav-logo img {
    display: flex;
    border-radius: 50%;
    object-fit: cover;
}

.nav-logo img {
    width: 50px;
    height: 50px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.custom-checkbox {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    border: 2px solid #FF80AB;
    border-radius: 3px;
}

.custom-checkbox input:checked~.checkmark {
    background-color: #FF80AB;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 5px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}



@media only screen and (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #333;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 20px;
        gap: 15px;
    }

    .nav-menu.active {
        display: flex;
        /* Hiển thị navbar links khi có active class */
    }

    .hamburger {
        display: flex;
    }

    /* Close button cho di động */
    #menu-close-button {
        font-size: 30px;
        color: #fff;
        cursor: pointer;
        position: absolute;
        top: 20px;
        right: 20px;
    }
}

/* popup */

#quickViewOverlay {
    display: none; /* Ẩn popup khi trang vừa tải */
  }

.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.quick-view-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.quick-view-popup {
    background-color: white;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    animation: slideUp 0.3s ease;
}

.color-option {
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-option.selected {
    transform: scale(1.1);
}

.thumbnail {
    cursor: pointer;
    transition: all 0.2s ease;
}

.thumbnail:hover {
    opacity: 0.8;
}

.thumbnail.active {
    border: 2px solid #FF69B4;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
