 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

       body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    padding-top: 100px;
}
        body::before,
        body::after {
            display: none;
        }

        @keyframes float,
        @keyframes slide,
        @keyframes pulse {
            display: none;
        }

        .container {
            max-width: 1200px;
        }

        .carousel-wrapper {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        .carousel-slide {
            flex: 0 0 100%;
            width: 100%;
        }

        .header {
            text-align: center;
            background: #ffffff;
            border: 1px solid #e9ecef;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
            position: relative;
        }

        .header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            color: #2c3e50;
            font-weight: 700;
        }

        .header p {
            font-size: 1.2rem;
            color: #6c757d;
        }

        .carousel-nav {
            text-align: center;
            margin-top: 20px;
        }

        .nav-dot {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #dee2e6;
            margin: 0 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .nav-dot.active {
            background: #007bff;
            transform: scale(1.2);
        }

        .carousel-prev, .carousel-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 123, 255, 0.8);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .carousel-prev {
            left: 10px;
        }

        .carousel-next {
            right: 10px;
        }

        .carousel-prev:hover, .carousel-next:hover {
            background: #007bff;
            transform: translateY(-50%) scale(1.1);
        }

        .filter-tabs{
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
        } 

        .filter-tab {
            padding: 12px 25px;
            background: #ffffff;
            color: #495057;
            border: 2px solid #e9ecef;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .filter-tab:hover, .filter-tab.active {
            background: #007bff;
            color: white;
            border-color: #007bff;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
        }

        .categories-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }

        @media (max-width: 1400px) {
            .categories-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 1000px) {
            .categories-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 600px) {
            .categories-grid {
                grid-template-columns: 1fr;
            }
        }

        .category-card {
            background: #ffffff;
            border: 1px solid #e9ecef;
            padding: 25px 20px;
            border-radius: 12px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            position: relative;
        }

        .category-card::before {
            display: none;
        }

        .category-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            border-color: #007bff;
        }

        .category-icon {
            height: 150px;
            width: 150px;
            margin-bottom: 15px;
            border-radius: 15px;
            object-fit: cover;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease;
        }

        .category-card:hover .category-icon {
            transform: scale(1.1);
        }
        
        .category-description {
            font-size: 0.95rem;
            color: #6c757d;
            text-align: center;
            margin-bottom: 15px;
            padding: 0 10px;
            line-height: 1.4;
        }

        .category-price {
            font-size: 1.3rem;
            color: #28a745;
            font-weight: bold;
            margin-bottom: 8px;
        }

        .category-stock {
            font-size: 0.9rem;
            color: #6c757d;
            margin-bottom: 15px;
            padding: 5px 10px;
            background: #f8f9fa;
            border-radius: 15px;
            display: inline-block;
            border: 1px solid #e9ecef;
        }

        .category-stock.low-stock {
            color: #dc3545;
            background: #f8d7da;
            border-color: #f5c6cb;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.7; }
            100% { opacity: 1; }
        }

        .category-stock.out-of-stock {
            color: #721c24;
            background: #f8d7da;
            border-color: #f5c6cb;
            font-weight: bold;
        }

        .add-to-cart, .order-now {
            background: #007bff;
            color: #fff;
            border: none;
            padding: 12px 20px;
            border-radius: 6px;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            margin: 0 5px;
        }

        .add-to-cart:hover, .order-now:hover {
            background: #0056b3;
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0, 123, 255, 0.25);
        }

        .add-to-cart:disabled, .order-now:disabled {
            background: #6c757d;
            cursor: not-allowed;
            opacity: 0.65;
        }

        .category-title {
            font-size: 1.3rem;
            margin-bottom: 8px;
            color: #2c3e50;
            font-weight: 600;
        }

        .button-container {
            margin-top: 15px;
        }
         
/* Container for search input */
#search {
    width: 100%;
    max-width: 400px; /* limit width */
    padding: 12px 20px;
    margin: 20px auto;
    display: block;
    border: 2px solid #007bff; /* bootstrap primary blue */
    border-radius: 50px; /* rounded edges */
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

/* Focus effect */
#search:focus {
    border-color: #0056b3; /* darker blue */
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

/* Placeholder text */
#search::placeholder {
    color: #999;
    font-style: italic;
}

/* Optional: add a subtle hover effect */
#search:hover {
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
    transform: scale(1.01);
}

/* Optional: smooth transition for cards when filtering */
.category-card {
    transition: all 0.3s ease;
}
.offcanvas {
  max-width: 20px; /* adjust size as you like */
}
.navbar-brand{
    font-size:50px;
}

/* PAYMENT */
.progress-line {
  position: relative;
  height: 10px;
  background: #eee;
  border-radius: 5px;
  margin-top: 5px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: green;
  border-radius: 5px;
  transition: width 0.5s ease;
}

.progress-fill.paid {
  width: 100%;
}

.progress-tick {
  position: absolute;
  right: 5px;
  top: -5px;
  font-weight: bold;
  color: white;
}
