/**
 * Clean Native Products Slider Styles
 * 100% layout and visual design fidelity with zero third-party dependencies.
 */

.gvx-product-slider-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 45px 30px 35px;
  box-sizing: border-box;
}

.gvx-product-slider-track-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  touch-action: pan-y;
  cursor: grab;
}

.gvx-product-slider-track-wrapper:active {
  cursor: grabbing;
}

.gvx-product-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.gvx-product-slide {
  min-width: 100%;
  flex: 0 0 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  user-select: none;
}

.gvx-product-slide-inner {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gvx-product-slide-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 30px;
}

.gvx-product-slide-title {
  font-family: var(--e-global-typography-primary-font-family, "Montserrat", sans-serif);
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 60px;
  color: var(--e-global-color-7f8a218, #ffffff);
  margin: 0;
  flex-shrink: 0;
}

.gvx-product-slide-desc {
  width: 60%;
  max-width: 60%;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  color: var(--e-global-color-7f8a218, #ffffff);
  margin: 0;
}

.gvx-product-slide-media {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.gvx-product-slide-media img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 650px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  pointer-events: none;
}

/* Arrow Navigation */
.gvx-product-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  outline: none;
  padding: 0;
}

.gvx-product-slider-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.08);
}

.gvx-product-slider-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gvx-product-slider-arrow--prev {
  left: 15px;
}

.gvx-product-slider-arrow--next {
  right: 15px;
}

/* Dots Pagination */
.gvx-product-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 650px;
  margin: 25px auto 0;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.gvx-product-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gvx-product-slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.gvx-product-slider-dot.is-active {
  width: 24px;
  border-radius: 12px;
  background: #ffffff;
}

/* Responsive Breakpoints */
@media (min-width: 768px) {
  .gvx-product-slide-inner {
    width: 1000px;
  }
}

@media (max-width: 1401px) and (min-width: 768px) {
  .gvx-product-slide-inner {
    width: 80%;
  }
  .gvx-product-slide-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .gvx-product-slide-inner {
    width: 90%;
  }
}

@media (max-width: 1024px) {
  .gvx-product-slide-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .gvx-product-slide-desc {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .gvx-product-slider-container {
    padding: 30px 15px 25px;
  }
  .gvx-product-slide-inner {
    width: 100%;
  }
  .gvx-product-slide-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  .gvx-product-slide-desc {
    font-size: 15px;
    line-height: 22px;
  }
  .gvx-product-slider-arrow {
    display: none;
  }
}
