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

/* Remove all underlines from text */
a, button, .login-btn, .logout-btn, .cta-button, .admin-link, 
.nav-links a, .mobile-menu-links a, .user-link, .cart-link,
.social-link, .category-link, .product-link, .stat-label,
.hero h1, .hero p, .section-title, h1, h2, h3, h4, h5, h6,
p, span, div, label {
  text-decoration: none !important;
}

a:hover, a:focus, a:active, a:visited {
  text-decoration: none !important;
}

/* Product profile page - remove all underlines */
.product-info h3, .product-info h4, .product-info p, .product-info span,
.product-description, .product-name, .product-title, .product-text,
.product-info h3, .product-info h4, .product-info p, .product-info span,
.product-details h1, .product-details h2, .product-details h3,
.product-details p, .product-details span, .product-details div,
.product-header h1, .product-header h2, .product-header h3,
.product-header p, .product-header span,
.price, .discounted-price, .original-price, .product-price,
.stock-info, .in-stock, .out-of-stock, .category-badge,
.product-footer, .product-footer * {
  text-decoration: none !important;
}

.product-info *, .product-details *, .product-header * {
  text-decoration: none !important;
}

:root {
  --primary-color: #00ff41;
  --secondary-color: #00d9ff;
  --accent-color: #ff006e;
  --success-color: #00ff41;
  --danger-color: #ff1744;
  --warning-color: #ffaa00;
  --neon-pink: #ff006e;
  --neon-cyan: #00d9ff;
  --neon-green: #00ff41;
  --black: #000000;
  --dark-gray: #0a0a0a;
  --gray: #111111;
  --light-gray: #1a1a1a;
  --border-color: #222222;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #666666;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: 'Segoe UI', 'Inter', 'Roboto', 'Orbitron', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: #000000;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  max-width: 100vw;
}

/* Particle Canvas Background */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Animated Grid Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  pointer-events: none;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Scanline Effect */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    transparent 50%,
    rgba(0, 255, 65, 0.03) 50%
  );
  background-size: 100% 4px;
  z-index: 1;
  pointer-events: none;
  animation: scanline 8s linear infinite;
}

@keyframes scanline {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Navbar */
.navbar {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 255, 65, 0.2);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s;
}

.navbar:hover {
  background: rgba(0, 0, 0, 0.95);
  border-bottom-color: rgba(0, 255, 65, 0.4);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: 'Orbitron', sans-serif;
  transition: all 0.3s;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 30px rgba(0, 255, 65, 0.8);
}

.logo i {
  color: var(--primary-color);
  filter: drop-shadow(0 0 15px var(--primary-color));
  font-size: 1.8rem;
  animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px var(--primary-color)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 25px var(--primary-color)); }
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  position: relative;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), rgba(0, 217, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-links a:hover::before {
  opacity: 1;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.cart-link, .user-link {
  position: relative;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s;
}

.user-link:hover {
  background: rgba(0, 255, 65, 0.1);
  color: var(--primary-color);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  box-shadow: 0 0 15px var(--accent-color);
}

.login-btn, .logout-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  color: var(--black) !important;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
  transition: all 0.3s;
}

.login-btn:hover, .logout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.logout-btn {
  background: linear-gradient(135deg, var(--danger-color), #ff6666);
}

.admin-link {
  background: linear-gradient(135deg, var(--warning-color), #ffcc00);
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  color: var(--black) !important;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(255, 170, 0, 0.3);
}

/* Hero Section */
.hero {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #00000000;
  z-index: 2;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.1), transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-weight: 900;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 8px;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out;
  text-shadow: 
    0 0 10px var(--primary-color),
    0 0 20px var(--primary-color),
    0 0 30px var(--primary-color);
  font-family: 'Orbitron', sans-serif;
}

.typing-text {
  border-right: 3px solid var(--primary-color);
  animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {
  0%, 50% { border-color: var(--primary-color); }
  51%, 100% { border-color: transparent; }
}

.hero p {
  font-size: 1.6rem;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--black);
  padding: 1.3rem 3.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.15rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
  box-shadow: 
    0 0 20px rgba(0, 255, 65, 0.5),
    0 0 40px rgba(0, 255, 65, 0.3),
    0 12px 45px rgba(0, 0, 0, 0.8);
  text-transform: uppercase;
  letter-spacing: 2px;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  border: 2px solid var(--primary-color);
  font-family: 'Orbitron', sans-serif;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.8s, height 0.8s;
}

.cta-button:hover::before {
  width: 500px;
  height: 500px;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 
    0 0 40px rgba(0, 255, 65, 0.8),
    0 0 60px rgba(0, 255, 65, 0.6),
    0 0 80px rgba(0, 255, 65, 0.4),
    0 15px 50px rgba(0, 0, 0, 0.9);
  border-color: var(--secondary-color);
}

.cta-button i {
  margin-right: 0.5rem;
}

/* Statistics Section */
.stats-section {
  padding: 5rem 0;
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 2;
  position: relative;
}

.stats-section::before {
  display: none;
}

.stats-section .container {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

.stat-card {
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-card::before {
  display: none;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 30px rgba(0, 255, 65, 0.2);
  background: rgba(17, 17, 17, 0.98);
}

.stat-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: var(--black);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 65, 0.3);
  flex-shrink: 0;
}

.stat-card:hover .stat-icon {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 255, 65, 0.4);
}

.stat-content {
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.4);
  font-family: 'Orbitron', sans-serif;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: nowrap;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
  white-space: normal;
}

/* Products Section */
.featured-products, .products-section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.products-section .container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.featured-products h2, .products-section h1 {
  display: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
  width: 100%;
  box-sizing: border-box;
}

.product-card {
  background: rgba(17, 17, 17, 0.9);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.05), rgba(0, 217, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}

.product-card:hover::before {
  opacity: 1;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.product-image-wrapper img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s;
}

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

/* Sale Badges on Product Cards */
.sale-badge-top,
.hot-sale-badge-top,
.special-offer-badge-top,
.offer-badge-top {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: pulse 2s infinite;
}

.sale-badge-top {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
}

.hot-sale-badge-top {
  background: linear-gradient(135deg, #ff4757, #ff3838);
  color: white;
  animation: hotPulse 1.5s infinite;
}

.special-offer-badge-top {
  background: linear-gradient(135deg, #ffa502, #ff6348);
  color: white;
}

.offer-badge-top {
  background: linear-gradient(135deg, #00d2ff, #3a7bd5);
  color: white;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes hotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 71, 87, 0.5); }
  50% { transform: scale(1.1); box-shadow: 0 4px 25px rgba(255, 71, 87, 0.8); }
}

/* Price Container */
.price-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.original-price {
  text-decoration: line-through;
  color: var(--text-secondary);
  font-size: 0.9rem;
  opacity: 0.7;
}

.discounted-price {
  color: var(--primary-color);
  font-weight: 900;
  font-size: 1.1rem;
}

.discount-badge {
  background: var(--danger-color);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 204, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 0 30px rgba(0, 255, 65, 0.4),
    0 20px 60px rgba(0, 0, 0, 0.8);
  border-color: var(--primary-color);
  background: rgba(17, 17, 17, 0.95);
}


.product-info {
  padding: 2rem;
  position: relative;
}

.category-badge {
  display: inline-block;
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
}

.product-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  min-height: 45px;
  line-height: 1.5;
  text-decoration: none;
  max-height: 60px !important;
  overflow: hidden !important;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
}

/* Product Description Full Width Section */
.product-description-section-full {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.product-description-full {
  margin: 0;
  padding: 2rem;
  background: rgba(17, 17, 17, 0.6);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  color: var(--text-primary);
  position: relative;
}

.description-title {
  color: var(--text-primary);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.description-content {
  white-space: pre-wrap !important;
  white-space: -moz-pre-wrap !important;
  white-space: -pre-wrap !important;
  white-space: -o-pre-wrap !important;
  word-wrap: break-word !important;
  font-family: 'Courier New', 'Monaco', 'Menlo', monospace !important;
  font-size: 0.95rem !important;
  line-height: 1.8 !important;
  color: var(--text-primary) !important;
  text-decoration: none !important;
  overflow: visible !important;
  position: relative !important;
  display: block !important;
  max-height: none !important;
}

.description-content.collapsed {
  max-height: 400px !important;
  overflow: hidden !important;
  transition: max-height 0.5s ease !important;
}

.description-content.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(17, 17, 17, 0.95));
  pointer-events: none;
  z-index: 1;
}

.description-content * {
  text-decoration: none !important;
}

.read-more-btn {
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: rgba(0, 255, 65, 0.1);
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  color: var(--primary-color);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none !important;
  font-size: 0.9rem;
}

.read-more-btn:hover {
  background: var(--primary-color);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 255, 65, 0.3);
}

.read-more-btn i {
  transition: transform 0.3s ease;
}

.read-more-btn i.rotated {
  transform: rotate(180deg);
}

/* Product Detail Page Styles */
.product-detail-section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.product-media-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid var(--primary-color);
}

.product-video iframe {
  width: 100%;
  height: 100%;
}

.product-main-image {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  background: rgba(17, 17, 17, 0.9);
}

.product-main-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 600px;
}

.product-media-gallery {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.gallery-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s;
  background: rgba(17, 17, 17, 0.9);
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
  border-color: var(--primary-color);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

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

.product-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-header {
  margin-bottom: 1rem;
}

.product-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.product-header h1 {
  color: var(--text-primary);
  font-size: 2rem;
  margin: 0.5rem 0;
  text-decoration: none !important;
  font-weight: 700;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.product-rating-display {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.75rem 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-stars {
  display: flex;
  gap: 0.3rem;
}

.rating-stars .fa-star.filled {
  color: var(--warning-color);
}

.rating-stars .far.fa-star {
  color: var(--text-secondary);
}

.rating-value {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.rating-count {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Price Display Section */
.product-price-section {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.current-price {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
}

.price-display .original-price {
  color: var(--text-secondary);
  font-size: 1.5rem;
  text-decoration: line-through;
  font-weight: 600;
}

.discount-badge {
  background: var(--danger-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 700;
}

.price-display .stock-info {
  width: 100%;
  margin-top: 0.5rem;
}

.product-plans-section {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.product-plans-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-family: 'Orbitron', sans-serif;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.plan-card {
  background: rgba(17, 17, 17, 0.9);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.plan-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 255, 65, 0.2);
}

.plan-card.selected,
.plan-card.default-plan {
  border-color: var(--primary-color);
  background: rgba(0, 255, 136, 0.1);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.plan-header h4 {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none !important;
}

.plan-badge {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--black);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.plan-price {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  font-family: 'Orbitron', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.original-price-small {
  color: var(--text-secondary);
  font-size: 1rem;
  text-decoration: line-through;
  font-weight: 600;
}

.discounted-price-small {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 900;
}

.plan-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  text-decoration: none !important;
}

.plan-select-indicator {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--primary-color);
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.plan-card.selected .plan-select-indicator,
.plan-card.default-plan .plan-select-indicator {
  opacity: 1;
}

.product-actions-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0;
}

.btn-buy-now,
.btn-add-cart {
  flex: 1;
  min-width: 200px;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: none;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none !important;
}

.btn-buy-now {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--black);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-buy-now:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.5);
}

.btn-add-cart {
  background: rgba(17, 17, 17, 0.9);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-add-cart:hover {
  background: var(--primary-color);
  color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.sale-badge,
.hot-sale-badge,
.special-offer-badge,
.offer-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none !important;
}

.sale-badge {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
}

.hot-sale-badge {
  background: linear-gradient(135deg, #ff4757, #ff3838);
  color: white;
}

.special-offer-badge {
  background: linear-gradient(135deg, #ffa502, #ff6348);
  color: white;
}

.offer-badge {
  background: linear-gradient(135deg, #00d2ff, #3a7bd5);
  color: white;
}

.stock-info {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.price-display .stock-info {
  margin-top: 0;
}

.in-stock {
  color: var(--success-color);
}

.out-of-stock {
  color: var(--danger-color);
}

/* Reviews & Ratings Section */
.reviews-section {
  margin-top: 4rem;
  padding: 3rem 0;
  border-top: 2px solid var(--border-color);
  position: relative;
  z-index: 2;
}

.reviews-header {
  margin-bottom: 2.5rem;
}

.reviews-header h2 {
  color: var(--text-primary);
  font-size: 2rem;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviews-header h2 i {
  color: var(--warning-color);
  font-size: 1.8rem;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.average-rating-box {
  background: rgba(17, 17, 17, 0.9);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-width: 180px;
  transition: all 0.3s;
}

.average-rating-box:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.average-rating-value {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-color);
  font-family: 'Orbitron', sans-serif;
  line-height: 1;
}

.average-rating-stars {
  display: flex;
  gap: 0.3rem;
  font-size: 1.2rem;
}

.average-rating-stars .fa-star.filled {
  color: var(--warning-color);
}

.average-rating-stars .far.fa-star {
  color: var(--text-secondary);
}

.rating-count-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Review Form Section */
.review-form-section {
  background: rgba(17, 17, 17, 0.6);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.review-form-section h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-family: 'Orbitron', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-form-section .form-group {
  margin-bottom: 1.5rem;
}

.review-form-section label {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.rating-input {
  display: flex;
  gap: 0.5rem;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.rating-input input[type="radio"] {
  display: none;
}

.rating-input .star-label {
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.rating-input .star-label:hover,
.rating-input .star-label.selected {
  color: var(--warning-color);
  transform: scale(1.2);
}

.rating-input input[type="radio"]:checked ~ .star-label,
.rating-input .star-label.selected ~ .star-label {
  color: var(--warning-color);
}

.review-form-section textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  transition: all 0.3s;
}

.review-form-section textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.image-upload-area {
  margin-top: 0.5rem;
}

.upload-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(0, 255, 65, 0.1);
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
}

.upload-label:hover {
  background: var(--primary-color);
  color: var(--black);
}

.image-preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.image-preview-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border-color);
}

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

.remove-image-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255, 23, 68, 0.9);
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.3s;
}

.remove-image-btn:hover {
  background: var(--danger-color);
  transform: scale(1.1);
}

.btn-submit-review {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--black);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 255, 65, 0.4);
}

.btn-submit-review:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Review Messages */
.review-purchase-required,
.review-login-required,
.review-already-submitted {
  background: rgba(17, 17, 17, 0.6);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.review-purchase-required i,
.review-login-required i,
.review-already-submitted i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.review-login-required a {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none !important;
}

.review-login-required a:hover {
  text-decoration: underline !important;
}

/* Reviews List */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-item {
  background: rgba(17, 17, 17, 0.6);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 1.5rem;
  transition: all 0.3s;
}

.review-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.1);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.reviewer-avatar,
.reviewer-avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-color);
  flex-shrink: 0;
}

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

.reviewer-avatar-placeholder {
  background: rgba(0, 255, 65, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.reviewer-details h4 {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-decoration: none !important;
}

.review-date {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.review-rating {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}

.review-rating .fa-star.filled {
  color: var(--warning-color);
  font-size: 1rem;
}

.review-rating .far.fa-star {
  color: var(--text-secondary);
  font-size: 1rem;
}

.review-text {
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.review-text p {
  margin: 0;
  text-decoration: none !important;
}

.review-images {
  margin-top: 1rem;
}

.review-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
}

.review-image-item {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s;
}

.review-image-item:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
}

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

.no-reviews {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(17, 17, 17, 0.6);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  color: var(--text-secondary);
}

.no-reviews i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-reviews p {
  font-size: 1rem;
  margin: 0;
  text-decoration: none !important;
}

/* Image Modal */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.image-modal.active {
  opacity: 1;
  visibility: visible;
}

.image-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
}

.image-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.image-modal-close:hover {
  background: var(--primary-color);
  color: var(--black);
}

.image-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.image-modal-prev {
  left: -70px;
}

.image-modal-next {
  right: -70px;
}

.image-modal-nav:hover {
  background: var(--primary-color);
  color: var(--black);
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.price {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.add-to-cart-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--black);
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

.add-to-cart-btn:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 0 25px rgba(0, 255, 65, 0.6),
    0 0 40px rgba(0, 255, 65, 0.4),
    0 8px 30px rgba(0, 0, 0, 0.8);
  border-color: var(--secondary-color);
}

.view-all {
  text-align: center;
  margin-top: 3rem;
}

.btn-secondary {
  display: inline-block;
  background: var(--light-gray);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--black);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.filter-btn {
  padding: 0.8rem 2rem;
  border: 2px solid var(--border-color);
  background: var(--gray);
  color: var(--text-secondary);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 600;
}

.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--black);
  border-color: var(--primary-color);
  box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

/* Login Section */
.login-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

.login-box {
  background: var(--gray);
  border: 1px solid var(--border-color);
  padding: 4rem;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
  text-align: center;
  max-width: 500px;
}

.discord-icon {
  font-size: 5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.3));
}

.login-box h1 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 900;
}

.login-box p {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.discord-login-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--black);
  padding: 1.2rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 900;
  transition: all 0.3s;
  font-size: 1.1rem;
  box-shadow: 0 10px 40px rgba(0, 255, 136, 0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.discord-login-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 255, 136, 0.5);
}

/* Cart Section */
.cart-section {
  padding: 5rem 0;
  min-height: 70vh;
  position: relative;
  z-index: 2;
  background: transparent;
}

.cart-empty {
  text-align: center;
  padding: 5rem 0;
}

.cart-empty i {
  font-size: 6rem;
  color: var(--border-color);
  margin-bottom: 2rem;
}

.cart-empty h2 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.cart-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  margin-top: 2rem;
}

.cart-items-section {
  background: var(--gray);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 20px;
}

.cart-items-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--light-gray);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  transition: all 0.3s;
}

.cart-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 5px 20px rgba(0, 255, 136, 0.2);
  transform: translateY(-2px);
}

.cart-item-image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  border: 2px solid var(--border-color);
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: var(--text-primary);
  text-decoration: none;
}

.item-plan {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.price-per-item {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: normal;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--gray);
  padding: 0.5rem;
  border-radius: 10px;
  border: 2px solid var(--border-color);
}

.quantity-btn {
  background: var(--primary-color);
  color: var(--black);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.quantity {
  min-width: 30px;
  text-align: center;
  font-weight: 700;
  color: var(--text-primary);
}

.remove-btn {
  background: var(--danger-color);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.remove-btn:hover {
  background: #ff3333;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

@media (max-width: 968px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .cart-item {
    grid-template-columns: 100px 1fr;
    gap: 1rem;
  }

  .cart-item-total {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
  }
}

.cart-item-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 100px;
}

/* Mobile Cart Styles */
@media (max-width: 768px) {
  .cart-section {
    padding: 2rem 0;
  }

  .cart-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cart-items-section {
    padding: 1.5rem;
  }

  .cart-items-section h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

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

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

  .cart-item-info h3 {
    font-size: 1rem;
  }

  .cart-item-controls {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .quantity-control {
    gap: 0.5rem;
    padding: 0.4rem;
  }

  .quantity-btn {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .remove-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .cart-summary {
    padding: 1.5rem;
  }

  .cart-summary h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .checkout-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .cart-section {
    padding: 1.5rem 0;
  }

  .cart-items-section,
  .cart-summary {
    padding: 1rem;
  }

  .cart-item {
    grid-template-columns: 70px 1fr;
    padding: 0.75rem;
  }

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

  .cart-item-info h3 {
    font-size: 0.9rem;
  }

  .price-per-item {
    font-size: 0.75rem;
  }
}

.item-total-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.cart-item-total strong {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 900;
}

.quantity-btn {
  background: var(--primary-color);
  color: var(--black);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.3s;
}

.quantity-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--primary-color);
}

.quantity {
  font-weight: 700;
  min-width: 40px;
  text-align: center;
  font-size: 1.2rem;
}

.remove-btn {
  background: var(--danger-color);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  margin-left: auto;
  font-weight: 700;
  transition: all 0.3s;
}

.remove-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 68, 68, 0.4);
}

.cart-summary {
  background: var(--gray);
  border: 2px solid var(--primary-color);
  padding: 2rem;
  border-radius: 20px;
  height: fit-content;
  position: sticky;
  top: 100px;
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.cart-summary h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.summary-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.1rem;
}

.summary-row.total {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  border-bottom: none;
}

.checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--black);
  border: none;
  padding: 1.2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.checkout-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.5);
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--black);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.5);
}

/* Profile Section */
.profile-section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

.profile-header {
  background: var(--gray);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 20px;
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
  box-shadow: 0 10px 40px rgba(0, 255, 136, 0.1);
}

.profile-avatar img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
}

.default-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--black);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
}

.profile-info h1 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.admin-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--warning-color), #ffcc00);
  color: var(--black);
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  margin-top: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-content {
  background: var(--gray);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 255, 136, 0.1);
}

.profile-content h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.no-orders {
  text-align: center;
  padding: 4rem 0;
}

.no-orders i {
  font-size: 5rem;
  color: var(--border-color);
  margin-bottom: 2rem;
}

.orders-list {
  display: grid;
  gap: 1.5rem;
}

.order-card {
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s;
  background: var(--light-gray);
}

.order-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.order-date {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.order-status {
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.order-status.pending {
  background: var(--warning-color);
  color: var(--black);
}

.order-status.completed {
  background: var(--success-color);
  color: var(--black);
}

.order-status.cancelled {
  background: var(--danger-color);
  color: white;
}

.order-body {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.order-total {
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.order-footer {
  display: flex;
  justify-content: flex-end;
}

/* Order Detail */
.order-detail-section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.order-detail-section .container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Mobile Order Page Styles */
@media (max-width: 768px) {
  .order-detail-section {
    padding: 2rem 0;
    overflow-x: hidden;
  }

  .order-detail-section .container {
    padding: 0 1rem;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .order-detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .order-detail-header h1 {
    font-size: 1.8rem;
    word-wrap: break-word;
  }

  .order-status-wrapper {
    width: 100%;
    box-sizing: border-box;
  }

  .order-detail-info {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .info-card {
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .info-card h3 {
    font-size: 1rem;
    word-wrap: break-word;
  }

  .order-items-detail {
    padding: 1.5rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .order-items-detail h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
  }

  .order-item-card {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .order-item-card img {
    width: 100%;
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    align-self: center;
  }

  .item-info {
    width: 100%;
    box-sizing: border-box;
  }

  .item-info h3 {
    font-size: 1.1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 0.5rem;
  }

  .item-info p {
    font-size: 0.9rem;
    margin: 0.25rem 0;
    word-wrap: break-word;
  }

  .item-total {
    align-self: flex-start;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
  }

  .item-total span {
    font-size: 1.3rem;
  }

  .payment-section {
    padding: 1.5rem;
  }

  .payment-section h2 {
    font-size: 1.5rem;
  }

  .payment-method-dropdown {
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
  }

  .payment-information-section {
    padding: 1.5rem !important;
  }

  .payment-information-section.show {
    padding: 1.5rem !important;
  }

  .payment-info-header h3 {
    font-size: 1.5rem;
  }

  .payment-details {
    padding: 1.5rem;
  }

  .binance-id-box {
    padding: 1rem;
  }

  .binance-id {
    font-size: 1.1rem;
  }

  .payment-instructions {
    padding: 1rem;
  }

  .payment-proof-section {
    padding: 1rem;
  }

  .delivery-links-section {
    padding: 1.5rem;
  }

  .delivery-links-section h2 {
    font-size: 1.5rem;
  }

  .delivery-link-card {
    padding: 1.5rem;
  }

  .review-section {
    padding: 1.5rem;
  }

  .review-section h2 {
    font-size: 1.5rem;
  }

  .review-item-card {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .payment-proof-section {
    padding: 1rem;
  }

  .payment-proof-section h4 {
    font-size: 1rem;
  }

  .file-label {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    text-align: center;
  }

  .btn-pay-done {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .order-detail-section {
    padding: 1.5rem 0;
    overflow-x: hidden;
  }

  .order-detail-section .container {
    padding: 0 0.75rem;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .order-detail-header {
    width: 100%;
    box-sizing: border-box;
  }

  .order-detail-header h1 {
    font-size: 1.5rem;
    word-wrap: break-word;
  }

  .order-status-wrapper {
    width: 100%;
    box-sizing: border-box;
  }

  .order-status {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    word-wrap: break-word;
  }

  .order-detail-info {
    width: 100%;
    box-sizing: border-box;
  }

  .info-card {
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .info-card h3 {
    font-size: 0.9rem;
    word-wrap: break-word;
  }

  .total-amount {
    font-size: 1.2rem;
    word-wrap: break-word;
  }

  .order-items-detail {
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    margin: 0;
  }

  .order-items-detail h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
  }

  .items-list {
    width: 100%;
    box-sizing: border-box;
  }

  .order-item-card {
    padding: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    gap: 0.75rem;
  }

  .order-item-card img {
    width: 100%;
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
  }

  .item-info {
    width: 100%;
    box-sizing: border-box;
  }

  .item-info h3 {
    font-size: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }

  .item-info p {
    font-size: 0.85rem;
    margin: 0.2rem 0;
    word-wrap: break-word;
  }

  .item-total {
    width: 100%;
    align-self: flex-start;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
  }

  .item-total span {
    font-size: 1.2rem;
  }

  .payment-section {
    padding: 1rem;
  }

  .payment-section h2 {
    font-size: 1.3rem;
  }

  .payment-method-dropdown {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }

  .payment-information-section {
    padding: 1rem !important;
  }

  .payment-information-section.show {
    padding: 1rem !important;
  }

  .payment-info-header h3 {
    font-size: 1.3rem;
  }

  .order-info-text {
    font-size: 0.9rem;
  }

  .file-label {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .btn-pay-done {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }
}

.back-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  margin-bottom: 2rem;
  font-weight: 600;
  transition: all 0.3s;
}

.back-link:hover {
  transform: translateX(-5px);
}

.order-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.order-detail-header h1 {
  font-size: 2.5rem;
}

.order-detail-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.info-card {
  background: var(--gray);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.info-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.total-amount {
  font-size: 2rem;
  font-weight: 900;
}

.order-items-detail {
  background: var(--gray);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
  width: 100%;
  box-sizing: border-box;
}

.items-list {
  width: 100%;
  box-sizing: border-box;
}

.order-items-detail h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.order-item-card {
  display: flex;
  gap: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 15px;
  margin-bottom: 1.5rem;
  background: var(--light-gray);
  width: 100%;
  box-sizing: border-box;
}

.order-item-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 15px;
  flex-shrink: 0;
}

.item-info {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.item-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
}

.item-info p {
  margin: 0.25rem 0;
  word-wrap: break-word;
}

.item-price {
  color: var(--text-secondary);
}

.item-total {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  flex-shrink: 0;
}

/* Admin Panel */
.admin-section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

.admin-section h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--warning-color), #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-tabs {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.tab-btn {
  padding: 1rem 3rem;
  background: var(--gray);
  border: 2px solid var(--border-color);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.tab-btn:hover, .tab-btn.active {
  background: linear-gradient(135deg, var(--warning-color), #ffcc00);
  color: var(--black);
  border-color: var(--warning-color);
  box-shadow: 0 5px 20px rgba(255, 170, 0, 0.3);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.admin-header h2 {
  font-size: 2rem;
}

.add-product-form {
  background: var(--gray);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 20px;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.add-product-form h3 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  background: var(--light-gray);
  color: var(--text-primary);
  transition: all 0.3s;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-actions {
  display: flex;
  gap: 1.5rem;
}

.products-table, .orders-table {
  background: var(--gray);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 20px;
  overflow-x: auto;
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background: var(--light-gray);
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

tr:hover {
  background: var(--light-gray);
}

.table-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.btn-danger {
  background: var(--danger-color);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 68, 68, 0.4);
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 255, 65, 0.2);
  padding: 3rem 0;
  margin-top: 5rem;
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

footer p {
  color: var(--text-secondary);
}

/* New Home Page Sections */

/* Search Bar */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-bar {
  display: flex;
  align-items: center;
  background: rgba(17, 17, 17, 0.9);
  border: 2px solid var(--border-color);
  border-radius: 25px;
  padding: 0.5rem 1rem;
  gap: 0.5rem;
}

.search-bar input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  outline: none;
  width: 200px;
  font-size: 0.9rem;
}

.search-bar input::placeholder {
  color: var(--text-secondary);
}

.search-bar button {
  background: transparent;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
}

.search-bar button:hover {
  color: var(--secondary-color);
  transform: scale(1.1);
}

/* Hero Section Updates */
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-button.secondary {
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.cta-button.secondary:hover {
  background: var(--secondary-color);
  color: var(--black);
}

.hero-tagline {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

/* Trusted Features Bar */
.trusted-features {
  padding: 3rem 0;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(0, 255, 65, 0.1);
  border-bottom: 1px solid rgba(0, 255, 65, 0.1);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  font-size: 1rem;
}

.feature-item i {
  font-size: 2rem;
  color: var(--primary-color);
  filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.5));
}

/* Categories Section */
.categories-section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.category-card {
  background: rgba(17, 17, 17, 0.9);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
}

.category-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 15px rgba(0, 255, 65, 0.5));
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border-color);
}

.category-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.category-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--black);
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}

.category-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 255, 65, 0.4);
}

/* Categories Page Styles */
.categories-page {
  padding: 6rem 0;
  min-height: 80vh;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.2rem;
}

.categories-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.category-card-large {
  position: relative;
  background: rgba(17, 17, 17, 0.9);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
  height: 350px;
}

.category-card-large:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.5);
}

.category-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.category-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.category-card-large:hover .category-image-wrapper img {
  transform: scale(1.1);
}

.category-icon-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), rgba(0, 217, 255, 0.1));
  font-size: 5rem;
  color: var(--primary-color);
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7), transparent);
  padding: 2rem;
  transform: translateY(0);
  transition: transform 0.3s;
}

.category-card-large:hover .category-overlay {
  transform: translateY(-10px);
}

.category-info h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
  text-decoration: none !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.category-info p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  max-height: 4.2em;
}

.category-stats {
  margin-bottom: 1rem;
}

.category-stats span {
  color: var(--text-primary);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.category-stats i {
  color: var(--secondary-color);
}

.category-view-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--black);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.category-view-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 255, 65, 0.4);
}

@media (max-width: 768px) {
  .categories-grid-full {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .category-card-large {
    height: 280px;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }

  .category-info h3 {
    font-size: 1.2rem;
  }

  .category-info p {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-height: 2.8em;
  }

  .category-view-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .category-stats span {
    font-size: 0.8rem;
  }
}

/* New Arrivals Section */
.new-arrivals-section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.new-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--black);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  z-index: 10;
}

/* Offers Section */
.offers-section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

.offer-banner {
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), rgba(0, 217, 255, 0.1));
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.3);
}

.offer-content h2 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-family: 'Orbitron', sans-serif;
}

.offer-content p {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.timer-item {
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  padding: 1.5rem;
  min-width: 100px;
  text-align: center;
}

.timer-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-color);
  font-family: 'Orbitron', sans-serif;
}

.timer-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  text-transform: uppercase;
}

/* Why Choose Us */
.why-choose-us {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

.feature-box {
  background: rgba(17, 17, 17, 0.9);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s;
}

.feature-box:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
}

.feature-box i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 15px rgba(0, 255, 65, 0.5));
}

.feature-box h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials-section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

.testimonials-carousel {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0;
  position: relative;
}

.testimonials-carousel::-webkit-scrollbar {
  height: 8px;
}

.testimonials-carousel::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.testimonials-carousel::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.testimonials-carousel::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

.testimonial-card {
  background: rgba(17, 17, 17, 0.9);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s;
  min-width: 300px;
  max-width: 400px;
  flex-shrink: 0;
  scroll-snap-align: start;
  animation: slideInFromRight 0.6s ease-out;
  animation-fill-mode: both;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.testimonial-card:nth-child(1) {
  animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
  animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
  animation-delay: 0.3s;
}

.testimonial-card:nth-child(4) {
  animation-delay: 0.4s;
}

.testimonial-card:nth-child(5) {
  animation-delay: 0.5s;
}

.testimonial-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

.testimonial-rating {
  color: var(--warning-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.testimonial-text {
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1.5rem;
}

.author-info h4 {
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.author-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Newsletter Section */
.newsletter-section {
  padding: 5rem 0;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(0, 255, 65, 0.1);
  border-bottom: 1px solid rgba(0, 255, 65, 0.1);
  text-align: center;
}

.newsletter-section h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-family: 'Orbitron', sans-serif;
}

.newsletter-section p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 1rem 1.5rem;
  background: rgba(17, 17, 17, 0.9);
  border: 2px solid var(--border-color);
  border-radius: 25px;
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
}

.newsletter-form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.newsletter-form input::placeholder {
  color: var(--text-secondary);
}

/* Social Section */
.social-section {
  padding: 4rem 0;
  text-align: center;
  position: relative;
  z-index: 2;
  background: transparent;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-link {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.9);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  border-color: var(--primary-color);
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.5);
  background: var(--primary-color);
  color: var(--black);
}

/* Footer Updates */
.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-section h3,
.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-family: 'Orbitron', sans-serif;
}

.footer-section h3 {
  font-size: 1.5rem;
}

.footer-section h4 {
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: all 0.3s;
  line-height: 1.6;
}

.footer-section a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-section i {
  margin-right: 0.5rem;
  color: var(--primary-color);
  width: 20px;
  text-align: center;
  display: inline-block;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 255, 65, 0.2);
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

/* Floating Chat Button */
.floating-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.chat-button {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--black);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 5px 25px rgba(0, 255, 65, 0.4);
  transition: all 0.3s;
  animation: chatPulse 2s ease-in-out infinite;
}

.chat-button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 35px rgba(0, 255, 65, 0.6);
}

.chat-button i {
  font-size: 1.5rem;
}

.chat-button.discord {
  background: linear-gradient(135deg, #5865F2, #7289DA);
  box-shadow: 0 5px 25px rgba(88, 101, 242, 0.4);
}

.chat-button.discord:hover {
  box-shadow: 0 8px 35px rgba(88, 101, 242, 0.6);
}

.chat-button.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
}

.chat-button.whatsapp:hover {
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
}

.chat-button.messenger {
  background: linear-gradient(135deg, #0084FF, #006AFF);
  box-shadow: 0 5px 25px rgba(0, 132, 255, 0.4);
}

.chat-button.messenger:hover {
  box-shadow: 0 8px 35px rgba(0, 132, 255, 0.6);
}

@keyframes chatPulse {
  0%, 100% {
    box-shadow: 0 5px 25px rgba(0, 255, 65, 0.4);
  }
  50% {
    box-shadow: 0 5px 35px rgba(0, 255, 65, 0.7);
  }
}

/* Settings Form */
.settings-form {
  background: rgba(17, 17, 17, 0.5);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
}

.settings-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.settings-section:last-of-type {
  border-bottom: none;
}

.settings-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.settings-section h3 i {
  font-size: 1.3rem;
}

/* Responsive Updates */
@media (max-width: 768px) {
  .nav-right {
    flex-wrap: wrap;
  }

  .search-bar {
    order: 3;
    width: 100%;
    margin-top: 1rem;
  }

  .search-bar input {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .feature-box {
    padding: 1.5rem 1rem;
  }

  .feature-box i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }

  .feature-box h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .feature-box p {
    font-size: 0.85rem;
  }

  /* About page Why Choose Us grid */
  .why-choose-us-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .why-choose-us-grid > div {
    padding: 1rem 0.5rem;
  }

  .why-choose-us-grid > div i {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  .why-choose-us-grid > div h3 {
    font-size: 0.9rem !important;
    margin-bottom: 0.3rem !important;
  }

  .why-choose-us-grid > div p {
    font-size: 0.8rem !important;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header {
    flex-direction: column;
    text-align: center;
  }

  .countdown-timer {
    gap: 1rem;
  }

  .timer-item {
    min-width: 80px;
    padding: 1rem;
  }

  .timer-value {
    font-size: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    width: 100%;
  }

  /* Footer Mobile (768px) */
  footer {
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: left;
  }

  footer .container {
    padding: 0 1rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem;
    text-align: left;
    display: grid !important;
  }

  .footer-section {
    padding: 0;
    border-bottom: none;
    text-align: left;
    margin-bottom: 0;
  }

  .footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .footer-section h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    padding: 0.2rem 0;
  }

  .footer-section i {
    font-size: 0.8rem;
    width: 16px;
  }

  .footer-bottom {
    padding-top: 1.5rem;
    font-size: 0.85rem;
    text-align: center;
  }

  .chat-button span {
    display: none;
  }

  .chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .products-section {
    padding: 3rem 0;
    overflow-x: hidden;
  }

  .products-section .container {
    padding: 0 1rem;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .product-card {
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }

  .product-image-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .product-image-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .product-info {
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .product-info h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
  }

  .product-info p {
    font-size: 0.85rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
  }

  .product-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .price {
    font-size: 1rem;
  }

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

  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .admin-tabs {
    flex-direction: column;
  }
}

/* Success Message */
.success-message {
  background: linear-gradient(135deg, var(--success-color), #00dd77);
  color: var(--black);
  padding: 1.2rem 2rem;
  border-radius: 50px;
  position: fixed;
  top: 90px;
  right: 30px;
  z-index: 10000;
  animation: slideIn 0.4s ease;
  font-weight: 700;
  box-shadow: 0 10px 40px rgba(0, 255, 136, 0.4);
}

@keyframes slideIn {
  from {
    transform: translateX(120%);
  }
  to {
    transform: translateX(0);
  }
}

/* Payment Modal */
.payment-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.payment-modal {
  background: var(--gray);
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 255, 136, 0.4);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.payment-modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--black);
  padding: 2rem;
  text-align: center;
  border-radius: 18px 18px 0 0;
}

.payment-modal-header h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 900;
}

.payment-modal-body {
  padding: 2.5rem;
  text-align: center;
}

.payment-success-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 1rem;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.payment-modal-body h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.order-id-text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.order-id-text strong {
  color: var(--primary-color);
}

.payment-details {
  background: var(--light-gray);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  margin-top: 2rem;
  text-align: left;
}

.payment-details h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.binance-id-box {
  background: var(--gray);
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.binance-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.binance-id {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
  word-break: break-all;
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 8px;
}

.copy-btn {
  background: var(--primary-color);
  color: var(--black);
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s;
  width: 100%;
}

.copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
}

.network-info {
  background: var(--gray);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.network-info p {
  margin: 0;
  font-size: 1.1rem;
}

.network-info strong {
  color: var(--primary-color);
}

.payment-instructions {
  background: var(--gray);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.payment-instructions h4 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.payment-instructions p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.payment-warning {
  background: rgba(255, 170, 0, 0.1);
  border: 1px solid var(--warning-color);
  border-radius: 8px;
  padding: 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: start;
}

.payment-warning i {
  color: var(--warning-color);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.payment-warning p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.payment-modal-footer {
  padding: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  border-top: 1px solid var(--border-color);
}

.payment-modal-footer .btn-primary,
.payment-modal-footer .btn-secondary {
  flex: 1;
  text-align: center;
  padding: 1rem 2rem;
  text-decoration: none;
  display: inline-block;
}

/* Payment Method Selection */
.payment-method-selection {
  max-width: 800px !important;
}

.payment-method-selection-area {
  margin-top: 2rem;
}

.payment-method-selection-area h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  text-align: center;
}

.payment-methods-list {
  display: grid;
  gap: 1.5rem;
}

.payment-method-option {
  background: var(--gray);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.payment-method-option:hover {
  border-color: var(--primary-color);
  background: var(--light-gray);
  box-shadow: 0 5px 20px rgba(0, 255, 136, 0.2);
  transform: translateY(-2px);
}

.method-qr-small {
  flex-shrink: 0;
}

.method-qr-small img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  border: 2px solid var(--primary-color);
  padding: 5px;
  background: white;
}

.method-option-info {
  flex: 1;
}

.method-option-info h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.method-wallet {
  color: var(--text-secondary);
  font-family: monospace;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  word-break: break-all;
}

.method-instructions {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.method-select-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.payment-qr-code {
  text-align: center;
  padding: 2rem;
  background: var(--gray);
  border-radius: 15px;
  margin-bottom: 1.5rem;
  border: 2px solid var(--primary-color);
}

.payment-qr-code h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.qr-code-image {
  max-width: 250px;
  width: 100%;
}

/* Mobile Payment Modal */
@media (max-width: 768px) {
  .payment-modal {
    width: 95%;
    max-width: 95%;
    margin: 0.5rem;
    max-height: 95vh;
    border-radius: 15px;
  }

  .payment-modal-overlay {
    padding: 0.5rem;
    align-items: flex-start;
    padding-top: 2rem;
  }

  .payment-modal-header {
    padding: 1.5rem 1rem;
  }

  .payment-modal-header h2 {
    font-size: 1.4rem;
  }

  .payment-modal-body {
    padding: 1.5rem 1rem;
  }

  .payment-modal-body h3 {
    font-size: 1.4rem;
  }

  .payment-success-icon {
    font-size: 3rem;
  }

  .payment-details {
    padding: 1.5rem 1rem;
  }

  .payment-details h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .binance-id-box {
    padding: 1rem;
  }

  .binance-id {
    font-size: 1rem;
    padding: 0.75rem;
    word-break: break-all;
  }

  .copy-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .payment-instructions {
    padding: 1rem;
  }

  .payment-instructions h4 {
    font-size: 1rem;
  }

  .payment-instructions p {
    font-size: 0.9rem;
  }

  .payment-warning {
    padding: 1rem;
  }

  .payment-warning i {
    font-size: 1.2rem;
  }

  .payment-warning p {
    font-size: 0.9rem;
  }

  .payment-modal-footer {
    padding: 1.5rem 1rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  .payment-modal-footer .btn-primary,
  .payment-modal-footer .btn-secondary {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
  }

  .payment-qr-code {
    padding: 1.5rem 1rem;
  }

  .qr-code-image {
    max-width: 200px;
  }

  .payment-method-option {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .method-qr-small img {
    width: 60px;
    height: 60px;
  }

  .method-option-info h4 {
    font-size: 1rem;
  }

  .method-wallet {
    font-size: 0.8rem;
  }

  .method-instructions {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .payment-modal {
    width: 98%;
    max-width: 98%;
    margin: 0.25rem;
    border-radius: 12px;
  }

  .payment-modal-header {
    padding: 1rem 0.75rem;
  }

  .payment-modal-header h2 {
    font-size: 1.2rem;
  }

  .payment-modal-body {
    padding: 1rem 0.75rem;
  }

  .payment-modal-body h3 {
    font-size: 1.2rem;
  }

  .payment-success-icon {
    font-size: 2.5rem;
  }

  .order-id-text {
    font-size: 0.95rem;
  }

  .payment-details {
    padding: 1rem 0.75rem;
  }

  .binance-id {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .copy-btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
  }
}

/* Notification System */
.notification-link {
  position: relative;
  cursor: pointer;
}

.notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--danger-color);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.notification-panel {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 400px;
  max-height: 600px;
  background: var(--gray);
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.notification-panel-header {
  padding: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--light-gray);
}

.notification-panel-header h3 {
  color: var(--primary-color);
  margin: 0;
  font-size: 1.3rem;
}

.btn-mark-all-read {
  background: var(--primary-color);
  color: var(--black);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.btn-mark-all-read:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.close-notification-panel {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.close-notification-panel:hover {
  color: var(--danger-color);
}

.notification-panel-body {
  overflow-y: auto;
  max-height: 500px;
}

.no-notifications {
  padding: 3rem;
  text-align: center;
  color: var(--text-muted);
}

.notification-item {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.notification-item:hover {
  background: var(--light-gray);
  transform: translateX(5px);
}

.notification-item.unread {
  background: rgba(0, 255, 136, 0.05);
}

.notification-item[data-order-id]:hover {
  cursor: pointer;
  border-left: 3px solid var(--primary-color);
}

.notification-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.notification-icon.success {
  background: rgba(0, 255, 136, 0.2);
  color: var(--success-color);
}

.notification-icon.error {
  background: rgba(255, 68, 68, 0.2);
  color: var(--danger-color);
}

.notification-icon.warning {
  background: rgba(255, 170, 0, 0.2);
  color: var(--warning-color);
}

.notification-icon.info {
  background: rgba(0, 204, 255, 0.2);
  color: var(--secondary-color);
}

.notification-content {
  flex: 1;
}

.notification-content h4 {
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.notification-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.notification-time {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.notification-unread-dot {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .notification-panel {
    width: calc(100% - 40px);
    right: 20px;
    left: 20px;
  }
}

.qr-hint {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.or-divider {
  text-align: center;
  position: relative;
  margin: 2rem 0;
}

.or-divider::before,
.or-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: var(--border-color);
}

.or-divider::before {
  left: 0;
}

.or-divider::after {
  right: 0;
}

.or-divider span {
  background: var(--light-gray);
  padding: 0 1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================ */

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.menu-toggle span {
  width: 100%;
  height: 2.5px;
  background: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s;
  display: block;
}

.menu-toggle:hover span {
  background: var(--secondary-color);
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* Mobile Side Menu */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-side-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 350px;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(17, 17, 17, 0.98));
  border-right: 2px solid var(--primary-color);
  box-shadow: 5px 0 30px rgba(0, 255, 65, 0.3);
  z-index: 9999;
  overflow-y: auto;
  transition: left 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-side-menu.active {
  left: 0;
}

.mobile-menu-header {
  padding: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 255, 65, 0.05);
}

.mobile-menu-header h3 {
  color: var(--primary-color);
  font-size: 1rem;
  margin: 0;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.menu-close {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 1rem;
}

.menu-close:hover {
  background: var(--primary-color);
  color: var(--black);
  transform: rotate(90deg);
}

.mobile-menu-search {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 0.5rem;
}

.mobile-menu-search input {
  flex: 1;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
}

.mobile-menu-search input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.mobile-menu-search button {
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 8px;
  color: var(--black);
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s;
}

.mobile-menu-search button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 255, 65, 0.4);
}

.mobile-menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  overflow-y: auto;
}

.mobile-menu-links li {
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 600;
  font-size: 0.9rem;
  flex-direction: row;
}

.mobile-menu-links a i {
  width: 20px;
  text-align: left;
  color: var(--primary-color);
  font-size: 1rem;
  order: -1;
  flex-shrink: 0;
}

.mobile-menu-links a:hover {
  background: rgba(0, 255, 65, 0.1);
  color: var(--primary-color);
  padding-left: 1.2rem;
  padding-right: 2rem;
}

.mobile-menu-links a:hover i {
  color: var(--secondary-color);
  transform: scale(1.2);
}

.username-text {
  display: inline;
}

/* Mobile First Approach - Base styles for mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .nav-right {
    gap: 0.5rem;
  }

  .username-text {
    display: none;
  }

  .user-link {
    padding: 0.4rem;
  }

  .user-link i,
  .cart-link i {
    font-size: 0.9rem;
  }

  .logo {
    font-size: 1rem;
  }

  .logo i {
    font-size: 0.9rem;
  }

  .search-bar {
    display: none;
  }

  /* Hide Admin and Logout buttons on mobile */
  .admin-link,
  .logout-btn {
    display: none !important;
  }

  /* Make all icons and text smaller on mobile */
  .nav-right i {
    font-size: 0.9rem;
  }

  .mobile-menu-header {
    padding: 1rem 1.2rem;
  }

  .mobile-menu-search {
    padding: 0.8rem 1.2rem;
  }

  .mobile-menu-search input {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  .mobile-menu-search button {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .mobile-menu-search button i {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .stats-section {
    padding: 3rem 0;
    overflow-x: hidden;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .stat-card {
    padding: 1.25rem 0.75rem;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  .stat-number {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }

  .stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    line-height: 1.2;
  }

  .products-section {
    padding: 2rem 0;
    overflow-x: hidden;
  }

  .products-section .container {
    padding: 0 0.75rem;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .navbar .container {
    padding: 1rem 15px;
    position: relative;
  }

  .logo {
    font-size: 1.2rem;
    flex: 1;
  }

  .nav-right {
    gap: 0.5rem;
  }

  .user-link, .cart-link, .login-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
  }

  .user-link i,
  .cart-link i {
    font-size: 0.8rem;
  }

  .logo {
    font-size: 0.95rem;
  }

  .logo i {
    font-size: 0.85rem;
  }

  /* Hide Admin and Logout buttons on mobile */
  .admin-link,
  .logout-btn {
    display: none !important;
  }

  .user-avatar {
    width: 28px;
    height: 28px;
  }

  /* Make all icons and text smaller on mobile */
  .nav-right i {
    font-size: 0.8rem;
  }

  .mobile-menu-header {
    padding: 0.9rem 1rem;
  }

  .mobile-menu-header h3 {
    font-size: 0.9rem;
  }

  .menu-close {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .mobile-menu-search {
    padding: 0.7rem 1rem;
  }

  .mobile-menu-search input {
    font-size: 0.85rem;
    padding: 0.5rem;
  }

  .mobile-menu-search button {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  .mobile-menu-search button i {
    font-size: 0.85rem;
  }

  .mobile-menu-links a {
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
    gap: 0.6rem;
    flex-direction: row;
  }

  .mobile-menu-links a i {
    font-size: 0.9rem;
    width: 18px;
    text-align: left;
    order: -1;
    flex-shrink: 0;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .cta-button {
    width: 100%;
    padding: 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
  }

  .product-card {
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
  }

  .product-image-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .product-image-wrapper img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .product-info {
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .product-info h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
  }

  .product-info p {
    font-size: 0.8rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
  }

  .product-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .price {
    font-size: 1rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .categories-grid-full {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .category-card-large {
    height: 250px;
  }

  .category-info h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .category-info p {
    font-size: 0.75rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-height: 2.4em;
    margin-bottom: 0.5rem;
  }

  .category-view-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
  }

  .category-stats span {
    font-size: 0.75rem;
  }

  .category-overlay {
    padding: 1rem;
  }

  .category-card {
    padding: 1.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .feature-box {
    padding: 1.2rem 0.8rem;
  }

  .feature-box i {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
  }

  .feature-box h3 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }

  .feature-box p {
    font-size: 0.8rem;
  }

  /* About page Why Choose Us grid */
  .why-choose-us-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
  }

  .why-choose-us-grid > div {
    padding: 0.8rem 0.4rem;
  }

  .why-choose-us-grid > div i {
    font-size: 1.3rem !important;
    margin-bottom: 0.4rem !important;
  }

  .why-choose-us-grid > div h3 {
    font-size: 0.85rem !important;
    margin-bottom: 0.25rem !important;
  }

  .why-choose-us-grid > div p {
    font-size: 0.75rem !important;
  }

  .testimonials-carousel {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .testimonial-card {
    min-width: 280px;
    max-width: 100%;
    margin-bottom: 0;
    animation: slideInFromRight 0.6s ease-out;
  }

  .admin-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .tab-btn {
    flex: 1 1 calc(50% - 0.5rem);
    font-size: 0.85rem;
    padding: 0.75rem 0.5rem;
  }

  .admin-section table {
    font-size: 0.8rem;
  }

  .admin-section th,
  .admin-section td {
    padding: 0.5rem;
  }

  .table-img {
    width: 40px;
    height: 40px;
  }

  .add-product-form,
  .settings-form {
    padding: 1rem;
  }

  .form-row {
    flex-direction: column;
  }

  .form-group {
    width: 100%;
  }

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

  .cart-item {
    flex-direction: column;
    gap: 1rem;
  }

  .cart-item-info {
    width: 100%;
  }

  .cart-item-actions {
    width: 100%;
    justify-content: space-between;
  }

  .order-detail-section {
    padding: 2rem 0;
  }

  .order-items-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-section {
    padding: 2rem 0;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-media-section {
    order: 1;
  }

  .product-info-section {
    order: 2;
  }

  .product-header h1 {
    font-size: 1.8rem;
  }

  .product-price-section {
    padding: 1rem 0;
  }

  .current-price {
    font-size: 2rem;
  }

  .price-display .original-price {
    font-size: 1.2rem;
  }

  .product-description-section-full {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: none;
  }

  .product-description-full {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
  }

  .description-title {
    display: none;
  }

  .description-content {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0;
    background: transparent;
    border: none;
    white-space: pre-wrap;
    word-wrap: break-word;
  }

  .read-more-btn {
    display: none !important;
  }

  .product-actions-section {
    display: none;
  }

  /* Mobile Sticky Buttons */
  .mobile-sticky-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
  }

  .mobile-action-buttons {
    display: flex;
    gap: 0.75rem;
    max-width: 100%;
  }

  .mobile-btn-buy-now,
  .mobile-btn-add-cart,
  .mobile-btn-out-of-stock {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-btn-buy-now {
    background: #007bff;
    color: white;
  }

  .mobile-btn-buy-now:hover {
    background: #0056b3;
  }

  .mobile-btn-add-cart {
    background: #ff6600;
    color: white;
  }

  .mobile-btn-add-cart:hover {
    background: #e55a00;
  }

  .mobile-btn-out-of-stock {
    background: var(--text-secondary);
    color: var(--text-primary);
    cursor: not-allowed;
    opacity: 0.6;
  }

  /* Add bottom padding to prevent content from hiding behind sticky buttons */
  .product-detail-section {
    padding-bottom: 100px;
  }

  .product-plans-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
}

/* Hide mobile buttons on desktop, show desktop buttons */
@media (min-width: 769px) {
  .mobile-sticky-buttons {
    display: none !important;
  }

  .product-actions-section {
    display: block !important;
  }

  .product-detail-section {
    padding-bottom: 5rem;
  }

  .reviews-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .average-rating-box {
    width: 100%;
    min-width: auto;
    padding: 1.25rem 1.5rem;
  }

  .average-rating-value {
    font-size: 2.5rem;
  }

  .review-form-section {
    padding: 1.5rem;
  }

  .review-form-section h3 {
    font-size: 1.2rem;
  }

  .rating-input .star-label {
    font-size: 1.5rem;
  }

  .reviews-list {
    gap: 1rem;
  }

  .review-item {
    padding: 1rem;
  }

  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .review-rating {
    align-self: flex-start;
  }

  .review-images-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
  }

  .image-modal-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .image-modal-prev {
    left: 10px;
  }

  .image-modal-next {
    right: 10px;
  }

  .image-modal-close {
    top: 10px;
    right: 10px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  .stat-card {
    padding: 1.5rem 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  /* Footer Mobile Styles (480px) */
  footer {
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: left;
  }

  .footer-content {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0;
    text-align: left;
    padding: 0 1rem;
  }

  .footer-section {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 255, 65, 0.1);
    margin-bottom: 0.5rem;
    text-align: left;
  }

  .footer-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .footer-section h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .footer-section h4 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
    padding: 0.2rem 0;
  }

  .footer-section i {
    font-size: 0.75rem;
    margin-right: 0.3rem;
    width: 14px;
  }

  .footer-bottom {
    padding-top: 1.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    text-align: center;
  }

  .footer-bottom p {
    padding: 0 1rem;
    line-height: 1.5;
  }

  .floating-chat {
    bottom: 20px;
    right: 20px;
  }

  .chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
    min-width: 60px;
  }

  .chat-button span {
    display: none;
  }

  .chat-button i {
    font-size: 1.3rem;
    margin: 0;
  }

  .modal {
    padding: 1rem;
  }

  .modal-content {
    max-width: 95%;
    margin: 1rem auto;
    padding: 1.5rem;
  }

  .payment-methods-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    margin-bottom: 2rem;
  }

  .filter-btn {
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 1rem;
  }
}

/* Tablet Styles */
@media (min-width: 481px) and (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer Tablet */
  footer {
    padding: 2.5rem 0;
    text-align: left;
  }

  .footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: left;
  }

  .footer-section {
    text-align: left;
    padding: 0;
    border-bottom: none;
    margin-bottom: 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .nav-links {
    font-size: 0.9rem;
  }

  .tab-btn {
    font-size: 0.9rem;
  }
}

/* Small Desktop */
@media (min-width: 769px) and (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }

  .stat-card {
    padding: 1.75rem 1rem;
  }

  .stat-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
  }

  .stat-label {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }
}

/* Desktop View (1025px and above) - MUST BE AFTER MOBILE QUERIES */
@media (min-width: 1025px) {
  /* Footer Desktop - 4 columns grid */
  .footer-content {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 3rem !important;
    text-align: left !important;
    padding: 0 !important;
  }

  footer {
    padding: 3rem 0 !important;
    margin-top: 5rem !important;
    text-align: left;
  }

  footer .container {
    padding: 0 2rem !important;
    max-width: 1200px;
  }

  .footer-section {
    padding: 0 !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
    text-align: left !important;
  }

  .footer-section h3 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }

  .footer-section h4 {
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
  }

  .footer-section p,
  .footer-section a {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
    padding: 0 !important;
  }

  .footer-section i {
    font-size: 1rem !important;
    width: 20px !important;
    margin-right: 0.5rem !important;
  }

  .footer-bottom {
    text-align: center !important;
    padding-top: 2rem !important;
    font-size: 0.9rem !important;
  }

  /* Stats Grid Desktop - 5 columns one row */
  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }

  .stat-card {
    padding: 2.5rem 1.5rem;
  }

  .stat-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }

  .stat-number {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .stat-label {
    font-size: 0.95rem;
    letter-spacing: 1.5px;
  }
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
  button, .btn-primary, .btn-secondary, .btn-danger,
  .cta-button, .add-to-cart-btn, .filter-btn, .tab-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  input, textarea, select {
    font-size: 16px; /* Prevents zoom on iOS */
    min-height: 44px;
  }

  a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .product-card-link {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
  }

  .product-card-link:focus,
  .product-card-link:active {
    outline: none;
  }

  .cart-item-actions button {
    min-width: 44px;
    min-height: 44px;
  }

  .quantity-controls button {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .navbar {
    padding: 0.5rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .table-img,
  .product-card img,
  .user-avatar {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}
