.types-of-pet-ct-container {
  display: flex;
  flex-direction: column;
}

.types-of-pet-ct-container > .title {
  margin-bottom: 0;
  margin-top: 3.5rem;
}

.types-of-pet-ct {
  display: flex;
  width: 110%;
  /* border: 1px solid green; */ /* Uncomment for debugging */
  overflow-x: auto; /* Allow horizontal scrolling */
  gap: 1rem; /* Space between cards */
  /* Padding around the container */
  scroll-behavior: smooth; /* Smooth scrolling behavior */
  align-self: center;
  padding: 1rem 0.9rem;
  padding-top: 0.2rem;
}

.types-of-pet-ct__cards {
  width: 10.636rem; /* Fixed width for each card */
  height: 10.636rem; /* Fixed height for each card */
  /* border: 1px solid red; */ /* Uncomment for debugging */
  flex-shrink: 0; /* Prevent cards from shrinking */
  padding: 1rem 1rem 0.5rem 1rem; /* Padding inside each card */
  display: flex; /* Flexbox for card content */
  flex-direction: column; /* Arrange content vertically */
  box-shadow: 0 4px 16px rgba(135, 135, 135, 0.3); /* Card shadow */
  border-radius: 0.318rem; /* Rounded corners */
  background-color: white; /* Background color for the cards */
  /* perspective: 100px;
  transition: transform 1s; */
  position: relative;
}
@media screen and (min-width: 768px) {
  .types-of-pet-ct__cards {
    width: 10.886rem;
    height: 10.886rem;
    flex-shrink: 0;
  }
}

/* .types-of-pet-ct__cards::before,
.types-of-pet-ct__cards::after {
  content: "";
  height: 100%;
  position: absolute;
  width: 15%;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(250, 250, 250, 1) 0%,
    rgba(250, 250, 250, 0) 100%
  );
} */

/* .types-of-pet-ct__cards::before {
  left: 0;
  top: 0;
}
.types-of-pet-ct__cards::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.types-of-pet-ct__cards:hover {
  transform: translateZ(20px);
  border: 1px solid red;
} */

.types-of-pet-ct__cards-title {
  font-size: var(--co-font-6); /* Font size for title */
  font-weight: 700; /* Bold font */
  color: var(--brandClr); /* Title color */
  /* height: 2rem;  */
  line-height: 0.7rem; /* Line height adjustment */
}
@media screen and (min-width: 768px) {
  .types-of-pet-ct__cards-title {
    font-size: var(--co-font-big-40);
    width: 9.24rem;
  }
}

.types-of-pet-ct__cards-price {
  font-size: var(--co-font-2); /* Font size for price */ /* Medium bold font */
}

.types-of-pet-ct__cards-price > span {
  font-weight: 800;
}

.types-of-pet-ct__cards > hr {
  border: 0.045rem solid rgba(245, 209, 223, 1); /* Horizontal line styling */
  width: 7.727rem; /* Width of the line */
  margin-top: 0.3rem;
  margin-bottom: 0.1rem; /* Space below the line */
}
@media screen and (min-width: 768px) {
  .types-of-pet-ct__cards > hr {
    width: 7.886rem;
  }
}

.types-of-pet-ct__cards-image {
  position: absolute;
  height: 4.78rem; /* Fixed height for image */
  width: 7.59rem; /* Fixed width for image */
  align-self: flex-end; /* Align image to the end of the card */
  overflow: hidden; /* Hide overflow for image */
  border-radius: 0.2rem; /* Optional rounded corners for the image */
  right: 0;
  bottom: 2rem;
  display: flex;
  justify-content: flex-end;
}

.types-of-pet-ct__cards-image > img {
  object-fit: contain;

  margin-left: auto;
}

::-webkit-scrollbar {
  display: initial;
  max-width: 0.127rem;
  display: none;
}

/* Track */
.types-of-pet-ct::-webkit-scrollbar-track {
  background: rgba(128, 42, 143, 0.4);
  border-radius: 3px;
  margin: 0 !important;
}

/* Handle */
.types-of-pet-ct::-webkit-scrollbar-thumb {
  background: var(--brandclr);
  border-radius: 5px;
  height: 20px !important;
}

/* Handle on hover */
.types-of-pet-ct::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.types-of-pet-ct::-webkit-scrollbar-button {
  display: none;
}

.types-of-pet-ct__book-now-btn {
  height: 1.045rem;
  width: 3.636rem;
  border-radius: 1.363rem;
  border: 0.09rem solid rgba(245, 209, 223, 1);
  background-color: rgba(212, 127, 161, 1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--co-font-1);
  font-weight: 600;
  margin-top: auto;
  /* margin-bottom: var(--co-font-1); */
}

.types-of-pet-ct__book-now-btn > img {
  font-size: ;
  height: 0.21rem;
  width: 0.21rem;
  margin-left: 0.15rem;
}
@media screen AND (max-width: 768px) {
  .types-of-pet-ct__book-now-btn > img {
    height: 0.301rem;
    width: 0.301rem;
  }
}
