/* ===================================================
   SMART COD CHECKOUT
=================================================== */

.scc-card{
    direction:rtl;
    background:#fff;
    border:1px solid #e9e9e9;
    border-radius:14px;
    padding:30px;
    margin-top:30px;
    box-shadow:0 10px 35px rgba(0,0,0,.05);
    box-sizing:border-box;
}

.scc-card *{
    box-sizing:border-box;
}

.scc-header{
    text-align:center;
    margin-bottom:30px;
}

.scc-header h2{
    margin:0;
    font-size:40px;
    font-weight:700;
    color:#111;
}

.scc-header p{
    margin:8px 0 0;
    color:#777;
    font-size:14px;
}

#scc-checkout-form{
    width:100%;
}

/* ================================= */

.scc-row{
    display:flex !important;
    gap:18px;
    margin-bottom:18px;
    width:100%;
}

.scc-field{
    flex:1;
}

.scc-field label{
    display:block;
    margin-bottom:8px;
    font-size:15px;
    font-weight:600;
}

.scc-field input,
.scc-field select{
    width:100% !important;
    height:52px;
    border:1px solid #dddddd;
    border-radius:8px;
    padding:0 14px;
    background:#fff;
    transition:.25s;
    font-size:15px;
}

.scc-field input:focus,
.scc-field select:focus{
    outline:none;
    border-color:#e91e63;
    box-shadow:0 0 0 3px rgba(233,30,99,.12);
}

/* ================================= */

.scc-action-row{

    display:grid;

    grid-template-columns:170px 1fr;

    gap:15px;

    align-items:center;

    margin:25px 0;

}

@media(max-width:768px){

.scc-action-row{

    grid-template-columns:1fr;

}

}

/* ================================= */

.scc-qty{

    display:flex !important;

    align-items:center;

    justify-content:center;

}

.scc-qty button{

    width:48px;

    height:48px;

    border:none;

    background:#111;

    color:#fff;

    font-size:22px;

    cursor:pointer;

    padding:0;

}

.scc-minus{

    border-radius:8px 0 0 8px;

}

.scc-plus{

    border-radius:0 8px 8px 0;

}

#scc-quantity{

    width:65px !important;

    height:48px;

    text-align:center;

    border:1px solid #ddd;

    border-left:none;

    border-right:none;

    font-size:16px;

    font-weight:bold;

    background:#fff;

}
/* ==========================================
   SUMMARY
========================================== */

.scc-summary{

    width:100%;

    border:1px solid #e8e8e8;

    border-radius:10px;

    overflow:hidden;

    background:#fff;

}

.scc-summary-head{

    background:#fde7ef;

    color:#d81b60;

    font-size:16px;

    font-weight:700;

    padding:16px 18px;

    border-bottom:1px solid #f3d2df;

}

.scc-summary-row{

    display:flex !important;

    justify-content:space-between;

    align-items:center;

    gap:15px;

    padding:18px;

    border-bottom:1px solid #efefef;

}

.scc-product{

    display:flex;

    align-items:center;

    gap:14px;

    flex:1;

}

.scc-product img{

    width:60px;

    height:60px;

    border-radius:8px;

    object-fit:cover;

    border:1px solid #eee;

}

.scc-product span{

    font-size:15px;

    color:#222;

    font-weight:600;

}

.scc-summary-row strong{

    color:#111;

    font-size:16px;

}

.scc-summary-total{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 18px;

    background:#fafafa;

    font-size:20px;

    font-weight:700;

}

.scc-summary-total strong{

    color:#111;

    font-size:22px;

}

/* ==========================================
   FIX THEME CONFLICTS
========================================== */

.scc-card input,
.scc-card select,
.scc-card button{

    max-width:none !important;

}

.scc-card button{

    margin:0 !important;

}

.scc-card img{

    max-width:100%;

    height:auto;

}

.scc-card table{

    margin:0;

}

.scc-card p{

    margin:0;

}
/* ==========================================
   MOBILE
========================================== */

@media (max-width:768px){

    .scc-card{

        padding:18px;

    }

    .scc-header h2{

        font-size:32px;

    }

    .scc-row{

        display:flex !important;

        flex-direction:column;

        gap:15px;

    }

    .scc-bottom{

        display:flex !important;

        flex-direction:column-reverse;

        gap:15px;

        align-items:stretch;

    }

    .scc-button{

        width:100%;

    }

    .scc-qty{

        width:100%;

        justify-content:center;

    }

    .scc-summary-row{

        flex-direction:column;

        align-items:flex-start;

    }

    .scc-product{

        width:100%;

    }

    .scc-summary-total{

        font-size:18px;

    }

}

/* ==========================================
   EXTRA
========================================== */

.scc-hidden{

    display:none !important;

}

.scc-loading{

    opacity:.6;

    pointer-events:none;

}

.scc-error{

    color:#dc2626;

    font-size:14px;

    margin-top:8px;

}

.scc-success{

    color:#16a34a;

    font-size:14px;

    margin-top:8px;

}

.scc-card button{

    transition:all .25s ease;

}

.scc-card input,
.scc-card select,
.scc-card button{

    font-family:inherit;

}

.scc-card *{

    box-sizing:border-box;

}