/* Store Custom Features – front-end styles. Matches the site's navy/red look. */
:root{--scf-navy:#0b1b3d;--scf-red:#f0000a;--scf-line:#e6e8ee;--scf-bg:#f4f5f8}

/* Bilingual helpers: the header language switcher sets html.rk-en */
.scf-en{display:none!important}
html.rk-en .scf-en{display:revert!important}
html.rk-en .scf-bn{display:none!important}
/* GTranslate (Google) English mode: show the built-in English text */
html.translated-ltr .scf-en{display:revert!important}
html.translated-ltr .scf-bn{display:none!important}
html.translated-ltr .scf-notice:not(.scf-en):has(~ .scf-notice.scf-en){display:none!important}

/* payment box */
.scf-pay-box{font-size:14px;line-height:1.6}
.scf-pay-box .scf-numbers{list-style:none;margin:8px 0;padding:0;display:grid;gap:6px}
.scf-pay-box .scf-numbers li{background:var(--scf-bg);border:1px solid var(--scf-line);padding:8px 12px}
.scf-pay-box .scf-num-val{font-weight:800;letter-spacing:.04em;color:var(--scf-navy)}
.scf-pay-box .scf-adv-line{margin:10px 0}
.scf-pay-box .scf-field{display:block;margin:10px 0}
.scf-pay-box .scf-label{display:block;font-weight:700;margin-bottom:4px}
.scf-pay-box .scf-input,.scf-pay-box input.input-text{width:100%;box-sizing:border-box;border:1px solid #d9dde6;border-radius:0;padding:12px;font:inherit;background:#fff}
.scf-pay-box .scf-input:focus{outline:0;border-color:var(--scf-navy);box-shadow:0 0 0 1px var(--scf-navy)}
.scf-pay-box .scf-notice{margin:10px 0 0;padding:10px 12px;border-left:3px solid var(--scf-red);background:#fff4f4;font-weight:600}

/* checkout / cart redeem box */
.scf-redeem{border:1px solid var(--scf-line);background:#fff;padding:14px;margin:12px 0}
.scf-redeem-h{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:baseline;margin-bottom:10px}
.scf-redeem-h strong{font-size:15px;color:var(--scf-navy)}
.scf-redeem-h .scf-bal{font-size:13px;color:#6b7280}
.scf-redeem-row{display:flex;gap:8px;flex-wrap:wrap}
.scf-redeem .scf-pin{flex:1 1 120px;min-width:0;border:1px solid #d9dde6;padding:10px;border-radius:0;font:inherit}
.scf-redeem button{border:0;padding:10px 16px;font-weight:700;cursor:pointer;background:var(--scf-navy);color:#fff;border-radius:0}
.scf-redeem button.scf-clear{background:#fff;color:var(--scf-navy);border:1px solid var(--scf-navy)}
.scf-redeem button:disabled,.scf-redeem input:disabled{opacity:.5;cursor:not-allowed}
.scf-redeem-msg{margin:8px 0 0;font-size:13px;min-height:1em}
.scf-redeem-msg.ok{color:#14532d}.scf-redeem-msg.err{color:#b32d2e}

/* buttons */
.scf-btn{display:inline-block;background:var(--scf-navy);color:#fff!important;border:0;padding:14px 22px;font-weight:700;text-decoration:none!important;cursor:pointer;border-radius:0}
.scf-btn:hover{background:var(--scf-red)}

/* my account: refer & earn */
.scf-account .scf-balance{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;background:var(--scf-navy);color:#fff;padding:18px 22px;margin-bottom:20px}
.scf-account .scf-balance strong{font-size:38px;line-height:1}
.scf-account .scf-balance small{opacity:.8}
.scf-copy{display:flex;gap:8px;flex-wrap:wrap}
.scf-copy input{flex:1 1 220px;min-width:0;padding:12px;border:1px solid #d9dde6;background:var(--scf-bg);border-radius:0}
.scf-hint{color:#6b7280;font-size:14px}
.scf-ledger .scf-pos{color:#14532d;font-weight:700}.scf-ledger .scf-neg{color:#b32d2e;font-weight:700}

/* guideline page */
.scf-page{max-width:960px}
.scf-lead{font-size:18px;margin-bottom:24px}
.scf-steps{display:grid;gap:16px}
.scf-step{position:relative;border:1px solid var(--scf-line);padding:22px 22px 22px 76px;background:#fff}
.scf-step h3{margin:0 0 8px!important}
.scf-step p{margin:0}
.scf-num{position:absolute;left:20px;top:20px;width:40px;height:40px;background:var(--scf-red);color:#fff;display:grid;place-items:center;font-weight:800;font-size:18px}
.scf-cta{margin-top:24px}

/* tracking */
.scf-tracker{max-width:760px}
.scf-track-form{display:grid;gap:12px;background:var(--scf-bg);border:1px solid var(--scf-line);padding:20px;margin-bottom:24px}
.scf-track-form label{display:grid;gap:6px;font-weight:700;color:var(--scf-navy)}
.scf-track-form input{border:1px solid #d9dde6;padding:12px;border-radius:0;font:inherit;background:#fff}
.scf-track-alert{padding:12px 14px;border-left:3px solid var(--scf-red);background:#fff4f4;font-weight:600}
.scf-timeline{list-style:none;margin:18px 0;padding:0;display:grid;gap:0}
.scf-timeline li{position:relative;display:flex;align-items:center;gap:14px;padding:12px 0 12px 0;color:#9aa1ae}
.scf-timeline li:not(:last-child):after{content:'';position:absolute;left:17px;top:46px;bottom:-12px;width:2px;background:var(--scf-line)}
.scf-timeline .scf-dot{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid var(--scf-line);font-weight:700;font-size:14px;z-index:1}
.scf-timeline li.done{color:var(--scf-navy)}
.scf-timeline li.done .scf-dot{background:var(--scf-navy);border-color:var(--scf-navy);color:#fff}
.scf-timeline li.done:not(:last-child):after{background:var(--scf-navy)}
.scf-timeline li.current{color:var(--scf-red);font-weight:800}
.scf-timeline li.current .scf-dot{border-color:var(--scf-red);color:var(--scf-red);box-shadow:0 0 0 4px rgba(240,0,10,.12)}
.scf-track-meta{color:#4b5563;font-size:14px}

@media(max-width:600px){.scf-step{padding:18px 16px 18px 64px}.scf-num{left:14px;top:16px;width:36px;height:36px}.scf-account .scf-balance strong{font-size:30px}}

.scf-redeem [hidden]{display:none!important}

/* buttons: beat theme button styles */
body button.scf-btn,body a.scf-btn,body .scf-tracker button[type=submit],body .scf-copy button{background:#0b1b3d!important;color:#fff!important;border:0!important;border-radius:0!important;padding:14px 22px!important;font:700 13px/1 Montserrat,Archivo,'Hind Siliguri',sans-serif!important;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center;min-height:48px;transition:background .2s}
body button.scf-btn:hover,body a.scf-btn:hover,body .scf-tracker button[type=submit]:hover,body .scf-copy button:hover{background:#f0000a!important;color:#fff!important}
body .scf-tracker button[type=submit]{width:100%}
body .scf-redeem button{background:#0b1b3d!important;color:#fff!important;border:0!important;border-radius:0!important;min-height:44px;font-weight:700}
body .scf-redeem button.scf-clear{background:#fff!important;color:#0b1b3d!important;border:1px solid #0b1b3d!important}
body .scf-redeem button:hover{background:#f0000a!important;color:#fff!important}


/* ===== v1.2 UI tweaks ===== */
/* Related / upsell products on the single product page */
.single-product :is(section.related,section.upsells) ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px!important;margin:0!important;padding:0!important}
.single-product :is(section.related,section.upsells) ul.products::before,.single-product :is(section.related,section.upsells) ul.products::after{display:none!important}
.single-product :is(section.related,section.upsells) ul.products li.product{position:relative;display:flex!important;flex-direction:column;width:auto!important;float:none!important;margin:0!important;padding:0 0 14px!important;background:#fff;border:1px solid #e6e8ee;transition:box-shadow .2s}
.single-product :is(section.related,section.upsells) ul.products li.product:hover{box-shadow:0 8px 24px rgba(11,27,61,.10)}
.single-product :is(section.related,section.upsells) li.product a img{width:100%!important;aspect-ratio:1/1;object-fit:cover;margin:0 0 12px!important}
.single-product :is(section.related,section.upsells) li.product .woocommerce-loop-product__title{padding:0 12px!important;font-size:15px!important;line-height:1.4!important;min-height:2.8em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.single-product :is(section.related,section.upsells) li.product .price{padding:0 12px;margin:6px 0 12px!important;font-size:15px!important}
.single-product :is(section.related,section.upsells) li.product a.button{display:block!important;margin:auto 12px 0!important;padding:11px 8px!important;text-align:center;font-size:13px!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:0!important;height:auto!important}
@media(max-width:1024px){.single-product :is(section.related,section.upsells) ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.single-product :is(section.related,section.upsells) ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}.single-product :is(section.related,section.upsells) li.product .woocommerce-loop-product__title{font-size:13px!important;padding:0 8px!important}.single-product :is(section.related,section.upsells) li.product .price{padding:0 8px;font-size:13px!important}.single-product :is(section.related,section.upsells) li.product a.button{margin:auto 8px 0!important;font-size:12px!important}}

/* Buy Now button */
html body form.cart button.single_add_to_cart_button.scf-buy-now{background:#0b1b3d!important;border-color:#0b1b3d!important;color:#fff!important}
html body form.cart button.single_add_to_cart_button.scf-buy-now:hover{background:#1f3a75!important;border-color:#1f3a75!important}
@media(max-width:767px){html body form.cart:has(.scf-buy-now),html body form.cart .woocommerce-variation-add-to-cart:has(.scf-buy-now){flex-wrap:wrap!important}html body form.cart button.single_add_to_cart_button.scf-buy-now{flex:0 0 100%!important;width:100%!important;max-width:100%!important;order:9!important;margin:10px 0 0!important}}

/* Quick View: short description at body size */
.rk-qvo :is(h1,h2,h3,h4,h5,h6,p,li):not(.rk-qvt){font-size:15px!important;line-height:1.55!important;font-weight:500!important;margin:0 0 6px!important}

/* Page header images */
body:not(.home) [data-elementor-type="wp-page"] > .e-con:first-child:has(h1.elementor-heading-title){background:linear-gradient(90deg,rgba(11,27,61,.93) 0%,rgba(11,27,61,.78) 50%,rgba(11,27,61,.45) 100%),url(/wp-content/uploads/2026/11/photo-1593341646782-e0b495cff86d-scaled.jpg) center 30%/cover no-repeat!important}
body:not(.home) .elementor-location-archive > .e-con:first-child:has(h1.elementor-heading-title){background:linear-gradient(90deg,rgba(11,27,61,.93) 0%,rgba(11,27,61,.75) 50%,rgba(11,27,61,.35) 100%),url(/wp-content/uploads/2026/11/photo-1531415074968-036ba1b575da.jpg) center 60%/cover no-repeat!important}
body:not(.home) :is([data-elementor-type="wp-page"],.elementor-location-archive) > .e-con:first-child:has(h1.elementor-heading-title) :is(h1,h2,p,.elementor-widget-text-editor,.woocommerce-breadcrumb,.woocommerce-breadcrumb a){color:#fff!important}

/* WooCommerce notices as bottom-right toasts */
#scf-toasts{position:fixed;right:20px;bottom:96px;z-index:99999;display:flex;flex-direction:column;gap:10px;width:min(380px,calc(100vw - 32px));pointer-events:none}
#scf-toasts>*{pointer-events:auto;margin:0!important;padding:14px 40px 14px 16px!important;background:#fff!important;border:0!important;border-left:4px solid #1e9e4a!important;border-radius:8px!important;box-shadow:0 12px 32px rgba(11,27,61,.18)!important;font-size:14px!important;line-height:1.45;color:#1a2440!important;position:relative;animation:scfIn .3s ease;list-style:none}
#scf-toasts>.woocommerce-error{border-left-color:#e01b24!important}
#scf-toasts>.woocommerce-info{border-left-color:#1f4fd8!important}
#scf-toasts>*::before{display:none!important}
#scf-toasts .scf-x{position:absolute;top:8px;right:10px;border:0;background:none;font-size:18px;line-height:1;color:#8a8f98;cursor:pointer;padding:4px}
#scf-toasts>.scf-out{opacity:0;transform:translateX(30px);transition:all .3s}
@keyframes scfIn{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:none}}
@media(max-width:767px){#scf-toasts{right:16px;bottom:88px}}


/* ===== v1.2.3 spacing fixes ===== */
/* Mobile: add-to-cart + buy-now aligned, even spacing */
@media(max-width:767px){
html body form.cart:has(.scf-buy-now),html body form.cart .woocommerce-variation-add-to-cart:has(.scf-buy-now){row-gap:10px!important;column-gap:10px!important}
html body form.cart:has(.scf-buy-now) button.single_add_to_cart_button{flex:0 0 100%!important;width:100%!important;max-width:100%!important;margin:0!important;min-height:52px}
}
/* Shop pagination: one horizontal row */
.woocommerce nav.woocommerce-pagination{margin:32px 0 8px!important;text-align:center}
.woocommerce nav.woocommerce-pagination ul.page-numbers{display:flex!important;flex-wrap:wrap;justify-content:center;gap:8px;border:0!important;margin:0!important;padding:0!important;grid-template-columns:none!important}
.woocommerce nav.woocommerce-pagination ul.page-numbers li{display:block!important;float:none!important;margin:0!important;border:0!important;overflow:visible!important}
.woocommerce nav.woocommerce-pagination ul.page-numbers li :is(a,span){display:flex!important;align-items:center;justify-content:center;width:42px;height:42px;padding:0!important;border:1px solid #d9dde6!important;font-size:14px!important;line-height:1!important}
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.current{background:#0b1b3d!important;color:#fff!important;border-color:#0b1b3d!important}
/* Checkout / cart order summary items */
.wc-block-components-order-summary .wc-block-components-order-summary-item{display:flex!important;align-items:flex-start!important;gap:12px;padding:14px 0!important}
.wc-block-components-order-summary-item__image{flex:0 0 48px}
.wc-block-components-order-summary .wc-block-components-order-summary-item__description{flex:1 1 auto;min-width:0;padding:0!important;display:flex!important;flex-direction:column;gap:4px}
.wc-block-components-order-summary .wc-block-components-product-name{font-size:14px!important;line-height:1.4!important;font-weight:600!important;margin:0!important;white-space:normal!important;word-break:break-word}
.wc-block-components-order-summary-item__total-price :is(.wc-block-components-sale-badge,.wc-block-components-product-badge){display:none!important}
.wc-block-components-order-summary .wc-block-cart-item__prices{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px!important;margin:0!important}
.wc-block-components-order-summary .wc-block-components-product-metadata{font-size:12px!important;line-height:1.45!important;margin:0!important}
.wc-block-components-order-summary .wc-block-components-order-summary-item__total-price{flex:0 0 auto;padding-left:8px;font-size:14px!important;font-weight:700;white-space:nowrap}
/* Advance payment box spacing */
.wc-block-components-radio-control-accordion-content:has(.scf-pay-box){padding:16px 20px 20px!important}
.scf-pay-box{display:flex;flex-direction:column;gap:14px}
.scf-pay-box>p,.scf-pay-box .scf-instr{margin:0!important;line-height:1.7!important}
.scf-pay-box .scf-numbers{margin:0!important;padding:0!important;display:grid;gap:8px}
.scf-pay-box .scf-adv-line{padding:12px 14px!important;background:#f4f6fb;border-left:3px solid #0b1b3d;line-height:1.6!important}
.scf-pay-box .scf-field{display:flex!important;flex-direction:column;gap:6px;margin:0!important}
.scf-pay-box .scf-notice{margin:0!important}

/* v1.3 payment method choice */
.scf-methods-wrap{display:flex;flex-direction:column;gap:8px}
.scf-methods-wrap .scf-label{font-weight:700}
.scf-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.scf-method{display:flex!important;align-items:center;gap:10px;margin:0!important;padding:12px 14px;border:1.5px solid #d9dde6;border-radius:8px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s}
.scf-method:hover{border-color:#9aa3b5}
.scf-method.on{border-color:#0b1b3d;background:#f4f6fb;box-shadow:0 0 0 1px #0b1b3d inset}
.scf-method input{margin:0!important;accent-color:#0b1b3d;width:18px;height:18px}
.scf-method .scf-m-name{font-weight:700}
.scf-method .scf-m-num{margin-left:auto;font-weight:600;letter-spacing:.3px}
.scf-m-bkash .scf-m-name{color:#e2136e}.scf-m-nagad .scf-m-name{color:#ec1c24}.scf-m-rocket .scf-m-name{color:#8c3494}

/* v1.4 category checkbox filter */
.scf-catf,.scf-catf ul{list-style:none!important;margin:0!important;padding:0!important}
.scf-catf li{margin:0!important;padding:0!important;border:0!important}
.scf-catf>li{padding:4px 0!important}
.scf-catf ul.children{padding-left:28px!important;margin:0 0 6px!important}
.scf-catf .scf-cb{display:flex!important;align-items:center;gap:10px;margin:0!important;padding:7px 0;cursor:pointer;font-size:14px!important;font-weight:400!important;line-height:1.4!important;color:#3d4659}
.scf-catf>li>.scf-cb{font-size:15px!important;font-weight:700!important;color:#0b1b3d}
.scf-catf .scf-cb input{-webkit-appearance:none;appearance:none;flex:0 0 18px;width:18px;height:18px;margin:0!important;border:1.5px solid #9aa3b5;border-radius:4px;background:#fff;display:grid;place-content:center;cursor:pointer;transition:all .15s}
.scf-catf .scf-cb input:checked{background:#0b1b3d;border-color:#0b1b3d}
.scf-catf .scf-cb input:checked::after{content:'';width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg) translate(-1px,-1px)}
.scf-catf .scf-cb:hover span{color:#e01b24}
.scf-catf .scf-cb input:checked+span{color:#0b1b3d;font-weight:600}
