/* Variation Table */

table.variations tbody>tr:nth-child(odd)>th,
table.variations tbody>tr:nth-child(odd)>td,
table.variations tbody>tr:hover>th,
table.variations tbody>tr:hover>td {
    background-color: unset;
}

table.variations tbody>tr th,
table.variations tbody>tr td {
    padding: 0;
    margin: 0;
}

table.variations tbody>tr th.label {
    text-align: start;
}

/* Custom Dropdown */
.custom-dropdown-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
    cursor: pointer;
}

.custom-dropdown-trigger {
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
}

.custom-dropdown-list {
    position: absolute;
    z-index: 10;
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #ccc;
    background: #fff;
    width: 100%;
    display: none;
    max-height: 200px;
    overflow-y: auto;
}

.custom-dropdown-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

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

.custom-dropdown-item.disabled {
    color: #aaa;
    pointer-events: none;
}

/* quantity input */
#custom-quantity {
    --input-h: 38px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 0px;
    overflow: hidden;
    background: #fff;
    padding: 0;
}

#custom-quantity .qty-btn {
    height: var(--input-h);
    /* background: transparent; */
    border: none;
    font-size: 18px;
    padding: 0 10px;
    cursor: pointer;
    /* color: #333; */
    margin: 0;
    font-weight: 500;
    transition: background 0.2s;
}

#custom-quantity .qty-minus {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
#custom-quantity .qty-plus {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}


#custom-quantity input.qty {
    padding: 0;
    width: 30px;
    height: var(--input-h);
    text-align: center;
    border: none;
    box-shadow: none;
    outline: none;
    font-size: 16px;
    font-weight: 400;
    /* background-color: transparent; */
}

/* Chrome, Safari, Edge, Opera */
#custom-quantity input.qty::-webkit-outer-spin-button,
#custom-quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
#custom-quantity input.qty[type=number] {
    -moz-appearance: textfield;
}