* {
	box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

#header {
	background-color: #FFF;
	width: 100%;
	height: 200px;	
	position: relative;
}
/*Thanh trên cùng*/
#top-bar {
	width: 100%; 
	height: 48px; 
	background-color: pink;
	font-family: Arial, sans-serif;
}

#top-left {
	width: 70%; 
	height: 48px; 
	float: left; 
	line-height: 48px; 
	color: #000;
	font-size: 14px;
}

#top-right {
	width: 30%; 
	height: 48px; 
	float: right; 
	line-height: 48px; 
	color: #000; 
	text-align: right;
	font-size: 14px;
}

#top-right a {
	color: #000;
	text-decoration: none;
	font-weight: bold;
}

#top-right a:hover {
	text-decoration: underline;
}

#top-bar::after {
	content: "";
	display: table;
	clear: both;
}

#banner{
	width: 80%;
	height: 100%;
	margin: 0px auto;
	display: flex;
	align-items: center;
}

#logo, #deliver, #support, #time, #cart{
	height: 100%;
	flex: 1;
	display: flex;
	align-items: center;
}

.img-logo{
	max-height: 120px;
	object-fit: contain;
	margin-left: -20px;
	margin-bottom: 30px;
}

.info-box {
    width: 100%;
    display: flex;
    align-items: center;
}

.box-icon {
    width: 25%;
    height: 60px;
    justify-content: center;
}

.box-icon img {
max-width: 100%;
    height: auto;
}

.box-text {
    width: 75%;         
    padding-left: 8px;     
    line-height: 22px;     
    font-size: 13px;
    color: #333;
}

.icon-w-22 {
    width: 22%;
}

.text-w-78 {
    width: 78%;
}

#cart {
    justify-content: flex-end;
	align-items: center;
}

#cart-content {
    width: 150px;
    height: 45px;
    display: block;
    background-color: hotpink;
    color: #FFF;
    border-radius: 20px;
    line-height: 60px;
    text-align: center;
	text-decoration: none;
	font-weight: bold;
	box-sizing: border-box;
	text-align: center;
	line-height: 45px;
}

#cart-content:hover {
    background-color: pink;
}

.add-to-cart-btn {
    background-color: hotpink; 
    color: white;
    border: none;
    border-radius: 20px;       
    padding: 8px 15px;
    font-size: 13px;          
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: auto;          
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;    
	
	
}

.add-to-cart-btn:hover {
    background-color: deeppink;
	text-transform: uppercase;
}
			
#wrapper {
	background-color: #FFF;
	width: 100%;	
}

.h1 {
	padding: 0px; 
	background-color: green; 
	color: #FFF; 
	line-height: 40px;
	font-size: 16px; 
	border-radius: 20px; 
	text-align: center; 
	margin: 0px;
}


#container{
	width: 80%;
	min-height: 500px;
	margin: 40px auto;	
}
.cate{
	width: 100%;	
	margin-bottom: 40px;
	clear: both;
}
.cate-title {
	width: 300px;
	line-height: 40px;
	height: 40px;
	background-color: pink;
	color: #FFF;
	border-radius: 15px;
	font-size: 18px;
	margin: 20px 0px;
	padding-left: 20px;
	font-weight: bold;
	text-transform: uppercase;
}
.list-product{
	height: auto;
	width: 100%;	
}
.product {	
	text-align: center;
	border: 1px solid #CCC;
	border-radius: 15px;
	padding: 20px;
	overflow: hidden;      
    display: flex;
    flex-direction: column;
}
.product img {
    width: 100%;          
    height: 250px;         
    object-fit: cover;    
    display: block;
}
.photo {
	border-radius: 30px;
}
.name {
	color: Tomato;
	font-size: 14px;
	margin: 10px 0 5px;
}
.price {
	color: Turquoise;
	font-size: 14px;
	margin: 10px 0 5px;
}

#menu{
	background-color: pink;
	height: 48px;
	width: 100%;
	line-height: 48px;
	position: absolute;
	bottom: 0px;
}

#menu ul{
	margin: 0px auto;
	padding: 0px;
	width: 80%;
	height: 100%;
	list-style: none;	
}
#menu ul li{
	float: left;	
	line-height: 48px;
	position: relative;
}
#menu ul li a{
	text-decoration: none;
	color: black;
	display: block;
	padding: 0px 15px;	
}

#menu a:hover{
	background-color: #FFF;	
}

#menu ul ul {
	display: none;
}

#menu li li {
	float: none;
	border-bottom: 1px solid #CCC;
	border-left: 1px solid #CCC;
	border-right: 1px solid #CCC;
	background-color: #FFB6C1;
	color: #000;
	width: 200px;
}
#menu li:hover ul{
	display: block;
	position: absolute;
	top: 48px;
	left: 0px;
}

#menu li li a{
	color: #000;
}

#quick-contact{
	
	background-color: #FFF;
	width: 60px;
	height: 60px;
	border-radius: 50px;
	position: fixed;
	bottom: 80px;
	right: 20px;
	flex-direction: column;
	gap: 1000px;
	display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
	
}

#quick-contact img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s ease;
}

#quick-contact img:hover {
	transform: scale(1.1);
}

[class*="col-"] {
	float: left;
	padding: 15px;	
}

#footer {
	background-color: hotpink; 
	color: #080808;               
	width: 100%;
	height: auto;              
	clear: both;               
	font-family: Arial;        
	font-size: 14px;           
	margin-top: 50px;          
	display: block;
	position: relative;        
	z-index: 10;               
}


.footer-container {
	width: 80%;
	margin: 0 auto;
	padding-top: 40px;
	padding-bottom: 20px;
}


.footer-container::after {
	content: "";
	display: table;
	clear: both;
}


.footer-col {
	padding: 10px 20px !important;
	margin-bottom: 20px;
}


.footer-col h3 {
	font-size: 15px;
	font-weight: bold;
	margin-top: 0px;
	margin-bottom: 20px;
	color: #080808;
}


.footer-col p {
	margin: 0 0 12px 0;
	color: #FFF; 
}

.footer-col .contact-info {
	margin-bottom: 10px;
}

.footer-col .icon {
	margin-right: 5px;
}

.footer-col .time {
	font-size: 13px;
	padding-left: 20px;
	color: #FFF;
}


.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-col ul li {
	position: relative;
	padding-left: 15px;
	margin-bottom: 10px;
}


.footer-col ul li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: #FFF;
}

.footer-col ul li a {
	color: #FFF;
	text-decoration: none;
}

.footer-col ul li a:hover {
	text-decoration: underline;
}

.footer-bottom {
	background-color: deeppink;
	padding: 20px 0;
	clear: both;
	width: 100%;
}

.bottom-container {
	width: 80%;
	margin: 0 auto;
}

.copyright {
	float: left;
	color: #cbdcae;
}

.copyright strong {
	color: #FFF;
}

.bottom-menu {
	float: right;
}

.bottom-menu a {
	color: #FFF;
	text-decoration: none;
	margin-left: 15px;
}

.bottom-menu a:hover {
	text-decoration: underline;
}

.bottom-container::after {
	content: "";
	display: table;
	clear: both;
}

@media only screen and (max-width: 768px) {
	.copyright, .bottom-menu {
		float: none;
		text-align: center;
		display: block;
		margin-bottom: 10px;
	}
	.bottom-menu a {
		margin: 0 7px;
	}
}

/* Định dạng cho Mobile */
@media only screen and (max-width: 768px){
	#header {
		display: none;
	}
	#quick-contact {
		display: none;
	}
	
	.col-s-1 { width: 8.33% }
	.col-s-2 { width: 16.66%}
	.col-s-3 { width: 25%}
	.col-s-4 { width: 33.33%}
	.col-s-5 { width: 41.66%}
	.col-s-6 { width: 50%}
	.col-s-7 { width: 58.33% }
	.col-s-8 { width: 66.66%}
	.col-s-9 { width: 75%}
	.col-s-10 { width: 83.33%}
	.col-s-11 { width: 91.66%}
	.col-s-12 { width: 100%}
}

/* Định dạng cho Tablet */
@media only screen and (min-width: 768px){
	#header {
		display: block;
	}
	#quick-contact {
		display: none;
	}
	
	.col-m-1 { width: 8.33% }
	.col-m-2 { width: 16.66%}
	.col-m-3 { width: 25%}
	.col-m-4 { width: 33.33%}
	.col-m-5 { width: 41.66%}
	.col-m-6 { width: 50%}
	.col-m-7 { width: 58.33% }
	.col-m-8 { width: 66.66%}
	.col-m-9 { width: 75%}
	.col-m-10 { width: 83.33%}
	.col-m-11 { width: 91.66%}
	.col-m-12 { width: 100%}
}

/* Định dạng cho Laptop/PC */
@media only screen and (min-width: 1200px){
	#quick-contact  {
		display: block;
	}
	
	.col-x-1 { width: 8.33% }
	.col-x-2 { width: 16.66%}
	.col-x-3 { width: 25%}
	.col-x-4 { width: 33.33%}
	.col-x-5 { width: 41.66%}
	.col-x-6 { width: 50%}
	.col-x-7 { width: 58.33% }
	.col-x-8 { width: 66.66%}
	.col-x-9 { width: 75%}
	.col-x-10 { width: 83.33%}
	.col-x-11 { width: 91.66%}
	.col-x-12 { width: 100%}
}

/*Giỏ hàng mini*/
#cart {
    position: relative;
    overflow: visible !important; 
}


#mini-cart-dropdown {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    width: 320px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 10px;
    font-family: Arial, sans-serif;
}

#cart:hover #mini-cart-dropdown {
    display: block;
}
.mini-cart-list {
    max-height: 240px;
    overflow-y: auto; 
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.mini-cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}
.mini-cart-item:last-child {
    border-bottom: none;
}
.mini-cart-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}
.mini-cart-info {
    flex: 1;
}
.mini-cart-name {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.4;
}
.mini-cart-meta {
    font-size: 12px;
    color: #666;
}
.mini-cart-price {
    color: tomato;
    font-weight: bold;
}

.mini-cart-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
}
.mini-cart-remove:hover {
    color: red;
}
.mini-cart-footer {
    padding-top: 10px;
}
.mini-cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
}
.mini-cart-total strong {
    color: tomato;
    font-size: 16px;
}
.mini-cart-btn {
    display: block;
    width: 100%;
    background-color: hotpink;
    color: white !important;
    text-align: center;
    padding: 10px 0;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.2s;
}
.mini-cart-btn:hover {
    background-color: deeppink;
}
/* Giới Thiệu*/
.intro-container {
	display: flex;
	flex-direction: column;
	gap: 30px;
    line-height: 1.8;
    color: #333;
    font-size: 15px;
}
 .intro-banner img {
	 width: 100%;
	 height: 350px;
	 object-fit: cover;
     border-radius: 15px;
}
.intro-section {
	background: #fff;
	padding: 20px 0;
}
.intro-section h2 {
	color: tomato;
	font-size: 20px;
	margin-top: 0;
	border-bottom: 2px dashed pink;
	padding-bottom: 8px;
	display: inline-block;
}
.intro-grid {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 15px;
}
.intro-card {
	flex: 1;
	min-width: 250px;
	border: 1px solid #ccc;
	border-radius: 15px;
	padding: 20px;
	text-align: center;
	background-color: #fff;
	transition: transform 0.2s;
            }
.intro-card:hover {
	transform: translateY(-5px);
	border-color: hotpink;
            }
.intro-card .icon {
	font-size: 35px;
	margin-bottom: 10px;
	display: block;
}
.intro-card h3 {
	margin: 10px 0;
	color: hotpink;
	font-size: 16px;
}
/*Liên hệ*/
.contact-row {
    display: flex; 
    flex-wrap: wrap; 
    gap: 25px; 
    background: #fff; 
    border: 1px solid #CCC; 
    border-radius: 15px; 
    padding: 20px;
}

.contact-col {
    flex: 1; 
    min-width: 300px;
}

.contact-col:last-child {
	flex: 1;
	min-width: 350px;
	max-width: 600px; 
    margin: 0 auto;
}

.contact-col h3 {
    color: hotpink; 
    margin-top: 0; 
    font-size: 18px;
}

.contact-col p {
    color: #333; 
    line-height: 1.6; 
    font-size: 14px;
}

.contact-form-input {
    width: 100%; 
    padding: 10px; 
    margin-bottom: 12px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    box-sizing: border-box; 
    font-family: arial; 
    font-size: 13px;
}

.contact-form-textarea {
    width: 100%; 
    padding: 10px; 
    margin-bottom: 10px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    box-sizing: border-box; 
    resize: vertical; 
    font-family: arial; 
    font-size: 13px;
}

.contact-form-btn {
    width: auto; 
    padding: 10px 30px; 
    background-color: hotpink; 
    color: white; 
    border: none; 
    border-radius: 20px; 
    font-weight: bold; 
    cursor: pointer; 
    transition: 0.3s; 
    font-size: 15px;
	display: block;
    margin-left: auto;
}

.contact-form-btn:hover {
    background-color: deeppink;
}

/*Danh mục sản phẩm*/
#list-cate {
    width: 23%; 
    float: left; 
    height: 100%; 
    background-color: #FFF ; 
    border: 1px solid #CCC;       
    border-radius: 25px;           
    padding: 0px;             
    box-sizing: border-box;
	overflow: hidden;
}

.side-cate-title {
    background-color:pink;
    color: #FFF;
   font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 44px;
    height: 44px;
    border-radius: 22px;           
    margin-bottom: 10px;          
}
.side-cate-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-cate-menu li {
    border-bottom: 1px dashed #eee;
}

.side-cate-menu li:last-child {
    border-bottom: none;
}

.side-cate-menu li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.side-cate-menu li a:hover {
    background-color:#FFF; 
    color: deeppink;
    padding-left: 20px;
	border-radius: 10px;

.filter-bar {
	background: #fafafa;
	padding: 15px 20px;
	border-radius: 15px;
	margin-bottom: 20px;
	display: flex;
	gap: 15px;
	align-items: center;
	flex-wrap: wrap;
}
.filter-bar label {
    font-weight: bold;
	color: #333;
}
.filter-bar select {
	padding: 8px 15px;
	border-radius: 20px;
	border: 1px solid #ddd;
	font-family: arial;
}

/*Tìm kiếm*/
#search-bar {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

#search-input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid #ffb6c1;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

#search-input:focus {
    border-color: hotpink;
    box-shadow: 0 0 8px rgba(255, 105, 180, 0.3);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: hotpink;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    color: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.search-btn:hover {
    background-color: deeppink;
}

.no-results-msg {
    text-align: center;
    padding: 50px 20px;
    color: #888;
    font-size: 16px;
    width: 100%;
}
@media only screen and (max-width: 768px) {
    #search-bar {
        flex: 1 1 100%;
        order: 5;
        padding: 10px 0;
        margin-top: 10px;
    }
    .search-wrapper {
        max-width: 100%;
    }
}
#search-input:focus {
	border-color: hotpink;
	box-shadow: 0 0 8px rgba(255, 105, 180, 0.3);
}
#search-btn:hover {
	background: deeppink;
}
/*admin*/
body {
	background-color: #FFF;
	margin: 0px;
	font-family: arial;
}	
.user-dropdown {
	position: relative;
	display: inline-block;
	cursor: pointer;
}
.user-dropdown-content {
	display: none;
	position: absolute;
	right: 0;
	background-color: white;
	min-width: 180px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	border-radius: 8px;
	z-index: 1000;
	top: 25px;
	overflow: hidden;
}
.user-dropdown:hover .user-dropdown-content {
	display: block;
}
.user-dropdown-content a {
	display: block;
	padding: 10px 15px;
	color: #333;
	text-decoration: none;
	font-size: 13px;
	border-bottom: 1px solid #f0f0f0;
	transition: background 0.2s;
}
.user-dropdown-content a:hover {
	background: #fff0f5;
	color: hotpink;
}
.user-dropdown-content a:last-child {
	border-bottom: none;
	color: #ff4444;
}

#top-content {
    width: 80%;
    margin: 0px auto;
}
#cart {
    position: relative;
}
.empty-cart-msg {
    text-align: center;
    color: #888;
    padding: 20px 0;
    margin: 0;
}
.logout-btn {
    display: inline-block;
    background: #ffb6c1;
    color: #000;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: normal;
    font-size: 13px;
    border: 1px solid #ff69b4;
    transition: all 0.2s ease;
}
.logout-btn:hover {
    background: #ff69b4;
    color: #fff;
}