

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    display: none;
    justify-content: center;
    align-items: center;
}




.category-filter-wrapper {
    margin-bottom: 20px;
    text-align: center;
}

.category-filter-wrapper select {
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.category-filter-wrapper button {
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #17044D;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

.category-filter-wrapper button:hover {
    background-color: #17044D;
}


.category-line {
    position: relative;
    width: 100%;
    height: 10px;
    border-bottom: 2px solid black; /* Line color */
    text-align: center;
    margin-bottom: 15px; /* Space below the line */
    
}

.category-box {
    background-color: #17044D; /* Dark orange background color */
    font-weight: bold;
    color: white; /* White text color */
    font-size: 18px; /* Increased font size */
    border-radius: 5px; /* Rounded corners */
    padding: 5px 10px; /* Padding inside the box */
    text-transform: uppercase; /* Convert text to uppercase */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    transition: background-color 0.3s; /* Smooth transition for background color change */
    border: 1px solid #ddd;
    position: absolute;
    top: -10px; /* Adjust this value to move the box up or down */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.qwoo-cart-totals-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f9f9f9;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px 10px 0 0;
    z-index: 1000;
    text-align: center;
}

.qwoo-cart_total {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold; /* Make text bold */
}

.qwoo-cart_total .qwoo-cart-product-count {
    
    padding: 10px 20px;
  
}

.qwoo-cart_total .qwoo-order-total {
    
    padding: 10px 20px;
    
}

.qwoo-cart_total .button.qwoo-proceed-to-checkout {
    margin-left: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #17044D;
    color: white;
}







/* Base styles for all views */
.woocommerce-cart-form__cart-item {
    border: 1px solid #A9A9A9; /* Border color */
    border-radius: 5px; /* Border radius */
    padding: 10px; /* Padding inside the box */
    margin-bottom: 20px; /* Space between boxes */
    background-color: #fff; /* Light background color */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border-collapse: collapse; /* Prevents any lines from collapsing borders */
}







/* Remove border-collapse issue for table */
.shop_table_responsive {
    border-collapse: separate !important;
}

/* Specific styles for category line */
.category-line {
    position: relative;
    width: 100%;
    height: 10px;
    border-bottom: 2px solid black; /* Line color */
    text-align: center;
    margin-bottom: 15px; /* Space below the line */
}

.category-box {
    background-color: #17044D; /* Dark blue background color */
    font-weight: bold;
    color: white; /* White text color */
    font-size: 18px; /* Increased font size */
    border-radius: 5px; /* Rounded corners */
    padding: 5px 10px; /* Padding inside the box */
    text-transform: uppercase; /* Convert text to uppercase */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    transition: background-color 0.3s; /* Smooth transition for background color change */
    border: 1px solid #ddd;
    position: absolute;
    top: -10px; /* Adjust this value to move the box up or down */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}



/* ===== MODAL WRAPPER ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);

    width: 500px;
    max-width: 95%;
}

/* ===== IMAGE ===== */
.modal-image {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
    display: block;
}

/* ===== CLOSE BUTTON ===== */
.close {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 22px;
    background: red;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    cursor: pointer;
}

.close:hover {
    background: darkred;
}

/* ===== ARROWS ===== */
.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    font-size: 28px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
}

/* Keep arrows INSIDE modal */
.modal-prev {
    left: 10px;
}

.modal-next {
    right: 10px;
}

.modal-prev:hover,
.modal-next:hover {
    background: black;
}


.quantity-wrapper {
    display: flex;
    align-items: center;
}

.qty-btn {
    background-color: #17044D; /* Dark orange background color */
    color: white; /* White text color */
    border: none;
    border-radius: 3px;
    width: 30px;
    height: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.qty-btn:hover {
    background-color: #17044D; /* Slightly darker shade on hover */
}

.qty {
    width: 60px; /* Increase width for better visibility */
    text-align: center;
    font-size: 16px;
    margin: 0 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 5px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    transition: border-color 0.3s;
}

.qty:focus {
    border-color: #17044D; /* Dark orange border color on focus */
    outline: none;
}
.regular-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.sale-price {
    color: #17044D; /* Dark orange color for the sale price */
    font-weight: bold;
}

/* CSS for Clear Filter button */
#clear-filter {
    margin-left: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #17044D;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#clear-filter:hover {
    background-color: #17044D; /* Darker shade on hover */
}

/* Container styling to keep it separate from title */
.product-video-button-container {
    margin-top: 12px;
    margin-bottom: 5px;
    display: block;
}

/* Professional Video Button Style */
.view-video-btn {
    background-color: #17044D; /* Unga theme oda Primary Dark Blue */
    color: #ffffff !important;
    border: 1px solid #FF0000; /* YouTube Red outline for hint */
    padding: 6px 16px;
    border-radius: 25px; /* Pill shape for modern look */
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Hover Effect */
.view-video-btn:hover {
    background-color: #FF0000; /* Hover pannumpothu YouTube Red-ah maarum */
    border-color: #FF0000;
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.2);
    color: #ffffff;
}

/* Active/Click Effect */
.view-video-btn:active {
    transform: translateY(0);
}

/* Modal Iframe adjustments for smooth edges */
.modal iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    border: none;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}