/* Services CSS - Tiendaweb.pe */

/* Service Image Carousel */
.service-carousel.carousel {
  background-color: transparent !important;
  margin-bottom: 1.5rem !important;
}

.service-carousel .carousel-inner {
  border-radius: 12px;
  overflow: hidden;
  background-color: transparent !important;
}

.service-carousel .carousel-item {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  background-color: transparent !important;
}

.service-carousel .carousel-item > a {
  display: block;
  width: 100%;
  line-height: 0;
  background-color: transparent;
}

.service-carousel .carousel-item img,
.service-carousel-img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  max-height: none !important;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background-color: transparent !important;
}

.service-carousel .carousel-indicators {
  position: absolute;
  bottom: 12px;
  margin-bottom: 0;
  z-index: 4;
}

.service-carousel .carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
  cursor: pointer;
}

.service-carousel .carousel-indicators .active {
  background-color: #ffffff;
  transform: scale(1.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.service-carousel .carousel-control-prev,
.service-carousel .carousel-control-next {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.55);
  border-radius: 50%;
  margin: 0 10px;
  opacity: 0.85;
  z-index: 5;
  transition: all 0.2s ease;
}

.service-carousel .carousel-control-prev:hover,
.service-carousel .carousel-control-next:hover {
  background: rgba(15, 23, 42, 0.9);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}

.service-carousel .carousel-control-prev-icon,
.service-carousel .carousel-control-next-icon {
  width: 18px;
  height: 18px;
}
.count-previews {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 6;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Service Actions Group */
.service-actions-group .btn {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50rem;
}

/* Desktop Sticky Sidebar for Conversions */
@media (min-width: 992px) {
  .service-sidebar-sticky {
    position: sticky;
    top: 90px;
    z-index: 10;
  }
}

/* Single Share Button */
.btn-share-service {
  font-weight: 600;
  border-width: 1.5px;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.btn-share-service:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Fallback Share Modal (matches musica/cancion.php) */
.share-modal__content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25);
}
.share-modal__header {
  border-bottom: 1px solid #f1f5f9;
  padding: 1.1rem 1.4rem 0.9rem;
  background: #ffffff;
}
.share-modal__eyebrow {
  display: inline-block;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f766e;
}
.share-modal__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}
.share-modal__body {
  padding: 1.2rem 1.4rem 1.5rem;
  background: #ffffff;
}
.share-modal__text {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.4;
}
.share-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.share-modal__action {
  border: 0;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  justify-content: flex-start;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}
.share-modal__action:hover,
.share-modal__action:focus {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.share-modal__action i {
  font-size: 1.25rem;
}
.share-modal__action--whatsapp {
  background: #ecfdf5;
  color: #15803d;
}
.share-modal__action--facebook {
  background: #eff6ff;
  color: #1d4ed8;
}
.share-modal__action--x {
  background: #f1f5f9;
  color: #0f172a;
}
.share-modal__action--telegram {
  background: #eff6ff;
  color: #0284c7;
}
.share-modal__action--mail {
  background: #fff7ed;
  color: #c2410c;
}
.share-modal__action--copy {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
}
.share-modal__action--copy.active {
  background: #ecfdf5;
  color: #15803d;
  border-color: #86efac;
}
@media (max-width: 575px) {
  .share-modal__grid {
    grid-template-columns: 1fr;
  }
}

/* Service preview replacement and edit states */
.service-preview-card.service-preview-card--replaced {
  opacity: 0.55;
  filter: grayscale(40%);
  border-style: dashed !important;
  border-color: #f6993f !important;
  position: relative;
}
.service-replaced-badge {
  margin-top: 4px;
  text-align: center;
}
.service-replaced-badge .badge {
  font-size: 11px;
  padding: 3px 6px;
  font-weight: 600;
}

