/*---------------------------HEADER---------------------------*/
:root{
    --main-text-font:Arial, Helvetica, sans-serif;
}
*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
li{
    list-style: none;
}
a{
    text-decoration: none;
    color: #000;
}
header{
    display: flex;
    justify-content: space-between;
    padding: 12px 50px;
    height: 70px;
    align-items: center;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    z-index: 1;
    background: rgba(255,255,255,0.3);
}
header:hover{
    background: rgba(255,255,255,1);
}
.logo{
    flex:1;
}
.logo img{
    width: 150px;
    height: 100px;
}
.menu{
    flex:3;
    display: flex;
}
.menu > li{
    padding: 20px 20px;
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: -250px; 
    width: calc(75vw + 100px);
    background-color: #fff;
    padding: 30px 0;
    display: none;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.menu > li:hover .sub-menu {
    display: block;
}

.sub-content {
    width: 100%;
    max-width: 1200px;
    margin-left: 0;              
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding-left: 50px;         
}


.sub-item {
    flex: 1;
    min-width: 160px;

}
.sub-item h5 {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.sub-item ul li{
    font-size: 13px;
    padding: 4px 0;
    color: #565555
}
.sub-item ul li a{
    font-weight: normal;
    color: #565555;
    font-size: 13px;
}
.sub-slide {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sub-slide img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 5px;
}

.menu > li a{
    font-size: 12px;
    font-weight: bold;
}
.others{
    flex:1;
    display: flex;
}
.others> li{
    padding: 0 12px;
}
.others> li:first-child{
    position: relative;
}
.others> li:first-child input{
    width: 100%;
    border:none;
    border-bottom: 1px solid #333;
    background: transparent;
    outline: none;
}
.others> li:first-child i{
    position: absolute;
    right:10px;
}
.icon-sale {
    width: 18px;
    height: 15px;
    margin-right: 0px;
    position: relative;
    top: -2px;
    vertical-align: middle;
}
.menu-sale:hover {
    color: orange;
}

.menu > li:not(:first-child) > a:hover {
    color: #579de4;
}
.menu > li:hover .sub-menu1 {
    display: block;
}
.sub-menu1 {
    position: absolute;
    top: 100%;
    left: -369px; 
    width: calc(75vw + 100px);
    background-color: #fff;
    padding: 30px 0;
    display: none;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.menu > li:hover .sub-menu2 {
    display: block;
}
.sub-menu2 {
    position: absolute;
    top: 100%;
    left: -457px; 
    width: calc(75vw + 100px);
    background-color: #fff;
    padding: 30px 0;
    display: none;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}
.menu > li:hover .sub-menu3 {
    display: block;
}
.sub-menu3 {
    position: absolute;
    top: 100%;
    left: -547px; 
    width: calc(75vw + 100px);
    background-color: #fff;
    padding: 30px 0;
    display: none;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}
.menu > li:hover .sub-menu4 {
    display: block;
}
.sub-menu4 {
    position: absolute;
    top: 100%;
    left: -621.5px; 
    width: calc(75vw + 100px);
    background-color: #fff;
    padding: 30px 0;
    display: none;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}
.menu > li:hover .sub-menu5 {
    display: block;
}
.sub-menu5 {
    position: absolute;
    top: 100%;
    left: -220px; 
    width: calc(40vw + 100px);
    background-color: #fff;
    padding: 30px 0;
    display: none;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}
.sub-content1 {
    width: 100%;
    max-width: 700px;
    margin-left: 0;              
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding-left: 50px;         
}
/*---------------------------SLIDER---------------------------*/
#Slider{
    padding-bottom: 30px;
    border-bottom: 2px solid #000;
    overflow: hidden;
}
.aspect-ratio-169 {
  display: block;
  position: relative;
  padding-top: 56.25%;
  transition: 0,3s;

}

.aspect-ratio-169 img {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.dot-container{
    position: absolute;
    height: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}
.dot{
    height: 10px;
    width: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin-right: 10px;
}
.dot.active{
    background-color: #333;
}
/*---------------------------TOP---------------------------*/
#top{
    padding-top: 15px;
    width: 100%;
}
.top-product{
	width: 80%;
	clear: both;
    margin: 0 auto;
}
.top-title{
    width: 300px;
	line-height: 40px;
	font-size: 16pt;
	color: #408cb5;
	border-radius: 15px;
    margin: 0 auto;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.cate{
    padding-top: 30px;
	width: 80%;
	clear: both;
    margin: 0 auto;
}
.cate-title{
    width: 300px;
	line-height: 40px;
	font-size: 16pt;
	color: #408cb5;
	border-radius: 15px;
    margin: 0 auto;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.product-slider {
    position: relative;
    width: 100%;
    padding-top: 40px;
}
.list-products {
    display: flex;
    flex-wrap: nowrap; 
    overflow-x: auto;  
    scroll-behavior: smooth;
    gap: 30px; 
    position: relative;
    overflow: hidden;  
}
.product{
	float:left;
	width:100%;
	text-align: center;
	line-height: 30px;
}
.product .photo{
	width: 280px;
	height: 250px;
}
.name {
    display: -webkit-box;
    -webkit-line-clamp: 2;   
    line-clamp: 2;         
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.4em;
    height: 2.8em;
    width: 280px;
    color: black;
    transition: color 0.3s;
    cursor: pointer;    
    text-align: left;

}
.name:hover {
    color: #539ae6;
}
.price{
    color:red;
    display: block;
    text-align: left;
}
.image-buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    display: flex;
    justify-content: center;
    gap: 10px;

    background-color: transparent;
    padding: 5px 10px;
    border-radius: 8px;
    opacity: 0;             
    pointer-events: none;   
    transition: 0.3s ease;
}
.photo-wrapper:hover .image-buttons {
    opacity: 1;
    pointer-events: auto;
}

.action-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.action-btn:hover {
    background-color: white;
    border-radius: 50%;
}
.photo-wrapper {
    position: relative;
    width: 280px;
    height: 250px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
#Btnback, #Btnnext {
    position: absolute;
    top: 45%;
    transform: translateY(-55%);
    width: 32px;
    height: 32px;
    cursor: pointer;
    opacity: 0.6;
    z-index: 28;
    background-color: transparent;
    border: none;
}

#Btnback:hover, #Btnnext:hover {
    opacity: 1;
}

#Btnback {
    left: 10px;
}

#Btnnext {
    right: 10px;
}
.list-cates{
    display: flex;
    gap: 20px;
    width: 80%;
    overflow: visible;
}
.cate-slider {
    flex: 0 0 auto;
    width:30%;
}
.slider-category{
   width: 300px;
    height: 380px;
    margin-top: 40px;
    text-align: left;
}
.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    width:92%;
}
.category{
    margin-top: 40px;
    border-top: 2px solid #1b58a9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.category button {
    flex: 1;
    margin: 0 10px;
    max-width: 120px;
    background-color: transparent;
    border: none;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; 
    gap: 8px;
}

.icon-necklace{
    border-radius: 50%;
    border: 2px solid #ccc;
    width:40px;
    height:40px;
}
.icon-ring{
    border-radius: 50%;
    border: 2px solid #ccc;
    width:40px;
    height:40p;
}
.icon-bracelet{
    border-radius: 50%;
    border: 2px solid #ccc;
    width:40px;
    height:40px;
}
.icon-bracelet:hover,.icon-ring:hover,.icon-necklace:hover{
    border: 2px solid #2759a9;
}
.cate-products{
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 17px;
    overflow: hidden;
}
.cate-product-wrapper {
    position: relative;
}
.product-category{
 	float:left;
	flex: 0 0 auto; 
    width: 210px;  
    text-align: center;
    line-height: 30px;
	text-align: center;
	line-height: 30px;
    margin-top: 20px;

}
.product-category .photo-category{
	width: 210px;
	height: 200px;
}
.name-category {
    display: -webkit-box;
    -webkit-line-clamp: 2;   
    line-clamp: 2;         
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.4em;
    height: 2.8em;
    width: 210px;
    color: black;
    transition: color 0.3s;
    cursor: pointer;    
    text-align: left;

}
.name-category:hover {
    color: #539ae6;
}
.price-category{
    color:red;
    display: block;
    text-align: left;
}

.Btnback-cate, .Btnnext-cate {
    position: absolute;
    top: 40%;
    transform: translateY(-60%);
    width: 32px;
    height: 32px;
    cursor: pointer;
    opacity: 0.6;
    z-index: 2; 
    background-color: transparent;
    border: none;
}

.Btnback-cate:hover, .Btnnext-cate:hover {
    opacity: 1;
}

.Btnback-cate {
    left: 0;  
}

.Btnnext-cate {
    right: 0; 
}
.category-btn {
    flex: 1;
    margin: 0 10px;
    max-width: 120px;
    height: auto;
    background-color: transparent;
    border: none;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: black;
    transition: color 0.3s;
}
.ring-products,
.bracelet-products {
    display: none;
}
.category-btn.active {
    color: #1b58a9; /* màu xanh khi được chọn */
}
/*---------------------------CARTEGORY---------------------------*/
.row{
    display: flex;
    flex-wrap: wrap;
    
}
.cartegory{
    padding: 100px 0 0;
    width: 80%;
    margin: 0 auto;
}
.cartegory-top{
    margin-bottom: 50px;
}
.cartegory-top p{
    margin: 0 12px;
    font-size: 15px;
}
.cartegory-left{
    width:20%;
}
.cartegory-right{
    width: 80%;
}
.cartegory-right-top-item:first-child{
    flex:2;
    font-size: 16px;
}
.cartegory-right-top-item{
    flex:1;
    padding:0 12px;
}
.cartegory-right-top-item button{
    width:100%;
    padding: 10px 15px;
    display:flex;
    justify-content: space-between;
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
}
.cartegory-right-top-item select{
    width:100%;
    padding: 10px 15px;
    display:flex;
    justify-content: space-between;
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
}
.cartegory-right-content{
    margin-top: 20px;
    justify-content: space-between;
}
.cartegory-right-content-item{
    width: calc(25% - 12px);
    text-align: center;
    padding: 12px 0;
}
.cartegory-right-content-item a{
    display: -webkit-box;
    -webkit-line-clamp: 2;   
    line-clamp: 2;         
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.4em;
    height: 2.8em;
    width: 230px;
    color: black;
    transition: color 0.3s;
    cursor: pointer;    
    text-align: left;
    font-size: 14px;
}
.cartegory-right-content-item img{
    width: 100%;
}
.cartegory-right-bottom{
    justify-content: space-between;
    margin: 30px 0 20px;
    width: 100%;
}
.cartegory-left-li {
    font-weight: bold;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s;
}
.cartegory-left-li ul,
.cartegory-left-li ul li ul {
    display: none;
}
/* Hiện cấp 1 khi active */
.cartegory-left-li.active > ul {
    display: block;
}

/* Hiện cấp 2 khi active */
.cartegory-left-li ul li.active > ul {
    display: block;
}
.cartegory-left-li > ul > li {
    padding: 4px 0 4px 15px;
    color: #333;
    font-size: 14px;
}

.cartegory-left-li > ul > li:hover > a {
    color: #007bff;
    text-decoration: underline;
    
}
.cartegory-left-li ul li ul li {
    padding-left: 25px;
    font-size: 13px;
    color: #555;
    font-weight: normal;
}
/*---------------------------PRODUCT-DETAILS---------------------*/
.product-details{
    padding: 100px 0;
    width: 80%;
    margin: 0 auto;
}
.product-details-top{
    border-bottom: 30px;
}
.product-details-top p{
    font-size: 15px;
    margin: 0 12px;
}
.product-details-content {
    display: flex;
    flex-wrap: wrap;
}
.product-details-content-left{
    width: 50%;
    margin-top: 40px;
}

.product-details-content-left-big-img{
    width: 80%;
    padding-right: 20px;
}
.product-details-content-left-big-img img{
    width: 100%;
}
.product-details-content-left-small-img{
    width: 20%;
}
.product-details-content-left-small-img img{
    width: 100%;
}
.product-details-content-right{
    width: 50%;
    padding-left: 20px;
    margin-top: 40px;
}
.product-details-content-right-product-name h1{
    font-size: 18px;
}
.product-details-content-right-product-name p{
    color: #ccc;
    font-size: 14px;
}
.product-details-content-right-product-price{
    margin: 12px 0;
    font-size: 16px;
    font-weight: bold;
}
.product-details-content-right-product-color-img{
    height: 35px;
    width: 35px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0;
}
.product-details-content-right-product-color img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.quantity{
    display: flex;
    margin-bottom: 20px;
    
}
.quantity input{
    width: 35px;
    margin-left: 5px;
    padding-left: 3px;
}
.product-details-content-right-product-button button{
    width: 200px;
    height: 40px;
    display: block;
    margin: 20px 0 12px;
    transition: all 0.3s ease;
}
.product-details-content-right-product-button button:first-child{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #fff;
    border: 2px solid #000;
    cursor: pointer;
}
.product-details-content-right-product-button button:first-child:hover{
    background-color: rgb(35, 162, 194);
    color: #fff;
}
.product-details-content-right-product-icon{
    display: flex;
}
.product-details-content-right-product-icon-item{
    display: flex;
    margin-right: 12px;
    justify-content: center;
    align-items: center;
}
.product-details-content-right-product-icon-item i{
    font-size: 12px;
    margin-right: 6px;
}
.product-details-content-right-product-QR{
    margin: 20px 0;
}
.product-details-content-right-product-QR img{
    width: 80px;
    height: 80px;
}
.product-details-content-right-bottom-top{
    position:absolute;
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items:center; 
    top: -15px;
    left:50%;
    transform: translateX(-50%);
    background-color: white;
}
.product-details-content-right-bottom{
    padding-top: 40px;
    border-top: 1px solid #ddd;
    position: relative;
}
.product-details-content-right-bottom-content-big {
    display: none;
    transition: all 0.3s ease;
}
.product-details-content-right-bottom-content-title-item{
    border-bottom: 2px solid #ddd;
}
.product-details-content-right-bottom-content-chitiet{
    padding-top: 5px;
}
/*PRODUCT-RELATE*/

.product-related{
    margin-bottom: 50px;
    width: 80%;
    margin: 0 auto;
}
.product-related-title{
    margin: 20px 0;
}
.product-related-title p{
    font-size: 14px;
}
.product-related-item{
    width: 20%;
    text-align: center;
    padding-right: 10px;
}
.product-related-item img{
    width: 100%;
}
.product-related-name{
    display: -webkit-box;
    -webkit-line-clamp: 2;   
    line-clamp: 2;         
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.4em;
    height: 2.8em;
    width: 230px;
    color: black;
    transition: color 0.3s;
    cursor: pointer;    
    text-align: left;
    font-size: 14px;
}
.product-related-item p{
    font-size: 14px;
    text-decoration: line-through;
}
/*---------------------------CART-----------------------------*/
.cart{
    padding: 100px 0;
    width: 80%;
    margin:0 auto;
}
.cart-top-wrap{
    display:flex;
    justify-content: center;
    align-items: center;
}
.cart-top{
    height:2px;
    width: 70%;
    background-color: #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0 100px;
}
.cart-top-item{
    width: 40px;
    height: 40px;
    border-radius:50% ;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}
.cart-top-item i{
    color:#ddd;
}
.cart-top-cart{
    border: 1px solid #0DB7EA;
}
.cart-top-cart i{
    color:#0DB7EA;
}
.cart-container-left{
    flex: 2;
    padding-right: 12px;
}
.cart-container-left table{
    width: 100%;
    text-align: center;
}
.cart-container-left table th{
    padding-bottom: 30px;
    font-size: 12px;
    text-transform: uppercase;
    color: #333;
    border-collapse: collapse;
    border-bottom: 2px solid #ddd;
}
.cart-container-left table p{
    font-size: 12px;
    color: #333;
}
.cart-container-left table input{
    width: 30px;
}
.cart-container-left table span{
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #ddd;
    cursor: pointer;
}
.cart-container-left td:first-child img{
    width: 130px;
}

.cart-container-left table td{
    padding:20px 0;
    border-bottom: 2px solid #ddd;
}
.cart-container-left td:nth-child(2){
    max-width: 130px;
}
.cart-container-left td:nth-child(3) img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.cart-container-right{
    flex:1;
    padding-left: 12px;
    border-left: 2px solid #ddd;
}
.cart-container-right table{
    width: 100%;

}
.cart-container-right table th{
    padding-bottom: 30px;
    font-size: 12px;
    color: #333;
    border-collapse: collapse;
    border-bottom: 2px solid #ddd;
}
.cart-container-right table td{
    font-size: 12px;
    color: #333;
    padding: 6px 0;
}
.cart-container-right tr:nth-child(4) td{
    border-bottom: 2px solid #ddd;
}
.cart-container-right tr td:last-child {
    text-align: right;
}
.cart-content-right-text{
    margin: 20px 0;
    text-align: center;
}
.cart-content-right-text p{
    font-size: 12px;
    color: #333;
}
.cart-content-right-button{
    text-align: center;
    align-items: center;
}
.cart-content-right-button button{
    padding:0 18px;
    height: 35px;
    cursor: pointer;
}
.cart-content-right-button button:first-child{
    background-color: #fff;
    border: 1px solid #000;
    margin-right: 20px;
}
.cart-content-right-button button:first-child:hover{
    background-color: #ddd;
}
.cart-content-right-button button:last-child{
    background-color: #000;
    color: #fff;
    border: none;
    border: 1px solid #000;
}
.cart-content-right-button button:last-child:hover{
    background-color: #ddd;
    color: #000;
}
.cart-container-right-login{
    margin-top: 20px;
}
.cart-container-right-login p{
    font-size: 12px;
    color: #333;
    font-weight: bold;
}
.cart-container.row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
#empty-cart-message {
    font-size: 18px;
    color: red;
    text-align: center;
    padding: 40px 0;
}

/*---------------------------DELIVERY-------------------------*/
.delivery{
    padding:100px 0;
    width:80%;
    margin: 0 auto;
}
.delivery-top-wrap{
    display: flex;
    justify-content: center;
    align-items: center;

}
.delivery-top{
    height:2px;
    width: 70%;
    background-color: #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0 100px;
}
.delivery-top-item{
    width: 40px;
    height: 40px;
    border-radius:50% ;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}
.delivery-top-item i{
    color:#ddd;
}
.delivery-top-adress{
    border: 1px solid #0DB7EA;
}
.delivery-top-adress i{
    color:#0DB7EA;
}
.delivery-content-left{
    width: 60%;
    padding-right: 12px;
}
.delivery-content-left p{
    font-size: 12px;
}
.delivery-content-left lable {
    font-size: 12px;
    margin-bottom: 6px;
    display: block;
}
.delivery-content-left>p{
    font-weight: bold;
}
.delivery-content-left-login{
    margin-top: 12px;
}
.delivery-content-left-login i{
    font-size: 12px;
    margin-right: 12px;
}
.delivery-content-left-khachle{
    margin: 12px 0;
}
.delivery-content-left-khachle input{
    margin-right: 12px;
}
.delivery-content-left-dangky{
    margin-bottom: 30px;
}
.delivery-content-left-dangky input{
    margin-right: 12px;
}
.delivery-content-left-input-top{
    justify-content: space-between;
}
.delivery-content-left-input-top-item{
    width: calc(50% - 12px);
}
.delivery-content-left-input-top-item input{
    width: 100%;
    height: 35px;
    border: 1px solid #ddd;
    padding-left: 6px;
}
.delivery-content-left-input-bottom input{
    width: 100%;
    height: 35px;
    border: 1px solid #ddd;
    padding-left: 6px;
}
.delivery-content-left-button p{
    display: inline-block;
    font-size: 12px;
}
.delivery-content-left-button span{
    margin-right: 10px;
}
.delivery-content-left-button{
    justify-content: space-between;
    padding-top: 20px;
}
.delivery-content-left-button button{
    height: 35px;
    border: 2px solid #000;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.delivery-content-left-button button:hover{
    background-color: #000;
    color: #fff;
}
.delivery-content-right{
    width: 40%;
    padding-left: 12px;
    border-left: 2px solid #ddd;
    height: auto;
}
.delivery-content-right table{
    width: 100%;
    font-size: 12px;
    text-align: center;
}
.delivery-content-right table tr th:first-child{
    text-align: left;
    width: 220px;
    
}
.delivery-content-right table tr th{
    padding-bottom: 12px;
    border-bottom: 2px solid #ddd;
}
.delivery-content-right table tr th:last-child{
    text-align: right;
}
.delivery-content-right table tr td{
    padding:6px 0;

}
.delivery-content-right table tr:nth-child(4) td{
    border-top: 2px solid #ddd;
}
.delivery-content-right table tr td:last-child{
    text-align: right;
    
}
.delivery-content-right table tr td:first-child{
    text-align: left;
}
/*---------------------------FOOTER---------------------------*/
#footer{
    margin-top: 100px;
    border-top: 2px solid #000;
}
.footer-content {
  width: 80%;
  height: 300px;
  margin: auto;
}

.footer-left,
.footer-center,
.footer-right,
.footer-social {
  color: rgb(28, 26, 26);
  float: left;
  padding-top: 30px;
}

.footer-left {
  width: 20%;
  padding-left: 30px;
}

.footer-center {
  width: 20%;
  padding-left: 70px;
}

.footer-right {
  width: 20%;
  padding-left: 30px;
}

.footer-social {
  width: 20%;
  text-align: center;
}

.footer-left img,
.footer-left a {
  height: 15px;
  vertical-align: middle;
}

.footer-left a {
  color: rgb(35, 32, 32);
  text-decoration: none;
}

.footer-center ul,
.footer-right ul {
  list-style: none;
  padding: 0;
}

.footer-center li,
.footer-right li {
  margin-bottom: 5px;
}

.footer-center a,
.footer-right a {
  color: rgb(32, 30, 30);
  text-decoration: none;
}

.footer-center a:hover,
.footer-right a:hover,
.footer-left a:hover {
  text-decoration: underline;
}
/*----------------------------LOGIN--------------------------*/
.login {
  width: 100%;
  max-width: 450px;
  margin: 100px auto;
  background: #fff;
  border-radius: 10px;
  padding: 30px 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.form-box {
    background: #fff;
    padding: 30px;
    width: 320px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    margin:0 auto;
}

.form-box:hover {
    transform: translateY(-5px);
}

.signup-box {
    background: linear-gradient(135deg, #2e6ef7 0%, #1a56d6 100%);
    color: #fff;
}

.signup-box h2, .login-box h3 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 600;
}

.login-box .top-title {
    background: #2e6ef7;
    color: #fff;
    padding: 12px 0;
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width:250px;
}

.login-box .top-title:hover {
    background: #1a56d6;
}

input[type="text1"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #2e6ef7;
    box-shadow: 0 0 8px rgba(46, 110, 247, 0.3);
}

.checkbox {
    margin: 10px 0;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-box .btn {
    background: #fff;
    color: #2e6ef7;
}

.signup-box .btn:hover {
    background: #f0f4ff;
    transform: scale(1.02);
}

.login-box .btn {
    background: #2e6ef7;
    color: #fff;

}

.login-box .btn:hover {
    background: #1a56d6;
    transform: scale(1.02);
}

.switch-btn {
    background: transparent;
    color: #f0f4ff;
    border: 1px solid #f0f4ff;
    margin-top: 10px;
}

.switch-btn:hover {
    background: #f0f4ff;
    color: #2e6ef7;
    transform: scale(1.02);
}

.forgot {
    display: block;
    font-size: 13px;
    margin: 12px 0;
    color: #2e6ef7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot:hover {
    color: #1a56d6;
    text-decoration: underline;
}

.error {
    color: #e63946;
    font-size: 12px;
    margin: 4px 0;
    min-height: 16px;
    display: block;
}

.password-wrapper {
    position: relative;
}

.eye-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #666;
    user-select: none;
    transition: color 0.3s ease;
}

.eye-icon:hover {
    color: #2e6ef7;
}

/* Responsive cho điện thoại */
@media (max-width: 768px) {
    header {
        padding: 10px 15px;
        height: 60px;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        position: relative;
    }

    .logo img {
        width: 120px;
        height: auto;
        position: absolute; /* hoặc fixed nếu muốn cố định khi cuộn */
        left: 50px;
        top:-30px; /* Dịch sang trái (tính từ mép trái trình duyệt) */
    }

    .hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1001;

    position: absolute; /* hoặc fixed nếu muốn cố định khi cuộn */
    left: 10px; /* Dịch sang trái (tính từ mép trái trình duyệt) */
    top: 40px;  /* Đẩy xuống dưới (tăng số thì càng xuống dưới) */
    }


    /* Main menu */
    .menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .menu.active {
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .menu > li {
        padding: 0;
        border-bottom: 1px solid #eee;
        position: relative;
    }

    .menu > li > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        font-size: 16px; /* Tăng kích thước font cho dễ đọc */
        color: #333; /* Màu chữ tối hơn để dễ đọc */
        transition: background 0.2s; /* Thêm hiệu ứng chuyển màu nền */
    }

    .menu > li > a:hover {
        background: #f0f0f0; /* Màu nền khi hover */
    }

    .menu > li > a:after {
        content: '+';
        font-size: 18px;
        transition: transform 0.2s;
    }

    .menu > li.active > a:after {
        transform: rotate(45deg);
    }

    /* Sub menus */
    .sub-menu,
    .sub-menu1,
    .sub-menu2,
    .sub-menu3,
    .sub-menu4,
    .sub-menu5 {
        position: static;
        width: 100%;
        padding: 0;
        display: none;
        background: #f9f9f9;
    }

    .sub-content,
    .sub-content1 {
        flex-direction: column;
        padding: 10px 20px 10px 30px;
    }

    .sub-menu.active,
    .sub-menu1.active,
    .sub-menu2.active,
    .sub-menu3.active,
    .sub-menu4.active,
    .sub-menu5.active {
        display: block;
    }

    .sub-item {
        width: 100%;
        margin-bottom: 15px;
    }

    .sub-item h5 {
        font-size: 14px;
        margin-bottom: 8px;
        color: #555;
    }

    .sub-item li {
        padding: 8px 0;
    }

    .sub-item li a {
        font-size: 13px;
        color: #666;
        transition: color 0.2s; /* Thêm hiệu ứng chuyển màu chữ */
    }

    .sub-item li a:hover {
        color: #007bff; /* Màu chữ khi hover */
    }

    .sub-slide {
        display: none;
    }

    /* Other icons */
    .others {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
    }

    .others > li {
        padding: 0 8px;
    }

    .others li:first-child {
        display: none;
    }

    .fa-shopping-bag,
    .fa-user,
    .fa-paw {
        font-size: 18px;
        color: #333; /* Màu icon tối hơn */
        transition: color 0.2s; /* Thêm hiệu ứng chuyển màu cho icon */
    }

    .fa-shopping-bag:hover,
    .fa-user:hover,
    .fa-paw:hover {
        color: #007bff; /* Màu icon khi hover */
    }



    /* Slider */
    #Slider {
        padding-bottom: 20px;
    }

    .aspect-ratio-169 {
        padding-top: 75%; /* Tăng tỷ lệ để phù hợp mobile */
    }

    .dot-container {
        height: 20px;
    }

    .dot {
        width: 8px;
        height: 8px;
        margin-right: 8px;
    }

    /* Top Products */
    .top-product {
        width: 95%;
    }

    .top-title {
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .list-products {
        display: flex;
        flex-direction: row; /* Hiển thị ngang */
        overflow-x: hidden; /* Tắt cuộn mặc định */
        scroll-behavior: smooth; /* Cuộn mượt */
        gap: 15px;
        padding: 0 10px;
        -webkit-overflow-scrolling: none; /* Tắt cuộn cảm ứng trên iOS */
        touch-action: none; /* Ngăn cuộn bằng cử chỉ chạm */
    }

    .list-products .product {
        padding-right: 6px;
    }

    .photo-wrapper, .photo {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1; /* Giữ tỷ lệ ảnh */
    }

    .name, .price {
        font-size: 12px;
        text-align: center;
    }

    .image-buttons {
        opacity: 1; /* Luôn hiển thị nút trên mobile */
        gap: 5px;
    }

    .action-btn {
        padding: 8px;
    }

    #Btnback, #Btnnext {
        width: 28px;
        height: 28px;
        top: 40%;
    }

    /* Category Section */
    .cartegory-right-content{
        display: flex;
        flex-direction: column; /* Hiển thị ngang */
        overflow-x: hidden; /* Tắt cuộn mặc định */
        scroll-behavior: smooth;
        gap: 15px;
        padding: 0 10px;
        -webkit-overflow-scrolling: none;
        touch-action: none;
    }
    .cartegory-right-content-item img{
        width: 150px;
    }

    .cate {
        width: 80%; /* hoặc giá trị cố định như 1200px */
        margin: 0 auto;
    }

    .cate-title {
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .list-cates {
        flex-direction: column;
    }

    .cate-slider {
        width: 100%;
    }

    .slider-category {
        width: 100%;
        height: auto;
    }

    .right-section {
        width: 100%;
    }

    .category {
        flex-direction: column;
        padding: 10px 0;
    }

    .category-btn {
        margin: 5px 0;
        max-width: 100%;
        font-size: 14px;
    }

    .icon-necklace, .icon-ring, .icon-bracelet {
        width: 32px;
        height: 32px;
    }

    .cate-products {
        display: flex;
        flex-direction: row; /* Hiển thị ngang */
        overflow-x: hidden; /* Tắt cuộn mặc định */
        scroll-behavior: smooth;
        gap: 15px;
        padding: 0 10px;
        -webkit-overflow-scrolling: none;
        touch-action: none;
    }

    .cate-products .product-category {
        flex: 0 0 auto;
        width: 200px;
        max-width: 100%;
    }

    .photo-category {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }

    .name-category, .price-category {
        font-size: 12px;
        text-align: center;
    }

    .Btnback-cate, .Btnnext-cate {
        width: 28px;
        height: 28px;
        top: 35%;
    }
    .ring-products,
    .bracelet-products {
        display: none;
    }
    /* Cart */
    .cart-top {
        width: 90%;
        margin: 20px 0 50px;
    }

    .cart-container-left {
        width: 100%;
        padding-right: 0;
    }

    .cart-container-right {
        width: 100%;
        padding-left: 0;
        border-left: none;
        margin-top: 20px;
    }

    .cart-container-left table {
        font-size: 12px;
    }

    .cart-container-left td:first-child img {
        width: 80px;
    }

    .cart-container-left td:nth-child(3) img {
        width: 30px;
        height: 30px;
    }

    .cart-container-right table {
        font-size: 12px;
    }

    .cart-content-right-button button {
        width: 100%;
        margin: 10px 0;
        padding: 10px;
        font-size: 14px;
    }

    #empty-cart-message {
        font-size: 16px;
        padding: 20px 0;
    }
    /* product*/
    .product-content{
        display: flex;
        flex-direction: column; /* Hiển thị ngang */
        overflow-x: hidden; /* Tắt cuộn mặc định */
        scroll-behavior: smooth;
        gap: 15px;
        padding: 0 10px;
        -webkit-overflow-scrolling: none;
        touch-action: none;
    }
    .product-content img{
        width: 150px;
    }
    /* Delivery */
    .delivery {
        width: 95%;
        padding: 50px 0;
    }

    .delivery-content-left {
        width: 100%;
        padding-right: 0;
    }

    .delivery-content-right {
        width: 100%;
        padding-left: 0;
        border-left: none;
        margin-top: 20px;
    }

    .delivery-content-left-input-top {
        flex-direction: column;
    }

    .delivery-content-left-input-top-item {
        width: 100%;
        margin-bottom: 10px;
    }

    .delivery-content-left-button {
        flex-direction: column;
    }

    .delivery-content-left-button button {
        width: 100%;
        margin: 10px 0;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        height: auto;
        width: 95%;
    }

    .footer-left, .footer-center, .footer-right, .footer-social {
        width: 100%;
        padding: 10px;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-left p, .footer-center li, .footer-right li {
        font-size: 12px;
    }

    .footer-social iframe {
        width: 100%;
        height: 120 இpx;
    }
    .container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .form-box {
        width: 100%;
        max-width: 360px;
        padding: 24px;
    }

    .signup-box h2, .login-box h3 {
        font-size: 22px;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"] {
        font-size: 14px;
        padding: 10px;
    }

    .btn {
        font-size: 14px;
        padding: 10px;
    }

    .checkbox, .forgot {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    /* Additional adjustments for very small screens */
    header {
        padding: 5px;
    }

    .logo img {
        width: 100px;
    }

    .menu > li {
        padding: 10px;
    }

    .others > li:first-child input {
        width: 120px;
    }

    .top-title, .cate-title {
        font-size: 12px;
    }

    .product, .product-category {
        max-width: 100%;
    }

    .name, .price, .name-category, .price-category {
        font-size: 12px;
    }

    .cart-container-left table th, .cart-container-left table p {
        font-size: 10px;
    }

    .cart-container-left td:first-child img {
        width: 60px;
    }

    .delivery-content-left p, .delivery-content-left label {
        font-size: 12px;
    }

    .delivery-content-left-input-top-item input, .delivery-content-left-input-bottom input {
        height: 30px;
        font-size: 12px;
    }

    .delivery-content-left-input-bottom textarea {
        height: 80px;
    }
}

/* Hamburger menu icon */
.hamburger {
    display: none;
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
}
/* Responsive */
@media screen and (max-width: 480px) {
  .login {
    padding: 25px 20px;
  }
}