.nav-tabs {
  border: none;
  margin: 0;
}

.nav-tabs .nav-link {
  color: #090909;
  font-family: "Nunito Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  border: none;
  border-bottom: 1px solid #D1D1D0;
}

.nav-tabs .nav-link:hover {
  color: #AB005C;
  background-color: #FFE8F0;
  font-size: 12px;
  font-weight: 400;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid #CE0E71;
}

.nav-tabs .nav-link.active {
  color: #CE0E71;
  border-bottom: 2px solid #CE0E71;
}

.subscription-item {
  border-bottom: 1px solid #D1D1D0;
  padding: 16px 16px;
}

.subscription-item .form-check-input:checked {
  background-color: #CE0E71;
  border-color: #CE0E71;
}

.subscription-item-marketplace {
  padding: 16px 16px;
}

.subscription-item-marketplace h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-top: 16px;
}

.subscription-item-marketplace p {
  font-size: 11px;
  color: #484847;
  margin: 0;
  margin-bottom: 6px;
  margin-top: 16px;
}

.subscription-item h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-top: 16px;
}

.subscription-item p {
  font-size: 11px;
  color: #484847;
  margin: 0;
  margin-bottom: 6px;
  margin-top: 16px;
}

.form-check-label {
  font-weight: 400;
  line-height: 16px;
}

.form-check-input:not([type="checkbox"]) {
  width: 40px;
  height: 20px;
}

.subscription-item label {
  font-size: 12px;
  color: black;
}



/* =============================
   CSS para archive-marketplace.php
   ============================= */

.segittur-marketplace-card {
  background-color: #ffffff;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.segittur-marketplace-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  background-color: #fafafa;
}

.marketplace-image-wrapper {
  width: 100%;
  overflow: hidden;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marketplace-image {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.segittur-marketplace-card:hover .marketplace-image {
  transform: scale(1.05);
}

.marketplace-content {
  text-align: center;
}

.marketplace-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333333;
  margin: 0 0 0.5rem;
  transition: color 0.3s ease;
}

.marketplace-description {
  font-size: 0.875rem;
  color: #090909;
  margin: 0;
  flex-grow: 1;
}

.segittur-marketplace-card:hover .marketplace-title {
  color: #ce0e71;
}

/* Ajustes responsivos */
@media (max-width: 767px) {
  .marketplace-title {
    font-size: 0.95rem;
  }

  .marketplace-description {
    font-size: 0.8rem;
  }
}

@media (min-width: 768px) {
  .marketplace-title {
    font-size: 1rem;
  }

  .marketplace-description {
    font-size: 0.875rem;
  }
}



.bg-filtros form {
  background-color: #F5F5F5;
  border-radius: 4px;
}



/* ================================
   CSS para animación en loop-product
   ================================ */

.image-wrapper {
  width: 100px;
  height: 100px;
  overflow: hidden;
  display: flex !important;
  justify-content: center;
  align-items: center;
  background: #f8f8f8;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.segittur-product-card {
  background-color: #ffffff;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.segittur-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  background-color: #fafafa;
}

.segittur-product-card .card-center img {
  transition: transform 0.3s ease;
  border-radius: 8px;
}

.segittur-product-card:hover .card-center img {
  transform: scale(1.05);
}

.segittur-product-card .card-title a {
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
  max-height: 2.8em;
}

.segittur-product-card:hover .card-title a {
  color: #ce0e71;
}

.segittur-product-card .ratings {
  color: #e6007e;
  align-self: center;
  margin-top: 8px;
  text-align: center;
}


.segittur-product-card {
  width: 100%;
}


.segittur-product-card .badge {
  margin-bottom: 0.5rem;
}


@media (max-width: 767px) {
  .segittur-product-card:hover .card-center img {
    transform: scale(1.02);
  }
}

@media (max-width: 767px) {
  .image-wrapper {
    width: 80px;
    height: 80px;
  }
}

.form-check-input[type="checkbox"].subscribe-toggle {
  width: 40px;
  height: 20px;
  background-color: #d1d1d0;
  border: none;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
}

.form-check-input[type="checkbox"].subscribe-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #484847;
  transition: all 0.3s ease;
}

.form-check-input[type="checkbox"].subscribe-toggle:checked {
  background-color: #CE0E71;
}

.form-check-input[type="checkbox"].subscribe-toggle:checked::before {
  left: 24px;
  background-color: #fff;
}