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

body {
    color: #333;
}

.master-wrapper-page {
    background: #f5f5f7;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap');
html {
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}


/* pagination */

.page-item {
    margin-right: 5px;
}


/* Loader */

.loader-container.unactive {
    opacity: 0;
    pointer-events: none;
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.506);
}

.loader>i {
    font-size: 5rem;
}

@keyframes spin {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}


/* End loader */


/* bỏ dâu tăng số */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}


/* css info */

.master-column-wrapper .side-2 .listbox {
    background: #FFFFFF;
    width: 100%;
    padding: 5px 5px;
}

.master-column-wrapper .side-2 .listbox .active {
    padding: 8px 0 8px 15px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 5px;
    font-size: 15px;
    background: rgba(0, 102, 204, 0.1);
}

.master-column-wrapper .side-2 .listbox .inactive {
    width: 100%;
    font-size: 15px;
    border-radius: 8px;
    color: #1D1D1F;
}

.master-column-wrapper .side-2 .listbox .active {
    color: #0066CC;
}

.master-column-wrapper .center-2 .page-body {
    border-radius: 8px;
}

.buttons,
.add-button {
    margin: 12px 0 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.buttons button {
    background: #0066CC;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    border: none;
    color: #FFFFFF;
    line-height: 21px;
    min-width: 140px;
    padding: 10px 30px;
}

.add-button button {
    background: #0066CC;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    border: none;
    color: #FFFFFF;
    line-height: 21px;
    min-width: 140px;
    padding: 10px 30px;
}

.fieldset input,
span,
option,
.no-data,
.info {
    font-size: 14px;
    color: #777;
}

/* .fieldset select {
    font-size: 14px;
    color: #777;
} */


/* changepassword */

label.luu_y {
    background: #F5F5F7;
    font-weight: 400;
    font-size: 13px;
    padding: 10px;
    border-radius: 8px;
}


/* my-system*/

.cl-your-referral-info h3 {
    font-weight: 700;
    font-size: 15px;
    line-height: 21px;
    color: #1D1D1F;
    text-align: left;
}

.cl-your-referral-info p {
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    background: #F5F5F7;
    border-radius: 8px;
    padding: 8px 12px;
    color: #86868B;
}

.copy-link-button.copied {
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: #0066CC;
}


/* css nút */

.slidebar_list-tem a {
    color: #515154;
    font-size: 18px;
}

.button-navbar-mobie {
    background: none;
}


/* menu */

.header-bg-101 {
    background: linear-gradient(180deg, #141414 0%, #202022 50%, #47474f 100%);
}


/* navbar */

.mse {
    margin-left: 100px;
    margin-right: 100px;
}

.fs-navbar-1 {
    font-size: 10px;
}

.fs-navbar-2 {
    font-size: 12px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: 48px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 12px;
}

.text-price__cart,
.text-variant__cart {
    font-size: 12px;
}


/* Extra small devices (phones, 600px and down) */

@media only screen and (max-width: 480px) {
    .image_product_cart {
        width: 100%;
    }
    .icon-cart {
        margin-top: -7px;
    }
    .hr-line {
        display: none;
    }
    .menu-mobile {
        margin-top: -10px;
    }
    .cart-count-mobile {
        position: absolute;
        top: 10px;
        right: 18px;
        background-color: red;
        color: white;
        border-radius: 50%;
        padding: 2px 2px;
        font-size: 10px;
    }
}


/* Extra small devices (phones, 600px and down) */

@media only screen and (max-width: 600px) {
    .image_product_cart {
        width: 80%;
    }
    /* .icon-menu {
        margin-top: -10px;
    }

    .logo a img{
        display: none;
    } */
    .icon-cart {
        margin-top: -7px;
    }
    .hr-line {
        display: none;
    }
    .menu-mobile {
        margin-top: -10px;
    }
    .cart-count-mobile {
        position: absolute;
        top: 10px;
        right: 18px;
        background-color: red;
        color: white;
        border-radius: 50%;
        padding: 2px 2px;
        font-size: 10px;
    }
    .navbar-nav .mxc {
        float: left;
    }
}


/* Small devices (portrait tablets and large phones, 600px and up) */

@media only screen and (min-width: 600px) {
    /* .icon-menu {
        margin-top: -10px;
    }
    .logo a img{
        display: none;
    } */
    .icon-cart {
        margin-top: -7px;
    }
    .hr-line {
        display: none;
    }
    .menu-mobile {
        margin-top: -10px;
    }
    .input-search-mobile input {
        width: 400px;
    }
    .cart-count-mobile {
        position: absolute;
        top: 10px;
        right: 18px;
        background-color: red;
        color: white;
        border-radius: 50%;
        padding: 2px 2px;
        font-size: 10px;
    }
}


/* Medium devices (landscape tablets, 768px and up) */

@media only screen and (min-width: 768px) {
    /* .icon-menu {
        margin-top: -10px;
    }
    .logo a img{
        margin-left: -431px;
        margin-top: -5px;
    } */
    .icon-cart {
        margin-top: -7px;
    }
    .hr-line {
        display: none;
    }
    .menu-mobile {
        margin-top: -10px;
    }
    .cart-count-mobile {
        position: absolute;
        top: 10px;
        right: 18px;
        background-color: red;
        color: white;
        border-radius: 50%;
        padding: 2px 2px;
        font-size: 10px;
    }
}


/* Large devices (laptops/desktops, 992px and up) */

@media only screen and (min-width: 992px) {
    .icon-menu {
        margin-top: -10px;
    }
    /* .logo a img{
        margin-left: 0px;
        margin-top: -5px;
        display: block;
    } */
    .icon-cart {
        margin-top: -7px;
    }
    .hr-line {
        display: block;
    }
    .input-search {
        margin-left: -50px;
        width: 160px;
        margin-right: -21px;
    }
    .menu-mobile {
        margin-left: 0px;
        margin-top: 0px;
    }
}


/* Extra large devices (large laptops and desktops, 1200px and up) */

@media only screen and (min-width: 1200px) {
    .icon-menu {
        margin-top: 0px;
    }
    /* .logo a img{
        margin-left: 67px;
    } */
    .input-search {
        margin-left: 0px;
        width: 420px;
    }
    .hr-line {
        display: block;
    }
    .menu-mobile {
        margin-top: 0px;
    }
    .mxc {
        margin-right: 25px;
        margin-right: 25px;
    }
    .item-cart {
        margin-left: -15px;
        margin-top: -0px;
    }
}


/* menu */


/* css info */

.master-column-wrapper .side-2 .listbox {
    background: #FFFFFF;
    width: 100%;
    padding: 5px 5px;
}

.master-column-wrapper .side-2 .listbox .active {
    padding: 8px 0 8px 15px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 5px;
    font-size: 15px;
    background: rgba(0, 102, 204, 0.1);
}

.master-column-wrapper .side-2 .listbox .inactive {
    width: 100%;
    font-size: 15px;
    border-radius: 8px;
    color: #1D1D1F;
}

.master-column-wrapper .side-2 .listbox .active {
    color: #0066CC;
}

.master-column-wrapper .center-2 .page-body {
    border-radius: 8px;
}

.buttons,
.add-button {
    margin: 12px 0 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.buttons button {
    background: #0066CC;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    border: none;
    color: #FFFFFF;
    line-height: 21px;
    min-width: 140px;
    padding: 10px 30px;
}

.add-button button {
    background: #0066CC;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    border: none;
    color: #FFFFFF;
    line-height: 21px;
    min-width: 140px;
    padding: 10px 30px;
}


/* changepassword */

label.luu_y {
    background: #F5F5F7;
    font-weight: 400;
    font-size: 13px;
    padding: 10px;
    border-radius: 8px;
}


/* my-system*/

.cl-your-referral-info h3 {
    font-weight: 700;
    font-size: 15px;
    line-height: 21px;
    color: #1D1D1F;
    text-align: left;
}

.cl-your-referral-info p {
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    background: #F5F5F7;
    border-radius: 8px;
    padding: 8px 12px;
    color: #86868B;
}

.copy-link-button.copied {
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: #0066CC;
}


/* css nút */

.slidebar_list-tem a {
    color: #515154;
    font-size: 18px;
}

.button-navbar-mobie {
    background: none;
}


/*  */

.product-image {
    width: 100%;
    margin: 0 auto;
}

.big-img {
    max-width: 500px;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.big-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    overflow: hidden;
}

.images {
    margin-top: 20px;
    gap: 5px;
}

.small-img img.active {
    border: 1px solid #000;
    border-radius: 5px;
}


/* products details */

.details-pro .select-swatch .swatch .swatch-element label {
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ebebeb;
    cursor: pointer;
    white-space: nowrap;
    padding: 0 5px;
    position: relative;
    margin-bottom: 0;
    text-align: center;
    border-radius: 5px;
    line-height: 30px;
}

.selected-label {
    background-color: black;
    color: white;
}

.details-pro .select-swatch .swatch .swatch-element.color {
    position: relative;
}

.details-pro .select-swatch .swatch .swatch-element.color label {
    border-radius: 50%;
}

.details-pro .select-swatch .swatch .swatch-element {
    display: inherit;
}


/* ram */

.ram-option.selected {
    background-color: black;
    border: 1px solid black;
}

.details-pro .select-swatch .swatch #ram-options label {
    min-width: 70px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ebebeb;
    cursor: pointer;
    white-space: nowrap;
    padding: 0 5px;
    position: relative;
    margin-bottom: 0;
    text-align: center;
    border-radius: 5px;
    line-height: 30px;
}

.product-col-right .block-promotion {
    display: block;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f8f8;
    border: 1px solid #BF1E2E;
    margin-bottom: 20px;
}

.product-col-right .heading-promo {
    background: #BF1E2E;
    padding: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.product-col-right .heading-promo i {
    margin-right: 10px;
}

.product-col-right .promo-content p {
    margin: 5px 0;
}

.product-col-right .promo-content strong {
    color: #ff6b6b;
}

.product-col-right .block-policy {
    display: block;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f8f8;
    border: 1px solid #141414;
    margin-bottom: 20px;
}

.product-col-right .block-policy .heading-policy {
    background: #000;
    padding: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.product-col-right .block-policy .heading-policy i {
    margin-right: 10px;
}

.product-col-right .block-policy .policy-content {
    padding: 0 10px;
    margin: 0px !important;
}

.product-col-right .block-policy .policy-content .col-12 .policy-item {
    padding: 10px 0px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
}

.product-col-right .block-policy .policy-content .col-12 .policy-item .icon {
    width: 40px;
    height: 40px;
    position: relative;
}

.product-col-right .block-policy .policy-content .col-12 .policy-item .icon img {
    inset: 0px;
    box-sizing: border-box;
    padding: 0px;
    border: none;
    margin: auto;
    width: 0px;
    height: 0px;
    min-width: 100%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
    object-fit: contain;
}


/* chi tiết */

.block-content {
    background: #F7F7F7;
    padding: 20px;
    font-weight: 400;
    border-radius: 12px;
}

.block-content>.title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 400;
    text-transform: uppercase;
    font-weight: bold;
}

.block-content.product-content .product-review-content {
    position: relative;
}

.block-content.product-content .product-review-content .ba-text-fpt.has-height {
    height: 360px;
    overflow: hidden;
    -webkit-transition: height 0.2s;
    -moz-transition: height 0.2s;
    transition: height 0.2s;
}

.block-content.product-content .product-review-content .ba-text-fpt.has-height h2,
.block-content.product-content .product-review-content .ba-text-fpt.has-height h3 {
    font-size: 1.1rem;
    font-weight: bolder;
}

.block-content.product-content .product-review-content img {
    max-width: 100% !important;
    height: auto !important;
}

.block-content.product-content .product-review-content .show-more {
    position: relative;
}

.block-content.product-content .product-review-content .show-more .btn--view-more {
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    width: auto;
    margin-top: 0px;
    text-align: center;
    background-color: #141414;
    color: #fff;
    font-weight: normal;
    outline: none;
    box-shadow: none;
    font-size: 1.4rem;
    border-radius: 50px;
    line-height: 40px;
    padding: 0 55px;
}

.block-content.product-content .product-review-content .show-more .btn--view-more:hover {
    background-color: #BF1E2E;
}


/*  */

.specifications .title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 400;
    font-weight: bold;
    text-transform: uppercase;
}

.specifications table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 5px;
    text-align: left !important;
}

.specifications table td {
    border: 0px !important;
    padding: 3px 4px;
    font-size: 1rem;
    text-align: left !important;
}

.specifications table td:first-child {
    width: 130px;
}

.specifications {
    height: 300px;
    overflow: hidden;
    -webkit-transition: height 0.2s;
    -moz-transition: height 0.2s;
    transition: height 0.2s;
}

.specifications-button-show .specifications-button {
    margin: 0 auto;
    padding: 0px 20px;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    color: #fff;
    position: relative;
    display: inline-block;
    background-color: #141414;
    width: auto;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.specifications-button-show .specifications-button:hover {
    background-color: #BF1E2E;
}

.modal-body table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 5px;
    text-align: left !important;
}

.modal-body table td {
    padding: 3px 4px;
    font-size: 1rem;
    text-align: left !important;
}

.modal-body table td:first-child {
    width: 200px;
}


/* tăng giảm */

.details-pro .form-product .boz-form .flex-quantity .custom-btn-number {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.details-pro .form-product .boz-form .flex-quantity .custom-btn-number>span {
    margin-right: 8px;
    font-weight: 600;
}

.details-pro .form-product .boz-form .flex-quantity .custom-btn-number .input_number_product {
    display: inline-flex;
    vertical-align: top;
    white-space: nowrap;
}

.details-pro .form-product .boz-form .flex-quantity .custom-btn-number .input_number_product .btn_num.num_1 {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.details-pro .form-product .boz-form .flex-quantity .custom-btn-number .input_number_product .btn_num.num_2 {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.details-pro .form-product .boz-form .flex-quantity .custom-btn-number .input_number_product .btn_num {
    padding: 0 5px;
    min-width: 30px;
    min-height: unset;
    height: 40px;
    border: 1px solid #ddd;
    background: #f8f8f8;
    box-shadow: none;
}

.details-pro .form-product .boz-form .flex-quantity .custom-btn-number .input_number_product input#qtym {
    width: 50px;
    border-radius: 0;
    border-right: none;
    border-left: none;
    padding: 0px;
    margin: 0px;
    text-align: center;
}


/* button mua hàng */

.details-pro .form-product .boz-form .flex-quantity .button_actions .btn.btn-buyNow {
    background: #141414;
    font-size: 0.1rem;
    flex-grow: 1;
}

.details-pro .form-product .boz-form .flex-quantity .button_actions .btn:first-child {
    margin-right: 20px;
}

.details-pro .form-product .boz-form .flex-quantity .button_actions .btn.btn-buyNow span.txt-main {
    display: block;
    font-weight: 200;
    text-transform: uppercase;
    flex: none;
    flex-grow: 0;
    width: 100%;
    font-size: 1.2rem;
}

.details-pro .form-product .boz-form .flex-quantity .button_actions .btn.btn_add_cart {
    background: #fff;
    color: #bf1e2e;
    border: 1px solid #bf1e2e;
}

.details-pro .form-product .boz-form .flex-quantity .button_actions .btn.btn-buyNow:hover {
    background: #bf1e2e;
    ;
}

.details-pro .form-product .boz-form .flex-quantity .button_actions .btn {
    padding: 8px 15px;
    height: 65px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 1.6rem;
    transition-duration: .3s;
    line-height: initial;
}


/* nút tăng giảm só lượng cho tiết sản phẩm */

.quantity-controls {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    width: 120px;
    /* Adjust width as needed */
}

.quantity-controls .btn_num {
    display: block;
    padding: 8px 12px;
    cursor: pointer;
    background-color: #f0f0f0;
    color: #333;
    user-select: none;
}

.quantity-controls .btn_num:hover {
    background-color: #e0e0e0;
}

.quantity-controls input {
    flex: 1;
    padding: 8px;
    border: none;
    text-align: center;
    font-size: 14px;
    outline: none;
    appearance: textfield;
    /* Remove number input arrows in Firefox */
}

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

.quantity-controls input[type=number] {
    -moz-appearance: textfield;
    /* Firefox fix */
}

.decrease-btn {
    border-right: 1px solid #ccc;
}

.increase-btn {
    border-left: 1px solid #ccc;
}


/* button trang error */

.btn_pagenotfound {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn_pagenotfound:hover {
    background-color: #0056b3;
}