.custom-variations-wrap{
    width: 100%;
    position: relative;
}
    .custom-variations-wrap .custom-variations-selected{
        cursor: pointer;
    }

.custom-variations-dropdown {
    margin-top: 4px;
    font-family: Arial, sans-serif;
    width: 100%;
    border: 1px solid #333;
    margin-bottom: 20px;
    position: absolute;
    display: none;
    z-index: 100;

}
.summary .variations select, .summary .stock {
    display:none !important;
}

.custom-variations-dropdown .custom-option {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.2s ease;
}

.custom-variations-dropdown .custom-option:last-child {
    border-bottom: none;
}

.custom-variations-dropdown .custom-option:hover {
    background-color: #f9f9f9;
}

.custom-variations-dropdown .custom-option .variation-name {
    font-weight: bold;
}

.custom-variations-dropdown .custom-option .stock-status {
    margin-left: 10px;
    font-size: 0.9em;
    color: #555;
    white-space: nowrap;
}

.custom-variations-dropdown .custom-option.out-of-stock .stock-status {
    color: #ff6a6a; /* or any color indicating out-of-stock status */
}

.custom-variations-dropdown .custom-option.few-left .stock-status {
    color: #e6a23c; /* or any color indicating limited stock */
}

/* Hide the default WooCommerce select dropdown */
.variations select {
    display: none;
}

/* Style the Notify me! link if it's added as an <a> tag */
.custom-variations-dropdown .notify-me-link {
    color: #21759b;
    text-decoration: none;
    font-size: 0.9em;
    margin-left: 10px;
}

.custom-variations-dropdown .notify-me-link:hover {
    text-decoration: underline;
}
