.video-shopping-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.products-list {
    margin-top: 20px;
}

.add-all-to-cart-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: background-color 0.3s;
}

.add-all-to-cart-btn:hover {
    background-color: #218838;
}

.product-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-link {
    color: #007cba;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #007cba;
    border-radius: 5px;
    transition: all 0.3s;
    display: inline-block;
}

.product-link:hover {
    background-color: #007cba;
    color: white;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 30px;
    border: none;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease-in-out;
    position: relative;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    color: #666;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #333;
}

#product-details {
    text-align: center;
}

#product-details img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#product-details h2 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
    font-weight: 700;
}

#product-details .price {
    font-size: 1.4em;
    font-weight: bold;
    color: #007cba;
    margin: 10px 0;
}

#product-details .description {
    margin: 20px 0;
    line-height: 1.6;
    color: #666;
    text-align: left;
}

.add-to-cart,
.add-to-cart-btn {
    display: inline-block;
    background-color: #007cba;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 124, 186, 0.4);
}

.add-to-cart:hover,
.add-to-cart-btn:hover {
    background-color: #005a87;
    box-shadow: 0 6px 10px rgba(0, 90, 135, 0.6);
}

.add-to-cart-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}
