/* GH Delivery Smart */
.ghds-product-badge{display:inline-flex;align-items:center;gap:8px;background:#eafff1;border:1px solid #aeeec3;color:#07843f;border-radius:999px;padding:7px 12px;font-weight:800;font-size:13px;margin:8px 0}.ghds-product-badge:before{content:"●";color:#000}.ghds-product-badge.big{font-size:16px;padding:12px 22px}.ghds-product-delivery{margin:20px 0}.ghds-availability-btn{border:1px solid #e0e7ef;background:#fff;border-radius:999px;padding:13px 22px;font-weight:900;margin-left:12px}.ghds-availability-box{display:none;margin-top:18px;background:#fff9ef;border:1px solid #f1dfc2;border-radius:22px;padding:24px;box-shadow:0 16px 40px rgba(15,23,42,.06)}.ghds-availability-box.open{display:block}.ghds-availability-row{padding:14px 0;border-bottom:1px solid #eadfcd}.ghds-availability-row:last-child{border-bottom:none}.ghds-availability-row span{background:#eafff1;border-radius:50%;padding:10px;margin-right:12px}.ghds-availability-row em{color:#ef6b55;font-style:normal}.ghds-checkout{border:1px solid #eef1f4;border-radius:28px;padding:28px;background:#fff;box-shadow:0 18px 50px rgba(15,23,42,.05);margin-bottom:28px}.ghds-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px}.ghds-step{height:64px;border-radius:999px;border:1px solid #e4e9ee;background:#f7f9fa;color:#7b8794;font-weight:800;font-size:16px}.ghds-step span{display:inline-flex;width:24px;height:24px;border-radius:50%;align-items:center;justify-content:center;background:#dfe8e3;color:#6b7a72;margin-right:8px}.ghds-step.active{background:#edfff4;border-color:#b8ecc9;color:#007a37}.ghds-panel{display:none}.ghds-panel.active{display:block}.ghds-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.ghds-grid label{font-weight:800;color:#17202a}.ghds-grid b{color:#e11d48}.ghds-grid .full{grid-column:1/-1}.ghds-grid input,.ghds-grid select,.ghds-note textarea{width:100%;box-sizing:border-box;border:1px solid #dfe6ee;border-radius:16px;min-height:56px;padding:0 16px;font-size:16px;background:#fff;margin-top:8px}.ghds-use{display:inline-flex;align-items:center;gap:10px;background:#f4fff8;border:1px solid #bfeccc;border-radius:16px;padding:10px 15px;font-weight:800}.ghds-actions{display:flex;justify-content:space-between;gap:16px;margin-top:26px}.ghds-back,.ghds-next,.ghds-proceed{border:none;border-radius:999px;min-width:150px;height:54px;padding:0 24px;font-weight:900;font-size:15px;cursor:pointer}.ghds-back{background:#f1f3f5;color:#1f2937;border:1px solid #dfe6ee}.ghds-next{background:#ff866f;color:#fff}.ghds-proceed{display:none;background:#f4fff8;border:1px solid #bfeccc;color:#087333;margin-left:auto}.ghds-proceed.show{display:inline-flex;align-items:center;justify-content:center}.ghds-proceed:before{content:"✓";display:inline-flex;width:24px;height:24px;border-radius:50%;align-items:center;justify-content:center;background:#22a957;color:#fff;margin-right:9px}.ghds-note{margin-top:18px;padding:18px;border:1px solid #e5edf3;border-radius:22px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}.ghds-note textarea{min-height:92px;padding:13px 15px}.ghds-earliest{color:#087333!important;font-weight:700}.ghds-no-method{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:14px;padding:14px;margin:15px 0}.ghds-delivery-lines{margin:14px 0!important;padding:14px 16px!important;border-radius:16px!important;background:#f8fafc!important;border:1px solid #e7edf3!important;color:#111827!important;font-size:16px!important;line-height:1.55!important}.ghds-thanks-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;margin:24px 0}.ghds-thanks-tabs div{border:1px solid #e7edf3;border-radius:20px;padding:18px 20px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.05)}.ghds-thanks-tabs span{display:block;color:#667085;font-size:13px;font-weight:700;text-transform:uppercase;margin-bottom:8px}.ghds-thanks-tabs b{font-size:18px;font-weight:500}.ghds-support{text-align:center;background:#f8fafc;border:1px solid #e7edf3;border-radius:18px;padding:18px;color:#64748b}.ghds-support a{color:#0f766e;font-weight:700;text-decoration:none;margin:0 8px}@media(max-width:768px){.ghds-checkout{padding:18px}.ghds-steps{gap:8px}.ghds-step{height:48px;font-size:13px}.ghds-grid{grid-template-columns:1fr}.ghds-proceed{width:100%}.ghds-thanks-tabs{grid-template-columns:1fr}}

/* GHDS v1.2.1 — compact checkout and hide duplicate Woo fields */

.woocommerce-checkout-review-order,.woocommerce-checkout-payment,#payment{display:block!important}
.ghds-checkout{max-width:1120px;padding:22px!important;border-radius:22px!important}
.ghds-steps{gap:12px!important;margin-bottom:22px!important}
.ghds-step{height:48px!important;font-size:14px!important;border-radius:18px!important;letter-spacing:0!important}
.ghds-step span{width:22px!important;height:22px!important;font-size:12px!important}
.ghds-panel h2{font-size:26px!important;line-height:1.2!important;margin-bottom:8px!important}
.ghds-panel p{font-size:14px!important;margin:6px 0 14px!important}
.ghds-grid{gap:14px!important;margin-top:14px!important}
.ghds-grid label{font-size:14px!important;font-weight:700!important}
.ghds-grid input,.ghds-grid select,.ghds-note textarea{min-height:48px!important;border-radius:13px!important;font-size:15px!important;padding:0 13px!important;margin-top:6px!important}
.ghds-note{margin-top:18px!important;padding:14px!important;border-radius:18px!important}
.ghds-note strong{font-size:15px!important}
.ghds-note small{font-size:12px!important}
.ghds-note textarea{min-height:70px!important;padding:12px!important}
.ghds-actions{margin-top:18px!important}
.ghds-delivery-actions{align-items:center!important}
.ghds-back,.ghds-next,.ghds-proceed{height:44px!important;min-width:126px!important;padding:0 18px!important;border-radius:15px!important;font-size:13px!important;font-weight:800!important}
.ghds-proceed{margin-left:auto!important;max-width:330px!important;white-space:nowrap!important}
.ghds-proceed:before{width:20px!important;height:20px!important;font-size:12px!important;margin-right:7px!important}
.ghds-use{padding:8px 12px!important;border-radius:13px!important;font-size:14px!important}
.ghds-earliest{font-size:14px!important}
.ghds-no-method{font-size:13px!important;padding:12px!important;border-radius:12px!important}
.ghds-field-error{border-color:#f97316!important;box-shadow:0 0 0 3px rgba(249,115,22,.12)!important}
.ghds-inline-error{color:#b45309!important;background:#fff7ed!important;border:1px solid #fed7aa!important;border-radius:12px!important;padding:10px 12px!important;margin:10px 0!important;font-size:13px!important;font-weight:700!important;display:none}
@media(max-width:768px){
.ghds-checkout{padding:14px!important;border-radius:18px!important}
.ghds-steps{gap:8px!important}.ghds-step{height:42px!important;font-size:12px!important;padding:0 8px!important}
.ghds-panel h2{font-size:22px!important}
.ghds-back,.ghds-next,.ghds-proceed{height:42px!important;min-width:100px!important;font-size:12px!important}
.ghds-delivery-actions{flex-wrap:wrap!important}
.ghds-proceed{width:100%!important;max-width:none!important;margin-left:0!important}
}


/* GHDS v1.2.2 — wizard visibility + hide only duplicate Woo fields */
.woocommerce-billing-fields > h3,
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields,
.woocommerce-additional-fields,
.woocommerce-account-fields{
    display:none !important;
}

/* Make sure custom wizard is always visible */
.ghds-checkout,
.ghds-checkout *{
    visibility:visible;
}
.ghds-checkout{
    display:block !important;
}

/* Product admin note style is wp-admin only but safe */
#ghds_delivery_product_panel .form-field strong{
    margin-right:8px;
}


/* GHDS v1.2.3 — parallel checkout layout */
@media(min-width: 992px){
    form.checkout{
        display:grid !important;
        grid-template-columns:minmax(0, 1.1fr) minmax(360px, .9fr) !important;
        gap:26px !important;
        align-items:start !important;
    }

    form.checkout > .woocommerce-NoticeGroup,
    form.checkout > .woocommerce-notices-wrapper,
    form.checkout > .checkout_coupon,
    form.checkout > .woocommerce-form-coupon-toggle{
        grid-column:1 / -1 !important;
    }

    .ghds-checkout{
        grid-column:1 !important;
        position:sticky !important;
        top:20px !important;
        margin-bottom:0 !important;
    }

    #order_review_heading,
    #order_review,
    .woocommerce-checkout-review-order{
        grid-column:2 !important;
    }

    #order_review_heading{
        margin-top:0 !important;
    }

    #customer_details{
        display:none !important;
    }
}

/* Hide duplicate Woo customer fields everywhere, but keep wizard */
#customer_details .woocommerce-billing-fields,
#customer_details .woocommerce-shipping-fields,
#customer_details .woocommerce-additional-fields,
#customer_details .woocommerce-account-fields{
    display:none !important;
}

/* Make payment/order card more visible beside wizard */
.woocommerce-checkout-review-order{
    background:#fff !important;
    border:1px solid #e7edf3 !important;
    border-radius:22px !important;
    padding:18px !important;
    box-shadow:0 14px 36px rgba(15,23,42,.055) !important;
}


/* GHDS v1.2.4 — smaller smarter product badges */
ul.products .ghds-product-badge,
.products .ghds-product-badge,
.woocommerce ul.products li.product .ghds-product-badge,
.ghds-product-badge{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    max-width:100% !important;
    min-height:0 !important;
    width:auto !important;
    padding:5px 10px !important;
    margin:7px 0 4px !important;
    border-radius:999px !important;
    background:#ecfff3 !important;
    border:1px solid #b7efc7 !important;
    color:#07843f !important;
    font-size:11px !important;
    line-height:1.15 !important;
    font-weight:700 !important;
    letter-spacing:0 !important;
    text-align:center !important;
    white-space:normal !important;
    box-shadow:none !important;
}

ul.products .ghds-product-badge:before,
.products .ghds-product-badge:before,
.woocommerce ul.products li.product .ghds-product-badge:before,
.ghds-product-badge:before{
    content:"" !important;
    width:6px !important;
    height:6px !important;
    min-width:6px !important;
    border-radius:50% !important;
    background:#07843f !important;
    display:inline-block !important;
    color:transparent !important;
    margin:0 !important;
}

/* Product detail badge remains slightly bigger but not heavy */
.single-product .ghds-product-badge.big,
.ghds-product-badge.big{
    font-size:14px !important;
    line-height:1.2 !important;
    padding:9px 16px !important;
    font-weight:700 !important;
}

/* Product cards: avoid badge becoming large oval */
.woocommerce ul.products li.product .ghds-product-badge{
    max-width:150px !important;
}

/* Mobile product grid badges even smaller */
@media(max-width:768px){
    ul.products .ghds-product-badge,
    .products .ghds-product-badge,
    .woocommerce ul.products li.product .ghds-product-badge{
        font-size:10px !important;
        padding:5px 8px !important;
        max-width:130px !important;
    }
}


/* =========================================================
   GHDS v1.2.5 — checkout right panel + modern badges
========================================================= */

/* Full right order section */
@media(min-width:1200px){

    form.checkout{
        grid-template-columns:minmax(0,1fr) 430px !important;
        gap:34px !important;
        align-items:flex-start !important;
    }

    #order_review_heading,
    #order_review,
    .woocommerce-checkout-review-order{
        width:100% !important;
        max-width:100% !important;
        margin:0 !important;
    }

    .woocommerce-checkout-review-order{
        position:sticky !important;
        top:20px !important;
        padding:28px !important;
        border-radius:26px !important;
        background:#ffffff !important;
        border:1px solid #e9edf3 !important;
        box-shadow:0 12px 35px rgba(15,23,42,.06) !important;
    }

    .woocommerce-checkout-review-order table{
        width:100% !important;
    }
}

/* Better order table spacing */
.woocommerce-checkout-review-order table.shop_table th,
.woocommerce-checkout-review-order table.shop_table td{
    padding:14px 10px !important;
    font-size:15px !important;
    vertical-align:middle !important;
}

.woocommerce-checkout-review-order .product-name{
    font-size:15px !important;
    line-height:1.45 !important;
    font-weight:500 !important;
}

/* Modern product badges like sample */
ul.products .ghds-product-badge,
.products .ghds-product-badge,
.woocommerce ul.products li.product .ghds-product-badge,
.ghds-product-badge{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:5px !important;
    width:auto !important;
    max-width:max-content !important;
    padding:4px 10px !important;
    border-radius:8px !important;
    border:none !important;
    background:#f3ecff !important;
    color:#6d43d6 !important;
    font-size:11px !important;
    line-height:1.2 !important;
    font-weight:600 !important;
    letter-spacing:0 !important;
    box-shadow:none !important;
    margin-top:8px !important;
}

ul.products .ghds-product-badge:before,
.products .ghds-product-badge:before,
.woocommerce ul.products li.product .ghds-product-badge:before,
.ghds-product-badge:before{
    content:"🚚" !important;
    background:none !important;
    width:auto !important;
    height:auto !important;
    min-width:auto !important;
    border-radius:0 !important;
    font-size:11px !important;
    margin:0 !important;
}

/* Different colors based on type */
.ghds-product-badge.ghds-minutes{
    background:#eafaf0 !important;
    color:#0f9f55 !important;
}

.ghds-product-badge.ghds-today{
    background:#f3ecff !important;
    color:#6d43d6 !important;
}

.ghds-product-badge.ghds-nextday{
    background:#eef5ff !important;
    color:#2b6de5 !important;
}

.ghds-product-badge.ghds-otherday{
    background:#fff4e8 !important;
    color:#d97706 !important;
}

/* Single product detail badge */
.single-product .ghds-product-badge.big{
    padding:10px 18px !important;
    border-radius:999px !important;
    font-size:14px !important;
    font-weight:700 !important;
}

/* Mobile */
@media(max-width:768px){

    form.checkout{
        display:block !important;
    }

    .woocommerce-checkout-review-order{
        margin-top:24px !important;
    }

    ul.products .ghds-product-badge,
    .products .ghds-product-badge,
    .woocommerce ul.products li.product .ghds-product-badge{
        font-size:10px !important;
        padding:4px 8px !important;
        border-radius:7px !important;
    }
}


/* GHDS v1.2.6 — checkout 60/40 split, no cart cutting */
@media(min-width:1100px){
    form.checkout{
        display:grid !important;
        grid-template-columns:minmax(0,60%) minmax(380px,40%) !important;
        gap:28px !important;
        align-items:start !important;
        width:100% !important;
        max-width:100% !important;
        overflow:visible !important;
    }

    form.checkout > .woocommerce-NoticeGroup,
    form.checkout > .woocommerce-notices-wrapper,
    form.checkout > .checkout_coupon,
    form.checkout > .woocommerce-form-coupon-toggle{
        grid-column:1 / -1 !important;
        width:100% !important;
    }

    .ghds-checkout{
        grid-column:1 !important;
        width:100% !important;
        max-width:100% !important;
        margin:0 !important;
        box-sizing:border-box !important;
        position:relative !important;
        top:auto !important;
    }

    #order_review_heading,
    #order_review,
    .woocommerce-checkout-review-order{
        grid-column:2 !important;
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        box-sizing:border-box !important;
        margin:0 !important;
        overflow:visible !important;
    }

    .woocommerce-checkout-review-order{
        position:sticky !important;
        top:18px !important;
        padding:22px !important;
        border-radius:24px !important;
    }

    .woocommerce-checkout-review-order table,
    .woocommerce-checkout-review-order .shop_table{
        width:100% !important;
        table-layout:auto !important;
    }

    .woocommerce-checkout-review-order td,
    .woocommerce-checkout-review-order th{
        white-space:normal !important;
        word-break:normal !important;
    }

    .woocommerce-checkout-review-order .product-name{
        max-width:none !important;
        overflow:visible !important;
    }

    .woocommerce-checkout-review-order img{
        max-width:64px !important;
        height:auto !important;
    }

    #customer_details{
        display:none !important;
    }
}

@media(min-width:1100px) and (max-width:1399px){
    form.checkout{
        grid-template-columns:minmax(0,58%) minmax(360px,42%) !important;
        gap:24px !important;
    }
    .ghds-checkout{padding:20px !important;}
    .woocommerce-checkout-review-order{padding:18px !important;}
}

@media(max-width:1099px){
    form.checkout{display:block !important;}
    .ghds-checkout,
    .woocommerce-checkout-review-order{
        width:100% !important;
        max-width:100% !important;
        margin-left:0 !important;
        margin-right:0 !important;
    }
}


/* =========================================================
   GHDS v1.2.7 — full width checkout + no right panel cutting
========================================================= */

/* Make checkout use full page/container width */
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout form.checkout{
    width:100% !important;
    max-width:100% !important;
    overflow:visible !important;
    box-sizing:border-box !important;
}

/* Prevent theme columns from squeezing checkout */
body.woocommerce-checkout #primary,
body.woocommerce-checkout main,
body.woocommerce-checkout .container,
body.woocommerce-checkout .main-page-wrapper,
body.woocommerce-checkout .page-content{
    max-width:100% !important;
    width:100% !important;
}

/* Better desktop split: enough width for order table */
@media(min-width:1200px){
    body.woocommerce-checkout form.checkout{
        display:grid !important;
        grid-template-columns:minmax(0,64%) minmax(460px,36%) !important;
        gap:28px !important;
        align-items:start !important;
        padding-left:18px !important;
        padding-right:18px !important;
    }

    .ghds-checkout{
        grid-column:1 !important;
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
    }

    #order_review_heading,
    #order_review,
    .woocommerce-checkout-review-order{
        grid-column:2 !important;
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        overflow:visible !important;
        box-sizing:border-box !important;
    }

    .woocommerce-checkout-review-order{
        position:sticky !important;
        top:18px !important;
        padding:20px !important;
        border-radius:24px !important;
    }
}

/* Medium desktop: stack if not enough room, avoids narrow broken cart */
@media(min-width:992px) and (max-width:1199px){
    body.woocommerce-checkout form.checkout{
        display:block !important;
        padding-left:14px !important;
        padding-right:14px !important;
    }

    .ghds-checkout,
    #order_review,
    .woocommerce-checkout-review-order{
        width:100% !important;
        max-width:100% !important;
        margin-left:0 !important;
        margin-right:0 !important;
    }

    .woocommerce-checkout-review-order{
        margin-top:24px !important;
    }
}

/* Order review table should not create a thin column */
.woocommerce-checkout-review-order table.shop_table,
.woocommerce-checkout-review-order table,
.woocommerce-checkout-review-order tbody,
.woocommerce-checkout-review-order tr,
.woocommerce-checkout-review-order td,
.woocommerce-checkout-review-order th{
    max-width:100% !important;
    box-sizing:border-box !important;
}

.woocommerce-checkout-review-order .product-name{
    width:auto !important;
    min-width:0 !important;
    white-space:normal !important;
    overflow:visible !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
}

.woocommerce-checkout-review-order .product-total{
    white-space:nowrap !important;
    text-align:right !important;
}

.woocommerce-checkout-review-order img{
    max-width:58px !important;
    height:auto !important;
    object-fit:cover !important;
    border-radius:8px !important;
}

/* Remove older sticky/sidebar constraints if theme added them */
#order_review{
    float:none !important;
}

@media(max-width:991px){
    body.woocommerce-checkout form.checkout{
        display:block !important;
        padding-left:10px !important;
        padding-right:10px !important;
    }

    .ghds-checkout,
    .woocommerce-checkout-review-order{
        width:100% !important;
        max-width:100% !important;
    }
}


/* GHDS v1.2.8 — full visible right order/payment section */
body.woocommerce-checkout .site,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout form.checkout{
    width:100% !important;
    max-width:100% !important;
    overflow:visible !important;
    box-sizing:border-box !important;
}

@media(min-width:1280px){
    body.woocommerce-checkout form.checkout{
        display:grid !important;
        grid-template-columns:minmax(0,54%) minmax(520px,46%) !important;
        gap:30px !important;
        align-items:start !important;
        padding-left:20px !important;
        padding-right:20px !important;
    }

    body.woocommerce-checkout form.checkout > .woocommerce-form-coupon-toggle,
    body.woocommerce-checkout form.checkout > .checkout_coupon,
    body.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup,
    body.woocommerce-checkout form.checkout > .woocommerce-notices-wrapper{
        grid-column:1 / -1 !important;
        width:100% !important;
    }

    .ghds-checkout{
        grid-column:1 !important;
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        margin:0 !important;
        position:relative !important;
        top:auto !important;
    }

    #order_review_heading,
    #order_review,
    .woocommerce-checkout-review-order{
        grid-column:2 !important;
        width:100% !important;
        max-width:100% !important;
        min-width:520px !important;
        margin:0 !important;
        box-sizing:border-box !important;
        overflow:visible !important;
        float:none !important;
    }

    .woocommerce-checkout-review-order{
        position:relative !important;
        top:auto !important;
        padding:26px !important;
        border-radius:26px !important;
    }
}

@media(max-width:1279px){
    body.woocommerce-checkout form.checkout{
        display:block !important;
        padding-left:14px !important;
        padding-right:14px !important;
    }

    .ghds-checkout,
    #order_review,
    .woocommerce-checkout-review-order{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        margin-left:0 !important;
        margin-right:0 !important;
        overflow:visible !important;
    }

    .woocommerce-checkout-review-order{
        margin-top:24px !important;
    }
}

.woocommerce-checkout-review-order{
    background:#fff !important;
    border:1px solid #e7edf3 !important;
    box-shadow:0 14px 38px rgba(15,23,42,.06) !important;
    overflow:visible !important;
    height:auto !important;
    max-height:none !important;
}

.woocommerce-checkout-review-order table.shop_table,
.woocommerce-checkout-review-order table{
    width:100% !important;
    max-width:100% !important;
    table-layout:auto !important;
}

.woocommerce-checkout-review-order th,
.woocommerce-checkout-review-order td{
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:break-word !important;
    vertical-align:middle !important;
    box-sizing:border-box !important;
}

.woocommerce-checkout-review-order .product-name{
    width:75% !important;
    max-width:none !important;
    overflow:visible !important;
}

.woocommerce-checkout-review-order .product-total{
    width:25% !important;
    text-align:right !important;
    white-space:nowrap !important;
}

.woocommerce-checkout-review-order img{
    max-width:68px !important;
    height:auto !important;
    border-radius:10px !important;
    object-fit:cover !important;
}

.woocommerce-checkout #place_order,
.woocommerce-checkout button#place_order{
    position:relative !important;
    bottom:auto !important;
    left:auto !important;
    right:auto !important;
    display:block !important;
    width:100% !important;
    min-height:54px !important;
    margin-top:18px !important;
    border-radius:14px !important;
    z-index:1 !important;
}

.woocommerce-checkout-payment{
    padding-bottom:20px !important;
    overflow:visible !important;
}

body.woocommerce-checkout .scrollToTop,
body.woocommerce-checkout .wd-scroll,
body.woocommerce-checkout .woodmart-scroll-top,
body.woocommerce-checkout .back-to-top{
    bottom:85px !important;
}


/* GHDS v1.2.9 — four requested fixes */

/* 1) Listing/home badge below price, compact */
.woocommerce ul.products li.product .price,
.products .product .price{
    display:block !important;
    margin-bottom:6px !important;
}

.woocommerce ul.products li.product .ghds-product-badge,
.products .product .ghds-product-badge,
ul.products .ghds-product-badge{
    display:inline-flex !important;
    align-items:center !important;
    width:auto !important;
    max-width:140px !important;
    margin:4px 0 0 !important;
    padding:4px 8px !important;
    border-radius:7px !important;
    font-size:10.5px !important;
    line-height:1.15 !important;
    font-weight:600 !important;
    white-space:normal !important;
    clear:both !important;
    vertical-align:top !important;
}

.woocommerce ul.products li.product .ghds-product-badge:before,
.products .product .ghds-product-badge:before{
    font-size:10px !important;
    line-height:1 !important;
}

/* 2) Product detail delivery box smaller */
.single-product .ghds-product-delivery{
    margin:14px 0 18px !important;
}

.single-product .ghds-product-badge.big{
    padding:8px 14px !important;
    font-size:13px !important;
    line-height:1.15 !important;
    border-radius:999px !important;
}

.single-product .ghds-availability-btn{
    padding:9px 14px !important;
    font-size:13px !important;
    line-height:1.1 !important;
    border-radius:10px !important;
    margin-left:8px !important;
    background:#f8fafc !important;
}

.single-product .ghds-availability-box{
    margin-top:12px !important;
    padding:14px 18px !important;
    border-radius:16px !important;
    max-width:720px !important;
    box-shadow:0 10px 26px rgba(15,23,42,.055) !important;
}

.single-product .ghds-availability-row{
    padding:10px 0 !important;
    font-size:15px !important;
    line-height:1.35 !important;
}

.single-product .ghds-availability-row span{
    padding:7px !important;
    margin-right:9px !important;
    font-size:13px !important;
}

.single-product .ghds-availability-row strong,
.single-product .ghds-availability-row em{
    font-size:15px !important;
}

/* 3) Checkout order grey background full card */
body.woocommerce-checkout #order_review_heading{
    background:#f7f7f7 !important;
    margin:0 !important;
    padding:28px 24px 0 !important;
    border-radius:28px 28px 0 0 !important;
}

body.woocommerce-checkout #order_review{
    background:#f7f7f7 !important;
    border-radius:0 0 28px 28px !important;
    padding:0 24px 24px !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order{
    background:#f7f7f7 !important;
    border-radius:28px !important;
    padding:24px !important;
    overflow:visible !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order table.shop_table{
    background:#fff !important;
    border-radius:18px !important;
    overflow:hidden !important;
    box-shadow:0 8px 24px rgba(15,23,42,.045) !important;
}

body.woocommerce-checkout .woocommerce-checkout-payment{
    background:#f7f7f7 !important;
    border-radius:0 0 24px 24px !important;
    padding:16px 0 20px !important;
}

/* Payment methods clean */
body.woocommerce-checkout .payment_methods{
    margin-top:14px !important;
}

body.woocommerce-checkout .payment_methods li{
    margin-bottom:12px !important;
}

.woocommerce-checkout-review-order table.shop_table th,
.woocommerce-checkout-review-order table.shop_table td{
    padding:13px 12px !important;
}

@media(max-width:768px){
    .woocommerce ul.products li.product .ghds-product-badge,
    .products .product .ghds-product-badge,
    ul.products .ghds-product-badge{
        max-width:120px !important;
        font-size:9.5px !important;
        padding:4px 7px !important;
    }

    .single-product .ghds-product-badge.big,
    .single-product .ghds-availability-btn{
        display:inline-flex !important;
        margin:5px 5px 5px 0 !important;
    }

    .single-product .ghds-availability-box{
        padding:12px 14px !important;
    }
}


/* =========================================================
   GHDS v1.3.0 — badge text bug + price row + full order bg
========================================================= */

/* Fix any accidental visible PHP/code characters from older badge output */
.ghds-product-badge{
    font-family:inherit !important;
}

/* Badge should sit under price neatly, not between title and price */
.woocommerce ul.products li.product .ghds-badge-row,
.products .product .ghds-badge-row,
ul.products .ghds-badge-row{
    display:block !important;
    width:100% !important;
    clear:both !important;
    margin:3px 0 0 !important;
    line-height:1 !important;
    order:99 !important;
}

/* Product card price + badge compact look */
.woocommerce ul.products li.product .price,
.products .product .price,
ul.products li.product .price{
    display:inline-flex !important;
    align-items:baseline !important;
    flex-wrap:wrap !important;
    gap:5px !important;
    margin:8px 0 0 !important;
    line-height:1.2 !important;
}

/* Small modern badge like sample */
.woocommerce ul.products li.product .ghds-product-badge,
.products .product .ghds-product-badge,
ul.products .ghds-product-badge,
.ghds-product-badge{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:4px !important;
    width:auto !important;
    max-width:150px !important;
    padding:4px 8px !important;
    margin:0 !important;
    border-radius:6px !important;
    background:#f2eaff !important;
    color:#6d43d6 !important;
    border:0 !important;
    font-size:10.5px !important;
    font-weight:600 !important;
    line-height:1.15 !important;
    letter-spacing:0 !important;
    white-space:normal !important;
    text-align:left !important;
    box-shadow:none !important;
}

.woocommerce ul.products li.product .ghds-product-badge:before,
.products .product .ghds-product-badge:before,
ul.products .ghds-product-badge:before,
.ghds-product-badge:before{
    content:"🚚" !important;
    background:none !important;
    color:inherit !important;
    width:auto !important;
    height:auto !important;
    min-width:auto !important;
    border-radius:0 !important;
    font-size:10px !important;
    line-height:1 !important;
    margin:0 !important;
}

/* Type colors */
.ghds-product-badge.ghds-minutes{
    background:#eafaf0 !important;
    color:#0f9f55 !important;
}
.ghds-product-badge.ghds-today{
    background:#f2eaff !important;
    color:#6d43d6 !important;
}
.ghds-product-badge.ghds-nextday{
    background:#eef5ff !important;
    color:#2b6de5 !important;
}
.ghds-product-badge.ghds-otherday{
    background:#fff4e8 !important;
    color:#d97706 !important;
}

/* If theme card uses flex, keep badge near bottom under price */
.woocommerce ul.products li.product,
.products .product{
    position:relative !important;
}

/* Single product badge remains pill */
.single-product .ghds-product-badge.big{
    max-width:none !important;
    padding:8px 15px !important;
    border-radius:999px !important;
    font-size:13px !important;
    line-height:1.15 !important;
}

/* Full grey order card background like reference */
body.woocommerce-checkout #order_review{
    background:#f7f7f7 !important;
    border-radius:28px !important;
    padding:28px 32px 32px !important;
    box-sizing:border-box !important;
    overflow:visible !important;
}

body.woocommerce-checkout #order_review_heading{
    background:#f7f7f7 !important;
    border-radius:28px 28px 0 0 !important;
    padding:28px 32px 0 !important;
    margin:0 !important;
    text-align:center !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order{
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    padding:0 !important;
    border-radius:0 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order table.shop_table{
    background:#fff !important;
    border-radius:18px !important;
    overflow:hidden !important;
    box-shadow:0 8px 25px rgba(15,23,42,.05) !important;
    margin-bottom:22px !important;
}

body.woocommerce-checkout .woocommerce-checkout-payment{
    background:transparent !important;
    border-radius:0 !important;
    padding:0 0 18px !important;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text{
    background:transparent !important;
    margin-top:18px !important;
}

/* Prevent old half-card background rules from visually splitting */
body.woocommerce-checkout .woocommerce-checkout-review-order:before,
body.woocommerce-checkout .woocommerce-checkout-review-order:after,
body.woocommerce-checkout #order_review:before,
body.woocommerce-checkout #order_review:after{
    content:none !important;
}

/* Ensure order section full width inside right column */
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-review-order,
body.woocommerce-checkout .woocommerce-checkout-payment{
    width:100% !important;
    max-width:100% !important;
}

/* Place order fully visible */
body.woocommerce-checkout #place_order{
    width:100% !important;
    min-height:52px !important;
    margin-top:16px !important;
    border-radius:14px !important;
}

/* Product table better spacing inside full card */
body.woocommerce-checkout .woocommerce-checkout-review-order table.shop_table th,
body.woocommerce-checkout .woocommerce-checkout-review-order table.shop_table td{
    padding:14px 12px !important;
}

@media(max-width:768px){
    .woocommerce ul.products li.product .ghds-product-badge,
    .products .product .ghds-product-badge,
    ul.products .ghds-product-badge{
        max-width:132px !important;
        font-size:9.5px !important;
        padding:4px 7px !important;
    }

    body.woocommerce-checkout #order_review,
    body.woocommerce-checkout #order_review_heading{
        padding-left:16px !important;
        padding-right:16px !important;
    }
}


/* GHDS v1.3.1 — product-specific method badge reliability */
.woocommerce ul.products li.product .ghds-badge-row{
    display:block !important;
    clear:both !important;
}


/* GHDS v1.3.3 — ensure front badges/detail visibility */
.ghds-badge-row{
    display:block !important;
    clear:both !important;
    margin-top:6px !important;
}
.ghds-product-badge{
    opacity:1 !important;
    visibility:visible !important;
}
.single-product .ghds-product-delivery{
    display:block !important;
}


/* GHDS v1.3.4 — visibility fixes */
.ghds-badge-row{
    display:block !important;
    clear:both !important;
    margin-top:6px !important;
}
.ghds-product-badge{
    opacity:1 !important;
    visibility:visible !important;
}
.single-product .ghds-product-delivery{
    display:block !important;
    clear:both !important;
}
.single-product .ghds-availability-box{
    display:none !important;
}
.single-product .ghds-availability-box.open{
    display:block !important;
}


/* GHDS v1.3.5 — thank-you cleanup and badge fallback visibility */
.ghds-js-badge{
    display:block !important;
    margin-top:5px !important;
}

.woocommerce-order-received .woocommerce-order-overview{
    display:none !important;
}

.woocommerce-order-received .ghds-thanks-tabs{
    margin-top:24px !important;
}

.woocommerce-order-received .ghds-thanks-tabs div:empty{
    display:none !important;
}

.woocommerce-order-received .ghds-thanks-tabs b:empty:after{
    content:"—";
    color:#94a3b8;
}


/* =========================================================
   GHDS v1.3.6 — final listing/home/detail styles
========================================================= */

/* HOME / listing / carousel compact badges like screenshot 2 */
.woocommerce ul.products li.product .ghds-badge-row,
.products .product .ghds-badge-row,
.wd-product .ghds-badge-row,
.product-grid-item .ghds-badge-row,
.product-small .ghds-badge-row,
.owl-item .ghds-badge-row,
.swiper-slide .ghds-badge-row,
.related.products .ghds-badge-row{
    display:block !important;
    clear:both !important;
    width:100% !important;
    margin:5px 0 0 !important;
    padding:0 !important;
    line-height:1 !important;
}

.woocommerce ul.products li.product .ghds-product-badge,
.products .product .ghds-product-badge,
.wd-product .ghds-product-badge,
.product-grid-item .ghds-product-badge,
.product-small .ghds-product-badge,
.owl-item .ghds-product-badge,
.swiper-slide .ghds-product-badge,
.related.products .ghds-product-badge{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:5px !important;
    width:auto !important;
    max-width:160px !important;
    min-height:24px !important;
    padding:5px 10px !important;
    margin:0 !important;
    border-radius:8px !important;
    border:1px solid transparent !important;
    font-size:11px !important;
    line-height:1.15 !important;
    font-weight:600 !important;
    letter-spacing:0 !important;
    white-space:normal !important;
    text-align:center !important;
    box-shadow:none !important;
}

/* icon */
.woocommerce ul.products li.product .ghds-product-badge:before,
.products .product .ghds-product-badge:before,
.wd-product .ghds-product-badge:before,
.product-grid-item .ghds-product-badge:before,
.product-small .ghds-product-badge:before,
.owl-item .ghds-product-badge:before,
.swiper-slide .ghds-product-badge:before,
.related.products .ghds-product-badge:before{
    content:"🚚" !important;
    background:none !important;
    color:inherit !important;
    width:auto !important;
    height:auto !important;
    min-width:auto !important;
    border-radius:0 !important;
    font-size:11px !important;
    line-height:1 !important;
    margin:0 !important;
}

/* exact style colors like screenshot 2 */
.ghds-product-badge.ghds-minutes{
    background:#e8fff0 !important;
    border-color:#b7efc7 !important;
    color:#098b45 !important;
}
.ghds-product-badge.ghds-today{
    background:#eaf2ff !important;
    border-color:#cfe1ff !important;
    color:#2b6de5 !important;
}
.ghds-product-badge.ghds-nextday{
    background:#eaf2ff !important;
    border-color:#cfe1ff !important;
    color:#2b6de5 !important;
}
.ghds-product-badge.ghds-otherday{
    background:#f2eaff !important;
    border-color:#eadcff !important;
    color:#6d43d6 !important;
}

/* remove accidental code characters from old cached badge text visually */
.ghds-product-badge{
    text-decoration:none !important;
}

/* PRODUCT DETAIL page like screenshot 3 */
.single-product .ghds-product-delivery{
    display:block !important;
    clear:both !important;
    margin:18px 0 20px !important;
}

.single-product .ghds-product-delivery .ghds-product-badge.big{
    display:inline-flex !important;
    align-items:center !important;
    gap:9px !important;
    padding:11px 22px !important;
    border-radius:999px !important;
    font-size:16px !important;
    font-weight:700 !important;
    line-height:1.15 !important;
    margin:0 12px 14px 0 !important;
    max-width:none !important;
}

.single-product .ghds-product-delivery .ghds-product-badge.big:before{
    content:"" !important;
    width:16px !important;
    height:16px !important;
    min-width:16px !important;
    border-radius:50% !important;
    background:#000 !important;
    display:inline-block !important;
}

.single-product .ghds-availability-btn{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    background:#fff !important;
    border:1px solid #e2e8f0 !important;
    border-radius:999px !important;
    padding:12px 22px !important;
    font-size:15px !important;
    font-weight:800 !important;
    color:#1f2937 !important;
    box-shadow:none !important;
    cursor:pointer !important;
    margin:0 0 14px !important;
}

.single-product .ghds-availability-box{
    position:relative !important;
    display:none !important;
    width:100% !important;
    max-width:860px !important;
    margin:4px 0 0 !important;
    padding:28px 34px !important;
    border-radius:22px !important;
    background:#fff8ed !important;
    border:1px solid #f2dfc6 !important;
    box-shadow:0 18px 42px rgba(15,23,42,.055) !important;
}

.single-product .ghds-availability-box.open{
    display:block !important;
}

.single-product .ghds-availability-box:before{
    content:"" !important;
    position:absolute !important;
    top:-13px !important;
    left:44px !important;
    width:24px !important;
    height:24px !important;
    background:#fff8ed !important;
    border-left:1px solid #f2dfc6 !important;
    border-top:1px solid #f2dfc6 !important;
    transform:rotate(45deg) !important;
}

.single-product .ghds-availability-row{
    display:flex !important;
    align-items:center !important;
    gap:14px !important;
    padding:15px 0 !important;
    border-bottom:1px solid #eadfcd !important;
    font-size:17px !important;
    line-height:1.35 !important;
    color:#1f2937 !important;
}

.single-product .ghds-availability-row:last-child{
    border-bottom:none !important;
}

.single-product .ghds-availability-row span{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    padding:0 !important;
    margin:0 !important;
    border-radius:50% !important;
    background:#eafff1 !important;
    font-size:18px !important;
}

.single-product .ghds-availability-row strong{
    font-weight:800 !important;
    font-size:17px !important;
}

.single-product .ghds-availability-row em{
    color:#ef6b55 !important;
    font-style:normal !important;
    font-size:17px !important;
    font-weight:600 !important;
}

/* responsive */
@media(max-width:768px){
    .woocommerce ul.products li.product .ghds-product-badge,
    .products .product .ghds-product-badge,
    .wd-product .ghds-product-badge,
    .product-grid-item .ghds-product-badge,
    .product-small .ghds-product-badge{
        max-width:138px !important;
        min-height:22px !important;
        padding:4px 8px !important;
        font-size:10px !important;
        border-radius:7px !important;
    }

    .single-product .ghds-product-delivery .ghds-product-badge.big,
    .single-product .ghds-availability-btn{
        font-size:13px !important;
        padding:9px 14px !important;
        margin-bottom:10px !important;
    }

    .single-product .ghds-availability-box{
        padding:18px 18px !important;
        border-radius:18px !important;
    }

    .single-product .ghds-availability-row{
        font-size:14px !important;
        gap:10px !important;
    }

    .single-product .ghds-availability-row strong,
    .single-product .ghds-availability-row em{
        font-size:14px !important;
    }
}


/* GHDS v1.3.7 — force show badges and product detail */

/* Listing/home/recent/related badge */
.ghds-badge-row,
.ghds-forced-badge{
    display:block !important;
    clear:both !important;
    visibility:visible !important;
    opacity:1 !important;
    width:100% !important;
    margin:6px 0 0 !important;
    padding:0 !important;
    line-height:1 !important;
}

.ghds-product-badge{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:5px !important;
    width:auto !important;
    max-width:170px !important;
    min-height:24px !important;
    padding:5px 10px !important;
    margin:0 !important;
    border-radius:8px !important;
    border:1px solid transparent !important;
    font-size:11px !important;
    line-height:1.15 !important;
    font-weight:600 !important;
    letter-spacing:0 !important;
    white-space:normal !important;
    text-align:center !important;
    box-shadow:none !important;
    visibility:visible !important;
    opacity:1 !important;
}

.ghds-product-badge:before{
    content:"🚚" !important;
    background:none !important;
    width:auto !important;
    height:auto !important;
    min-width:auto !important;
    border-radius:0 !important;
    font-size:11px !important;
    line-height:1 !important;
    margin:0 !important;
}

.ghds-product-badge.ghds-minutes{
    background:#e8fff0 !important;
    border-color:#b7efc7 !important;
    color:#07843f !important;
}
.ghds-product-badge.ghds-today,
.ghds-product-badge.ghds-nextday{
    background:#eaf2ff !important;
    border-color:#cfe1ff !important;
    color:#2b6de5 !important;
}
.ghds-product-badge.ghds-otherday{
    background:#f2eaff !important;
    border-color:#eadcff !important;
    color:#6d43d6 !important;
}

/* Single product detail delivery */
.single-product .ghds-product-delivery{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    clear:both !important;
    margin:18px 0 22px !important;
}

.single-product .ghds-product-badge.big{
    display:inline-flex !important;
    align-items:center !important;
    gap:9px !important;
    padding:11px 22px !important;
    border-radius:999px !important;
    font-size:16px !important;
    font-weight:700 !important;
    line-height:1.15 !important;
    margin:0 12px 14px 0 !important;
    max-width:none !important;
}

.single-product .ghds-product-badge.big:before{
    content:"" !important;
    width:16px !important;
    height:16px !important;
    min-width:16px !important;
    border-radius:50% !important;
    background:#000 !important;
    display:inline-block !important;
}

.single-product .ghds-availability-btn{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    background:#fff !important;
    border:1px solid #e2e8f0 !important;
    border-radius:999px !important;
    padding:12px 22px !important;
    font-size:15px !important;
    font-weight:800 !important;
    color:#1f2937 !important;
    cursor:pointer !important;
    margin:0 0 14px !important;
}

.single-product .ghds-availability-box{
    display:none !important;
    position:relative !important;
    width:100% !important;
    max-width:860px !important;
    margin:4px 0 0 !important;
    padding:28px 34px !important;
    border-radius:22px !important;
    background:#fff8ed !important;
    border:1px solid #f2dfc6 !important;
    box-shadow:0 18px 42px rgba(15,23,42,.055) !important;
}

.single-product .ghds-availability-box.open{
    display:block !important;
}

.single-product .ghds-availability-box:before{
    content:"" !important;
    position:absolute !important;
    top:-13px !important;
    left:44px !important;
    width:24px !important;
    height:24px !important;
    background:#fff8ed !important;
    border-left:1px solid #f2dfc6 !important;
    border-top:1px solid #f2dfc6 !important;
    transform:rotate(45deg) !important;
}

.single-product .ghds-availability-row{
    display:flex !important;
    align-items:center !important;
    gap:14px !important;
    padding:15px 0 !important;
    border-bottom:1px solid #eadfcd !important;
    font-size:17px !important;
    line-height:1.35 !important;
    color:#1f2937 !important;
}

.single-product .ghds-availability-row:last-child{
    border-bottom:none !important;
}

.single-product .ghds-availability-row span{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    border-radius:50% !important;
    background:#eafff1 !important;
    font-size:18px !important;
}

.single-product .ghds-availability-row strong{
    font-weight:800 !important;
}

.single-product .ghds-availability-row em{
    color:#ef6b55 !important;
    font-style:normal !important;
    font-weight:600 !important;
}


/* =========================================================
   GHDS v1.3.8 — product-only badges + final colors
========================================================= */

/* Hide badges on category tiles/cards */
.product-category .ghds-badge-row,
.product-category .ghds-product-badge,
.category-grid-item .ghds-badge-row,
.category-grid-item .ghds-product-badge,
.wd-cat .ghds-badge-row,
.wd-cat .ghds-product-badge,
.cat-design .ghds-badge-row,
.cat-design .ghds-product-badge,
.woocommerce-loop-category__title + .ghds-badge-row{
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
}

/* Keep product badges visible only on product cards */
li.product:not(.product-category) .ghds-badge-row,
.products .product:not(.product-category) .ghds-badge-row,
.wd-product .ghds-badge-row,
.product-grid-item:not(.category-grid-item) .ghds-badge-row,
.product-small .ghds-badge-row,
.related.products li.product .ghds-badge-row,
.recently-viewed li.product .ghds-badge-row{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
}

/* Consistent compact badge format */
li.product:not(.product-category) .ghds-product-badge,
.products .product:not(.product-category) .ghds-product-badge,
.wd-product .ghds-product-badge,
.product-grid-item:not(.category-grid-item) .ghds-product-badge,
.product-small .ghds-product-badge,
.related.products li.product .ghds-product-badge,
.recently-viewed li.product .ghds-product-badge,
.single-product .ghds-product-badge{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:5px !important;
    width:auto !important;
    max-width:170px !important;
    min-height:24px !important;
    padding:5px 10px !important;
    margin:0 !important;
    border-radius:8px !important;
    border:1px solid transparent !important;
    font-size:11px !important;
    line-height:1.15 !important;
    font-weight:600 !important;
    text-align:center !important;
    white-space:normal !important;
    box-shadow:none !important;
}

/* 90 mins = green */
.ghds-product-badge.ghds-minutes,
.single-product .ghds-product-badge.big.ghds-minutes{
    background:#e8fff0 !important;
    border-color:#b7efc7 !important;
    color:#07843f !important;
}

/* Same day / today = current blue-purple */
.ghds-product-badge.ghds-today,
.ghds-product-badge.ghds-nextday,
.single-product .ghds-product-badge.big.ghds-today,
.single-product .ghds-product-badge.big.ghds-nextday{
    background:#eaf2ff !important;
    border-color:#cfe1ff !important;
    color:#2b6de5 !important;
}

/* Other day = light yellow */
.ghds-product-badge.ghds-otherday,
.single-product .ghds-product-badge.big.ghds-otherday{
    background:#fff6dd !important;
    border-color:#ffe7a8 !important;
    color:#b7791f !important;
}

/* Detail page keeps larger pill */
.single-product .ghds-product-badge.big{
    max-width:none !important;
    min-height:40px !important;
    padding:11px 22px !important;
    border-radius:999px !important;
    font-size:16px !important;
    font-weight:700 !important;
}

/* Detail icon dot matching requested style */
.single-product .ghds-product-badge.big:before{
    content:"" !important;
    width:16px !important;
    height:16px !important;
    min-width:16px !important;
    border-radius:50% !important;
    background:#000 !important;
    display:inline-block !important;
}

/* Listing icon remains truck */
li.product:not(.product-category) .ghds-product-badge:not(.big):before,
.products .product:not(.product-category) .ghds-product-badge:not(.big):before,
.wd-product .ghds-product-badge:not(.big):before,
.product-grid-item:not(.category-grid-item) .ghds-product-badge:not(.big):before,
.product-small .ghds-product-badge:not(.big):before{
    content:"🚚" !important;
    background:none !important;
    color:inherit !important;
    width:auto !important;
    height:auto !important;
    min-width:auto !important;
    border-radius:0 !important;
    font-size:11px !important;
    line-height:1 !important;
}


/* GHDS v1.4.0 checkout conflict notice */
.ghds-conflict-notice{
    background:#fff7ed !important;
    border:1px solid #fed7aa !important;
    color:#9a3412 !important;
    border-radius:14px !important;
    padding:12px 14px !important;
    margin:12px 0 14px !important;
    font-size:14px !important;
    line-height:1.5 !important;
    font-weight:600 !important;
}
.ghds-conflict-notice a{
    color:#7c2d12 !important;
    text-decoration:underline !important;
    font-weight:800 !important;
}


/* GHDS v1.4.1 — cache-safe final CSS + duplicate control */
.recently-viewed .ghds-badge-row,
.recently-viewed-products .ghds-badge-row,
.wd-recently-viewed .ghds-badge-row,
.woodmart-recently-viewed-products .ghds-badge-row,
.ghds-recently-viewed .ghds-badge-row{display:none!important}

.single-product .ghds-product-delivery ~ .ghds-product-delivery{display:none!important}

.product-category .ghds-badge-row,
.category-grid-item .ghds-badge-row,
.wd-cat .ghds-badge-row,
.cat-design .ghds-badge-row,
.woocommerce-loop-category__title + .ghds-badge-row{display:none!important}

li.product:not(.product-category) .ghds-badge-row,
.products .product:not(.product-category) .ghds-badge-row,
.wd-product .ghds-badge-row,
.product-grid-item:not(.category-grid-item) .ghds-badge-row,
.product-small .ghds-badge-row,
.related.products li.product .ghds-badge-row{
    display:block!important;clear:both!important;width:100%!important;margin:6px 0 0!important;padding:0!important;line-height:1!important
}

li.product:not(.product-category) .ghds-product-badge,
.products .product:not(.product-category) .ghds-product-badge,
.wd-product .ghds-product-badge,
.product-grid-item:not(.category-grid-item) .ghds-product-badge,
.product-small .ghds-product-badge,
.related.products li.product .ghds-product-badge{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:auto!important;max-width:170px!important;
    min-height:24px!important;padding:4px 10px!important;margin:0!important;border-radius:7px!important;border:1px solid transparent!important;
    font-size:11px!important;line-height:1.15!important;font-weight:600!important;text-align:center!important;white-space:nowrap!important;box-shadow:none!important
}
li.product:not(.product-category) .ghds-product-badge:not(.big):before,
.products .product:not(.product-category) .ghds-product-badge:not(.big):before,
.wd-product .ghds-product-badge:not(.big):before,
.product-grid-item:not(.category-grid-item) .ghds-product-badge:not(.big):before,
.product-small .ghds-product-badge:not(.big):before,
.related.products li.product .ghds-product-badge:not(.big):before{
    content:"🚚"!important;background:none!important;width:auto!important;height:auto!important;min-width:auto!important;border-radius:0!important;font-size:11px!important;line-height:1!important;margin:0!important
}
.ghds-product-badge.ghds-minutes{background:#e8fff0!important;border-color:#b7efc7!important;color:#07843f!important}
.ghds-product-badge.ghds-today,.ghds-product-badge.ghds-nextday{background:#eaf2ff!important;border-color:#cfe1ff!important;color:#2b6de5!important}
.ghds-product-badge.ghds-otherday{background:#fff6dd!important;border-color:#ffe7a8!important;color:#b7791f!important}

.single-product .ghds-product-delivery{display:block!important;clear:both!important;margin:18px 0 22px!important}
.single-product .ghds-product-badge.big{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;max-width:none!important;min-height:42px!important;
    padding:11px 22px!important;margin:0 14px 14px 0!important;border-radius:999px!important;font-size:16px!important;font-weight:700!important;line-height:1.15!important;white-space:nowrap!important
}
.single-product .ghds-product-badge.big:before{content:""!important;width:16px!important;height:16px!important;min-width:16px!important;border-radius:50%!important;background:#000!important;display:inline-block!important}
.single-product .ghds-availability-btn{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;background:#fff!important;border:1px solid #e2e8f0!important;
    border-radius:999px!important;padding:12px 22px!important;margin:0 0 14px!important;font-size:15px!important;font-weight:800!important;color:#1f2937!important;box-shadow:none!important;cursor:pointer!important
}
.single-product .ghds-availability-box{
    display:none!important;position:relative!important;width:100%!important;max-width:860px!important;margin:4px 0 0!important;padding:24px 30px!important;
    border-radius:20px!important;background:#fff8ed!important;border:1px solid #f2dfc6!important;box-shadow:0 18px 42px rgba(15,23,42,.055)!important
}
.single-product .ghds-availability-box.open{display:block!important}
.single-product .ghds-availability-row{display:flex!important;align-items:center!important;gap:14px!important;padding:13px 0!important;border-bottom:1px solid #eadfcd!important;font-size:16px!important;line-height:1.35!important;color:#1f2937!important}
.single-product .ghds-availability-row:last-child{border-bottom:none!important}
.single-product .ghds-availability-row span{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;min-width:38px!important;border-radius:50%!important;background:#eafff1!important;font-size:16px!important}
.single-product .ghds-availability-row strong{font-weight:800!important}
.single-product .ghds-availability-row em{color:#ef6b55!important;font-style:normal!important;font-weight:600!important}
