:root {
    /* Light theme (default) */
    --bg-color: #f5f5f5;
    --text-color: #333;
    --primary-color: #FAD50E;
    --secondary-color: #6c757d;
    --primary-light: #ffff99;
}
body {
    font-family: 'Vend Sans', sans-serif;
    background: var(--bg-color);
}

a {
    text-decoration: none !important;
    color: inherit;
}
#particle-canvas {
      position: fixed;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
    }
    
    
/*Hompage*/
.bento-marquee-container {
    overflow: hidden;
    width: 100%;
    padding: 30px 0;
    position: relative;
}

.bento-marquee-content {
    display: grid;
    grid-auto-flow: column dense; 
    grid-template-rows: repeat(2, 200px); 
    gap: 15px;
    width: max-content; 
    animation: bentoScroll 40s linear infinite;
}

.bento-marquee-content:hover {
    animation-play-state: paused;
}

@keyframes bentoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.bento-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    position: relative;
}

.bento-item:hover {
    transform: scale(0.98);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 10;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bento-large {
    grid-row: span 2;
    grid-column: span 2;
    width: 415px;
    height: 415px;
}
.bento-wide {
    grid-column: span 2;
    grid-row: span 1;
    width: 415px;
    height: 200px;
}
.bento-tall {
    grid-row: span 2;
    grid-column: span 1;
    width: 200px;
    height: 415px;
}
.bento-small, .bento-medium {
    grid-row: span 1;
    grid-column: span 1;
    width: 200px;
    height: 200px;
}
@media (max-width: 768px) {
    .bento-marquee-content {
        grid-template-rows: repeat(2, 140px);
        gap: 10px;
    }

    .bento-large {
        width: 290px; height: 290px;
    }
    .bento-wide {
        width: 290px; height: 140px;
    }
    .bento-tall {
        width: 140px; height: 290px;
    }
    .bento-small, .bento-medium {
        width: 140px; height: 140px;
    }
}


/*NAVBAR*/
.navbar {
    border-bottom: 4px solid #000000;
    -webkit-transition: transform 5s ease;
    transition: transform 5s ease;
}
.divider {
    border-left: 4px solid #000000;
    height: 60px;
}
nav .nav-item:hover {
    color: #000;
    border-bottom: 3px solid var(--primary-color);
    font-size: 23px;
    cursor: pointer;
}
.nav-link i:hover{
    color: var(--primary-color);
    font-size: 30px;
}
.search-con{
    -webkit-transition: transform 1s ease;
    display: none;
}
.search-active{
    display: block;
    transition: max-height 1s ease;
    animation: slideDown 0.5s ease forwards;
}
@keyframes slideDown {
  from {
    transform: translateY(-30px);  /* start 30px above */
    opacity: 0;
  }
  to {
    transform: translateY(0);      /* original position */
    opacity: 1;
  }
}

.h-color{
    background-color: var(--bg-color);
}


/*INPUTS*/
.einput{
    padding: 12px;
    border: 3px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 16px;
}
.einput:hover{
    border-color: var(--secondary-color);
}
.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #666;
}

.otp-input {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.otp-input input {
    width: 50px;
    height: 50px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    border: 2px solid #ccc;
}

.otp-input input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    -webkit-box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

  /*The sidebar ///////////////////////////////////////////////////////////////*/
    .sidebar a {
      display: flex;
      align-items: center;
      padding: 10px 15px;
      text-decoration: none;
      transition: background 0.3s;
    }
    .sidebar a:hover {
      color: #333; 
      background: #999999;
    }
    .sidebar i {
      margin-right: 10px;
      font-size: 18px;
    }
    .card {
      border-radius: 5px;
      margin-bottom: 20px;
    }
    .card h6 {
      font-weight: bold;
      font-size: 14px;
      margin-bottom: 10px;
    }
    .menu-btn {
      background: none;
      border: none;
      font-size: 22px;
      cursor: pointer;
    }
    
    
    /*for calling alerts*/
.e_alert {
            position: fixed;
            bottom: -1%;   /* Start off-screen */
            left: 50%;
            width: 75%;
            transform: translateX(-50%);
            padding: 15px 20px;
            background-color: #ffff66;  /* Green background */
            color: #000;
            font-weight: 700;
            font-size: 18px;
            text-align: center;
            border-radius: 5px;
            transition: all 2s ease;  /* Smooth slide-in */
            z-index: 1000;
        }
        
    /*//categories scroll effect*/
div.scrollmenu {
  overflow: auto;
  white-space: nowrap;
}
div.scrollmenu::-webkit-scrollbar {
               display: none; 
            }
div.scrollmenu a {
  border: 2px solid #000;
  display: inline-block;
  text-align: center;
  padding: 8px;
  margin-right: 10px;
  text-decoration: none;
}
div.scrollmenu a:hover {
    color: #000;
    background-color: var(--primary-light);
}


    /*Product card*/
   /*//for cart listing and wishlisting*/
.product-img {
    border: 3px solid #000;
    height:100px;
    max-height: 100px;
}
.product-img:hover {
    border: 3px solid var(--primary-light);
    height:100px;
    max-height: 100px;
}
.product-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    height: 500px;
    transition: 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}
.product-image {
    height: 300px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}
    .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 10px;
    transition: 0.3s;
}
/* Optional hover border */
.product-image img:hover {
    border: 3px solid var(--primary-light);
}
    .favorite-icon {
      position: absolute;
      top: 15px;
      right: 15px;
      color: #fff;
      background: rgba(255,255,255,0.2);
      border-radius: 50%;
      width: 35px;
      height: 35px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
    }

    .product-details {
      padding: 20px;
    }

    .product-details h5 {
      font-weight: 600;
    }

    .badge-custom {
      background-color: #e9ecef;
      color: #000;
      font-size: 0.8rem;
      margin-right: 5px;
    }

    .price {
      font-size: 1.25rem;
      font-weight: 700;
    }

    .add-cart-btn {
        background-color: #a5bf30;
      border: none;
    }

    .add-cart-btn:hover {
        background-color: #cde07e;
    }







    /* Product */
    .heart-icon, .cart-icon {
    position: absolute;
    font-size: 25px;
    color: #555;
}

.heart-icon {
    top: 10px;
    right: 10px;
    color: #e8ebe7;
    cursor: pointer;
    border: none;
    background: none;
}

.tab-container {
  border: 2px solid #ccc;
  border-radius: 5px;
}

.tabs {
  display: flex;
  background-color: #333;
  border-bottom: 2px solid #ccc;
}

.tab-link {
  flex: 1;
  padding: 15px;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  color: #999999;
  background: #333;
  border: none;
  cursor: pointer;
  transition: color 0.3s, border-bottom 0.3s;
  outline: none;
}

.tab-link:hover {
  color: #FFF;
}

.tab-link.active {
    color: #FFF;
  border-bottom: 4px solid var(--primary-color);
}


.tab-content {
  padding: 20px;
  margin-top: 20px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}
    .image-preview-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main-image img {
  width: 100%;
  max-width: 500px;
  border: 3px solid #000;
  border-radius: 10px;
  height: 300px;
  max-height: 300px;
}

.thumbnail-container {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.thumbnail {
  width: 110px;
  height: 100px;
  max-height: 100px;
  border-radius: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s;
}

.thumbnail.active {
  border-color: var(--primary-color);
}

.thumbnail:hover {
  border-color: var(--secondary-color);
}

.quantity-selector {
  margin-bottom: 20px;
}

.quantity-options {
  display: flex;
  gap: 10px;
  align-items: center;
}

.quantity-btn {
  width: 50px;
  height: 50px;
  border: 2px solid #000;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.quantity-btn:hover {
  border-color: var(--primary-color);
}

#quantity-value {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 2px solid #ccc;
}

/* Footer */
.footer-bg{
    background: #231F20;
}
.footer-icons a {
    font-size: 20px;
    margin-right: 15px;
    color: white;
}
.footer li a{
    color: #cccccc;
}
.footer a:hover {
    color: var(--primary-color);
}
 /* Vertical divider */
        .footer .divider {
            border-left: 3px solid #fff;
            height: 230px;
        }
@media (max-width: 800px) {
            .footer .divider {
                height: 20px;
                border-left: none;
                border-top: 3px solid #fff;
                margin-top: 20px;
                padding-top: 20px;
                width: 100%;
            }
            
}


/*OTHERS*/
  .hero-text {
            flex: 1;
            padding-right: 30px;
        }
        .hero-text h1 {
            font-size: 3rem;
            letter-spacing: 2px;
            margin-bottom: 20px;
            color: var(--text);
        }
.link{
    color: #adb700;
}
.link:hover{
    color: #f0ff00;
}
 .google-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #ccc;
      border-radius: 20px;
      padding: 13px 10px;
      background-color: white;
      cursor: pointer;
      font-size: 16px;
      color: #000;
      text-decoration: none;
      width: 100%;
    }

    .google-btn img {
      margin-right: 10px;
      width: 20px;
      height: 20px;
    }

    .google-btn:hover {
        background-color: #cccccc;
        border-color: #aaa;
        text-decoration: none;
    }
    
    
    
    .card {
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            border: none;
            margin-bottom: 25px;
            transition: transform 0.3s;
        }
        
        .card:hover {
            transform: translateY(-5px);
        }
        .stat-card {
            text-align: center;
            padding: 20px;
        }
        
        .stat-card i {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 15px;
        }
        
        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            color: var(--secondary-color);
        }
        
        .stat-label {
            color: #6c757d;
            font-weight: 500;
        }
        
        
        
/* Dark mode */
@media (prefers-color-scheme: dark) {
    body {
    font-family: 'Vend Sans', sans-serif;
    background: #333333;
}
    .navbar {
        border-bottom: 4px solid #ffffff;
    }
    .divider {
    border-left: 4px solid #ffffff;
    height: 60px;
}
.h-color{
    background-color: #333333;
}
}