/* General Styling */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url(../assets/images/body-bg.jpg);
    background-size: 100%;
    background-repeat: repeat;
    background-position: center;
}

h2, h4 {
    color: #333;
    font-weight: 600;
}

/* Navbar */
.navbar {
    background: linear-gradient(45deg, #ff69b4, #ffb6c1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.navbar-brand {
    color: white;
    font-weight: bold;
}
.navbar-brand:hover {
    color: #f1f1f1;
}



    .navbar-craft {
      background-color: #fdf6f0;
      border-bottom: 2px solid #f0e1d2;
    }

    .navbar-brand {
      font-family: 'Dancing Script', cursive;
      font-size: 1.8rem;
      color: #a0522d !important;
    }

    .nav-link {
      color: #5c4033 !important;
      margin: 0 10px;
    }

    .nav-link:hover {
      color: #a0522d !important;
    }

    .form-control {
      border-radius: 30px;
      padding-left: 20px;
    }

    .btn-craft {
      background-color: #a0522d;
      color: white;
      border-radius: 30px;
      padding: 5px 15px;
    }

    .btn-craft:hover {
      background-color: #8b4513;
    }

    .icon-btn {
      background: none;
      border: none;
      color: #5c4033;
      font-size: 1.3rem;
      position: relative;
    }

    .icon-btn:hover {
      color: #a0522d;
    }

    @media (min-width: 992px) {
      .navbar-craft {
        padding-left: 2rem;
        padding-right: 2rem;
      }
    }


/* Navbar */
.sidebar {
    background: linear-gradient(45deg, #ff69b4, #ffb6c1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 250px;
}

    .offcanvas-menu {
      padding: 20px;
      width: 99%;
      height: 100%;
      border-right: 2px solid #f0e1d2;
    }
    
    .offcanvas-menu ul {
      list-style-type: none;
      padding: 0;
    }

    .offcanvas-menu li {
      padding: 15px 0;
      border-bottom: 1px solid #f0e1d2;
      font-weight: bold;
      color: darkblue;
    }

    .offcanvas-menu li a {
      text-decoration: none;
      color: #5c4033;
      font-size: 16px;
      display: flex;
      align-items: center;
    }

    .offcanvas-menu li a i {
      margin-right: 10px;
    }

    .offcanvas-header {
      padding: 10px 0;
    }

/* Categories */
 
.scrolling-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  padding: 1rem;
}

.category-item {
  display: inline-block;
  text-align: center;
  margin-right: 1rem;
}

.category-item img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
  transition: margin 0.3s ease;
}

.category-item:hover img {
  margin: 0px;
}

.scrolling-wrapper::-webkit-scrollbar {
  display: none;
}

.scrolling-wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
  
  
/* Product Card */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn-success {
    background-color: #28a745;
    border: none;
}
.btn-success:hover {
    background-color: #218838;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Loading Spinner */
.spinner-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}
.loading-spinner {
    width: 4rem;
    height: 4rem;
    border: 5px solid #ff69b4;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Admin Dashboard */
.admin-section h2 {
    margin-bottom: 20px;
}
.table img {
    border-radius: 5px;
}

/* Forms */
form input, form textarea {
    border-radius: 5px;
}
