*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Poppins,sans-serif;
}

body{
  background:#0e0e0e;
  color:#f5f5f5;
}


/* TOP NAVBAR */
.top-navbar{
    height:36px;

    display:flex;
    align-items:center;
    justify-content:flex-end;

    gap:12px;

    padding:0 40px;

    background:#111;

    border-bottom:1px solid #222;
}

.top-navbar a{
    display:inline-block;

    text-decoration:none;
    color:#eee;

    font-size:13px;
    font-weight:500;

    transition:0.3s;
}

.top-navbar a:hover{
    opacity:0.8;
}

.top-navbar span{
    color:#777;
    font-size:12px;
}
/* HEADER */

.main-header{
    height:70px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 40px;

    background:#000;

    position:sticky;
    top:0;

    z-index:9999;

    box-shadow:0 2px 20px rgba(255,255,255,0.06);
}

/* LOGO */

.logo{
    font-size:28px;
    font-weight:700;
    letter-spacing:1px;
    color:#fff;
    text-decoration:none;
}

/* RIGHT */

.header-right{
    display:flex;
    align-items:center;
    gap:14px;
}
/* INFO BAR */

.info-bar {
    padding:8px;
    height:auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: #111;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.info-bar p {
    margin: 0;
    padding: 1px 0;
    opacity: 0.9;
    margin-top:5px
}

.info-bar p{
    opacity:1.2;
    font-size:15px;
}

/* SEARCH */

.search-bar input{
    width:220px;

    padding:10px 18px;

    border:none;
    border-radius:30px;

    background:#121212;
    color:#fff;

    outline:none;

    font-size:13px;
    margin-right:20px;
}

/* ICONS */

.header-icon{
    position:relative;
    border:none;
    background:#111;
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:transform 0.2s ease, background 0.2s ease;
    color:#fff;
    font-size:20px;
}

.header-icon:hover{
    background:#222;
}

.icon-badge,
.cart-count{
    position:absolute;
    top:6px;
    right:6px;
    background:#111;
    color:#fff;
    width:20px;
    height:20px;
    font-size:12px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
}

/* RIGHT */

.right-header{
    display:flex;
    align-items:center;
    gap:15px;
}

/* SEARCH */

.search-bar input{
    width:220px;

    padding:9px 15px;

    border:none;
    border-radius:25px;

    background:#121212;
    color:#fff;

    outline:none;

    font-size:13px;
}

/* ICON BUTTON */

.icon-btn{
    border:none;
    background:none;

    font-size:20px;

    cursor:pointer;

    transition:0.3s;
}

.icon-btn:hover{
    transform:scale(1.5);
}
.cart-btn{
  position: relative;
}
.cart-count.pop {
  animation: pop 0.2s ease;
}

@keyframes pop {
  0% { transform: scale(0.5); }
  100% { transform: scale(1); }
}

.icon-badge{
  position: absolute;
  top: 6px;
  right: 6px;
  background: #111;
  color: white;
  width: 20px;
  height: 20px;
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* LOGIN */

.login-btn{
    border:none;
    background:#111;

    color:#fff;

    padding:9px 16px;

    border-radius:25px;

    cursor:pointer;

    font-size:13px;

    transition:0.3s;
}

.login-btn:hover{
    background:#5a5a5a;
}

/* DROPDOWN */

.dropdown{
    position:relative;
}

.dropdown-content{
    position:absolute;
    top:28px;
    left:0;

    display:none;
    flex-direction:column;

    min-width:160px;

    background:#111;

    border-radius:12px;

    padding:8px;

    box-shadow:0 5px 20px rgba(255,255,255,0.05);
}

.dropdown:hover .dropdown-content{
    display:flex;
}

.dropdown-content button{
    border:none;
    background:none;

    padding:10px;

    text-align:left;

    cursor:pointer;

    border-radius:8px;
}

.dropdown-content button:hover{
    background:#222;
    color:#fff;
}

/* SEARCH */

.search-bar input{
    width:250px;
    padding:10px 15px;

    border:none;
    border-radius:30px;

    background:#121212;
    color:#fff;
    outline:none;
}

/* RIGHT */

.right-header{
    display:flex;
    align-items:center;
    gap:15px;
}

.login-btn,
.cart-header-btn{
    padding:10px 18px;
    border:none;
    border-radius:25px;

    background:#111;
    color:#fff;

    cursor:pointer;
    transition:0.3s;
}

.login-btn:hover,
.cart-header-btn:hover{
    background:#505050;
}

/* DROPDOWN */

.dropdown{
    position:relative;
}

.dropdown-content{
    position:absolute;
    top:35px;
    left:0;

    display:none;
    flex-direction:column;

    background:#111;
    padding:10px;

    border-radius:10px;
    box-shadow:0 5px 15px rgba(255,255,255,0.05);
}

.dropdown:hover .dropdown-content{
    display:flex;
}

.dropdown-content button{
    border:none;
    background:none;
    padding:10px;
    text-align:left;
    cursor:pointer;
}

.dropdown-content button:hover{
    color:#6b6b6b;
}
.hero{
  background-image: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('../stuff/banner.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
  height: 600px;
  padding: 0 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.75);
  filter: grayscale(100%);
}
.hero-btn{
  font-family: "lemonmilk", sans-serif; 
  font-size: 16px;                   
  background-color: #fff;
  color: #111;
  border-radius: 999px;
  margin-top: 25px;
  padding: 12px 24px;
}
@font-face {
    font-family: 'lemonmilk1';
    src: url('../stuff/lmmilk1.otf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'akira';
    src: url('../stuff/font.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'lemonmilk';
    src: url('../stuff/lmmilk.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
/* FEATURED */

.featured{
    margin-top:40px;

    margin-left:45px;

    font-size:34px;
}

.featured-grid{
    display:grid;

    grid-template-columns:1fr 1fr;
  
}

.featured-card{
    position:relative;
  margin-bottom:auto;
    overflow:hidden;

    height:800px;
}

.featured-card img{
    width:100%;
    height:100%;

    object-fit:cover;

    transition:0.5s;
}

.featured-card:hover img{
    transform:scale(1.05);
}

.featured-overlay{
    position:absolute;

    inset:0;

    background:
    linear-gradient(
        rgba(0,0,0,0.1),
        rgba(0,0,0,0.5)
    );

    display:flex;
    flex-direction:column;
    justify-content:flex-end;

    padding:35px;

    color:#fff;
}

.featured-overlay h2{
    font-size:34px;

    margin-bottom:18px;

    letter-spacing:2px;
}

.featured-overlay button{
    width:160px;

    padding:13px;

    border:none;

    background:#fff;

    color:#111;

    font-weight:700;

    cursor:pointer;

    transition:0.3s;
}

.featured-overlay button:hover{
    background:#111;
    color:#fff;
}

body {
    font-family: 'TenFontCuaBan', sans-serif;
}



body{
  background:#0e0e0e;
  color:#f5f5f5;
}

.navbar{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  flex:1;
  min-width:260px;
}

nav a,
.dropbtn {
  color:white;
  text-decoration:none;
  font-weight:500;
  padding:12px 18px;
  border-radius:8px;
}

nav a:hover,
.dropbtn:hover {
  background:rgba(255,255,255,0.08);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #111;
  min-width: 600px;
  border-radius: 18px;
  box-shadow: 0px 28px 60px rgba(0,0,0,0.3);
  z-index: 1;
  top: calc(100% + 10px);
  left: 0;
  padding: 20px;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.dropdown-content button {
  width:100%;
  background: rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  color:white;
  text-align:left;
  padding:14px 16px;
  cursor:pointer;
  border-radius:12px;
  transition:all .2s ease;
}

.dropdown-content button:hover {
  background:rgba(255,255,255,0.12);
  transform:translateX(4px);
}

.dropdown:hover .dropdown-content {
  display: grid;
}

.search-bar {
  flex: 0 0 280px;
}

.search-bar input {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 999px;
  font-size: 16px;
}

.features{
  display:grid;
  grid-template-columns:repeat(4,minmax(220px,1fr));
  gap:18px;
  padding:30px 40px;
}

.feature-card{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  cursor:pointer;
  min-height:260px;
  background:#000;
  box-shadow:0 16px 40px rgba(0,0,0,0.12);
}

.feature-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.feature-card:hover img{
  transform:scale(1.05);
}

.feature-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,0.05) 0%,rgba(0,0,0,0.62) 70%);
  color:white;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:24px;
}

.feature-overlay span{
  display:block;
  font-size:22px;
  font-weight:700;
  margin-bottom:6px;
}

.feature-overlay p{
  font-size:14px;
  opacity:0.94;
}
.products{
  padding:40px 40px 80px;
}

.product-controls{
  display:flex;
  justify-content:center;
  margin-bottom:24px;
}

.categories{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
}

.category-btn{
  background:#111;
  color:#f5f5f5;
  border:1px solid #333;
  border-radius:999px;
  padding:10px 18px;
  cursor:pointer;
  transition:all .2s ease;
}

.category-btn:hover,
.category-btn.active{
  background:#575757;
  color:#fff;
  border-color:#5e5e5e;
}

.slider{
  display:flex;
  gap:20px;
  overflow-x:auto;
  padding-bottom:10px;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
}

.slider::-webkit-scrollbar{
  height:10px;
}

.slider::-webkit-scrollbar-track{
  background:rgba(0,0,0,0.05);
  border-radius:10px;
}

.slider::-webkit-scrollbar-thumb{
  background:#616161;
  border-radius:10px;
}

.card{
  background:#111;
  border:1px solid rgba(255,255,255,0.08);

  overflow:hidden;
  box-shadow:0 5px 20px rgba(255,255,255,0.05);
  transition:0.3s;
  min-width:280px;
  flex:0 0 280px;
  scroll-snap-align:start;
}

.card:hover{
  transform:translateY(-6px);
}

.card img{
  width:100%;
  height:240px;
  object-fit:cover;
}

.card-body{
  padding:20px;
}

.price{
  color:#f5f5f5;
  font-size:22px;
  font-weight:bold;
  margin:10px 0;
}

button{
  padding:12px;
  border:none;
  background:#111;
  color:white;
  border-radius:10px;
  cursor:pointer;
  margin-bottom:10px;
}

.card-body button{
  width:100%;
}

.color-menu button,
.dropdown-content button,
.category-btn{
  width:auto;
}

button:hover{
  background:#8f8f8f;
}

.empty-state{
  color:#555;
  font-size:18px;
  padding:40px;
}

.stock-label{
  font-size:14px;
  margin-bottom:12px;
  color:#444;
}

.close-modal{
  padding:10px 20px;
  background:#111;
  color:white;
  border:none;
  border-radius:8px;
  cursor:pointer;
}

.close-modal:hover{
  background:#333;
}

.color-menu{
  position:fixed;
  left: 15px;
  bottom:20px;
  background:rgba(255,255,255,0.06);
  padding:12px 18px;
  border-radius:999px;
  box-shadow:0 18px 40px rgba(255,255,255,0.06);
  display:flex;
  align-items:center;
  gap:12px;
  z-index:100;
}

.color-menu span{
  font-size:14px;
  color:#333;
  white-space:nowrap;
}

.color-circle{
  width:32px;
  height:27px;
  border-radius:50%;
  border:2px solid rgba(17,17,17,0.12);
  cursor:pointer;
  transition:all .2s ease;
}

.color-circle.active{
  transform:scale(1.1);
  border-color:#555555;
}

.color-circle[title="Tất cả"]{
  min-width:46px;
  min-height:32px;
  border-radius:999px;
  background:#111;
  color:white;
  font-size:12px;
  padding:0 10px;
}

@media(max-width:900px){
  .features{
    grid-template-columns:1fr;
  }
  .navbar{
    justify-content:flex-start;
    flex-wrap:wrap;
  }
  .search-bar{
    flex:1 1 100%;
    order:3;
  }
}

@media(max-width:700px){
  header{
    padding:18px 16px;
  }
  .product-controls,
  .categories{
    flex-direction:column;
    gap:10px;
  }
  .slider{
    gap:16px;
  }
  .card{
    min-width:240px;
    flex:0 0 240px;
  }
  .color-menu{
    left:12px;
    bottom:12px;
    padding:12px 14px;
  }
.featured-tag{
    font-size:28px;
    font-weight:700;
    margin:auto;
}

}
/* TRENDING */

.trending{
    margin-left:80px;
    margin-top:40px;
}

.trendingcard{
    display:flex;
    gap:10px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    margin-left:80px;
}

.trending-item{
    position: relative;
    min-width: 450px;
    overflow: hidden;
    scroll-snap-align: start;
}

.trending-item img{
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.trending-info{
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 18px 20px;
    border-radius: 18px;
    backdrop-filter: blur(8px);
}

.trending-info span{
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    opacity: 0.85;
}

.trending-info h4{
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
}

.trending-info p{
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.94;
}

.fresh-in{
    margin-left:80px;
    margin-bottom:20px;
}

.fresh-in h2{
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0;
}

@font-face {
    font-family: 'lemonmilk2';
    src: url('../stuff/lmmilk2.otf') format('truetype');
    font-style: normal;
}
.nav-links{
    display:flex;
    gap:24px;
    margin-left:80px;
    font-family: 'lemonmilk2', sans-serif;
    align-items:center;
}

.nav-links a:link,
.nav-links a:visited,
.nav-links .dropbtn {
    color: #111;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    padding: 18px;
    min-width: 240px;
    z-index: 999;
}

.nav-links .dropdown-content a {
    display: block;
    color: #111;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.nav-links .dropdown-content a:hover {
    background: #f5f5f5;
}

.nav-links .dropdown:hover .dropdown-content {
    display: block;
}

.nav-links .dropbtn:hover {
    opacity: 0.8;
}

.nav-links a:link,
.nav-links a:visited,
.nav-links .dropbtn {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-links .dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #111;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(255,255,255,0.06);
    padding: 18px;
    min-width: 240px;
    z-index: 999;
}

.nav-links .dropdown-content a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.nav-links .dropdown-content a:hover {
    background: #222;
}

.nav-links .dropdown:hover .dropdown-content {
    display: block;
}

/* Disable hover pop-up animations globally */
*,
*::before,
*::after {
    transition: none !important;
    animation: none !important;
}

*:hover {
    transform: none !important;
}
/* ===================================
   FRESH IN - BUTTON CÁCH ĐỀU
=================================== */

#productGrid{
    display:grid !important;

    grid-template-columns:
    repeat(auto-fill,minmax(300px,1fr));

    gap:30px;

    padding:30px;

    align-items:stretch;
}


/* CARD */

#productGrid .product-card{

    background:#c4c4c4;

    border-radius:20px;

    overflow:hidden;

    display:flex;

    flex-direction:column;

    min-height:680px;

}


/* IMAGE */

#productGrid .product-card img{

    width:100%;

    height:340px;

    object-fit:cover;

}


/* CONTENT */

#productGrid .product-info{

    display:flex;

    flex-direction:column;

    flex:1;

    padding:22px;

}


/* NAME */

#productGrid .product-name{

    color:#111;

    font-size:18px;

    font-weight:700;

    line-height:1.5;

    min-height:60px;

    max-height:60px;

    overflow:hidden;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    margin-bottom:18px;

}


/* PRICE */

#productGrid .product-price{

    color:#111;

    font-size:24px;

    font-weight:800;

    margin-bottom:18px;

}


/* STOCK */

#productGrid .product-stock{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:max-content;

    padding:10px 18px;

    border-radius:999px;

    background:#e7ffe7;

    color:#1b8c41;

    font-weight:700;

    margin-bottom:28px; /* cách nút */

}


/* KHU NÚT */

#productGrid .product-actions{

    margin-top:auto;

    padding-top:20px; /* tách khỏi chữ */

}


/* BUTTON */

#productGrid .add-to-bag{

    width:100%;

    height:58px;

    border:none;

    border-radius:14px;

    margin-top:12px;

    margin-bottom:10px;

    background:#d8d8d8 !important;

    color:#111;

    font-size:16px;

    font-weight:800;

    cursor:pointer;

}


/* HOVER */

#productGrid .add-to-bag:hover{

    background:#c7c7c7 !important;

}


/* XÓA MARGIN CŨ */

#productGrid button{

    margin:0 !important;

}


/* MOBILE */

@media(max-width:768px){

#productGrid{

grid-template-columns:1fr;

padding:16px;

}

}
/* =========================
PRODUCT GRID
========================= */

.product-grid{

display:grid;

grid-template-columns:
repeat(
auto-fill,
minmax(300px,1fr)
);

gap:32px;

padding:30px;

}


/* CARD */

.product-card{

background:#fff;

border-radius:20px;

overflow:hidden;

display:flex;

flex-direction:column;

min-height:650px;

}


/* IMAGE */

.product-image{

height:340px;

overflow:hidden;

}


.product-image img{

width:100%;

height:100%;

object-fit:cover;

}


/* INFO */

.product-info{

padding:22px;

display:flex;

flex-direction:column;

flex:1;

}


/* NAME */

.product-name{

font-size:18px;

font-weight:700;

color:#111;

line-height:1.5;

min-height:60px;

margin-bottom:18px;

}


/* PRICE */

.product-price{

font-size:26px;

font-weight:800;

color:#111;

margin-bottom:18px;

}


/* STOCK */

.product-stock{

background:#e8fff0;

color:#118844;

padding:10px 18px;

border-radius:999px;

width:max-content;

margin-bottom:26px;

}


/* BUTTON */

.product-buttons{

margin-top:auto;

display:flex;

gap:14px;

}


.btn-add{

flex:1;

height:58px;

background:#d6d6d6;

color:#111;

font-weight:700;

border:none;

border-radius:14px;

}


.btn-detail{

flex:1;

height:58px;

background:#111;

color:#fff;

border:none;

border-radius:14px;

}


.btn-add:hover{

background:#c2c2c2;

}


.btn-detail:hover{

background:#333;

}
/* PRODUCT */

#productGrid{

display:grid !important;

grid-template-columns:
repeat(
auto-fill,
minmax(300px,1fr)
);

gap:28px;

padding:30px;

}


.product-card{

background:#444444;

border-radius:20px;

overflow:hidden;

display:flex;

flex-direction:column;

min-height:680px;

}


.product-image{

height:340px;

}


.product-image img{

width:100%;

height:100%;

object-fit:cover;

cursor:pointer;

}


.product-info{

padding:24px;

display:flex;

flex-direction:column;

flex:1;

}


.product-name{

color:#111;

font-size:18px;

font-weight:700;

line-height:1.5;

min-height:60px;

margin-bottom:18px;

}


.product-price{

color:#111;

font-size:26px;

font-weight:800;

margin-bottom:18px;

}


.product-stock{

background:#e7ffe8;

color:#13823f;

padding:10px 18px;

border-radius:999px;

width:max-content;

margin-bottom:30px;

}


.product-buttons{

margin-top:auto;

display:flex;

gap:14px;

}


.btn-add{

flex:1;

height:58px;

background:#d9d9d9;

color:#111;

border:none;

border-radius:14px;

font-weight:700;

}


.btn-view{

flex:1;

height:58px;

background:#111;

color:#fff;

border:none;

border-radius:14px;

}


.btn-add:hover{

background:#c7c7c7;

}


.btn-view:hover{

background:#333;

} 