﻿/* .visa-tooltip, .mc-tooltip, .pp-tooltip, .apple-tooltip, .gpay-tooltip {
  color: #fff !important;
  opacity: 1 !important;
  text-shadow: none !important;
  filter: none !important;
}
.visa-tooltip, .mc-tooltip, .pp-tooltip, .apple-tooltip, .gpay-tooltip {
  color: #fff !important;
}
.footer .visa-tooltip, .footer .mc-tooltip, .footer .pp-tooltip, .footer .apple-tooltip, .footer .gpay-tooltip {
  color: #fff !important;
}
/* Tooltip text color override for footer 
.footer-payment-icon + div,
.visa-tooltip,
.mc-tooltip,
.pp-tooltip,
.apple-tooltip,
.gpay-tooltip {
  color: #fff !important;
} */
/* footer, footer * {
  color: #222 !important;
} */
footer {
    /*background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 25%, #e3f2fd 50%, #ffffff 75%, #f0f8ff 100%) !important;*/
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 25%, #e3f2fd 50%, #ffffff 75%, #f0f8ff 100%) !important;
    /* color: #222; */
    border-top: 1px solid #e3f2fd;
}
/* Product card style to match seller_regist form background */
.product-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 25%, #e3f2fd 50%, #ffffff 75%, #f0f8ff 100%);
    border-radius: 1.25rem;
    box-shadow: 0 8px 24px rgba(102,126,234,0.08), 0 1.5px 6px rgba(102,126,234,0.08);
    border: 1px solid #e3f2fd;
}
/* Consistent small size for all card buttons */
.small-btn {
    padding: 0.3rem 0.7rem !important;
    font-size: 0.8rem !important;
    border-radius: 1rem !important;
    min-height: 2rem;
}
/* Smaller height for Buy Now button */
/* .buy-now-btn {
  padding-top: 0.3rem !important;
  padding-bottom: 0.3rem !important;
} */
/* Custom size for product action buttons */
.product-action-btn {
    padding: 0.375rem 0.75rem; /* py-1.5 px-3 */
    font-size: 0.85rem; /* smaller text */
    border-radius: 0.5rem; /* rounded-lg */
    font-weight: 400;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
/* shoplive.css - Styles for shoplive.html, matching seller_regist.html button and background styles */

body {
/*    background: linear-gradient(135deg, #0066CC 10%, #1e90ff 50%, #4169e1 100%);*/
    font-family: 'Segoe UI', 'Arial', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/*    background-image: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 50%), radial-gradient(circle at 60% 70%, rgba(240, 147, 251, 0.1) 0%, transparent 50%), radial-gradient(circle at 90% 10%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);*/
    animation: float 20s ease-in-out infinite;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/*    background-image: radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent), radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.2), transparent), radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.3), transparent), radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.2), transparent), radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.3), transparent);*/
    background-repeat: repeat;
    background-size: 200px 150px;
    animation: sparkle 25s linear infinite;
    z-index: -1;
}

@keyframes sparkle {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-200px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(1deg);
    }

    66% {
        transform: translateY(10px) rotate(-1deg);
    }
}

.next-btn {
    background: linear-gradient(135deg, #667eea 0%, #1e90ff 50%, #4169e1 100%);
    color: white;
    border: none;
    /*    padding: clamp(8px, 2vw, 10px) clamp(15px, 2vw, 25px);*/
    padding: clamp(6px, 2vw, 8px) clamp(13px, 2vw, 23px);
    border-radius: 30px;
    /*    font-size: clamp(10px, 2vw, 10px);*/
    font-size: clamp(12px, 2vw, 13px);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4), 0 5px 15px rgba(118, 75, 162, 0.3);
    white-space: nowrap;
    /*    letter-spacing: 1px;*/
    backdrop-filter: blur(10px);
}

    .next-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .next-btn:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5), 0 8px 20px rgba(118, 75, 162, 0.4);
    }

        .next-btn:hover::before {
            left: 100%;
        }

    .next-btn:active {
        transform: translateY(-1px) scale(1.02);
    }

.popup-close {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-left: auto;
    backdrop-filter: blur(5px);
}

    .popup-close:hover {
        background: rgba(255, 255, 255, 0.3);
        color: white;
        transform: scale(1.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }


/*@media (max-width: 767px) {
    .filter-sidebar {
        position: sticky;
        left: -100%;
        top: 0;
        height: 100vh;
        width: 80vw;
        z-index: 45;
        transition: left 0.3s ease;
        overflow-y: auto;
        margin-top: 0 !important;
    }
    .filter-sidebar.open {
        left: 0;
    }
    .filter-backdrop {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 44;
        display: none;
    }
    .filter-backdrop.show {
        display: block;
    }
}
*/






@media (max-width: 767px) {
    /*.filter-sidebar {
        position: fixed !important;
        top: 0;
        left: 0;
        height: 100vh;
        width: 80vw;
        max-width: 320px;
        z-index: 1200;
        background: #fff !important;*/ /* Make it solid white */
        /*box-shadow: 2px 0 16px rgba(0,0,0,0.08);
        transition: transform 0.3s ease;
        transform: translateX(-100%);
        display: block;*/
        /* Remove blur and transparency */
        /*backdrop-filter: none !important;
    }

        .filter-sidebar.open {
            transform: translateX(0);
        }*/


    .filter-sidebar {
        position: fixed !important;
        top: 0;
        left: 0;
        height: 100vh;
        width: 80vw;
        max-width: 320px;
        z-index: 1200;
        background: #fff !important;
        box-shadow: 2px 0 16px rgba(0,0,0,0.08);
        transition: transform 0.3s ease;
        transform: translateX(-100%);
        display: block;
        backdrop-filter: none !important;
        overflow-y: auto; /* Make sidebar scrollable */
    }

        .filter-sidebar.open {
            transform: translateX(0);
        }

    .filter-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
/*        background: rgba(0,0,0,0.3);*/
        z-index: 1199;
        display: none;
    }

        .filter-backdrop.show {
            display: block;
        }
}

/*@media (min-width: 640px) {
    .filter-sidebar {
        position: sticky;
        left: auto;
        top: auto;
        height: auto;
        width: 16rem;*/ /* 64 * 0.25rem = 16rem */
        /*z-index: 1;
        transition: none;
        overflow-y: hidden !important;
        margin-top: 0px;
        display: block !important;
    }
}*/

@media (min-width: 640px) {
    .filter-sidebar {
        position: sticky;
        left: auto;
        top: auto;
        height: 100vh; /* Set fixed height */
        width: 16rem;
        z-index: 1;
        transition: none;
        overflow-y: auto !important; /* Make sidebar scrollable */
        margin-top: 0px;
        display: block !important;
    }
}



@media (min-width: 768px) {
    .filter-btn-mobile {
        display: none !important;
    }
}
/*@media (min-width: 768px) and (max-width: 1023px) {
    .product-card-image {
        height: 140px !important;
    }
    
}*/

@media (max-width: 768px) {
    .product-card-image {
        height: 180px !important;
    }
}

/*css for cart command filter button content mobile view*/
@media (max-width: 767px) {
    .button-row {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        gap: 0.35rem;
        margin-top: 0.5rem;
    }
}

















/* Enhanced search bar styling */
#searchInput {
    background: linear-gradient(90deg, #e0e7ff 0%, #fff 100%);
    border: 1.5px solid #3b82f6;
    border-radius: 1rem;
    padding-left: 0.5rem;
    box-shadow: 0 2px 12px rgba(59,130,246,0.08);
    transition: box-shadow 0.2s, border-color 0.2s;
    font-size: 1rem;
}

    #searchInput:focus {
        border-color: #2563eb;
        box-shadow: 0 4px 16px rgba(59,130,246,0.15);
        background: linear-gradient(90deg, #dbeafe 0%, #fff 100%);
    }

/* Search icon inside input */
.searchbar-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
    font-size: 1.2rem;
    pointer-events: none;
}
















