/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.isures-ivp--attribute_wrap {
    display: grid;
    grid-template-columns: repeat(var(--isures-ivp-columns_pc), 1fr);
    grid-gap: 10px;
    padding: 0;
    width: 100%;
    margin-bottom: 10px;
}

.isures-ivp--attribute_wrap.isures-ivp--related_wrap {
    margin-bottom: 20px;
}

.isures-ivp--swatch {
    min-width: 30px;
}

.isures-ivp--swatch.circle {
    border-radius: 999px !important;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.isures-ivp--attr_item .isures-ivp--option--info del .amount>* {
    text-decoration: line-through;
}

.isures-ivp--option--info {
    display: block;
    width: 100%;
    height: auto;
}


/* tablet */

@media screen and (max-width: 1024px) {
    .isures-ivp--attribute_wrap {
        display: grid;
        grid-template-columns: repeat(var(--isures-ivp-columns_mb), 1fr)!important;
        grid-gap: 10px;
        padding: 0;
        width: 100%;
        margin-bottom: 10px;
    }
}


/* style */

.isures-ivp--options--wrap *,
.isures-ivp--attribute_wrap * {
    box-sizing: border-box;
    text-decoration: none;
}

.isures-ivp--attr_item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    background-color: #fff;
    height: auto;
    box-shadow: 0 0 0 0.07rem #d5d5d5;
    border-radius: 8px;
    min-height: 35px;
    overflow: hidden;
}

.isures-ivp--attribute_wrap .isures-ivp--option {
    margin: 0!important;
    padding: 5px 10px;
    display: flex!important;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

a.isures-ivp--attr_item {
    padding: 5px 10px;
    line-height: 1.3;
}

.isures-ivp--attr_item.active {
    box-shadow: 0 0 0 0.07rem var(--isures-ivp-primary);
}

.isures-ivp--attr_item>span,
.isures-ivp--option>* {
    display: block;
    position: relative;
    font-size: 12px!important;
    text-transform: capitalize;
    font-weight: bold;
}

.isures-ivp--option--info .amount * {
    font-weight: 400;
    font-size: 12px;
}

.isures-ivp--options--name,
.isures-ivp--option_name {
    color: #333;
    display: block;
    white-space: normal;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 3px;
}

.isures-ivp--attr_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.isures-ivp--attr_item svg {
    max-width: 10px;
    max-height: 10px;
    width: 10px;
    height: 10px;
    display: inline-block;
    margin-left: 5px;
    top: 5px;
    right: 5px;
    display: none;
    position: absolute;
}

.isures-ivp--attr_item.disabled {
    background: #eee;
    color: #000;
    position: relative;
    cursor: not-allowed!important;
    opacity: .5;
}

.isures-ivp--attr_item.disabled * {
    cursor: not-allowed!important;
}

.isures-ivp--attr_item.active svg {
    display: block;
    fill: var(--isures-ivp-primary);
}

table.variations .label,
table.variations .value {
    display: block;
}

.isures-ivp--option--info>span:not(.amount) {
    display: block;
}

.variations_form .variations .label label {
    display: inline-block;
}


/* reset variation */

.isures-ivp--selected {
    display: inline-block;
    margin-left: 5px;
    font-weight: normal;
    font-size: 15px;
}

.isures-ivp--current_wrap {
    margin: 0 0 10px 0!important;
}

.isures-ivp--attribute_wrap input {
    display: none!important;
}

.isures-ivp--swatch {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    margin-left: -5px;
}

.ivp-type_color {
    box-shadow: inset 0 3px 4px rgb(0 0 0 / 25%);
    -webkit-box-shadow: inset 0 3px 4px rgb(0 0 0 / 25%);
}