/* Gaming Theme CSS for Rio Computers */

:root {
  --primary-color: #7b1fa2;
  --secondary-color: #00c853;
  --dark-bg: #121212;
  --light-bg: #1e1e1e;
  --text-color: #ffffff;
  --accent-color: #ff9100;
  --border-glow: 0 0 10px rgba(123, 31, 162, 0.7);
  --neon-glow: 0 0 15px rgba(0, 200, 83, 0.8);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-container {
  min-height: 100vh;
  background-image: linear-gradient(
      to bottom,
      rgba(18, 18, 18, 0.95),
      rgba(18, 18, 18, 0.9)
    ),
    url("../images/gaming-bg.jpg");
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: rgba(30, 30, 30, 0.9);
  border-bottom: 2px solid var(--primary-color);
  box-shadow: var(--border-glow);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
}

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

.logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.logo-container h1 {
  font-size: 1.8rem;
  color: #fff;
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-menu {
  display: flex;
  list-style: none;
}

.main-menu li {
  margin: 0 15px;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-link i {
  margin-right: 8px;
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--primary-color);
  box-shadow: var(--border-glow);
  transform: translateY(-2px);
}

.header-actions {
  display: flex;
  align-items: center;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 5px 15px;
  margin-right: 20px;
}

.search-box input {
  background: transparent;
  border: none;
  color: var(--text-color);
  padding: 8px;
  width: 200px;
  outline: none;
}

.search-box button {
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
}

.cart-icon {
  position: relative;
  margin-left: 20px;
}

.cart-icon a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.cart-icon a:hover {
  color: #8e2de2;
}

.cart-icon a.active {
  color: #8e2de2;
}

.cart-icon span {
  background: #8e2de2;
  color: white;
  padding: 2px 6px;
  border-radius: 50%;
  font-size: 0.8rem;
  position: absolute;
  top: -8px;
  right: -10px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: linear-gradient(
      rgba(18, 18, 18, 0.7),
      rgba(18, 18, 18, 0.7)
    ),
    url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), transparent);
  opacity: 0.3;
}

.hero-section h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 0 10px var(--primary-color);
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--dark-bg);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: var(--neon-glow);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 200, 83, 1);
}

.cta-button.secondary {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

/* Featured Categories Section */
.featured-categories,
.featured-products {
  padding: 60px 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: var(--primary-color);
  box-shadow: var(--border-glow);
}

.categories-grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.category-card,
.product-card {
  background-color: var(--light-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(123, 31, 162, 0.3);
}

.category-card:hover,
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--border-glow);
  border-color: var(--primary-color);
}

.category-image,
.product-image {
  height: 200px;
  overflow: hidden;
}

.category-image img,
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-image img,
.product-card:hover .product-image img {
  transform: scale(1.05);
}

.category-info,
.product-info {
  padding: 20px;
}

.category-info h3,
.product-info h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.product-info .price {
  color: var(--secondary-color);
  font-size: 1.2rem;
  font-weight: bold;
  margin: 10px 0;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.add-to-cart {
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.add-to-cart i {
  margin-right: 5px;
}

.add-to-cart:hover {
  background-color: var(--secondary-color);
  color: var(--dark-bg);
}

.view-details {
  color: var(--text-color);
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  border: 1px solid var(--text-color);
  transition: all 0.3s ease;
}

.view-details:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

/* About Section */
.about-section {
  padding: 60px 5%;
  background-color: var(--light-bg);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.about-content p {
  margin-bottom: 20px;
}

.contact-info {
  margin: 30px 0;
}

.contact-info p {
  margin: 10px 0;
}

/* Footer */
footer {
  background-color: var(--light-bg);
  border-top: 2px solid var(--primary-color);
  padding-top: 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 5% 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: var(--text-color);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--secondary-color);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* WhatsApp Order Button */
.whatsapp-order {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
}

.whatsapp-order a {
  display: flex;
  align-items: center;
  background-color: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.whatsapp-order a i {
  font-size: 1.5rem;
  margin-right: 8px;
}

.whatsapp-order a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

/* Loading Spinner */
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: #3498db;
  animation: spin 1s ease-in-out infinite;
  margin: 20px auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-message {
  color: #e74c3c;
  text-align: center;
  padding: 20px;
  background-color: rgba(231, 76, 60, 0.1);
  border-radius: 5px;
  margin: 10px 0;
  font-size: 16px;
  font-weight: 500;
}

/* Product Detail Page */
.product-detail {
  padding: 60px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.product-gallery {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(123, 31, 162, 0.3);
}

.main-image {
  height: 400px;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail.active {
  border-color: var(--primary-color);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-detail h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.product-price {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.product-description {
  margin-bottom: 30px;
}

.product-specs {
  margin-bottom: 30px;
}

.product-specs h3 {
  margin-bottom: 15px;
}

.specs-list {
  list-style: none;
}

.specs-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
}

.specs-list li span:first-child {
  font-weight: bold;
  width: 150px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.quantity-selector span {
  margin-right: 20px;
}

.quantity-input {
  display: flex;
  align-items: center;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  background-color: var(--light-bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-color);
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quantity-btn:hover {
  background-color: var(--primary-color);
}

.quantity-input input {
  width: 60px;
  height: 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: var(--light-bg);
  color: var(--text-color);
  font-size: 1.1rem;
}

.product-actions-detail {
  display: flex;
  gap: 20px;
}

/* Cart Page */
.cart-container {
  padding: 60px 5%;
}

.cart-header {
  margin-bottom: 30px;
}

.cart-empty {
  text-align: center;
  padding: 50px 0;
}

.cart-items {
  margin-bottom: 40px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 2fr 1fr 1fr 50px;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: 5px;
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details h3 {
  margin-bottom: 10px;
}

.cart-item-price {
  font-weight: bold;
  color: var(--secondary-color);
}

.cart-item-quantity {
  display: flex;
  align-items: center;
}

.cart-item-quantity .quantity-input {
  transform: scale(0.8);
}

.remove-item {
  color: #ff5252;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.remove-item:hover {
  transform: scale(1.2);
}

.cart-summary {
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  margin-left: auto;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-row.total {
  font-size: 1.3rem;
  font-weight: bold;
  border-bottom: none;
  padding-top: 20px;
}

.checkout-actions {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

/* Categories Page */
.categories-container {
  padding: 60px 5%;
}

.category-list {
  margin-bottom: 60px;
}

/* Contact Page */
.contact-container {
  padding: 60px 5%;
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  background-color: var(--light-bg);
  padding: 40px;
  border-radius: 10px;
  margin-top: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(30, 30, 30, 0.8);
  color: var(--text-color);
  font-size: 1rem;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .product-detail {
    grid-template-columns: 1fr;
  }

  .main-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 3%;
  }

  .logo-container h1 {
    font-size: 1.5rem;
  }

  .main-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--light-bg);
    flex-direction: column;
    padding: 20px 0;
    border-top: 2px solid var(--primary-color);
  }

  .main-menu.active {
    display: flex;
  }

  .main-menu li {
    margin: 10px 0;
  }

  .nav-link {
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .search-box {
    margin-right: 10px;
  }

  .search-box input {
    width: 150px;
  }

  .hero-section h2 {
    font-size: 2.2rem;
  }

  .cart-item {
    grid-template-columns: 80px 1fr 80px;
    gap: 15px;
  }

  .cart-item-price,
  .cart-item-quantity {
    grid-column: span 1;
  }

  .remove-item {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  .logo-container h1 {
    font-size: 1.4rem;
  }

  .about-content {
    flex-direction: column;
    gap: 30px;
  }

  .about-image {
    flex: none;
  }

  .about-image img {
    width: 150px;
    height: 150px;
  }

  .about-text h2 {
    font-size: 24px;
  }

  .about-text h3 {
    font-size: 20px;
  }

  .about-text p {
    font-size: 15px;
  }

  .store-details {
    flex-direction: column;
    gap: 30px;
  }

  .store-address,
  .store-hours {
    flex: none;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 35px;
    height: 35px;
  }

  .logo-container h1 {
    font-size: 1.2rem;
  }

  .header-actions {
    width: 100%;
    order: 3;
    margin-top: 15px;
    justify-content: space-between;
  }

  .search-box {
    margin-right: 0;
  }

  .hero-section {
    height: 50vh;
  }

  .hero-section h2 {
    font-size: 1.8rem;
  }

  .cta-button {
    padding: 10px 20px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item-image {
    width: 80px;
    height: 80px;
  }

  .cart-item-price,
  .cart-item-quantity {
    justify-content: flex-start;
  }

  .remove-item {
    position: absolute;
    top: 20px;
    right: 0;
  }

  .checkout-actions {
    flex-direction: column;
  }

  .whatsapp-order {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-order a {
    padding: 10px 15px;
  }

  .about-header h1 {
    font-size: 28px;
  }

  .about-image img {
    width: 120px;
    height: 120px;
  }
}

/* Add styles for product code, category and stock status */
.product-code {
  font-size: 0.8rem;
  color: #888;
  margin: 0 0 5px 0;
}

.product-category {
  font-size: 0.8rem;
  color: #00aa00;
  margin: 0 0 5px 0;
  font-weight: bold;
  text-transform: uppercase;
}

.stock-status {
  margin: 5px 0;
  font-size: 0.9rem;
}

.in-stock {
  color: #00aa00;
}

.low-stock {
  color: #ff9900;
}

.out-of-stock {
  color: #ff0000;
}

/* Improved Advanced Filters */
.filter-toggle {
  margin-bottom: 20px;
  text-align: right;
}

.filter-toggle button {
  background: linear-gradient(135deg, #4a00e0, #8e2de2);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(142, 45, 226, 0.3);
}

.filter-toggle button:hover {
  background: linear-gradient(135deg, #5c16e0, #a344e8);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(142, 45, 226, 0.4);
}

.filter-toggle button.active {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
}

.advanced-filters {
  background: linear-gradient(
    to bottom,
    rgba(30, 30, 60, 0.9),
    rgba(20, 20, 40, 0.9)
  );
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
}

.advanced-filters.active {
  display: block;
  animation: fadeInDown 0.4s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter-section h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-bottom: 10px;
}

.filter-section h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #8e2de2, #4a00e0);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #ccc;
  font-size: 14px;
}

.filter-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background-color: rgba(30, 30, 50, 0.6);
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.filter-control:focus {
  border-color: #8e2de2;
  box-shadow: 0 0 0 2px rgba(142, 45, 226, 0.3);
  outline: none;
}

.filter-actions {
  display: flex;
  gap: 15px;
  align-items: flex-end;
}

.filter-button {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.filter-button.apply {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
  color: white;
  box-shadow: 0 4px 15px rgba(142, 45, 226, 0.3);
}

.filter-button.apply:hover {
  background: linear-gradient(135deg, #9b4dea, #5c16e0);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(142, 45, 226, 0.4);
}

.filter-button.reset {
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-button.reset:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.active-filters {
  display: none;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
  align-items: center;
  padding: 15px;
  background: rgba(30, 30, 50, 0.4);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.active-filters-title {
  font-weight: 600;
  color: #ccc;
  margin-right: 10px;
}

.active-filter {
  background: linear-gradient(
    135deg,
    rgba(142, 45, 226, 0.2),
    rgba(74, 0, 224, 0.2)
  );
  border: 1px solid rgba(142, 45, 226, 0.3);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.remove-filter {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  padding: 0;
  margin-left: 5px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.remove-filter:hover {
  color: #fff;
  background: rgba(255, 0, 0, 0.2);
}

/* Products wrapper and grid layout */
.products-wrapper {
  padding: 0 30px;
  margin: 30px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .products-wrapper {
    padding: 0 15px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Enhanced Product Cards */
.product-card {
  background: linear-gradient(
    to bottom,
    rgba(30, 30, 60, 0.9),
    rgba(20, 20, 40, 0.9)
  );
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.product-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600;
}

.product-code,
.product-category {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 5px;
}

.product-description {
  font-size: 14px;
  color: #ccc;
  margin: 10px 0;
  line-height: 1.5;
}

.price {
  font-size: 18px;
  font-weight: 700;
  color: #8e2de2;
  margin: 15px 0;
}

.stock-status {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  margin: 10px 0;
}

.in-stock {
  background: linear-gradient(
    135deg,
    rgba(0, 200, 83, 0.2),
    rgba(0, 150, 63, 0.2)
  );
  color: #00c853;
  border: 1px solid rgba(0, 200, 83, 0.3);
}

.low-stock {
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.2),
    rgba(255, 160, 0, 0.2)
  );
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.out-of-stock {
  background: linear-gradient(
    135deg,
    rgba(244, 67, 54, 0.2),
    rgba(229, 57, 53, 0.2)
  );
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.product-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.add-to-cart,
.view-details {
  flex: 1;
  padding: 10px;
  text-align: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
  color: white;
  border: none;
}

.add-to-cart:hover {
  background: linear-gradient(135deg, #9b4dea, #5c16e0);
}

.view-details {
  background: transparent;
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-details:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Responsive styles for filters */
@media (max-width: 768px) {
  .filter-row {
    flex-direction: column;
    gap: 15px;
  }

  .filter-group {
    width: 100%;
  }

  .filter-actions {
    width: 100%;
    justify-content: space-between;
    margin-top: 15px;
  }

  .product-card {
    margin-bottom: 20px;
  }
}

/* Notification Container */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  pointer-events: none;
}

.notification {
  background: rgba(30, 30, 60, 0.9);
  color: white;
  padding: 15px 25px;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  pointer-events: auto;
  cursor: pointer;
}

.notification i {
  margin-right: 10px;
  color: #4caf50;
}

.notification.show {
  transform: translateX(0);
}

.notification.hide {
  transform: translateX(120%);
}

/* Error message styles */
.error-message {
  text-align: center;
  color: #ff6b6b;
  padding: 20px;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.no-products {
  text-align: center;
  color: #ccc;
  padding: 40px 20px;
  font-size: 18px;
}

/* Custom Categories Section */
.custom-categories {
  padding: 60px 30px;
  background: linear-gradient(
    135deg,
    rgba(30, 30, 60, 0.9),
    rgba(20, 20, 40, 0.9)
  );
}

.custom-categories-container {
  max-width: 1200px;
  margin: 0 auto;
}

.custom-category-card {
  background: linear-gradient(
    135deg,
    rgba(40, 40, 80, 0.9),
    rgba(30, 30, 60, 0.9)
  );
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.custom-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-category-title {
  color: #00ff00;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.custom-category-count {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.custom-category-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.custom-product-card {
  background: rgba(20, 20, 40, 0.6);
  border-radius: 10px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.custom-product-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.custom-product-name {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
  line-height: 1.3;
}

.custom-product-code {
  color: #ccc;
  font-size: 12px;
  margin-bottom: 5px;
}

.custom-product-price {
  color: #00ff00;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.custom-product-category {
  color: #888;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.no-custom-categories {
  text-align: center;
  color: #ccc;
  padding: 40px 20px;
  font-size: 18px;
}

/* Responsive design for custom categories */
@media (max-width: 768px) {
  .custom-categories {
    padding: 40px 20px;
  }

  .custom-category-products {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  .custom-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .custom-category-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .custom-category-products {
    grid-template-columns: 1fr;
  }

  .custom-product-card {
    padding: 12px;
  }

  .custom-product-image {
    height: 120px;
  }
}

/* About Page */
.about-page {
  padding: 40px 20px;
  min-height: 60vh;
}

.about-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-header h1 {
  font-size: 36px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-content {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 60px;
  align-items: flex-start;
}

.about-image {
  flex: 0 0 300px;
  text-align: center;
}

.about-image img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
}

.about-text {
  flex: 1;
  color: #fff;
}

.about-text h2 {
  font-size: 28px;
  color: #8e2de2;
  margin-bottom: 20px;
  font-weight: 600;
}

.about-text h3 {
  font-size: 22px;
  color: #8e2de2;
  margin: 30px 0 15px;
  font-weight: 500;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.about-text ul {
  list-style: none;
  padding: 0;
}

.about-text ul li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #e0e0e0;
}

.about-text ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8e2de2;
  font-weight: bold;
  font-size: 18px;
}
