/* Testimonials Section Styles */
.testimonials-section {
  background-image: linear-gradient(
      0.118deg,
      rgba(255, 255, 255, 0.64) 1.27%,
      rgba(255, 255, 255, 0) 50.28%,
      rgba(255, 255, 255, 0.64) 109.97%
    ),
    url("/static/assets/image/customcrafting/testimonials-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Embla Carousel Styles */
.embla {
  position: relative;
}

.embla__viewport {
  overflow: hidden;
  width: 100%;
}

.embla__container {
  display: flex;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.embla__slide {
  position: relative;
  min-width: 0;
}

.embla__button {
  touch-action: manipulation;
  cursor: pointer;
  border: none;
  outline: none;
}

.embla__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Product Gallery Carousel Styles */
.embla-product-gallery {
  position: relative;
}

.embla-product-gallery__viewport {
  overflow: hidden;
  width: 100%;
}

.embla-product-gallery__container {
  display: flex;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.embla-product-gallery__slide {
  position: relative;
  min-width: 0;
}

.embla-product-gallery__button {
  touch-action: manipulation;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease-in-out;
}

.embla-product-gallery__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.embla-product-gallery__button:not(:disabled):hover {
  transform: scale(1.05);
}

/* PhotoSwipe Custom Styles */

/* Fix scrollbar when lightbox is open */
.pswp--open {
  overflow: hidden !important;
}

body.pswp--open {
  overflow: hidden !important;
}

html.pswp--open {
  overflow: hidden !important;
}
.pswp__video-container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pswp__scroll-wrap {
  max-width: 100vw;
}

/* Video Modal Styles */
.video-modal::backdrop {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
  .video-modal {
    max-height: 95vh;
    margin: 2.5vh auto;
    max-width: calc(100% - 32px);
  }
}

/* ==================== Modal Buttons ==================== */
/* Primary button (filled) */
.btn-custom-primary {
  display: flex;
  padding: 12px 32px;
  background-color: #466587;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  font-family: "Lato", sans-serif;
  cursor: pointer;
}

.btn-custom-primary:hover {
  opacity: 0.8;
}

.btn-custom-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #e8eaec;
  color: #727c8d;
}

/* Secondary button (outline) */
.btn-custom-secondary {
  padding: 12px 32px;
  background-color: transparent;
  color: rgba(114, 124, 141, 0.3);
  font-size: 16px;
  font-weight: 700;
  font-family: "Lato", sans-serif;
  /* border-radius: 4px; */
  border: 1px solid rgba(114, 124, 141, 0.3);
  cursor: pointer;
}

.btn-custom-secondary:hover {
  background-color: rgba(114, 124, 141, 0.3);
  color: #ffffff;
}

.btn-custom-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: transparent;
  border-color: #e8eaec;
  color: #727c8d;
}
