.dlr_product_stock {
    width: 300px;
    font-size: 16px;
    border-radius: 8px;
}

.dlr_product_stock * {
    box-sizing: border-box;
}

.dlr_product_stock p {
    margin-top: 0;
    line-height: 30px;
}

.dlr_product_stock button {
    border: none;
    font-family: inherit;
    padding: 0 15px;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    box-shadow: none;
    outline: none;
    height: 47px;
}

.dlr_product_stock button.sub {
    background: transparent;
}

.dlr_product_stock button.sub .dlr_loader circle {
    fill: #000;
    stroke: #000;
}

.dlr_product_stock button.no-sub .dlr_loader circle {
    fill: #fff;
    stroke: #fff;
}

.dlr_product_stock button svg {
    vertical-align: middle;
    margin-left: 6px;
}

.dlr_product_stock button .dlr_content {
    display: inline;
}

.dlr_product_stock_popup {
    width: 100%;
    min-height: 100vh;
    background-color: rgba(38, 49, 64, 0.5) !important;
    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    transition: all .3s ease;
    z-index: 9999;
    display: none;
    max-height: 100vh;
}

.dlr_product_stock_popup.show {
    display: flex;
    top: 0;
    margin-top: 0;
}

.dlr_product_stock_popup>div {
    width: 470px;
    height: auto;
    background-color: #fff;
    border-radius: 13px;
    position: relative;
    box-shadow: 0 2px 30px #0000001a;
    padding-bottom: 20px;
    transform:translateY(50px);
    opacity:0;
    transition:
        transform .3s cubic-bezier(.22,1,.36,1),
        opacity .3s;
}

.dlr_product_stock_popup.show > div{
    transform:translateY(0);
    opacity:1;
}

.dlr_product_stock_popup h2 {
    margin-top: 8px;
    font-size: 18px;
    padding: 15px 20px;
    font-weight: bold;
    position: relative;
    margin-bottom: 0px;
}

.dlr_product_stock_popup h2 svg.alert {
    background: rgba(255,32,60,10%);
    border-radius: 30px;
    padding: 7px;
    vertical-align: middle;
    margin-left: 10px;
    position: relative;
    top: -2px;
}

.dlr_product_stock_popup h2 svg.alert path {
    fill: rgb(255, 32, 60);
}

.dlr_product_stock_popup h2 svg.close {
    position: absolute;
    left: 22px;
    top: 14px;
    cursor: pointer;
}

.dlr_product_stock_popup p {
    font-size: 14px;
    padding: 17px 20px;
    line-height: 27px;
    padding-top: 0;
    margin-top: 0px;
    margin-bottom: 0;
}

.dlr_product_stock_popup .attribute-group {
    padding: 0 20px;
    margin-bottom: 15px;
}

.dlr_product_stock_popup .attribute-group h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: bold;
    font-size: 16px;
}

.dlr_product_stock_popup .variation-radio {
    font-weight: bold;
    margin-left: 16px;
    font-size: 17px;
    cursor: pointer;
}

.dlr_product_stock_popup input[type=checkbox] {
    width: 15px;
    height: 15px;
    position: relative;
    top: 3px;
    outline: none;
}

.dlr_product_stock_popup button {
    width: 91%;
    color: #fff;
    border: 0;
    margin-bottom: 15px;
    font-size: 14px;
    font-family: inherit;
    margin: 0px auto 0;
    display: block;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    height: 50px;
    position: relative;
}

.dlr_product_stock_popup button>div {
    display: inline;
}

.dlr_product_stock_popup .dlr_desc {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
}

.dlr_product_stock_popup .dlr_all {
    background: #F9FAFB;
    font-size: 14px;
    width: 85%;
    margin: 0 auto;
    color: #333;
    padding: 18px 15px;
    margin-bottom: 20px;
    border: 1px solid #EBEDF0;
    border-radius: 8px;
}

.dlr_product_stock_toast {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #EFF6EB;
    color: green;
    font-size: 14px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid green;
    font-weight: bold;
    display: none;
    z-index: 99999;
    line-height: 31px;
    width: max-content;
}

.dlr_product_stock_toast svg {
    vertical-align: middle;
}

.dlr_product_stock_toast .s {
    margin-left: 5px;
    position: relative;
    top: -1px;
}

.dlr_product_stock_toast span {
    border-right: 1px solid #7dbd7d;
    padding: 0 15px 0 10px;
    margin-right: 12px;
    display: inline-block;
    cursor: pointer;
}

.attribute-group>div{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.attribute-group>div>label {
    font-size: 14px;
    font-weight: bold;
}

.variation-checkbox{
    position:relative;
    cursor:pointer;
}

.variation-checkbox input{
    display:none;
}

.variation-checkbox span{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:35px;
    height:37px;
    padding:0 16px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fff;
    transition:.2s;
}

.variation-checkbox input:checked + span{
    background:steelblue;
    border-color:steelblue;
    color:#fff;
}

.variation-checkbox:hover span{
    border-color:steelblue;
}

.dlr_switch{
    position: relative;
    display: inline-block;
    width: 38px;
    height: 22px;
}

.dlr_switch input{
    display:none;
}

.dlr_switch .slider{
    position:absolute;
    inset:0;
    cursor:pointer;
    background:#e5e7eb;
    border-radius:999px;
    transition:.25s;
}

.dlr_switch .slider::before{
    content:'';
    position:absolute;
    width:15px;
    height:15px;
    left:3px;
    top:4px;
    background:#fff;
    border-radius:50%;
    box-shadow:0 2px 8px rgba(0,0,0,.15);
    transition:.25s;
}

.dlr_switch input:checked + .slider{
    background:rgb(255, 32, 60);
}

.dlr_switch input:checked + .slider::before{
    transform:translateX(16px);
}

.dlr_all label {
    vertical-align: middle;
    float: left;
    position: relative;
    top: -2px;
}

@media only screen and (max-width: 600px) {
    .dlr_product_stock_toast {
        width: 90%;
    }

    .dlr_product_stock_toast svg.s {
        display: none;
    }

    .dlr_product_stock_toast span {
        border: none;
        padding: 0;
        position: absolute;
        top: -35px;
        left: 0;
    }

    .dlr_product_stock_popup.show {
        display: block;
        padding: 0;
        padding-top: 15px;
        padding-bottom: 20px;
    }

    .dlr_product_stock_popup.show > div {
        width: 96%;
        transform: none;
        margin-bottom: 30px;
    }

    .dlr_product_stock_popup h2 {
        font-size: 16px;
        padding: 11px 15px;
    }

    .dlr_product_stock_popup .attribute-group {
        margin-bottom: 10px;
    }

    .dlr_product_stock_popup {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        align-items: flex-start;
        padding-bottom: 20px !important;
    }
}