* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #050505;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.5;
}

/* HEADER */
/* PREMIUM HEADER */
.main-header {
  background: linear-gradient(90deg, #050505, #0a0a0a, #111111);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 34px;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(0, 207, 255, 0.22);
  box-shadow:
    0 0 16px rgba(0, 207, 255, 0.12),
    0 0 10px rgba(255, 140, 0, 0.08);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 95px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0, 207, 255, 0.18));
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-text h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #00cfff, #0077ff, #ff8a00, #ffb300);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 8px rgba(0, 207, 255, 0.15),
    0 0 12px rgba(255, 140, 0, 0.10);
}

.brand-text p {
  margin: 6px 0 0 0;
  font-size: 14px;
  color: #d8d8d8;
  letter-spacing: 0.4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  transition: 0.3s ease;
}

.main-nav a:hover {
  color: #00cfff;
  background: rgba(0, 207, 255, 0.08);
  box-shadow: 0 0 10px rgba(0, 207, 255, 0.12);
}

.menu-toggle {
  display: none;
  background: linear-gradient(90deg, #0077ff, #00cfff);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.menu-toggle:hover {
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.35);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #111216;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(0, 207, 255, 0.16);
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.06);
}

.header-search input {
  width: 240px;
  padding: 12px 14px;
  border: none;
  outline: none;
  border-radius: 10px;
  background: #0b0b0d;
  color: white;
  font-size: 15px;
}

.header-search input::placeholder {
  color: #bdbdbd;
}

.header-search button {
  background: linear-gradient(90deg, #0077ff, #00cfff);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}

.header-search button:hover {
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.35);
}

.header-cart-btn {
  background: linear-gradient(90deg, #ff7a00, #ffb300);
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(255, 140, 0, 0.2);
}

.header-cart-btn:hover {
  box-shadow: 0 0 18px rgba(255, 140, 0, 0.35);
}

/* HERO */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
    url("images/store.jpg") center/cover no-repeat;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  width: 100%;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.hero-text {
  max-width: 700px;
  text-align: center;
  color: white;
  background: rgba(10, 10, 10, 0.78);
  padding: 35px 25px;
  border-radius: 22px;
  border: 1px solid rgba(0, 207, 255, 0.25);
  box-shadow: 0 0 24px rgba(0, 207, 255, 0.15), 0 0 24px rgba(255, 140, 0, 0.08);
}

.hero-text h1 {
  font-size: 48px;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #00cfff, #0077ff, #ff8a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #f1f1f1;
}

.hero-btn {
  display: inline-block;
  background: linear-gradient(90deg, #ff7a00, #ffb300);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 18px;
  transition: 0.3s;
  box-shadow: 0 0 14px rgba(255, 140, 0, 0.35);
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(255, 140, 0, 0.55);
}

/* BANNER */
.promo-banner {
  background: linear-gradient(90deg, #00bfff, #0077ff, #ff8a00);
  color: white;
  text-align: center;
  padding: 14px 20px;
  font-weight: bold;
  font-size: 16px;
}

/* COMMON SECTION WRAP */
.products-section,
.about-section,
.delivery-section,
.testimonials-section,
.message-section,
.contact-section,
.cart-section,
.admin-section,
.login-section {
  width: min(1100px, calc(100% - 24px));
  margin: 24px auto;
  border-radius: 18px;
}

/* PRODUCTS */
.products-section {
  background: #0d0d10;
  text-align: center;
  padding: 40px 14px;
  border: 1px solid rgba(0, 207, 255, 0.12);
  box-shadow: 0 0 18px rgba(0, 207, 255, 0.08);
}

.products-section h2 {
  font-size: 32px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #00cfff, #0077ff, #ff8a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shop-tools {
  max-width: 900px;
  margin: 0 auto 24px;
}

.sort-tools {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

#sort-products {
  max-width: 260px;
}

.search-box {
  width: 100%;
  max-width: 520px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 207, 255, 0.3);
  background: #111216;
  color: white;
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  margin-bottom: 18px;
}

.search-box:focus {
  border-color: #00cfff;
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.25);
}

.category-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.category-buttons button {
  background: linear-gradient(90deg, #0077ff, #00cfff);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
}

.category-buttons button:hover {
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.35);
}

.category-buttons button.active {
  background: linear-gradient(90deg, #ff7a00, #ffb300);
}

.products-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.product-card {
  background: #121218;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(0, 207, 255, 0.1);
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.05);
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 207, 255, 0.2);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(0, 207, 255, 0.18), 0 0 14px rgba(255, 140, 0, 0.12);
}

.product-img {
  width: 130px;
  height: 130px;
  background: #0b0b0d;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  padding: 10px;
  display: block;
  border-radius: 10px;
}

.product-info {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.product-info h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #ffffff;
}

.product-info .price {
  color: #ff9b1a;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

.stock {
  font-weight: bold;
  margin-bottom: 12px;
  color: #00d9ff;
}

.stock-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
}

.stock-badge.in {
  background: rgba(0, 210, 106, 0.15);
  color: #00d26a;
  border: 1px solid rgba(0, 210, 106, 0.35);
}

.stock-badge.low {
  background: rgba(255, 155, 26, 0.15);
  color: #ff9b1a;
  border: 1px solid rgba(255, 155, 26, 0.35);
}

.stock-badge.out {
  background: rgba(255, 77, 79, 0.15);
  color: #ff4d4f;
  border: 1px solid rgba(255, 77, 79, 0.35);
}

.product-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
}

.product-badge.featured {
  background: rgba(0, 207, 255, 0.14);
  color: #00d9ff;
  border: 1px solid rgba(0, 207, 255, 0.35);
}

.product-badge.best-seller {
  background: rgba(255, 155, 26, 0.14);
  color: #ffb347;
  border: 1px solid rgba(255, 155, 26, 0.35);
}

.product-badge.new {
  background: rgba(0, 210, 106, 0.14);
  color: #00d26a;
  border: 1px solid rgba(0, 210, 106, 0.35);
}

.product-card button,
.product-actions button,
.login-actions button,
.admin-form button,
.contact-form button,
.order-actions button,
#clear-cart-btn,
#checkout-btn {
  border: none;
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  font-size: 15px;
  color: white;
}

.product-card button,
.product-actions button,
.login-actions button,
.admin-form button,
.contact-form button,
.order-actions button {
  background: linear-gradient(90deg, #0077ff, #00cfff);
}

.product-card button:hover,
.product-actions button:hover,
.login-actions button:hover,
.admin-form button:hover,
.contact-form button:hover,
.order-actions button:hover {
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.35);
}

.delete-product-btn,
.delete-order-btn {
  background: linear-gradient(90deg, #ff3b30, #d80027) !important;
}

.delete-product-btn:hover,
.delete-order-btn:hover {
  box-shadow: 0 0 12px rgba(255, 59, 48, 0.35) !important;
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-actions button:disabled,
.product-card button:disabled {
  background: #666;
  cursor: not-allowed;
}

/* LOGIN / ADMIN / CART / CONTACT */
.login-section,
.admin-section,
.cart-section,
.message-section,
.contact-section {
  background: #0d0d10;
  padding: 28px 18px;
  box-shadow: 0 0 18px rgba(0, 207, 255, 0.08);
  border: 1px solid rgba(0, 207, 255, 0.12);
}

.login-section h2,
.admin-section h2,
.cart-section h2,
.message-content h2,
.contact-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 32px;
  background: linear-gradient(90deg, #00cfff, #0077ff, #ff8a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-form,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.login-form input,
.contact-form input,
.contact-form textarea,
.admin-form input,
.admin-form select,
.order-form input,
.order-form select,
.order-form textarea,
#order-search,
#sort-products {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0, 207, 255, 0.25);
  background: #111216;
  color: white;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
}

.login-form input:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.admin-form input:focus,
.admin-form select:focus,
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus,
#order-search:focus,
#sort-products:focus {
  border-color: #00cfff;
  box-shadow: 0 0 10px rgba(0, 207, 255, 0.2);
}

.login-actions,
.cart-actions,
.order-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

#login-status {
  font-weight: bold;
  color: #f3f3f3;
  text-align: center;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.image-preview-box {
  background: #111216;
  border: 1px solid rgba(0, 207, 255, 0.2);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.image-preview-box p {
  font-weight: bold;
  margin-bottom: 10px;
  color: #00d9ff;
}

#image-preview {
  width: 100%;
  max-width: 180px;
  height: 180px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
  display: none;
  margin: 0 auto;
}

/* CART */
#cart-items p {
  margin: 10px 0;
  font-size: 16px;
}

#cart-total {
  margin-top: 20px;
  color: #ff9b1a;
  text-align: center;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  margin: 0 0 5px;
  font-size: 18px;
  color: white;
}

.cart-item-info p {
  margin: 0;
  color: #cccccc;
}

.remove-btn {
  background: linear-gradient(90deg, #ff3b30, #d80027);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.remove-btn:hover {
  box-shadow: 0 0 12px rgba(255, 59, 48, 0.35);
}

#clear-cart-btn {
  background: linear-gradient(90deg, #222, #000);
}

#checkout-btn {
  background: linear-gradient(90deg, #ff7a00, #ffb300);
  box-shadow: 0 0 14px rgba(255, 140, 0, 0.25);
}

.order-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.order-form textarea {
  min-height: 110px;
  resize: vertical;
  grid-column: 1 / -1;
}

/* ABOUT */
.about-section,
.delivery-section,
.testimonials-section {
  background: #0d0d10;
  padding: 48px 20px;
  box-shadow: 0 0 18px rgba(0, 207, 255, 0.08);
  border: 1px solid rgba(0, 207, 255, 0.12);
}

.about-content,
.delivery-content,
.testimonials-content,
.message-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2,
.delivery-content h2,
.testimonials-content h2 {
  font-size: 34px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #00cfff, #0077ff, #ff8a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-content p,
.step-box p,
.testimonial-box p,
.contact-section p {
  font-size: 18px;
  line-height: 1.8;
  color: #f1f1f1;
  margin-bottom: 18px;
}

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-box,
.testimonial-box,
.dashboard-card,
.order-card,
#receipt-content {
  background: #111216;
  padding: 24px 18px;
  border-radius: 14px;
  box-shadow: 0 0 14px rgba(0, 207, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.step-box h3,
.testimonial-box h4,
.dashboard-card h3,
.order-card h3 {
  color: #ff9b1a;
  margin-bottom: 12px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-card p {
  font-size: 24px;
  font-weight: bold;
  color: #00d9ff;
}

.orders-tools {
  margin-bottom: 18px;
}

.order-filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.order-filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.order-filter-buttons button {
  background: linear-gradient(90deg, #0077ff, #00cfff);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
  min-width: 110px;
  text-align: center;
}

.order-filter-buttons button.active {
  background: linear-gradient(90deg, #ff7a00, #ffb300);
}

.order-status.new {
  color: #ff9b1a;
  font-weight: bold;
}

.order-status.confirmed {
  color: #00cfff;
  font-weight: bold;
}

.order-status.completed {
  color: #00d26a;
  font-weight: bold;
}

.order-status.cancelled {
  color: #ff4d4f;
  font-weight: bold;
}

.order-items {
  margin: 12px 0;
}

.order-items ul,
#receipt-content ul {
  margin-top: 8px;
  padding-left: 20px;
}

.order-items li,
#receipt-content li {
  margin-bottom: 6px;
  color: #f1f1f1;
}

#receipt-section {
  max-width: 700px;
  margin: 40px auto;
}

#receipt-content h3 {
  color: #ff9b1a;
  margin-bottom: 12px;
}

/* FOOTER */
.main-footer {
  background: linear-gradient(90deg, #050505, #0b0b0b);
  color: white;
  margin-top: 40px;
  border-top: 1px solid rgba(0, 207, 255, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 40px 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-box h3 {
  margin-bottom: 15px;
  color: #00d9ff;
}

.footer-box p,
.footer-box a {
  display: block;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-box a:hover {
  color: #ff9b1a;
}

.footer-bottom {
  text-align: center;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

/* TABLET */
@media (max-width: 900px) {
    .main-header {
    padding: 14px 18px;
    justify-content: center;
  }

  .brand-wrap {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .logo img {
    height: 78px;
  }

  .brand-text h1 {
    font-size: 30px;
  }

  .brand-text p {
    font-size: 13px;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  .main-nav a {
    font-size: 15px;
    padding: 8px 12px;
  }

    .menu-toggle {
    display: none;
  }

  .hero,
  .hero-overlay {
    min-height: 60vh;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-text p {
    font-size: 17px;
  }

  .product-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .product-info {
    text-align: center;
  }

  .product-img {
    width: 150px;
    height: 150px;
  }

  .admin-form {
    grid-template-columns: 1fr;
  }

  .delivery-steps,
  .testimonials-grid,
  .footer-grid,
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
    .header-tools {
    width: 100%;
    justify-content: center;
  }

  .header-search {
    width: 100%;
    max-width: 500px;
    justify-content: center;
  }

  .header-search input {
    width: 100%;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

   .main-header {
  padding: 10px 12px;
  gap: 10px;
  align-items: stretch;
}

.header-top-row {
  align-items: center;
  justify-content: space-between;
}

.brand-wrap {
  width: auto;
  flex: 1;
  min-width: 0;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  gap: 10px;
}

.logo img {
  height: 50px;
}

.brand-text h1 {
  font-size: 22px;
  line-height: 1;
  margin: 0;
}

.brand-text p {
  font-size: 11px;
  margin-top: 4px;
}

.menu-toggle {
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 10px 14px;
  font-size: 20px;
  flex-shrink: 0;
}

.header-fold {
  display: none;
  width: 100%;
  margin-top: 6px;
}

.header-fold.show {
  display: flex;
}

.header-tools {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.header-search {
  width: 100%;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding: 6px;
}

.header-search input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
}

.header-search button {
  width: auto;
  padding: 10px 14px;
  font-size: 14px;
}

.header-cart-btn,
.theme-toggle-btn {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
}

.main-nav {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 0;
  background: #0d0d10;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(0, 207, 255, 0.18);
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.08);
}

.main-nav a {
  width: 100%;
  text-align: center;
  padding: 10px 12px;
  font-size: 14px;
}

    .featured-slider-wrap {
    gap: 8px;
  }

  .featured-arrow {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .featured-card {
    min-width: 180px;
  }

  .featured-card img {
    height: 120px;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 10px;
    background: #0d0d10;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(0, 207, 255, 0.18);
    box-shadow: 0 0 12px rgba(0, 207, 255, 0.08);
  }

  .main-nav.show {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
    background: rgba(0, 207, 255, 0.06);
  }

  .hero,
  .hero-overlay {
    min-height: 52vh;
  }

  .hero-overlay {
    padding: 18px 12px;
  }

  .hero-text {
    padding: 22px 14px;
    border-radius: 14px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-text p {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .hero-btn {
    width: 100%;
    max-width: 220px;
    padding: 12px 18px;
    font-size: 15px;
  }

  .promo-banner {
    font-size: 14px;
    padding: 12px 14px;
  }

  .products-section,
  .about-section,
  .delivery-section,
  .testimonials-section,
  .message-section,
  .contact-section,
  .cart-section,
  .admin-section,
  .login-section {
    width: calc(100% - 16px);
    margin: 16px auto;
    padding-left: 12px;
    padding-right: 12px;
  }

  .products-section h2,
  .about-content h2,
  .delivery-content h2,
  .testimonials-content h2,
  .message-content h2,
  .contact-section h2,
  .cart-section h2,
  .admin-section h2,
  .login-section h2 {
    font-size: 25px;
  }

  .search-box {
    max-width: 100%;
    font-size: 15px;
    padding: 13px 14px;
  }

  .category-buttons,
  .order-filter-buttons {
    gap: 8px;
  }

  .category-buttons button,
  .order-filter-buttons button {
    padding: 9px 14px;
    font-size: 14px;
  }

  .product-card {
    padding: 14px;
    gap: 14px;
  }

  .product-img {
    width: 120px;
    height: 120px;
  }

  .product-info h3 {
    font-size: 20px;
  }

  .product-info .price {
    font-size: 18px;
  }

  .product-card button,
  .product-actions button,
  .login-actions button,
  .admin-form button,
  .contact-form button,
  #clear-cart-btn,
  #checkout-btn,
  .order-actions button {
    width: 100%;
    text-align: center;
  }

  .product-actions,
  .login-actions,
  .cart-actions,
  .order-actions,
  .order-filter-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .order-form,
  .delivery-steps,
  .testimonials-grid,
  .footer-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .cart-item-info p,
  .about-content p,
  .step-box p,
  .testimonial-box p,
  .contact-section p {
    font-size: 15px;
  }
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;

  background: linear-gradient(90deg, #25d366, #128c7e);
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;

  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.35);
  transition: 0.3s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 22px rgba(37, 211, 102, 0.5);
}

@media (max-width: 600px) {
  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    padding: 12px 16px;
    font-size: 14px;
  }
}

.success-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.success-popup.show {
  display: flex;
}

.success-popup-box {
  width: 100%;
  max-width: 430px;
  background: #111216;
  border: 1px solid rgba(0, 207, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 207, 255, 0.12), 0 0 20px rgba(255, 140, 0, 0.08);
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
}

.success-popup-box h2 {
  margin-bottom: 14px;
  background: linear-gradient(90deg, #00cfff, #0077ff, #ff8a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 28px;
}

.success-popup-box p {
  color: #f1f1f1;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 16px;
}

.success-popup-box button {
  background: linear-gradient(90deg, #ff7a00, #ffb300);
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  min-width: 130px;
}

.success-popup-box button:hover {
  box-shadow: 0 0 16px rgba(255, 140, 0, 0.3);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2100;
  padding: 20px;
}

.image-lightbox.show {
  display: flex;
}

.image-lightbox-box {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: #111216;
  border: 1px solid rgba(0, 207, 255, 0.2);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 207, 255, 0.14);
}

#lightbox-image {
  display: block;
  max-width: 80vw;
  max-height: 75vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  background: white;
  padding: 12px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(90deg, #ff3b30, #d80027);
  color: white;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.lightbox-close:hover {
  box-shadow: 0 0 12px rgba(255, 59, 48, 0.35);
}

.product-card img {
  cursor: pointer;
}

/* FEATURED SECTION */
.featured-section {
  padding: 40px 20px;
  background: #0d0d10;
  text-align: center;
}

.featured-section h2 {
  font-size: 32px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #00cfff, #0077ff, #ff8a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.featured-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  flex: 1;
}

.featured-slider::-webkit-scrollbar {
  display: none;
}

.featured-card {
  min-width: 220px;
  background: #111216;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 0 14px rgba(0, 207, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  text-align: center;
}

.featured-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: white;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

.featured-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.featured-card p {
  color: #ff9b1a;
  font-weight: bold;
  margin-bottom: 10px;
}

.featured-card button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #0077ff, #00cfff);
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.featured-card button:hover {
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.3);
}

.featured-arrow {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(90deg, #0077ff, #00cfff);
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  flex-shrink: 0;
}

.featured-arrow:hover {
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.3);
}

.cart-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0b0b0d;
  border: 1px solid rgba(0, 207, 255, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(90deg, #0077ff, #00cfff);
  color: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.qty-btn:hover {
  box-shadow: 0 0 10px rgba(0, 207, 255, 0.28);
}

.qty-value {
  min-width: 20px;
  text-align: center;
  font-weight: bold;
  color: white;
}

.cart-summary-box {
  background: #111216;
  border: 1px solid rgba(0, 207, 255, 0.16);
  border-radius: 14px;
  padding: 16px;
  margin-top: 16px;
  margin-bottom: 18px;
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.06);
}

.cart-summary-box p {
  margin-bottom: 8px;
  color: #f1f1f1;
  font-weight: bold;
}

.cart-summary-box h3 {
  margin-top: 8px;
}

.coupon-box {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  margin-bottom: 10px;
}

.coupon-box input {
  flex: 1;
  min-width: 180px;
}

.coupon-box button {
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, #0077ff, #00cfff);
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.coupon-box button:hover {
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.3);
}

#coupon-message {
  margin-top: 6px;
  margin-bottom: 8px;
  font-weight: bold;
  color: #00d9ff;
}

.orders-export-tools {
  margin-top: 12px;
}

.orders-export-tools button {
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff7a00, #ffb300);
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.orders-export-tools button:hover {
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.3);
}

.top-products-box {
  margin-top: 20px;
  background: #111216;
  border: 1px solid rgba(0, 207, 255, 0.16);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.06);
}

.top-products-box h3 {
  margin-bottom: 14px;
  color: #00d9ff;
}

.top-product-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-product-row:last-child {
  border-bottom: none;
}

.top-product-name {
  font-weight: bold;
  color: white;
}

.top-product-qty {
  color: #ffb347;
  font-weight: bold;
}

.low-stock-box {
  margin-top: 20px;
  background: #111216;
  border: 1px solid rgba(255, 155, 26, 0.18);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 0 12px rgba(255, 155, 26, 0.08);
}

.low-stock-box h3 {
  margin-bottom: 14px;
  color: #ffb347;
}

.low-stock-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.low-stock-row:last-child {
  border-bottom: none;
}

.low-stock-name {
  font-weight: bold;
  color: white;
}

.low-stock-qty {
  color: #ff4d4f;
  font-weight: bold;
}

.out-stock-box {
  margin-top: 20px;
  background: #111216;
  border: 1px solid rgba(255, 77, 79, 0.2);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 0 12px rgba(255, 77, 79, 0.08);
}

.out-stock-box h3 {
  margin-bottom: 14px;
  color: #ff4d4f;
}

.out-stock-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.out-stock-row:last-child {
  border-bottom: none;
}

.out-stock-name {
  font-weight: bold;
  color: white;
}

.out-stock-qty {
  color: #ff4d4f;
  font-weight: bold;
}

.customer-history-box {
  margin-top: 20px;
  background: #111216;
  border: 1px solid rgba(0, 207, 255, 0.16);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.06);
}

.customer-history-box h3 {
  margin-bottom: 14px;
  color: #00d9ff;
}

.customer-history-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.customer-history-tools input {
  flex: 1;
  min-width: 220px;
}

.customer-history-tools button {
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, #0077ff, #00cfff);
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.customer-history-tools button:hover {
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.3);
}

.customer-history-card {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.customer-history-card:last-child {
  border-bottom: none;
}

.customer-history-card h4 {
  margin-bottom: 6px;
  color: white;
}

.customer-history-card p {
  margin-bottom: 4px;
}

.customer-spending-box {
  margin-top: 20px;
  background: #111216;
  border: 1px solid rgba(0, 207, 255, 0.16);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.06);
}

.customer-spending-box {
  margin-top: 24px;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.96), rgba(14, 18, 28, 0.96));
  border: 1px solid rgba(0, 207, 255, 0.14);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 0 18px rgba(0, 207, 255, 0.08);
}

.customer-spending-box h3 {
  margin-bottom: 18px;
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(90deg, #00cfff, #0077ff, #ff9b1a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.customer-spending-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.customer-spending-row:last-child {
  margin-bottom: 0;
}

.customer-spending-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 18px;
}

.customer-spending-meta {
  color: #ffb347;
  font-weight: 700;
  font-size: 17px;
}

.recent-orders-box {
  margin-top: 24px;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.96), rgba(14, 18, 28, 0.96));
  border: 1px solid rgba(0, 207, 255, 0.14);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 0 18px rgba(0, 207, 255, 0.08);
}

.recent-orders-box h3 {
  margin-bottom: 18px;
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(90deg, #00cfff, #0077ff, #ff9b1a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.recent-order-row {
  padding: 18px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(0, 207, 255, 0.03);
}

.recent-order-row:last-child {
  margin-bottom: 0;
}

.recent-order-row h4 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.recent-order-row p {
  margin-bottom: 6px;
  color: #d7dbe3;
  line-height: 1.6;
}

.recent-order-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

.recent-order-status.new {
  background: rgba(0, 217, 255, 0.12);
  color: #00d9ff;
}

.recent-order-status.confirmed {
  background: rgba(255, 179, 71, 0.12);
  color: #ffb347;
}

.recent-order-status.completed {
  background: rgba(0, 210, 106, 0.12);
  color: #00d26a;
}

.recent-order-status.cancelled {
  background: rgba(255, 77, 79, 0.12);
  color: #ff4d4f;
}.dashboard-section {
  background: linear-gradient(180deg, #0b0d12, #10141c);
  border: 1px solid rgba(0, 207, 255, 0.14);
  box-shadow: 0 0 22px rgba(0, 207, 255, 0.08);
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.dashboard-panels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.dashboard-full-width {
  margin-top: 22px;
}

.dashboard-panel {
  background: linear-gradient(180deg, rgba(12, 17, 26, 0.95), rgba(17, 22, 32, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 0 16px rgba(0, 207, 255, 0.05);
}

.dashboard-card {
  background: linear-gradient(180deg, rgba(12, 17, 26, 0.95), rgba(17, 22, 32, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 24px 18px;
  min-height: 135px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dashboard-card h3 {
  margin-bottom: 14px;
  color: #ffb347;
  font-size: 18px;
  font-weight: 700;
}

.dashboard-card p {
  font-size: 30px;
  font-weight: 800;
  color: #00d9ff;
}

.top-products-box,
.low-stock-box,
.out-stock-box,
.customer-history-box,
.customer-spending-box,
.recent-orders-box {
  margin-top: 0;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.top-products-box h3,
.low-stock-box h3,
.out-stock-box h3,
.customer-history-box h3,
.customer-spending-box h3,
.recent-orders-box h3 {
  margin-bottom: 18px;
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(90deg, #00cfff, #0077ff, #ff9b1a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.customer-history-tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.customer-history-tools input {
  flex: 1;
  min-width: 240px;
}

.customer-history-tools button {
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, #0077ff, #00cfff);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.customer-history-tools button:hover {
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.3);
}

.customer-history-card,
.customer-spending-row,
.recent-order-row,
.top-product-row,
.low-stock-row,
.out-stock-row {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.customer-history-card:last-child,
.customer-spending-row:last-child,
.recent-order-row:last-child,
.top-product-row:last-child,
.low-stock-row:last-child,
.out-stock-row:last-child {
  margin-bottom: 0;
}

.customer-spending-row,
.top-product-row,
.low-stock-row,
.out-stock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.customer-spending-name,
.top-product-name,
.low-stock-name,
.out-stock-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 17px;
}

.customer-spending-meta,
.top-product-qty,
.low-stock-qty,
.out-stock-qty {
  font-weight: 700;
  color: #ffb347;
}

.recent-order-row h4,
.customer-history-card h4 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 18px;
}

.recent-order-row p,
.customer-history-card p {
  margin-bottom: 6px;
  color: #d7dbe3;
}

@media (max-width: 1100px) {
  .dashboard-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-panels-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .dashboard-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .dashboard-stats-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-panel,
  .dashboard-card {
    padding: 18px 14px;
  }

  .dashboard-card p {
    font-size: 26px;
  }

  .top-products-box h3,
  .low-stock-box h3,
  .out-stock-box h3,
  .customer-history-box h3,
  .customer-spending-box h3,
  .recent-orders-box h3 {
    font-size: 21px;
  }
}

.analytics-filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.analytics-filter-buttons button {
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0077ff, #00cfff);
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.analytics-filter-buttons button.active {
  background: linear-gradient(90deg, #ff7a00, #ffb300);
}

.analytics-filter-buttons button:hover {
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.3);
}

.chart-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 280px;
  margin: 0 auto;
}

.theme-toggle-btn {
  background: linear-gradient(90deg, #444, #777);
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
}

.theme-toggle-btn:hover {
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

/* LIGHT MODE */
body.light-mode {
  background: #f5f7fb;
  color: #111;
}

body.light-mode .main-header,
body.light-mode .products-section,
body.light-mode .about-section,
body.light-mode .delivery-section,
body.light-mode .testimonials-section,
body.light-mode .message-section,
body.light-mode .contact-section,
body.light-mode .cart-section,
body.light-mode .admin-section,
body.light-mode .login-section,
body.light-mode .featured-section,
body.light-mode .dashboard-panel,
body.light-mode .dashboard-card,
body.light-mode .product-card,
body.light-mode .featured-card,
body.light-mode .step-box,
body.light-mode .testimonial-box,
body.light-mode .order-card,
body.light-mode #receipt-content,
body.light-mode .customer-history-card,
body.light-mode .customer-spending-row,
body.light-mode .recent-order-row,
body.light-mode .top-product-row,
body.light-mode .low-stock-row,
body.light-mode .out-stock-row {
  background: #ffffff;
  color: #111;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

body.light-mode .header-search,
body.light-mode .image-preview-box,
body.light-mode .success-popup-box,
body.light-mode .image-lightbox-box,
body.light-mode .cart-summary-box {
  background: #ffffff;
  color: #111;
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .header-search input,
body.light-mode .search-box,
body.light-mode .login-form input,
body.light-mode .contact-form input,
body.light-mode .contact-form textarea,
body.light-mode .admin-form input,
body.light-mode .admin-form select,
body.light-mode .order-form input,
body.light-mode .order-form select,
body.light-mode .order-form textarea,
body.light-mode #order-search,
body.light-mode #sort-products,
body.light-mode .customer-history-tools input,
body.light-mode .coupon-box input {
  background: #f3f5f8;
  color: #111;
  border-color: rgba(0, 0, 0, 0.12);
}

body.light-mode .brand-text p,
body.light-mode .cart-item-info p,
body.light-mode .recent-order-row p,
body.light-mode .customer-history-card p,
body.light-mode .about-content p,
body.light-mode .step-box p,
body.light-mode .testimonial-box p,
body.light-mode .contact-section p,
body.light-mode .footer-box p,
body.light-mode .footer-box a {
  color: #333;
}

body.light-mode .main-nav a {
  color: #111;
}

body.light-mode .main-nav a:hover {
  color: #0077ff;
}

body.light-mode .promo-banner,
body.light-mode .main-footer {
  color: white;
}

.activity-log-row {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.activity-log-row:last-child {
  margin-bottom: 0;
}

.activity-log-row h4 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 16px;
}

.activity-log-row p {
  margin-bottom: 4px;
  color: #d7dbe3;
}

.backup-tools,
.restore-tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.backup-tools button,
.restore-tools button {
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, #0077ff, #00cfff);
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.backup-tools button:hover,
.restore-tools button:hover {
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.3);
}

.restore-tools input[type="file"] {
  flex: 1;
  min-width: 240px;
}

#backup-restore-message {
  margin-top: 8px;
  color: #d7dbe3;
  font-weight: 600;
}

.new-orders-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff3b30, #ff7a00);
  color: white;
  font-size: 13px;
  font-weight: bold;
  vertical-align: middle;
  box-shadow: 0 0 12px rgba(255, 59, 48, 0.25);
}

.hero {
  background: linear-gradient(135deg, #0f0f14, #1a1a24);
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 34px;
  margin-bottom: 10px;
  color: #00cfff;
}

.hero p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero button {
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  background: #00cfff;
  color: black;
  font-weight: bold;
  cursor: pointer;
}

.secondary-btn {
  background: transparent;
  border: 1px solid #00cfff;
  color: #00cfff;
}

.trust-section {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  flex-wrap: wrap;
}

.trust-box {
  background: #111;
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid #00cfff33;
  color: white;
  font-size: 14px;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 14px;
  }

  .trust-box {
    width: 100%;
    text-align: center;
  }
}

.promo-offers-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 20px;
}

.promo-offer-card {
  position: relative;
  background: linear-gradient(180deg, #11141b, #161b24);
  border: 1px solid rgba(0, 207, 255, 0.12);
  border-radius: 18px;
  padding: 22px 18px;
  color: white;
  box-shadow: 0 0 16px rgba(0, 207, 255, 0.05);
  overflow: hidden;
}

.promo-offer-card h3 {
  margin: 14px 0 10px;
  font-size: 22px;
  color: #ffffff;
}

.promo-offer-card p {
  color: #d6dbe4;
  line-height: 1.6;
  margin-bottom: 18px;
}

.promo-offer-card button {
  border: none;
  padding: 11px 18px;
  border-radius: 10px;
  background: linear-gradient(90deg, #00cfff, #0077ff);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.promo-offer-card button:hover {
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.28);
}

.promo-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.hot-offer {
  border-color: rgba(255, 122, 0, 0.22);
  box-shadow: 0 0 18px rgba(255, 122, 0, 0.08);
}

.hot-offer .promo-tag {
  background: linear-gradient(90deg, #ff7a00, #ffb300);
  color: white;
}

.family-offer {
  border-color: rgba(0, 207, 255, 0.2);
}

.family-offer .promo-tag {
  background: linear-gradient(90deg, #00cfff, #0077ff);
  color: white;
}

.delivery-offer {
  border-color: rgba(0, 210, 106, 0.2);
  box-shadow: 0 0 18px rgba(0, 210, 106, 0.08);
}

.delivery-offer .promo-tag {
  background: linear-gradient(90deg, #00d26a, #00a86b);
  color: white;
}

@media (max-width: 900px) {
  .promo-offers-section {
    grid-template-columns: 1fr;
  }
}

.deal-timer-section {
  padding: 28px 20px;
}

.deal-timer-box {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, #10141d, #171d28);
  border: 1px solid rgba(255, 122, 0, 0.18);
  border-radius: 22px;
  padding: 28px 22px;
  text-align: center;
  color: white;
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.08);
}

.deal-timer-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a00, #ffb300);
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.deal-timer-box h2 {
  margin-bottom: 8px;
  font-size: 30px;
  color: #ffffff;
}

.deal-timer-box p {
  color: #d6dbe4;
  margin-bottom: 20px;
}

.deal-timer-countdown {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.timer-unit {
  min-width: 90px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px 12px;
}

.timer-unit span {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #00cfff;
  line-height: 1;
}

.timer-unit small {
  display: block;
  margin-top: 8px;
  color: #d6dbe4;
  font-size: 13px;
}

.deal-timer-box button {
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  background: linear-gradient(90deg, #00cfff, #0077ff);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.deal-timer-box button:hover {
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.3);
}

@media (max-width: 600px) {
  .deal-timer-box h2 {
    font-size: 24px;
  }

  .timer-unit {
    min-width: 72px;
    padding: 14px 10px;
  }

  .timer-unit span {
    font-size: 26px;
  }
}

.best-seller-section {
  padding: 28px 20px;
}

.best-seller-header {
  text-align: center;
  margin-bottom: 22px;
}

.best-seller-header h2 {
  font-size: 30px;
  color: #ffffff;
  margin-bottom: 8px;
}

.best-seller-header p {
  color: #d6dbe4;
}

.best-seller-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.best-seller-card {
  background: linear-gradient(180deg, #10141d, #171d28);
  border: 1px solid rgba(0, 207, 255, 0.12);
  border-radius: 18px;
  padding: 16px;
  color: white;
  box-shadow: 0 0 16px rgba(0, 207, 255, 0.05);
  text-align: center;
}

.best-seller-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}

.best-seller-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.best-seller-card p {
  color: #d6dbe4;
  margin-bottom: 10px;
}

.best-seller-card .best-price {
  display: block;
  margin-bottom: 12px;
  color: #00cfff;
  font-weight: 800;
  font-size: 18px;
}

.best-seller-card button {
  border: none;
  padding: 11px 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, #00cfff, #0077ff);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.best-seller-card button:hover {
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.28);
}

.best-seller-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a00, #ffb300);
  color: white;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .best-seller-grid {
    grid-template-columns: 1fr;
  }

  .best-seller-header h2 {
    font-size: 24px;
  }
}

.reviews-showcase-section {
  padding: 28px 20px;
}

.reviews-header {
  text-align: center;
  margin-bottom: 22px;
}

.reviews-header h2 {
  font-size: 30px;
  color: #ffffff;
  margin-bottom: 8px;
}

.reviews-header p {
  color: #d6dbe4;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  background: linear-gradient(180deg, #10141d, #171d28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px 18px;
  color: white;
  box-shadow: 0 0 16px rgba(0, 207, 255, 0.05);
}

.review-stars {
  color: #ffb300;
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-card p {
  color: #d6dbe4;
  line-height: 1.7;
  margin-bottom: 16px;
}

.review-card h4 {
  color: #00cfff;
  font-size: 16px;
  margin: 0;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .reviews-header h2 {
    font-size: 24px;
  }
}

.sticky-whatsapp-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #25d366, #128c7e);
  color: white;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sticky-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(37, 211, 102, 0.38);
}

.whatsapp-icon {
  font-size: 20px;
  line-height: 1;
}

.whatsapp-text {
  font-size: 14px;
  line-height: 1;
}

@media (max-width: 600px) {
  .sticky-whatsapp-btn {
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
  }

  .whatsapp-text {
    display: none;
  }

  .whatsapp-icon {
    font-size: 22px;
  }
}

.scroll-top-btn {
  position: fixed;
  right: 18px;
  bottom: 80px;
  z-index: 9998;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(90deg, #0077ff, #00cfff);
  color: white;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  display: none;
  box-shadow: 0 0 16px rgba(0, 207, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scroll-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(0, 207, 255, 0.38);
}

.scroll-top-btn.show {
  display: block;
}

@media (max-width: 600px) {
  .scroll-top-btn {
    right: 14px;
    bottom: 74px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}


.main-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, #0d1118, #121826);
  border-top: 1px solid rgba(0, 207, 255, 0.12);
  padding: 36px 20px 18px;
  color: white;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-box h3,
.footer-box h4 {
  margin-bottom: 14px;
  color: #00cfff;
}

.footer-box p {
  color: #d6dbe4;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-box a {
  display: block;
  color: #d6dbe4;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.footer-box a:hover {
  color: #00cfff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 22px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  color: #bfc7d4;
  margin: 0;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .main-footer {
    padding: 28px 16px 16px;
  }
}

section {
  width: 100%;
}

.hero,
.trust-section,
.promo-offers-section,
.deal-timer-section,
.best-seller-section,
.reviews-showcase-section,
.products-section,
.about-section,
.contact-section,
.cart-section {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.best-seller-header h2,
.reviews-header h2,
.deal-timer-box h2 {
  font-weight: 800;
  letter-spacing: -0.5px;
}

.best-seller-header p,
.reviews-header p,
.deal-timer-box p {
  font-size: 15px;
}

button,
.hero button,
.promo-offer-card button,
.deal-timer-box button,
.best-seller-card button,
.header-cart-btn,
.theme-toggle-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

button:hover,
.hero button:hover,
.promo-offer-card button:hover,
.deal-timer-box button:hover,
.best-seller-card button:hover,
.header-cart-btn:hover,
.theme-toggle-btn:hover {
  transform: translateY(-2px);
}

button:active,
.hero button:active,
.promo-offer-card button:active,
.deal-timer-box button:active,
.best-seller-card button:active,
.header-cart-btn:active,
.theme-toggle-btn:active {
  transform: translateY(0);
}

.promo-offer-card,
.best-seller-card,
.review-card,
.trust-box,
.product-card {
  height: 100%;
}

.promo-offers-section,
.best-seller-grid,
.reviews-grid {
  align-items: stretch;
}

.hero {
  border-radius: 24px;
  margin-top: 18px;
}

.trust-section,
.promo-offers-section,
.deal-timer-section,
.best-seller-section,
.reviews-showcase-section {
  margin-top: 10px;
}

.products-section,
.about-section,
.contact-section,
.cart-section {
  margin-top: 26px;
}

.hero,
.deal-timer-box,
.promo-offer-card,
.best-seller-card,
.review-card,
.product-card,
.footer-box {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

@media (max-width: 600px) {
  .hero,
  .deal-timer-box,
  .promo-offer-card,
  .best-seller-card,
  .review-card,
  .product-card {
    border-radius: 18px;
  }

  .promo-offers-section,
  .best-seller-section,
  .reviews-showcase-section,
  .deal-timer-section,
  .trust-section {
    padding-left: 14px;
    padding-right: 14px;
  }
}

.install-app-btn {
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(90deg, #25d366, #128c7e);
  color: white;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(37, 211, 102, 0.22);
}

.install-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.32);
}