.woosuite-mix-and-match-wrapper {
    display: block;
    width: 100%;
    clear: both;
}

.woosuite-mix-and-match-selected .woosuite-mix-and-match-item {
    background-color: #f9eed9;
}

.woosuite-mix-and-match-column {
    width: 48%;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 20px;
}

@media screen and (max-device-width: 1000px) {
    .woosuite-mix-and-match-column {
        width: 100%;
    }
}

.woosuite-mix-and-match-item {
    padding: 13px;
    margin: 5px;
    float: left;
    text-align: center;
    position: relative;
    width: calc(100% / 3 - 10px);
}

@media screen and (max-device-width: 1200px) {
    .woosuite-mix-and-match-item {
        width: calc(100% / 2 - 10px);
    }
}

@media screen and (max-device-width: 400px) {
    .woosuite-mix-and-match-item {
        width: 100%;
    }
}

.woosuite-mix-and-match-item p {
    line-height: 20px;
    margin: 0 !important;
    padding: 0 !important;
}

.woosuite-mix-and-match-item:hover {
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.woosuite-mix-and-match-item img {
    width: 65% !important;
    margin: 0 auto;
}

.woosuite-mix-and-match-item:before {
    content: "";
    float: left;
    padding-top: 100%; /* initial ratio of 1:1*/
}

.woosuite-mix-and-match-available .dashicons,
.woosuite-mix-and-match-selected .dashicons {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    float: left;
    margin-top: 3.5vh;
    font-size: 3.5vw;
    color: #fff;
}

.woosuite-mix-and-match-item:hover .dashicons {
    display: inline;
}

.woosuite-mix-and-match-calculated-price .grand-total-top,
.woosuite-mix-and-match-add-to-cart .original-box-total,
.woosuite-mix-and-match-add-to-cart .box-total,
.woosuite-mix-and-match-add-to-cart .box-charges,
.woosuite-mix-and-match-add-to-cart .grand-total {
    display: inline;
}

.woosuite-mix-and-match-add-to-cart table {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background-color: none !important;
}

table.woosuite-mix-and-match-cart-item,
.woosuite-mix-and-match-cart-item tr,
.woosuite-mix-and-match-cart-item td {
    border: none;
    padding: 0 !important;
    margin: 0 !important;
    background-color: none !important;
}

.woosuite-mix-and-match-box tr,
.woosuite-mix-and-match-box td {
    border: none;
    padding: 5px 0 !important;
}

.woosuite-mix-and-match-box {
    background-color: #f4f4f4;
    padding: 15px;
}

.woosuite-mix-and-match-box table tr td:nth-last-child(1) {
    text-align: right;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    height: auto;
}

.stepper {
    border: 1px solid #eee;
    display: inline-block;
    overflow: visible;
    height: 2.1em;
    background: #fff;
    padding: 1px;
}

.stepper input {
    width: 3em !important;
    height: 100%;
    text-align: center;
    border: 0;
    background: transparent;
    color: #000;
    appearance: textfield;
    display: inline-block;
}

.stepper button {
    width: 1.4em;
    font-weight: 300;
    height: 100%;
    line-height: 0.1em;
    font-size: 1.4em;
    padding: 0.2em !important;
    background: #eee;
    color: #333;
    border: none;
    display: inline-block;
    vertical-align: top;
}

.woosuite-mix-and-match-wrapper h2 {
    text-align: center;
    margin-bottom: 50px;
}


.woosuite-mix-and-match-progress-wrap {
    float: left;
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
}

.woosuite-mix-and-match-filled-progress {
    display: inline-block;
    float: left;
    position: relative;
    width: 150px;
}

.woosuite-mix-and-match-box-count {
    position: absolute;
    top: -43px;
    left: calc(0% - 25px);
    padding: 0 5px;
    background-color: #ededed;
    transition: all 0.5s ease-in-out;
    min-width: 47px;
    white-space: nowrap;
}

.woosuite-mix-and-match-box-count::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-bottom-style: solid;
    border-bottom-width: 8px;
    border-top-color: #ededed;
    border-bottom: 0;
    margin-left: -8px;
    margin-bottom: -8px;
}

.woosuite-mix-and-match-progress-bar {
    width: 100%;
    height: 10px;
    border: 1px solid #ddd;
    background-color: #f0f0f0;
    position: relative;
    border-radius: 20px;
}

.woosuite-mix-and-match-filled-part {
    background-color: #D9CF75;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    transition: all 0.5s ease-in-out;
    width: 0%;
    border-radius: 20px;
}

.woosuite-mix-and-match-calculated-price-wrap {
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    margin-top: -24px;
    margin-left: 20px;
}

.woosuite-mix-and-match-calculated-price-wrap .woosuite-mix-and-match-calculated-label {
    color: #999999;
}

.woosuite-mix-and-match-calculated-price-wrap .woosuite-mix-and-match-calculated-price {
    font-weight: 700;
    color: #ee9823;
    font-size: 22px;
}

.woosuite-mix-and-match-add-to-cart table,
.custom-message {
    width: 100%;
}

.woosuite-mix-and-match-wrapper p.description {
    margin-bottom: 100px;
}

#woosuite-mix-and-match-wrapper.enabled-popup {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: opacity 0.25s, visibility 0s 0.25s;
    background-color: #fff;
    padding-bottom: 60px;
}

#woosuite-mix-and-match-wrapper.enabled-popup.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s;
    z-index: 999;
}

body.woosuite-mix-and-match-wrapper-open {
    position: relative;
}

.woosuite-mix-match-close {
    position: absolute;
    right: 20px;
    top: 10px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    cursor: pointer;
}
.woosuite-mix-match-close:hover {
    opacity: 1;
}
.woosuite-mix-match-close:before, .woosuite-mix-match-close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #333;
}
.woosuite-mix-match-close:before {
    transform: rotate(45deg);
}
.woosuite-mix-match-close:after {
    transform: rotate(-45deg);
}
