.swal2-actions button {
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0.25em !important;
    border: none !important;
    font-weight: 600 !important;
}

.swal2-actions button:hover {
    background-color: #00612E !important;
}

#mg-product-steps {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

#mg-product-image {
    display: flex;
    justify-content: center;
}

#mg-product-image .image {
    flex: 0 0 40%;
}

#mg-product-image .image .image-container {
    position: relative;
    width: 400px;
}

#mg-product-image .image .image-container > img {
    width: 100%;
}

#mg-product-image .image .preview {
    position: absolute;
    top: 20%;
    left: 20%;
    height: 50%;
    width: 50%;
    font-size: 30px;
    font-family: arial;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
}

#mg-product-image .image .preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

#mg-product-steps .content {
    flex: 0 0 60%;
}

#mg-product-steps {
    margin-bottom: 20px;
    color: #212529;
    --main-color: #88b720;
}

#mg-product-steps .hidden {
    display: none !important;
}

#mg-product-steps .content input,
#mg-product-steps .content select {
    margin-bottom: 0;
    border: 1px solid #ddd;
    outline: none;
}

#mg-product-steps .content label {
    font-weight: bold;
    margin-bottom: 5px;
}

#mg-product-steps .content .mg-step {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

#mg-product-steps .content .mg-step.size {
    display: none;
}

#mg-product-steps .content .mg-step.size.active {
    display: flex;
}

#mg-product-steps .content .mg-step .mg-header {
    display: flex;
    justify-content: space-between;
    border-radius: 5px;
    background-color: #ebebeb;
    cursor: pointer;
    padding: 15px;
}

#mg-product-steps .content .mg-step .mg-header i {
    transition: all 0.3s ease-in-out;
}

#mg-product-steps .content .mg-step .mg-header.open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#mg-product-steps .content .mg-step .mg-header.open i {
    transform: rotate(180deg);
}

#mg-product-steps .content .mg-step .mg-header h3 {
    margin-bottom: 0;
}

#mg-product-steps .content .mg-step .mg-header p {
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

#mg-product-steps .content .mg-step .mg-content {
    display: none;
    background-color: #ebebeb;
    padding: 15px;
}

#mg-product-steps .content .mg-step .mg-content.active {
    display: flex;
    flex-direction: column;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

#mg-product-steps .content .mg-step .mg-content > div:not(:last-child) {
    margin-bottom: 20px;
}

#mg-product-steps .content .mg-step .mg-content a.mg-next-step,
#mg-product-steps .content .mg-step .mg-content a.mg-checkout {
    display: block;
    text-align: center;
    background-color: #475C6C;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
}

#mg-product-steps .content .mg-step .mg-content a.mg-next-step:hover,
#mg-product-steps .content .mg-step .mg-content a.mg-checkout:hover {
    background-color: var(--main-color);
}

#mg-product-steps .content .mg-step .mg-content a.mg-checkout .loader {
    display: none;
}

#mg-product-steps .content .mg-step .mg-content a.mg-checkout.loading .loader {
    display: inline-block;
}

#mg-product-steps .content .mg-step .mg-content a.mg-checkout.loading .standard {
    display: none;
}

#mg-product-steps .content .mg-step .mg-content a.mg-checkout {
    padding: 0.7rem 0.75rem;
}

#mg-product-steps .content .mg-step .mg-content a.mg-checkout.disabled {
    opacity: 0.5;
    background-color: #7a7a7a !important;
    cursor: not-allowed;
}

#mg-product-steps .content .mg-step .mg-content .mg-variations {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#mg-product-steps .content .mg-step .mg-content .mg-variations select {
    max-width: 300px;
}

#mg-product-steps .content .mg-step .mg-content .mg-quantity {
    display: flex;
    align-items: center;
}

#mg-product-steps .content .mg-step .mg-content .mg-quantity > div:first-child {
    display: flex;
    align-items: center;
    flex: 0 0 180px;
}

#mg-product-steps .content .mg-step .mg-content .mg-quantity > div:first-child input {
    border: none;
    user-select: none;
    text-align: center;
    -moz-appearance: textfield;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    height: 35px;
    width: 60px;
    outline: none;
}

#mg-product-steps .content .mg-step .mg-content .mg-quantity > div:first-child input::-webkit-outer-spin-button,
#mg-product-steps .content .mg-step .mg-content .mg-quantity > div:first-child input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#mg-product-steps .content .mg-step .mg-content .mg-quantity > div:first-child a {
    flex: 0 0 25%;
    text-align: center;
    background-color: #fff;
    color: #212529;
    height: 35px;
    width: 50px;
    border: none;
    line-height: 35px;
    border: 1px solid #ddd;
}

#mg-product-steps .content table td {
    color: #212529;
    padding: 0;
    font-weight: bold;
    text-align: right;
    padding-bottom: 3px;
}

#mg-product-steps .content table td:first-child {
    text-align: left;
}

#mg-product-steps .content table tr.mg-checkout-logo,
#mg-product-steps .content table tr.mg-checkout-text,
#mg-product-steps .content table tr.mg-checkout-font {
    display: none;
}



#mg-product-steps .content .mg-step .mg-content .mg-tabs {
    display: flex;
    width: 100%;
    position: relative;
    background: #f5f7fa;
}

#mg-product-steps .content .mg-step .mg-content .mg-tabs .mg-tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    font-weight: bold;
    text-transform: uppercase;
    color: #7a7a7a;
    transition: opacity .3s linear;
    background: white;
    border-bottom: 2px solid #ddd;
}

#mg-product-steps .content .mg-step .mg-content .mg-tabs .mg-tab.active {
    color: var(--main-color);
}

#mg-product-steps .content .mg-step .mg-content .mg-tabs .mg-tabs-bar {
    position: absolute;
    z-index: 10;
    bottom: 0;
    height: 3px;
    background: var(--main-color);
    display: block;
    left: 0;
    transition: left .2s ease;
    -webkit-transition: left .2s ease;
    width: 50%;
}

#mg-product-steps .content .mg-step .mg-content .mg-tabs .mg-tab:nth-child(1).active ~ span.mg-tabs-bar {
    left: 0;
}

#mg-product-steps .content .mg-step .mg-content .mg-tabs .mg-tab:nth-child(2).active ~ span.mg-tabs-bar {
    left: 50%;
}

#mg-product-steps .content .mg-step .mg-content .mg-tab-content {
    display: none;
    margin-top: 30px;
    flex-direction: column;
}

#mg-product-steps .content .mg-step .mg-content .mg-tab-content.active {
    display: flex;
}

#mg-product-steps .content .mg-step .mg-content .mg-tab-content > div {
    margin-bottom: 20px;
}


#mg-product-steps .content .mg-step .mg-content .mg-upload-box {
    border: 2px dashed var(--main-color);
    text-align: center;
    cursor: pointer;
    width: 100%;
    display: flex;
    height: 100px;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    font-weight: bold;
}

#mg-product-steps .content .mg-step .mg-content .mg-upload-box input {
    display: none;
}

#mg-product-steps .content .mg-step .mg-content .upload-preview .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#mg-product-steps .content .mg-step .mg-content .upload-preview .remove a {
    color: #d9534f;
}

#mg-product-steps .content .mg-step .mg-content .upload-preview .remove a:hover {
    color: #333;
}

#mg-product-steps .content .mg-step .mg-content .upload-preview .image,
#mg-product-steps .content .mg-step .mg-content .upload-preview .name {
    text-align: center;
}

#mg-product-steps .content .mg-step .mg-content .upload-preview .image img {
    max-width: 200px;
}

#mg-product-steps .content table,
#mg-product-steps .content table td {
    background-color: transparent;
    border: none;
    font-size: 14px;
}

#mg-product-steps .content .mg-slider {
    margin: 10px;
}

#mg-product-steps .content .mg-slider .ui-slider-handle {
    border: none;
    outline: none;
    border-radius: 50%;
    background-color: var(--main-color);
    width: 1.5em;
    height: 1.5em;
    top: -0.5em;
}

#mg-product-steps .content .image-slider-container,
#mg-product-steps .content .font-slider-container {
    display: none;
}


#mg-product-steps .content .alt-font {
    display: none;
}

#mg-product-steps .content .alt-font.active {
    display: block;
}

#mg-product-steps .content .pricing-rules {
    font-style: italic;
    font-size: 14px;
}

/** DYNAMIC PRICING **/

#mg-dynamic-pricing-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 9999999999999;
}

#mg-dynamic-pricing-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

#mg-dynamic-pricing-overlay #mg-dynamic-pricing-modal {
    background-color: #fff;
    padding: 30px;
    max-width: 1000px;
}

/** RADIO BUTTONS **/


.mg-color-content ul{
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: auto;
}
  
.mg-color-content ul li{
    color: #AAAAAA;
    display: block;
    position: relative;
    float: left;
    width: 100%;
    margin: 0 !important;
}
  
.mg-color-content ul li input[type=radio]{
    position: absolute;
    visibility: hidden;
}
  
.mg-color-content ul li label {
    display: flex;
    position: relative;
    font-size: 1.35em;
    padding: 0px 0px 0px 60px;
    margin: 10px auto;
    height: 30px;
    z-index: 9;
    cursor: pointer;
    -webkit-transition: all 0.25s linear;
    align-items: center;
    gap: 10px;
    color: #000;
}

.mg-color-content ul li label span {
    -webkit-transition: all 0.25s linear;
}
  
.mg-color-content ul li:hover label{

}
  
.mg-color-content ul li .check{
    display: block;
    position: absolute;
    border: 3px solid #AAAAAA;
    border-radius: 100%;
    height: 25px;
    width: 25px;
    top: 12px;
    left: 20px;
    z-index: 5;
    transition: border .25s linear;
    -webkit-transition: border .25s linear;
}
  
.mg-color-content ul li:hover .check {
    
}
  
.mg-color-content ul li .check::before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 10px;
    width: 10px;
    top: 4.5px;
    left: 4.5px;
    margin: auto;
    transition: background 0.25s linear;
    -webkit-transition: background 0.25s linear;
}
  
.mg-color-content input[type=radio]:checked ~ .check {
    border: 3px solid var(--main-color);
}
  
.mg-color-content input[type=radio]:checked ~ .check::before{
    background: var(--main-color);
}
  
.mg-color-content input[type=radio]:checked ~ label, 
.mg-color-content input[type=radio]:checked ~ label span {
    color: var(--main-color);
}

.mg-outofstock {
    margin-bottom: 20px;
    color: #d9534f;
}


/** LOADER **/

.lds-dual-ring {
    display: inline-block;
    width: 20px;
    height: 20px;
  }
  .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 20px;
    height: 20px;
    margin: 5px -5px;
    border-radius: 50%;
    border: 2px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
  }
  @keyframes lds-dual-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  