body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-primary);
}
* {
  box-sizing: border-box;
}
:root {
  --bg-deep: #060810;
  --bg-dark: #0a0d18;
  --bg-card: #0e1220;
  --bg-card2: #131826;
  --neon-cyan: #00f0ff;
  --neon-red: #ff2d55;
  --neon-orange: #ff6b00;
  --neon-green: #00ff88;
  --accent: #7c3aed;
  --text-primary: #e8eaf6;
  --text-secondary: #7b8ab0;
  --border: rgba(0, 240, 255, 0.12);
  --border-hot: rgba(255, 45, 85, 0.3);
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.4);
  --glow-red: 0 0 20px rgba(255, 45, 85, 0.5);
  --gray-100: #cbd5e1;
  --gray-200: #94a3b8;
  --gray-300: #64748b;
  --gray-400: #475569;

  --neon-blue: #3b82f6;

  --gold: #f5c542;
  --gold-glow: 0 0 20px rgba(245, 197, 66, 0.4);
}
.header {
  background-color: var(--bg-dark);
  margin: 0px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#logo {
  height: auto;
  color: var(--neon-red);
  font-size: 24px;
  font-weight: bold;
  margin-left: 20px;
}
#actions {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-right: 20px;
}
.home-btn {
  width: 150px;
  border: 2px solid var(--neon-green);
  background: transparent;
  color: var(--neon-green);
  border-radius: 15px;
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.login-btn {
  width: 150px;
  border: 2px solid var(--neon-cyan);
  background: transparent;
  color: var(--neon-cyan);
  border-radius: 15px;
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
}
.register-btn {
  width: 150px;
  border: 2px solid var(--neon-cyan);
  background: transparent;
  color: var(--neon-cyan);
  border-radius: 15px;
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 0 10px var(--neon-cyan);
}
.cart-btn {
  width: 150px;
  border: 2px solid var(--neon-orange);
  background: transparent;
  color: var(--neon-orange);
  border-radius: 15px;
  padding: 10px 20px;
  cursor: pointer;
  position: relative;
}
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--neon-red);
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
}
.hero {
  background-color: var(--bg-dark);
  padding: 50px 20px;

  gap: 20px;
}
.hero-content {
  max-width: 800px;
  margin: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.hero-badge {
  width: auto;

  padding: 5px 10px;
  color: var(--neon-red);
  font-size: 10px;
  white-space: nowrap;
  text-transform: uppercase;
  border: 2px solid var(--neon-red);
  box-shadow: var(--glow-red);
  letter-spacing: 4px;
}
.hero-title {
  color: var(--text-primary);
  margin: 20px 0 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 65px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 4px;
  justify-content: center;
}
.hero-title-highlight {
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
}
.hero-description {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.search-box {
  display: flex;
  width: 100%;
  max-width: 1000px;
  overflow: hidden;
  border: 2px solid var(--neon-cyan);
  border-radius: 15px;
}
#search-input {
  flex: 1;
  padding-left: 20px;
}
#search-input input {
  width: 100%;
  height: 55px;
  border-radius: 15px 0 0 15px;
  background-color: var(--bg-card);
  color: var(--text-primary);
  border: none;
  outline: none;
}
#search-input input:focus {
  outline: none;
  border: none;
  box-shadow: none;
}
#search-button {
  width: 180px;
  background-color: var(--neon-cyan);
  align-items: center;
  display: flex;
  justify-content: center;
  border-radius: 0 15px 15px 0;
}
#search-button button {
  width: 100%;
  height: 55px;
  border-radius: 0 15px 15px 0;
  background-color: var(--neon-cyan);
  color: var(--bg-dark);
  font-weight: bold;
  cursor: pointer;
  box-shadow: var(--glow-cyan);
  border: none;
  outline: none;
}
#search-button button:hover {
  background-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}
.content {
  background-color: var(--bg-dark);
  height: 530px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container {
  max-width: 1200px;
  width: 75%;
  height: 350px;
}
.section-title {
  color: var(--bg-dark);
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}
.hero-slider {
  display: flex;
  gap: 20px;
  padding-bottom: 10px;
}
.slider {
  width: 100%;
  height: 100%;
  display: flex;
  background: linear-gradient(
    90deg,
    #19032f 0%,
    #151c41 50%,
    rgba(97, 240, 250, 0.793) 100%
  );
  border: 1px solid var(--neon-cyan);
  border-radius: 15px;
  box-shadow: var(--glow-cyan);
  overflow: hidden;
  justify-content: center;
  align-items: center;
  display: none;
}
.slider.slide-active {
  display: flex;
}
.slide-left {
  width: 60%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px 60px;
  justify-content: center;
}
.slide-trangthai {
  width: fit-content;
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-size: 12px;
  font-weight: bold;
  border-radius: 10px;
  padding: 5px 10px;
}
.slide-ten {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: bold;
}
.slide-gia {
  color: var(--text-secondary);
  font-size: 16px;
  border: 2px solid var(--neon-cyan);
  border-radius: 10px;
  padding: 5px 10px;
  width: fit-content;
  margin: 10px 0;
}
.slide-mota {
  color: var(--text-secondary);
  font-size: 14px;
}
.slide-nut {
  width: 100px;
  height: 30px;
  color: var(--bg-dark);
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  cursor: pointer;
}

.slide-right {
  width: 40%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slide-anh {
  width: 75%;
  height: auto;
  object-fit: contain;
  background-color: var(--bg-card);
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-dark);
}
.section-title {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: bold;
  font-family: "Orbitron", monospace;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.section-more {
  font-family: "Rajdhani", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
}
.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
  margin: 0 20px;
}
.main-layout {
  background-color: var(--bg-dark);
  padding: 50px 20px;
  display: flex;
  gap: 50px;
}
.filter-panel {
  width: 250px;
  gap: 20px;
  margin-bottom: 30px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  background-color: var(--bg-card);
}
.cat-list {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-title {
  color: var(--neon-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px;
}
.cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.88rem;
  padding: 8px 10px;
  border-radius: 5px;
  transition: 0.2s;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
}
.cat-count {
  background-color: var(--text-secondary);
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
  color: var(--neon-cyan);
}
.cat-item span {
  color: var(--text-primary);
}
.cat-item:hover {
  background-color: var(--border-hot);
  border-color: var(--neon-cyan);
}
.products-area {
  flex: 1;

  display: flex;
  flex-direction: column;
  padding: 10px;
}
.products-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}
.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}
.product-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 5px;
}
.product-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-name {
  color: var(--text-primary);
  font-weight: bold;
  font-size: 18px;
}
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.spec {
  border: 1px solid var(--neon-cyan);
  border-radius: 5px;
  font-size: 12px;
  padding: 2px 6px;
  color: var(--text-secondary);
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.product-price {
  color: var(--neon-cyan);
  font-weight: bold;
}
.product-button {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid var(--neon-cyan);
}
.product-button:hover {
  background-color: var(--neon-cyan);
  color: var(--bg-dark);
  box-shadow: var(--glow-cyan);
}
.cat-item.active {
  background-color: var(--border-hot);
  border-color: var(--neon-cyan);
}
.count-badge {
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--neon-cyan);
  color: var(--bg-dark);
  font-size: 14px;
  font-weight: bold;
}
footer {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 1.5rem;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-brand .logo {
  font-size: 1.2rem;
  display: inline-block;
}
.footer-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 0.8rem;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.social-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text-secondary);
}
.social-btn:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}
.footer-col h4 {
  font-family: "Rajdhani", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.83rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text-primary);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-secondary);
}
/* ========== RESPONSIVE CHO TRANG CHỦ (ĐÃ XÓA MENU) ========== */

/* Tablet & điện thoại (dưới 1024px) */
@media only screen and (max-width: 1024px) {
  .header {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }

  #logo {
    margin-left: 0;
    text-align: center;
    font-size: 28px;
  }

  #actions {
    margin-right: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .login-btn,
  .register-btn,
  .cart-btn {
    width: auto;
    min-width: 100px;
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* Điện thoại (dưới 768px) */
@media only screen and (max-width: 768px) {
  /* Hero */
  .hero {
    padding: 30px 15px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-badge {
    font-size: 8px;
    letter-spacing: 2px;
  }

  .hero-description {
    font-size: 13px;
  }

  /* Search box */
  .search-box {
    flex-direction: column;
    width: 95%;
    border-radius: 12px;
  }

  #search-input {
    padding-left: 0;
    width: 100%;
  }

  #search-input input {
    border-radius: 12px 12px 0 0;
    height: 45px;
  }

  #search-button {
    width: 100%;
    border-radius: 0 0 12px 12px;
  }

  #search-button button {
    border-radius: 0 0 12px 12px;
    height: 45px;
  }

  /* Slider */
  .content {
    height: auto;
    padding: 20px 15px;
  }

  .container {
    width: 100%;
    height: auto;
  }

  .hero-slider {
    flex-direction: column;
    gap: 20px;
  }

  .slider {
    flex-direction: column;
  }

  .slide-left {
    width: 100%;
    padding: 20px;
    text-align: center;
    align-items: center;
  }

  .slide-right {
    width: 100%;
    padding: 0 20px 20px;
  }

  .slide-anh {
    width: 60%;
  }

  .slide-ten {
    font-size: 18px;
  }

  .slide-gia {
    font-size: 14px;
  }

  /* Section header */
  .section-header {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
  }

  .section-title {
    font-size: 18px;
  }

  .section-line {
    width: 50px;
    margin: 0 8px;
  }

  /* Main layout */
  .main-layout {
    flex-direction: column;
    padding: 20px 15px;
    gap: 20px;
  }

  /* Sidebar */
  .sidebar {
    width: 100%;
  }

  .filter-panel {
    width: 100%;
  }

  .cat-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Products grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card {
    padding: 10px;
  }

  .product-name {
    font-size: 14px;
  }

  .product-price {
    font-size: 13px;
  }

  .spec {
    font-size: 10px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }
}

/* Điện thoại nhỏ (dưới 480px) */
@media only screen and (max-width: 480px) {
  .hero-title {
    font-size: 22px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .cat-list {
    grid-template-columns: 1fr;
  }

  .slide-anh {
    width: 80%;
  }

  .login-btn,
  .register-btn,
  .cart-btn {
    min-width: 85px;
    padding: 6px 12px;
    font-size: 11px;
  }

  .cart-count {
    top: -8px;
    right: -8px;
    font-size: 9px;
    padding: 1px 4px;
  }

  #logo {
    font-size: 24px;
  }
}

/* Desktop lớn (giữ nguyên style cũ) */
@media only screen and (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

/*đăng nhập và đăng kí*/
#dangnhap {
  margin: 0;
  padding: 0;
  font-family: Arial;
  background: #0a0d18;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.login-box {
  width: 350px;
  background: #0e1220;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #00f0ff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.login-box h2 {
  text-align: center;
  color: #00f0ff;
  margin-bottom: 20px;
}

.login-box input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
  outline: none;
  background: #131826;
  color: #fff;
  font-size: 14px;
}

.login-box button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: #00f0ff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.login-box button:hover {
  background: #00c2cc;
}

.text {
  text-align: center;
  margin-top: 10px;
  color: #aaa;
  font-size: 13px;
}

a {
  color: #00f0ff;
  text-decoration: none;
}
#dangki {
  margin: 0;
  padding: 0;
  font-family: Arial;
  background: #0a0d18;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.signup-box {
  width: 350px;
  background: #0e1220;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #00f0ff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.signup-box h2 {
  text-align: center;
  color: #00f0ff;
  margin-bottom: 20px;
}

.signup-box input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
  outline: none;
  background: #131826;
  color: #fff;
  font-size: 14px;
}

.signup-box button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: #00f0ff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.signup-box button:hover {
  background: #00c2cc;
}

/* chi tiết sản phẩm */
#product-detail {
  width: 100%;
  margin: 0px;
  padding: 0px;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 48px;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-dark);
}
#product-image {
  flex: 1;
  text-align: center;
  padding: 10px;
}
#product-image img {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
  padding: 10px;
}

#product-image img:hover {
  transform: scale(1.03);
}

#product-info {
  flex: 1;
}

#product-info h2 {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  color: var(--text-primary);
  margin: 0 0 12px;
  padding: 10px;
}

.rating {
  color: var(--neon-cyan);
  font-size: 18px;
  margin-bottom: 16px;
}

.price {
  color: var(--gold);
  text-shadow: var(--glow-gold);
  font-size: 28px;
  font-weight: 800;
}
.price p {
  font-size: 14px;
  color: var(--gold);
  margin: 16px 0;
}

.description {
  color: var(--text-primary);
  line-height: 1.8;
  font-size: 15px;
  border-left: 4px solid var(--gray-300);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 8px;
  text-align: justify;
}

.quantity {
  margin-top: 28px;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.quantity input {
  width: 72px;
  height: 42px;
  padding: 0 10px;
  font-size: 16px;
  border: 2px solid #c5e0c9;
  font-family: inherit;
  font-weight: 700;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 6px;
}

.quantity input:focus {
  border-color: var(--green-main);
}

.btn-cart {
  margin-top: 28px;
  padding: 10px;
}

.btn-cart button {
  padding: 14px 32px;
  background: var(--neon-green);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(36, 138, 58, 0.3);
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.25s;
}

.btn-cart button:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(36, 138, 58, 0.4);
}
/*giỏ hàng*/
.giohang {
  margin: 0;
  font-family: Arial;
  background: #0a0d18;
  color: #fff;
  padding: 20px;
  background-color: var(--bg-dark);
  width: 100%;
  height: 100vh;
}

.giohang h1 {
  color: #00f0ff;
}

.cart-item {
  display: flex;
  gap: 15px;
  background: #131826;
  padding: 15px;
  margin: 10px 0;
  border-radius: 10px;
  align-items: center;
  border: 1px solid #00f0ff33;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-info {
  flex: 1;
}

.price {
  color: #00f0ff;
  font-weight: bold;
}

.giohang button {
  background: red;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.total {
  margin-top: 20px;
  font-size: 20px;
  color: #00f0ff;
}
