.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.box.box-filter {
    width: 300px;
    flex-shrink: 0;
}

.search-form {
    display: flex;
    width: 100%;
    gap: 10px;
    box-sizing: border-box;
}



.search-bar button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.products-content {
    flex-grow: 1;
}

.products-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 items per row */
    gap: 20px;
}
@media (max-width: 768px) {
    .products-list {
        grid-template-columns: repeat(2, 1fr); /* 2 items per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .products-list {
        grid-template-columns: 1fr; /* 1 item per row on very small screens */
    }
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Card Title */
.product-card .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    min-height: 40px;
}

/* Card Description */
.product-card .description {
    flex: 1;
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    min-height: 60px;
}

/* Card Price */
.product-card .price {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Book Button */
.product-card .button {
    align-self: stretch;
    text-align: center;
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}

.product-card .button:hover {
    background-color: #0056b3;
}

.product-card .product-image {
    width: 300px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
    display: block;
}

.price-range {
    margin: 0 !important;
}



/* Modal Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 20px;
    margin-bottom: 20px;
}

.modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

/* Filter Modal */
.filter-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.filter-modal.show {
    right: 0;
}

.filter-modal-content {
    margin-top: 100px;
    padding: 20px;
    position: relative;
}

.filter-group {
    position: relative;
    /* z-index: 99999999999; */
    margin-top: 15px;
}

.filter-label {
    display: block;
    margin-bottom: 5px;
    color: #6c757d;
    font-weight: bold;
}

.filter-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.price-range-container {
    display: flex;
    align-items: center;
}

.price-range {
    flex: 1;
}

.price-range-separator {
    margin: 0 10px;
    font-weight: bold;
}

/* Filter Icon */
.filter-icon {
    background: #00674f;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    transition: 0.3s ease-in-out;
}

.rotating{
    animation: spin-animation 0.5s ease-in-out forwards;
}

@keyframes spin-animation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(359deg);
    }
  }

.filter-icon:hover {
    background: #004d3b;
}

/* Filter Actions */
.filter-actions {
    text-align: center;
}

.filter-tag{
    cursor: pointer;
}

.filter-section{
    margin-bottom: 20px;
}

/* Dashboard vendor */
.products-content-dashboard {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.products-list-dashboard {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    /* justify-content: space-between; */
}

.product-card-dashboard {
    flex: 1 1 30%;
    max-width: 25%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    text-align: center;
}

.product-image-dashboard {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.my-booking-items-container {
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

.my-booking-items-icon {
    font-size: 1.5rem;
    color: #00674f;
    text-decoration: none;
    position: relative;
}

.my-booking-items-icon .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff0000;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    display: inline-block;
    line-height: 1;
    z-index: 1;
}

.my-booking-items-icon:hover {
    color: #004d3b;
}

/* Booking Item page */
.bookingItems {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.button {
    background-color: #00674f;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #004d3b;
}

.item-details-header{
    display: flex;
    justify-content: space-between;
}

.cart-container {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.item-image {
    flex: 0 0 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 5px;
    margin-right: 15px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 
.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ccc;
    color: #666;
    font-size: 12px;
    text-align: center;
    border-radius: 5px;
} */

.item-details {
    flex-grow: 1;
}

.item-details h4 {
    margin: 0 0 10px;
    color: #00674f;
}

.item-details p {
    margin: 5px 0;
    color: #666;
}

.item-actions {
    display: flex;
    gap: 10px;
}

.status-booked, .status-done {
    color: #00674f;
    font-weight: bold;
    background-color: transparent;
}
.status-pending, .status-request-to-cancel {
    color: #f39c12;
    font-weight: bold;
    background-color: transparent;
}
.status-canceled, .status-rejected {
    color: #b10000;
    font-weight: bold;
    background-color: transparent;
}

.empty-message {
    text-align: center;
    font-size: 16px;
    color: #999;
}