html { scroll-behavior: smooth; }



        html { margin-left: 0 !important; }
        body {
            font-family: "Inter", system-ui, sans-serif;
            background: #ffffff;
            color: #334155;
            overflow-x: hidden;
            overflow-x: clip;
        }
        a { text-decoration: none; color: inherit; }


        .marquee { animation: scrollx 28s linear infinite; }
        @keyframes scrollx { from{transform:translateX(0)} to{transform:translateX(-50%)} }


        .shop-breadcrumb {
            background: #fff;
            border-bottom: 1px solid #e2e8f0;
            padding: 12px 0;
        }
        .shop-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font-size: 13px; }
        .shop-breadcrumb li a { color: #64748b; }
        .shop-breadcrumb li a:hover { color: #0891b2; }
        .shop-breadcrumb li.active { color: #0f172a; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 300px; }
        .shop-breadcrumb li::after { content: '/'; margin-left: 8px; color: #e2e8f0; }
        .shop-breadcrumb li:last-child::after { display: none; }





        a.badge.bg-slate-900 { background-color: #0f172a !important; }
        a.badge.bg-white     { background-color: #ffffff !important; }
        a.badge.bg-slate-100 { background-color: #f1f5f9 !important; }
        a.badge.bg-neon\/10  { background-color: rgba(8, 145, 178, .1) !important; }


        .mega-menu { display: none; }
        .cat-nav .mega-menu-inner { display: block; }
        .cat-nav .mega-col { min-width: 0; }
        .cat-nav .mega-col h4 { display: none; }
        .cat-nav .mega-col ul { list-style: none; margin: 0; padding: 0; }
        .cat-nav .mega-col li a {
            display: flex; align-items: center; gap: 8px;
            padding: 8px 12px; border-radius: 8px;
            font-size: 13px; line-height: 1.35; color: #334155;
            white-space: nowrap;
            transition: background .15s ease, color .15s ease;
        }
        .cat-nav .mega-col li a:hover { background: #f1f5f9; color: #0891b2; }
        .cat-nav .mega-col li a img.cat-icon {
            width: 22px; height: 22px; flex-shrink: 0;
            border-radius: 4px; object-fit: contain;
        }
        @media (min-width: 1024px) {
            .cat-nav .has-mega > .mega-menu {
                position: absolute;
                top: 100%;
                left: 50%;
                transform: translateX(-50%);
                display: none;
                width: max-content;
                max-width: min(880px, calc(100vw - 32px));
                background: #fff;
                border: 1px solid #e2e8f0;
                border-radius: 14px;
                box-shadow: 0 18px 44px rgba(15, 23, 42, .14);
                padding: 18px 6px;
                z-index: 999;
            }
            .cat-nav .has-mega:hover > .mega-menu { display: block; animation: megaIn .16s ease; }
            .cat-nav .mega-menu-inner { display: flex; gap: 2px; }
            .cat-nav .mega-col { min-width: 176px; }
            .cat-nav .mega-col li a { padding: 8px 14px; }



            .cat-nav > div > ul > li > a { padding-left: 0 !important; padding-right: 0 !important; }
        }
        @keyframes megaIn {
            from { opacity: 0; transform: translateX(-50%) translateY(6px); }
            to   { opacity: 1; transform: translateX(-50%) translateY(0); }
        }


        .drawer-header { display: none; }
        .nav-overlay { display: none; }
        .mobile-search-row { display: none; }
        @media (max-width: 1023.98px) {
            .cat-nav {
                position: fixed;
                top: 0; left: 0; bottom: 0;
                width: min(85vw, 340px);
                background: #fff;
                z-index: 1050;
                transform: translate3d(-100%, 0, 0);
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
                box-shadow: 2px 0 12px rgba(0,0,0,.12);
            }
            .cat-nav.anim { transition: transform .3s ease; }
            .cat-nav.open { transform: translate3d(0, 0, 0); }
            .drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; background: #fff; z-index: 2; }
            .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1040; display: none; }
            .nav-overlay.show { display: block; }
            body.drawer-open { overflow: hidden; }

            .mega-menu { position: static; display: block; box-shadow: none; border-left: 2px solid #0891b2; margin: 0 16px 6px; padding: 2px 0; border-radius: 0; }
            .cat-nav .mega-menu-inner { display: block; }
            .cat-nav .mega-col li a { white-space: normal; padding: 8px 12px; font-size: 14px; border-radius: 0; }
            .cat-nav .mega-col li a:hover { background: transparent; color: #0891b2; }
        }


        .ha-cart-wrap { position: relative; }
        .mini-cart {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            width: 360px;
            max-width: 92vw;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            box-shadow: 0 16px 40px rgba(0,0,0,.12);
            z-index: 99999;
            overflow: hidden;
            color: #334155;
        }
        .mini-cart .mc-head { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; border-bottom:1px solid #e2e8f0; font-weight:600; font-size:14px; }
        .mini-cart .mc-body { max-height: 340px; overflow-y: auto; }
        .mini-cart .mc-empty { padding: 32px 16px; text-align:center; color:#64748b; font-size:14px; }
        .mini-cart .mc-item { display:flex; gap:10px; align-items:center; padding:10px 16px; border-bottom:1px solid #e2e8f0; }
        .mini-cart .mc-item img { width:52px; height:52px; object-fit:cover; border-radius:8px; }
        .mini-cart .mc-name { font-size:13px; font-weight:500; line-height:1.3; color:#0f172a; }
        .mini-cart .mc-variant { font-size:11px; color:#64748b; }
        .mini-cart .mc-price { font-size:13px; font-weight:600; color:#e11d48; }
        .mini-cart .mc-qty { display:inline-flex; align-items:center; border:1px solid #e2e8f0; border-radius:6px; overflow:hidden; margin-top:4px; }
        .mini-cart .mc-qty button { width:24px; height:24px; border:none; background:#f1f5f9; cursor:pointer; font-size:13px; line-height:1; }
        .mini-cart .mc-qty span { min-width:28px; text-align:center; font-size:13px; }
        .mini-cart .mc-remove { border:none; background:none; color:#ef4444; cursor:pointer; font-size:12px; margin-left:6px; }
        .mini-cart .mc-foot { padding:12px 16px; border-top:1px solid #e2e8f0; }
        .mini-cart .mc-row { display:flex; justify-content:space-between; font-size:13px; margin-bottom:4px; }
        .mini-cart .mc-total { font-weight:700; font-size:15px; }
        .mini-cart .mc-actions { display:flex; gap:8px; margin-top:8px; }
        .mini-cart .mc-actions a { flex:1; text-align:center; padding:9px; border-radius:8px; font-size:13px; font-weight:600; }
        .mc-view { background:#f1f5f9; color:#0f172a; }
        .mc-checkout { background:#e11d48; color:#fff; }
        .mini-cart .mc-loading { padding:32px 16px; text-align:center; color:#64748b; font-size:14px; }


        .search-suggest {
            position: absolute; left: 0; right: 0; top: 100%; z-index: 1000;
            background: #fff; border: 1px solid #e2e8f0; border-radius: 0 0 8px 8px;
            max-height: 360px; overflow-y: auto; display: none;
        }
        .search-suggest .ss-item { display:flex; align-items:center; gap:10px; padding:8px 12px; border-bottom:1px solid #f1f5f9; color:#0f172a; text-decoration:none; }
        .search-suggest .ss-item:hover { background:#f8fafc; }
        .search-suggest .ss-item img { width:36px; height:36px; object-fit:cover; border-radius:4px; }
        .search-suggest .ss-name { flex:1; font-size:14px; }
        .search-suggest .ss-price { color:#e11d48; font-weight:600; font-size:13px; }


        .cms-content, .blog-content, .product-desc { max-width:100%; overflow-wrap:break-word; word-break:break-word; }
        .cms-content img, .cms-content video, .cms-content iframe,
        .blog-content img, .blog-content video, .blog-content iframe,
        .product-desc img, .product-desc video, .product-desc iframe { max-width:100% !important; height:auto; padding:0 !important; }
        .product-desc hr { display:none; }
        .cms-content table, .blog-content table { display:block; max-width:100%; overflow-x:auto; }
        .cms-content pre, .blog-content pre, .product-desc pre { white-space:pre-wrap; word-break:break-word; max-width:100%; }


        .site-main > .container:not(:has(*)) { display: none; }
