/* Product Media - ACF Flexible Content */
.product-media {
    display: flex;
    width: 100%;
    background-color: #FFFFFF; /* 기본값, 인라인 스타일로 덮어씀 */
}

.product-media .media-wrapper {
    width: 100%;
}

.product-media .media-wrapper video,
.product-media .media-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 비디오 아래 라인 제거 */
.product-media .custom-video-container {
    position: relative;
    line-height: 0;
    font-size: 0;
    cursor: pointer;
}

/* 일시정지 아이콘 오버레이 */
.product-media .video-pause-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.product-media .video-pause-icon .pause-bar {
    display: block;
    width: 6px;
    height: 22px;
    background: #fff;
    border-radius: 2px;
}

/* 일시정지 상태일 때 아이콘 표시 */
.product-media .custom-video-container.is-paused .video-pause-icon {
    opacity: 1;
}

/* Align 옵션 */
.product-media.align-left {
    justify-content: flex-start;
}

.product-media.align-center {
    justify-content: center;
}

.product-media.align-right {
    justify-content: flex-end;
}

/* 반응형 - 모바일에서는 width 100% */
@media (max-width: 767px) {
    .product-media .media-wrapper {
        width: 100% !important;
    }
}
