body {
      /* rgb(200, 214, 223) */
    background-color: #fff;
    /* background-image: url('../images/bg-2.jpg'); */
    background-size: cover;
    font-family: Arial, Helvetica, sans-serif;
    background-position: center;
    margin: 0;
    padding: 150px 0 0 0;
    
}

body.no-scroll {
    overflow: hidden;
}


:root {
    --background-gray: rgb(200, 214, 223);
    --background-blue: rgb(68, 129, 187);
    --background-outer-wrapper: rgba(15, 61, 104, 0.555);
    --font-color: #fff;
    --background-hover: rgba(50, 63, 182, 0.932);
    --color-watting: rgba(50, 63, 182, 0.932);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: rgb(68, 129, 187);
}

::-webkit-scrollbar-thumb {
    background-color: rgb(31, 97, 173);
}


hr {
    border: 1px solid rgb(163, 163, 211);
    border-bottom: none;
}

.logo_ieds {
    margin-left: 20px;
    display: block;
    width: 200px;
    height: auto;
}

#bar {
    display: none;
}

#button-bar > i {
    color: white;
}

/* footer {
    width: 100%;
    color: rgb(68, 129, 187);
    padding: 20px 0;
    text-align: center;
} */

/* ==========================================================
   FOOTER
========================================================== */

.site-footer {
    width: 100%;

    margin-top: 50px;
    padding: 0;

    box-sizing: border-box;

    background:
        linear-gradient(
            180deg,
            #f8fbff 0%,
            #eef4f9 100%
        );

    color: rgb(68, 129, 187);

    text-align: left;

    border-top: none;
}


/* ==========================================================
   FOOTER MAIN
========================================================== */

.footer-main {
    width: 100%;
    max-width: 1500px;

    margin: 0 auto;

    padding: 35px 60px;

    box-sizing: border-box;

    display: grid;

    grid-template-columns:
        0.8fr
        1.8fr
        1fr;

    gap: 50px;
}


/* ==========================================================
   FOOTER COLUMN
========================================================== */

.footer-column {
    min-width: 0;
}


/* ==========================================================
   HEADING
========================================================== */

.footer-heading {
    margin-bottom: 18px;

    display: flex;
    align-items: center;

    gap: 8px;

    font-size: 21px;

    font-weight: 700;

    color: rgb(68, 129, 187);
}


.footer-heading i {
    font-size: 20px;

    color: rgb(68, 129, 187);
}


/* ==========================================================
   CHÍNH SÁCH
========================================================== */

.footer-policy ul {
    margin: 0;
    padding: 0;

    list-style: none;
}


.footer-policy li {
    margin-bottom: 12px;
}


.footer-policy a {
    position: relative;

    display: inline-flex;

    align-items: center;

    padding-left: 16px;

    color: #4a5e72 !important;

    text-decoration: none;

    font-size: 15px;

    line-height: 1.5;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.footer-policy a::before {
    content: "›";

    position: absolute;

    left: 0;

    color: rgb(68, 129, 187);

    font-size: 20px;

    font-weight: 700;
}


.footer-policy a:hover {
    color: rgb(31, 97, 173) !important;

    transform: translateX(3px);
}


/* ==========================================================
   COMPANY
========================================================== */

.footer-company {
    padding: 0 30px;

    border-left:
        1px solid rgba(68, 129, 187, 0.2);

    border-right:
        1px solid rgba(68, 129, 187, 0.2);
}


.footer-company-name {
    margin-bottom: 18px;

    font-size: 17px;

    line-height: 1.55;

    font-weight: 700;

    color: #304b65;
}


/* ==========================================================
   INFO ROW
========================================================== */

.footer-info-row {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 11px;

    font-size: 14px;

    line-height: 1.6;

    color: #53687c;
}


.footer-info-row > i {
    width: 18px;

    flex: 0 0 18px;

    margin-top: 4px;

    text-align: center;

    color: rgb(68, 129, 187);
}


.footer-info-row strong {
    color: #344e68;
}


/* ==========================================================
   CONTACT
========================================================== */

.footer-contact-info {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.footer-contact-info .footer-heading,
.footer-contact-info .footer-service-box {
    grid-column: 1 / -1;
}

.footer-contact-row {
    margin-bottom: 0;
}

.footer-contact-row {
    width: 100%;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 12px;

    padding: 10px 12px;

    border:
        1px solid rgba(68, 129, 187, 0.20);

    border-radius: 7px;

    background: #fff;

    color: rgb(68, 129, 187) !important;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.footer-contact-row:hover {
    transform: translateY(-2px);

    border-color:
        rgb(68, 129, 187);

    box-shadow:
        0 4px 12px
        rgba(68, 129, 187, 0.15);
}


.footer-contact-row > i {
    width: 35px;
    height: 35px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 35px;

    border-radius: 50%;

    background:
        rgb(68, 129, 187);

    color: #fff;

    font-size: 15px;
}


.footer-contact-row > img {
    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    object-fit: contain;
}


.footer-contact-row div {
    display: flex;

    flex-direction: column;

    gap: 2px;
}


.footer-contact-row span {
    font-size: 12px;

    color: #8192a3;
}


.footer-contact-row strong {
    font-size: 16px;

    color: rgb(68, 129, 187);
}


/* ==========================================================
   SERVICE BOX
========================================================== */

.footer-service-box {
    margin-top: 8px;

    padding-top: 13px;

    border-top:
        1px solid rgba(68, 129, 187, 0.18);
}


.footer-service-box div {
    display: flex;

    align-items: center;

    gap: 8px;

    margin: 8px 0;

    color: #53687c;

    font-size: 14px;
}


.footer-service-box i {
    color: #28a745;

    font-size: 12px;
}


/* ==========================================================
   FOOTER BOTTOM
========================================================== */

.footer-bottom {
    width: 100%;

    box-sizing: border-box;
    text-align: center;

    justify-content: space-between;

    gap: 20px;

    padding: 15px 60px;

    background:
        rgb(68, 129, 187);

    color: #fff;

    font-size: 13px;

    line-height: 1.5;
}


.footer-bottom strong {
    color: #fff;
}


/* ==========================================================
   TABLET
========================================================== */

@media all and (max-width: 1000px) {

    .footer-main {
        padding:
            30px
            30px;

        grid-template-columns:
            1fr
            1fr;

        gap: 30px;
    }


    .footer-company {
        padding: 0 0 0 25px;

        border-left:
            1px solid
            rgba(68, 129, 187, 0.2);

        border-right: none;
    }


    .footer-contact-info {
        grid-column:
            1 / -1;

        padding-top: 20px;

        border-top:
            1px solid
            rgba(68, 129, 187, 0.18);
    }


    .footer-bottom {
        padding:
            15px
            30px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media all and (max-width: 600px) {

    .site-footer {
        margin-top: 30px;
    }


    .footer-main {
        padding:
            25px
            18px;

        grid-template-columns:
            1fr;

        gap: 25px;
    }


    .footer-company {
        padding: 22px 0;

        border-left: none;
        border-right: none;

        border-top:
            1px solid
            rgba(68, 129, 187, 0.18);

        border-bottom:
            1px solid
            rgba(68, 129, 187, 0.18);
    }


    .footer-contact-info {
        grid-column: auto;

        padding-top: 0;

        border-top: none;
    }

    .footer-contact-info {
        grid-template-columns: 1fr;
    }

    .footer-contact-info .footer-heading,
    .footer-contact-info .footer-service-box {
        grid-column: auto;
    }
    .footer-heading {
        font-size: 19px;
    }


    .footer-company-name {
        font-size: 15px;
    }


    .footer-info-row {
        font-size: 13px;
    }


    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 5px;

        padding:
            14px
            18px;

        font-size: 12px;
    }

}

.contact-fixed {
    position: fixed;

    right: 40px;
    bottom: 150px;

    display: flex;
    flex-direction: column;

    /* tăng khoảng cách giữa Phone và Zalo */
    gap: 28px;

    z-index: 99999;
}


.contact-small {
    position: relative;

    /* tăng kích thước nút */
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.28),
        0 0 14px rgba(0, 120, 255, 0.15);

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.contact-small img {
    position: relative;
    z-index: 2;

    /* icon lớn hơn */
    width: 42px;
    height: 42px;

    object-fit: contain;
    display: block;
}


.contact-small:hover {
    transform: scale(1.15);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.32),
        0 0 22px rgba(0, 120, 255, 0.22);
}


/* hiệu ứng vòng lan */

.contact-small::before,
.contact-small::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 56px;
    height: 56px;

    border-radius: 50%;

    transform:
        translate(-50%, -50%)
        scale(0.8);

    opacity: 0;

    pointer-events: none;

    animation:
        contactPulse 1.8s infinite;
}


.contact-small::after {
    animation-delay: 0.9s;
}


/* Phone */

.contact-small.phone::before,
.contact-small.phone::after {
    border: 2px solid rgba(34, 197, 94, 0.75);
}
.contact-small.phone {
    overflow: visible;
}

.phone-number {
    position: absolute;

    right: 70px;
    top: 50%;

    transform:
        translateY(-50%)
        translateX(10px);

    padding: 9px 14px;

    background: #fff;

    border-radius: 20px;

    box-shadow:
        0 3px 12px
        rgba(0, 0, 0, 0.2);

    color: #16a34a;

    font-size: 16px;
    font-weight: 700;

    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}


.contact-small.phone:hover
.phone-number {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(-50%)
        translateX(0);
}

/* Zalo */

.contact-small.zalo::before,
.contact-small.zalo::after {
    border: 2px solid rgba(0, 120, 255, 0.75);
}

.footer-zalo {
    position: relative;
    overflow: visible;
}


/* =========================
   QR ZALO
========================= */

.zalo-qr {
    text-align: center;
    position: absolute;

    right: calc(100% + 15px);
    top: 50%;

    width: auto;
    height: auto;

    padding: 8px;

    box-sizing: border-box;

    background: #fff;

    border:
        1px solid
        rgba(68, 129, 187, 0.25);

    border-radius: 10px;

    box-shadow:
        0 6px 20px
        rgba(0, 0, 0, 0.22);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    z-index: 99999;

    transform:
        translateY(-50%)
        translateX(10px)
        scale(0.95);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}


/* ảnh QR */

.zalo-qr img {
    width: 160px;
    height: 160px;

    object-fit: contain;

    display: block;

    border-radius: 6px;
}


/* hover hiện QR */

.footer-zalo:hover .zalo-qr {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(-50%)
        translateX(0)
        scale(1);
}

@keyframes contactPulse {

    0% {
        transform:
            translate(-50%, -50%)
            scale(0.8);

        opacity: 0.9;
    }

    70% {
        transform:
            translate(-50%, -50%)
            scale(1.9);

        opacity: 0;
    }

    100% {
        transform:
            translate(-50%, -50%)
            scale(1.9);

        opacity: 0;
    }
}


/* Mobile */

@media (max-width: 768px) {

    .contact-fixed {
        right: 22px;
        bottom: 110px;

        gap: 20px;
    }

    .contact-small {
        width: 52px;
        height: 52px;
    }

    .contact-small img {
        width: 36px;
        height: 36px;
    }

    .contact-small::before,
    .contact-small::after {
        width: 48px;
        height: 48px;
    }
}

#header-user {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap; /* không cho xuống dòng */
    white-space: nowrap;
    background: rgb(68,129,187);
    padding-right: 50px;
}

.cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    width: 24px;
    height: 24px;
    margin-right: 50px;

    font-size: 24px;
    color: rgb(68, 129, 187);
    z-index: 999;
}

.cart > i {
    color: #fff;
}

#cart-count {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);

    width: 16px;
    min-width: 16px;
    height: 16px;
    padding: 0 2px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: red;
    color: #fff;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    border-radius: 50%;
}

.content-cart-list {
    border: none;
    padding: 0 100px;
    width: 100%;
    box-sizing: border-box;
}

.cart-scroll {
    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    box-sizing: border-box;
}

.cart-scroll #cart-list {
    min-width: 1000px;
}



#cart-list {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    background: #fff;
}

.cart-info {
    flex: 1;
}

.cart-info h4 {
    margin: 0 0 10px;
    font-size: 18px;
    color: rgb(68, 129, 187);
}

.cart-info p {
    margin: 6px 0;
    font-size: 15px;
    color: #333;
}




.cart-remove {
    margin-top: 10px;
    padding: 6px 12px;
    border: none;
    background: #dc3545;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: .2s;
}

.cart-remove:hover {
    background: #b02a37;
}

.cart-total {
    margin-top: 20px;
    text-align: right;
}

.cart-total h3 {
    margin-bottom: 15px;
    color: rgb(68, 129, 187);
    font-size: 24px;
}

.cart-clear {
    padding: 10px 18px;
    border: 1px solid #dc3545;
    border-radius: 4px;
    background: #dc3545;
    color: #fff;
    cursor: pointer;
    transition: .2s;
}

.cart-clear:hover {
    background: #b02a37;
}

.cart-table {

    width: 100%;

    max-width: 100%;

    table-layout: auto;

    border-collapse: collapse;

    margin-top: 20px;

    background: #fff;

    color: rgb(68,129,187);

}


.cart-table th,
.cart-table td{
    padding:12px;
    border:1px solid #ddd;
    vertical-align:middle;
    overflow:hidden;
    text-align: right;
}

.resizable-column {
    position: relative;
    min-width: 150px;
}

.column-resizer {
    position: absolute;

    top: 0;
    right: 0;

    width: 8px;
    height: 100%;

    cursor: col-resize;
    user-select: none;
}

.column-resizer:hover {
    background: #ccc;
}

.cart-table th:nth-child(1),
.cart-table th:nth-child(2),
.cart-table th:nth-child(3),
.cart-table th:nth-child(4),
.cart-table th:nth-child(5),
.cart-table th:nth-child(6),
.cart-table th:nth-child(7){
    text-align:center !important;
    vertical-align:middle;
}

.cart-table th{
    background:rgb(68,129,187);
    color:#fff;
    font-weight:bold;    
    text-align: center;
}



/* Cột 1: Tên thiết bị chiếm phần còn lại */
.cart-table th:nth-child(1),
.cart-table td:nth-child(1) {
    width: 100%;
    min-width: 466px;
    text-align: left;
    white-space: normal;
    word-break: break-word;
}


/* Cột 2: Mã hiệu */
.cart-table th:nth-child(2),
.cart-table td:nth-child(2) {

    width: 1%;
    min-width: 150px;


    text-align: center;
    vertical-align: middle;

    word-break: normal;
    overflow-wrap: break-word;
}


/* Cột 3: ĐVT */
.cart-table th:nth-child(3),
.cart-table td:nth-child(3){
    width:70px;
    min-width:70px;
    max-width:70px;
    white-space:nowrap;
    text-align:center;
}


/* Cột 4: Số lượng */
.cart-table th:nth-child(4),
.cart-table td:nth-child(4){
    width:100px;
    min-width:100px;
    max-width:100px;
    white-space:nowrap;
    text-align:center;
}


/* Cột 5: Đơn giá */
.cart-table th:nth-child(5),
.cart-table td:nth-child(5){
    width:120px;
    min-width:120px;
    max-width:120px;
    white-space:nowrap;
    text-align:right;
}


/* Cột 6: VAT */
.cart-table th:nth-child(6),
.cart-table td:nth-child(6){
    width:60px;
    min-width:60px;
    max-width:60px;
    white-space:nowrap;
    text-align:center;
}


/* Cột 7: Thành tiền */
.cart-table th:nth-child(7),
.cart-table td:nth-child(7){
    width:120px;
    min-width:120px;
    max-width:120px;
    white-space:nowrap;
    text-align:right;
}


/* Cột Xóa */
.cart-table th:last-child,
.cart-table td:last-child{
    width:60px !important;
    min-width:60px;
    max-width:60px;
    white-space:nowrap;
    text-align:center;
}

/* Các cột cố định */
.cart-table th:nth-child(2),
.cart-table td:nth-child(2),
.cart-table th:nth-child(3),
.cart-table td:nth-child(3),
.cart-table th:nth-child(4),
.cart-table td:nth-child(4),
.cart-table th:nth-child(5),
.cart-table td:nth-child(5),
.cart-table th:nth-child(6),
.cart-table td:nth-child(6),
.cart-table th:nth-child(7),
.cart-table td:nth-child(7){
    white-space:nowrap;
}

/* Tên thiết bị */


.cart-product{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    width:100%;
    text-align:left;
}

.cart-product img{
    width:60px;
    height:60px;
    object-fit:contain;
    flex:0 0 60px; /* giữ ảnh cố định */
    border:1px solid #ddd;
    padding:3px;
    background:#fff;
}

.cart-product span{
    flex:1;
    min-width:0;
    overflow:hidden;
    white-space:normal;
    word-break:break-word;
    overflow-wrap:anywhere;
    font-weight:600;
}

.cart-quantity{
    display:flex;
    align-items:center;
    justify-content:center;
    width:90px;
    height:36px;
    border:1px solid rgb(68,129,187);
    border-radius:5px;
    overflow:hidden;
    background:#fff;
}


.cart-quantity input{
    flex:1;
    width:45px;
    height:100%;
    border:none;
    outline:none;
    text-align:center;
    font-size:14px;
    color:rgb(68,129,187);
    background:#fff;
}


/* Ẩn mũi tên input number */
.cart-quantity input::-webkit-inner-spin-button,
.cart-quantity input::-webkit-outer-spin-button{
    -webkit-appearance:none;
    margin:0;
}

.cart-quantity input[type=number]{
    -moz-appearance:textfield;
}


.cart-quantity-btns{
    width:25px;
    height:100%;
    display:flex;
    flex-direction:column;
    border-left:1px solid rgb(68,129,187);
}


.cart-quantity-btns button{
    flex:1;
    width:100%;
    padding:0;
    border:none;
    background:#fff;
    color:rgb(163, 163, 211);
    font-size:11px;
    cursor:pointer;
    touch-action:manipulation;
}


.cart-quantity-btns button:first-child{
    border-bottom:1px solid rgb(68,129,187);
}


.cart-quantity-btns button:hover{
    background:#fff;
    color:rgb(68,129,187);
}


.cart-quantity-btns button:active,
.cart-quantity-btns button:focus{
    background:rgb(68,129,187);
    color:#fff;
    outline:none;
}







.cart-empty{
    text-align:left;
    padding:40px 0;
    font-size:18px;
    color:#666;
}

.cart-subtotal td,
.cart-vat td,
.grand-total td {
    text-align: right !important;
}

.cart-subtotal td:first-child,
.cart-vat td:first-child,
.grand-total td:first-child {
    text-align: right;
}



.cart-buttons{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:5px;
    padding:15px 0;
}


/* Button chung */
.cart-buttons button,
.cart-buttons a{
    height:38px;
    padding:0 20px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:20px;

    font-size:14px;
    font-weight:600;

    cursor:pointer;
    text-decoration:none;

    transition:.25s;
}


/* Tiếp tục mua hàng */
.continue-shopping{
    color:#fff !important;
    background:rgb(68,129,187);
    border:1px solid rgb(68,129,187);
}


.continue-shopping:hover{
    background:rgb(44,103,161);
}


/* Xóa toàn bộ */






/* Yêu cầu báo giá */
.cart-order{
    color:#fff;
    background:rgb(68,129,187);
    border:1px solid rgb(68,129,187);
}


.cart-order:hover{
    background:rgb(44,103,161);
}


/* Account*/
#account {
    background: none;
    justify-content: right;
    height: 50px;
    width: 80%;
    top: 0;
    margin-bottom: auto;
    display: flex;
    z-index: 2;
}

#account, .cart {
    display: flex;
    align-items: center;
}

.outer-wrapper {
    display: none;
    justify-items: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: var(--background-outer-wrapper);
    position: fixed;
    top: 0;
    z-index: 10;
}

.watting {
    width: 50px;
    height: 50px;
    border-radius: 100rem;
    border: 5px solid var(--color-watting);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    animation: spinner 5s infinite linear;
}


.fa-check {
    color: #03c703;
}

.fa-x {
    color: red;
}

@keyframes spinner {
    /* from */
    /* current */
    /* to */
    /* transform */
    to {
        transform: rotate(360deg);
    }
}

.header.top {
    box-sizing: border-box;
    width: 100%;
    height: 90px;
    border: none;
    top: 0;
    background: none;
    margin: 0px;
    position: fixed;
    align-items: stretch;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 50px 40px;

    grid-template-areas:
        "logo account"
        "logo menu";

    z-index: 9999;
}

.logo {
    background: rgb(68,129,187);
    grid-area: logo;
    height: 89px; /* hoặc tự cao theo #account */
    width: fit-content;
    padding: 0px 0px 0px 100px;
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
    position: relative;
    z-index: 1000;
    border-radius: 5px;
}

#mobile-menu,
#maccount,
#mm-menu {
    display: none;
}

#main-account {
    display: flex;
    margin: 0;
    color: #fff;
    background: rgb(68, 129, 187);
    width: 100%;
    justify-content: right;
    list-style: none;
    text-decoration: none;
}

.sub-account {
    color: #fff;
    width: 100%;
    justify-content: right;
    list-style: none;
    text-decoration: none;
}

#main-account li:hover > ul.sub-account {
    display: block;
}

.fa-solid.fa-circle-user {
    color: #fff;
    font-size: 30px;
    margin-top: 0;
    padding: 10px 15px;
    cursor: pointer;
}

#main-account li {
    top: 0;
    color: #fff;
    font-size: 20px;
    right: 0;
    justify-content: right;
    display: block;
    width: auto;
    position: relative;
}

#main-account ul.sub-account li.information, #main-account ul.sub-account li.account, #main-account ul.sub-account li.products {
    display: flex;
    font-weight: 500;
    right: 0;
    width: 100%;
    padding: 10px 0;
    justify-content: center;
    font-size: 25px;
}

#main-account ul.sub-account li {
    border-bottom: 1px solid rgb(187, 173, 173);
    display: flex;
    color: rgb(31, 97, 173);
    right: 0;
    width: auto;
    padding: 10px 15px;
    justify-content: left;
    font-size: 18px;
}

#main-account ul.sub-account li:last-child {
    border-bottom: none;
}

#main-account ul.sub-account li > a {
    display: flex;
    color: rgb(31, 97, 173);
    justify-content: left;
    width: 100%;
    margin-right: 0;
}

#main-account ul.sub-account li:last-child > a {
    display: flex;
    color: rgb(31, 97, 173);
    justify-content: right;
    width: 100%;
    margin-right: 0;
}

#main-account ul.sub-account {
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgb(33, 66, 158);
    min-width: 250px;
    width: auto;
    height: auto;
    right: 0;
    padding: 0;
    display: none;
    position: absolute;
    z-index: 3;
}

#account a {
    color: rgb(68, 129, 187);
    height: 100%;
    margin-right: 100px;
    text-decoration: none;
}

a.login {
    margin: 0px;
    padding: 0;
    display: flex;
    align-items: center;
    color: #fff !important;
}

/* ==========================================================
   SỐ BÁO GIÁ ĐANG CHỜ
========================================================== */

.quote-management-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.quote-pending-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 18px;
    height: 18px;

    padding: 0 5px;

    box-sizing: border-box;

    border-radius: 999px;

    background: #ff0000;
    color: #ffffff;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;

    flex: 0 0 auto;
}


/* Menu Bar */

#menu {
    margin: 0;
    border-bottom: 1px solid #fff;
    background-color: rgb(68, 129, 187);
    width: 100%;
    display: flex;
    justify-content: left;
    top: 49px;
    z-index: 1;
    padding: 0;
}

#main-menu li {
    background-color: rgb(68, 129, 187);
    position: relative;
    font-weight: bold;
    text-align: center;
    width: auto;
    box-sizing: border-box;
}


#main-menu > li > ul {
    background: rgb(68, 129, 187);
}

#main-menu > li > .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
}



/* =========================
   TẤT CẢ SUBMENU
   ========================= */

#main-menu ul.sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    z-index: 10;
    padding-left: 0;
    list-style: none;
    min-width: 200px;
    width: max-content;
    display: none;
}


/* =========================
   SUBMENU CẤP 1
   ========================= */

#main-menu > li > ul.sub-menu {
    top: 100%;
    left: 0;
    position: absolute;
    z-index: 10;
}


/* =========================
   MAIN MENU
   ========================= */

#main-menu {
    position: relative;

    list-style: none;

    display: flex;

    z-index: 1;
}


/* =========================
   SUBMENU CẤP 1
   ========================= */




/* =========================
   NỀN XÁM PHÍA SAU
   ========================= */

#main-menu > li > ul.sub-menu::after {
    content: "";

    position: fixed;

    top: 87px;
    left: 0;

    width: 100vw;

    height: calc(
        var(--submenu-height, 0px) + 1px
    );

    transform: none;

    transition: height 0.4s ease;

    background: #f3f3f3;

    z-index: -2;

    pointer-events: auto;

    border-top: 1px solid rgb(68, 129, 187);
    
    border-bottom: 1px solid rgb(68, 129, 187);
}


/* =========================
   NỀN TRẮNG CỦA CÁC CỘT
   ========================= */

#main-menu ul.sub-menu::before {
    content: "";

    position: absolute;

    top: var(--submenu-bg-top, 0px);
    left: 0;

    width: var(--submenu-width, 0px);

    height: 0;

    background: #f3f3f3;

    z-index: -1;

    transition: height 0.4s ease;

    border-right: 1px solid #fff;

    pointer-events: none;
}


/* =========================
   HOVER MAIN MENU
   CỘT 1
   ========================= */

#main-menu > li:hover > ul.sub-menu::before {
    height: var(--submenu-height, 0px);
}


/* =========================
   HOVER SUBMENU
   CỘT 2, 3, 4...
   ========================= */

#main-menu ul.sub-menu li:hover > ul.sub-menu::before {
    height: var(--submenu-height, 0px);
}


ul#main-menu {
    padding: 0 0 0 0px;
    margin: 0;
}

#main-menu li a {
    text-transform: none;
    color: #fff;
    text-decoration: none;
    display: flex;
}

#main-menu > li > a {
    padding: 10px 15px;
    width: fit-content;
    margin-right: 0;
    justify-content: left;
    border-radius: 5px 5px 0 0;
    position: relative;
}

#main-menu > li > a.active::before {
    width: 100%;
    background: #fff; /* Gạch chân màu trắng */
}



.container {
    padding: 0;
    width: auto;
    max-width: 100%;
}



#main-menu ul.sub-menu li {
    border-top: 1px solid #fff;
}

#main-menu ul.sub-menu li:hover > ul.sub-menu {
    background: #fff;
}

#main-menu ul.sub-menu li > ul.sub-menu {
    background: #fff;
}

#main-menu li ul.sub-menu li a {
    display: flex;
    font-weight: 400;
}

#main-menu ul.sub-menu ul.sub-menu {
    left: 201px;
    top: -1px;
    padding-top: 0;
}


.submenu-white-space {
    position: absolute !important;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: none;
    z-index: 0;
}

#main-menu li:hover > .sub-menu {
    display: block;
}



#main-menu > li > a::before {
    position: absolute;
    content: "";
    height: 3px;
    transition: 0.25s cubic-bezier(0.075, 0.82, 0.165, 1);
    width: 0%;
    background: #fff;
    left: 0;
    bottom: 0;
    z-index: 999;
}

#main-menu > li > a:hover::before {
    display: block;
    width: 100%;
}

#main-menu > li:hover > a > .fa-angle-down,
#main-menu .sub-menu > li:hover > a > .fa-angle-down {
    color: #fff;
}

.fa-angle-down {
    margin: 0;
    padding: 0 0 0 15px;
    color: rgb(68, 129, 187);
}

.fa-angle-right {
    margin: 0;
    padding: 0 0 0 15px;
    color: white;
}


.sub-menu > li > a {
    padding: 10px 20px;
    width: auto;
    color: rgb(68, 129, 187) !important;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    transition: background 0.3s ease, color 0.3s ease;
}


/* Dấu + bên trái */

.sub-menu > li > a::before {
    content: "+";

    flex: 0 0 12px;

    margin-right: 8px;

    text-align: left;
}


/* Text căn trái */




/* Icon luôn nằm bên phải */

.sub-menu > li > a > i {
    margin-left: auto;

    flex: 0 0 auto;

    display: flex;
    align-items: center;

    font-size: 12px;
}

.sub-menu li:hover > a{
    background: rgb(200, 214, 223);
}


#main-menu ul.sub-menu > li.has-child:hover::after {
    color: white;
}

#main-menu > li.has-child:hover::after {
    color: white;
}





/* Connten */

.fa-solid.fa-rotate-right {
    font-size: 15px;
    border: 1px solid rgb(182, 182, 190);
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.fa-solid.fa-rotate-right:hover {
    border: 1px solid #339;
    color: #339;
}

h1 {
    font-size: 25px;
    color: #fff;
}

h2 {
    text-align: left;
    font-size: 20px;
    color: #fff;
}

h3 {
    text-align: left;
    font-size: 16px;
    padding: 0 0 0 20px;
    margin: 5px 0;
    color: rgb(68, 129, 187);
}

h4 {
    color: #fff;
    padding: 5px 5px;
    margin: 0;
    width: fit-content;
    background: rgb(68, 129, 187);
    border-radius: 5px 5px 0 0;
}


h5 {
    margin: 0;
    padding: 0;
    color: rgb(68, 129, 187);
    font-weight: 100;
}

.products-item h6 {
    width: 100%;
    box-sizing: border-box;

    color: #fff;
    background: rgb(68,129,187);

    padding: 5px;
    margin: 0;

    font-size: 15px;
    line-height: 21px;

    height: 48px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.products-item .unit_price {

    width:auto;

    background:#fff;

    padding:3px 8px;

    border-radius:5px;

    text-align:left;

    position:absolute;

    top:5px;

    left:5px;

    color:rgb(68,129,187);

    font-weight:normal;

}

.products-contact{
    margin-top:15px;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #d9d9d9;
    font-size: 15px;
    background: #fff;
}

.spec-table tr:nth-child(odd) {
    background: #f5f5f5;
}

.spec-table tr:nth-child(even) {
    background: #ffffff;
}

.spec-table td {
    border: 1px solid #d9d9d9;
    padding: 10px 15px;
    vertical-align: middle;
}

.spec-table td:first-child {
    width: 25%;
    font-weight: 600;
    color: rgb(68,129,187);
}

.spec-table td:last-child {
    color: rgb(68,129,187);
}

.contact-btn {
    display: flex;
    align-items: center;
    gap:8px;
    padding:8px 14px;
    border-radius:6px;
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    height: 24px;
}

.contact-btn img{
    width:24px;
    height:24px;
    object-fit:contain;
}

.contact-btn.zalo{
    background:#008fe5;
}

.contact-btn.phone{
    background:#28a745;
}

.contact-btn:hover{
    opacity:.9;
}

.product-price-quotation {
    display: flex;
}

.product-price-quotation > .add-to-cart {    
    background:rgb(255, 0, 0);
    margin-left: 15px;
    padding: 0px 15px;
    color: #fff;
    font-size:14px;
    font-weight:600;
    display: flex;
    align-items: center;
    gap:8px;
    border-radius:6px;
    text-decoration:none;
    height: 40px;
}


.product-price-quotation > .add-to-cart:hover {
    cursor: pointer;
}

.quantity {
    display: flex;
    align-items: center;
    width: 90px;
    height: 38px;
    border: 1px solid rgb(68,129,187);
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    position: relative;
}


/* ô nhập số */
.quantity input{
    width:65px;
    height:100%;
    border:none;
    outline:none;
    text-align:center;
    font-size:15px;
    color:rgb(68,129,187);
    padding:0;
    margin:0;
}


/* nhóm nút */
.quantity .minus,
.quantity .plus {
    width: 25px;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgb(68,129,187);
    color: rgb(68,129,187);
    font-size: 11px;
    cursor: pointer;
    box-sizing: border-box;
    position: absolute;
    right: 0;
}


/* đặt 2 nút xếp dọc */


.quantity .plus {
    position: absolute;
    right: 0;
    top: 0;
}

.quantity .minus {
    position: absolute;
    right: 0;
    bottom: 0;
    border-top: 1px solid rgb(68,129,187);
}


/* bỏ mũi tên mặc định */
.quantity input::-webkit-inner-spin-button,
.quantity input::-webkit-outer-spin-button{
    -webkit-appearance:none;
}

.quantity input[type="number"]{
    -moz-appearance:textfield;
}


/* hiệu ứng nhấn */
.quantity span:hover,
.quantity span:active{
    background:rgb(68,129,187);
    color:#fff;
}










.customer-information {
    position: absolute;
    width: 100vw;
    min-height: 100vh;
    height: auto;
    top: 90px;
    left: 0;
    background: rgb(200, 214, 223);
    color: rgb(68,129,187);
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 100px;
    box-sizing: border-box;
}

.BIO-select h4 {
    color: #fff;
    padding: 5px 5px;
    margin: 0;
    width: fit-content;
    background: rgb(68, 129, 187);
    border-radius: 5px 5px 0 0;
}



form {
    max-width: 100%;
    display: flex;
    justify-content: center;
    justify-items: center;
    text-align: center;
}

#login {
    color: #fff;
    width: 400px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 0 10px 10px rgba(184, 217, 245, 0.6);
    background-color: rgba(68, 129, 187, 0.795);
    padding: 30px 30px;
    margin: 0;
}

label {
    display: flex;
    font-size: 18px;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 5px;
}

.form-group-account {
    border-radius: 5px;
    padding: 5px;
    margin: 0;
    background-color: #e8f0fe;
    display: flex;
}

.form-group-account span {
    color: #666;
}


.form-group-check {
    border: 1px solid rgb(230, 8, 8);
    box-shadow: 5px 5px 5px 3px rgba(223, 87, 87, 0.418);
    background: #e8f0fe;
    padding: 5px;
    border-radius: 5px;
    margin: 0;
    display: flex;
}

.form-group-account input {
    background: transparent;
    font-size: 13px;
    width: 100%;
    padding: 5px;
    border: none;
    outline: 0;
}



#login .form-group-account:has(input[name="gender"]) {
    display: flex;
    align-items: center !important;
    justify-content: center;
    gap: 6px;
}

#login .form-group-account input[name="gender"] {
    width: auto !important;
}


.form-group-account i {
    color: rgb(173, 163, 163);
    margin-top: 4px;
    padding-left: 5px;
    padding-right: 10px;
}

.fa-solid.fa-house, .fa-solid.fa-right-to-bracket {
    color: rgb(68, 129, 187);
    font-size: 25px;
}

#eye {
    display: flex;
    justify-content: right;
}

.fa-eye:hover {
    color: rgb(27, 14, 150);
}

.fa-eye-slash:hover {
    color: rgb(27, 14, 150);
}

.form-submit {
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    border-radius: 5px;
    width: 100%;
    padding: 10px;
    margin: 20px 0;
}

.gender {
    color: black;
}

.gender input {
    width: auto;
    margin: 0 10px;
}

.form-submit:hover {
    border: 1px solid #fff;
    background: rgba(50, 65, 201, 0.61);
    color: #fff;
    border-radius: 5px;
    width: 100%;
    padding: 10px;
    margin: 20px 0;
    cursor: pointer;
}

.note {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    text-align: left;
    font-style: italic;
    color: #b02a37;
}

.note > h3 {
    font-size: 16px;
    margin: 0;
    padding: 0;
}

.link {
    text-align: right;
    margin-top: 15px;
}

.link a {
    text-decoration: none;
    font-size: 15px;
}

.link-products {
    text-align: left;
    margin-top: 15px;
}

.link-products a {
    text-decoration: none;
    font-size: 15px;
}


a.home {
    margin: 0 40px 0 0;
}

a:link {
    color: #fff;
}


a:visited {
    color: #fff;
}

.link-products a:link {
    color: rgb(68, 129, 187);
}


.link-products a:visited {
    color: rgb(68, 129, 187);
}


#submit {
    max-width: 100%;
}

.error {
    color: #b02a37;
    font-style: oblique;
}


.main-content {
    color: rgb(68, 129, 187);
    border: 1px 0 1px 0 solid rgb(29, 60, 88);
    padding: 0;
    background: #fff;
    margin: 0 100px;
    display: flex;
}

.sidebar {
    width:280px;
    background: #fff;
    border: none;
    padding: 0;
}


.sidebar .sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.sidebar .sidebar-brand-name {
    flex: 1;
    color: rgb(68, 129, 187);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.sidebar .sidebar-brand-name:hover {
    color: rgb(31, 97, 173);
}

.sidebar .sidebar-toggle {
    border: none;
    background: transparent;
    color: rgb(68, 129, 187);
    cursor: pointer;
    padding: 0 5px;
    font-size: 14px;
}

.sidebar .sidebar-toggle:hover {
    color: rgb(31, 97, 173);
}

.sidebar .sidebar-sub-list {
    padding-left: 20px;
}

.sidebar .sidebar-sub-item {
    padding: 0;
}

.sidebar .sidebar-sub-item a {
    display: block;
    padding: 4px 0;
    color: rgb(68, 129, 187);
    text-decoration: none;
    font-weight: normal;
    font-size: 14px;
}

.sidebar .sidebar-sub-item a:hover {
    color: rgb(31, 97, 173);
}

.sidebar .sidebar-sub-item.active a {
    color: rgb(31, 97, 173);
    font-weight: 600;
}

/* =========================================
   DANH SÁCH THƯƠNG HIỆU - SCROLL
========================================= */

.sidebar .sidebar-brand-list {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;

    /* khoảng cách giữa nội dung và scrollbar */
    padding-right: 6px;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgb(68, 129, 187) transparent;
}


/* =========================================
   CHROME / EDGE / SAFARI
========================================= */

.sidebar .sidebar-brand-list::-webkit-scrollbar {
    width: 10px;
}


/* nền scrollbar */

.sidebar .sidebar-brand-list::-webkit-scrollbar-track {
    background: transparent;
}


/* thanh kéo */

.sidebar .sidebar-brand-list::-webkit-scrollbar-thumb {
    background: rgb(68, 129, 187);
    border-radius: 10px;
}


/* khi rê chuột */

.sidebar .sidebar-brand-list::-webkit-scrollbar-thumb:hover {
    background: rgb(31, 97, 173);
}

.right-content {
    flex:1;
    background: #fff;
    border-left: 1px solid rgb(177 190 201);
    padding-left:15px;
    margin-left: 10px;
}

.products-content {
    background:transparent;
    border:none;
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 cột bằng nhau */
    gap: 20px;
}


/* 1 */
/* ==========================================================
   SẢN PHẨM TƯƠNG TỰ
   ========================================================== */

.products_similar {
    position: relative;
    width: 100%;
    z-index: 100;
    margin-top: 35px;
}

/* Khung slider */
.products_similar .products-slider {
    position: relative;
    width: 100%;
    overflow: visible;
    z-index: 100;
}

/* Danh sách sản phẩm */
.products_similar .products-content {
    display: flex;
    flex-wrap: nowrap;

    gap: 20px;

    width: 100%;
    box-sizing: border-box;

    overflow-x: hidden;
    overflow-y: visible;

    scroll-behavior: smooth;

    scroll-snap-type: none;

    position: relative;
    z-index: 1;

    padding: 10px 45px 20px 45px;

    scrollbar-width: none;
}

.products_similar .products-content::-webkit-scrollbar {
    display: none;
}

/* ==========================================================
   MỖI SẢN PHẨM
   ========================================================== */

.products_similar .products-item {
    flex: 0 0 calc((100% - 100px) / 5);

    width: calc((100% - 100px) / 5);

    min-width: 0;

    flex-shrink: 0;

    box-sizing: border-box;

    position: relative;

    z-index: 2;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* Hover sản phẩm */
.products_similar .products-item:hover {
    transform: translateY(-3px);

    z-index: 5;
}

/* ==========================================================
   NÚT TRÁI / PHẢI
   ========================================================== */

.products_similar .products-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 24px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    isolation: isolate;
}

/* Nút trái */
.products_similar .products-slider-prev {
    left: 5px;
}

/* Nút phải */
.products_similar .products-slider-next {
    right: 5px;
}

/* Hover nút */
.products_similar .products-slider-btn:hover {
    background: #f1f1f1;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.35);

    z-index: 10000;
}

/* ==========================================================
   KHÔNG CHO SẢN PHẨM CHE NÚT
   ========================================================== */



/* ==========================================================
   RESPONSIVE
   ========================================================== */



@media (max-width: 600px) {

    .products_similar .products-content {
        gap: 15px;

        padding-left: 40px;
        padding-right: 40px;
    }

    .products_similar .products-slider-btn {
        width: 34px;
        height: 34px;

        font-size: 20px;
        line-height: 32px;
    }

    .products_similar .products-slider-prev {
        left: 2px;
    }

    .products_similar .products-slider-next {
        right: 2px;
    }
}


/* 2 */


.products-item {
    background: #fff;
    border: 1px solid #ccc;
    padding: 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    position: relative;
    transition: 0.25s;
    flex-direction: column;
}


.products-item > .add-cart {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.products-item > .add-cart:hover {
    color: #4481bb;
}



.products-item button {
    text-align: left;
    font-weight: normal;
    background: none;
    border: none;
    margin-bottom: 5px;
    color: rgb(68, 129, 187);
    font-size: 15px;
}

.products-item button:hover {
    color: red;
    cursor: pointer;
    background: none;
}

.products-description{
    background: none;
}

.products-bar {
    list-style: none;
    display: flex;
    margin: 0px;
    padding: 0px;
}

.products-bar > div:hover {
    cursor: pointer;
}

.products-bar > div {
    border: 1px solid rgb(68, 129, 187);
    border-bottom: none;
    color: rgb(68, 129, 187);
    padding: 5px 5px;
    margin: 0;
    width: fit-content;
    background: none;
    border-radius: 5px 5px 0 0;
}

.products-bar > div:first-child {
    color: #fff;
    padding: 5px 5px;
    margin: 0;
    width: fit-content;
    background: rgb(68, 129, 187);
    border-radius: 5px 5px 0 0;
}


.products-description > .content-description {
    text-align: justify;
    line-height: 1.8;
    font-size: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
}


.content-description, .content-specification, .content-catalog {
    border: 1px solid rgb(68, 129, 187);
    background: none;
    margin: 0px;
    padding: 10px;
}

.content-specification, .content-catalog {
    display: none;
}

.products-description > .specification-item {
    text-align: justify;
    line-height: 1.8;
    font-size: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.products-description > .catalog-item {
    text-align: justify;
    line-height: 1.8;
    font-size: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.products-item:hover {
    border-color: rgb(68,129,187);
    transform: translateY(-3px);
}

.products-item a {

    text-decoration:none;

    color:rgb(68,129,187);

    display:flex;

    width:100%;

    height:auto;

    flex-direction:column;

    align-items: center;

}


.products-item:hover a:visited {
    color: #e44949;      
}

.products-item a:visited {
color: rgb(68, 129, 187);
}

.products-item img {

    width:65%;

    aspect-ratio:1 / 1;

    object-fit:contain;

    display:block;
    
    padding-top: 30px;


}

/* ========================================
   DANH SÁCH TÀI LIỆU
======================================== */

.catalog-file {
    margin-bottom: 10px;
    background: transparent;
}


/* ========================================
   HEADER TÀI LIỆU
======================================== */

.catalog-file-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 8px 0;
    margin: 0;

    background: transparent;
}


/* ========================================
   TÊN FILE
======================================== */

.catalog-file-name {
    flex: 1;
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 14px;
    font-weight: 600;
    color: rgb(68, 129, 187);

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    background: transparent;
}


/* ========================================
   ICON TÀI LIỆU
======================================== */

.catalog-file-name::before {
    content: "📄";

    flex-shrink: 0;

    font-size: 18px;
    line-height: 1;
}


/* ========================================
   NHÓM NÚT
======================================== */

.catalog-file-actions {
    display: flex;
    align-items: center;
    gap: 8px;

    flex-shrink: 0;
}


/* ========================================
   NÚT CHUNG
======================================== */

.catalog-view-btn,
.catalog-download-btn {
    width: 28px;
    height: 28px;

    min-width: 28px;
    min-height: 28px;

    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border-radius: 5px;
    background: transparent;

    cursor: pointer;
    text-decoration: none;

    font-size: 15px;
    line-height: 1;

    transition:
        transform 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


/* NÚT XEM - XANH */

.catalog-view-btn,
.catalog-view-btn:visited {
    color: rgb(68, 129, 187) !important;
    border: 1px solid rgb(68, 129, 187) !important;
}

.catalog-view-btn:hover {
    color: rgb(30, 90, 150) !important;
    border-color: rgb(30, 90, 150) !important;
    transform: scale(1.2);
}


/* NÚT TẢI VỀ - ĐỎ */

.catalog-download-btn,
.catalog-download-btn:visited {
    color: #dc2626 !important;
    border: 1px solid #dc2626 !important;
}

.catalog-download-btn:hover {
    color: #dc2626 !important;
    border-color: #dc2626 !important;
    transform: scale(1.2);
}


/* ========================================
   KHUNG XEM PDF
======================================== */

.catalog-pdf-viewer {
    display: none;

    margin-top: 8px;
    padding: 0;

    background: transparent;
}


/* ========================================
   PDF IFRAME
======================================== */

.catalog-pdf-viewer iframe {
    display: block;

    width: 100%;
    height: 800px;

    padding: 0;
    margin: 0;

    border: 0;
    outline: none;

    background: transparent;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .catalog-file-header {
        gap: 10px;
        padding: 6px 0;
    }

    .catalog-file-name {
        gap: 8px;
        font-size: 13px;
    }

    .catalog-file-name::before {
        font-size: 16px;
    }

    .catalog-file-actions {
        gap: 6px;
    }

    .catalog-view-btn,
    .catalog-download-btn {
        width: 28px;
        height: 28px;

        min-width: 28px;
        min-height: 28px;

        font-size: 15px;
    }

    .catalog-pdf-viewer iframe {
        height: 550px;
    }

}


.pagination{
    margin:30px 0;
    display:flex;
    justify-content:center;
    gap:8px;
    flex-wrap:wrap;
}

.pagination a{
    display:inline-block;
    padding:8px 14px;
    border:1px solid #4481bb;
    border-radius:4px;
    color:#4481bb;
    text-decoration:none;
}

.pagination a.active{
    background:#4481bb;
    color:#fff;
}

.pagination a:hover{
    background:#4481bb;
    color:#fff;
}

.content {
    color: rgb(68, 129, 187);
    border: none;
    padding: 0;
    background: transparent;
    margin: 0 100px;
}



.content table {
    width: 100%;
    background: rgb(248 248 255);
    border: none;
    margin-top: 10px;
    border-collapse: collapse;
}

.content tr {
    display: flex;
    width: 100%;
    border-bottom: 1px solid rgb(172, 172, 180);
}

.content tr > td:nth-child(odd) {
    min-width: 200px;
    width: auto;
}

.content tr > td:nth-child(even) {
    width: 100%;
}

.content tr > td:nth-child(even) > .submit-code{
    margin: 0;
    padding: 0;
}

.content tr:last-child {
    border-radius: 0 0 15px 15px;
}

#code {
    white-space: nowrap !important;
}

#code #partnumber {
    display: inline !important;
    white-space: nowrap !important;
}

#code button.submit-code {
    display: inline-block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    margin: 0 3px !important;
}

.content th {
    width: 100%;
    display: flex;
    justify-content: space-between;
    background: rgb(232 232 232);
    border-radius: 15px 15px 0 0;
    padding: 15px 30px;
    text-align: left;
    font-weight: 800;
}

.content td {
    padding: 15px 30px;
}


.content button:disabled {
    background: rgb(211 211 211);
    color: #aaa;
    pointer-events: none;
}

.content button {
    padding: 4px 10px 4px 10px;
    width: auto;
    background: rgb(173 216 230);
    border-radius: 30px;
    font-weight: 800;
    color: #339;
    border: 1px solid #339;
}

.content button:hover {
    background: rgb(0 104 139);
    color: #fff;
}




#complete:disabled {
    background: rgb(211 211 211);
    color: #aaa;
}


input#part_number {
    text-transform: uppercase;
    padding-left: 20px;
    height: 17px;
    width: 300px;
    border-radius: 7px;
    color: #339;
    border: 1px solid #339;
    margin: 0 20px 10px 0;
}

/* Bộ lọc sản phẩm */
.filter-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-box input[type="text"] {
    width: 100%;
    height: 35px;
    box-sizing: border-box;
    padding: 0 12px;
    border-radius: 5px;
    border: 1px solid rgb(68,129,187);
    color: rgb(68,129,187);
}

/* Select trong bộ lọc */
.filter-box select {
    height: 35px;
    min-width: 180px;
    width: auto;
    flex: 1;
    padding: 5px 10px;
    margin: 0;
    box-sizing: border-box;

    border-radius: 5px;
    border: 1px solid rgb(68,129,187);
    color: rgb(68,129,187);
    background: #fff;
    outline: none;
}



/* Nút lọc */
.filter-box button {
    height: 35px;
    padding: 5px 15px;

    background: rgb(68,129,187);
    color: #fff;

    border: none;
    border-radius: 5px;

    cursor: pointer;
}


/* Link xoá */
.filter-box .clear-filter {
    height: 35px;
    padding: 5px 15px;

    display: flex;
    align-items: center;

    background: rgb(68,129,187);
    color: #fff !important;

    border-radius: 5px;
    text-decoration: none;

    box-sizing: border-box;
}


.filter-box button:hover,
.filter-box .clear-filter:hover {
    background: rgb(31,97,173);
}



.content select {
    height: 25px;
    width: 600px;
    margin-top: 10px;
    padding-left: 20px;
    border-radius: 20px;
    color: #339;
    border: 1px solid #339;
    outline: none;
}

option:disabled {
    color: rgb(105, 105, 109);
}

.select-error {
    box-shadow: 0px 0px 3px 3px rgba(223, 87, 87, 0.418);
    height: 25px;
    width: 600px;
    margin-top: 10px;
    ;
    padding-left: 20px;
    border-radius: 20px;
    color: rgb(240, 16, 16);
    border: 1px solid rgb(226, 57, 57);
}

option {
    color: #339;
    border: 1px solid #339;
    background-origin: #ddd;
}

.products-detail {
    background: none;
    border: none;
    display: flex;
}

.products-img {
    width: 300px;
    height: 300px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
    border-radius: 8px;
}


.products-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.products-img:hover img {
    transform: scale(2);
}

.products-info {
    margin-left: 30px;
}

/* =========================================================
   SẢN PHẨM TƯƠNG TỰ
========================================================= */




/* =========================================================
   TIÊU ĐỀ
========================================================= */

.products-similar-title {
    width: 100%;

    margin-bottom: 15px;

    font-size: 20px;

    font-weight: 600;

    line-height: 1.5;

    color: #333;
}


/* =========================================================
   WRAPPER
========================================================= */

.products-similar-wrapper {
    position: relative;

    width: 100%;

    display: flex;

    align-items: center;
}


/* =========================================================
   DANH SÁCH
========================================================= */

.products-similar-list {
    width: 100%;

    display: flex;

    gap: 15px;

    overflow: hidden;

    scroll-behavior: smooth;
}


/* =========================================================
   TỪNG SẢN PHẨM
========================================================= */

.products-similar-item {

    flex: 0 0 calc(
        (100% - 75px) / 6
    );

    min-width: 0;

    box-sizing: border-box;
}


/* =========================================================
   LINK
========================================================= */

.products-similar-link {

    display: block;

    width: 100%;

    height: 100%;

    box-sizing: border-box;

    text-decoration: none;

    color: inherit;

    background: #fff;

    border: 1px solid #ddd;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.products-similar-link:hover {

    transform: translateY(-3px);

    border-color: rgb(68, 129, 187);

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   HÌNH ẢNH
========================================================= */

.products-similar-image {

    width: 100%;

    aspect-ratio: 1 / 1;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background: #fff;
}


.products-similar-image img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    display: block;
}


/* =========================================================
   THÔNG TIN
========================================================= */

.products-similar-info {

    padding: 10px;
}


/* =========================================================
   TÊN
========================================================= */

.products-similar-name {

    font-size: 15px;

    font-weight: 600;

    line-height: 1.4;

    min-height: 42px;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   MÃ SẢN PHẨM
========================================================= */

.products-similar-code {

    margin-top: 5px;

    font-size: 13px;

    line-height: 1.4;

    color: #666;
}


/* =========================================================
   NHÀ SẢN XUẤT
========================================================= */

.products-similar-brand {

    margin-top: 3px;

    font-size: 13px;

    line-height: 1.4;

    color: #666;
}


/* =========================================================
   GIÁ
========================================================= */

.products-similar-price {

    margin-top: 8px;

    font-size: 14px;

    font-weight: 600;

    color: #d00;
}


/* =========================================================
   NÚT NEXT / PREV
========================================================= */

.products-similar-prev,
.products-similar-next {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 36px;

    height: 55px;

    padding: 0;

    border: none;

    background: rgba(
        255,
        255,
        255,
        0.95
    );

    box-shadow:
        0 2px 8px rgba(
            0,
            0,
            0,
            0.18
        );

    cursor: pointer;

    z-index: 5;

    font-size: 24px;

    color: #444;

    display: flex;

    align-items: center;

    justify-content: center;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.products-similar-prev:hover,
.products-similar-next:hover {

    background: rgb(
        68,
        129,
        187
    );

    color: #fff;
}


.products-similar-prev {
    left: -18px;
}


.products-similar-next {
    right: -18px;
}




.info-row {
    display: flex;
    margin-bottom: 10px;
}

.info-label {
    width: 140px;       /* Điều chỉnh theo ý muốn */
    font-weight: bold;
    flex-shrink: 0;
}

.info-value {
    flex: 1;
}

.order {
    padding-left: 30px;
}

i.note {
    margin-top: 5px;
    padding-left: 0;
    padding-right: 10px;
}



.orderCode > .central > input {
    border-top: 1px solid #339;
    border-bottom: 1px solid #339;
    border-left: none;
    border-right: none;
    border-radius: 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    margin: 0;
    padding: 5px 0;
    background: none;
    color: rgb(74, 81, 175);
    cursor: default;
    max-width: 20px;
}

#wrapper {
    display: flex;
    justify-content: center;
    justify-items: center;
}

#wrapper h1 {
    text-align: center;
}

.feedback {
    text-align: center;
}

.content .wrapper {
    justify-content: left;
    justify-items: left;
    padding: 0 20px;
}

.content .wrapper #header {
    font-weight: 600;
    border-radius: 5px;
    background: rgb(197, 197, 211);
    margin: 0;
    padding: 10px;
    display: flex;
}

.content .wrapper .view-codes {
  width: 100%;
  margin: 0; /* Đảm bảo không bị trừ ra khỏi chiều ngang */
  box-sizing: border-box; /* Tính cả padding + border trong width */
}

.content .wrapper .ordering {
  width: 100%;
  margin: 0; /* Đảm bảo không bị trừ ra khỏi chiều ngang */
  box-sizing: border-box; /* Tính cả padding + border trong width */
}

.orderCode .central {
    display: flex;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: left;
    justify-items: left;
}



.ordering .central {
    display: block;
    justify-content: left;
    justify-items: left;
    text-align: left;
    margin: 0;
    border: 1px solid rgb(194, 192, 192);
    margin-top: 5px;
}

.BIO-select .central {
    display: block;
    justify-content: left;
    justify-items: left;
    text-align: left;
    margin-left: 20px;
    margin-right: 20px;
    border: 1px solid rgb(194, 192, 192);
    border-top: none;
}

.manipulation {
    height: 30px;
    display: flex;
}


.BIO-select > .central > .option > input {
    margin: 0;
    padding: 0;
    width: auto;
    cursor: default;
}

.ordering > .central > .option {
    padding: 5px 0 5px 15px;
    display: flex;
    align-items: center;    
    width: 100%;
    box-sizing: border-box;
}

.BIO-select > .central > .option {
    padding: 0 0 0 15px;
    display: flex;
}

.ordering > .central > .option:hover {
    color: #fff;
    background: rgba(109, 156, 209, 0.726);
}

.ordering > .central > .option > input {
    margin: 0;
    padding: 0;
    min-width: 13px;
    width: 13px;
    height: auto;
    cursor: default;
}

.option > .text {
    padding: 5px;
    pointer-events: none;
}

.BIO-select > .central > .option > .text {
    padding: 5px 10px;
    pointer-events: none;
    border-right: 1px solid #aaa;
    width: 25px;
    color: #339;
}


.title-function {
    display: flex;
}

.title-function > h3 {
    color: #339;
    border-right: 1px solid #aaa;
    padding: 5px 5px;
    margin: 0;
    font-size: 13px;
}

.title-function > h3:nth-child(1) {
    text-align: center;
    width: 63px;
}

.title-function > h3:nth-child(2) {
    text-align: center;
    width: 90px;
}

.title-function > h3:nth-child(3) {
    text-align: center;
    width: 90px;
}

.title-function > h3:last-child {
    border-right: none;
}

div.view-codes.pin {
    padding: 0 120px;
}

div.pin {
    margin: 0 100px;
    left: 0;
    top: 88px;
    width: -webkit-fill-available;
    background: #fff;
    border-bottom: 1px solid rgb(194, 192, 192);
    position: fixed;
}

.padding-top {
    padding-top: 205px;
}

.close-table {
    display: flex;
    justify-content: right;
    justify-items: right;
    margin: 0;
    padding: 0 20px 0 0;
    background: none;

}

.close-table > button {
    background: none;
    border: none;
    outline: none;
    font-size: 30px;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.close-table > button:hover {
    background: none;
}

.close-table > button > i {
    margin: 0;
    padding: 0;
}

.close-table > button > i:hover {
    color: #339;
}

button.submit-code {
    display: flex;
    height: 30px;
    width: auto;
    margin-top: 5px;
    padding: 0 10px 0 10px !important;
    margin-left: 20px;
    border: none;
    text-align: center;
    align-items: center;
    background: none;
    cursor: pointer;
}

button > i.fa-solid.fa-copy {
    color: #109c46;
    margin-right: 5px;
}

button > i.fa-solid.fa-file-pdf {
    color: #051341;
    margin-right: 5px;
}

button > i.fa-solid.fa-eraser {
    color: #e44949;
    margin-right: 5px;
}

button > i.fa-solid.fa-cart-shopping {
    color: #e44949;
    margin-right: 5px;
}


button.copyAll {
    color: #109c46;
}

button.clearAll {
    color: #e44949;
}



.table-select {
    justify-content: center;
    justify-items: center;
}

.table-columns > .option > input {
    height: 13px;
}

.table-select > .table-columns {
    border: 1px solid #339;
    width: auto;
    border-right: none;
    padding: 0;
}

.table-columns > .option {
    border-top: 1px solid #339;
    display: flex;
    height: 22px;
}



.table-columns > .option > .text {
    color: rgb(68, 129, 187);
    font-size: 12px;
}


.table-select > .table-columns:last-child {
    border-right: 1px solid #339;
}

.table-select > .table-columns > h3 {
    margin: 0 5px;
    padding: 10px 0;
    text-align: center;
    height: auto;
    font-weight: 600;
    font-size: 12px;
}





button.submit-code:hover {
    color: #fff;
    background: rgb(68, 129, 187);
}

button.submit-code:hover > i {
    color: #fff;
}

button#selection_IEDs {
    border-radius: 5px 0 0 5px;
    border: 1px solid #339;
    background: none;
    cursor: pointer;
    position: relative;
}

button#selection_IEDs:hover {
    background: rgb(68, 129, 187);
}

button#selection_IEDs > i {
    color: #339;
}

button#selection_IEDs:hover > i {
    color: #fff;
}

.dropDown {
    top: 292px;
    left: 115px;
    display: flex;
    flex-direction: column;
    position: absolute;
}

#dropDown-Container {
    background: rgb(243 244 245);
    height: 20px;
    width: 20px;
    border: 1px solid #339;
    border-right: none;
    border-bottom: none;
    transform: rotate(45deg);
    z-index: 2;
    position: relative;
    left: 20px;
}

#dropDown-Contents {
    padding-top: 15px;
    width: auto;
    top: 10px;
    background: rgb(243 244 245);
    border: 1px solid #339;
    display: flex;
    flex-direction: column;
    position: absolute;
    border-radius: 5px;
}

#dropDown-Contents > button {
    cursor: pointer;
    background: none;
    padding: 5px 20px;
    border-radius: 0;
    border: none;
}

#dropDown-Contents > button:hover {
    background: rgb(68, 129, 187);
}

#dropDown-Contents > button:nth-child(odd) {
    background: rgb(227, 228, 228);
}

#dropDown-Contents > button:nth-child(odd):hover {
    background: rgb(68, 129, 187);
}

#dropDown-Contents > button:last-child {
    border-radius: 0 0 5px 5px;
}





.orderCode > .central > input::placeholder {
    color: rgb(184, 185, 199);
}

.orderCode > .central > input:first-child {
    border-radius: 5px 0 0 5px;
    border-left: 1px solid #339;
}


.orderCode > .central > input:last-child {
    border-right: 1px solid #339;
    border-radius: 0 5px 5px 0;
}

div.table-functions {
    left: 0;
    position: fixed;
    background: rgba(15, 61, 104, 0.555);
    color: #fff;
    margin: 0;
    padding: 0 0 50px 0;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    justify-items: center;
    overflow: scroll;
}

div.BIO-select {
    margin-top: 50px;
    box-shadow: 0 0 5px 5px rgb(105 151 204 / 66%);
    background: rgb(200, 214, 223);
    color: #fff;
    display: flex;
    width: fit-content;
    flex-direction: column;
    height: fit-content;
    padding: 20px;
}


input:disabled~.text {
    color: #aaa;
}

/*.wrapper .view-codes .hr {
    margin: 0 20px;
    border: none;
    outline: none;
    content: "";
    height: 3px;
    background: rgb(68, 129, 187);
}*/
.hr {
    margin: 0;
    border: none;
    outline: none;
    content: "";
    height: 3px;
    background: rgb(68, 129, 187);
    width: 100%;
    box-sizing: border-box;
}

.BIO-select .hr {
    margin: 0;
    border: none;
    outline: none;
    content: "";
    height: 3px;
    background: rgb(68, 129, 187);
}


.table-BIO1x {
    display: none;
}

.table-BIO2x {
    display: none;
}

.table-BIO3x {
    display: none;
}

.table-BIO4x {
    display: none;
}

.table-BIO5x {
    display: none;
}

.table-BIO6x {
    display: none;
}

.table-BIO7x {
    display: none;
}

.table-BIO8x {
    display: none;
}

.table-communication {
    display: none;
}


.table-select > .table-columns > .option:hover {
    color: #fff;
    background: rgba(109, 156, 209, 0.726);
}






.table-select tr:last-child > td {
    border-bottom: 1px solid #339;
}



.table-select table tr td i {
    color: rgb(68, 129, 187);
    font-size: 10px;
    margin: 0;
    padding: 0;
}



.table-function-sw table tr td sup {
    font-size: 9px;
}

.table-select table,
.table-select th,
.table-select td {
    background: none;
    border-spacing: 0;
    color: rgb(68, 129, 187);
}

.table-select th {
    border: 1px solid #339;
    margin: 0;
    padding: 5px;
    border-bottom: none;
    border-left: none;
    font-size: 11px;
}

.table-select tr > td.description {
    text-align: left;
    padding: 5px;
    
}


.table-select th:first-child {
    border-left: 1px solid #339;
}



.table-select td {
    border: 1px solid #339;
    padding: 0;
    margin: 0;
    text-align: center;
    border-bottom: none;
    border-left: none;
    cursor: default;
    font-size: 11px;
}



/* Communication */


.table-select tr td .option {
    display: flex;
    width: auto;
    text-align: center;
    padding: 0 5px;
}

.table-select tr td .option input {
    width: 12px;
}




.hw-table-communication tr > td:nth-child(2),
.hw-table-communication tr > td:nth-child(3) {
    padding: 0 10px;
    text-align: left;
}


.table-hover tr:hover {
    color: #fff;
    background: rgba(109, 156, 209, 0.726);
}



.table-function-sw td .option:hover {
    color: #fff;
    background: rgba(109, 156, 209, 0.726);
}

.table-select td:first-child {
    border-left: 1px solid #339;
}

.table-select table tr th {
    background: rgb(103, 151, 185);
    pointer-events: none;
    height: fit-content;
    color: #fff;
}


/*
   Vertical text
   by @kizmarh
*/
.vertical-text {
    display: inline-block;
    overflow: hidden;
    width: 1.5em;
}

.vertical-text__inner {
    display: inline-block;
    white-space: nowrap;
    line-height: 1.5;
    transform: translate(0, 100%) rotate(-90deg);
    transform-origin: 0 0;
}

/* This element stretches the parent to be square
by using the mechanics of vertical margins  */
.vertical-text__inner:after {
    content: "";
    display: block;
    margin: -1.5em 0 100%;
}


/* Copy */

.copied {
    background: rgba(101, 189, 61, 0.945);
    box-shadow: 0 0 5px 5px rgba(206, 240, 192, 0.959);
}

.copy-erro {
    background: rgb(216, 72, 72);
    box-shadow: 0 0 5px 5px rgba(240, 192, 192, 0.959);
}

.copied,
.copy-erro {
    border: none;
    border-radius: 5px;
    width: fit-content;
    height: auto;
    margin: 0 10px 0 0;
    padding: 5px;
    align-items: center;
    display: none;
    color: #fff;
    position: fixed;
    z-index: 10;
    top: 100px;
    right: 10px;
    pointer-events: none;
}

.copied i,
.copy-erro i {
    font-size: 20px;
    color: #fff;
    pointer-events: none;
}

@media all and (max-width: 1800px) {
    .products-content {
        grid-template-columns: repeat(5, minmax(0, 1fr)); /* 6 cột bằng nhau */
    }
}

@media all and (max-width: 1650px) {
    .products-content {
        grid-template-columns: repeat(4, minmax(0, 1fr)); /* 6 cột bằng nhau */
    }

    
    .products_similar .products-item {
        flex: 0 0 calc((100% - 60px) / 4);
        width: calc((100% - 60px) / 4);
    }
}

@media all and (max-width: 1500px) {
    .products_similar .products-item {
        flex: 0 0 calc((100% - 60px) / 3);
        width: calc((100% - 60px) / 3);
    }
}


/* Mobile interface */

@media all and (max-width: 1000px) {
    body {
        padding: 100px 0 0 0;
    }

    /* 
    img.logo_ieds {
        display: block;
        width: 70%;
        height: auto;

    } */

    .content {
        margin: 0;
    }

    #menu {
        display: none;
        grid-area: menu;
    }

    #account {
        display: none;
        grid-area: account;
    }

    #login {
        max-width: 350px;
        width: 70%;
    }

    #bar {
        background-color: rgb(68, 129, 187);
        justify-content: left;
        height: 50px;
        width: 100%;
        top: 0;
        margin-bottom: auto;
        display: flex;
        position: fixed;
        z-index: 3;
    }

    #button-bar {
        border-radius: 0;
        cursor: pointer;
        display: flex;
        width: 50px;
        height: auto;
        padding: 0 10px;
        background: rgb(68, 129, 187);
        border: none;
        outline: none;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    #button-bar::before {
        position: absolute;
        content: "";
        background-color: white;
        height: 2px;
        width: 30px;
        transform: translateY(-5px);
        text-align: center;
        transition: 0.25s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    }

    #button-bar::after {
        position: absolute;
        content: "";
        background-color: white;
        height: 2px;
        width: 30px;
        transform: translateY(5px);
        text-align: center;
        transition: 0.25s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    }

    #button-bar.open {
        background-color: rgb(68, 129, 187);
    }

    #button-bar.open::before {
        transform: rotate(45deg);
    }

    #button-bar.open::after {
        transform: rotate(-45deg);
    }


    i.fa-solid.fa-bars {
        cursor: pointer;
        font-size: 30px;
        margin: 0;
        padding: 10px 15px;
    }

    ul#main-menu {
        padding: 0;
    }

    #main-account {
        margin-right: 0;
    }

    select {
        width: 100%;
    }

    .select-error {
        width: 100%;
    }

    input#part_number {
        width: auto;
    }

    tr > td:nth-child(odd) {
        min-width: auto;
        width: 100%;
    }

    tr > td:nth-child(even) {
        min-width: auto;
        width: 100%;
    }


    

    /* Mobile menu */


    .header.top {
        width: 100%;
        height: 50px;
        border: none;
        top: 0;
        background: #fff;
        margin-left: 50px;
        position: fixed;
        display: flex;
        
    }

    #header-user {
        margin-left:auto;
        justify-content:flex-end;
        width:auto;
        background: #fff;
    }

        
    .cart > i {
        color: rgb(68, 129, 187);
    }
    
    .content-cart-list {
        padding: 0 15px;
    }

    .cart-table {
        width:100%;
        table-layout:fixed;
        font-size:11px;
    }


    .cart-table th,
    .cart-table td {
        padding:5px;
        overflow:hidden;
        word-break:break-word;
        white-space:normal;
    }

    /* bỏ toàn bộ kích thước cột desktop */
    .cart-table th:nth-child(n),
    .cart-table td:nth-child(n){
        width:auto !important;
        min-width:0 !important;
        max-width:none !important;
    }


    /* chia lại tỷ lệ cột */
    .cart-table th:nth-child(1),
    .cart-table td:nth-child(1){
        width:30% !important;
        text-align:left;
    }


    .cart-table th:nth-child(2),
    .cart-table td:nth-child(2){
        width:10% !important;
        white-space: normal;
    }


    .cart-table th:nth-child(3),
    .cart-table td:nth-child(3){
        width:8% !important;
    }


    .cart-table th:nth-child(4),
    .cart-table td:nth-child(4){
        width:10% !important;
    }


    .cart-table th:nth-child(5),
    .cart-table td:nth-child(5){
        width:15% !important;
    }


    .cart-table th:nth-child(6),
    .cart-table td:nth-child(6){
        width:5% !important;
    }


    .cart-table th:nth-child(7),
    .cart-table td:nth-child(7){
        width:15% !important;
    }

    
    .cart-table th:nth-child(8),
    .cart-table td:nth-child(8){
        width:7% !important;
    }



    .cart-product{
        display:flex;
        align-items:center;
        gap:12px;
        min-width:0;
        width:100%;
        text-align:left;
    }

    /* thu nhỏ ảnh */
    .cart-product img{
        width:35px;
        height:35px;
    }

    .cart-product span{
        font-size:10px;
    }




    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item img {
        width: 80px;
        height: 80px;
    }

    .cart-total {
        text-align: left;
    }


    .logo {
        background: #fff;
        grid-area: logo;
        height: 50px; /* hoặc tự cao theo #account */
        width: fit-content;
        max-width:180px;
        padding: 0px 0px 0px 20px;
        display: flex;
        align-items: center;
    }

    .logo a {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .logo img {
        height: 45px;
        width: auto;
        display: block;
        position: relative;
        z-index: 1000;
    }



    #mobile-menu {
        width: 100%;
        height: 100%;
        position: fixed;
        display: none;
        background: #fff;
        padding: 0;
        top: 50px;
        z-index: 2;
        overflow: auto;
    }

    .block {
        display: none;
    }

    #mobile-menu #mm-menu {
        padding: 10px 20px;
        width: auto;
        margin: 0 0 50px 0;
        display: flex;
        flex-direction: column;
    }

    #mobile-menu #mm-menu button {
        text-transform: none;
        outline: none;
        display: flex;
        width: 100%;
        cursor: pointer;
        padding: 10px 15px;
        margin: 0;
        text-align: left;
        justify-content: space-between;
        color: rgb(137, 146, 155);
        border: none;
        border-radius: 0;
        background: none;
        font-weight: 700;
        font-size: 15px;
        border-bottom: 1px solid rgb(187, 180, 180);
    }

    #mobile-menu #mm-menu > button:last-child {
        border-bottom: 0;
    }


    #mobile-menu #mm-menu a {
        text-transform: none;
        width: auto;
        display: flex;
        padding: 10px 15px;
        color: rgb(137, 146, 155);
        text-decoration: none;
        font-weight: 700;
        font-size: 15px;
        border-bottom: 1px solid rgb(187, 180, 180);
    }

    button.has-child::after {
        color: #aaa;
        content: "";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\2b";
    }

    button:hover {
        background: rgba(50, 63, 182, 0.932);
        color: white;
    }

    #mobile-menu #mm-menu button:hover {
        background: rgba(219, 219, 223, 0.932);
        color: rgb(68, 129, 187);
    }

    #mobile-menu #mm-menu a:hover {
        background: rgba(219, 219, 223, 0.932);
        color: rgb(68, 129, 187);
    }

    .mhas-child > .fa-solid.fa-plus {
        color: rgb(129, 129, 158);
    }

    #mobile-menu #infomation {
        top: 49px;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0 15px;
        height: 100vh;
        width: auto;
        position: absolute;
        flex-direction: column;
        display: none;
        background: rgb(200, 214, 223);
    }

    #mobile-menu #infomation h1 {
        color: rgb(68, 129, 187);
        font-size: 20px;
        margin: 0;
        padding: 5px 15px;
    }


    #mobile-menu #infomation h2 {
        display: flex;
        font-weight: 100;
        color: rgb(68, 129, 187);
        font-size: 16px;
        margin: 0;
        padding: 5px 30px;
    }

    #mobile-menu #maccount {
        display: flex;
        justify-content: space-evenly;
        padding: 5px 10px;
        position: relative;
        border-bottom: 1px solid #aaa;
    }

    #maccount button {
        border: none;
        background: none;
        outline: none;
        border-radius: 0;
        cursor: pointer;
    }

    #maccount button > i {
        color: rgb(68, 129, 187);
    }

    #maccount button > i:hover {
        color: rgba(50, 63, 182, 0.932);
    }

    #maccount > button > .fa-solid.fa-circle-user {
        margin: 0;
        padding: 0;
    }

    #maccount a {
        color: rgb(68, 129, 187);
    }

    #maccount a:visited {
        color: "";
    }

    #maccount a:hover {
        color: rgba(50, 63, 182, 0.932);
    }

    #maccount button > i.fa-solid.fa-right-from-bracket {
        font-size: 20px;
    }

    #maccount button > i.fa-solid.fa-right-to-bracket {
        font-size: 20px;
    }


    div.BIO-select {
        margin-left: 0;
        margin-right: 0;
    }

    div.pin {
        margin: 0;
        top: 50px;
        padding: 0 100px;
    }



    /* Table function */

    .note > h3 {
        font-size: 13px;
    }


    .table-columns > .option > .text {
        font-size: 9px;
    }

    .table-select > .table-columns > h3 {
        font-size: 9px;
        height: 15px;
    }

    .table-columns > .option {
        height: 20px;
    }

    h5 {
        font-size: 9px;
    }



    .table-select tr:first-child {
        padding: 5px;
    }


    .table-select tr > td,
    .table-select tr > th {
        width: auto;
    }

    .table-select th {
        border: 1px solid #339;
        margin: 0;
        padding: 5px;
        border-bottom: none;
        border-left: none;
    }

    .table-function-sw tr > td,
    .table-function-sw tr > th {
        font-size: 9px;
        width: auto;
    }

    .table-function-sw table tr td i {
        color: rgb(68, 129, 187);
        font-size: 6px;
        padding: auto;
    }

    .table-function-sw table tr td sup {
        font-size: 9px;
    }

    .table-function-sw tr td .option input {
        width: 10px;
    }

    .table-function-sw tr td .option {
        display: block;
        padding: 0;
    }

    div.view-codes.pin {
    padding: 0 20px;
    }


    .dropDown {
        top: 242px;
        left: 15px;
    }   

    .main-content{        
        margin: 0;
    }
    .sidebar {
        display: none;
    }

    .right-content {
        background:transparent;
        border: none;
        padding-left:15px;
        padding-right:15px;
        margin-left: 0;
    }
    

    .products-item {
        background: #fff;
        border: 1px solid #ccc;
        padding: 0;
        text-align: center;
        overflow: hidden;
        display: flex;
        position: relative;
        transition: 0.25s;
    }

    
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1450px) {

    .products-similar-item {

        flex-basis: calc(
            (100% - 45px) / 4
        );
    }

    


    .products-content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1200px) {
    
    .products-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products_similar .products-item {
        flex: 0 0 calc((100% - 60px) / 2);
        width: calc((100% - 60px) / 2);
    }

}

@media (max-width: 1000px) {
    

    .products_similar .products-item {
        flex: 0 0 calc((100% - 60px) / 3);
        width: calc((100% - 60px) / 3);
    }
    
    .products-content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 768px) {

    .products-similar-item {

        flex-basis: calc(
            (100% - 15px) / 2
        );        
    }
    

    .products_similar .products-item {
        flex: 0 0 calc((100% - 15px) / 2);
        width: calc((100% - 15px) / 2);
    }

    .products-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-cart-list {
        padding: 0 15px;
    }

    .cart-scroll {
        width: 100%;
        max-height: 400px;
        overflow-x: auto;
        overflow-y: auto;
    }

    .cart-table {
        width: 1000px;
        min-width: 1000px;
    }

}


@media (max-width: 600px) {


    .products_similar .products-item {
        flex: 0 0 calc((100% - 15px) / 1);
        width: calc((100% - 15px) / 1);
    }

    .products-detail {
        flex-direction: column;
    }

    .products-img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .products-info {
        margin: 20px 0;
        width: 100%;
        min-width: 0;
        padding: 0;
    }

    .info-label {
        width: 40%;
    }
    .info-value {
        width: 60%;
    }


}

@media (max-width: 480px) {

    .products-similar-item {

        flex-basis: 100%;
    }

    

    .products-content {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

}


@media print {

    * {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    table, tr, td, div {
        page-break-inside: avoid !important;
    }
}

/* ===== QUẢN LÝ SẢN PHẨM - SQL / PHÂN TRANG ===== */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #ddd;
    flex-wrap: wrap;
}

.products-per-page {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

#product-limit {
    width: 70px;
    box-sizing: border-box;
    padding: 6px 8px;
    text-align: center;
}

.filter-reset {
    height: 25px;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;    
    border: none;
    background: #b9b9b9;
    border-radius: 5px;
    font-size: 14px;
}


.filter-reset:hover {
    background: #9b9b9b;
}

.products-page-info {
    margin: 15px 0 10px;
    text-align: center;
}

.products-empty {
    width: 100%;
    padding: 30px 10px;
    text-align: center;
}
