/* ===== TEAM NOXEX shop design (Badhon's World style). Loads LAST. Colors come from the admin Theme & Options. ===== */
:root{--r:18px;--shadow:0 6px 22px rgba(15,23,42,.07);--shadow2:0 12px 30px rgba(15,23,42,.13);--red:#e11d48}
html{scroll-behavior:smooth}
body{padding-bottom:0}
.container{max-width:1240px}
img{max-width:100%}

/* ---- ticker ---- */
.nx-ticker{background:var(--tdark);color:#fff;font-size:13px;font-weight:600;overflow:hidden;white-space:nowrap}
.nx-ticker .in{display:flex;align-items:center;gap:10px;padding:7px 0}
.nx-ticker svg{flex:none;color:var(--sun)}
.nx-ticker .run{display:inline-block;padding-left:100%;animation:nxrun 28s linear infinite}
.nx-ticker:hover .run{animation-play-state:paused}
@keyframes nxrun{to{transform:translateX(-100%)}}

/* ---- header ---- */
header#navbar_top{position:sticky;top:0;z-index:50}
.main-header .logo-area{padding:12px 0!important}
.main-logo img,.menu-logo img{max-height:46px;width:auto}
.main-search{flex:1;max-width:620px;margin:0 22px;position:relative}
.main-search form{display:flex;align-items:center;border-radius:99px!important;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.14)}
.main-search input{flex:1;height:46px;font-size:15px}
.main-search button{height:46px;width:58px;display:grid;place-items:center}
.header-list-items ul{display:flex;align-items:center;gap:6px;margin:0;padding:0;list-style:none}
.header-list-items li a,.header-list-items li p{display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border-radius:99px;background:rgba(255,255,255,.14);font-weight:600;font-size:14px;margin:0;color:#fff!important}
.header-list-items li a:hover{background:rgba(255,255,255,.26);text-decoration:none}
.cart-dialog .margin-shopping span{background:var(--sun);color:#fff;min-width:20px;height:20px;border-radius:99px;font-size:12px;display:inline-grid;place-items:center;padding:0 5px}
.cshort-summary{border-radius:var(--r)!important;box-shadow:var(--shadow2)!important;border:1px solid var(--line)!important}
.menu-area{box-shadow:0 4px 14px rgba(15,23,42,.05)}
.catagory_menu>ul>li>a{padding:11px 14px!important;border-radius:99px;margin:5px 2px}
.catagory_menu>ul>li:hover>a{background:var(--mint)}
.Cat_menu{border-radius:14px!important;box-shadow:var(--shadow2)!important;border:1px solid var(--line)!important;overflow:hidden}
.mobile-search{padding:8px 12px!important;background:var(--t)}
.mobile-search form{display:flex;border-radius:99px;overflow:hidden;background:#fff}
.mobile-search input{flex:1;border:0!important;height:42px;padding:0 16px!important;border-radius:0!important}
.mobile-search button{width:52px;border:0!important;border-radius:0!important}

/* ---- hero slider ---- */
.slider-section{padding:16px 0 4px}
.home-slider-container{border-radius:22px;overflow:hidden;box-shadow:var(--shadow2)}
.main_slider .slider-item img{width:100%;display:block;aspect-ratio:16/6;object-fit:cover}
.main_slider .owl-dots{position:absolute;left:0;right:0;bottom:10px}
.main_slider .owl-dots .owl-dot span{background:rgba(255,255,255,.6)!important;width:9px;height:9px}
.main_slider .owl-dots .owl-dot.active span{background:#fff!important;width:24px}
.main_slider .owl-nav button{background:rgba(255,255,255,.9)!important;color:var(--t)!important;width:38px;height:38px;border-radius:50%!important;box-shadow:var(--shadow)}

/* ---- quick chips ---- */
.nx-chips{padding:12px 0 2px}
.nx-chips .row2{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 10px;scrollbar-width:none}
.nx-chips .row2::-webkit-scrollbar{display:none}
.nx-chip{flex:none;display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:99px;background:#fff;border:1px solid var(--line);color:var(--t)!important;font-weight:700;font-size:14px;box-shadow:0 2px 8px rgba(15,23,42,.05)}
.nx-chip:hover{background:var(--t);color:#fff!important;text-decoration:none;transform:translateY(-1px)}
.nx-chip.hot{background:var(--sun);border-color:var(--sun);color:#fff!important}
.nx-chip svg{flex:none}

/* ---- trust strip ---- */
.trust-strip{padding:14px 0 6px}
.trust-strip .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.trust-strip .tile{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;box-shadow:0 2px 10px rgba(15,23,42,.04)}
.trust-strip .tile em{flex:none;width:46px;height:46px;border-radius:14px;background:var(--mint);color:var(--t);display:grid;place-items:center}

/* ---- section titles ---- */
.homeproduct{padding:14px 0 6px}
.sec_title{margin-bottom:12px}
.section-title-name{font-size:21px!important}
.view_more_btn{padding:10px 26px!important;margin:12px 0 4px;display:inline-block}

/* ---- categories ---- */
.topcategory .cat_item{background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px 8px;text-align:center;box-shadow:var(--shadow);transition:.18s;margin:6px 4px}
.topcategory .cat_item:hover{transform:translateY(-4px);box-shadow:var(--shadow2);border-color:var(--t3)}
.topcategory .cat_img img{width:76px;height:76px;object-fit:cover;border-radius:50%;margin:0 auto;border:3px solid var(--mint);background:var(--bgm)}
.topcategory .cat_name a{display:block;margin-top:9px;font-weight:700;font-size:14px;color:var(--ink)}

/* ---- product cards ---- */
.product_item{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow);transition:.2s;position:relative;display:flex;flex-direction:column}
.product_item:hover{transform:translateY(-4px);box-shadow:var(--shadow2);border-color:var(--t3)}
.product_item_inner{flex:1;position:relative}
.product_item .pro_img{background:var(--bgm);overflow:hidden}
.product_item .pro_img img{width:100%;aspect-ratio:1/1;object-fit:cover;transition:.35s}
.product_item:hover .pro_img img{transform:scale(1.06)}
.product_item .pro_des{padding:11px 12px 6px}
.product_item .pro_name a{font-size:14.5px;font-weight:600;color:var(--ink);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px}
.product_item .pro_price p{margin:6px 0 0;font-size:18px;font-weight:800;color:var(--t)}
.product_item .pro_price del{font-size:13px;font-weight:500;color:#94a3b8;margin-right:6px}
.product_item .pro_btn{padding:6px 12px 13px}
.product_item .pro_btn button,.product_item .pro_btn a{display:block;width:100%;text-align:center;border:0;border-radius:99px;padding:10px 12px;font-weight:700;font-size:14px;color:#fff!important;background:linear-gradient(120deg,var(--t),var(--t3));box-shadow:0 6px 14px rgba(17,94,89,.22);cursor:pointer}
.product_item .pro_btn button:hover,.product_item .pro_btn a:hover{filter:brightness(1.08);text-decoration:none}
.sale-badge{position:absolute;left:10px;top:10px;z-index:3}
.sale-badge *{background:none!important;border:0!important;box-shadow:none!important;margin:0!important;padding:0!important}
.sale-badge-text p{background:var(--red)!important;color:#fff!important;font-weight:800;font-size:12px;padding:4px 10px!important;border-radius:99px;box-shadow:0 5px 12px rgba(225,29,72,.35)!important;margin:0!important;line-height:1.3}

/* ---- product details / cart / checkout / account: soft cards ---- */
.details_page .details_inner,.cart_page .cart-card,.customer-checkout .checkout-card,.customer_auth .auth_form,.customer-sidebar,.sidebar-menu{border-radius:var(--r)}
.form-control,.form-select{border-radius:12px!important;border:1.5px solid var(--line)!important;padding:10px 14px;transition:.15s}
.form-control:focus,.form-select:focus{border-color:var(--t3)!important;box-shadow:0 0 0 4px var(--mint)!important}
.btn-primary,.confirm_order,.order_place,button.order_place{background:linear-gradient(120deg,var(--t),var(--t3))!important;border:0!important;border-radius:99px!important;font-weight:700}
.table{border-radius:14px;overflow:hidden}
.table thead th{background:var(--mint);color:var(--t);border:0}

/* ---- footer ---- */
footer{margin-top:28px;background:var(--tdark)!important;color:#d6f4ef}
footer .footer-top{padding:34px 0 10px}
footer a,footer p,footer li{color:#d6f4ef!important}
footer a:hover{color:var(--sun)!important}
footer .footer-menu .title a{font-weight:800;font-size:17px;color:#fff!important}
footer .footer-about img{max-height:50px;width:auto;margin-bottom:10px}
footer .social_link{display:flex;gap:8px;padding:0;list-style:none}
footer .mobile-social-link{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.12);display:grid;place-items:center}
footer .footer-bottom{background:rgba(0,0,0,.25);padding:12px 0;text-align:center}
.nx-fcontact{display:grid;gap:8px;margin-top:10px}
.nx-fcontact a{display:flex;gap:8px;align-items:center}

/* ---- mobile bottom bar ---- */
.footer_nav{border-radius:22px 22px 0 0;box-shadow:0 -8px 26px rgba(15,23,42,.14)!important;background:#fff!important;padding-bottom:env(safe-area-inset-bottom,0)}
.footer_nav ul{display:flex;align-items:flex-end;margin:0;padding:6px 4px;list-style:none}
.footer_nav li{flex:1;text-align:center}
.footer_nav li a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;font-weight:700;color:#64748b!important}
.footer_nav li a i{font-size:19px}
.footer_nav li.mobile_home a span:first-child{background:var(--sun);color:#fff;width:50px;height:50px;border-radius:50%;display:grid;place-items:center;margin-top:-24px;box-shadow:0 8px 18px rgba(0,0,0,.25);border:4px solid #fff}
.footer_nav li.mobile_home a{color:var(--t)!important}

/* ---- responsive ---- */
@media(max-width:991px){
 .trust-strip .grid{grid-template-columns:repeat(2,1fr)}
 .main_slider .slider-item img{aspect-ratio:16/8}
 .home-slider-container{border-radius:16px}
 body{padding-bottom:78px}
}
@media(max-width:575px){
 .container{padding-left:12px;padding-right:12px}
 .section-title-name{font-size:18px!important}
 .product_item .pro_price p{font-size:16px}
 .product_item .pro_name a{font-size:13.5px}
 .trust-strip .tile{padding:10px;gap:8px}
 .trust-strip .tile em{width:38px;height:38px}
 .topcategory .cat_img img{width:62px;height:62px}
}
@media(prefers-reduced-motion:reduce){.nx-ticker .run{animation:none;padding-left:0}*{transition:none!important}}
