
.col-md-4 {
    padding-left: 0;
    padding-right: 0;
}

small, .small {
    font-size: 74%;
    font-weight: 400;
}
/* Add to cart button styles from home.css */
.responsive-buy-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: transparent;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.responsive-buy-btn:focus {
  outline: none;
  box-shadow: none;
}

.responsive-buy-btn:hover:not(:disabled) {
  color: #2563eb;
  transform: scale(1.1);
}

.responsive-buy-btn:disabled {
  color: #6b7280;
  opacity: 0.5;
  cursor: not-allowed;
}

/* In cart state */
.responsive-buy-btn.in-cart {
  color: #10b981 !important;
  background: transparent !important;
  text-decoration: none !important;
}

.responsive-buy-btn.in-cart:hover {
  color: #0d9488 !important;
  background: transparent !important;
  text-decoration: none !important;
}

/* Icon styling */
.responsive-buy-btn i {
  font-size: 20px;
}

/* Adding animation */
@keyframes addToCartPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.responsive-buy-btn.adding {
  animation: addToCartPulse 0.6s ease;
  pointer-events: none;
}

/* Ripple effect on click */
.responsive-buy-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.responsive-buy-btn.adding::before {
  width: 100px;
  height: 100px;
  opacity: 0;
}
    input:checked ~ label, label:hover ~ label {
    color: #007bff;
    }

.mobile-filter-btn {
  font-weight: 600;
  background-color: #007bff;
  color: white;
  border: none;
  left: 0;
  top: 50%;
  cursor: pointer;
  border-radius: unset;
}
.form-select {
  padding: 10px;
  border: 1px solid #ccc;
}

#mobile-sort-select {
  font-size: 14px;
    padding: 8.5px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.mobile-filter-panel {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1040;
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
}

.mobile-filter-panel.active {
    left: 0;
}
.mobile-filter-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background-color: #fff;
}

.mobile-filter-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1030;
    display: none;
}

.mobile-filter-backdrop.active {
    display: block;
}
.mt-2, .ml-2 {
    position: relative;
    z-index: 999;
}
@media (min-width: 768px) {  /* md breakpoint */
  .d-md-none {
    display: none !important;
  }
  .d-md-block {
    display: block !important;
  }

}

@media (max-width: 768px) {


    input:checked ~ label, label:hover ~ label {
    font-weight: bold;
}
.form-check-input:disabled ~ .form-check-label {
    color: lightgray;
}
    input[type=radio], input[type=checkbox] {
        display: none;
        box-sizing: border-box;
        padding: 0;
    }
    #price-slider {
        width: 90%;
        margin: 0 auto;
    }

  .form-check-label {
    margin-left: 6px;
    font-size: 16px;
  }

  .form-check {
    margin-bottom: 10px;
  }

  .form-check-input {
    transform: scale(1.5);
    margin-right: 12px;
  }

  .card .card-body {
    padding: 1rem;
  }

  .filter-group .card-header h6 {
    font-size: 18px; !important;
  }

  .filter-group .card-header i {
    font-size: 16px; !important;
  }
}
@media (hover: none) {
    .page-link {
        border: none !important;
}
    .page-link:hover {
        border: none !important;
        background-color: transparent !important;
        color: inherit !important;
}

  .btn-primary {
    background-color: #007bff;
    color: white;
  }
}
