 /* Define your custom color palette using CSS variables */
:root {
    --bg-black: #000000;
    --bg-slider: #151414;
    --bg-gray: #282828;
    --bg-input-gray: #363636;
    --bg-green: #98FB98;
    --bg-green-hover: #80f780;

    --text-white: #ffffff;
    --text-black: #000000;
    --text-green: #98FB98;

    --primary-blue: #2c3e50; /* Dark Blue */
    --secondary-blue: #34495e; /* Slightly lighter blue for accents */
    --light-gray: #ecf0f1; /* Very light gray for backgrounds */
    --medium-gray: #bdc3c7; /* Medium gray for borders/text */
    --soft-green: #27ae60;
    --soft-green-hover: #219653;
    --soft-yellow: #f1c40f; /* Muted yellow for highlights/accents */
    --soft-yellow-hover: #e0b400;
    --soft-red: #e74c3c;
    --soft-red-hover: #c0392b;
    --clear-gray: #5b5b5b;
    --clear-gray-hover: #6a6a6a;
    --create-green: #27ae60;
    --create-green-hover: #219653;
    --white: #ffffff;
    --black: #2c3e50;
    --text-dark: #2c3e50; /* Dark text on light backgrounds */
}

 /* General Styles */
 html, body {
    height: 100%; /* Ensures html and body take full height */
    margin: 0;
    font-family: 'Lato', sans-serif; /* Using Inter font as per instructions */
    font-size: 1rem;
    background-color: var(--bg-black);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
    overflow-y: auto; /* Allow vertical scroll for the entire page */
}

img {
    max-width: 100%;
    height: auto;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.alert-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-container {
    max-width: 100%;
    padding:0 40px;
    min-height: 400px;
}

.page-content {
    min-height: 200px;
    padding: 0 40px;
    color: var(--text-white);
}

.page-content h1 {
    font-size: 20px;
    color: var(--white);
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 400;
}

.main-title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.main-title h1.title {
    text-align: center;
    font-size: 20px;
    color: var(--white);
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 400;
    text-transform: uppercase;
}

.header{
    background-color: var(--bg-gray);
}

.logo {
    font-size: 2.5rem;
    margin: 0;
    color: var(--soft-yellow);
    font-weight: 700;
    /* margin-left: 20px; */
}

.logo a {
    text-decoration: none;
    color: var(--soft-yellow);
}


.cart-icon a{
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    position: relative;
}

.cart-icon .cart-count {
    background-color: var(--bg-green);
    color: var(--black);
    padding: 2px 5px;
    border-radius: 50%;
    font-size: 12px;
    position: absolute;
    top: -5px;
    right: -5px;
}


.empty-cart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--black);
    gap: 20px;
    padding: 20px;
}

@media (max-width: 1024px){
    .empty-cart {
        flex-direction: column;
    }
}

.empty-cart .img {
    flex:1;
}

.empty-cart .img img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.empty-cart .info {
    flex:1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.empty-cart .info h1 {
    font-size: 2.5rem;
    color: var(--black);
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 700;
    text-align: center;
}

.empty-cart a.continue-shopping {
    text-decoration: none;
    background-color: var(--soft-yellow);
    color: var(--primary-blue);
    border: none;
    padding: 14px 18px;
    border-radius: 6px;
    width: auto;
    cursor: pointer;
    font-size: 1.1rem;
    margin-top: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.empty-cart i{
    font-size: 10rem;
    color: var(--soft-yellow);
}

.menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

@media (max-width: 1024px){
    .main-menu {
        flex-direction: row;
    }
    .menu-items {
        /* display: block; */
        display: none;
    }
    .menu-items li {
        line-height: 30px;
        margin-bottom: 10px;
    }
}

.menu-items li {
    margin-right: 20px;
}

.menu-items a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.1rem;
}

.menu-items a:hover {
    color: var(--soft-yellow);
}

.menu-items a.active {
    color: var(--soft-yellow);
}

.menu-items a.active:hover {
    color: var(--soft-yellow);
}

.user-info{
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 1024px){
    .user-info{
        display: none;
    }
}

.user-profile{
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
}

.user-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--soft-yellow);
    transition: transform 0.3s ease;
}

.user-name {
    color: var(--white);
    font-weight: 500;
    margin-right: 5px;
}

.user-profile:hover .user-image {
    transform: scale(1.05);
}

.user-profile .auth-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-profile .auth-link a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.1rem;
}

.user-profile .auth-link a:hover, .user-profile .auth-link a.active {
    color: var(--soft-yellow);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    margin:0;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-profile:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .user-name {
        display: none;
    }

    .dropdown-menu {
        left: -20px;
    }

    .dropdown-menu::before {
        left: 50px;
    }
}



/* Alert */
.alert {
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-weight: bold;
}

.alert-success {
    background-color: var(--soft-green);
    color: var(--white);
}

.alert-danger {
    background-color: var(--soft-red);
    color: var(--white);
}



/* Product Filter */
.product-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-around;
    border-radius: 8px;
    margin-bottom: 40px;
}

.filter-search {
    display: flex;
    align-items: center;
    flex-grow: 1; /* Allows the search box to take up available space */
  }

  .filter-search input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
  }

  .filter-search input[type="text"]:focus {
    outline: none;
    border-color: #007bff;
  }

  .view-buttons {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
  }

  .view-buttons button {
    padding: 0.75rem 1rem;
    border: none;
    background-color: #fff;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
  }

  .view-buttons button.active ,   .view-buttons button.active:hover {
    background-color: var(--soft-yellow);
    color: var(--white);
  }

  .view-buttons button:hover {
    background-color: #e9ecef;
  }

  .filter-sort {
    display: flex;
    align-items: center;
  }

  .filter-sort label {
    margin-right: 0.5rem;
    white-space: nowrap;
  }

  .filter-sort select {
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fff;
    cursor: pointer;
    appearance: none; /* Removes default browser styling */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23212529" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
  }

  .filter-sort select:focus {
    outline: none;
    border-color: #007bff;
  }

  /* Price Range Filter Styles */
  .price-range {
    width: 100%;
  }

  .price-range > div {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 100%;
  }

  .price-range label {
    display: block;
    margin-bottom: 5px;
    width: 100%;
  }

  .price-filter {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    box-sizing: border-box;
  }

/* Products */

.products h1{
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 20px;
}

.products-main {
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}

.products-right-container {
    flex: 3;
    width: 100%;
    max-width: 100%;
}

/* Basic styling for the sidebar container */
.filter-sidebar {
    flex: 1;
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    color: var(--white);
    box-sizing: border-box;
  }

  /* Style the main heading */
  .filter-sidebar h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
  }

  /* Style each filter group */
  .filter-group {
    border: none;
    padding: 0;
    margin-bottom: 25px;
  }

  .filter-group legend {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 15px;
    display: block;
    text-align: left;
  }

  /* Price range input container */
  .price-range {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
  }

  .price-range div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .price-range div input[type="number"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--bg-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: var(--bg-gray);
    color: var(--text-white);
  }

  .price-range label {
    font-size: 1.1rem;
  }

  .price-range input[type="number"] {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
  }

  /* Category list styling */
  .filter-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .filter-category-list li {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
  }

  .filter-category-list input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease-in-out;
  }

  .filter-category-list input[type="checkbox"]:checked {
    background-color: #007bff;
    border-color: #007bff;
  }

  .filter-category-list input[type="checkbox"]:checked::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
  }

  .clear-filter-btn, .checkall-filter-btn {
  background-color: var(--bg-green);
  color: var(--text-black);
  border: none;
  padding: 14px 18px;
  border-radius: 6px;
  width: 100%;
  cursor: pointer;
  font-size: 1.1rem;
  margin-top: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
}



/* Product Detail Page - Two-Column Grid */

/* Container for the entire product detail section */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal-width columns */
    gap: 20px;
    background-color: var(--bg-black);
    border-radius: 8px;
    min-height: calc(100vh - 500px);
  }

  /* --- Left Column: Product Image --- */
  .product-image-column {
    /* No specific styles needed here, as the image itself will fill the space */
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .product-main-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
  }

  /* --- Right Column: Product Details --- */
  .product-details-column {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the content in the column */
    gap: 30px;
  }

  .product-details-column p {
    margin: 0;
    padding: 0;
  }

  /* Product title */
  .product-name {
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
    line-height: 1.2;
  }

  h1.product-name {
    text-transform: uppercase;
    color: var(--text-white);
    margin:0;
    padding:0;
  }

  /* Product price */
  .product-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-green);
  }

  /* Product category */
  .product-category {
    font-size: 1.1rem;
    color: var(--text-white);
  }

  .product-stock{
    display: flex;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--text-white);
    align-items: center;
  }

  .product-stock span{
    color: var(--soft-green);
    font-weight: 600;
    font-size: 1.2rem;
  }

/* --- Product Description Section (Full-width) --- */

  .divider {
    margin: 60px 0;
    height: 1px;
    background-color: var(--text-white);
    border: none;
  }

  .product-description{
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .product-description h1 {
    font-size: 16px;
    color: var(--text-white);
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 700;
  }

  .product-description p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-white);
    margin-bottom: 15px;
  }

  .payment-info{
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--bg-gray);
    padding: 20px;
    border-radius: 8px;
    width: auto;
  }

  .payment-info span{
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .cart-list {
    background-color: var(--bg-black);
  }

  /* Add to cart button */
  .add-to-cart-btn {
    background-color: var(--bg-green);
    color: var(--text-black);
    border: none;
    padding: 14px 18px;
    border-radius: 6px;
    width: auto;
    cursor: pointer;
    font-size: 1.1rem;
    /* margin-top: 30px; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
  }

  .add-to-cart-btn:hover {
    background-color: var(--bg-green-hover);
  }

  .add-to-cart-btn.disabled {
    background-color: var(--medium-gray);
    cursor: not-allowed;
  }

  /* Checkout button */
  .checkout-button{
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 250px;
  }

  .checkout-button a{
    display: block;
    width: 100%;
    background-color: var(--bg-green);
    color: var(--primary-blue);
    border: none;
    padding: 14px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
    text-decoration: none;
  }

  .checkout-button a:hover{
    background-color: var(--bg-green-hover);
  }

/* Checkout Detail */
.checkout-detail {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal-width columns */
    min-height: calc(100vh - 500px);
}

.checkout-info-column{
    display: flex;
    flex-direction: column;
    gap: 40px;
    background-color: #72A272;
    color: var(--white);
    justify-content: center;
    padding: 40px;
    border-radius: 6px 0 0 6px;
}

.checkout-info-item{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
}

.checkout-info-item span {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--white);
}

.checkout-card-column{
    display: flex;
    flex-direction: column;
    gap: 40px;
    background-color: var(--bg-gray);
    color: var(--white);
    justify-content: space-around;
    padding: 40px;
    border-radius: 0 6px 6px 0;
}

.checkout-card-group {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
}

.checkout-card-group h2 {
    margin: 0;
    padding: 0;
}

.checkout-success-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 20px;
    color: var(--primary-blue);
    font-weight: 700;
    min-height: calc(100vh - 500px);
}

.checkout-success{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.checkout-success h1{
    font-size: 2.5rem;
    color: var(--text-white);
    font-weight: 700;
    text-align: center;
}

.checkout-success-info {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .checkout-success-info {
        flex-direction: column;
    }
}

.checkout-success-info a{
    background-color: var(--soft-yellow);
    color: var(--primary-blue);
    border: none;
    padding: 14px 18px;
    border-radius: 6px;
    width: auto;
    min-width: 150px;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
    text-decoration: none;
    text-align: center;
}

.checkout-success-info a:hover{
    background-color: var(--soft-yellow-hover);
}

@media (max-width: 768px) {
    .checkout-detail {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .checkout-card-column{
        border-radius: 6px;
    }
    .checkout-info-column{
        border-radius: 6px;
    }
}


 /* Responsive Table Styling */
.responsive-table-container {
    overflow-x: auto; /* Enables horizontal scrolling for the table on small screens */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.data-table {
    width: 100%;
    border-collapse: collapse; /* Collapse table borders */
    min-width: 600px; /* Minimum width to prevent excessive squishing on very small screens */
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.data-table tbody tr {
    cursor: pointer;
    color: var(--text-white);
    background-color: var(--bg-black);
}

.data-table th:first-child {
width: 10px;
}

.data-table th:nth-child(2){
    width: auto;
}

.data-table th:nth-child(3){
    width: auto;
}

.data-table th:nth-last-child(2){
    width: auto;
    min-width: auto;
}

.data-table th:last-child{
    width: 150px;
    min-width: 150px;
}

.data-table thead th {
    background-color: var(--bg-black); /* Dark header color */
    color: var(--text-white);
    font-weight: 500;
    font-size: 1.1rem;
}

/* .data-table tbody tr:hover {
    background-color: #f5f5f5;
} */


.data-table tbody tr:last-child td {
    border-bottom: none; /* No border on the last row */
}

.data-table thead tr th:last-child {
    text-align: left;
}

.data-table img.table-image{
    max-width:180px;
    width: auto;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.data-table tfoot{
    background-color: var(--bg-black);
    color: var(--text-white);
}

/* Action Buttons in Table */
.action-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;  /* Vertically center the buttons */
    gap: 8px;
    height: 100%;  /* Make sure the container takes full height */
}

.action-buttons form {
    margin: 0;  /* Remove any default form margins */
    display: flex;  /* Make form a flex container */
    align-items: center;  /* Vertically center the button inside form */
    height: 100%;  /* Make form take full height of parent */
}

.action-btn {
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out;
    display: flex;  /* Add flex to center the icon */
    align-items: center;  /* Center icon vertically */
    justify-content: center;  /* Center icon horizontally */
    height: 36px;  /* Fixed height for all buttons */
    width: 36px;  /* Fixed width for square buttons */
}

.edit-btn {
    background-color: var(--soft-yellow);
    color: var(--white);
}

.edit-btn:hover {
    background-color: var(--soft-yellow-hover);
}

.delete-btn {
    background-color: var(--soft-red); /* Red for delete */
    color: var(--white);
}

.delete-btn:hover {
    background-color: var(--soft-red-hover);
}

.action-btn-rounded{
    cursor: pointer;
    border: none;
    border-radius: 50%;
    display: flex;  /* Add flex to center the icon */
    align-items: center;  /* Center icon vertically */
    justify-content: center;  /* Center icon horizontally */
    height: 36px;  /* Fixed height for all buttons */
    width: 36px;  /* Fixed width for square buttons */
}

.increment-btn{
    border-radius: 6px 0 0 6px;
    background-color: var(--white);
}

.decrement-btn{
    border-radius: 0 6px 6px 0;
    background-color: var(--white);
}

.quantity-input-container {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.quantity-input-item {
    flex: 1;
    min-width: 0; /* Prevents flex items from overflowing */
}

.quantity-input{
    width: 36px;
    height: 36px;
    text-align: center;
    border: 1px solid #ced4da;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.cart-total-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    gap: 20px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 250px;
}

/* For WebKit-based browsers (Chrome, Safari, Edge) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0; /* Important: Removes the default margin that can still show a small space */
}

/* For Mozilla Firefox */
/* input[type="number"] {
  -moz-appearance: textfield;
} */

/* General appearance property for broader compatibility (though vendor prefixes are often still needed) */
input[type="number"] {
  appearance: textfield;
}

/* modal */
/* The Modal (background) */
/* All CSS from the previous example goes here */

/* Just to make the buttons look nice */
.openModalBtn {
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 16px;
    cursor: pointer;
}

/* Rest of the CSS for .modal, .modal-content, .close, etc. */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal-content {
    color: var(--primary-blue);
    margin: 15% auto;
    width: 80%;
    position: relative;
    border-radius: 8px;
    background: gray;
    padding: 2px;
}

.modal-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #888;
    background-color: var(--text-white);
    color: var(--text-black);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border: 1px solid var(--text-white);
}

.modal-item{
    background-color: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #dfdfdf;
}

.modal-item:last-child{
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom: 1px solid var(--white);
}

.modal-item img {
    max-width: 100px;
    height: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.no-orders{
    text-align: center;
    padding: 20px;
}

i.active{
    color: var(--soft-green);
}

i.inactive{
    color: var(--soft-red);
}

  /* --- Responsive Adjustments --- */
  @media (max-width: 1024px) {

    .products-main{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .product-detail-container , .product-detail {
      grid-template-columns: 1fr; /* Stack columns on tablets and smaller devices */
      gap: 20px;
    }

    .product-details-column {
      /* Optional: Add some padding to the details section when stacked */
      padding-top: 20px;
    }

    .product-list, .product-list.grid {
      grid-template-columns: repeat(2, 1fr); /* Adjust for smaller screens */
    }

    .category-list {
      grid-template-columns: repeat(2, 1fr); /* Adjust for smaller screens */
    }

  }

  @media (max-width: 768px) {
    /* .menu-items {
        margin-top: 10px;
    } */
    .footer-content {
        grid-template-columns: 1fr;
    }
    .product-list, .product-list.grid {
      grid-template-columns: repeat(1, 1fr); /* Adjust for smaller screens */
    }
    .category-list {
      grid-template-columns: repeat(1, 1fr); /* Adjust for smaller screens */
    }

    .products-list.grid {
        grid-template-columns: repeat(1, 1fr);
    }
  }

  @media (max-width: 576px) {
    .product-name {
      font-size: 1.8rem;
    }

    .product-price {
      font-size: 1.5rem;
    }

    .add-to-cart-btn {
      padding: 12px 20px;
      font-size: 1rem;
    }
  }

/* Proudct Detail */



