body {
    font-family: Arial, sans-serif;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 20px;
    background-color: #0f0f0f;
    color: white;
}

* {
    box-sizing: border-box;
}

.title-section {
    display: flex;
    justify-content: center;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    font-weight: bold;
    flex-wrap: wrap;
    gap: 10px;
}
.header a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}
.header-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.right-icon, .cart-icon {
    position: relative;
    color: white;
    text-decoration: none;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.right-icon:hover, .cart-icon:hover {
    color: #007bff;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff1493;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
}
.logo-image {
    height: 40px;
    margin-right: 10px;
}
/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 10px;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: gray;
    border-radius: 10px;
}

#particles-js { 
    width: 100%; 
    height: 100%; 
    position: fixed; 
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Toggle Slider Styles */
.theme-toggle-slider {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  cursor: pointer;
}

.theme-toggle-slider input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4a5568;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider:before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Checked state (light mode) */
.theme-toggle-slider input:checked + .slider {
  background-color: #ccc;
}

.theme-toggle-slider input:checked + .slider:before {
  transform: translateX(30px);
}

/* Hover effect */
.theme-toggle-slider:hover .slider {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 8px rgba(0, 0, 0, 0.1);
}

/* Optional: Add sun/moon icons */
.slider:after {
  content: "🌙";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.8;
}

.theme-toggle-slider input:checked + .slider:after {
  content: "☀️";
  left: 8px;
  right: auto;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .header > a {
        justify-content: center;
    }
    
    .header-icons {
        width: 100%;
        justify-content: space-around;
        gap: 10px;
    }
    
    .right-icon, .cart-icon {
        flex-direction: column;
        padding: 10px 5px;
        font-size: 12px;
        text-align: center;
    }
    
    .right-icon i, .cart-icon i {
        margin-bottom: 3px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.2rem;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .right-icon, .cart-icon {
        font-size: 11px;
        padding: 8px 3px;
    }
    
    .right-icon i, .cart-icon i {
        font-size: 14px;
    }
}