
.hcb-topbar{display:flex;gap:24px;justify-content:center;align-items:center;padding:8px 16px;background:#0b8f2e;color:#fff;font-size:13px;font-weight:700;position:relative;z-index:999}
.hcb-topbar a{color:#fff;text-decoration:none}
.hcb-trustbar{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-width:1180px;margin:18px auto;padding:12px 16px;border:1px solid #eee;border-radius:14px;background:#fff}
.hcb-trustbar span{display:flex;flex-direction:column;align-items:center;text-align:center}.hcb-trustbar b{font-size:13px}.hcb-trustbar small{font-size:11px;color:#64748b}
.hcb-flash{display:grid;grid-template-columns:1fr auto 1fr auto;align-items:center;gap:20px;max-width:1180px;margin:20px auto;padding:18px 22px;background:#effcf3;border:1px solid #d5f0dd;border-radius:16px}
.hcb-flash img{width:90px;height:90px;object-fit:contain}.hcb-flash strong{font-size:22px;color:#0b8f2e}.hcb-flash a{display:inline-block;padding:10px 18px;border-radius:10px;background:#ff5a0a;color:#fff;text-decoration:none;font-weight:800}
.hcb-card-ctas{margin-top:8px}.hcb-buy-now{display:block;text-align:center;padding:9px 10px;border:1px solid #ff5a0a;border-radius:8px;color:#ff5a0a!important;text-decoration:none!important;font-weight:800}
.hcb-live-sale{position:fixed;left:18px;bottom:110px;width:250px;padding:14px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 12px 35px rgba(0,0,0,.14);z-index:99980}.hcb-live-sale b{color:#16803a}.hcb-live-sale p{margin:8px 0;font-size:12px}.hcb-live-sale small{color:#16803a}.hcb-close{border:0;background:transparent;font-size:24px;cursor:pointer}
.hcb-live-sale .hcb-close{position:absolute;right:8px;top:4px}
.hcb-spin-launch{position:fixed;right:18px;bottom:170px;width:52px;height:52px;border-radius:50%;border:0;background:#ff5a0a;color:#fff;font-size:22px;z-index:99981;box-shadow:0 10px 25px rgba(0,0,0,.18)}
.hcb-spin-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:100050;align-items:center;justify-content:center;padding:16px}.hcb-spin-modal.is-open{display:flex}.hcb-spin-card{width:min(360px,100%);background:#fff;border-radius:18px;padding:22px;text-align:center;position:relative}.hcb-spin-close{position:absolute;right:10px;top:8px}.hcb-wheel-wrap{position:relative;width:210px;height:210px;margin:14px auto}.hcb-wheel-pointer{position:absolute;z-index:3;left:50%;top:-12px;transform:translateX(-50%);font-size:26px;color:#111827}.hcb-wheel{position:relative;width:200px;height:200px;margin:5px auto;border-radius:50%;background:conic-gradient(#ff5a0a 0 25%,#0b8f2e 25% 50%,#ffd23f 50% 75%,#0ea5e9 75%);border:8px solid #fff;box-shadow:0 0 0 2px #ddd,0 10px 25px rgba(0,0,0,.12);transition:transform 3.4s cubic-bezier(.18,.8,.22,1);overflow:hidden}.hcb-wheel:before,.hcb-wheel:after{content:"";position:absolute;background:rgba(255,255,255,.85);z-index:1}.hcb-wheel:before{width:2px;height:100%;left:50%;top:0}.hcb-wheel:after{height:2px;width:100%;left:0;top:50%}.hcb-wheel-label{position:absolute;z-index:2;color:#fff;font-weight:900;font-size:12px;line-height:1.05;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.25)}.hcb-wheel-label.l1{top:38px;right:26px}.hcb-wheel-label.l2{right:22px;bottom:34px}.hcb-wheel-label.l3{left:28px;bottom:42px}.hcb-wheel-label.l4{left:17px;top:35px}.hcb-spin-btn{background:#ff5a0a;color:#fff;border:0;border-radius:10px;padding:12px 20px;font-weight:800;cursor:pointer}
.hcb-cart-timer{position:fixed;right:18px;bottom:18px;background:#111827;color:#fff;padding:9px 12px;border-radius:999px;z-index:99979;font-size:12px}
.hcb-sticky-buy{display:none}
@media(max-width:700px){
  .hcb-topbar{font-size:11px;gap:8px;justify-content:space-between;white-space:nowrap;overflow:hidden}.hcb-topbar span:nth-child(2),.hcb-topbar a{display:none}
  .hcb-trustbar{grid-template-columns:repeat(4,1fr);gap:2px;margin:10px 6px;padding:8px 4px}.hcb-trustbar b{font-size:9px}.hcb-trustbar small{font-size:8px}
  .hcb-flash{grid-template-columns:1fr auto;gap:10px;margin:10px 6px;padding:12px}.hcb-flash img{width:70px;height:70px}.hcb-flash-price,.hcb-countdown{font-size:11px}
  .hcb-live-sale{left:8px;right:8px;bottom:150px;width:auto}
    .hcb-spin-launch{right:12px;bottom:145px}
  .hcb-cart-timer{left:50%;right:auto;transform:translateX(-50%);bottom:74px;white-space:nowrap}
  .hcb-sticky-buy{display:flex;position:fixed;left:8px;right:8px;bottom:8px;height:58px;align-items:center;justify-content:space-between;padding:0 12px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.18);z-index:99990}.hcb-sticky-buy a{background:#ff5a0a;color:#fff!important;text-decoration:none!important;padding:12px 18px;border-radius:10px;font-weight:800}
}

.hcb-cart-reservation{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:13px 16px;border:1px solid #fed7aa;border-radius:12px;background:#fff7ed;color:#7c2d12}
.hcb-cart-reservation-icon{font-size:25px}
.hcb-cart-reservation strong{display:block;font-size:15px}
.hcb-cart-reservation small{display:block;margin-top:3px;color:#9a3412}
.hcb-live-sale{transition:opacity .2s ease,transform .2s ease}
.hcb-live-sale.is-switching{opacity:.2;transform:translateY(6px)}
@media(max-width:700px){
  .hcb-cart-reservation{margin:0 6px 12px;padding:11px 12px}
  .hcb-cart-reservation strong{font-size:13px}
  .hcb-cart-reservation small{font-size:10px}
}


/* ==========================================================
   v1.2.0 GIFT POPUP + CART-ONLY TIMER + LIVE100
   ========================================================== */

/* Gift launcher stays as gift */
.hcb-spin-launch{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:#ff5a0a!important;
    color:#fff!important;
    font-size:24px!important;
}

/* Gift celebration popup */
.hcb-gift-card{
    overflow:hidden;
    padding:26px 24px 22px!important;
}
.hcb-gift-big{
    width:84px;height:84px;margin:4px auto 10px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    font-size:44px;background:#fff3e8;border:2px solid #ffd3b3;
    animation:hcbGiftPop .55s cubic-bezier(.2,.8,.2,1);
}
.hcb-gift-kicker{
    font-size:12px;font-weight:900;letter-spacing:1.6px;color:#16a34a;
}
.hcb-gift-card h3{
    margin:5px 0 4px;font-size:36px;line-height:1;color:#ff5a0a;
}
.hcb-gift-card p{margin:8px 0 16px;color:#475569}
.hcb-gift-note{display:block;margin-top:12px;color:#64748b;font-size:10px}
.hcb-spin-result .hcb-code-wrap{
    margin-top:14px;padding:12px;border:1px dashed #ff8a4c;border-radius:12px;background:#fff7ed;
}
.hcb-spin-result .hcb-code{
    display:inline-block;margin:5px 0;padding:9px 13px;border-radius:9px;
    background:#111827;color:#fff;font-weight:900;letter-spacing:1px;
}
.hcb-copy-code{border:0;background:#16a34a;color:#fff;border-radius:8px;padding:8px 12px;font-weight:800;cursor:pointer}

/* Confetti */
.hcb-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.hcb-confetti i{position:absolute;top:-18px;width:8px;height:14px;border-radius:2px;animation:hcbConfetti 1.8s ease-out forwards}
@keyframes hcbConfetti{
    0%{transform:translateY(0) rotate(0deg);opacity:1}
    100%{transform:translateY(360px) rotate(720deg);opacity:0}
}
@keyframes hcbGiftPop{
    0%{transform:scale(.55) rotate(-8deg);opacity:0}
    70%{transform:scale(1.08) rotate(4deg)}
    100%{transform:scale(1);opacity:1}
}

/* Live sale can accommodate quantity */
.hcb-live-sale p{line-height:1.35}
.hcb-live-sale .hcb-qty{
    display:inline-block;margin-left:4px;padding:2px 6px;border-radius:999px;
    background:#fff7ed;color:#c2410c;font-size:10px;font-weight:800;
}

/* Cart timer is now an in-page banner only */
.hcb-cart-timer{display:none!important}
.hcb-cart-reservation{
    position:static!important;
    max-width:none!important;
    width:auto!important;
    margin:0 0 16px!important;
    transform:none!important;
    border:1px solid #fdba74!important;
    background:linear-gradient(90deg,#fff7ed,#fffbeb)!important;
    box-shadow:none!important;
}
.hcb-cart-reservation strong{font-size:15px!important}
.hcb-cart-reservation [data-hcb-cart-page-clock]{
    display:inline-block;padding:3px 8px;margin-left:4px;border-radius:999px;
    background:#111827;color:#fff;font-variant-numeric:tabular-nums;
}
@media(max-width:700px){
    .hcb-gift-card{padding:22px 16px 18px!important}
    .hcb-gift-card h3{font-size:32px}
    .hcb-cart-reservation{margin:0 6px 12px!important}
}


/* ==========================================================
   v1.2.1 CART TIMER VISIBILITY + 30 SECOND LIVE SALES
   ========================================================== */

/* Live Sales waits 30 seconds before appearing. */
.hcb-live-sale{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translateY(8px)!important;
}
.hcb-live-sale.is-visible{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateY(0)!important;
}

/* Timer inserted inside Cart page content. */
.hcb-cart-reservation-js{
    display:flex!important;
    position:relative!important;
    z-index:2!important;
    width:auto!important;
    max-width:1180px!important;
    margin:14px auto 16px!important;
    padding:13px 16px!important;
    box-sizing:border-box!important;
}
.hcb-cart-reservation-js strong{
    font-size:15px!important;
}
.hcb-cart-reservation-js small{
    font-size:11px!important;
}
@media(max-width:700px){
    .hcb-cart-reservation-js{
        margin:10px 8px 12px!important;
        padding:11px 12px!important;
    }
}


/* ==========================================================
   v1.3.0 PREMIUM DELIVERY CHECKER
   ========================================================== */
.hcb-delivery-premium{
    position:relative;
    overflow:hidden;
    margin:16px 0 10px;
    padding:16px;
    border:1px solid #eadfd8;
    border-radius:16px;
    background:linear-gradient(135deg,#fff 0%,#fffaf6 100%);
    box-shadow:0 8px 28px rgba(17,24,39,.06);
}
.hcb-delivery-premium:before{
    content:"";
    position:absolute;
    width:110px;height:110px;
    right:-55px;top:-58px;
    border-radius:50%;
    background:rgba(255,90,10,.055);
}
.hcb-delivery-title{
    position:relative;
    display:flex;
    align-items:center;
    gap:11px;
}
.hcb-delivery-icon{
    flex:0 0 42px;
    width:42px;height:42px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:#fff0e8;
    font-size:20px;
}
.hcb-delivery-title strong{
    display:block;
    color:#111827;
    font-size:16px;
    line-height:1.2;
}
.hcb-delivery-title small{
    display:block;
    margin-top:3px;
    color:#667085;
    font-size:12px;
}
.hcb-delivery-inputrow{
    position:relative;
    display:flex;
    gap:8px;
    margin-top:13px;
}
.hcb-delivery-inputrow input{
    flex:1!important;
    min-width:0!important;
    height:46px!important;
    margin:0!important;
    padding:0 14px!important;
    border:1px solid #d9dde5!important;
    border-radius:10px!important;
    background:#fff!important;
    box-shadow:none!important;
    font-size:14px!important;
}
.hcb-delivery-inputrow input:focus{
    border-color:#ff7a32!important;
    box-shadow:0 0 0 3px rgba(255,90,10,.10)!important;
}
.hcb-delivery-inputrow button{
    min-width:100px;
    height:46px;
    padding:0 18px;
    border:0;
    border-radius:10px;
    background:#ff5a0a;
    color:#fff;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
}
.hcb-delivery-inputrow button:disabled{opacity:.65;cursor:wait}
.hcb-delivery-result{margin-top:10px}
.hcb-delivery-error{
    padding:11px 12px;
    border:1px solid #f1c7c7;
    border-radius:10px;
    background:#fff4f4;
    color:#982b2b;
    font-size:12px;
}
.hcb-delivery-success{
    padding:12px;
    border:1px solid #bfe6c8;
    border-radius:12px;
    background:#f1fbf3;
}
.hcb-delivery-success-head{
    display:flex;
    align-items:center;
    gap:9px;
}
.hcb-delivery-success-head>span{
    width:28px;height:28px;
    display:grid;place-items:center;
    border-radius:50%;
    background:#16a34a;
    color:#fff;
    font-weight:900;
}
.hcb-delivery-success-head b{display:block;color:#14532d;font-size:14px}
.hcb-delivery-success-head small{display:block;color:#4b6f59;font-size:11px}
.hcb-delivery-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:7px;
    margin-top:10px;
}
.hcb-delivery-stats span{
    padding:9px 6px;
    border-radius:9px;
    background:#fff;
    text-align:center;
    border:1px solid #e6f2e9;
}
.hcb-delivery-stats b{display:block;color:#111827;font-size:12px}
.hcb-delivery-stats small{display:block;margin-top:2px;color:#667085;font-size:9px}

@media(max-width:700px){
    .hcb-delivery-premium{padding:13px;border-radius:14px}
    .hcb-delivery-inputrow button{min-width:88px;padding:0 13px}
    .hcb-delivery-stats{grid-template-columns:repeat(3,1fr);gap:5px}
}

/* Trust bar must never be injected after the footer by this plugin. */
body > .hcb-trustbar{display:none!important}


/* ==========================================================
   v1.4.0 CLEANUP + PREMIUM DELIVERY UI
   ========================================================== */

/* Hide known legacy booster output if an old plugin is still loaded. */
.hfb3-delivery,
.hfb310-delivery,
.hfb320-delivery,
.hcbp-delivery,
body > .hfb3-modal,
body > .hfb310-gift-modal,
body > .hfb320-gift-modal,
body > .hcbp-gift-modal,
body > .hfb3-gift,
body > .hfb310-gift-launch,
body > .hfb320-gift-launch,
body > .hcbp-gift,
body > .hfb3-live,
body > .hfb310-live,
body > .hfb320-live,
body > .hcbp-live,
body > .hfb3-timer,
body > .hfb310-cart-timer,
body > .hfb320-cart-timer,
body > .hcbp-cart-timer {
    display:none !important;
}

/* Premium delivery checker */
.hcb-delivery-premium{
    position:relative;
    overflow:hidden;
    max-width:620px;
    margin:16px 0 10px;
    padding:17px;
    border:1px solid #eadfd8;
    border-radius:17px;
    background:
      radial-gradient(circle at 100% 0,rgba(255,90,10,.08),transparent 33%),
      linear-gradient(135deg,#fff 0%,#fffaf6 100%);
    box-shadow:0 10px 30px rgba(17,24,39,.065);
}
.hcb-delivery-title{display:flex;align-items:center;gap:11px}
.hcb-delivery-copy{min-width:0;flex:1}
.hcb-delivery-live{
    flex:0 0 auto;
    padding:4px 8px;
    border:1px solid #bfe7c8;
    border-radius:999px;
    background:#effaf2;
    color:#15803d;
    font-size:9px;
    font-weight:900;
    letter-spacing:.7px
}
.hcb-pin-icon{
    position:absolute;
    left:13px;
    top:50%;
    transform:translateY(-50%);
    z-index:2;
    color:#ff5a0a;
    font-size:17px
}
.hcb-delivery-inputrow{position:relative}
.hcb-delivery-inputrow input{padding-left:38px!important}
.hcb-delivery-foot{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:9px;
    color:#667085;
    font-size:10px
}
.hcb-delivery-success{
    animation:hcbDeliveryIn .22s ease-out;
}
@keyframes hcbDeliveryIn{
    from{opacity:0;transform:translateY(4px)}
    to{opacity:1;transform:none}
}
@media(max-width:600px){
    .hcb-delivery-premium{padding:14px}
    .hcb-delivery-inputrow button{min-width:82px!important}
    .hcb-delivery-live{display:none}
}

.hcb-delivery-loading{
    padding:10px 12px;
    border-radius:10px;
    background:#f8fafc;
    color:#475569;
    font-size:12px
}


/* ==========================================================
   v1.5.0 DELIVERY QUALITY / PREPAID RECOMMENDATION
   ========================================================== */
.hcb-payment-guidance{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:9px;
    margin-top:12px;
}
.hcb-pay-recommended,
.hcb-pay-cod{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:12px;
    border-radius:12px;
}
.hcb-pay-recommended{
    border:1px solid #bfe7c8;
    background:linear-gradient(135deg,#effaf2,#f8fff9);
}
.hcb-pay-cod{
    border:1px solid #eadfd8;
    background:#fffaf6;
}
.hcb-pay-recommended strong,
.hcb-pay-cod strong{
    display:block;
    color:#111827;
    font-size:13px;
}
.hcb-pay-recommended small,
.hcb-pay-cod small{
    display:block;
    margin-top:3px;
    color:#667085;
    font-size:10px;
    line-height:1.35;
}
.hcb-rec-badge{
    display:inline-block;
    margin-bottom:5px;
    padding:3px 7px;
    border-radius:999px;
    background:#16a34a;
    color:#fff;
    font-size:8px;
    font-weight:900;
    letter-spacing:.5px;
}
.hcb-pay-icon{
    flex:0 0 auto;
    font-size:22px;
}
.hcb-delivery-stats-v15{
    grid-template-columns:repeat(3,1fr);
}
.hcb-prepaid-recommend{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin-top:10px;
    padding:11px 12px;
    border-radius:11px;
    background:#eaf9ee;
    border:1px solid #b8e2c3;
}
.hcb-prepaid-recommend strong{
    display:block;
    color:#116530;
    font-size:13px;
}
.hcb-prepaid-recommend small{
    display:block;
    margin-top:2px;
    color:#4f6f5b;
    font-size:10px;
}
.hcb-prepaid-recommend>span{
    flex:0 0 auto;
    padding:4px 8px;
    border-radius:999px;
    background:#16a34a;
    color:#fff;
    font-size:8px;
    font-weight:900;
}
.hcb-cod-note{
    margin-top:8px;
    padding:10px 12px;
    border-radius:10px;
    background:#fff9f5;
    border:1px solid #f0dfd4;
}
.hcb-cod-note strong{
    display:block;
    color:#7c3b13;
    font-size:11px;
}
.hcb-cod-note small{
    display:block;
    margin-top:2px;
    color:#7a6658;
    font-size:9px;
}
.hcb-cod-note.is-bad{
    background:#fff2f2;
    border-color:#f1c7c7;
}
.hcb-cod-note.is-bad strong{color:#a12626}
.hcb-delivery-blocked{
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:14px!important;
}
.hcb-delivery-blocked strong{
    color:#a12626;
    font-size:13px;
}
.hcb-delivery-blocked span{
    color:#8d2d2d;
    font-size:12px;
}
.hcb-delivery-blocked small{
    color:#7c5d5d;
    font-size:10px;
}

@media(max-width:600px){
    .hcb-payment-guidance{grid-template-columns:1fr}
    .hcb-delivery-stats-v15{grid-template-columns:repeat(3,1fr)}
    .hcb-prepaid-recommend{align-items:flex-start}
}


/* ==========================================================
   v1.5.1 MOBILE FLOATING ACTION FIX
   Keeps WhatsApp and Gift above sticky Buy Now / Pay Now bars.
   Desktop layout is unchanged.
   ========================================================== */
:root{
    --hcb-mobile-cta-space: 92px;
}

@media(max-width:767px){

    /* Gift icon sits above WhatsApp. */
    .hcb-spin-launch,
    .hcb-gift-launch,
    [class*="hcb"][class*="gift"][class*="launch"]{
        right:14px!important;
        bottom:calc(var(--hcb-mobile-cta-space) + 78px)!important;
        width:56px!important;
        height:56px!important;
        z-index:100020!important;
    }

    /*
     * External WhatsApp widgets:
     * JS adds .hcb-mobile-whatsapp / .hcb-mobile-whatsapp-wrap only
     * to fixed WhatsApp buttons, so normal WhatsApp links are untouched.
     */
    .hcb-mobile-whatsapp,
    .hcb-mobile-whatsapp-wrap{
        position:fixed!important;
        right:14px!important;
        bottom:calc(var(--hcb-mobile-cta-space) + 10px)!important;
        z-index:100019!important;
        margin:0!important;
        transform:none!important;
    }

    .hcb-mobile-whatsapp-wrap .hcb-mobile-whatsapp{
        position:relative!important;
        right:auto!important;
        bottom:auto!important;
    }

    /* Keep our own sticky cart timer above floating icons if present. */
    .hcb-cart-timer,
    .hcb320-cart-timer,
    .hcb310-cart-timer{
        bottom:calc(var(--hcb-mobile-cta-space) + 145px)!important;
        right:14px!important;
    }

    /* Do not let floating buttons cover the sticky CTA text. */
    body{
        --hcb-safe-right:76px;
    }

    /* Slightly compact gift launcher on very narrow phones. */
    @media(max-width:380px){
        .hcb-spin-launch,
        .hcb-gift-launch,
        [class*="hcb"][class*="gift"][class*="launch"]{
            width:52px!important;
            height:52px!important;
        }
    }
}


/* ==========================================================
   v1.5.2 LIVE SALES AUTO-CLOSE
   Popup is shown briefly and can disappear automatically.
   ========================================================== */
.hcb-live-sale,
.hcb-live,
[data-hcb-live-sale]{
    transition:opacity .22s ease, transform .22s ease!important;
}
