.cart-qty-badge{position:absolute;top:-6px;right:-10px;background-color:#e3000f;color:#ffffff;font-size:11px;font-family:Arial,sans-serif;font-weight:bold;line-height:1;min-width:18px;height:18px;padding:0 4px;border-radius:20px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px rgba(0,0,0,0.2);z-index:10;box-sizing:border-box} @keyframes popCartBadge{0%{transform:scale(1)} 50%{transform:scale(1.3)} 100%{transform:scale(1)}} .cart-qty-badge.pop{animation:popCartBadge 0.3s ease} .top-bar-item>a{color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:6px} .top-bar-item>a:hover{color:inherit;text-decoration:none} .ap-city-trigger{cursor:pointer;position:relative} .ap-city-trigger>span{border-bottom:1px dashed rgba(255,255,255,.65)} .ap-city-change-mini{margin-top:8px;background:transparent !important;color:#111 !important;border:1px solid #ddd !important} .ap-city-modal-overlay{position:fixed;inset:0;background:rgba(15,23,42,.48);z-index:1000100;opacity:0;visibility:hidden;transition:.18s ease} .ap-city-modal-overlay.active{opacity:1;visibility:visible} .ap-city-modal{position:fixed;inset:0;z-index:1000101;display:none;align-items:center;justify-content:center;padding:20px} .ap-city-modal.active{display:flex} .ap-city-dialog{width:min(520px,100%);max-height:min(760px,calc(100dvh - 40px));background:#fff;border-radius:26px;padding:22px;position:relative;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 80px rgba(15,23,42,.22)} .ap-city-fixed{flex:0 0 auto} .ap-city-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-right:3px} .ap-city-close{position:absolute;right:16px;top:16px;width:38px;height:38px;border:1px solid #e5e7eb;border-radius:50%;background:#fff;cursor:pointer;z-index:3} .ap-city-close:before,.ap-city-close:after{content:"";position:absolute;left:50%;top:50%;width:16px;height:2px;background:#111827;border-radius:10px} .ap-city-close:before{transform:translate(-50%,-50%) rotate(45deg)} .ap-city-close:after{transform:translate(-50%,-50%) rotate(-45deg)} .ap-city-head{display:flex;gap:14px;padding-right:42px;margin-bottom:18px} .ap-city-icon{width:48px;height:48px;border-radius:16px;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 48px} .ap-city-head h3{margin:0 0 6px;font-size:22px;line-height:1.2;color:#111827;font-weight:900} .ap-city-head p{margin:0;color:#64748b;font-size:14px;line-height:1.4} .ap-city-detected{border:1px solid #e5e7eb;background:#f8fafc;border-radius:18px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px} .ap-city-detected span{display:block;color:#64748b;font-size:12px;margin-bottom:3px} .ap-city-detected strong{display:block;color:#111827;font-size:16px} .ap-city-detected button,.ap-city-geo-btn{border:0;background:#111827;color:#fff;border-radius:999px;padding:10px 14px;font-weight:800;cursor:pointer;white-space:nowrap} .ap-city-geo-btn{width:100%;min-height:46px;display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:12px} .ap-city-geo-btn.is-loading{opacity:.7;pointer-events:none} .ap-city-search-wrap{height:48px;border:1px solid #e5e7eb;border-radius:16px;display:flex;align-items:center;gap:10px;padding:0 14px;margin-bottom:18px} .ap-city-search-wrap i{color:#94a3b8} .ap-city-search-wrap input{border:0;outline:0;width:100%;height:100%;font-size:15px;font-family:inherit} .ap-city-section-title{font-size:13px;font-weight:800;color:#64748b;margin-bottom:10px} .ap-city-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px} .ap-city-grid button,.ap-city-result-item{min-height:42px;border:1px solid #e5e7eb;background:#fff;border-radius:14px;padding:9px 12px;text-align:left;cursor:pointer;font-weight:700;color:#111827} .ap-city-grid button:hover,.ap-city-result-item:hover{background:#f8fafc;border-color:#111827} .ap-city-results{display:none;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;margin-top:-6px} .ap-city-results.active{display:block} .ap-city-result-item{width:100%;border:0;border-bottom:1px solid #f1f5f9;border-radius:0} .ap-city-result-item:last-child{border-bottom:0} .mobile-bottom-nav{display:flex;justify-content:space-around;align-items:center} .mobile-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;gap:4px;padding:5px 0;color:var(--text,#333)} .mobile-nav-icon-wrap{position:relative;display:flex;align-items:center;justify-content:center;height:24px;width:24px} .mobile-nav-icon-wrap i{font-size:20px} .mobile-nav-text{font-size:11px;line-height:1;white-space:nowrap} .mobile-nav-item .cart-qty-badge{top:-6px;right:-10px} body.mobile-catalog-open .mobile-bottom-nav,body.ap-city-modal-open .mobile-bottom-nav{display:none !important;transform:translateY(110%) !important;opacity:0 !important;pointer-events:none !important;visibility:hidden !important} .mobile-catalog-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.45);z-index:100000;opacity:0;visibility:hidden;transition:.22s ease;backdrop-filter:blur(2px)} .mobile-catalog-overlay.active{opacity:1;visibility:visible} .mobile-catalog-panel{position:fixed;top:0;left:-100%;width:88%;max-width:360px;height:100%;background:#fff;z-index:100001;transition:left .24s ease;box-shadow:2px 0 24px rgba(0,0,0,.16);display:flex;flex-direction:column} .mobile-catalog-panel.active{left:0} .mobile-catalog-header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #f0f0f0;background:#fff} .mobile-catalog-header h3{margin:0;font-size:19px;font-weight:800;color:#111827} .close-catalog-btn{background:#f8fafc;border:1px solid #e5e7eb;border-radius:50%;font-size:24px;line-height:1;cursor:pointer;color:#111827;padding:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center} .mobile-catalog-levels{flex:1;overflow:hidden;position:relative;background:#fff} .catalog-level{position:absolute;inset:0;overflow-y:auto;background:#fff;transition:transform .24s ease;transform:translateX(100%);visibility:hidden;-webkit-overflow-scrolling:touch} .catalog-level.active{transform:translateX(0);visibility:visible} .catalog-level.prev{transform:translateX(-100%);visibility:hidden} .level-header{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #f0f0f0;background:#fff;position:sticky;top:0;z-index:2} .back-btn{background:#f8fafc;border:1px solid #e5e7eb;border-radius:50%;width:34px;height:34px;cursor:pointer;color:#111827;display:flex;align-items:center;justify-content:center;flex:0 0 34px} .level-title{font-size:16px;font-weight:800;margin:0;color:#111827;line-height:1.2} .level-open-category{margin:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:#111827;color:#fff;text-decoration:none;border-radius:16px;font-weight:800} .level-open-category:hover{color:#fff;text-decoration:none} .catalog-level ul{list-style:none;padding:0;margin:0} .catalog-level li{border-bottom:1px solid #f4f4f5} .catalog-row{display:flex;align-items:center;min-height:54px} .catalog-link{flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:14px 8px 14px 18px;color:#111827;text-decoration:none;font-size:15px;font-weight:700} .catalog-link:hover{color:#111827;text-decoration:none;background:#f8fafc} .catalog-link i{color:#94a3b8;font-size:14px;width:18px;text-align:center;flex:0 0 18px} .catalog-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap} .catalog-next-btn{width:52px;height:54px;border:0;border-left:1px solid #f1f5f9;background:#fff;color:#94a3b8;cursor:pointer;flex:0 0 52px} .catalog-next-btn:hover{background:#f8fafc;color:#111827} .mobile-catalog-footer{border-top:1px solid #eee;padding:16px 18px calc(16px + env(safe-area-inset-bottom,0px));background:#fff;font-size:13px;color:#333} .mobile-catalog-footer-item{display:flex;align-items:center;gap:10px;margin-bottom:12px} .mobile-catalog-footer-item:last-child{margin-bottom:0} .mobile-catalog-footer-item i{width:20px;color:#999} .mobile-catalog-footer-item span{line-height:1.4} .mobile-catalog-footer-item a{color:#333;text-decoration:none} @media (min-width:769px){.mobile-bottom-nav,.mobile-catalog-overlay,.mobile-catalog-panel{display:none !important}} @media (max-width:768px){.top-bar-bg{position:relative;z-index:30} .header-main{position:relative;min-height:190px;padding-top:28px;padding-bottom:22px;margin-top:10px;flex-wrap:wrap;justify-content:center;align-items:center;text-align:center;overflow:hidden;border-radius:0 !important;background-image:linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.58)),url('../image/mobile-header-bg.jpg');background-image:linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.58)),image-set(url('../image/mobile-header-bg.webp') type('image/webp'),url('../image/mobile-header-bg.jpg') type('image/jpeg'));background-size:cover;background-position:center;box-shadow:0 10px 28px rgba(15,23,42,.14)} .header-main:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.14),transparent 34%),linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.34));pointer-events:none;z-index:0} .header-main>*{position:relative;z-index:1} .header-tabs{order:2;display:flex;width:100%;justify-content:center;gap:8px;margin:0 0 12px} .header-tabs .tab{background:rgba(255,255,255,.16);color:#fff !important;border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-radius:999px;padding:9px 13px;font-size:13px;text-decoration:none} .header-tabs .tab.active{background:rgba(255,255,255,.94);color:#111827 !important;border-color:rgba(255,255,255,.96)} .header-actions{order:3;width:100%;margin-left:0;display:flex;justify-content:center;align-items:center;gap:10px} .header-actions .btn-login,.header-actions .cart-box{min-height:42px;border-radius:999px;background:rgba(255,255,255,.94);color:#111827 !important;border:1px solid rgba(255,255,255,.9);box-shadow:none;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)} .header-actions .cart-box svg path{stroke:#111827} #menu,.navbar#menu{display:none !important} .ap-city-modal{align-items:flex-end;padding:0} .ap-city-dialog{border-radius:26px 26px 0 0;padding:20px 16px calc(20px + env(safe-area-inset-bottom,0px));width:100%;max-height:88dvh;overflow:hidden} .ap-city-scroll{padding-bottom:2px} .ap-city-head h3{font-size:20px} .ap-city-grid{grid-template-columns:1fr} .ap-city-detected{align-items:flex-start;flex-direction:column} .ap-city-detected button{width:100%}}
