 .search-container {
     padding: 20px;
     text-align: center;
 }

 .search-input {
     width: 50%;
     padding: 10px;
     font-size: 16px;
     border: 1px solid #ccc;
     border-radius: 4px;
     margin-right: 10px;
 }

 .drawer-button,
 .search-button {
     padding: 10px;
     margin: 8px;
     font-size: 16px;
     background-color: #004e7c;
     color: #fff;
     border: none;
     border-radius: 4px;
     cursor: pointer;
 }

 .card-container {
     place-content: space-around;
     display: flex;
     flex-wrap: wrap;
 }

 .product-card {
     background-color: #fff;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     margin: 20px;
     padding: 20px;
     width: 350px;
     border-radius: 8px;
     transition: transform 0.3s ease-in-out;
     display: flex;
     flex-direction: column;
 }

 .product-card:hover {
     transform: scale(1.05);
 }

 .image-container img {
     width: 100%;
     height: auto;
 }

 .product-image {
     width: 100%;
     height: auto;
     border-radius: 4px;
     margin-bottom: 10px;
 }

 .product-title {
     font-size: 18px;
     font-weight: bold;
     margin-bottom: 8px;
     margin-left: 0px;
 }

 .product-description {
     font-size: 14px;
     color: #555;
     margin-bottom: 8px;
     margin-left: 0px;
 }

 .product-condition {
     font-size: 16px;
     font-weight: bold;
     color: #004e7c;
     margin-bottom: 8px;
     margin-left: 0px;
 }

 .drawer {
     width: 300px;
     height: 100%;
     background-color: #eee;
     position: fixed;
     top: 0;
     right: -300px;
     transition: right 0.3s ease-in-out;
     overflow-y: auto;
     box-shadow: -7px 1px 12px 6px rgba(0, 0, 0, 0.17);
     -webkit-box-shadow: -7px 1px 12px 6px rgba(0, 0, 0, 0.17);
     -moz-box-shadow: -7px 1px 12px 6px rgba(0, 0, 0, 0.17);
 }

 .products-loading-spinner {
     display: flex;
     justify-content: center;
     align-items: center;
     height: 100vh;
 }

 .product-loader {
     border: 6px solid #f3f3f3;
     border-top: 6px solid #4f9e25;
     border-radius: 50%;
     width: 40px;
     height: 40px;
     animation: spin 1s linear infinite;
 }

 @keyframes spin {
     0% {
         transform: rotate(0deg);
     }

     100% {
         transform: rotate(360deg);
     }
 }

 .cart-list {
     list-style: none;
     padding: 0;
 }

 .cart-item {
     margin-bottom: 10px;
 }

 .modal {
     position: fixed;
     z-index: 999;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     overflow: auto;
     background-color: rgba(0, 0, 0, 0.4);
 }

 .modal-content {
     background-color: #fff;
     margin: 10% auto;
     padding: 20px;
     border: 1px solid #ddd;
     width: 80%;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     border-radius: 8px;
 }

 /* ... (existing CSS code) ...
          */
 .attributes-container {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     /* Create a 3-column grid */
     gap: 15px;
     /* Add some gap between columns
          */
 }

 .attribute {
     display: flex;
     flex-direction: row;
     align-items: left;
     margin-bottom: 15px;
     margin-left: 18px;
 }

 .label {
     font-weight: bold;
     color: #555;
     margin-right: 10px;
     /* Add some space between label and value */
 }

 .value {
     color: #333;
 }

 .image-container {
     width: 100%;
     height: 170px;
     overflow: hidden;
     border-radius: 8px;
     margin-bottom: 15px;
 }

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

 .product-title {
     font-size: 24px;
     font-weight: bold;
     margin-bottom: 10px;
 }

 .product-button {
     display: block;
     width: 100%;
     padding: 12px;
     font-size: 18px;
     background-color: #004e7c;
     color: #fff;
     border: none;
     border-radius: 4px;
     cursor: pointer;
     text-align: center;
     margin-top: auto;
 }

 .button-container {
     align-items: center;
     display: flex;
     margin-right: 0;
     gap: 8px;
 }

 .modal-header {
     display: flex;
     flex-direction: row;
     margin-bottom: 24px;
     align-items: center;
 }

 .modal-title {
     margin-left: 0;
     margin-bottom: 0;
     font-size: 24px;
 }


 .modal-product-button,
 .close-product-button {
     padding: 14px;
     font-size: 14px;
     line-height: 11px;
     color: #FFFFFF;
     border-style: none;
     border-radius: 4px 4px 4px 4px;
     box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.5);
     cursor: pointer;
 }
 .modal-product-button:hover,
 .close-product-button:hover {
     box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.5);
 }

 .modal-product-button,
 .close-product-button {
     border-color: #4f9f34;
     background-color: #4f9f34;
 }

 .close-product-button {
     border-color: #cf2e2e;
     background-color: #cf2e2e;
 }

 /* Add this CSS to your existing styles */
 .gallery-title {
     font-size: 20px;
 }

 .image-viewer {
     overflow: hidden;
     margin-top: 20px;
 }

 .image-slider {
     display: flex;
     transition: transform 0.5s ease-in-out;
     overflow-x: auto;
     margin: 20px 0px;
 }

 .image-item {
     flex: 0 0 auto;
     margin-right: 20px;
 }

 .image-item img {
     max-width: 100%;
     height: auto;
     max-height: 300px;
     /* Adjust the max height as needed */
     border-radius: 8px;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
 }

 /* Apply the animation to the slider */
 .image-slider {
     animation: slide 10s infinite alternate;
 }

 /* Pagination Styles */
 .pagination-container {
     margin-top: 20px;
 }

 .pagination {
     list-style: none;
     display: flex;
     justify-content: center;
     padding: 0;
 }

 .pagination-item {
     cursor: pointer;
     margin: 0 5px;
     padding: 8px 12px;
     border: 1px solid #ddd;
     border-radius: 4px;
     background-color: #fff;
     color: #333;
     transition: background-color 0.3s ease;
 }

 .pagination-item:hover {
     background-color: #f0f0f0;
 }

 .pagination-item.active {
     background-color: #4f9e25;
     color: #fff;
     border: 1px solid #4f9e25;
 }

 .pagination-item.disabled {
     pointer-events: none;
     opacity: 0.5;
     cursor: not-allowed;
 }

 @media only screen and (max-width: 750px) {

     .attributes-container {
         grid-template-columns: unset;
     }
 }