/* Base styles from original, adapted for modern structure */
        .product-options-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            padding: 10px 0;
            /* Added for better mobile flow within the container */
            justify-content: center;
            margin-top: 15px;
        }

        .product-option {
            width: 120px;
            height: 180px;
            border: 2px solid #ccc;
            border-radius: 8px;
            padding: 5px;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: #333;
            text-align: center;
            transition: all 0.2s ease-in-out;
            cursor: pointer;
            /* Ensure it looks clickable */
        }

        .product-option:hover {
            border-color: #4F46E5;
            /* Use primary color from Tailwind config */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .product-option.selected {
            border-color: #28a745;
            box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
            /* Add a small icon to indicate selection */
            position: relative;
        }

        .product-option.selected::after {
            content: "\f00c";
            /* Font Awesome check icon */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            top: -10px;
            right: -10px;
            color: white;
            background-color: #28a745;
            border-radius: 50%;
            padding: 3px 6px;
            font-size: 12px;
            line-height: 1;
        }

        .product-option .option-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            height: 100%;
        }

        .product-option img {
            width: 100px;
            height: 100px;
            object-fit: contain;
            /* Changed to contain for product images */
            border-radius: 4px;
            margin-bottom: 8px;
        }

        .product-title-color {
            /* Renamed for clarity */
            font-size: 0.85em;
            font-weight: bold;
            display: block;
            line-height: 1.2;
        }

        .custom-option {
            background-color: #f8f9fa;
            border-style: dashed;
        }

        .custom-option .custom-text {
            font-size: 1em;
            font-weight: bold;
            color: #6c757d;
            text-transform: uppercase;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
        }

        /* Table Styles for Responsiveness and Alignment */
        .product-specs-table {
            width: 100%;
            /* Make it full width of its container */
            max-width: 600px;
            /* Limit max width on large screens */
            border-collapse: collapse;
            font-family: inherit;
            /* Use Poppins */
            margin: 20px 0;
            /* Add vertical margin */
        }

        .product-specs-table th,
        .product-specs-table td {
            border: 1px solid #ddd;
            padding: 10px 15px;
            text-align: left;
        }

        .product-specs-table th {
            background-color: #f2f2f2;
        }

        /* Utility to hide the dropdown before it's hovered */
        .group:hover .group-hover\:block {
            display: block;
        }

        /* Simple keyframe for a nice dropdown effect */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fade-in {
            animation: fadeIn 0.3s ease-out forwards;
        }

        /* Custom animation for WhatsApp button */
        @keyframes bounce-slow {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-5px);
            }
        }

        .animate-bounce-slow {
            animation: bounce-slow 2s infinite ease-in-out;
        }

        .no-scrollbar::-webkit-scrollbar {
            display: none;
        }

        .no-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

/* Premium absolute mobile menu fix */
    #mobile-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1050 !important;
        background-color: #ffffff !important;
    }
    
    /* Zero horizontal scroll guarantee */
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

.logo-img{
    height:60px;
    width:auto;
    object-fit:contain;
    display:block;
}

.navbar-logo{
    display:flex;
    align-items:center;
    text-decoration:none;
}

/* Cart Overlay & Drawer Styles */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(6px) !important;
    z-index: 1099 !important;
    transition: all 0.3s ease;
}
.cart-overlay.hidden {
    display: none !important;
}
.cart-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    height: 100% !important;
    width: 384px !important;
    max-width: 100vw !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1100 !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15) !important;
}
.cart-drawer.open {
    transform: translateX(0) !important;
}
.cart-badge {
    background-color: #FF3B3B !important;
    color: white !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    padding: 2px 6px !important;
    border-radius: 9999px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* Specific media query to override fixed premium-nav height on mobile and tablet viewports */
@media (max-width: 1023px) {
    nav.navbar.premium-nav {
        height: auto !important;
        min-height: 56px;
    }
}