/**
 * WowMart Single Product Clean Styles
 * Minimal, clean design matching the reference image
 */

/* =================================================================
   MAIN PRODUCT LAYOUT
   ================================================================= */

.single-product .woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin: 40px 0;
    background: #fff;
    padding: 0;
}

.single-product .woocommerce div.product .product-images {
    flex: 0 0 45%;
    min-width: 350px;
}

.single-product .woocommerce div.product .summary {
    flex: 1;
    min-width: 400px;
    padding: 20px 0;
}

/* =================================================================
   PRODUCT GALLERY 
   ================================================================= */

.woocommerce-product-gallery {
    position: relative;
    margin: 0;
}

.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
    position: relative;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Image slider arrows */
.woocommerce-product-gallery .flex-direction-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.woocommerce-product-gallery .flex-direction-nav li {
    position: absolute;
    top: 0;
    pointer-events: auto;
}

.woocommerce-product-gallery .flex-direction-nav .flex-nav-prev,
.woocommerce-product-gallery .flex-direction-nav li:first-child {
    left: 15px;
}

.woocommerce-product-gallery .flex-direction-nav .flex-nav-next,
.woocommerce-product-gallery .flex-direction-nav li:last-child {
    right: 15px;
}

.woocommerce-product-gallery .flex-direction-nav a,
.woocommerce-product-gallery .flex-direction-nav a.flex-prev,
.woocommerce-product-gallery .flex-direction-nav a.flex-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.8;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
}

.woocommerce-product-gallery .flex-direction-nav a:hover {
    background: rgba(255, 255, 255, 1);
    opacity: 1;
    transform: scale(1.05);
}

.woocommerce-product-gallery .flex-direction-nav a:before {
    content: '';
    width: 6px;
    height: 6px;
    border: 2px solid #333;
    border-right: 0;
    border-bottom: 0;
    display: block;
}

.woocommerce-product-gallery .flex-direction-nav a.flex-prev:before,
.woocommerce-product-gallery .flex-prev:before {
    transform: rotate(-45deg);
    margin-left: 2px;
}

.woocommerce-product-gallery .flex-direction-nav a.flex-next:before,
.woocommerce-product-gallery .flex-next:before {
    transform: rotate(135deg);
    margin-right: 2px;
}

/* Gallery thumbnails - use WordPress default position */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 15px 0 0 0;
    padding: 0;
    justify-content: flex-start;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    width: 100px !important;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #f0f0f0;
    transition: all 0.2s ease;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
}

/* =================================================================
   PRODUCT SUMMARY
   ================================================================= */

.single-product .product_title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.single-product .price {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.single-product .price del {
    color: #999;
    font-weight: 400;
    margin-right: 10px;
}

/* =================================================================
   PEOPLE VIEWING NOTIFICATION
   ================================================================= */


/* Keyframe Animations */
@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(238, 90, 82, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 4px 20px rgba(238, 90, 82, 0.5);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes eyeBlink {
    0%, 90%, 100% {
        opacity: 1;
    }
    95% {
        opacity: 0.3;
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes numberFlicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    75% {
        opacity: 1;
    }
    85% {
        opacity: 0.9;
    }
}

/* Alternative notification styles */
.wowmart-viewing-notification.style-urgent {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    animation: pulseGlow 1.5s infinite ease-in-out, shake 0.5s infinite linear;
}

.wowmart-viewing-notification.style-minimal {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 6px;
    animation: fadeInOut 3s infinite ease-in-out;
}

.wowmart-viewing-notification.style-success {
    background: linear-gradient(135deg, #2ed573, #1dd1a1);
    animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-1px); }
    75% { transform: translateX(1px); }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.single-product .price ins {
    text-decoration: none;
}

/* People viewing indicator */
.wowmart-view-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
    padding: 8px 12px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    animation: viewCountPulse 3s infinite ease-in-out;
}

.wowmart-view-count::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    animation: viewCountShine 4s infinite linear;
}

.wowmart-view-count .view-icon {
    width: 16px;
    height: 16px;
    opacity: 0.8;
    color: #ff6b6b;
    animation: viewIconPulse 2s infinite ease-in-out;
    position: relative;
    z-index: 1;
}

.wowmart-view-count svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

/* View count animations */
@keyframes viewCountPulse {
    0%, 100% {
        background: rgba(255, 107, 107, 0.1);
        border-color: rgba(255, 107, 107, 0.2);
    }
    50% {
        background: rgba(255, 107, 107, 0.15);
        border-color: rgba(255, 107, 107, 0.3);
    }
}

@keyframes viewCountShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes viewIconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Product description */
.single-product .woocommerce-product-details__short-description {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 25px;
}

/* Video button - positioned at bottom of product info */
.wowmart-video-section {
    margin-top: 20px;
    margin-bottom: 15px;
}

.wowmart-video-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wowmart-video-button:hover {
    background: #c0392b;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.wowmart-video-button .play-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* =================================================================
   CART SECTION
   ================================================================= */

.single-product .cart {
    margin-bottom: 20px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Clean quantity controls - 100% width, matching bottom buttons */
.single-product .cart .quantity {
    display: flex;
    align-items: center;
    width: 100%;
    margin-right: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

/* Hide default WooCommerce quantity buttons if they exist */
.single-product .cart .quantity .quantity-plus,
.single-product .cart .quantity .quantity-minus {
    display: none !important;
}

.single-product .cart .quantity .quantity-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 48px; /* Match button height */
    background: #f8f8f8;
    border: none;
    color: #666;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.single-product .cart .quantity .quantity-btn:hover:not(.disabled) {
    background: #eee;
    color: #333;
}

.single-product .cart .quantity .quantity-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f0f0f0;
    color: #ccc;
}
.number-style {
    display: flex;
    align-items: center;
    width: 100%;
}
.single-product .cart .quantity .qty {
    flex: 1;
    height: 48px; /* Match button height */
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    margin: 0;
    color: #333;
    appearance: textfield;
    -moz-appearance: textfield;
    min-width: 0; /* Allow input to shrink */
}

.single-product .cart .quantity .qty::-webkit-outer-spin-button,
.single-product .cart .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.single-product .cart .quantity .qty:focus {
    outline: none;
}

/* Size guide */
.wowmart-size-guide {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    margin-left: 15px;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.03);
}

.wowmart-size-guide:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

.wowmart-size-guide:before {
    content: '📏';
    font-size: 16px;
}

/* Size Guide Modal */
.wowmart-size-guide-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.size-guide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.size-guide-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.size-guide-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.size-guide-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    transform: rotate(90deg);
}

.size-guide-header {
    padding: 30px 30px 20px;
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(to bottom, #fafafa, #fff);
}

.size-guide-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-align: center;
}

.size-guide-table-wrapper {
    padding: 30px;
    overflow-x: auto;
    overflow-y: auto;
    flex: 1;
}

.size-guide-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.size-guide-table thead {
    background: #fff;
    color: #000;
}

.size-guide-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.size-guide-table tbody tr {
    background: #fff;
    transition: background 0.2s ease;
}

.size-guide-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.size-guide-table tbody tr:hover {
    background: #f0f4ff;
}

.size-guide-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #555;
}

.size-guide-table tbody tr:last-child td {
    border-bottom: none;
}

.size-guide-footer {
    padding: 20px 30px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.size-guide-footer p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.size-guide-footer strong {
    color: #333;
}

/* Loading State */
.size-guide-loading {
    padding: 60px 30px;
    text-align: center;
}

.size-guide-loading .spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid #f0f0f0;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.size-guide-loading p {
    color: #666;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .size-guide-content {
        width: 95%;
        max-height: 90vh;
        border-radius: 8px;
    }
    
    .size-guide-header {
        padding: 20px 20px 15px;
    }
    
    .size-guide-header h3 {
        font-size: 20px;
    }
    
    .size-guide-table-wrapper {
        padding: 20px;
    }
    
    .size-guide-table th,
    .size-guide-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .size-guide-footer {
        padding: 15px 20px;
    }
    
    .size-guide-close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
}

/* Add to cart button */
.single-product .cart .single_add_to_cart_button {
    background: #333;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-product .cart .single_add_to_cart_button:hover {
    background: #222;
}

/* Remove duplicate buy now sections */
.wowmart-buy-now-section {
    display: none;
}

/* Buy now button - integrated with cart form */
.wowmart-buy-now-button {
    background: transparent;
    color: #333;
    border: 1px solid #333;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wowmart-buy-now-button:hover {
    background: #333;
    color: white;
    text-decoration: none;
}

/* Product meta */
.single-product .product_meta {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-top: 20px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.single-product .product_meta span {
    display: block;
    margin-bottom: 5px;
}

.single-product .product_meta a {
    color: #333;
    text-decoration: none;
}

.single-product .product_meta a:hover {
    text-decoration: underline;
}
.single-product .product_meta span.sku_wrapper {
    display: flex;
}
/* =================================================================
   PRODUCT TABS
   ================================================================= */

.woocommerce-tabs {
    margin: 60px 0 40px 0;
    border-top: 1px solid #f0f0f0;
    padding-top: 40px;
}

.woocommerce-tabs .wc-tabs {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0 0 40px 0;
    padding: 0;
    gap: 40px;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-tabs .wc-tabs li a {
    display: block;
    padding: 15px 0;
    color: #999;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.woocommerce-tabs .wc-tabs li.active a,
.woocommerce-tabs .wc-tabs li a:hover {
    color: #333;
    border-bottom-color: #333;
}

.woocommerce-tabs .wc-tab {
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* =================================================================
   DEFAULT WOOCOMMERCE RELATED PRODUCTS
   ================================================================= */

.single-product .related.products {
    margin: 40px 0;
    padding: 0;
}

.single-product .related.products h2,
.wowmart-recently-viewed h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}



/* =================================================================
   RECENTLY VIEWED
   ================================================================= */

.wowmart-recently-viewed {
    margin: 80px 0 40px 0;
}


.wowmart-recently-viewed .products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* =================================================================
   PRODUCT CARDS - MATCH SHOP PAGE STYLING
   ================================================================= */

.wowmart-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.wowmart-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-color: #ddd;
}

.wowmart-product-card .product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #f8f8f8;
    aspect-ratio: 1;
}

.wowmart-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wowmart-product-card:hover .product-image img {
    transform: scale(1.05);
}

.wowmart-product-card .product-info {
    padding: 15px;
    text-align: center;
}

.wowmart-product-card .product-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
    text-decoration: none;
    display: block;
}

.wowmart-product-card .product-title:hover {
    text-decoration: none;
    color: #e74c3c;
}

.wowmart-product-card .product-price {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.wowmart-product-card .product-price del {
    color: #999;
    font-weight: 400;
    margin-right: 8px;
    font-size: 14px;
}

.wowmart-product-card .product-price ins {
    text-decoration: none;
    color: #e74c3c;
}

.wowmart-product-card .add-to-cart {
    background: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.wowmart-product-card .add-to-cart:hover {
    background: #222;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Product card variations for different states */
.wowmart-product-card .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
    text-transform: uppercase;
    z-index: 2;
}

.wowmart-product-card .product-badge.sale {
    background: #27ae60;
}

.wowmart-product-card .product-badge.new {
    background: #3498db;
}

/* =================================================================
   RESPONSIVE DESIGN
   ================================================================= */

@media (max-width: 768px) {
    .single-product .woocommerce div.product {
        flex-direction: column;
        gap: 30px;
    }
    
    .single-product .woocommerce div.product .product-images,
    .single-product .woocommerce div.product .summary {
        min-width: auto;
    }
    
    .woocommerce-product-gallery .flex-control-thumbs {
        position: static;
        flex-direction: row;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
    
    .woocommerce-product-gallery .flex-control-thumbs li {
        width: 60px;
        height: 60px;
    }
    
    .woocommerce-tabs .wc-tabs {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .wowmart-related-products .products,
    .wowmart-recently-viewed .products,
    .single-product .related.products ul.products {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .single-product .woocommerce div.product {
        gap: 20px;
    }
    
    .single-product .product_title {
        font-size: 20px;
    }
    
    .wowmart-related-products .products,
    .wowmart-recently-viewed .products,
    .single-product .related.products ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* =================================================================
   NOTIFICATION STYLES
   ================================================================= */

.wowmart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    background: #333;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    z-index: 99999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.wowmart-notification.show {
    transform: translateX(0);
}

.wowmart-notification-success {
    background: #27ae60;
}

.wowmart-notification-error {
    background: #e74c3c;
}

/* =================================================================
   VIDEO POPUP STYLES
   ================================================================= */

.wowmart-video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wowmart-video-popup.active {
    opacity: 1;
    visibility: visible;
}

.wowmart-video-popup .video-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.wowmart-video-popup .video-popup-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
}

.wowmart-video-popup .video-popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.wowmart-video-popup .video-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.wowmart-video-popup .video-popup-content {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.wowmart-video-popup iframe {
    width: 100%;
    height: 100%;
    border: none;
}

body.wowmart-video-popup-open {
    overflow: hidden;
}