html {
  overflow-y: scroll;
}
body{
    padding: 0;
    margin: 0;
    font: 13px/1.5 "Roboto",Arial,"Microsoft YaHei",sans-serif;
}
a{
    font-weight: normal;
}
.userlogin-width {
    margin: 0 auto;
    max-width: 1440px;
    min-width: 728px;
    padding: 0 20px;
}
@media (min-width: 1441px) {
    .userlogin-width {
        padding: 0;
    }
}
.userlogin-top {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
}
/*.userlogin-logo a{
    display: inline-block;
    background: url(../images/logo.jpg) no-repeat;
    background-size: 100% 100%;
    width: 218px;
    height: 42px;
}*/
.userlogin-logo {
    padding: 3px 0;
}
.userlogin-logo img {
    max-width: 100%;
}
.userlogin-icon img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}
.userlogin-menu {
    background: #4d4d4d;
}
.loginmenu {
    width: fit-content;      /* rá»™ng vá»«a ná»™i dung */
}

.loginmenu > ul {
    display: grid;
    grid-auto-flow: column;  /* náº±m ngang */
    /* gap: 16px; */
    list-style: none;
    margin: 0;
    /* padding: 8px 12px; */
    align-items: center;
    height: 40px;
    padding: 0;
}

/* Link */
.loginmenu > ul > li > a {
    text-decoration: none;
    white-space: nowrap;
    display: block;
    padding: 0 25px;
    color: #fff;
    height: 40px;
    line-height: 40px;
    min-width: 150px;
    text-align: -webkit-center;
    font-size: 14px;
}

.loginmenu > ul > li.active > a,
.loginmenu > ul > li > a:hover{
    background: #000;
    color: #fff;
}

.userlogin-body {
    display: grid;
    grid-template-columns: 1fr 4fr; /* chia 5 pháº§n: left 1 - right 4 */
    gap: 10px;
}
.userlogin-left {
    background: #fff;
}
.bodycontent {
    background: #F0F1F2;
}
.abcmenu {
    margin: 30px 0 50px;

}
.abcmenu > ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.abcmenu > ul > li {
    padding: 1px;
    color: #222;
    font-size: 14px;
    font-weight: 800;
    position: relative;
    margin-bottom: 10px;
}
.abcmenu > ul > li > a {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    display: block;
    padding: 7px 10px;
    border-radius: 5px;
}
.abcmenu > ul > li > a:hover,
.abcmenu > ul > li.select > a,
.abcmenu > ul > li > a {
    background: #e7ebf0;
    text-decoration: none;
}
.abcmenu > ul > li > a > i{
    padding-right: 8px;
}
.abcmenu > ul > li > a > i.nav-arrow.fa.fa-angle-right{
    position: absolute;
    right: 0px;
    top: 12px;
}
.abcmenu > ul > li:hover div.child-small{
    display: block;
}
.child-small {
    /* position: absolute; */
    top: 0;
    left: 260px;
    background: #fff;
    /* display: none; */
    z-index: 99999;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    border-radius: 3px;
    width: auto;
    /* min-width: 260px; */
    /* white-space: nowrap; */
}
.child-small > ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.child-small > ul > li {
    padding-left: 10px;
}
.child-small > ul > li > a {
    display: block;
    font-weight: normal;
    font-size: 14px;
    padding: 7px 10px;
    color: #000;
}
.child-small > ul > li > a:hover {
    text-decoration: none;
    /*background: #e7ebf0;*/
    color: blue;
}
.child-small > ul > li > a > i {
    padding-right: 3px;
}
.abcmenu-info{
    background: #79afdc;
}
.abcinfo-img {
    width: 210px;
    height: 170px;
    background-image: url(../images/side-img.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}
.abcinfo h2 {
    padding: 20px 20px 0;
    font-size: 22px;
    font-weight: bold;
    line-height: 26px;
    color: #fff;
}
.abcinfo p{
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    color: #fff;
}
.abcinfo-link {
    padding: 0px 20px;
}
.abcinfo-link a{
    padding: 2px 8px 2px 15px;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    color: #fff;
    border-radius: 20px;
    border: 1px solid #fff;
    cursor: pointer;
    display: block;
    max-width: fit-content;
    min-width: 110px;
    text-align: center;
    margin-bottom: 10px;
}
.abcinfo-link a:hover{
    background: #9fcaed;
    text-decoration: none;
}
.abcinfo-link i.slide-right {
    margin-left: 2px;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(../images/side-right.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.userlogin-icon {
    position: relative;
    cursor: pointer;
}
.logicon-menu {
    position: absolute;
    top: 91%;
    right: 0;
    background: #fff;
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.25s ease;
    z-index: 99;
    transition: opacity .2s ease, transform .25s cubic-bezier(.4, 0, .2, 1);
    transition-delay: 0.05s;
    padding: 10px;
}
.logicon-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}    
.logicon-menu a{
    display: block;
    text-align: left;
    padding: 5px 10px;
    color: #000;
}
.logicon-menu a:hover{
    text-decoration: none;
    background: #000;
    color: #fff;
}
.userlogin-right {
    padding: 15px;
}


.quanly-danhsach-sanpham{
    position: relative;
    padding: 14px 18px;
    background: #fff;

    /* BORDER TRONG â€“ 4 MÃ€U */
    border-style: solid;
    border-width: 2px;
    border-color: 
        #ff6a00    /* top */
        #3b82f6    /* right */
        #22c55e    /* bottom */
        #ef4444;   /* left */
    border-radius: 8px;
    margin: 35px 5px;
    text-align: center;
    font-size: 16px;
    font-style: italic;
}
/* BORDER NGOÃ€I â€“ 4 MÃ€U */
.quanly-danhsach-sanpham::before{
    content: "";
    position: absolute;
    inset: -6px;
    pointer-events: none;

    border-style: solid;
    border-width: 2px;
    border-color:
        #9333ea    /* top */
        #f59e0b    /* right */
        #06b6d4    /* bottom */
        #111827;  /* left */

    border-radius: 10px;
}
.quanly-danhsach-sanpham i{
    margin-right: 8px;
    color: #ff6a00;
}
.text-left{
    text-align: left;
}
.loginsp-button a {
    padding: 10px;
    margin-left: 10px;
}
.form-group input,
.form-group select {
    height: 40px;
}
/*** upload File *******/
[hidden] {
    display: none !important;
}
.file-upload {
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-upload {
    padding: 8px 14px;
    background: #007bff;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
}
.btn-upload:hover {
    background: #0056b3;
}
.price-chuyensi span:first-child {
    padding-right: 10px;
}
.price-chuyensi input {
    height: 20px;
    width: 20px;
    margin-top: 0;
    margin-right: 5px;
}
.price-chuyensi span {
    display: inline-flex;
    align-items: center;
    gap: 6px;           /* khoáº£ng cÃ¡ch radio â€“ chá»¯ */
    font-size: 14px;
}

.price-chuyensi input[type="radio"] {
    margin: 0;
}
.themkhoanggia {
    font-size: 13px;
    letter-spacing: 0.5px;
    display: block;
    border: 1px dashed #ccc;
    padding: 5px 0;
    text-align: center;
    border-radius: 5px;
    color: #000;
    margin-bottom: 10px;
}
a.themkhoanggia:hover,
a.themkhoanggia:focus,
a.themkhoanggia:active {
    color: #ff8533;
    text-decoration: none;
    outline: none;
}
.show-chuyensi td {
    padding: 0 8px;
}
.istyle {
    margin-bottom: 8px;
}
.show-chuyensi i {
    font-size: 30px;
}
.istyle a:hover{
    color: #ff8533;
}
.show-chuyensi {
    margin-bottom: 20px;
    display: none;
}
.openclose-mt{
    display: none;
}
ul#test-list {
    list-style: none;
}
.form-group input.button4mau{
    height: 50px;
}
.button4mau {
    position: relative;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #1e1e8f, #3b82f6);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* ===== VÃ²ng border ngoÃ i 4 mÃ u ===== */
.button4mau::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        90deg,
        #ff3c3c,
        #ffb703,
        #38b000,
        #3b82f6,
        #ff3c3c
    );
    border-radius: 12px;
    z-index: -2;
}

/* ===== VÃ²ng border trong ===== */
.button4mau::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: linear-gradient(135deg, #1e1e8f, #3b82f6);
    border-radius: 8px;
    z-index: -1;
}

/* Hover */
.button4mau:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Active */
.button4mau:active {
    transform: scale(0.97);
}
.ajax-upload-dragdrop {
    width: 100% !important;
    height: 140px;

    border-style: dashed;
    border-width: 2px !important;
    border-color: 
        #ff4d4f   /* top */
        #52c41a   /* right */
        #1890ff   /* bottom */
        #faad14 !important;  /* left */

    border-radius: 8px !important;
    text-align: center;
    padding: 35px 20px !important;
    background: #fafafa !important;
}



.shopmieuta {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: linear-gradient(135deg, #14047c, #3b82f6);
    color: #fff;
    font-size: 14px;
    font-weight: 600;

    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;

    box-shadow: 0 6px 15px rgba(20, 4, 124, 0.25);
    transition: all 0.3s ease;
}

.shopmieuta i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

/* Hover */
.shopmieuta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(20, 4, 124, 0.35);
    color: #fff;
}
.xlabel {
    padding: 15px 15px 0 15px;
}
.uploads-video {
    margin-bottom: 25px;
}
.xlabel b{
    color: red;
}
/****upload-youtube**********/
.upload-youtube {
    width: 200px;
    height: 120px;
    border: 2px dashed #4caf50;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #4caf50;
    font-weight: 600;
    background: #f9fff9;
    position: relative;
    margin: 20px 0;
}

.upload-youtube.drag {
    background: #eaffea;
    border-color: #2e7d32;
}

.upload-youtube img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 6px;
}

.remove-img {
    position: absolute;
    top: 6px;
    right: 6px;
    background: red;
    color: #fff;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    text-align: center;
    line-height: 26px;
    cursor: pointer;
    font-weight: bold;
}
/****upload-youtube-end***********/
.admin-formsea-sanpham {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 30px 100px 20px 100px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    margin-bottom: 30px;
}
.admin-formsea-sanpham button,
.admin-formsea-sanpham input {
    height: 42px;
}
.catalog-all-out {
    background: #fff;
    padding: 5px;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    border-radius: 5px;
    margin-bottom: 100px;
}
.catalog-all-out td {
    vertical-align: middle !important;
}
.col-md-4.qly-sp {
    height: 56px;
    width: 72px;
    overflow: hidden;
}
.col-md-4.qly-sp img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.delete-img-sanpham span {
    background: #345968;
    font-size: 16px;
    padding: 5px 5px;
    border-radius: 4px;
    position: absolute;
    right: -6px;
    top: -7px;
    color: #fff;
}
.img-item {
    width: 145px;
    margin: 0 15px;
    float: left;
    height: 140px;
    margin-bottom: 25px;
    position: relative;
}
.img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 10px;
}
.img-item{
    float:left;
    margin:5px;
    text-align:center;
    border: 1px solid #ccc;
}
.dk-hotrothem{
    display: flex;
    justify-content: space-between; /* trái - phải */
    align-items: center; /* canh giữa theo chiều dọc */
    width: 100%;
}
.dk-hotrothem a{
    color: #222;
    font-weight: 700;
}
.dk-hotrothem a:hover{
    color: #e64545;
}
.dk-hotrothem {
    margin-top: 30px !important;
}