.itemCounter {
    position: relative;
}
.itemCounter .pseudoSelector {
    width: 90px;
    height: 45px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #929292;
    border-radius: 4rem;
    padding: 0 1rem 0 0.75rem;
}
@media (max-width: 767.98px) {
    .itemCounter .pseudoSelector {
        width: 75px;
    }
}
.itemCounter .pseudoSelector .val {
    font-size: 1rem;
    font-weight: bold;
    flex-grow: 1;
    text-align: center;
}
.itemCounter .icon {
    position: relative;
    top: 0;
    font-weight: 700;
    font-size: 1.25em;
    margin-right: -0.25em;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.itemCounter .icon:before {
    content: "\e91c";
    font-size: inherit;
    color: #111;
    font-family: "fundament-icons", "NotoIKEALatin";
    display: inline-block;
    vertical-align: middle;
    padding-right: 0;
    line-height: 0;
}
.itemCounter .quantityOptions {
    display: none;
    border: 1px solid #B4B4B4;
    border-radius: 0.25rem;
    background-color: white;
    min-width: 90px;
    z-index: 2;
    cursor: pointer;
}
.itemCounter .quantityOptions.active {
    display: block;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
}
.itemCounter .quantityOptions .option {
    font-weight: normal;
    width: 100%;
    text-align: right;
    padding: 4px 1rem;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}
.itemCounter .quantityOptions .option:hover, .itemCounter .quantityOptions .option.active {
    font-weight: bold;
    background-color: #DFDFDF;
}
.itemCounter .quantityOptions .option:hover {
    cursor: pointer;
}
.itemCounter .inputWrapper {
    display: none;
}
.itemCounter .inputWrapper.active {
    display: block;
}
.itemCounter .inputWrapper :not(.wc-input-field) .val {
    width: 90px;
    height: 45px;
    border: 1px solid #929292;
    text-align: center;
    border-radius: 4rem;
    font-size: 1rem;
    font-weight: bold;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
            appearance: textfield;
}
@media (max-width: 767.98px) {
    .itemCounter .inputWrapper :not(.wc-input-field) .val {
        width: 75px;
        height: 40px;
    }
}
.itemCounter .inputWrapper :not(.wc-input-field) .val::-webkit-outer-spin-button, .itemCounter .inputWrapper :not(.wc-input-field) .val::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.productBox .itemCounter {
    margin-bottom: 1em;
    cursor: pointer;
}
.productBox .itemCounter .value {
    position: relative;
}
.productBox .itemCounter .quantityOptions.active {
    left: 0;
}
.productBox .itemCounter .quantityOptions.active .option {
    text-align: left;
}

.modal .itemCounter .quantityOptions.active {
    display: block;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
}
@media (max-width: 991.98px) {
    .modal .itemCounter .quantityOptions.active {
        top: calc(100% + 0.5rem);
        bottom: auto;
        right: auto;
        left: 0;
    }
}
