/* Mumbai Pages Specific Styles */

.banner-area-mumbai {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 300px;
}

/* Section Spacing */
.ts-team {
  padding-top: 60px;
  padding-bottom: 40px;
}

/* Image Standardization */
.img-responsive-mumbai {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.img-responsive-mumbai:hover {
  transform: translateY(-5px);
}

/* Breed Grid Specifics Matching Global Pattern */
.team-img-wrapper img {
  width: 100%;
  object-fit: cover;
}

/* Responsiveness Tweaks */
@media (max-width: 991px) {
  .team-img-wrapper img {
    height: auto;
  }
}

@media (max-width: 768px) {
  .banner-area-mumbai {
    min-height: 200px;
  }

  .banner-heading h1 {
    font-size: 24px !important;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .banner-area-mumbai {
    padding: 40px 0;
  }
}

/* Breed Page Standardization */
.tableStyle {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.tableStyle th,
.tableStyle td {
  padding: 12px 15px;
  border: 1px solid #eee;
}

.tableStyle th {
  background-color: #552a5b; /* Matching the purple theme from India pages if applicable, or fallback */
  color: #ffffff;
  text-align: left;
}

.imageMargin {
  margin-top: 20px;
}

.img-table {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 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;
}

.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; /* Pushes the table info to the bottom of the card if content varies */
}

.grid-table > div {
  padding: 2px 0;
}

.grid-table strong {
  color: #552a5b;
}

.btn-contact {
  display: inline-block;
  background: #f6941e;
  color: #fff !important;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-contact:hover {
  background: #e58514;
}

.no-border {
  border: none !important;
}

/* 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;
}

.selection-info {
  font-size: 14px;
  color: #666;
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  border: 1px dashed #ccc;
}

.selection-info p {
  margin: 5px 0;
}

.scroll-container {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 5px;
}

.filter-link {
  color: #555;
  text-decoration: none;
  display: block;
  padding: 5px 0;
  border-bottom: 1px solid transparent;
}

.filter-link:hover {
  color: #8e44ad;
  text-decoration: underline;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
  .sidebar-filter {
    margin-top: 20px;
  }
  .col-lg-3 {
    order: 1; /* Stack on top if needed, but default is top in Bootstrap 3 anyway if listed first */
  }
}

.btn-reset {
  margin-top: 10px;
  border-radius: 20px;
  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;
}

/* Scrollbar Customization */
.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: 15px;
  border-color: #dc3545;
  color: #dc3545;
}

.btn-reset:hover {
  background: #dc3545;
  color: #fff;
}

/* Fix Horizontal Overflow */
.row {
  margin-left: -15px;
  margin-right: -15px;
}

/* Fix visibility for missing video placeholders */
video {
  background: #000;
  border-radius: 8px;
}

/* Card Heading Fixes */
.box-style .heading {
  font-size: 15px;
  color: #fbf9fc !important;
  margin-bottom: 10px;
  font-weight: 600;
  background: #4f0469 !important;
  padding: 5px 0;
  text-align: center;
}
/* --- Mobile Mobile Filter Specific Styles --- */

.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; /* Hidden by default */
    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;
  }
}
/* --- End Mobile Filter Styles --- */
