.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  flex-wrap: wrap;
}

.logo a {
  font-size: 32px;
  font-weight: 800;
  color: #111;
  text-decoration: none;
}

.logo .span {
  color: #1f3d2b;
}

.navbar ul {
  display: flex;
  gap: 20px;
  padding: 18px 0;  
  list-style: none;
}

.navbar ul li a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  color: #2c2c2c;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.navbar ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: #1f3d2b;
  transition: width 0.3s ease;
  border-radius: 5px;
}

.navbar ul li a:hover {
  color: #1f3d2b;
}

.navbar ul li a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

.search-container {
  position: relative;
  width: 400px;
}

.search-container input {
  width: 100%;
  height: 36px;
  padding: 0 40px 0 10px;
  border-radius: 30px;
  border: none;
  outline: none;
  background: #f1f3f6;
  font-size: 14px;
}

.search-container i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
}

.toggle button {
  padding: 6px 14px;
  border-radius: 20px;
  border: none;
  background: #1f3d2b;
  color: #fff;
  cursor: pointer;
}

.action-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.action-item {
  position: relative;
}

.action-item i {
  font-size: 20px;
  cursor: pointer;
  color: #1F3D2B; 
}

.bag-item-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff3f6c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer {
  background: linear-gradient(135deg, #1f3d2b, #2f5f42);
  color: #fff;
  padding: 60px 20px 30px;
  margin-top: 120px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-column {
  flex: 1 1 220px;
}

.footer-column h3 {
  font-size: 16px;
  margin-bottom: 14px;
  position: relative;
  letter-spacing: 0.5px;
}

.footer-column h3::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #9fd8b3;
  display: block;
  margin-top: 6px;
  transition: width 0.35s ease;
}

.footer-column h3:hover::after {
  width: 30%;
}

.footer-text {
  font-size: 14px;
  line-height: 1.7;
  color: #d2e3d9;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
  align-items: center;
}

.social-icons i {
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  color: #1f3d2b;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-icons i:hover {
  background: #2f5f42;
  color: #ddd;
  transform: translateY(-4px);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: #c7d6cd;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 15px;
}

.footer-row hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 20px 0;
}

.product-item {
  width: 260px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: all 0.35s ease;
  margin-bottom: 20px;
}

.product-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(31,61,43,0.25);
}

.product-item .cloth-img {
  background: linear-gradient(135deg, #eaf6f6, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-item .cloth-img img {
  width: 100%;
  max-width: 180px;
  transition: transform 0.4s ease;
}

.product-item:hover img {
  transform: scale(1.08);
}

.product-item .description {
  padding: 18px;
}

.product-item .description h3 {
  font-size: 17px;
  font-weight: 700;
  color: #282c3f;
  margin-bottom: 6px;
}

.product-item .description p {
  font-size: 14px;
  color: #696e79;
  margin-bottom: 14px;
  line-height: 1.4;
}

.product-item .price-cart {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.product-item .price-cart .price {
  font-size: 18px;
  font-weight: 700;
  color: #1F3D2B;
}

.product-item .price-cart button {
  padding: 8px 14px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #1F3D2B, #3C6E4E);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-item .price-cart button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(31,61,43,0.35);
}




body {
  transition: background 0.3s ease, color 0.3s ease;
}

body.dark-mode {
  background: #0a0e27;
  color: #e4e6eb;
}

body.dark-mode .header,
body.dark-mode .navbar {
  background: rgba(15, 20, 35, 0.95);
  border-bottom: 1px solid rgba(93, 211, 158, 0.2);
}

body.dark-mode .logo a {
  color: #ffffff;
}

body.dark-mode .logo .span {
  color: #5dd39e;
}

body.dark-mode .navbar ul li a {
  color: #e4e6eb;
}

body.dark-mode .navbar ul li a:hover {
  color: #5dd39e;
}

body.dark-mode .navbar ul li a::after {
  background: #5dd39e;
}

body.dark-mode .hamburger {
  color: #e4e6eb;
}

body.dark-mode .search-container input {
  background: rgba(28, 35, 50, 0.8);
  color: #e4e6eb;
  border: 1px solid rgba(93, 211, 158, 0.2);
}

body.dark-mode .search-container input::placeholder {
  color: #8899a6;
}

body.dark-mode .search-container i {
  color: #5dd39e;
}

body.dark-mode .toggle button {
  background: linear-gradient(135deg, #5dd39e, #3ca876);
  color: #0a0e27;
}

body.dark-mode .action-item i {
  color: #5dd39e;
}

body.dark-mode .action-item i:hover {
  color: #5dd39e;
  transform: scale(1.1);
}

body.dark-mode .hero {
  background: linear-gradient(135deg, #1a2f3a, #2d4f3f);
}

body.dark-mode .hero-content h1 {
  color: #ffffff;
}

body.dark-mode .hero-content .discount {
  color: #5dd39e;
}

body.dark-mode .hero-content button {
  background: linear-gradient(135deg, #5dd39e, #3ca876);
  color: #0a0e27;
}

body.dark-mode .marquee {
  background: #0f1520;
}

body.dark-mode .marquee-track img {
  border: 1px solid rgba(93, 211, 158, 0.2);
}

body.dark-mode .best-products,
body.dark-mode .women,
body.dark-mode .men,
body.dark-mode .shoes {
  background: #151b2e;
  box-shadow: 0 18px 40px rgba(93, 211, 158, 0.2);
}

body.dark-mode .best-products h1,
body.dark-mode .women h1,
body.dark-mode .men h1,
body.dark-mode .shoes h1 {
  color: #5dd39e;
}

body.dark-mode .best-products h1::after,
body.dark-mode .women h1::after,
body.dark-mode .men h1::after,
body.dark-mode .shoes h1::after {
  background: #5dd39e;
}

body.dark-mode .product-item {
  background: linear-gradient(135deg, #1a2235, #232d45);
  border: 1px solid rgba(93, 211, 158, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

body.dark-mode .product-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(93, 211, 158, 0.4);
  border: 1px solid rgba(93, 211, 158, 0.4);
}

body.dark-mode .product-item .cloth-img,
body.dark-mode .product-item .item-container-img,
body.dark-mode .product-item .shoe-img {
  background: linear-gradient(135deg, #0f1520, #1a2235);
  border-bottom: 1px solid rgba(93, 211, 158, 0.1);
}

body.dark-mode .product-item .description h3 {
  color: #ffffff;
}

body.dark-mode .product-item .description p {
  color: #a8b5c7;
}

body.dark-mode .product-item .price {
  color: #5dd39e;
}

body.dark-mode .product-item .price-cart button,
body.dark-mode .add-to-cart-btn {
  background: linear-gradient(135deg, #5dd39e, #3ca876);
  color: #0a0e27;
}

body.dark-mode .product-item .price-cart button:hover,
body.dark-mode .add-to-cart-btn:hover {
  box-shadow: 0 8px 25px rgba(93, 211, 158, 0.5);
}

body.dark-mode .cart-section {
  background: #151b2e;
  box-shadow: 0 18px 40px rgba(93, 211, 158, 0.2);
}

body.dark-mode .cart-section h1 {
  color: #5dd39e;
}

body.dark-mode .cart-section h1::after {
  background: #5dd39e;
}

body.dark-mode .cart-header-row {
  background: linear-gradient(135deg, #5dd39e, #3ca876);
  color: #0a0e27;
}

body.dark-mode .cart-items {
  background: #1a2235;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

body.dark-mode .cart-item {
  border-bottom: 1px solid rgba(93, 211, 158, 0.1);
}

body.dark-mode .cart-item:hover {
  background: #1f2840;
}

body.dark-mode .item-info h3 {
  color: #ffffff;
}

body.dark-mode .item-info p {
  color: #a8b5c7;
}

body.dark-mode .item-price,
body.dark-mode .item-total {
  color: #5dd39e;
}

body.dark-mode .quantity-controls button {
  background: linear-gradient(135deg, #5dd39e, #3ca876);
  color: #0a0e27;
}

body.dark-mode .quantity-controls button:hover {
  box-shadow: 0 5px 15px rgba(93, 211, 158, 0.5);
}

body.dark-mode .quantity-controls span {
  color: #e4e6eb;
}

body.dark-mode .remove-btn {
  color: #ff6b6b;
}

body.dark-mode .remove-btn:hover {
  color: #ff5252;
}

body.dark-mode .empty-cart {
  background: #1a2235;
}

body.dark-mode .empty-cart i {
  color: #3a4556;
}

body.dark-mode .empty-cart h2 {
  color: #ffffff;
}

body.dark-mode .empty-cart p {
  color: #a8b5c7;
}

body.dark-mode .continue-shopping-btn {
  background: linear-gradient(135deg, #5dd39e, #3ca876);
  color: #0a0e27;
}

body.dark-mode .continue-shopping-btn:hover {
  box-shadow: 0 10px 25px rgba(93, 211, 158, 0.5);
}

body.dark-mode .cart-summary {
  background: #1a2235;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(93, 211, 158, 0.2);
}

body.dark-mode .cart-summary h2 {
  color: #5dd39e;
  border-bottom: 2px solid rgba(93, 211, 158, 0.3);
}

body.dark-mode .summary-row {
  color: #e4e6eb;
}

body.dark-mode .summary-row.total-row {
  color: #5dd39e;
}

body.dark-mode .cart-summary hr {
  background: rgba(93, 211, 158, 0.2);
}

body.dark-mode .promo-code input {
  background: rgba(28, 35, 50, 0.8);
  color: #e4e6eb;
  border: 1px solid rgba(93, 211, 158, 0.2);
}

body.dark-mode .promo-code input::placeholder {
  color: #8899a6;
}

body.dark-mode .promo-code button {
  background: #1f2840;
  color: #e4e6eb;
  border: 1px solid rgba(93, 211, 158, 0.2);
}

body.dark-mode .promo-code button:hover {
  background: #5dd39e;
  color: #0a0e27;
  border-color: #5dd39e;
}

body.dark-mode .checkout-btn {
  background: linear-gradient(135deg, #5dd39e, #3ca876);
  color: #0a0e27;
}

body.dark-mode .checkout-btn:hover {
  box-shadow: 0 15px 35px rgba(93, 211, 158, 0.5);
}

body.dark-mode .clear-cart-btn {
  background: #1a2235;
  color: #ff6b6b;
  border: 2px solid #ff6b6b;
}

body.dark-mode .clear-cart-btn:hover {
  background: #ff6b6b;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

body.dark-mode .payment-icons i {
  color: #5dd39e;
}

body.dark-mode .payment-icons i:hover {
  color: #3ca876;
}

body.dark-mode .toast {
  background: linear-gradient(135deg, #5dd39e, #3ca876);
  color: #0a0e27;
  box-shadow: 0 10px 30px rgba(93, 211, 158, 0.6);
}

body.dark-mode .contact {
  background: #0f111f;
  color: #e4e6eb;
}

body.dark-mode .contact h1 {
  color: #5dd39e;
}

body.dark-mode .contact-info,
body.dark-mode .contact-form {
  background: #1a1f36;
  box-shadow: 0 8px 20px rgba(93, 211, 158, 0.2);
  color: #e4e6eb;
  border: 1px solid rgba(93, 211, 158, 0.2);
}

body.dark-mode .contact-info h2,
body.dark-mode .contact-form h2 {
  color: #5dd39e;
}

body.dark-mode .contact-info p,
body.dark-mode .info-item {
  color: #c0c5d0;
}

body.dark-mode .info-item i {
  color: #5dd39e;
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
  background: #121726;
  color: #e4e6eb;
  border: 1px solid rgba(93, 211, 158, 0.3);
}

body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder {
  color: #8899a6;
}

body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form textarea:focus {
  border-color: #5dd39e;
}

body.dark-mode .contact-form button {
  background: linear-gradient(135deg, #5dd39e, #3ca876);
  color: #0a0e27;
  border: none;
}

body.dark-mode .contact-form button:hover {
  box-shadow: 0 8px 16px rgba(93, 211, 158, 0.5);
}

/* ============ FOOTER ============ */
body.dark-mode .footer {
  background: linear-gradient(135deg, #0a0e1a, #151b2e);
}

body.dark-mode .footer-column h3 {
  color: #5dd39e;
}

body.dark-mode .footer-column h3::after {
  background: #5dd39e;
}

body.dark-mode .footer-text {
  color: #b8c5d0;
}

body.dark-mode .social-icons i {
  background: #5dd39e;
  color: #0a0e27;
}

body.dark-mode .social-icons i:hover {
  background: #ffffff;
  color: #0a0e27;
}

body.dark-mode .footer-bottom {
  color: #8899a6;
  border-color: rgba(93, 211, 158, 0.2);
}

body.dark-mode .footer-row hr {
  border-color: rgba(93, 211, 158, 0.2);
}

body.dark-mode #noProduct {
  color: #a8b5c7;
}




