/* CommerceFlow WooCommerce single product design */
.cf-product-video{width:100%;max-width:650px;margin:24px auto 8px;padding:14px;background:#f7f8f5;border:1px solid #e5eae4;border-radius:14px;clear:both;box-sizing:border-box}
.cf-product-video__title{font-weight:700;margin:0 0 10px;color:#233b2b}
.cf-product-video__frame{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:10px;background:#101810}
.cf-product-video__frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.cf-product-video--tall{max-width:380px}.cf-product-video--tall .cf-product-video__frame{aspect-ratio:9/16}
.single-product .summary form.cart{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.single-product .summary form.cart .quantity{margin:0!important}
.single-product .summary form.cart .single_add_to_cart_button{box-sizing:border-box!important;flex:0 0 var(--cf-cart-width,145px)!important;width:var(--cf-cart-width,145px)!important;min-width:0!important;min-height:var(--cf-cart-height,40px)!important;height:var(--cf-cart-height,40px)!important;padding:6px 10px!important;border-radius:8px!important;background:var(--cf-cart-bg,#fff)!important;color:var(--cf-cart-text,#205a36)!important;border:1px solid var(--cf-cart-text,#205a36)!important;font-size:var(--cf-cart-font-size,13px)!important;font-weight:650!important;line-height:1.2!important;white-space:normal!important;transition:filter .18s ease,transform .18s ease}
.single-product .summary form.cart .single_add_to_cart_button:hover{filter:brightness(.94);color:var(--cf-cart-text,#205a36)!important;transform:translateY(-1px)}
.single-product .cf-order-now{min-height:var(--cf-order-height,54px);min-width:var(--cf-order-width,185px);padding:13px 28px!important;border-radius:10px!important;background:var(--cf-order-bg,#176b3a)!important;color:var(--cf-order-text,#fff)!important;border:0!important;font-size:var(--cf-order-font-size,17px)!important;font-weight:800!important;box-shadow:0 5px 12px rgba(23,107,58,.24);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.single-product .cf-order-now:hover{filter:brightness(.92);color:var(--cf-order-text,#fff)!important;transform:translateY(-1px);box-shadow:0 7px 16px rgba(23,107,58,.3)}
.single-product .cf-order-now:focus-visible,.single-product .single_add_to_cart_button:focus-visible{outline:3px solid rgba(33,131,74,.32);outline-offset:2px}
.cf-product-checkout{clear:both;margin:42px auto 54px;color:#243229}
.cf-product-checkout,.cf-product-checkout *{box-sizing:border-box}
.cf-product-checkout{width:100%;min-width:0}
.cf-product-checkout__heading{padding:26px 30px;background:linear-gradient(120deg,#16492e,#286344);color:#fff;border-radius:18px 18px 0 0}
.cf-product-checkout__heading>span{display:inline-block;font-size:13px;font-weight:700;color:#e5d8a7;text-transform:uppercase;letter-spacing:.04em}
.cf-product-checkout__heading h2{font-size: clamp(23px, 3vw, 32px); line-height: 0; color: #fff; margin: 5px 0; padding: 5px 0px; text-align: center;}
.cf-product-checkout__heading p{margin:0;color:#e5eee7}
.cf-product-checkout__body{padding:26px;background:#fff;border:1px solid #e1e8e2;border-top:0;border-radius:0 0 18px 18px;box-shadow:0 12px 34px #153b2412}
.cf-custom-checkout,.cf-custom-checkout__grid,.cf-custom-checkout__customer,.cf-custom-checkout__summary{width:100%;min-width:0;max-width:100%}
.cf-custom-checkout__grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:28px;align-items:start}
.cf-custom-checkout h3{font-size:20px;color:#21472f;margin:4px 0 16px}
.cf-custom-checkout .woocommerce-billing-fields__field-wrapper,.cf-custom-checkout .woocommerce-additional-fields__field-wrapper{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:14px;align-items:start}
.cf-custom-checkout__field{grid-column:span 12!important;float:none!important;clear:none!important;width:auto!important;max-width:100%;min-width:0;margin:0 0 14px!important}
.cf-custom-checkout .cf-checkout-width-25{grid-column:span 3!important}.cf-custom-checkout .cf-checkout-width-33{grid-column:span 4!important}.cf-custom-checkout .cf-checkout-width-50{grid-column:span 6!important}.cf-custom-checkout .cf-checkout-width-66{grid-column:span 8!important}.cf-custom-checkout .cf-checkout-width-75{grid-column:span 9!important}.cf-custom-checkout .cf-checkout-width-100{grid-column:span 12!important}
.cf-custom-checkout__summary{padding:20px;background:#f8faf7;border:1px solid #e4ebe4;border-radius:14px}
.cf-custom-checkout__summary h3{margin-top:0; padding-left: 14px;}
.cf-custom-checkout .form-row{margin:0 0 14px}
.cf-custom-checkout .input-text,.cf-custom-checkout select,.cf-custom-checkout textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:46px;padding:11px 13px;border:1px solid #d8e1da;border-radius:9px;background:#fff;box-shadow:none}
.cf-custom-checkout .input-text:focus,.cf-custom-checkout select:focus,.cf-custom-checkout textarea:focus{outline:2px solid #b8d2bd;border-color:#34724a}
.cf-custom-checkout table.shop_table{width:100%;max-width:100%;table-layout:fixed;border-collapse:collapse;border:1px solid #e4e9e4;border-radius:10px;overflow:hidden;background:#fff}
.cf-custom-checkout table.shop_table th,.cf-custom-checkout table.shop_table td{padding:11px;border-color:#e8ece8;overflow-wrap:anywhere;word-break:normal;vertical-align:top}
.cf-custom-checkout table.shop_table th:first-child,.cf-custom-checkout table.shop_table td:first-child{width:62%}
.cf-custom-checkout table.shop_table th:last-child,.cf-custom-checkout table.shop_table td:last-child{width:38%;text-align:right}
.cf-custom-checkout #payment{background:#eef3ee;border-radius:12px;padding:12px}
.cf-custom-checkout #payment,.cf-custom-checkout #payment ul.payment_methods,.cf-custom-checkout .payment_box{max-width:100%;min-width:0;overflow-wrap:anywhere}
.cf-custom-checkout .select2-container{width:100%!important;max-width:100%}
.cf-custom-checkout .woocommerce-privacy-policy-text,.cf-custom-checkout .woocommerce-terms-and-conditions-wrapper{overflow-wrap:anywhere}
/* "অর্ডার নিশ্চিত করুন": same look as the product's red "অর্ডার করুন" button. */
.cf-custom-checkout #place_order{display:inline-flex!important;justify-content:center;align-items:center;gap:10px;width:100%!important;height:56px!important;min-height:56px!important;padding:0 20px!important;border:0!important;border-radius:12px!important;background:linear-gradient(180deg,#e53935,#c62828)!important;color:#fff!important;font-weight:800!important;font-size:18px!important;letter-spacing:.2px;text-decoration:none;cursor:pointer;box-shadow:0 8px 20px rgba(198,40,40,.32);animation:cfbPulse 1.8s ease-in-out infinite}
.cf-custom-checkout #place_order::after{content:'→';font-size:20px;line-height:1}
.cf-custom-checkout #place_order:hover{animation-play-state:paused;filter:brightness(.95);box-shadow:0 12px 24px rgba(198,40,40,.4)}
@media (prefers-reduced-motion:reduce){.cf-custom-checkout #place_order{animation:none}}
.cf-product-checkout__empty{text-align:center;color:#58665c}
@media(max-width:760px){.cf-product-checkout{margin:25px auto 36px;padding:0 14px}.cf-product-checkout__heading,.cf-product-checkout__body{padding:19px}.cf-custom-checkout__grid{grid-template-columns:minmax(0,1fr);gap:18px}.cf-custom-checkout__summary{padding:16px}}
@media(max-width:520px){.cf-product-checkout{margin:20px auto 30px;padding:0 10px}.cf-product-checkout__heading{padding:18px 16px;border-radius:14px 14px 0 0}.cf-product-checkout__heading h2{font-size:23px;line-height:1.35}.cf-product-checkout__body{padding:14px;border-radius:0 0 14px 14px}.cf-custom-checkout__grid{gap:14px}.cf-custom-checkout h3{font-size:18px;margin-bottom:12px}.cf-custom-checkout__summary{padding:13px;border-radius:11px}.cf-custom-checkout table.shop_table th,.cf-custom-checkout table.shop_table td{padding:8px 6px;font-size:13px}.cf-custom-checkout table.shop_table th:first-child,.cf-custom-checkout table.shop_table td:first-child{width:58%}.cf-custom-checkout table.shop_table th:last-child,.cf-custom-checkout table.shop_table td:last-child{width:42%}.cf-custom-checkout .form-row{margin-bottom:12px}.cf-custom-checkout .input-text,.cf-custom-checkout select,.cf-custom-checkout textarea{min-height:44px;padding:10px}.cf-custom-checkout #payment{padding:10px}.cf-custom-checkout #place_order{font-size:16px;min-height:50px}.cf-custom-checkout .cf-checkout-width-25,.cf-custom-checkout .cf-checkout-width-33{grid-column:span 6!important}.cf-custom-checkout .cf-checkout-width-66,.cf-custom-checkout .cf-checkout-width-75{grid-column:span 12!important}}







form #order_review:not(.elementor-widget-woocommerce-checkout-page #order_review) {
    padding: 0;
    border-width: 0;
    border-style: none;
    border-color: snow;
}

/* Size buttons: each variation option as a card-button; the select stays hidden underneath. */
.cfv-wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:520px;margin:4px 0 6px;border-radius:14px}
.cfv-chip{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:12px 8px;border:1.5px solid #d6e4da;border-radius:12px;background:#fff;cursor:pointer;transition:all .15s ease;font:inherit;color:#1f2937;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.cfv-chip:hover{border-color:#205a36;transform:translateY(-1px);box-shadow:0 4px 12px rgba(32,90,54,.12)}
.cfv-chip b{font-size:17px;font-weight:700;line-height:1.2}
.cfv-chip span{font-size:19px;color:#c62828;margin-top:6px;font-weight:800;line-height:1.2}
.cfv-chip.on{border-color:#205a36;background:#205a36;color:#fff;box-shadow:0 6px 16px rgba(32,90,54,.25)}
.cfv-chip.on span{color:#fff}
.cfv-wrap.cfv-ask{animation:cfvAsk .9s ease 2}
@keyframes cfvAsk{0%,100%{box-shadow:0 0 0 0 rgba(198,40,40,0)}50%{box-shadow:0 0 0 4px rgba(198,40,40,.35)}}
@media(max-width:600px){.cfv-wrap{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}.cfv-chip{padding:14px 8px}.cfv-chip b{font-size:18px}.cfv-chip span{font-size:21px}}
.cfv-chip.on::after{content:'✓';position:absolute;top:-8px;right:-8px;width:20px;height:20px;border-radius:50%;background:#16a34a;color:#fff;font-size:12px;display:flex;align-items:center;justify-content:center;border:2px solid #fff}
.cfv-chip.out,.cfv-chip:disabled{opacity:.45;cursor:not-allowed;text-decoration:line-through;transform:none;box-shadow:none}
table.variations select.cfv-hidden{display:none!important}
table.variations th.label label{font-size:15px;font-weight:700}

/* Cart and order buttons: quantity stepper + outline cart button, full-width red order button below. */
.single-product .summary :is(form.cart .cfb-box,form.cart.cfb-box){display:grid!important;grid-template-columns:auto 1fr;gap:12px;align-items:stretch;max-width:540px;padding:16px!important;border:1px solid #e1e8e2!important;border-radius:16px!important;background:rgba(255,255,255,.4);box-sizing:border-box;margin-top:6px}
/* Themes add clearfix ::before/::after to form.cart; in a grid they take cells and push the buttons around. */
.single-product .summary :is(form.cart .cfb-box,form.cart.cfb-box)::before,.single-product .summary :is(form.cart .cfb-box,form.cart.cfb-box)::after{content:none!important;display:none!important}
.single-product .summary :is(form.cart .cfb-box,form.cart.cfb-box) .quantity{display:flex!important;align-items:center;border:1.5px solid #d6e4da;border-radius:12px;background:#fff;height:50px;overflow:hidden;margin:0!important}
.single-product .summary :is(form.cart .cfb-box,form.cart.cfb-box) .quantity input.qty{width:42px!important;height:100%!important;border:0!important;text-align:center;font-size:16px;font-weight:700;background:transparent!important;-moz-appearance:textfield;padding:0!important;box-shadow:none!important;margin:0!important}
.cfb-box .quantity input.qty::-webkit-inner-spin-button,.cfb-box .quantity input.qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.cfb-step{width:38px;height:100%;border:0;background:#f3f7f4;color:#205a36;font-size:20px;font-weight:700;cursor:pointer;line-height:1;padding:0}
.cfb-step:hover{background:#e3efe7}
.single-product .summary :is(form.cart .cfb-box,form.cart.cfb-box) .single_add_to_cart_button{width:auto!important;flex:none!important;height:50px!important;min-height:50px!important;padding:6px 14px!important;border-radius:12px!important;border:1.5px solid #205a36!important;background:#fff!important;color:#205a36!important;font-size:15.5px!important;font-weight:700!important;display:flex!important;align-items:center;justify-content:center;gap:8px;margin:0!important;white-space:nowrap!important}
.single-product .summary :is(form.cart .cfb-box,form.cart.cfb-box) .single_add_to_cart_button:hover{background:#f0f7f2!important;transform:none}
.single-product .summary :is(form.cart .cfb-box,form.cart.cfb-box) .cf-order-now{grid-column:1 / -1;width:100%!important;max-width:none!important;min-width:0!important;height:56px!important;min-height:56px!important;padding:0 20px!important;border-radius:12px!important;background:linear-gradient(180deg,#e53935,#c62828)!important;color:#fff!important;font-size:18px!important;font-weight:800!important;display:flex!important;align-items:center;justify-content:center;gap:10px;margin:0!important;box-shadow:0 8px 20px rgba(198,40,40,.32);border:0!important;letter-spacing:.2px;animation:cfbPulse 1.8s ease-in-out infinite}
.single-product .summary :is(form.cart .cfb-box,form.cart.cfb-box) .cf-order-now:hover{animation-play-state:paused;filter:brightness(.95);box-shadow:0 12px 24px rgba(198,40,40,.4)}
.single-product .summary .cf-alt-order{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:10px;width:100%}
.single-product .summary :is(form.cart .cfb-box,form.cart.cfb-box) .cf-alt-order{grid-column:1 / -1;margin-top:0}
.single-product .summary .cf-alt-btn{display:flex;align-items:center;justify-content:center;gap:8px;height:var(--cf-alt-h,48px);padding:0 14px;border-radius:12px;background:var(--cf-alt-bg,#25a35a);color:var(--cf-alt-text,#fff)!important;font-size:var(--cf-alt-fs,15px);font-weight:700;line-height:1.2;text-decoration:none!important;white-space:nowrap;box-sizing:border-box;transition:filter .15s ease,transform .15s ease}
.single-product .summary .cf-alt-btn:hover{filter:brightness(.93);transform:translateY(-1px)}
.single-product .summary .cf-alt-btn:focus-visible{outline:3px solid rgba(33,131,74,.32);outline-offset:2px}
.single-product .summary .cf-alt-btn svg{width:19px;height:19px;flex:none}
@keyframes cfbPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.04)}}
@media (prefers-reduced-motion:reduce){.single-product .summary :is(form.cart .cfb-box,form.cart.cfb-box) .cf-order-now{animation:none}}

/* Details table of a product or size (built in Inventory → Edit). */
.cf-spec{width:100%;max-width:520px;border-collapse:separate;border-spacing:0;margin:10px 0 14px;border:1px solid #dbe8df;border-radius:14px;overflow:hidden;font-size:15px;background:#fff}
/* Themes often zero table-cell padding and borders: these rules win over them. */
table.cf-spec th,table.cf-spec td{padding:10px 14px!important;text-align:center;border:0!important;border-right:1px solid #dfe9e2!important;border-bottom:1px solid #dfe9e2!important}
table.cf-spec th:last-child,table.cf-spec td:last-child{border-right:0!important}
table.cf-spec thead th{background:#205a36;color:#fff;font-weight:700;border-right-color:rgba(255,255,255,.25)!important}
table.cf-spec tbody th{background:#f6faf7;color:#374151;font-weight:700;text-align:left;width:28%}
table.cf-spec td{color:#111827;font-weight:600}
table.cf-spec .cf-spec__full td{text-align:left}
table.cf-spec tr:last-child th,table.cf-spec tr:last-child td{border-bottom:0!important}
@media(max-width:600px){.cf-spec{font-size:14px;max-width:none}table.cf-spec th,table.cf-spec td{padding:9px 10px!important}}

/* The chosen size's own photos, under the main image. */
.cfg-strip{margin-top:12px;clear:both}
.cfg-strip__title{margin:0 0 8px;font-size:15px;font-weight:700;color:#205a36}
.cfg-thumbs{display:flex;gap:10px;flex-wrap:wrap}
.cfg-thumbs button{padding:0!important;border:2px solid #dbe8df!important;border-radius:10px!important;overflow:hidden;width:76px;height:76px;background:#fff!important;cursor:pointer;line-height:0}
.cfg-thumbs button.on{border-color:#205a36!important;box-shadow:0 0 0 2px rgba(32,90,54,.25)}
.cfg-thumbs img{width:100%;height:100%;object-fit:cover;display:block;margin:0!important}
@media(max-width:600px){.cfg-thumbs button{width:64px;height:64px}}

/* The cart's checkout page uses the same layout; undo the theme's own checkout-page column sizes. */
.cf-product-checkout--page{margin-top:10px}
.cf-product-checkout--page #order_review,.cf-product-checkout--page #customer_details{width:100%!important;max-width:100%!important;float:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.cf-product-checkout--page #order_review table.shop_table{width:100%!important}
.cf-product-checkout--page .woocommerce-billing-fields,.cf-product-checkout--page .woocommerce-additional-fields{width:100%!important;float:none!important}

/* Order-received (thank-you) page — same look as the product-page checkout. */
.cfty{max-width:760px;margin:10px auto 40px;font-size:15.5px;color:#243229}
.cfty *{box-sizing:border-box}
.cfty-head{background:linear-gradient(120deg,#16492e,#286344);color:#fff;border-radius:18px 18px 0 0;padding:28px 24px;text-align:center}
.cfty-check{width:64px;height:64px;border-radius:50%;background:#fff;color:#16a34a;font-size:36px;line-height:64px;margin:0 auto 12px;font-weight:800}
.cfty-head h2{color:#fff;margin:0 0 6px;font-size:26px;line-height:1.35}
.cfty-head p{margin:0;color:#e5eee7}
.cfty-body{background:#fff;border:1px solid #e1e8e2;border-top:0;border-radius:0 0 18px 18px;padding:22px}
.cfty-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}
.cfty-stat{background:#f6faf7;border:1px solid #dbe8df;border-radius:12px;padding:12px;text-align:center}
.cfty-stat span{display:block;font-size:13px;color:#6b7280}
.cfty-stat b{font-size:18px;color:#205a36}
.cfty-stat--total b{color:#c62828}
.cfty h3{font-size:17px;color:#205a36;margin:18px 0 8px}
table.cfty-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #dfe9e2;border-radius:12px;overflow:hidden;margin:0}
table.cfty-table td{padding:10px 14px!important;border:0!important;border-bottom:1px solid #e6efe9!important;background:#fff}
table.cfty-table td:last-child{text-align:right;white-space:nowrap}
table.cfty-table tr:last-child td{border-bottom:0!important}
table.cfty-table tr.cfty-total td{font-weight:800;background:#f6faf7}
.cfty-addr{background:#f6faf7;border:1px solid #dbe8df;border-radius:12px;padding:12px 14px;line-height:1.7}
.cfty-note{margin-top:16px;background:#fff8e6;border:1px solid #f1dfae;border-radius:12px;padding:12px 14px}
.cfty-media{margin-top:16px;display:grid;gap:12px}
.cfty-media iframe{display:block;width:100%;max-width:380px;aspect-ratio:9/16;border:0;border-radius:12px;background:#000;margin:0 auto}
.cfty-media img{display:block;max-width:100%;height:auto;border-radius:12px;margin:0 auto}
.cfty-btns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.cfty-btn{display:flex;align-items:center;justify-content:center;height:50px;border-radius:12px;font-weight:700;text-decoration:none!important;cursor:pointer;font:inherit;font-weight:700}
.cfty-btn--download{grid-column:1 / -1;border:0;background:#205a36;color:#fff!important;box-shadow:0 6px 16px rgba(32,90,54,.25)}
.cfty-btn--primary{background:linear-gradient(180deg,#e53935,#c62828);color:#fff!important;box-shadow:0 8px 20px rgba(198,40,40,.3)}
.cfty-btn--secondary{border:1.5px solid #205a36;color:#205a36!important;background:#fff}
.cfty-gateway{margin-top:14px;font-size:14px;color:#4b5563}
@media(max-width:600px){.cfty-stats{grid-template-columns: minmax(0, 1fr)}.cfty-btns{grid-template-columns: minmax(0, 1fr)}.cfty-head h2{font-size:22px}.cfty-body{padding:16px}}
/* Size video + pre-order (5.4.23) */
.single_variation .cf-var-video{margin:12px 0 4px;max-width:100%}
.single_variation .cf-var-video.cf-product-video--tall{max-width:320px}
.cfv-chip.pre{position:relative}
.cfv-chip .cfv-pre{position:absolute;top:-11px;left:-6px;padding:2px 8px;border-radius:999px;background:#e02424;color:#fff;font-size:11.5px;font-weight:700;font-style:normal;line-height:16px;white-space:nowrap;border:1.5px solid #fff;box-shadow:0 2px 6px rgba(224,36,36,.4);pointer-events:none}
.cf-preorder-box{grid-column:1/-1;order:-1;margin:10px 0 12px;padding:10px 14px;border:1px dashed #d9a441;background:#fff8ea;border-radius:12px;color:#5b4310;line-height:1.5}
.cf-preorder-box__tag{display:inline-block;padding:2px 10px;border-radius:999px;background:#e02424;color:#fff;font-size:13px;font-weight:700;margin-bottom:6px}
.cf-preorder-box__check{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:16px;color:#3d2c07}
.cf-preorder-box__check input{width:20px;height:20px;margin:0;accent-color:#b07a12;flex:none}
.cf-preorder-box__msg{font-size:14px;margin-top:4px;opacity:.9}
.cf-preorder-box.cf-pre-ask{animation:cfPreAsk .5s ease 2}
@keyframes cfPreAsk{0%,100%{transform:none;box-shadow:none}50%{transform:scale(1.02);box-shadow:0 0 0 3px rgba(217,164,65,.45)}}
form.cart .cf-pre-locked{opacity:.45;cursor:not-allowed;filter:grayscale(.4)}
.stock.cf-preorder-stock:empty{display:none}

/* Product video at the start of the photo gallery (5.4.23) */
.cf-gvideo{position:absolute;inset:0;z-index:5;background:#0d120e;display:flex;align-items:center;justify-content:center;overflow:hidden}
.cf-gvideo[hidden]{display:none!important}
.cf-gvideo__frame{position:relative;width:100%;aspect-ratio:16/9;max-height:100%}
.cf-gvideo--tall .cf-gvideo__frame{width:auto;height:100%;aspect-ratio:9/16;max-width:100%}
.cf-gvideo__frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.cf-gvideo__poster{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;margin:0;cursor:pointer;background:#0d120e center/cover no-repeat;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.cf-gvideo__play{width:72px;height:72px;border-radius:50%;background:rgba(217,54,43,.92);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 18px rgba(0,0,0,.35)}
.cf-gvideo__play svg{width:34px;height:34px;margin-left:4px}
.cf-gvideo__label{padding:4px 12px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font-size:14px}
.cf-gvideo-thumb button,.cf-gvideo-photo button{display:block;width:100%;aspect-ratio:1;border:0;padding:0;border-radius:6px;cursor:pointer;background:#1a221c center/cover no-repeat;position:relative;opacity:.7}
.cf-gvideo-thumb.on button,.cf-gvideo-thumb button:hover,.cf-gvideo-photo button:hover{opacity:1}
.cf-gvideo__mini{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff}
.cf-gvideo__mini svg{width:26px;height:26px;padding:6px;border-radius:50%;background:rgba(217,54,43,.92)}
.cf-gvideo-thumbs{display:flex;gap:8px;list-style:none;margin:8px 0 0;padding:0}
.cf-gvideo-thumbs li{width:72px;flex:none}
/* Compact buy area for products with sizes (5.4.25) */
/* Phones only: smaller price, size label on its own line with the cards below it from the left */
@media(max-width:600px){
.single-product div.product .summary > p.price{font-size:1.2rem!important;line-height:1.3;margin:2px 0 10px!important}
.single-product .summary table.variations,.single-product .summary table.variations tbody,.single-product .summary table.variations tr,.single-product .summary table.variations th,.single-product .summary table.variations td{display:block;width:100%;text-align:left}
.single-product .summary table.variations th{padding:0 0 8px!important}
.single-product .summary table.variations .cfv-wrap{margin-left:0;margin-right:auto}
}
.single-product .summary table.variations{margin:0 0 4px!important}
.single-product .summary table.variations td,.single-product .summary table.variations th{padding-top:0!important;padding-bottom:0!important}
.single-product .summary table.variations .reset_variations{display:none!important}
.single-product .summary .single_variation_wrap .woocommerce-variation:empty{display:none!important}
/* Room above the cards for the pre-order badge, which sits centred on top (all screens) */
.cfv-wrap{padding-top:6px}
.cfv-chip .cfv-pre{top:-10px;left:50%;transform:translateX(-50%);font-size:10.5px;padding:1px 6px;line-height:15px}
/* Smaller size cards, 3 per row: phones only */
@media(max-width:600px){
.cfv-wrap{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}
.cfv-chip{padding:7px 4px;border-radius:10px}
.cfv-chip b{font-size:14.5px}
.cfv-chip span{font-size:15px;margin-top:2px}
.cfv-chip.on::after{top:-7px;right:-7px;width:17px;height:17px;font-size:10px}
}
/* Phones: WhatsApp + phone order side by side, a little smaller (5.4.27) */
@media(max-width:600px){
.single-product .summary .cf-alt-order{display:flex;gap:6px}
.single-product .summary .cf-alt-order .cf-alt-btn{flex:1 1 auto;height:42px!important;padding:0 6px;font-size:12.5px!important;gap:4px;border-radius:10px;min-width:0;letter-spacing:-.1px}
.single-product .summary .cf-alt-btn svg{width:15px;height:15px}

}
@media(max-width:600px){.single-product .summary .woocommerce-product-details__short-description.cf-empty-sd{display:none!important}}

/* 5.4.52 — Order now without a size: say so under the sizes. */
.cfv-need{margin:6px 0 10px;color:#d92d20;font-weight:700;font-size:15px}
.cfv-need[hidden]{display:none}

/* 5.4.61 — compact checkout form + the shop's own top note (Settings → Checkout). */
.cf-checkout-top-note{margin:0 0 12px;padding:9px 12px;border-radius:10px;background:#e8f5ec;border:1px solid #b7e0c3;color:#14532d;font-size:14px;line-height:1.5;font-weight:700}
.cf-custom-checkout .cf-custom-checkout__field,.cf-custom-checkout .form-row{margin:0 0 12px!important;padding:0!important}
.cf-custom-checkout .form-row label{display:block;font-size:14.5px!important;line-height:1.35!important;margin:0 0 4px!important;padding:0!important}
.cf-custom-checkout .woocommerce-billing-fields .input-text,.cf-custom-checkout .woocommerce-billing-fields select{height:44px!important;min-height:44px!important;padding:8px 13px!important;font-size:15px!important;border-radius:12px!important}
.cf-custom-checkout .woocommerce-additional-fields textarea{height:56px!important;min-height:56px!important;padding:8px 13px!important;font-size:15px!important;border-radius:12px!important;resize:vertical}

/* 5.4.61 — offer badges on the size buttons (offers on top, pre-order at the bottom) and the offer box */
.cfv-chip .cfv-badges{position:absolute;left:50%;bottom:calc(100% - 9px);transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:2px;pointer-events:none;z-index:2}
.cfv-chip .cfv-badges .cfv-pre{position:static;transform:none;left:auto;top:auto}
.cfv-chip .cfv-offer{display:block;padding:1px 7px;border-radius:999px;color:#fff;font-size:10.5px;font-weight:700;font-style:normal;line-height:15px;white-space:nowrap;border:1.5px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.cfv-chip .cfv-offer--fd{background:#16a34a}
.cfv-chip .cfv-offer--disc{background:#e11d48}
.cfv-wrap.has-stack{padding-top:24px;row-gap:30px}
.cf-offer-box{margin:8px 0 10px;padding:9px 12px;border-radius:10px;background:#ecfdf3;border:1px solid #a7e3c0;color:#0f6e56;line-height:1.45}
.cf-offer-box strong{display:block;font-size:15px}
.cf-offer-box small{display:block;font-size:12.5px;font-weight:500}

/* 5.4.62 — only one size in stock: picked for the customer, with a short line */
.cfv-only{margin:2px 0 8px;font-size:13px;font-weight:600;color:#0f6e56}

/* 5.4.62 — the form is open before a size is in the cart: no ৳0 table, a short pointer instead */
[data-cf-cart-empty="1"] .woocommerce-checkout-review-order-table{display:none}
[data-cf-cart-empty="1"] .cf-custom-checkout__summary #order_review::before{content:'পণ্য বা সাইজ বেছে অর্ডার নিশ্চিত করুন — মোট টাকা তখন এখানে দেখাবে';display:block;margin:0 0 10px;padding:9px 12px;border-radius:10px;background:#fff7e6;border:1px solid #f5d48a;color:#7a4b00;font-size:13.5px;font-weight:600}
