/* =========================================================
   WADAA GO - GLOBAL UI SYSTEM
   Font, tombol, card, input dan icon dibuat konsisten
========================================================= */

:root{

    --wadaa-green:#08744b;
    --wadaa-green-dark:#075a3c;
    --wadaa-green-light:#0ba96c;
    --wadaa-green-soft:#eaf7f1;

    --wadaa-blue:#3777f0;
    --wadaa-blue-soft:#edf4ff;

    --wadaa-gold:#f1b92f;
    --wadaa-gold-soft:#fff6d9;

    --wadaa-red:#d84b4b;
    --wadaa-red-soft:#fff0f0;

    --wadaa-orange:#ed8b2c;
    --wadaa-orange-soft:#fff2e3;

    --wadaa-purple:#7957d8;
    --wadaa-purple-soft:#f2edff;

    --wadaa-text:#17241f;
    --wadaa-muted:#707c76;

    --wadaa-line:#e1e9e5;
    --wadaa-bg:#f6f8f7;
    --wadaa-white:#ffffff;

    --wadaa-radius:16px;

    --wadaa-shadow:
        0 9px 28px
        rgba(20,67,48,.08);
}


/* =========================================================
   BASE
========================================================= */

html{

    -webkit-text-size-adjust:100%;
}


body{

    color:var(--wadaa-text);
}


body,
button,
input,
select,
textarea{

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


p{

    line-height:1.6;
}


/* =========================================================
   HEADING
========================================================= */

h1{

    font-size:26px !important;

    line-height:1.2 !important;
}


h2{

    font-size:21px !important;

    line-height:1.3 !important;
}


h3{

    font-size:16px !important;

    line-height:1.35 !important;
}


h4{

    font-size:14px !important;
}


/* =========================================================
   TEXT
========================================================= */

small{

    font-size:10px !important;

    line-height:1.45 !important;
}


label{

    font-size:12px !important;

    line-height:1.4 !important;

    font-weight:800 !important;
}


/* =========================================================
   INPUT
========================================================= */

input:not([type="hidden"]),
select,
textarea{

    min-height:48px !important;

    padding:
        12px 13px !important;

    border-radius:12px !important;

    font-size:14px !important;

    line-height:1.4 !important;
}


textarea{

    min-height:90px !important;
}


input::placeholder,
textarea::placeholder{

    font-size:13px !important;

    color:#9aa39f !important;
}


/* =========================================================
   BUTTON
========================================================= */

button,
.btn{

    min-height:46px;

    border-radius:12px !important;

    font-size:13px !important;

    line-height:1.3 !important;

    font-weight:900 !important;
}


.btn i,
button i{

    font-size:15px;
}


/* =========================================================
   CARD
========================================================= */

.card,
.order,
.checkout-card,
.payment-card,
.address-card,
.summary,
.menu,
.product-card,
.info-card{

    border-radius:
        var(--wadaa-radius) !important;

    box-shadow:
        var(--wadaa-shadow);
}


/* =========================================================
   SECTION TITLE
========================================================= */

.section-head strong,
.section-title,
.card-title strong{

    font-size:15px !important;
}


.section-head span,
.card-title small{

    font-size:10px !important;

    line-height:1.4 !important;
}


/* =========================================================
   INFO BOX
========================================================= */

.info span{

    font-size:10px !important;

    line-height:1.3 !important;
}


.info strong{

    margin-top:4px;

    font-size:13px !important;

    line-height:1.45 !important;
}


/* =========================================================
   STATUS BADGE
========================================================= */

.badge,
.status,
.method{

    padding:
        7px 10px !important;

    border-radius:999px !important;

    font-size:9px !important;

    line-height:1.2 !important;

    font-weight:900 !important;
}


/* =========================================================
   ICON
========================================================= */

.card-icon,
.menu-icon,
.stat-icon,
.info-icon{

    width:44px !important;

    height:44px !important;

    border-radius:14px !important;

    font-size:18px !important;
}


/* =========================================================
   HEADER BACK BUTTON
========================================================= */

.back{

    width:44px !important;

    height:44px !important;

    border-radius:14px !important;

    font-size:16px !important;
}


/* =========================================================
   HEADER
========================================================= */

.header-title strong{

    font-size:18px !important;
}


.header-title small{

    margin-top:3px !important;

    font-size:9px !important;
}


/* =========================================================
   ALERT
========================================================= */

.alert{

    padding:
        13px 14px !important;

    border-radius:13px !important;

    font-size:12px !important;

    line-height:1.6 !important;
}


/* =========================================================
   STATS
========================================================= */

.stat span{

    font-size:9px !important;

    line-height:1.3 !important;
}


.stat strong{

    font-size:19px !important;
}


/* =========================================================
   BOTTOM NAV
========================================================= */

.bottom-nav{

    padding-top:9px !important;
}


.nav-item{

    min-height:50px !important;

    gap:5px !important;

    font-size:9px !important;

    font-weight:900 !important;
}


.nav-item i{

    font-size:20px !important;
}


/* =========================================================
   DRAWER
========================================================= */

.drawer-item{

    min-height:56px !important;
}


.drawer-item strong{

    font-size:12px !important;
}


.drawer-item small{

    font-size:9px !important;

    line-height:1.4 !important;
}


.drawer-item-icon{

    width:41px !important;

    height:41px !important;

    font-size:16px !important;
}


/* =========================================================
   CHECKOUT
========================================================= */

/*
   Ini bagian yang terutama memperjelas checkout.
*/

.checkout-title,
.checkout-section-title{

    font-size:17px !important;

    font-weight:900 !important;
}


.checkout-card{

    padding:16px !important;
}


.checkout-card p,
.checkout-card span,
.checkout-card small{

    font-size:11px !important;

    line-height:1.55 !important;
}


.checkout-card strong{

    font-size:13px !important;
}


/* pilihan pickup / antar / digital */

.receive-option,
.delivery-option,
.payment-option,
.method-option{

    min-height:64px !important;

    padding:13px !important;

    border-radius:13px !important;
}


.receive-option strong,
.delivery-option strong,
.payment-option strong,
.method-option strong{

    font-size:13px !important;
}


.receive-option small,
.delivery-option small,
.payment-option small,
.method-option small{

    font-size:10px !important;

    line-height:1.45 !important;
}


/* radio / checkbox */

input[type="radio"],
input[type="checkbox"]{

    width:19px !important;

    height:19px !important;

    min-height:auto !important;

    padding:0 !important;

    accent-color:
        var(--wadaa-green);
}


/* =========================================================
   QRIS
========================================================= */

.qris-box{

    padding:16px !important;

    border-radius:16px !important;
}


.qris-box strong{

    font-size:15px !important;
}


.qris-box p,
.qris-box small{

    font-size:11px !important;

    line-height:1.55 !important;
}


.qris-box img,
.qris-image{

    width:min(
        100%,
        350px
    ) !important;

    max-height:none !important;

    object-fit:contain !important;

    margin:
        14px auto !important;
}


/* =========================================================
   CHECKOUT ORDER SUMMARY
========================================================= */

.order-summary,
.checkout-summary{

    padding:16px !important;

    border-radius:16px !important;
}


.order-summary span,
.checkout-summary span{

    font-size:11px !important;
}


.order-summary strong,
.checkout-summary strong{

    font-size:13px !important;
}


.total,
.grand-total,
.checkout-total{

    padding-top:13px !important;

    margin-top:13px !important;
}


.total span,
.grand-total span,
.checkout-total span{

    font-size:12px !important;
}


.total strong,
.grand-total strong,
.checkout-total strong{

    font-size:20px !important;

    color:
        var(--wadaa-green-dark) !important;
}


/* =========================================================
   PRODUK DI CHECKOUT / KERANJANG
========================================================= */

.cart-item,
.checkout-item,
.product-row{

    padding:
        12px 0 !important;
}


.cart-item strong,
.checkout-item strong,
.product-row strong{

    font-size:13px !important;

    line-height:1.45 !important;
}


.cart-item small,
.checkout-item small,
.product-row small{

    font-size:10px !important;

    line-height:1.45 !important;
}


/* =========================================================
   TRANSAKSI
========================================================= */

.order-code{

    font-size:12px !important;
}


.product-name{

    font-size:13px !important;

    line-height:1.45 !important;
}


.product-meta{

    font-size:10px !important;
}


.product-price{

    font-size:13px !important;
}


/* =========================================================
   DIGITAL TARGET
========================================================= */

.target{

    padding:11px !important;

    border-radius:11px !important;

    font-size:10px !important;
}


.target strong{

    margin-top:4px !important;

    font-size:13px !important;
}


/* =========================================================
   DIGITAL CODE
========================================================= */

.digital-code{

    padding:13px !important;

    border-radius:13px !important;
}


.digital-code-title{

    font-size:11px !important;
}


.digital-code-value{

    padding:11px !important;

    font-size:14px !important;
}


/* =========================================================
   PAYMENT STATUS
========================================================= */

.payment-box{

    padding:14px !important;

    border-radius:14px !important;
}


.payment-box strong{

    font-size:13px !important;
}


.payment-box p{

    margin-top:5px !important;

    font-size:10px !important;

    line-height:1.55 !important;
}


/* =========================================================
   UPLOAD BUKTI
========================================================= */

.proof-title{

    font-size:12px !important;
}


.proof-link{

    font-size:10px !important;
}


/* =========================================================
   AKUN
========================================================= */

.profile-name strong{

    font-size:20px !important;
}


.profile-name small{

    font-size:10px !important;
}


.menu-item{

    min-height:64px !important;
}


.menu-item strong{

    font-size:12px !important;
}


.menu-item small{

    font-size:9px !important;

    line-height:1.45 !important;
}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media(max-width:600px){

    h1{

        font-size:22px !important;
    }


    h2{

        font-size:19px !important;
    }


    h3{

        font-size:15px !important;
    }


    label{

        font-size:11px !important;
    }


    input:not([type="hidden"]),
    select,
    textarea{

        font-size:13px !important;
    }


    button,
    .btn{

        min-height:45px;

        font-size:12px !important;
    }


    .header-title strong{

        font-size:17px !important;
    }


    .header-title small{

        font-size:9px !important;
    }


    .info span{

        font-size:9px !important;
    }


    .info strong{

        font-size:12px !important;
    }


    .badge,
    .status,
    .method{

        font-size:9px !important;
    }


    .checkout-card p,
    .checkout-card span,
    .checkout-card small{

        font-size:10px !important;
    }


    .checkout-card strong{

        font-size:12px !important;
    }


    .nav-item{

        font-size:9px !important;
    }


    .nav-item i{

        font-size:20px !important;
    }
}