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

.link_breadcrumb {
    display: flex !important;
    align-items: center !important;
    font-size: 15px !important;
    color: #99999960 !important;
    text-decoration: none !important;
    background-color: #fff !important;
    padding: 2px 5px !important;
    max-width: 120px !important;
    border-radius: 5px !important;
}

.link_breadcrumb:hover {
    color: #353535 !important;
}


.breadcrumb_custom {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.breadcrumb_custom>span {
    font-size: 15px;
    color: #3535355a;
}

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

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

.product-detail-right h1 {
    display: block;
    color: #1c1c1c;
    font-size: 1.7em;
    line-height: 1.3;
}

.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.9;
}

.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;
}

.product-quantity-detail {
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
}

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

.qty-product {
    width: 50px;
    border: none;
    outline: none;
    text-align: center;
    padding: 15px 0px;
    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: #fd6e1d;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

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

/* product-right */
.product-detail-left {
    width: 100%;
    max-width: 430px;
}

.product-detail-left .MagicZoom {
    border-radius: 5px;
    padding: 7px;
    border: 1px solid #ccc;
}

.product-detail-gallery {
    position: relative;
    margin-top: 15px;
}

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

.thumbnail-grid img {
    border-radius: 5px;
    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;
}

.title-product-detail li {
    border-radius: 5px;
    font-size: 14px;
    text-transform: uppercase;
    background: #ccc;
    padding: 10px 15px;
    list-style: none;
}

.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: 10px;
    border: 1px solid #99999960;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    line-height: 1.5;
}

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

.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(3, 1fr);
    align-items: center;
    gap: 20px;
}

.product-item-cat a img {
    width: 100%;
}

.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;
    gap: 15px;
}

.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 {
    padding-bottom: 36px;
}

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

.breadcrumb {
    padding: 13px 15px;
    text-transform: uppercase;
    color: #222;
    font-weight: 500;
    letter-spacing: 0px;
    padding: 0;
    font-size: 18px;
    gap: 10px;
    background-color: var(--bg-body);
}

.breadcrumb a {
    color: #99999960;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #333;
}

.breadcrumb span {
    color: #333;
}

.sort_product {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.sort_product>p {
    font-size: 16px;
    color: #353535;
}

option {
    font-size: 15px;
}

/* Layout */
.product-wrapper {
    display: flex;
    gap: 20px;
}

/* Sidebar */
.sidebar {
    flex: 0 0 250px;
}

.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.category-list li,
.product-small-list li {
    list-style: none;
    margin-bottom: 10px;
}

.product-small-list a {
    display: flex;
    align-items: center;
    font-size: 14px;
    text-decoration: none;
    color: #333;
}

.product-small-list img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 10px;
}

/* Content */
.content {
    margin: 30px 0px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.title-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    margin-top: 30px;
}

.title-filter select {
    padding: 5px 10px;
    border: 1px solid #ccc;
    font-size: 15px;
    border-radius: 4px;
}

.category_products {
    width: 100%;
    max-width: 23%;
}

.product-box {
    width: 100%;
    max-width: 76%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 100%;
}

.product-item {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    border: none;
    text-align: center;
    transition: all .3s;
    border-radius: 8px;
}

.product-item:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, .3);
}

.product-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.product-item h3 {
    font-size: 14px;
}

.btn-readmore {
    display: inline-block;
    padding: 5px 15px;
    border: 2px solid red;
    color: red;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none;
    transition: all .3s;
    border-radius: 4px;
}

.margin_top {
    margin-top: auto;
}

.btn-readmore:hover {
    background: red;
    color: #fff;
}

.aside_cate {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 400px;
    overflow-y: scroll;
}

.aside_cate>li:last-child {
    border-bottom: none;
}

.cate-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 12px 15px;
    cursor: pointer;
}

.cate-header a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    flex: 1;
}

.pro-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4px;
    cursor: pointer;
    gap: 10px;
}

.pro-header a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    flex: 1;
}

.toggle-submenu {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.has_sub_item.open .toggle-submenu {
    transform: rotate(180deg);
}

.title-main-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-main {
    font-size: 18px;
    position: relative;
    letter-spacing: 1px;
    text-align: start;
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: 600;
}

.submenu_cate {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    list-style: none;
    background: #fff;
    padding: 0px 30px;
}

.submenu_cate li {
    padding: 8px 0;
}

.submenu_cate a {
    font-size: 14px;
    color: #444;
    text-decoration: none;
}

.submenu_cate a:hover {
    color: #007bff;
}

.search_category {
    margin-top: 10px;
    padding: 10px 20px;
    border: 1px solid #99999960;
    width: 100%;
    background: transparent;
    border-radius: 12px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.15);
    outline: none;
}

.search_category:hover,
.search_category:focus,
.search_category:active {
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
}

.infomation {
    padding: 10px 10px 20px 10px;
    width: 100%;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 10px;
}

.infomation>h3>a {
    text-decoration: none;
    color: #3535355a;
    text-transform: uppercase;
}

.list_category {
    padding: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.list_product_hot {
    padding: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

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

.flex-space>a>i {
    font-size: 20px;
    color: #9999;
}

.flex-space>a>i:hover {
    color: #353535;
}

.box_detail {
    display: flex;
    align-items: start;
    padding: 30px 0px;
    gap: 30px;
}

.product_right {
    padding-left: 30px;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 75%;
}

/* Scroll bar */
::-webkit-scrollbar {
    width: 2px;
    height: 12px;
}

::-webkit-scrollbar-track {
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background-color: #99999960;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}


/* 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) {}

/* Large Devices (Tablets) */
@media (max-width: 991px) {
    .link_breadcrumb {
        font-size: 12px !important;
    }

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

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

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .breadcrumb {
        width: 100%;
    }

    .flex-space {
        max-width: 100%;
        margin-top: 20px;
    }

    .category_products {
        width: 500px;
    }

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

    .product-detail-left>a img {
        width: 100%;
        max-width: 100%;
    }

    .category_products {
        width: 100%;
    }

    .product-detail-left .MagicZoom {
        width: 100%;
    }

    .product-detail-left .MagicZoom figure {
        width: 100%;
    }

    .product-detail-left .MagicZoom figure img {
        max-width: 100% !important;
        max-height: 100% !important;
    }

    .product-list-cat-ot {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
    }

    .box_detail {
        flex-direction: column-reverse;
    }

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

/* Medium Devices (Tablets) */
@media (max-width: 767px) {}

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

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

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