/* Kolkata Pages Specific Styles */

/* Filter Sidebar Styles */
.sidebar-filter {
  padding: 25px;
  background: #fbf9ff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  margin-bottom: 40px;
  position: sticky;
  top: 150px;
  z-index: 100;
}

@media (max-width: 991px) {
  .sidebar-filter {
    position: static;
    top: 0;
    margin-bottom: 30px;
    padding: 20px;
  }
}

.sidebar-filter h4 {
  color: #4f0469;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #8e44ad;
  font-weight: 700;
}

.filter-group {
  margin-bottom: 25px;
}

.group-label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  font-size: 15px;
}

.custom-radio {
  margin-bottom: 8px;
  padding-left: 5px;
}

.custom-control-label {
  cursor: pointer;
  font-weight: normal;
  color: #555;
  transition: color 0.2s;
}

.custom-control-input:checked ~ .custom-control-label {
  color: #8e44ad;
  font-weight: 600;
}

.custom-control-input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.custom-control-label {
  position: relative;
  margin-bottom: 0;
  vertical-align: top;
  cursor: pointer;
  font-size: 15px;
  color: #555;
  transition: color 0.2s ease;
}

.custom-control-label::before {
  position: absolute;
  top: 0.15rem;
  left: -1.5rem;
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  pointer-events: none;
  content: "";
  background-color: #fff;
  border: #adb5bd solid 1px;
}

.custom-radio .custom-control-label::before {
  border-radius: 50%;
}

.custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: #f6941e;
  background-color: #f6941e;
}

.custom-control-label::after {
  position: absolute;
  top: 0.15rem;
  left: -1.5rem;
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  content: "";
  background: no-repeat 50% / 50% 50%;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.scroll-container {
  max-height: 250px;
  overflow-y: auto;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
}

.scroll-container::-webkit-scrollbar {
  width: 6px;
}
.scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.scroll-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}
.scroll-container::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}

.btn-reset {
  margin-top: 5px;
  background: #f2f2f2 !important;
  color: #dc3545 !important;
  border: none !important;
  padding: 10px !important;
  border-radius: 5px !important;
  font-weight: 600;
  width: 100%;
  text-shadow: none;
}

.btn-reset:hover {
  background: #dc3545 !important;
  color: #fff !important;
}
/* Fix Horizontal Overflow */
.row {
  margin-left: -15px;
  margin-right: -15px;
}

/* Dog Listings Styling */
#listingsRow {
  display: flex;
  flex-wrap: wrap;
}

.puppy-card {
  display: flex;
  margin-bottom: 30px;
}

.box-style {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #f5f4f5;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.box-style:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.image-style {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.box-style .heading {
  font-size: 15px;
  color: #fbf9fc !important;
  margin-bottom: 10px;
  font-weight: 600;
  background: #4f0469 !important;
  padding: 5px 0;
  text-align: center;
}

.grid-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
  font-size: 14px;
  color: #555;
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
  margin-top: auto;
}

.grid-table > div {
  padding: 2px 0;
}

.grid-table strong {
  color: #552a5b;
}

.btn-contact {
  display: inline-block;
  background: #4f0469;
  color: #fff !important;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-contact:hover {
  background: #fff;
}

/* Mobile Filter Options */
.mobile-filter-btn-container {
  padding: 15px 0;
  text-align: center;
  position: sticky;
  top: 70px;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.btn-filter-mobile {
  background: #8e44ad;
  color: #fff !important;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
  border: none;
  transition: all 0.3s ease;
}

.btn-filter-mobile:hover {
  background: #732d91;
  transform: scale(1.05);
}

.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.filter-overlay.active {
  display: block;
  opacity: 1;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.sidebar-header h4 {
  margin: 0;
  border: none !important;
}

.close-sidebar {
  background: none;
  border: none;
  font-size: 30px;
  color: #999;
  line-height: 1;
  padding: 0 10px;
}

@media (max-width: 991px) {
  .sidebar-filter {
    position: fixed !important;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 2001;
    margin: 0;
    border-radius: 0;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    padding: 20px;
  }

  .sidebar-filter.active {
    right: 0;
  }

  .sidebar-filter h4 {
    margin-top: 0;
  }
}

/* Kolkata Specific HTML Tweaks */
.faq-container {
  margin-bottom: 40px;
}

.puppies-for-sale-heading {
  font-size: 28px;
  text-align: center;
}
