body[class^="wcvs-label-"].single .variations tr,
body[class*=" wcvs-label-"].single .variations tr {
    margin-bottom: 2rem;
}
body.wcvs-label-inline .variations tr {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    grid-gap: 2rem;
    margin-bottom: 1rem;
}
.wcvs-is-sequential table.variations tr,
.wcvs-consolidate-variations table.variations tr {
    display: none
}
/* .wcvs-is-sequential table.variations tr:first-of-type, */
.wcvs-is-sequential table.variations tr.visible {
    display: table-row;
}
/* body.wcvs-label-inline.wcvs-is-sequential table.variations tr:first-of-type, */
body.wcvs-label-inline.wcvs-is-sequential table.variations tr.visible {
    display: grid;
}
.single-product.wcvs-label-hidden div.product table.variations th {
    display: none
}
.single-product.wcvs-label-inline div.product table.variations tr:last-of-type th {
    margin-top: -26px;
}
.single-product.wcvs-label-inline div.product table.variations .value,
.single-product.wcvs-label-hidden div.product table.variations .value {
    margin: 0;
}
select.wcvs-hidden-dropdown {
    display: none !important;
}
.wcvs-attribute-wrapper ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    list-style: none !important;
    margin: 0;
    padding: 0;
}
.wcvs-attribute-wrapper-radio ul {
    display: block
}
.wcvs-attribute-wrapper li {
    display: flex;
    text-align: center;
}
.wcvs-attribute-wrapper li,
.wcvs-attribute-wrapper li label,
.wcvs-attribute-wrapper li label img,
.wcvs-color-swatch {
    transition: all 0.25s
}
.wcvs-attribute-wrapper li.disabled {
    /* pointer-events: none; */
    cursor: not-allowed
}
.wcvs-attribute-wrapper-text input,
.wcvs-attribute-wrapper-image input,
.wcvs-attribute-wrapper-color input {
    display: none;
}
.wcvs-attribute-wrapper-text li,
.wcvs-attribute-wrapper-image li,
.wcvs-attribute-wrapper-color li {
    display: inline-block;
    margin: 0.25rem 0
}
.wcvs-attribute-wrapper.hide li.disabled {
    display: none;
}
li.wcvs-item.wcvs-item-more {
    width: auto !important;
}
.wcvs-attribute-wrapper-text label {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    position: relative;
    width: 100%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #ddd;
    margin: 0 !important;
    cursor: pointer;
}
.wcvs-attribute-wrapper-radio ul li label {
    cursor: pointer
}
.wcvs-attribute-wrapper li.wcvs-item-more label {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    position: relative;
    width: 100%;
    box-shadow: none;
    border: 0;
    margin: 0 !important;
    cursor: pointer;
}
.wcvs-attribute-wrapper li.wcvs-item-more:hover label {
    background: inherit !important;
    color: inherit !important;
    box-shadow: inherit !important;
}
li.wcvs-item-more a {
    font-weight: bold;
}
.wcvs-attribute-wrapper-image li,
.wcvs-attribute-wrapper-color li {
    /* margin-right: 0.75rem; */
}
.wcvs-attribute-wrapper-image label,
.wcvs-attribute-wrapper-color label {
    cursor: pointer;
}
.wcvs-attribute-wrapper input[type=radio]+label {
    margin-left: 0;
    position: relative;
}
.wcvs-attribute-wrapper-radio.styled-radio input[type=radio]+label {
    padding-left: 1rem;
    height: 30px;
    line-height: 30px;
    display: inline-block;
}
.wcvs-attribute-wrapper-radio input[type=radio] {
    margin-right: 0.5rem;
}
/* .wcvs-attribute-wrapper-text li label:hover, */
.wcvs-attribute-wrapper-text li.checked label {
    background-color: blue;
    color: #fff
}
.wcvs-attribute-wrapper.cross li.disabled label {
    cursor: not-allowed;
    background: 
         linear-gradient(to top left,
             rgba(255, 0, 0, 0) 0%,
             rgba(255,0,0,0) calc(50% - 2px),
             rgba(255,0,0,1) 50%,
             rgba(255,0,0,0) calc(50% + 2px),
             rgba(255,0,0,0) 100%),
         linear-gradient(to top right,
             rgba(255,0,0,0) 0%,
             rgba(255,0,0,0) calc(50% - 2px),
             rgba(255,0,0,1) 50%,
             rgba(255,0,0,0) calc(50% + 2px),
             rgba(255,0,0,0) 100%);
}
.wcvs-attribute-wrapper-color.cross li.disabled label:after,
.wcvs-attribute-wrapper-image.cross li.disabled label:after {
    content: " ";
    background: 
         linear-gradient(to top left,
             rgba(255, 0, 0, 0) 0%,
             rgba(255,0,0,0) calc(50% - 2px),
             rgba(255,0,0,1) 50%,
             rgba(255,0,0,0) calc(50% + 2px),
             rgba(255,0,0,0) 100%),
         linear-gradient(to top right,
             rgba(255,0,0,0) 0%,
             rgba(255,0,0,0) calc(50% - 2px),
             rgba(255,0,0,1) 50%,
             rgba(255,0,0,0) calc(50% + 2px),
             rgba(255,0,0,0) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.wcvs-attribute-wrapper.circle li.disabled label:after {
    top: 3px;
    left: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
}
.wcvs-attribute-wrapper-image.cross label,
.wcvs-attribute-wrapper-color.cross label {
    position: relative;
    display: block;
}
.wcvs-attribute-wrapper-image.cross img {
    display: block;
}
.wcvs-attribute-wrapper.blur li.disabled label {
    cursor: not-allowed;
    filter: blur(2px);
}
.wcvs-attribute-wrapper.fade li.disabled label {
    cursor: not-allowed;
    opacity: 0.5
}
.wcvs-attribute-wrapper li.disabled,
.wcvs-attribute-wrapper.disabled li.disabled label {
    cursor: not-allowed;
}
.wcvs-attribute-wrapper li label img {
    display: inline;
    border: 2px solid #fff;
}
.wcvs-color-swatch {
    width: 30px;
    height: 30px;
    border: 3px solid #fff;
    display: block;
}
.wcvs-attribute-wrapper li label img:hover,
li .wcvs-color-swatch:hover {
    cursor: pointer;
}
.wcvs-attribute-wrapper li label img:hover,
li .wcvs-color-swatch:hover,
.wcvs-attribute-wrapper li.checked label img,
li.checked .wcvs-color-swatch {
    box-shadow: 0 0 0 3px #aaa;
}
.wcvs-attribute-wrapper.circle label,
.wcvs-attribute-wrapper.circle .wcvs-color-swatch,
.wcvs-attribute-wrapper.circle label img {
    border-radius: 50%
}
.wcvs-attribute-wrapper.rounded label,
.wcvs-attribute-wrapper.rounded .wcvs-color-swatch,
.wcvs-attribute-wrapper.rounded label img {
    border-radius: 8px
}
.wcvs-attribute-wrapper.cross.circle li.disabled label:after {
    top: 10px;
    left: 10px;
    width: calc( 100% - 20px );
    height: calc( 100% - 20px );
}
.styled-radio .wcvs-radio-button {
    content: "";
    position: absolute;
    top: 2px;
    left: -25px;
    height: 25px;
    width: 25px;
    background: #eee;
    cursor: pointer;
    border-radius: 50%;
}
.styled-radio .checked .wcvs-radio-button {
    background: #2a3edd;
}
.styled-radio .checked .wcvs-radio-button:after {
    content: "";
    position: absolute;
    top: 7px;
    left: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}

body.archive .variations tr {
    display: block;
    margin-bottom: 0.5rem;
}
.archive .variations tr th {
    display: none;
}
.archive table.variations td,
.archive table:not( .has-background ).variations tbody tr:nth-child(2n) td {
    padding: 0;
    background: none;
    display: block
}
body.archive.wcvs-label-inline .variations tr {
    margin-bottom: 0;
}
.archive .wcvs-attribute-wrapper {
    text-align: center;
}
.archive .wcvs-attribute-wrapper ul {
    justify-content: center;
    /* grid-gap: 10px; */
}
.archive .wcvs-attribute-wrapper ul li {
    /* margin-right: 0.25rem;
    margin-left: 0.25rem; */
}
.archive ul.products li.product .wcvs-attribute-wrapper ul li img {
    margin: 0
}
.archive .reset_variations {
    display: none !important;
}
.archive .wcvs-attribute-wrapper-radio {
	display: none
}
.archive .variations td {
    text-align: center;
}
.archive .variations td select {
    width: 200px;
    padding: 0.25rem;
}

/* Tooltips */
li.wcvs-item  {
    position: relative;
}
.wcvs-tooltip {
    visibility: hidden;
    opacity: 0;
    display: block;
    position: absolute;
    background: #fff;
    padding: 0 0.5rem 0.25rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    font-size: 12px;
    top: -110px;
    left: 50%;
    transform: translateX(-50% );
    z-index: 99;
    pointer-events: none;
    transition: opacity 0.25s
}
.wcvs-attribute-wrapper-radio ul .wcvs-tooltip {
    display: none
}
.wcvs-tooltip:after {
    content: '';
    border: 5px solid transparent;
    border-top-color: #fff;
    width: 1px;
    height: 1px;
    position: absolute;
    left: 50%;
    bottom: -10px;
    margin-left: -5px;
}
li.wcvs-item:hover .wcvs-tooltip {
    visibility: visible;
    opacity: 1;
}
.wcvs-tooltip-image {
    display: block;
    padding: 0.25rem 0;
    margin-bottom: 0.25rem;
    width: 100px;
    height: 100px;
}
.wcvs-tooltip-name {
    line-height: 1;
    padding-top: 0.5rem;
    text-align: center;
    display: inline-block;
}