/* ===========================
   Zeroy Checkout
   Apple / SaaS UI
=========================== */

body.woocommerce-checkout{
    background:#f5f7fb;
}

.zeroy-checkout{
    max-width:1400px;
    margin:60px auto;
}

.zeroy-checkout-wrapper{

    display:grid;

    grid-template-columns:1.6fr 430px;

    gap:40px;

    align-items:start;

}

.zeroy-checkout-main{

    display:flex;

    flex-direction:column;

    gap:24px;

}

.zeroy-checkout-sidebar{

    position:sticky;

    top:40px;

}

.checkout-card{

    background:#fff;

    border-radius:18px;

    padding:30px;

    box-shadow:

    0 10px 35px rgba(0,0,0,.05);

}

.checkout-title{

    font-size:36px;

    font-weight:700;

    margin:0;

}

.checkout-subtitle{

    color:#777;

    margin-top:8px;

}
.woocommerce form .form-row{

    margin-bottom:18px;

}

.input-text,
select{

    height:50px;

    border-radius:12px;

    border:1px solid #ddd;

    padding:0 16px;

    transition:.25s;

    background:#fff;

}

textarea{

    border-radius:12px;

    padding:16px;

    min-height:120px;

}

.input-text:focus,
select:focus,
textarea:focus{

    border-color:#0071e3;

    outline:none;

    box-shadow:0 0 0 4px rgba(0,113,227,.12);

}
.shop_table{

    border:none;

}

.shop_table tr{

    border-bottom:1px solid #eee;

}

.shop_table td,
.shop_table th{

    padding:18px 0;

}

.order-total th,
.order-total td{

    font-size:22px;

    font-weight:700;

}
#place_order{

    width:100%;

    height:58px;

    border-radius:14px;

    border:none;

    background:#0071e3;

    color:#fff;

    font-size:18px;

    font-weight:600;

    transition:.25s;

}

#place_order:hover{

    transform:translateY(-2px);

    box-shadow:

    0 12px 24px rgba(0,113,227,.28);

}
.wc_payment_method{

    border:1px solid #e5e5e5;

    border-radius:14px;

    margin-bottom:14px;

    padding:16px;

    transition:.25s;

}

.wc_payment_method:hover{

    border-color:#0071e3;

}

.wc_payment_method input{

    margin-right:10px;

}
@media(max-width:991px){

.zeroy-checkout-wrapper{

grid-template-columns:1fr;

}

.zeroy-checkout-sidebar{

position:relative;

top:0;

}

.checkout-title{

font-size:28px;

}

.checkout-card{

padding:20px;

}

}
/* Payment Card */

.wc_payment_method {

    cursor: pointer;

}

/* Loading */

#place_order.loading {

    opacity: .7;

    pointer-events: none;

}

#place_order.loading::after {

    content: "";

    width: 16px;

    height: 16px;

    border: 2px solid rgba(255,255,255,.5);

    border-top-color: #fff;

    border-radius: 50%;

    display: inline-block;

    margin-left: 10px;

    vertical-align: middle;

    animation: zeroySpin .8s linear infinite;

}

@keyframes zeroySpin {

    from {

        transform: rotate(0deg);

    }

    to {

        transform: rotate(360deg);

    }

}
/* Payment Card */

.wc_payment_method {

    cursor: pointer;

}

/* Loading */

#place_order.loading {

    opacity: .7;

    pointer-events: none;

}

#place_order.loading::after {

    content: "";

    width: 16px;

    height: 16px;

    border: 2px solid rgba(255,255,255,.5);

    border-top-color: #fff;

    border-radius: 50%;

    display: inline-block;

    margin-left: 10px;

    vertical-align: middle;

    animation: zeroySpin .8s linear infinite;

}

@keyframes zeroySpin {

    from {

        transform: rotate(0deg);

    }

    to {

        transform: rotate(360deg);

    }

}
/* TEST */

body.woocommerce-checkout{
    background:#f5f7fb;
}

.woocommerce-checkout .site-main{
    max-width:1400px;
    margin:50px auto;
}

.woocommerce-checkout form.checkout{

    display:grid;

    grid-template-columns:1.6fr 420px;

    gap:40px;

}

#customer_details{

    width:100%;

}

#order_review_heading{

    display:none;

}

#order_review{

    width:100%;

}
/* ===== Layout ===== */

.zeroy-checkout-wrapper{
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 24px;

    display:grid;
    grid-template-columns:minmax(0,1fr) 420px;
    gap:40px;
    align-items:start;
}

.zeroy-checkout-main{
    min-width:0;
}

.zeroy-checkout-sidebar{
    position:sticky;
    top:30px;
}

/* Mobile */

@media (max-width:991px){

    .zeroy-checkout-wrapper{

        grid-template-columns:1fr;

    }

    .zeroy-checkout-sidebar{

        position:static;

    }

}
.zeroy-product{
    display:flex;
    align-items:center;
    gap:16px;
}

.zeroy-product-image{
    flex:0 0 72px;
    width:72px;
    height:72px;
}

.zeroy-product-image img{
    width:72px;
    height:72px;
    object-fit:cover;
    border-radius:12px;
}

.zeroy-product-info{
    flex:1;
    min-width:0;
}