/* Main CSS for Ceerex */
                                       
            /* Mobile-first horizontal scrolling */
            .filtr-item .row {
                display: flex;
                flex-wrap: nowrap;
                overflow-x: auto;
                scroll-snap-type: x proximity;
                padding-bottom: 15px;
                /* Space for scrollbar */
                margin-right: -15px;
                margin-left: -15px;
            }

            .filtr-item .row::-webkit-scrollbar {
                height: 4px;
            }

            .filtr-item .row::-webkit-scrollbar-thumb {
                background: #ccc;
                border-radius: 4px;
            }

            .filtr-item .row>[class*="col-"] {
                flex: 0 0 80%;
                scroll-snap-align: start;
                padding-right: 10px;
                padding-left: 10px;
            }

            /* Tablet and desktop grid layout */
            @media (min-width: 768px) {
                .filtr-item .row {
                    flex-wrap: wrap;
                    overflow-x: visible;
                    margin-right: 0;
                    margin-left: 0;
                }

                .filtr-item .row>[class*="col-"] {
                    flex: 0 0 auto;
                    width: 50%;
                    /* 2 columns */
                    padding-right: 15px;
                    padding-left: 15px;
                }
            }

            @media (min-width: 992px) {
                .filtr-item .row>[class*="col-"] {
                    width: 33.333%;
                    /* 3 columns */
                }
            }

            @media (min-width: 1200px) {
                .filtr-item .row>[class*="col-"] {
                    width: 25%;
                    /* 4 columns */
                }
            }
    

/* CSS for cart Sidebar*/
/* Toggle Button */
.cart-toggle-btn {
  position: fixed;
  right: 20px;
  top: 45%;
  z-index: 10000;
  background: #196c06;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}
.cart-toggle-btn:hover {
  background: #145205;
}
.cart-toggle-btn {
  transition: opacity 0.3s ease;
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 360px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: right 0.4s ease;
  padding: 20px;
  overflow-y: auto;
  border-left: 2px solid #eee;
}
.cart-sidebar.open {
  right: 0;
}

/* Cart Header */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
}
.cart-header h2 {
  margin: 0;
  font-size: 20px;
  color: #333;
}
.cart-header i {
  margin-right: 5px;
  color: #196c06;
}
.close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
}
.close-btn:hover {
  color: #333;
}

/* Cart Content */
.cart-content {
  margin-top: 20px;
}
.cart-items {
  min-height: 120px;
  margin-bottom: 20px;
}
.empty-cart {
  text-align: center;
  color: #666;
  font-style: italic;
}

/* Cart Footer */
.cart-footer {
  border-top: 1px solid #ddd;
  padding-top: 15px;
}
.cart-total {
  font-size: 18px;
  margin-bottom: 10px;
}
.whatsapp-btn {
  background: #25d366;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}
.whatsapp-btn:hover {
  background: #1da851;
}

   




/*WHATSAPP STYLE*/
#checkout {
  background: #25D366;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

#checkout:hover {
  background: #128C7E;
}

.fab.fa-whatsapp {
  font-size: 1.2em;
}


/* Quantity Controls */
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 10px 0;
}

.quantity-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  background: #f8f8f8;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}

.quantity-controls button:hover {
  background: #eee;
}

.quantity-input {
  width: 50px;
  height: 30px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.add-to-cart {
  background: #196c06;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
  width: 100%;
}

.add-to-cart:hover {
  background: #145a03;
}

.cart-feedback {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #25D366;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  gap: 15px;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  animation: fadeInOut 2s ease-in-out;
  z-index: 1000;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0; transform: translate(-50%, 10px); }
  15%, 85% { opacity: 1; transform: translate(-50%, 0); }
}



/* CSS for the Cart Count Badge */
.cart-toggle-btn {
  position: fixed;
  right: 20px;
  top: 45%;
  z-index: 10000;
  background: #196c06;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.cart-toggle-btn:hover {
  background: #145205;
}

.cart-count-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 7px;
  border-radius: 50%;
  z-index: 10;
}

