.smr-video-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
}

.smr-video-grid video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}


.smr-carousel-item,
.smr-story-item,
.smr-spotlight-item {
    position: relative;
    min-width: 250px;
}
.smr-story-profile {
    text-align: center;
    margin-bottom: 5px;
}
.smr-profile-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ccc;
}
.swiper-container {
    overflow: hidden;
    padding-bottom: 10px;
}
.swiper-slide video, .swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.swiper-button-prev, .swiper-button-next {
    color: #333;
    top: 35%;
}
.swiper-container {
    overflow: hidden;
}
.swiper-slide video {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
}
.smr-video-overlay-text {
    position: absolute;
    bottom: 8px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
}
.swiper-slide video {
    pointer-events: none;
    max-height: 240px;
    object-fit: cover;
}
.swiper-container {
    overflow: hidden;
    position: relative;
}

.swiper-slide video, .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.swiper-button-prev, .swiper-button-next {
    color: #333;
    top: 40%;
    z-index: 10;
}

/* Aspect Ratio Container */
.smr-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 12px;
}

.smr-video-wrapper video {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

/* Arrows outside the swiper */
.smr-slider-container-with-arrows {
  position: relative;
  display: flex;
  align-items: center;
}

.swiper-button-prev,
.swiper-button-next {
  position: relative;
  top: unset;
  transform: unset;
  z-index: 10;
  margin: 0 10px;
  color: black;
  border-radius: 50%;
  width: 36px !important;
  height: 36px !important;

}

/* Responsive: Hide arrows on mobile if needed */
@media (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}
.smr-slider-container-with-arrows {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smr-slider-container-with-arrows .swiper-container {
    width: 100%;
    max-width: 100%;
}

.custom-arrow {
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-prev.custom-arrow {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 1;
    border: 0;
    color: #000 !important;
    background: 0 0 !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 !important;
}

.swiper-button-next.custom-arrow {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
        cursor: pointer;
    opacity: 1;
    border: 0;
    color: #000 !important;
    background: 0 0 !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 !important;
}
.swiper-button-next svg, .swiper-button-prev svg {

    width: 36px;
    height: 36px;
    color: #0c0d0e !important;
    fill: #0c0d0e;
}

.custom-arrow:hover {
    transform: scale(1.1) translateY(-50%);
}

.atTSbW_arrowIcon {
    width: 24px;
    height: 24px;
    color: #000;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none !important;
    content: none !important;
}

/* === Spotlight Base Styling === */
.smr-slider-wrapper.spotlight-style {
    margin: 40px 0;
    position: relative;
}

.smr-slider-wrapper.spotlight-style .swiper-container {
    padding: 20px 0;
}

.smr-slider-wrapper.spotlight-style .swiper-slide {
    transform: scale(0.9);
    transition: transform 0.3s ease, z-index 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.smr-slider-wrapper.spotlight-style .swiper-slide video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* === Center Slide Effect === */
.smr-slider-wrapper.spotlight-style .swiper-slide.smr-center-slide {
    transform: scale(1.15);
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* === Responsive Scaling === */
@media (max-width: 1024px) {
    .smr-slider-wrapper.spotlight-style .swiper-slide {
        transform: scale(0.85);
    }

    .smr-slider-wrapper.spotlight-style .swiper-slide.smr-center-slide {
        transform: scale(1.05);
    }
}

@media (max-width: 767px) {
    .smr-slider-wrapper.spotlight-style .swiper-slide {
        transform: scale(0.8);
    }

    .smr-slider-wrapper.spotlight-style .swiper-slide.smr-center-slide {
        transform: scale(1);
    }
}

/* === Video Overlay Text (Optional) === */
.smr-video-overlay-text {
    position: absolute;
    bottom: 8px;
    left: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 6px;
    text-align: center;
    z-index: 3;
}

/* === Optional: Centering video content === */
.smr-video-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* product popuo */

#smr-video-popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.smr-popup-inner {
    background: #fff;
    max-width: 800px;
    width: 90%;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.smr-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
}

.smr-popup-video-container video {
    width: 100%;
    border-radius: 8px;
}

.smr-popup-product-container {
    font-family: inherit;
}

.smr-popup-product-container .price {
    font-size: 1.2em;
    font-weight: bold;
    margin: 10px 0;
}

.smr-popup-product-container .button {
    background: #000;
    color: #fff;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
}

