/* Video Carousel Plugin Frontend Styles */
/* Carousel Container */
.vcp-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-right: 15px;
    overflow: visible;
    border-radius: 12px;
    box-sizing: border-box;
}

.vcp-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.vcp-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* Video Slides */
.vcp-video-slide {
    flex: 0 0 calc(20% - 12px) !important; /* Default display 5 videos, minus gaps */
    margin-right: 15px;
    box-sizing: border-box;
    aspect-ratio: 9/16;
}

.vcp-video-slide:last-child {
    margin-right: 0;
}
.vcp-video-slide .vcp-video-item {
    height: 100%;
    aspect-ratio: 9/16;
}

.vcp-video-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    aspect-ratio: 9/16;
    position: relative;
}

/* Remove video item hover effects */

/* Video Thumbnails */
.vcp-video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}



@keyframes vcp-loading {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 20px;
    }
}

/* Hover video styles */
.vcp-video-thumbnail video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    z-index: 1;
}

/* Mute indicator */
.vcp-video-thumbnail video::after {
    content: '🔇';
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10;
}

.vcp-video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Remove thumbnail hover effects */

/* Play Button */
.vcp-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.vcp-play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid #333;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

/* Remove play button hover effects */

/* Shopping Cart Icon - Using SVG Line Style */

.vcp-cart-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.vcp-cart-icon::before {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z"/><line x1="3" y1="6" x2="21" y2="6"/><path d="m16 10a4 4 0 0 1-8 0"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Video Information */
.vcp-video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px 12px 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    border-radius: 0 0 10px 10px;
    z-index: 2;
}

.vcp-video-title {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Hide description, show title only */
.vcp-video-description {
    display: none;
}

/* Carousel Control Buttons */
.vcp-carousel-controls {
    position: absolute;
    top: 50%;
    left: -25px;
    right: -25px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 1000;
    padding: 0;
}

.vcp-prev-btn,
.vcp-next-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15), 0 1px 4px rgba(0, 0, 0, 0.1);
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1001;
    position: relative;
}

.vcp-prev-btn:hover,
.vcp-next-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.95));
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
}

‘
.vcp-prev-btn:focus,
.vcp-next-btn:focus,
.vcp-prev-btn:active,
.vcp-next-btn:active {
    outline: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Hidden state navigation arrows */
.vcp-prev-btn[style*="display: none"],
.vcp-next-btn[style*="display: none"] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Smart navigation arrows: dynamically controlled by JavaScript */

/* Mobile arrow display also dynamically controlled by JavaScript */

/* Remove original margin settings */

.vcp-prev-btn svg,
.vcp-next-btn svg {
    fill: #333;
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.vcp-prev-btn:hover svg,
.vcp-next-btn:hover svg {
    fill: #000;
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Carousel Indicator Dots */
.vcp-carousel-dots {
    display: none;
    justify-content: center;
    padding: 20px 0;
    gap: 8px;
}

.vcp-dot {
    display: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.vcp-dot.active {
    background: #007cba;
    transform: scale(1.2);
}

/* Remove hover effects, dots are no longer clickable */
/* .vcp-dot:hover {
    background: #007cba;
    transform: scale(1.2);
} */

/* Modal Styles */
.vcp-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    box-sizing: border-box;
}

.vcp-modal.active {
    display: block;
}

/* Prevent body scrolling and margins when modal is active */
body.vcp-modal-open {
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure html element has no margins */
html.vcp-modal-open {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    overflow: hidden;
}

.vcp-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.vcp-modal-content {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}



.vcp-modal-header {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.vcp-modal-close {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Remove modal close button hover effects */

.vcp-modal-close svg {
    fill: #fff;
}

.vcp-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Video Player - Fullscreen Display */
.vcp-video-player {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

/* Video Overlay - Contains title and audio controls */
.vcp-video-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: calc(100vh * 9 / 16);
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 20px;
    z-index: 1002;
    pointer-events: none;
}

.vcp-video-overlay > * {
    pointer-events: auto;
}

/* Video Title Container - Positioned on left side of overlay */
.vcp-video-title-container {
    flex: 1;
    max-width: calc(100% - 80px);
    text-align: left;
    padding: 0;
    box-sizing: border-box;
}

.vcp-video-title-container h2 {
    background: transparent;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 70px;
    height: 70px;
    padding: 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
}

/* Audio Control Button */
.vcp-audio-control {
    flex-shrink: 0;
    margin-left: 20px;
    margin-right: 5px;
    z-index: 1002;
}

.vcp-audio-btn {
    background: transparent;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vcp-audio-btn:hover {
    transform: scale(1.05);
}

.vcp-audio-btn svg {
    fill: #fff;
    transition: all 0.3s ease;
    border: none !important;
    outline: none !important;
}

.vcp-video-player video {
    width: auto;
    height: 100vh;
    max-height: 100vh;
    max-width: calc(100vh * 10 / 16);
    aspect-ratio: 10/16;
    object-fit: cover;
    border-radius: 16px;
}

/* Video Details */
.vcp-video-details {
    display: none;
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    background: #f9f9f9;
}

.vcp-video-details h2 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #333;
    line-height: 1.3;
}

.vcp-video-details p {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Products Section */
.vcp-products-section h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 8px;
}

.vcp-products-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.vcp-product-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

/* Remove product item hover effects */

.vcp-product-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #f5f5f5;
}

.vcp-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Remove product image hover effects */

.vcp-product-info {
    padding: 15px;
}

.vcp-product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.vcp-product-price {
    margin-bottom: 8px;
}

.vcp-sale-price {
    color: #e74c3c;
    font-weight: 600;
    font-size: 16px;
    margin-right: 8px;
}

.vcp-regular-price {
    color: #666;
    font-size: 14px;
}

.vcp-strikethrough {
    text-decoration: line-through;
}

.vcp-product-excerpt {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vcp-product-link {
    display: inline-block;
    padding: 8px 16px;
    background: #007cba;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.vcp-product-link:hover {
    background: #005a87;
    color: #fff;
    text-decoration: none;
}

/* Modal Navigation */
.vcp-modal-navigation {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    z-index: 10;
}

.vcp-nav-btn {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: none;
}



/* Remove left/right margins, change to vertical layout */

.vcp-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.vcp-nav-btn:focus {
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    border: none;
    box-shadow: none;
}

.vcp-nav-btn:active {
    background: rgba(255, 255, 255, 0.4);
    outline: none;
    border: none;
    box-shadow: none;
    transform: scale(0.95);
}

.vcp-nav-btn svg {
    fill: #fff;
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .vcp-video-slide {
        flex: 0 0 20% !important; /* Keep showing 5 videos - force apply */
    }
}

@media (max-width: 768px) {
    .vcp-carousel-container {
        padding: 10px;
    }
    
    .vcp-video-slide {
        flex: 0 0 33.333% !important; /* Tablet shows 3 videos - force apply */
        aspect-ratio: 9/16;
    }
    
    .vcp-video-item {
        aspect-ratio: 9/16;
    }
    
    .vcp-video-thumbnail {
        height: 100%;
    }
    
    .vcp-video-info {
        padding: 6px 8px 8px 8px;
    }
    
    .vcp-play-button {
        width: 50px;
        height: 50px;
        pointer-events: auto;
        z-index: 15;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .vcp-play-button::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        background: transparent;
    }
    
    .vcp-play-button::after {
        border-left: 16px solid #333;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        margin-left: 3px;
    }
    
    .vcp-cart-icon {
        width: 28px;
        height: 28px;
        top: 8px;
        right: 8px;
    }
    
    .vcp-cart-icon::after {
        font-size: 14px;
    }
    
    .vcp-video-title {
        font-size: 12px;
        line-height: 1.2;
        -webkit-line-clamp: 1;
    }
    
    .vcp-video-description {
        font-size: 10px;
        -webkit-line-clamp: 1;
    }
    
    .vcp-prev-btn,
    .vcp-next-btn {
        width: 40px;
        height: 40px;
    }
    
    .vcp-prev-btn {
        margin-left: 10px;
    }
    
    .vcp-next-btn {
        margin-right: 10px;
    }
    
    /* Modal mobile adaptation */
    .vcp-modal-content {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 20px 15px;
        flex-direction: column;
    }
    
    .vcp-modal-body {
        max-width: 90vw;
    }
    
    .vcp-video-title-container h2 {
        font-size: 16px;
    }
    
    .vcp-video-player {
        border-radius: 8px;
    }
    
    .vcp-modal-body {
        flex-direction: column;
    }
    
    .vcp-video-player {
        flex: none;
        height: 250px;
    }
    
    .vcp-video-player video {
        aspect-ratio: 9/16;
        max-height: 60vh;
    }
    
    .vcp-video-details {
        flex: none;
        padding: 20px;
    }
    
    .vcp-video-details h2 {
        font-size: 20px;
    }
    
    .vcp-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .vcp-next-video {
        margin-right: 10px;
    }
    
    .vcp-products-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .vcp-product-image {
        height: 120px;
    }
    
    .vcp-product-info {
        padding: 12px;
    }
    
    .vcp-product-title {
        font-size: 14px;
    }
    
    .vcp-product-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 1;
    }
}

/* Tablet optimization */
@media (max-width: 768px) and (min-width: 481px) {
    .vcp-video-slide {
        flex: 0 0 calc(33.333% - 10px) !important;
    }
    
    .vcp-prev-btn,
    .vcp-next-btn {
        display: none !important;
    }
    
    .vcp-carousel-dots {
        display: flex !important;
        justify-content: center;
        padding: 20px 0;
        gap: 8px;
    }
    
    .vcp-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(0,0,0,0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .vcp-dot.active {
        background: #007cba;
        transform: scale(1.2);
    }
}

/* Enhanced mobile styles for small screens */
@media (max-width: 480px) {
    .vcp-carousel-container {
        margin: 0;
        padding: 15px 0;
        background: transparent;
        border-radius: 0;
        overflow: hidden;
    }
    
    .vcp-carousel-track {
        gap: 12px;
        align-items: stretch;
        overflow: hidden;
    }
    
    .vcp-video-slide {
        flex: 0 0 calc(50% - 6px) !important;
        margin-right: 0;
        aspect-ratio: 9/16;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    /* Hide slides beyond the first 2 */
    .vcp-video-slide:nth-child(n+3) {
        display: none;
    }
    
    .vcp-video-slide:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    }
    
    .vcp-video-slide:last-child {
        margin-right: 0;
    }
    
    .vcp-video-slide .vcp-video-item {
        aspect-ratio: 9/16;
        position: relative;
        height: 100%;
    }
    
    .vcp-video-thumbnail {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    
    .vcp-video-info {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 12px;
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
        color: white;
        pointer-events: none;
    }
    
    .vcp-video-title {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.3;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0;
        text-shadow: 0 1px 3px rgba(0,0,0,0.7);
    }
    
    .vcp-play-button {
        width: 50px;
        height: 50px;
        background: rgba(255,255,255,0.9);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255,255,255,0.3);
    }
    
    .vcp-play-button::after {
        border-left: 16px solid #333;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        margin-left: 3px;
    }
    
    .vcp-cart-icon {
        width: 30px;
        height: 30px;
        top: 8px;
        right: 8px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.3);
    }
    
    .vcp-cart-icon::after {
        font-size: 14px;
        color: #333;
    }
    
    /* Mobile navigation: hide arrows, show dots */
    .vcp-prev-btn,
    .vcp-next-btn {
        display: none !important;
    }
    
    .vcp-carousel-dots {
        display: flex !important;
        justify-content: center;
        align-items: center;
        padding: 25px 0;
        gap: 10px;
        background: transparent;
    }
    
    .vcp-dot {
        display: block;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: rgba(0,0,0,0.3);
        cursor: pointer;
        pointer-events: auto;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }
    
    .vcp-dot.active {
        background: #007cba;
        transform: scale(1.3);
        border-color: rgba(255,255,255,0.4);
        box-shadow: 0 2px 8px rgba(0,123,186,0.4);
    }
    
    .vcp-dot:hover {
        background: #007cba;
        transform: scale(1.1);
        border-color: rgba(255,255,255,0.2);
    }
}

/* Extra small screens optimization */
@media (max-width: 360px) {
    .vcp-carousel-track {
        gap: 8px;
    }
    
    .vcp-video-slide {
        flex: 0 0 calc(50% - 4px) !important;
        border-radius: 12px;
    }
    
    .vcp-video-info {
        padding: 8px;
    }
    
    .vcp-video-title {
        font-size: 12px;
        -webkit-line-clamp: 1;
    }
    
    .vcp-play-button {
        width: 40px;
        height: 40px;
        pointer-events: auto;
        z-index: 15;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .vcp-play-button::before {
        content: '';
        position: absolute;
        top: -12px;
        left: -12px;
        right: -12px;
        bottom: -12px;
        background: transparent;
    }
    
    .vcp-play-button::after {
        border-left: 12px solid #333;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        margin-left: 2px;
    }
    
    .vcp-carousel-dots {
        padding: 20px 0;
    }
    
    .vcp-dot {
        width: 16px;
        height: 16px;
        margin: 0 6px;
        position: relative;
        z-index: 10;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .vcp-dot::before {
        content: '';
        position: absolute;
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        background: transparent;
    }
    
    /* Dots visibility controlled by JavaScript */
}

@media (max-width: 480px) {
    /* Mobile modal styles */
    .vcp-modal {
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
    }
    
    .vcp-modal-content {
        width: 100vw;
        height: 100vh;
        padding: 0;
    }
    
    .vcp-video-player {
        width: 100vw;
        height: 100vh;
    }
    
    .vcp-video-player video {
        width: auto;
        height: 100vh;
        max-height: 100vh;
        max-width: calc(100vh * 10 / 16);
        aspect-ratio: 10/16;
        object-fit: cover;
        border-radius: 12px;
    }
    
    .vcp-video-overlay {
        padding: 8px 15px;
        height: 70px;
        max-width: calc(100vh * 10 / 16);
    }
    
    .vcp-video-title-container {
        max-width: calc(100% - 80px);
    }
    
    .vcp-video-title-container h2 {
        margin-left: 20px;
        font-size: 16px;
        padding: 0 4px;
        line-height: 60px;
        height: 60px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: flex;
        align-items: center;
    }
    
    .vcp-audio-control {
        margin-left: 15px;
        margin-right: 4px;
    }
    
    .vcp-audio-btn {
        width: 60px;
        height: 60px;
    }
    
    .vcp-audio-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .vcp-modal-close {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
    }
    
    .vcp-modal-navigation {
        right: 15px;
        top: 50%;
        margin-top: -52.5px; /* Half of total height (45px * 2 + 10px gap) / 2 */
        transform: none;
    }
    
    .vcp-nav-btn {
        width: 45px;
        height: 45px;
    }
    
    .vcp-nav-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .vcp-nav-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }
    
    .vcp-nav-btn:focus {
        background: rgba(255, 255, 255, 0.3);
        outline: none;
        border: none;
        box-shadow: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    .vcp-nav-btn:active {
        background: rgba(255, 255, 255, 0.4);
        outline: none;
        border: none;
        box-shadow: none;
        transform: scale(0.95);
        -webkit-tap-highlight-color: transparent;
    }
}

/* Loading Animation */
.vcp-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    font-size: 16px;
    color: #666;
    flex-direction: column;
}

.vcp-loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    margin-top: 10px;
    animation: vcp-spin 1s linear infinite;
}

@keyframes vcp-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error State */
.vcp-error {
    text-align: center;
    padding: 40px 20px;
    color: #e74c3c;
    background: #fdf2f2;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    font-size: 16px;
}

/* Empty Content State */
.vcp-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

.vcp-empty svg {
    width: 80px;
    height: 80px;
    fill: #ddd;
    margin-bottom: 20px;
}

.vcp-no-products {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

/* Video Autoplay Notice */
.vcp-autoplay-notice {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10;
    animation: vcp-fadeInOut 3s ease-in-out;
}

@keyframes vcp-fadeInOut {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: 1; }
}

/* Completely hide MediaElement player controls */
.vcp-modal .mejs__controls {
    display: none !important;
}

/* Hide native video controls */
.vcp-modal video {
    pointer-events: auto;
}

.vcp-modal video::-webkit-media-controls {
    display: none !important;
}

.vcp-modal video::-webkit-media-controls-panel {
    display: none !important;
}

.vcp-modal video::-webkit-media-controls-play-button {
    display: none !important;
}

.vcp-modal video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* Custom progress bar - Located at bottom of product section */
.vcp-custom-progress {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: calc(100vh * 10 / 16);
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    z-index: 1002;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.vcp-custom-progress-bar {
    height: 100%;
    background: #ffffff;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.vcp-custom-progress:hover {
    height: 12px;
    bottom: 8px;
}

.vcp-custom-progress:hover .vcp-custom-progress-bar {
    background: #ff6666;
}

/* Product display area - Layout according to design */
.vcp-video-details {
    display: none !important;
}

/* Product grid container - Displayed above progress bar */
.vcp-products-grid {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    z-index: 1001;
    pointer-events: none;
}

.vcp-product-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    min-width: 200px;
    max-width: 300px;
    height: 70px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 8px 12px;
    margin: 0;
    pointer-events: auto;
    flex-shrink: 1;
}

/* Single product - center and allow larger width */
.vcp-products-grid.vcp-single-product .vcp-product-item {
    max-width: 350px;
    min-width: 280px;
}

/* Two products - smaller size to fit both */
.vcp-products-grid.vcp-two-products .vcp-product-item {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    flex-shrink: 0;
    flex-grow: 0;
}

/* Three or more products - even smaller */
.vcp-products-grid.vcp-multiple-products .vcp-product-item {
    max-width: 200px;
    min-width: 160px;
    flex-shrink: 1;
}

.vcp-product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.vcp-product-image {
    width: 44px;
    height: 44px;
    overflow: hidden;
    background: #f8f8f8;
    flex-shrink: 0;
    border-radius: 8px;
    margin-right: 12px;
}

.vcp-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: none;
}

.vcp-product-item:hover .vcp-product-image img {
    transform: scale(1.02);
}

.vcp-product-info {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    border-radius: 0;
}

.vcp-product-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    word-wrap: break-word;
    word-break: break-word;
    width: 100%;
}

.vcp-product-price {
    margin-bottom: 0;
    font-size: 13px;
    text-align: left;
    font-weight: 700;
}

.vcp-sale-price {
    color: #ff6b35;
    font-weight: 700;
    margin-right: 4px;
    font-size: 13px;
}

.vcp-regular-price {
    color: #999;
    font-size: 11px;
}

.vcp-strikethrough {
    text-decoration: line-through;
}

.vcp-product-excerpt {
    font-size: 10px;
    color: #666;
    margin: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vcp-product-link {
    display: none; /* Hide view details link, entire product item is clickable */
}

/* Notice when no products available */
.vcp-products-grid p {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 20px 0;
}

/* Mobile product grid adaptation */
@media (max-width: 768px) {
    .vcp-products-grid {
        width: 90vw;
        gap: 8px;
        padding: 0;
        bottom: 40px;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .vcp-product-item {
        width: auto;
        min-width: 150px;
        max-width: 220px;
        height: 60px;
        padding: 6px 10px;
    }
    
    /* Mobile single product */
    .vcp-products-grid.vcp-single-product .vcp-product-item {
        max-width: 280px;
        min-width: 200px;
    }
    
    /* Mobile two products */
    .vcp-products-grid.vcp-two-products .vcp-product-item {
        width: 160px;
        min-width: 160px;
        max-width: 160px;
        flex-shrink: 0;
        flex-grow: 0;
    }
    
    /* Mobile multiple products */
    .vcp-products-grid.vcp-multiple-products .vcp-product-item {
        max-width: 150px;
        min-width: 120px;
        flex-shrink: 1;
    }
    
    .vcp-product-image {
        width: 38px;
        height: 38px;
        margin-right: 10px;
    }
    
    .vcp-product-info {
        padding: 0;
    }
    
    .vcp-product-title {
        font-size: 12px;
        -webkit-line-clamp: 2;
        line-height: 1.2;
    }
    
    .vcp-product-price {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .vcp-products-grid {
        gap: 6px;
        padding: 0;
        flex-wrap: nowrap;
        bottom: 30px;
    }
    
    .vcp-product-item {
        width: auto;
        min-width: 120px;
        max-width: 180px;
        height: 55px;
        padding: 5px 8px;
    }
    
    /* Mobile single product */
    .vcp-products-grid.vcp-single-product .vcp-product-item {
        max-width: 250px;
        min-width: 180px;
    }
    
    /* Mobile two products */
    .vcp-products-grid.vcp-two-products .vcp-product-item {
        width: 130px;
        min-width: 130px;
        max-width: 130px;
        flex-shrink: 0;
        flex-grow: 0;
    }
    
    /* Mobile multiple products */
    .vcp-products-grid.vcp-multiple-products .vcp-product-item {
        max-width: 120px;
        min-width: 100px;
        flex-shrink: 1;
    }
    
    .vcp-product-image {
        width: 35px;
        height: 35px;
        margin-right: 8px;
    }
    
    .vcp-product-title {
        font-size: 11px;
        -webkit-line-clamp: 2;
        line-height: 1.2;
    }
    
    .vcp-product-price {
        font-size: 10px;
    }
    
/* Move modal title and audio button down on mobile */
.vcp-video-overlay {
    top: 40px;
}

/* Lazy Loading Styles */
.vcp-carousel-lazy-container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-right: 15px;
    overflow: visible;
    border-radius: 12px;
    box-sizing: border-box;
    min-height: 400px;
}

.vcp-carousel-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 40px 20px;
}

.vcp-placeholder-content {
    text-align: center;
    margin-bottom: 30px;
}

.vcp-placeholder-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007cba;
    border-radius: 50%;
    animation: vcp-spin 1s linear infinite;
    margin: 0 auto 15px;
}

.vcp-placeholder-text {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* Skeleton Loading Animation */
.vcp-skeleton-carousel {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    opacity: 0.6;
}

.vcp-skeleton-slide {
    flex: 0 0 calc(20% - 12px);
    aspect-ratio: 9/16;
}

.vcp-skeleton-thumbnail {
    width: 100%;
    height: 80%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: vcp-skeleton-loading 1.5s infinite;
    border-radius: 10px;
}

.vcp-skeleton-title {
    width: 80%;
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: vcp-skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-top: 8px;
}

@keyframes vcp-skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive skeleton */
@media (max-width: 768px) {
    .vcp-skeleton-slide {
        flex: 0 0 calc(33.333% - 10px);
    }
}

@media (max-width: 480px) {
    .vcp-skeleton-slide {
        flex: 0 0 calc(50% - 8px);
    }
    
    .vcp-skeleton-carousel {
        gap: 8px;
    }
}