/* Shared storefront typography, including the native StoreEngine pages. */
body.jtex-storefront{font-family:'JTEx Inter','JTEx Bengali',system-ui,sans-serif;--jte-orange:#ff7900;--jte-bg:#faf8f5;background:var(--jte-bg);color:#29241f;isolation:isolate}
.jtex-storefront :is(.jte-global-header,.jte-global-footer,[class*="storeengine-"]){font-family:'JTEx Inter','JTEx Bengali',system-ui,sans-serif!important}
.jtex-storefront .jte-global-header{background:#fff;border-color:#e9e3db}
.jtex-storefront .jte-global-top{background:linear-gradient(110deg,#ff7900,#ff9909,#f57900,#ffad2a);background-size:250% 100%;animation:jtex-gradient 10s ease-in-out infinite}
.jtex-global-brand-image{width:190px;height:54px;object-fit:contain;object-position:left}
.jtex-storefront .jte-global-logo{min-width:0}
.jtex-storefront .jte-global-footer{background:#25211e!important;line-height:1.7}
.jtex-storefront :is(input,select,textarea,button){font-family:inherit}
.jtex-storefront :is(a,button,input,select,textarea):focus-visible{outline:3px solid #ed961f;outline-offset:3px}
.jtex-storefront .wp-site-blocks>.wp-block-group:has(.storeengine-checkout-form-shortcode):not(:has(.jte-ui)){max-width:1220px!important;margin:36px auto!important;padding:0 28px!important}
.jtex-storefront .wp-block-columns:has(.storeengine-checkout-form-shortcode){gap:28px!important;align-items:flex-start!important}
.jtex-storefront :is(.storeengine-checkout-form-shortcode,.storeengine-checkout-order-details-shortcode){border:1px solid #e9e3db;border-radius:20px;background:#fff;box-shadow:0 12px 38px #61380e09;padding:28px!important;overflow:visible}
.jtex-storefront .storeengine-ajax-checkout-form{background:none!important;border:0!important;padding:0!important}
.jtex-storefront :is(.storeengine-ajax-checkout-form__heading,.storeengine-checkout-order-details__heading){font-size:20px!important;font-weight:750!important;color:#29241f!important;text-transform:none!important;letter-spacing:-.02em;margin:0 0 22px!important}
.jtex-storefront .storeengine-ajax-checkout-form__billing-address{padding:0!important;border:0!important}
.jtex-storefront .storeengine-form-group{gap:18px!important;margin-bottom:20px!important}
.jtex-storefront .storeengine-form__inner{min-width:0}
.jtex-storefront .storeengine-ajax-checkout-form label{font-size:14px!important;font-weight:550;line-height:1.6;color:#51483f}
.jtex-storefront :is(.storeengine-ajax-checkout-form__input,#jtex_bkash_trxid){border:1px solid #e2dbd2!important;background:#fffdfa!important;border-radius:10px!important;min-height:50px;font-size:16px!important;box-shadow:none!important;padding:12px 14px!important;transition:border-color .2s,box-shadow .2s}
.jtex-storefront :is(.storeengine-ajax-checkout-form__input,#jtex_bkash_trxid):focus{border-color:#ec931f!important;box-shadow:0 0 0 3px #ff950018!important}
.jtex-storefront .storeengine-ajax-checkout-form__payments{margin-top:28px}
.jtex-storefront .storeengine-checkout-available-payment-item{border:1px solid #e9e3db!important;border-radius:14px!important;margin:0 0 14px!important;background:#fff;overflow:hidden;transition:border-color .25s,box-shadow .25s}
.jtex-storefront .storeengine-checkout-available-payment-item:has(input:checked){border-color:#f3a245!important;background:#fffaf3;box-shadow:0 0 0 3px #ff9b0010}
.jtex-storefront .storeengine-accordion-drawer{position:relative}
.jtex-storefront .storeengine-accordion-drawer__title{padding:17px 18px 17px 46px!important;display:flex!important;align-items:center;gap:10px;min-height:25px}
.jtex-storefront .storeengine-accordion-drawer__title:after{margin-left:auto;right:0!important;flex-shrink:0}
.jtex-storefront .storeengine-accordion-drawer__trigger{position:absolute!important;left:17px!important;top:21px!important;margin:0!important;width:18px;height:18px;z-index:1}
.jtex-storefront .storeengine-accordion-drawer__content{padding:0 20px 20px!important}
.jtex-storefront .storeengine-radio{accent-color:#ed8613}
.jtex-bkash-fields{font-size:14px;line-height:1.9!important;padding:0!important}
.jtex-bkash-fields p{margin:0 0 14px!important}
.jtex-bkash-fields p:nth-child(2){background:#fff0db;border:1px solid #f8d6a7;padding:14px 16px;border-radius:12px;color:#5e3c17}
.jtex-bkash-fields p:nth-child(2) strong{font-size:17px}
.jtex-bkash-fields label{display:block;margin-bottom:7px}
.jtex-storefront :is(#storeengine_place_order,.storeengine-btn--preset-blue,.storeengine-ajax-apply-coupon-form__submit){background:linear-gradient(100deg,#ff7900,#ff9a0b)!important;border:0!important;color:#fff!important;border-radius:12px!important;font-size:15px!important;font-weight:700!important;min-height:48px;position:relative;overflow:hidden;transition:transform .2s,box-shadow .2s}
.jtex-storefront #storeengine_place_order{min-height:54px;font-size:16px!important;width:100%;margin-top:6px;box-shadow:0 8px 24px #ed821b25}
.jtex-storefront #storeengine_place_order:after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,#fff6 45%,transparent 65%);transform:translateX(-120%);animation:jtex-sweep 5s ease-in-out infinite;pointer-events:none}
.jtex-storefront :is(#storeengine_place_order,.storeengine-btn--preset-blue):hover{transform:translateY(-2px);box-shadow:0 10px 26px #f5820030}
.jtex-storefront .storeengine-checkout-order-details-shortcode :is(img){border-radius:12px;object-fit:cover}
.jtex-storefront .storeengine-checkout-order-details-shortcode table{border-collapse:collapse;width:100%;font-size:15px}
.jtex-storefront .storeengine-checkout-order-details-shortcode :is(th,td){border-color:#eee4d8!important;padding:14px 0!important}
.jtex-storefront .storeengine-ajax-apply-coupon-form{display:flex;gap:8px;margin:20px 0}
.jtex-storefront .storeengine-ajax-apply-coupon-form input[type=text]{min-width:0;flex:1;border:1px solid #e2dbd2;border-radius:10px;padding:12px;font-size:15px}
.jtex-storefront .storeengine-ajax-apply-coupon-form__submit{padding:10px 18px!important}
.jtex-storefront .storeengine-floating-cart-button{background:#ff8500!important}
.jtex-storefront .wp-block-column:has(>.storeengine-order-summary-shortcode){border:1px solid #e9e3db;border-radius:20px;background:#fff;box-shadow:0 12px 38px #61380e09;padding:24px!important}
.jtex-storefront .storeengine-order-summary{padding:0!important;background:none!important;border:0!important}
.jtex-storefront .storeengine-order-summary h4{font-size:20px;font-weight:750;margin:0 0 22px!important}
.jtex-storefront .storeengine-order-summary img{border-radius:12px;object-fit:cover}
.jtex-storefront .storeengine-order-summary h6{text-transform:none!important;font-size:15px;font-weight:650}
.jtex-storefront .storeengine-order-summary h6 a{color:#29241f}
.jtex-storefront .storeengine-order-item__qty-badge{background:#ff8500!important}
.jtex-storefront .storeengine-cart-sub-total-table{font-size:15px}
.jtex-storefront .storeengine-cart-sub-total-table :is(th,td){border-color:#eee4d8!important;padding:14px 0!important}
.jtex-storefront .storeengine-cart-sub-total-table .order-total{font-size:18px;color:#c76200}
.jtex-storefront :is(.storeengine-cart-table,.storeengine-cart-total){border-color:#e9e3db!important;border-radius:16px!important;background:#fff}
.jte-ui .jte-game:before{content:'';position:absolute;inset:-1px;border-radius:inherit;background:linear-gradient(135deg,#ffc47c80,transparent 40%,#ffd8a280);opacity:0;pointer-events:none;transition:opacity .3s}
.jte-ui .jte-game:hover:before{opacity:1}
.jte-ui .jte-thumb img{animation:jtex-card-float 8s ease-in-out infinite alternate}
.jte-ui .jte-game:nth-child(2n) .jte-thumb img{animation-delay:-4s}
@keyframes jtex-card-float{to{transform:scale(1.025) translateY(-2px)}}
@media(max-width:781px){
 .jtex-storefront .wp-site-blocks>.wp-block-group:has(.storeengine-checkout-form-shortcode):not(:has(.jte-ui)){margin:24px auto!important;padding:0 16px!important}
 .jtex-storefront .wp-block-columns:has(.storeengine-checkout-form-shortcode){gap:20px!important}
 .jtex-storefront :is(.storeengine-checkout-form-shortcode,.storeengine-checkout-order-details-shortcode){padding:20px!important;border-radius:16px}
 .jtex-storefront .storeengine-form-group{flex-direction:column;gap:16px!important}
 .jtex-storefront .storeengine-form__inner{width:100%!important}
 .jtex-storefront .jte-global-nav{height:auto!important;min-height:76px;grid-template-columns:minmax(0,1fr) auto!important;padding-block:14px;gap:14px!important}
 .jtex-storefront .jte-global-search{grid-column:1/-1;grid-row:2;display:block!important}
 .jtex-storefront .jte-global-actions a:first-child{display:none}
 .jtex-storefront .jte-global-wrap{padding-inline:18px}
 .jtex-global-brand-image{width:165px;height:44px}
 .jtex-storefront .jte-global-subnav>div{overflow-x:auto;white-space:nowrap;scrollbar-width:none}
}
@media(prefers-reduced-motion:reduce){.jtex-storefront *,.jtex-storefront *:before,.jtex-storefront *:after{animation:none!important;transition:none!important}.jtex-storefront .jtex-pending{opacity:1;transform:none}}
/* Custom /checkout/ already supplies its own page shell. Keep one form card. */
.jte-ui .jte-main>.jte-wrap:has(.jte-commerce-shell .storeengine-checkout-form-shortcode){max-width:1000px}
.jte-ui .jte-commerce-shell:has(.storeengine-checkout-form-shortcode){width:100%;max-width:940px;min-width:0}
.jte-ui .jte-commerce-box:has(>.storeengine-checkout-form-shortcode){background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
.jte-ui .jte-commerce-box>.storeengine-checkout-form-shortcode{width:100%;box-sizing:border-box;margin:0!important}
.jte-ui .storeengine-form-address-group:not(:has(input,select,textarea)){display:none}
.jte-ui .storeengine-form-group:empty{display:none}
.jte-ui .storeengine-ajax-checkout-form__payments{margin-top:24px}
.jtex-storefront:has(.storeengine-ajax-checkout-form) .storeengine-floating-cart{display:none!important}
@media(max-width:781px){
 .jte-ui .jte-main>.jte-wrap:has(.jte-commerce-shell .storeengine-checkout-form-shortcode){padding-inline:16px}
 .jte-ui .jte-commerce-head h1{font-size:27px!important}
 .jte-ui .jte-commerce-box>.storeengine-checkout-form-shortcode{padding:20px!important}
 .jte-ui .jtex-bkash-fields{overflow-wrap:anywhere}
}
/* Keep only the StoreEngine account dashboard full-width. */
.jtex-storefront .wp-site-blocks>.wp-block-group:has(.storeengine-frontend-dashboard){padding-inline:24px!important;box-sizing:border-box}
.jtex-storefront .storeengine-frontend-dashboard{width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important;box-sizing:border-box}
.jtex-storefront .storeengine-frontend-dashboard>.storeengine-container{width:100%!important;max-width:none!important;padding-inline:0!important;box-sizing:border-box}
.jtex-storefront .storeengine-frontend-dashboard>.storeengine-container>.storeengine-row{margin-inline:0!important}
.jtex-storefront .storeengine-frontend-dashboard__content{max-width:none!important;min-width:0;flex:1 1 0!important;width:auto!important}
.jtex-storefront .storeengine-frontend-dashboard .jt-orders{max-width:none!important}
@media(min-width:768px){.jtex-storefront .storeengine-frontend-dashboard__sidebar{flex:0 0 260px!important;max-width:260px!important;width:260px!important}}
@media(max-width:767px){
 .jtex-storefront .wp-site-blocks>.wp-block-group:has(.storeengine-frontend-dashboard){padding-inline:12px!important}
 .jtex-storefront .storeengine-frontend-dashboard__content{flex:0 0 100%!important;width:100%!important;max-width:100%!important;padding-inline:0!important}
 .jtex-storefront .storeengine-frontend-dashboard__sidebar{max-width:100%!important;flex-basis:100%!important}
}
