.tabss {
  border: 1px solid black;
  padding: 10px;
  margin-top: 40px;
}

.tabs input[type="radio"] {
  display: none;
}
.tabs label {
  transition: background 0.4s ease-in-out, height 0.2s linear;
  display: inline-block;
  cursor: pointer;
  color: #521138;
  width: 25%;
  height: 3em;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  background: #fcfcfc;
  text-align: center;
  line-height: 3em;
}
.tabs label:last-of-type {
  border-bottom: none;
}
.tabs label:hover {
  background: #521138;
  color: #ffffff;
}
@media screen and (max-width: 1600px) {
  .tabs label {
    width: 25%;
  }
}
@media screen and (max-width: 900px) {
  .tabs label {
    width: 20%;
  }
}
@media screen and (max-width: 600px) {
  .tabs label {
    width: 100%;
    display: block;
    border-bottom: 2px solid #c7c6c4;
    border-radius: 0;
  }
}
@media screen and (max-width: 600px) {
  .tabs {
    margin: 0;
  }
}

#tab1:checked + label,
#tab2:checked + label,
#tab3:checked + label,
#tab4:checked + label {
  background: #521138;
  color: #ffffff;
}

.tab-content {
  position: absolute;
  top: -9999px;
  padding: 0px;
  margin-top: 20px;
}

.tab-content-wrapper {
  background: #fcfcfc;
  border-top: #521138 5px solid;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border-top-right-radius: 3px;
}
@media screen and (max-width: 600px) {
  .tab-content-wrapper,
  .tab1-content-wrapper {
    border: none;
    border-radius: 0;
  }
}

#tab1:checked ~ .tab-content-wrapper #tab-content-1,
#tab2:checked ~ .tab-content-wrapper #tab-content-2,
#tab3:checked ~ .tab-content-wrapper #tab-content-3,
#tab4:checked ~ .tab-content-wrapper #tab-content-4 {
  position: relative;
  top: 0px;
}

.table th {
  padding: 0.35rem;
  vertical-align: top;
  border-top: 1px solid #521138;
  background-color: #490a2fd2;
  /* Dark purple background */
  color: #fff;
  /* White text */
}

.table td {
  padding: 0.35rem;
  vertical-align: top;
  border-top: 1px solid #e9ecef;
}

.table tr:nth-child(odd) td {
  background-color: #f6f8fb;
  /* Dark purple background for odd rows */
  color: #000;
  /* White text for odd rows */
}

.table tr:nth-child(even) td {
  background-color: #fff;
  /* White background for even rows */
  color: #000;
  /* Black text for even rows */
}

/* ------------------------- similar products --------------------------------- */

.spotlight-card {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  transition: 0.3s ease;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  width: 100%;
}

.spotlight-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  background-color: #521138;
  color: #fff;
}

/* Zoom effect on image inside the card */
.spotlight-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.spotlight-card:hover img {
  transform: scale(1.05);
}

/* Ensure inner text and date also change color on card hover */
.spotlight-card:hover .spotlight-text,
.spotlight-card:hover .spotlight-date,
.spotlight-card:hover .spotlight-title {
  color: #fff;
}

.badge-custom {
  background-color: #efefef;
  color: #333;
  font-size: 12px;
  margin-right: 4px;
}

.spotlight-title {
  font-weight: bold;
  font-size: 1rem;
  margin: 10px 0 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spotlight-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spotlight-date {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 6px;
}

.left-title-box {
  height: 100%;
  background: white;
  border: 1px solid #521138;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  /* padding: 20px; */
}

.nav-arrows {
  position: absolute;
  bottom: 10px;
  left: 20px;
}

.nav-arrows button {
  border: none;
  background: #521138;
  color:#fff;
  margin: 0 5px;
  font-weight: bold;
  cursor: pointer;
}

.slider-container {
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.slider-item {
  flex: 0 0 calc(31.333% - 0px);
  box-sizing: border-box;
  display: flex;
  margin-right: 15px;
}

.slider-item .spotlight-card .p-3 {
  flex-grow: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 767px) {
  .slider-item {
    flex: 0 0 100%;
  }

  .spotlight-title {
    font-size: 0.95rem;
  }

  .left-title-box {
    font-size: 1.5rem;
    padding: 15px;
  }

  .nav-arrows {
    position: static;
    margin-top: 10px;
    text-align: center;
  }
}
.res-padding {
  padding: 0 45px 60px 60px;
}
@media only screen and (max-width: 600px) {
  .res-padding {
    padding: 0px;
  }
}


