/* PRODUCT VARIATIONS */

/* ==================================================
   FRONT-END VARIATIONS STYLES
   ================================================== */
   
/* Hide native variation dropdowns */
.variations_form select {
    display: none !important;
}

/* Variation attribute labels */
.woocommerce div.product form.cart .variations label {
    font-weight: 500;
    line-height: 1.2em;
    text-align: left;
    text-transform: uppercase;
}

.woocommerce div.product form.cart .variations th {
    line-height: 1.2em;
}

/* Custom variation radio buttons */
.shop-variation-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.shop-variation-radios input[type="radio"] {
    display: none;
}

.radio-wrapper {
    display: inline-block;
    position: relative;
    overflow: hidden;
    margin: 1px 0 4px;
}

.woocommerce div.product form.cart .variations .shop-variation-radios label {
    display: inline-block;
    min-width: 80px;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    line-height: 1.8em;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    padding: 6px 10px 5px 10px;
}

/* Selected variation */
.woocommerce div.product form.cart .variations .shop-variation-radios input[type="radio"]:checked + label {
    background-color: #313131;
    color: #ffffff;
}

/* Hover effect */
.woocommerce div.product form.cart .variations .shop-variation-radios label:hover {
    background-color: #313131;
    color: #ffffff;
}

/* Disabled variations */
.radio-wrapper input[type="radio"]:disabled + label {
    opacity: 0.4;
    position: relative;
    cursor: not-allowed;
    pointer-events: none;
}

.radio-wrapper input[type="radio"]:disabled + label::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #333333;
    transform: translateY(-50%) rotate(-20deg);
    transform-origin: center;
}

/* Product set text */
div.product-set {
    font-size: 16px;
    color: #ff6600;
    font-weight: bold;
}


/* ==================================================
   WORDPRESS ADMIN SETTINGS PAGE STYLES
   ================================================== */

/* Settings page wrapper */
#lirva-custom-variations-details {
    max-width: 						1000px;
}

#lirva-custom-variations-details h2 {
    font-size: 						28px;
    border-bottom: 					1px solid #eee;
}
