
                .dropdown {
            position: relative;
            width: 100%; /* full width on mobile */
        }

        /* Hide dropdown menu by default */
        .dropdown-menu {
            display: none;
            position: static; /* static on mobile */
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-shadow: none;
            padding-left: 10px;
            margin-top: 6px;
            width: 100%;
        }

        /* Dropdown items styling */
        .dropdown-item {
            display: block;
            padding: 8px 12px;
            font-size: 0.875rem;
            color: #333;
            text-decoration: none;
            white-space: nowrap;
            transition: background-color 0.2s ease;
        }

        .dropdown-item:hover {
            background-color: #f5f5f5;
            color: #dc2626;
        }

        /* Show dropdown on desktop hover */
        @media (min-width: 768px) {
            .dropdown-menu {
                position: absolute;
                top: 100%;
                left: 0;
                box-shadow: 0 4px 8px rgba(0,0,0,0.1);
                width: 160px;
                padding-left: 0;
                margin-top: 0;
            }

            .dropdown:hover .dropdown-menu {
                display: block;
            }
        }

        /* Show dropdown if .open class added */
        .dropdown.open .dropdown-menu {
            display: block;
        }

        /* Mobile menu dropdown - hidden by default */
        #mobileMenu .dropdown-menu {
            display: none;
            padding-left: 12px;
            margin-top: 4px;
            border-left: 2px solid #dc2626; /* subtle indicator */
        }

        /* Show dropdown when open */
        #mobileMenu .dropdown.open .dropdown-menu {
            display: block;
        }

        /* Optional: cursor pointer for toggle */
        #mobileMenu .dropdown-toggle {
            cursor: pointer;
        }

        /* Image preview styling */
        #imagePreview {
            max-width: 100%;
            max-height: 300px;
            margin: 15px auto;
            display: none;
            border-radius: 4px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        /* Range slider styling */
        .slider-container {
            width: 100%;
            margin: 20px 0;
        }

        .slider {
            -webkit-appearance: none;
            width: 100%;
            height: 8px;
            border-radius: 4px;
            background: #d1d5db;
            outline: none;
        }

        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #dc2626;
            cursor: pointer;
        }

        .slider::-moz-range-thumb {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #dc2626;
            cursor: pointer;
        }

        .dimension-inputs {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }

        .dimension-input {
            flex: 1;
        }