/*********************************
******** Helper class
^********************************/
.hidden {
    display: none;
}

/*********************************
******** Override woocommerce styles
^********************************/
.pc-variations-table a.reset_variations {
    margin-left: 0;
}

.pc-variations-table input[type=radio] {
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

.pc-attribute-description {
    vertical-align: middle;
    padding-left: .3rem;
    font-size: 0;
    display: none;
}
.woocommerce-tabs .pc-attribute-description {
    display: inline-block;
}

.pc-attribute-description .pc-tooltip {
    font-size: 1rem;
}

.loop-variation .quantity{
    display: none!important;
}
/*********************************
******** pc-variation-color START
^********************************/

.pc-variation-color__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: -10px -5px 0;
}

.pc-variation-color__control {
    margin: 10px 5px 0;
    border-radius: 2px;
    padding: 4px;
    border: 1px solid #dcdcdc;
    width: 38px;
    height: 38px;
    position: relative;

}

.pc-variation-color__control.disabled:after {
    content: '';
    width: 130%;
    height: 1px;
    background: #dcdcdc;
    z-index: 10;
    position: absolute;
    transform: rotate(-45deg);
    left: -14%;
    bottom: 50%;
}

.pc-variation-color__control.disabled .pc-variation-color__variable-color {
    opacity: 0.5;
}

.pc-variation-color__variable-color {
    border: 1px solid #f1f1f1;
    display: block;
    border-radius: 2px;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    position: relative;
    width: 28px;
    height: 28px;
    background: -webkit-linear-gradient(top,rgba(255,255,255,.3),rgba(255,255,255,0));
    background: -webkit-gradient(linear, from(rgba(255,255,255,.3)),to(rgba(255,255,255,0)));
    background: -webkit-linear-gradient("to bottom", rgba(255,255,255,.3),rgba(255,255,255,0));
    background: -o-linear-gradient("to bottom", rgba(255,255,255,.3),rgba(255,255,255,0));
    background: linear-gradient("to bottom", rgba(255,255,255,.3),rgba(255,255,255,0));
}


.pc-variation-color__control.variable-active {
    border-color: #777;
}

.pc-variation-color__control.variable-active .pc-variation-color__variable-color:before {
    content: '✓';
    position: absolute;
    display: block;
    color: #fff;
    left: 50%;
    top: 50%;
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

/*********************************
******** pc-variation-color END
^********************************/

.pc-variation-label__list {
    margin: -10px -5px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.pc-variation-label__list-item {
    margin: 10px 5px 0;
}

.pc-variation-label__control {
    color: #000;
    font-size: 0.9rem;
    border: 1px solid #dcdcdc;
    padding: 6px 4px;
    min-width: 40px;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.pc-variation-label__control:not(.disabled):not(.variable-active):hover {
    background: #f6f6f6;
}

.pc-variation-label__control.disabled {
    /*cursor: not-allowed;*/
    background: #dcdcdc;
    opacity: 0.5;
}

.pc-variation-label__control.variable-active {
    opacity: 1;
    border-color: #777;
}
/*********************************
******** pc-variation-color END
^********************************/


/*********************************
******** pc-variation-image START
^********************************/

.pc-variation-image__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: -10px -5px 0;
}

.pc-variation-image__list-item {
    margin: 10px 5px 0;
    position: relative;
}

.pc-variation-image__control {
    cursor: pointer;
    border: 1px solid #dcdcdc;
    position: relative;
}

.pc-variation-image__control:hover,
.pc-variation-image__control.variable-active {
    border: 1px solid #777;
}

.pc-variation-image__control.disabled .pc-variation-image__variable-photo{
    opacity: 0.5;
    /*cursor: not-allowed;*/
}

.pc-variation-image__variable-photo {
    width: 38px;
    height: 38px;
    display: block;
    position: relative;
    border: 3px solid #fff;
    -webkit-box-shadow: inset 0 0 0 1px #dcdcdc;
    box-shadow: inset 0 0 0 1px #dcdcdc;
    font-size: 0;
}
.pc-variation-image__variable-image {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    max-width: 100%;
    max-height: 100%;
}

.pc-variation-image__drop-photo {
    z-index: 10;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    padding: 5px;
    background: #a1a1a1;
    border-radius: 2px;
    visibility: hidden;
    opacity: 0;
    transition: .2s;
}

.pc-variation-image__control:not(.variable-active):hover + .pc-variation-image__drop-photo {
    visibility: visible;
    opacity: 1;
    bottom: calc(100% + 20px);
}

.pc-variation-image__drop-photo-title {
    color: #fff;
    text-align: center;
    padding: 3px 0;
    font-size: 0.9rem;
}

.pc-variation-image__drop-photo-title:before {
    content: '';
    top: 100%;
    left: 50%;
    border: solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: #a1a1a1 transparent transparent;
    border-width: 5px;
    margin-left: -5px;
}
/*********************************
******** pc-variation-image END
^********************************/




/*********************************
******** pc-variation-image START
^********************************/

.pc-variation-radio__list-item {
    margin-bottom: 4px;
}

.pc-variation-radio__control:not(.variable-active).disabled {
    /*cursor: not-allowed;*/
    opacity: 0.5;
}
/*********************************
******** pc-variation-image END
^********************************/

/*********************************
******** pc-variations-table START
^********************************/

.pc-variations-table {
    display: table;
}

.pc-variations-table--loop-product {
    width: 100%;
    table-layout: fixed;
}

.pc-variations-table__row {
    display: table-row;
}

.pc-variations-table__column {
    display: table-cell;
    vertical-align: middle;
    padding: 10px 0;
}

.pc-variations-table--loop-product .pc-variations-table__row:not(:first-child) .pc-variations-table__column {
    padding-top: 0;
}

.pc-variations-table__column--label {
    line-height: 1;
    font-size: 1rem;
    padding-right: 10px;
}

.pc-variations-table--loop-product .pc-variations-table__column--label {
    width: 40%;
}

.pc-variations-table--loop-product .pc-variations-table__column--label > *{
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.pc-variations-table--loop-product .pc-variations-table__column--value {
    width: 60%;
}
/*********************************
******** pc-variations-table END
^********************************/



/*********************************
******** pc-tooltip START
^********************************/

.pc-tooltip {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.pc-tooltip__drop {
    display: none;
    position: absolute;
    z-index: 10;
    left: 100%;
    top: -5px;
    padding-left: 3px;
}

.pc-tooltip__ico:hover .pc-tooltip__drop {
    display: block;
}

.pc-tooltip__desc {
    border: 1px solid #f0f0f0;
    -webkit-box-shadow: 0 3px 10px rgba(240, 240, 240, 1);
    box-shadow: 0 3px 10px rgba(240, 240, 240, 1);
    background: #fff;
    font-size: .9rem;
    padding: 15px;
    width: 200px;
    font-family: Arial,sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #666;
    text-transform: none;
    line-height: 1.3;
    text-decoration: none;
}

@media (min-width: 1200px){
    .pc-tooltip__desc {
        width: 400px;
    }
}

/*********************************
******** pc-tooltip END
^********************************/


/*********************************
******** Woocommerce
^********************************/
.loop-variation .button.single_add_to_cart_button.alt {
    background: #eeeeee;
    color: #333;
    border-color: #eeeeee;
}
.loop-variation .button.single_add_to_cart_button.alt.loading {
    color: #eeeeee;
}
.loop-variation .button.single_add_to_cart_button.alt:hover {
    background-color: #d5d5d5;
    border-color: #d5d5d5;
    color: #777;
}

.woocommerce-tabs.wc-tabs-wrapper {
    overflow: initial;
}

/*********************************
******** Classes from settings
^********************************/
.premmerce-circle {
    border-radius: 50%;
}
