body {
  background: #f5f5f5 !important;
}

.warning-cardio-t {
  text-align: right;
  padding-right: 140px;
  /* place-items: ; */
  color: #e93d3b;
  font-size: 14px;
  font-weight: 600;
  padding-top: 12px;
}
.cardiocare-pagecontact-header {
  background: #0194ce;
  background-size: cover;
  background-position: center;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 80px;
}

.cardiocare-pagecontact-header-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0rem;
  /* margin-top: 50px; */
  color: white;
  /* text-shadow: 2px 2px 4px rgba(0,0,0,0.5); */
}

.cardiocare-pagecontact-header-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  margin-top: 40px;
}

.product-card {
  background: #f5f5f5;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: none !important;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 0.1px solid rgba(0, 0, 0, 0.352);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.product-image {
  width: 100%;
  height: 250px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #666;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3); */
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-image::before {
  opacity: 0.2;
}

/* Slideshow styles for multiple images */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: white;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: #666;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  display: flex;
  opacity: 1;
}

.slide-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(94, 93, 93, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: rgba(53, 53, 53, 0.9);
  transform: scale(1.2);
}

.product-info {
  padding: 25px;
  text-align: center;
}

.product-name {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.product-series {
  font-size: 1rem;
  color: #666;
  font-weight: 300;
}

/* Modal Styles */
.modal {
  justify-content: center;
  align-items: center;

  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
  background: white;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.8);
  transition: transform 0.3s ease;
  background: white;
}

.modal.show .modal-content {
  transform: scale(1);
  background: white;
  border: none;
}

.modal-image {
  width: 100%;
  height: 100%;
  /* max-width: 80vw;
            max-height: 80vh; */
  object-fit: contain;
  border-radius: 10px;
  cursor: zoom-in;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10rem;
  color: #666;
  /* background: linear-gradient(45deg, #f0f0f0, #e0e0e0); */
  min-height: 400px;
  background-color: white;
  /* background: white; */
}

.modal-image.zoomed img {
  cursor: zoom-out;
  transform: scale(2);
  /* background: white; */
  background-color: white;
}

.modal-image img {
  width: 100%;
  background-color: white;
}

.slideshow-container img {
  width: 100%;
  background-color: white;
}

.close-btn {
  position: absolute;
  top: 40px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: red;
  font-size: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.zoom-info {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 14px;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  h1 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .product-image {
    height: 200px;
  }

  .modal-image.zoomed {
    transform: scale(1.5);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .container {
    padding: 0 10px;
  }

  .product-info {
    padding: 20px;
  }
}

/* ///////////////////////////////////////////////////////// */

.cardiocare-produc-catlistimg-container {
  display: flex;
  /* max-width: 1200px; */
  margin: 0 auto;
  background: rgb(255, 255, 255);
  border-radius: 20px;
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.cardiocare-produc-catlistimg-left {
  flex: 1;
  padding: 40px 30px;
  background: #f5f5f5;
}

.cardiocare-produc-catlistimg-right {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  height: 650px;
  background: #f5f5f5;
  padding-top: 70px;
  overflow-y: scroll;
}

.cardiocare-produc-catlistimg-title {
  font-size: 34px;
  color: #e93d3b;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  background: #0194ce;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cardiocare-produc-catlistimg-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cardiocare-produc-catlistimg-item {
  margin-bottom: 5px;
  transform: translateX(-10px);
  opacity: 0;
  animation: slideInLeft 0.6s ease forwards;
  position: relative;
}

.cardiocare-produc-catlistimg-item:nth-child(1) {
  animation-delay: 0.1s;
}

.cardiocare-produc-catlistimg-item:nth-child(2) {
  animation-delay: 0.2s;
}

.cardiocare-produc-catlistimg-item:nth-child(3) {
  animation-delay: 0.3s;
}

.cardiocare-produc-catlistimg-item:nth-child(4) {
  animation-delay: 0.4s;
}

.cardiocare-produc-catlistimg-item:nth-child(5) {
  animation-delay: 0.5s;
}

.cardiocare-produc-catlistimg-item:nth-child(6) {
  animation-delay: 0.6s;
}

.cardiocare-produc-catlistimg-item:nth-child(7) {
  animation-delay: 0.7s;
}

.cardiocare-produc-catlistimg-item:nth-child(8) {
  animation-delay: 0.8s;
}

.cardiocare-produc-catlistimg-item:nth-child(9) {
  animation-delay: 0.9s;
}

.cardiocare-produc-catlistimg-item:nth-child(10) {
  animation-delay: 1s;
}

.cardiocare-produc-catlistimg-item:nth-child(11) {
  animation-delay: 1.1s;
}

.cardiocare-produc-catlistimg-link {
  display: block;
  padding: 2px 4px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  color: #e93d3b;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.cardiocare-produc-catlistimg-link-active {
  display: block;
  padding: 2px 4px;
  background: #0194ce;
  border: 2px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cardiocare-produc-catlistimg-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.cardiocare-produc-catlistimg-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(112, 112, 112, 0.3);
  background: #0194ce;
  color: white;
  text-decoration: none;
}

.cardiocare-produc-catlistimg-link:hover::before {
  left: 100%;
}

@keyframes slideInLeft {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Subcategory styles */
.subcategory-item {
  margin-left: 20px;
  /* margin-bottom: 3px; */
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  text-transform: capitalize;
  /* margin-top: 10px; */
}

.subcategory-item.show {
  opacity: 1;
  max-height: 50px;
  text-transform: capitalize;
}

.subcategory-link {
  display: block;
  padding: 2px 4px;
  background: transparent;
  border: 2px solid transparent;
  /* border-radius: 8px; */
  text-transform: capitalize !important;

  text-decoration: none;
  color: #e93d3b;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  border-left: 3px solid #0194ce;
  padding-left: 12px;
}

.subcategory-link:hover {
  /* transform: translateY(-3px); */
  box-shadow: 0 10px 25px rgba(112, 112, 112, 0.3);
  background: #0194ce;
  color: white;
  text-decoration: none;
  border-radius: 8px;
}

/* Arrow indicator for expandable items */
.expandable::after {
  content: "▼";
  float: right;
  font-size: 12px;
  transition: transform 0.3s ease;
  color: #e93d3b;
}

.expandable.expanded::after {
  transform: rotate(180deg);
}

.cardiocare-produc-catlistimg-link:hover::before {
  left: 100%;
}

.cardiocare-produc-catlistimg-image {
  flex: 1 1 calc(50% - 10px);
  margin: 5px;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(45deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transform: scale(0.8);
  animation: zoomIn 0.6s ease forwards;
}

.cardiocare-produc-catlistimg-image:nth-child(1) {
  animation-delay: 0.2s;
}

.cardiocare-produc-catlistimg-image:nth-child(2) {
  animation-delay: 0.4s;
}

.cardiocare-produc-catlistimg-image:nth-child(3) {
  animation-delay: 0.6s;
}

.cardiocare-produc-catlistimg-image:nth-child(4) {
  animation-delay: 0.8s;
}

.cardiocare-produc-catlistimg-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.cardiocare-produc-catlistimg-image:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.cardiocare-produc-catlistimg-image:hover::before {
  background: rgba(0, 0, 0, 0.1);
}

.cardiocare-produc-catlistimg-image:nth-child(1) {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}

.cardiocare-produc-catlistimg-image:nth-child(2) {
  background: linear-gradient(45deg, #4ecdc4, #44a08d);
}

.cardiocare-produc-catlistimg-image:nth-child(3) {
  background: linear-gradient(45deg, #45b7d1, #96c93d);
}

.cardiocare-produc-catlistimg-image:nth-child(4) {
  background: linear-gradient(45deg, #f093fb, #f5576c);
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .cardiocare-produc-catlistimg-container {
    flex-direction: column;
    margin: 10px;
  }

  .cardiocare-produc-catlistimg-left,
  .cardiocare-produc-catlistimg-right {
    flex: none;
  }

  .cardiocare-produc-catlistimg-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .cardiocare-produc-catlistimg-image {
    flex: 1 1 calc(50% - 10px);
    height: 150px;
  }
  .cardiocare-produc-catlistimg-left {
    display: none;
  }
  .warning-cardio-t {
    text-align: center;
    width: 100%;
    color: #e93d3b;
    font-size: 14px;
    font-weight: 600;
    padding-top: 12px;
    padding: 60px;
  }
  .cariocare-categ-button-a {
    display: none;
  }
}

/* //////////////////////////////////////////////////////////////////////////////////////// */

.cariocare-categ-button-a {
  background: #e93d3b;
  color: white;
  border: none;
  padding: 6px 15px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
  text-decoration: none;
}

.cariocare-categ-button-a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(236, 109, 105, 0.3);
  text-decoration: none;
  color: white;
}

/* ////////////////////////////////////////////////////////////////////////////////////////////// */

.home-page-product {
  text-transform: capitalize;
  font-size: 20px;
  font-weight: 600;
  color: black !important;
}

.italic-values-cardioabout {
  font-style: italic;
}
/* //////////////////////////////////////////////////////////////////////////////////////// */

.cariocare-categ-button-a {
  background: #e93d3b;
  color: white;
  border: none;
  padding: 6px 15px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
  text-decoration: none;
}

.cariocare-categ-button-a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(236, 109, 105, 0.3);
  text-decoration: none;
  color: white;
}

/* ////////////////////////////////////////////////////////////////////////////////////////////// */

.home-page-product {
  text-transform: capitalize;
  font-size: 20px;
  font-weight: 600;
}

.italic-values-cardioabout {
  font-style: italic;
}

/* ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */
.product-card-forcebs {
  position: relative;
  padding: 40px;
  display: flex;
  justify-content: center;
  place-items: center;
  align-items: center;
  height: 200px;
  color: #e93d3b;
  transition: color 0.6s ease;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* Create a pseudo-element for the background effect */
.product-card-forcebs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: #0194ce;
  z-index: 0;
  transition: width 0.6s ease;
}

/* Hover effect triggers left-to-right fill */
.product-card-forcebs:hover::before {
  width: 100%;
}

/* Ensure text stays above the pseudo-element */
.product-card-forcebs * {
  position: relative;
  z-index: 1;
}

.product-card-forcebs:hover {
  color: white;
}

.product-name-forcebs {
  font-weight: 600;
  font-size: 24px;
}

.product-grid a {
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .cariocare-categ-button-a {
    display: none !important;
  }
}
