.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.container-detail {
    align-items: center;
    max-width: 1120px;
    margin: 20px auto;
}

.bread-crumb {
    background: #eeeeee;
    padding: 13px 15px;
}

.product-detail {
    display: flex;
    gap: 20px;
}

.product-detail-right {
    width: calc(100% - 570px);
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.product-detail-right h1 {
    display: block;
    color: var(--color-red);
    font-size: 20px;
    margin-bottom: 10px;
}

.product-detail-right a img {
    margin-right: 5px;
    width: 20px;
    height: 20px;
}

.product-detail-right a {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    background: #007bff;
    padding: 2px 5px;
    max-width: 80px;
    border-radius: 5px;
}

.product-information {
    list-style: none;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-items {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.product-item-label {
    font-size: 15px;
    font-weight: bold;
    margin: 0px 5px 0px 0px;
}

.price-new-detail {
    color: var(--color-red);
    font-size: 26px;
    font-weight: 700;
}

.price-old-detail {
    margin-left: 10px;
    color: #666;
    text-decoration: line-through;
}

.desc-information-product ul li {
    margin-left: 15px;
}

.add-cart-product-detail {
    display: flex;
    margin-top: 10px;
    justify-content: center;
    align-items: center;
}

.product-quantity-detail {
    display: flex;
    justify-content: center;
    align-items: center;
}

.border {
    border: 1px solid rgba(128, 128, 128, 0.249);
}

.quantity-minus,
.quantity-plus {
    font-size: 20px;
    padding: 0 10px;
    width: 50px;
    text-align: center;
    cursor: pointer;
}

.quantity-minus:hover,
.quantity-plus:hover {
    background-color: #000;
    color: #fff;
}

.qty-product {
    width: 50px;
    border: none;
    outline: none;
    text-align: center;
    font-size: 16px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-cart-product-detail-btn {
    margin-left: 10px;
    padding: 10px 15px;
    background: var(--color-red);
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.add-cart-product-detail-btn:hover {
    background-color: #000;
}

.add-cart-product-detail-btn span {
    text-transform: uppercase;
    font-weight: 600;
}

/* product-right */
.product-detail-left {
    width: 100%;
    max-width: 570px;
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
}

.product-detail-left .MagicZoom {
    border-radius: 30px;
}

.product-detail-gallery {
    position: relative;
}

.thumbnail-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-wrap: wrap;
}

.thumbnail-grid img {
    border-radius: 10px;
    height: auto;
    border-bottom: 0px !important;
    padding-bottom: 0px !important;
    width: 100% !important;
}

.next-left,
.next-right {
    background: #ccc;
    padding: 5px 8px;
    font-size: 20px;
    align-content: center;
    max-height: 30px;
}

.title-product-detail {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    border-bottom: 1px solid gray;
    padding: 0px 30px;
}

.title-product-detail li {
    border-radius: 5px;
    font-size: 24px;
    text-transform: uppercase;
    list-style: none;
    font-weight: bold !important;
}

.title-product-detail li:hover {
    background: #ffde1f;
}

.specifications-product {
    padding-top: 10px;
    margin-top: 10px;
    border-top: #ccc solid 1px;
}

.specifications-product span {
    font-size: 18px;
    color: #f1c40f;
    font-weight: 700;
    text-transform: capitalize;
    margin-top: 20px;
}

.product-desc-information {
    padding: 0px 20px;
    width: 100%;
    line-height: 1.4;
}

.product-desc-information ul li {
    line-height: 1.4;
    margin: 15px 0px 0px 15px;
    font-size: 18px;
    list-style: none;
}

.suite-product {
    font-size: 18px;
    color: #0f0f0f;
    font-weight: 700;
    margin-top: 20px;
}

.img-info {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 5px;
    margin-top: 20px;
}

.img-info img {
    width: 100%;
    border-radius: 5px;
}

.add-cart-product-detail-btn-cat {
    padding: 10px 0px;
    background: #fd6e1d;
    color: #fff;
    border-radius: 5px;
    margin: 0px auto;
    white-space: nowrap;
    text-align: center;
    max-width: 90%;
}

.add-cart-product-detail-btn-cat span {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 14px;
}

.product-viewed {
    margin-top: 60px;
}

.product-item-content-cat {
    text-align: center;
}

.product-list-cat-ot {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    gap: 5px;
}

.product-item-cat a img {
    width: 200px;
    height: 200px;
}

.product-item-cat {
    border: #ccc solid 1px;
    height: 350px;
    line-height: 1.7;
}

.price-new-detail-cat {
    color: #ff8500;
    font-size: 20px;
    font-weight: 700;
}

.price-old-detail-cat {
    margin-left: 10px;
    color: #666;
    text-decoration: line-through;
    align-content: center;
}

.name-product-cat {
    font-weight: 700;
}

.title-product-detail {
    margin-bottom: 16px;
}

.title-product-detail li {
    font-weight: 600;
}

/** Product filter **/
/* .title-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
} */

.filter-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0px;
    border-bottom: 1px solid gray;
    width: 80%;
    margin: 0px auto;
}

.sort-options {
    display: flex;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-select {
    padding: 8px 30px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.filter-select:hover {
    border-color: #9ca3af;
}

.filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.filter-select-simple {
    padding: 8px 25px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
}

.desc-product-detail {
    border-radius: 30px;
    background-color: var(--bg-menu);
    padding: 20px 0px;
    margin: 60px 0px;
}

body main section div div div a#zoom:not(.mz-no-rt-width-css)>.mz-figure:not(.mz-no-rt-width-css)>img {
    border-radius: 30px;
}

/* .info_product {
    display: flex;
    justify-content: space-evenly;
    align-items: start;
} */

.info_cate {
    border-radius: 30px;
    background-color: var(--bg-menu);
    padding: 20px 0px;
    margin: 60px 0px;
    max-width: 450px;
}

.category-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 15px;
}

.category-item>.item-text {
    width: 100%;
    display: flex;
    justify-content: space-between;

}

/** Product relation **/
.product-detail-relation {
    padding: 60px 0;
}

/* 4K and Ultra-wide Screens */
@media (min-width: 1600px) {}

/* Ultra Large Devices (Extra Large Desktop) */
@media (max-width: 1599px) {}

/* XXL Devices (Large Desktop) */
@media (max-width: 1399px) {}

/* Extra Large Devices (Small Desktop) */
@media (max-width: 1199px) {
    .title-main {
        text-wrap: wrap !important;
    }
}

/* Large Devices (Tablets) */
@media (max-width: 991px) {
    .product-right {
        margin-left: 0 !important;
    }
    .product-detail {
        flex-direction: column;
    }

    .product-detail-right {
        width: 100%;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 10px;
        place-items: center;
    }

    .product-item .info {
        padding: 8px;
    }

    .title-filter {
        flex-direction: column;
    }

    .category_menu {
        flex-wrap: wrap;
        flex-direction: row !important;
    }

    .filter-section {
        justify-content: center;
        flex-direction: column;
        align-items: start;
        width: 100%;
    }

    .sort-options {
        flex-direction: row;
        gap: 10px;
    }

    .sort-button {
        margin-left: 0 !important;
    }

    .product-right {
        flex-direction: column-reverse !important;
    }

    .info_product {
        flex-direction: column;
    }

    .info_cate {
        max-width: 100%;
        width: 100%;
    }

    .desc-product-detail {
        max-width: 100%;
        width: 100%;
    }

    .product-detail-left {
        flex-direction: column;
    }

    .thumbnail-grid {
        flex-direction: row;
    }

    .price-new-detail {
        font-size: 24px;
    }

    .flex-row {
        display: flex;
        flex-direction: row;
    }

    .title-main {
        text-wrap: wrap !important;
    }

    .product_wrapper {
        display: flex !important;
        flex-direction: column;
    }

}

/* Medium Devices (Tablets) */
@media (max-width: 767px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Devices (Phones) */
@media (max-width: 575px) {
    .thumbnail-grid a {
        width: calc(25% - 9px);
    }

    .product_wrapper {
        display: flex !important;
        flex-direction: column;
    }

    .title-filter {
        padding: 10px;
    }

    .thumb>a>img {
        width: 100%;
    }

    .container_custom {
        margin: 10px auto;
    }

}

/* Extra Small Devices */
@media (max-width: 374px) {
    .thumbnail-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* PRODUCT CUSTOM */

.flex-row {
    display: flex;

}

.sort-button {
    padding: 8px 12px;
    background-color: #eee;
    border: 1px dashed red;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    margin-left: 10px;
}

.sort-button:hover {
    background-color: red;
    color: #fff;
}

.sort-button.active {
    background-color: red;
    color: #fff;
}


.product-right {
    max-width: 900px;
    grid-column: span 7;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: auto;
}

.product_wrapper {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 10px;
}

.banner {
    width: 100%;
    border-radius: 30px;
}

.banner>img {
    width: 100%;
    border-radius: 30px;
}

.title-filter {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 10px;
}

@media (min-width: 991px) {
    .title-filter {
        grid-column: span 2;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        gap: 10px;
        position: sticky;
        top: 65px;
        height: 350px;
        padding: 10px;
    }
}

.title-main {
    font-size: 24px !important;
    position: relative;
    letter-spacing: 0;
    text-align: start;
    margin: 16px 0;
    text-transform: uppercase;
    text-wrap: nowrap;
}

.product_box {
    grid-column: span 7;

}

.category_menu {
    width: 100%;
    list-style: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.category_menu_item {
    border-bottom: 1px solid rgba(128, 128, 128, 0.259);
    padding: 10px;
}

.category_menu_item a {
    text-decoration: none;
    color: #0f0f0f;
    font-size: 16px;
    font-weight: lighter;
}

.category_menu_item a:hover,
.category_menu_item a.active {
    color: var(--color-red);
    font-weight: bold;
}


/* reset */
.category_menu, .subcategory_menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subcategory_menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    margin-left: 15px;
}

.submenu-icon {
    cursor: pointer;
    font-size: 14px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--color-red);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.submenu-icon:hover {
    background-color: #000;
}

.subcategory_menu_item {
    margin-top: 16px;
}

.flex-cate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
