.dklh{--promo-h:60px;--h:68px;--navh:52px;position:relative;z-index:9999;color:var(--dklh-text);font-family:IRANYekan,Yekan,Arial,sans-serif;direction:rtl}.dklh *{box-sizing:border-box}.dklh button,.dklh input{font-family:inherit}.dklh-promo{height:var(--promo-h);background:#2455a6;color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600}.dklh-main{height:var(--h);background:var(--dklh-header-bg);border-bottom:1px solid #f0f0f1}.dklh-main-inner{height:100%;max-width:1280px;margin:auto;padding:0 16px;display:flex;align-items:center;gap:20px}.dklh-brand{width:190px;flex:0 0 190px;display:flex;align-items:center;justify-content:flex-start}.dklh-brand a{display:flex;align-items:center;text-decoration:none}.dklh-brand img{display:block;max-width:180px;max-height:52px;width:auto;height:auto}.dklh-logo-text{font-size:25px;font-weight:900;color:var(--dklh-accent)}.dklh-search-wrap{height:46px;max-width:680px;flex:1;display:flex;align-items:center;background:#f1f1f2;border-radius:10px;padding:0 14px;overflow:hidden}.dklh-search-label{width:30px;display:flex;align-items:center;justify-content:center;color:#818196}.dklh-search{flex:1;min-width:0}.dklh-search>*{width:100%!important;max-width:100%!important;margin:0!important}.dklh-search input,.dklh-search form input[type=text],.dklh-search form input[type=search]{height:44px!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;font-size:13px!important;color:#3f4064!important}.dklh-actions{margin-right:auto;display:flex;align-items:center;gap:2px}.dklh-action{width:46px;height:46px;border:0;background:transparent;border-radius:9px;cursor:pointer;color:#3f4064;position:relative;display:flex;align-items:center;justify-content:center}.dklh-action:hover{background:#f8f8f8}.dklh-icon{width:23px;height:23px;display:inline-flex;align-items:center;justify-content:center}.dklh-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.dklh-badge{position:absolute;right:4px;bottom:4px;min-width:16px;height:16px;padding:0 4px;border-radius:5px;background:var(--dklh-accent);color:#fff;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center}.dklh-dot{position:absolute;top:8px;right:8px;width:6px;height:6px;border-radius:50%;background:var(--dklh-accent)}.dklh-nav{height:var(--navh);background:var(--dklh-nav-bg);border-bottom:1px solid #e9e9ea}.dklh-nav-inner{max-width:1280px;height:100%;margin:auto;padding:0 16px;display:flex;align-items:center;gap:22px}.dklh-cat-btn,.dklh-delivery{border:0;background:none;color:var(--dklh-text);cursor:pointer;display:flex;align-items:center;gap:7px;white-space:nowrap}.dklh-cat-btn{font-size:13px;font-weight:700}.dklh-cat-btn .dklh-icon{width:19px;height:19px}.dklh-links{display:flex;align-items:center;gap:26px;flex:1;overflow:auto;white-space:nowrap;scrollbar-width:none}.dklh-links::-webkit-scrollbar{display:none}.dklh-links a{position:relative;color:#626275;text-decoration:none;font-size:12px;padding:15px 0}.dklh-links a:hover{color:var(--dklh-accent)}.dklh-delivery{margin-right:auto;border-right:1px solid #eee;padding-right:18px;font-size:11px}.dklh-delivery .dklh-icon{width:19px;height:19px}.dklh-delivery-title{color:#626275}.dklh-delivery-value{font-weight:600;color:#3f4064}.dklh-overlay{position:fixed;inset:0;background:rgba(0,0,0,.42);opacity:0;visibility:hidden;transition:.18s;z-index:100000}.dklh.open .dklh-overlay{opacity:1;visibility:visible}.dklh-panel,.dklh-location-modal{position:fixed;z-index:100001;background:#fff;opacity:0;visibility:hidden;transition:.18s;box-shadow:0 12px 40px rgba(0,0,0,.18)}.dklh-panel.open,.dklh-location-modal.open{opacity:1;visibility:visible}.dklh-mega{top:calc(var(--promo-h) + var(--h) + var(--navh));right:50%;transform:translate(50%,-10px);width:min(1140px,calc(100vw - 24px));border-radius:0 0 14px 14px;padding:18px 20px}.dklh-mega.open{transform:translate(50%,0)}.dklh-panel-head{height:40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee;padding-bottom:10px}.dklh-panel-head strong{font-size:14px}.dklh-panel-head button,.dklh-location-head button{border:0;background:none;color:#626275;cursor:pointer;padding:5px}.dklh-panel-head button .dklh-icon,.dklh-location-head button .dklh-icon{width:19px;height:19px}.dklh-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px 24px;padding-top:12px}.dklh-category-grid a{display:flex;align-items:center;gap:7px;padding:11px 8px;border-radius:8px;text-decoration:none;color:#3f4064;font-size:12px}.dklh-category-grid a:hover{background:#f7f7f8;color:var(--dklh-accent)}.dklh-category-grid .dklh-icon{width:15px;height:15px}.dklh-side{top:calc(var(--promo-h) + var(--h) + var(--navh) - 1px);left:16px;width:350px;max-width:calc(100vw - 32px);padding:18px;border-radius:0 0 12px 12px;transform:translateY(-10px)}.dklh-side.open{transform:none}.dklh-account-body,.dklh-cart-body,.dklh-notifications{padding-top:16px;display:flex;flex-direction:column;gap:10px}.dklh-account-body a{padding:11px 4px;text-decoration:none;color:#3f4064;border-bottom:1px solid #eee;font-size:13px}.dklh-account-body p,.dklh-cart-body p{font-size:12px;color:#626275;line-height:2}.dklh-user-name{font-size:15px;font-weight:800;padding-bottom:8px}.dklh-red-btn{display:block!important;background:var(--dklh-accent)!important;color:#fff!important;text-decoration:none!important;border:0!important;border-radius:9px!important;padding:12px!important;text-align:center!important}.dklh-notifications div{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid #eee;border-radius:9px;font-size:12px}.dklh-notifications .dklh-icon{width:19px;height:19px;color:#818196}.dklh-empty{text-align:center;color:#818196;padding:25px 0;font-size:13px}.dklh-location-modal{top:50%;left:50%;width:min(640px,calc(100vw - 28px));max-height:min(720px,calc(100vh - 30px));overflow:auto;border-radius:16px;padding:20px;transform:translate(-50%,-47%)}.dklh-location-modal.open{transform:translate(-50%,-50%)}.dklh-location-head{display:flex;align-items:center;gap:8px;border-bottom:1px solid #eee;padding-bottom:12px}.dklh-location-head strong{font-size:17px}.dklh-location-modal>p{font-size:12px;color:#818196;margin:13px 0}.dklh-address-selected{border:1px solid #2455a6;border-radius:11px;padding:13px;margin-bottom:10px}.dklh-address-selected>div{display:flex;align-items:center;gap:8px;color:#2455a6;font-size:13px}.dklh-address-selected>span{display:block;color:#626275;font-size:11px;margin-top:7px}.dklh-address-list{display:flex;flex-direction:column;gap:8px}.dklh-address{display:grid;grid-template-columns:25px 1fr;grid-template-rows:auto auto;text-align:right;gap:3px 8px;width:100%;padding:13px;border:1px solid #e2e2e4;border-radius:10px;background:#fff;cursor:pointer;color:#3f4064}.dklh-address>span{grid-row:1/3}.dklh-address b{font-size:13px}.dklh-address small{font-size:11px;color:#818196}.dklh-location-map{height:190px;margin-top:12px;border-radius:11px;overflow:hidden;position:relative;background:#edf0e9;border:1px solid #e2e2e4}.dklh-map-grid{position:absolute;inset:0;background:linear-gradient(30deg,transparent 48%,rgba(255,255,255,.8) 49%,rgba(255,255,255,.8) 51%,transparent 52%),linear-gradient(120deg,transparent 48%,rgba(255,255,255,.7) 49%,rgba(255,255,255,.7) 51%,transparent 52%);background-size:80px 80px}.dklh-map-pin{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:32px;height:32px;border-radius:50% 50% 50% 0;background:var(--dklh-accent);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 15px rgba(0,0,0,.2);font-size:12px}.dklh-map-hint{position:absolute;right:12px;bottom:10px;left:12px;background:rgba(255,255,255,.9);border-radius:8px;padding:8px;font-size:10px;text-align:center;color:#626275}.dklh-address-add{display:flex;gap:8px;margin-top:12px}.dklh-address-add input{flex:1;height:44px;border:1px solid #ddd;border-radius:8px;padding:0 12px;outline:0}.dklh-address-add button,.dklh-location{height:44px;border:0;border-radius:8px;cursor:pointer}.dklh-address-add button{padding:0 18px;background:var(--dklh-accent);color:#fff}.dklh-location{width:100%;margin-top:9px;background:#fff;color:var(--dklh-accent);border:1px solid var(--dklh-accent);display:flex;align-items:center;justify-content:center;gap:7px}.dklh-location .dklh-icon{width:18px;height:18px}
@media(max-width:900px){.dklh-main-inner{padding:0 10px;gap:8px}.dklh-brand{width:125px;flex-basis:125px}.dklh-brand img{max-width:120px;max-height:42px}.dklh-search-wrap{height:42px}.dklh-search input,.dklh-search form input[type=text],.dklh-search form input[type=search]{height:40px!important}.dklh-action{width:40px;height:42px}.dklh-nav-inner{padding:0 10px;gap:13px}.dklh-links{gap:18px}.dklh-delivery{display:none}.dklh-mega{width:calc(100vw - 20px)}.dklh-category-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:620px){.dklh-promo{height:38px;font-size:11px}.dklh-main{height:62px}.dklh-main-inner{gap:6px}.dklh-brand{width:96px;flex-basis:96px}.dklh-brand img{max-width:94px;max-height:36px}.dklh-search-wrap{height:40px;padding:0 8px;border-radius:9px}.dklh-search-label{display:none}.dklh-actions{gap:0}.dklh-action{width:34px;height:40px}.dklh-action .dklh-icon{width:20px;height:20px}.dklh-badge{right:0;bottom:1px}.dklh-dot{right:2px;top:4px}.dklh-nav{height:44px}.dklh-nav-inner{gap:10px}.dklh-cat-btn b{display:none}.dklh-cat-btn .dklh-icon{width:20px;height:20px}.dklh-links{gap:17px}.dklh-links a{font-size:11px;padding:13px 0}.dklh-mega{top:106px;width:100%;max-height:calc(100vh - 106px);border-radius:0;padding:14px;overflow:auto}.dklh-category-grid{grid-template-columns:repeat(2,1fr);gap:2px 8px}.dklh-side{top:62px;left:0;width:100%;max-width:none;border-radius:0 0 12px 12px}.dklh-location-modal{width:100%;max-height:calc(100vh - 20px);border-radius:14px}.dklh-location-map{height:160px}.dklh-address-add{flex-direction:column}.dklh-address-add button{width:100%}}

/* v1.2 pixel-tuning layer based on the supplied reference screenshots */
.dklh-main-inner{max-width:1280px;gap:18px}.dklh-brand{width:180px;flex-basis:180px;justify-content:flex-start}.dklh-brand img{max-width:175px;max-height:50px}.dklh-search-wrap{height:44px;max-width:500px;border-radius:24px;background:#f2f2f3;padding:0 15px}.dklh-search-label{order:0;width:28px}.dklh-search{order:1}.dklh-actions{margin-right:auto;gap:1px}.dklh-action{width:44px;height:44px;border-radius:8px}.dklh-nav-inner{max-width:1280px;padding:0 12px;gap:20px}.dklh-cat-btn{font-size:13px;height:52px;border-bottom:2px solid var(--dklh-accent)}.dklh-links{gap:24px}.dklh-links a{font-size:12px;padding:17px 0}.dklh-delivery{font-size:11px}.dklh-mega{padding:16px 18px;border-radius:0 0 14px 14px;box-shadow:0 10px 32px rgba(0,0,0,.12)}.dklh-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 18px}.dklh-category-grid a{font-size:12px;padding:10px 7px}.dklh-panel-head strong{font-size:14px}.dklh-location-modal{width:min(660px,calc(100vw - 24px));border-radius:14px}.dklh-location-head strong{font-size:16px}
@media(max-width:620px){.dklh{--promo-h:38px;--h:62px;--navh:44px}.dklh-main-inner{max-width:none}.dklh-brand{width:96px;flex-basis:96px}.dklh-search-wrap{max-width:none}.dklh-mega{top:calc(var(--promo-h) + var(--h) + var(--navh));}.dklh-side{top:calc(var(--promo-h) + var(--h));}.dklh-cat-btn{border-bottom:0}}

/* v1.3 — two-region mega menu, matching the supplied Digikala reference */
.dklh-mega{padding:0!important;width:min(1280px,calc(100vw - 24px));height:min(590px,calc(100vh - var(--promo-h) - var(--h) - var(--navh) - 12px));overflow:hidden;border-radius:0 0 14px 14px;background:#fff}
.dklh-mega-head{display:flex;align-items:center;justify-content:space-between;height:52px;padding:0 20px;border-bottom:1px solid #f0f0f1;background:#fff}
.dklh-mega-head strong{font-size:13px;font-weight:800;color:#3f4064}
.dklh-mega-head button{border:0;background:transparent;cursor:pointer;color:#818196;padding:5px}
.dklh-mega-head .dklh-icon{width:19px;height:19px}
.dklh-mega-layout{height:calc(100% - 52px);display:flex;direction:rtl}
.dklh-mega-rail{width:244px;flex:0 0 244px;border-left:1px solid #eee;background:#fff;overflow:hidden}
.dklh-mega-rail-scroll{height:100%;overflow-y:auto;padding:4px 0 14px;scrollbar-width:thin;scrollbar-color:#b8b8ba transparent}
.dklh-mega-rail-scroll::-webkit-scrollbar,.dklh-mega-content::-webkit-scrollbar{width:7px}
.dklh-mega-rail-scroll::-webkit-scrollbar-thumb,.dklh-mega-content::-webkit-scrollbar-thumb{background:#bfc0c3;border-radius:8px}
.dklh-rail-item{min-height:52px;padding:0 19px;display:flex;align-items:center;gap:11px;text-decoration:none;color:#55556c;font-size:13px;font-weight:600;border-right:3px solid transparent;transition:.12s}
.dklh-rail-item:hover{background:#fafafa;color:var(--dklh-accent)}
.dklh-rail-item.is-active{background:#fff5f6;color:var(--dklh-accent);border-right-color:var(--dklh-accent);font-weight:800}
.dklh-rail-icon{width:21px;height:21px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 21px}
.dklh-rail-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dklh-mega-content{min-width:0;flex:1;overflow-y:auto;padding:22px 28px 30px 24px;scrollbar-width:thin;scrollbar-color:#b8b8ba transparent}
.dklh-mega-top-link{display:flex;align-items:center;justify-content:flex-start;gap:6px;color:#25a8bd;text-decoration:none;font-size:13px;font-weight:800;margin:0 0 24px}
.dklh-mega-top-link .dklh-icon{width:15px;height:15px;transform:rotate(180deg)}
.dklh-mega-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 36px;direction:rtl}
.dklh-mega-column{min-width:0}
.dklh-mega-column h3{position:relative;margin:0 0 13px;padding-right:12px;font-size:14px;line-height:1.6;color:#2f3045;font-weight:800}
.dklh-mega-column h3:before{content:"";position:absolute;right:0;top:3px;width:3px;height:19px;border-radius:2px;background:var(--dklh-accent)}
.dklh-mega-column>div{display:flex;flex-direction:column;gap:0}
.dklh-mega-column a{display:flex;align-items:center;gap:3px;min-height:31px;text-decoration:none;color:#8b8b92;font-size:12px;white-space:normal}
.dklh-mega-column a:hover{color:var(--dklh-accent)}
.dklh-mega-column a .dklh-icon{width:13px;height:13px;transform:rotate(180deg);color:#626275;flex:0 0 13px}
.dklh-mega-column a span{min-width:0}
.dklh-mega-column:nth-child(n+5){padding-top:2px}

/* richer mini-cart */
.dklh-cart-body{padding-top:10px}
.dklh-mini-items{max-height:330px;overflow:auto;display:flex;flex-direction:column;gap:8px}
.dklh-mini-item{display:flex;gap:10px;padding:8px 0;border-bottom:1px solid #f0f0f1}
.dklh-mini-thumb{width:64px;height:64px;flex:0 0 64px;border:1px solid #eee;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#fff}
.dklh-mini-thumb img{width:100%;height:100%;object-fit:contain}
.dklh-mini-info{min-width:0;display:flex;flex-direction:column;gap:3px}
.dklh-mini-info a{color:#3f4064;text-decoration:none;font-size:11px;line-height:1.7;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dklh-mini-info small{font-size:10px;color:#818196}
.dklh-mini-info strong{font-size:11px;color:#3f4064}
.dklh-cart-total{display:flex;justify-content:space-between;align-items:center;padding:13px 0;font-size:11px;color:#626275}
.dklh-cart-total strong{font-size:12px;color:#3f4064}
.dklh-cart-link{display:block;text-align:center;color:#3f4064;text-decoration:none;font-size:11px;padding-top:10px}

@media(max-width:900px){
 .dklh-mega{width:calc(100vw - 16px);height:min(560px,calc(100vh - var(--promo-h) - var(--h) - var(--navh) - 8px))}
 .dklh-mega-rail{width:205px;flex-basis:205px}
 .dklh-rail-item{padding:0 13px;font-size:12px}
 .dklh-mega-content{padding:18px 20px}
 .dklh-mega-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 22px}
}
@media(max-width:620px){
 .dklh-mega{top:calc(var(--promo-h) + var(--h) + var(--navh));width:100%;height:calc(100vh - var(--promo-h) - var(--h) - var(--navh));max-height:none;border-radius:0}
 .dklh-mega-head{height:48px;padding:0 14px}
 .dklh-mega-layout{height:calc(100% - 48px)}
 .dklh-mega-rail{width:112px;flex-basis:112px}
 .dklh-rail-item{min-height:55px;padding:8px 7px;justify-content:center;flex-direction:column;gap:4px;text-align:center;font-size:9px;line-height:1.5;border-right-width:2px}
 .dklh-rail-icon{width:19px;height:19px;flex-basis:19px}
 .dklh-mega-content{padding:16px 13px}
 .dklh-mega-top-link{font-size:11px;margin-bottom:18px}
 .dklh-mega-columns{grid-template-columns:1fr;gap:22px}
 .dklh-mega-column h3{font-size:12px;margin-bottom:8px}
 .dklh-mega-column a{font-size:10px;min-height:28px}
}

/* v1.3.2 — icon-size correction only; mega-menu structure/layout is unchanged */
.dklh-mega-rail .dklh-rail-icon{width:21px!important;height:21px!important;flex:0 0 21px!important}
.dklh-mega-rail .dklh-rail-icon svg{width:18px!important;height:18px!important}
@media(max-width:620px){.dklh-mega-rail .dklh-rail-icon{width:19px!important;height:19px!important;flex-basis:19px!important}.dklh-mega-rail .dklh-rail-icon svg{width:17px!important;height:17px!important}}
/* v1.3.4: per-category mega-menu content; existing layout is intentionally preserved. */
.dklh-mega-view{display:none;width:100%;height:100%;}
.dklh-mega-view.is-current{display:block;}
.dklh-mega-view .dklh-mega-columns{width:100%;}
/* v1.3.7 — rail hover intentionally matches Digikala-style interaction: no zoom/jump */
.dklh-mega-rail .dklh-rail-item,
.dklh-mega-rail .dklh-rail-item:hover,
.dklh-mega-rail .dklh-rail-item:focus,
.dklh-mega-rail .dklh-rail-item:active{transform:none!important;scale:none!important;font-size:13px!important;line-height:normal!important;box-shadow:none!important;}
.dklh-mega-rail .dklh-rail-item:hover{background:#fafafa;color:#55556c;border-right-color:transparent;}
.dklh-mega-rail .dklh-rail-item.is-active,
.dklh-mega-rail .dklh-rail-item.is-active:hover{background:#fff5f6;color:var(--dklh-accent);border-right-color:var(--dklh-accent);font-weight:800;}
.dklh-rail-icon{flex:0 0 21px;width:21px;height:21px;display:flex;align-items:center;justify-content:center;}
.dklh-rail-icon img{width:18px;height:18px;object-fit:contain;display:block;}
.dklh-rail-icon svg{width:18px!important;height:18px!important;}
@media(max-width:620px){.dklh-mega-rail .dklh-rail-item,.dklh-mega-rail .dklh-rail-item:hover,.dklh-mega-rail .dklh-rail-item:focus,.dklh-mega-rail .dklh-rail-item:active{font-size:9px!important;transform:none!important;scale:none!important;}.dklh-rail-icon{flex-basis:19px;width:19px;height:19px}.dklh-rail-icon img,.dklh-rail-icon svg{width:17px!important;height:17px!important;}}

/* v1.3.8 — stable Digikala-like mega menu hover + Iranian Yekan typography */
.dklh,.dklh *{font-family:IRANYekan,"IRANYekanX",Yekan,Arial,sans-serif;}
.dklh .dklh-mega-rail .dklh-rail-item,
.dklh .dklh-mega-rail .dklh-rail-item:hover,
.dklh .dklh-mega-rail .dklh-rail-item:focus,
.dklh .dklh-mega-rail .dklh-rail-item:focus-visible,
.dklh .dklh-mega-rail .dklh-rail-item:active{
 box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:52px!important;height:52px!important;
 margin:0!important;padding:0 19px!important;transform:none!important;translate:none!important;scale:1!important;zoom:1!important;
 letter-spacing:normal!important;line-height:normal!important;border-top:0!important;border-bottom:0!important;box-shadow:none!important;
 transition:none!important;animation:none!important;font-size:13px!important;font-weight:700!important;
}
.dklh .dklh-mega-rail .dklh-rail-item:hover{background:#fafafa!important;color:#55556c!important;border-right-color:transparent!important;}
.dklh .dklh-mega-rail .dklh-rail-item.is-active,.dklh .dklh-mega-rail .dklh-rail-item.is-active:hover{
 background:#fff5f6!important;color:var(--dklh-accent)!important;border-right-color:var(--dklh-accent)!important;font-weight:700!important;
}
.dklh .dklh-mega-rail .dklh-rail-icon,.dklh .dklh-mega-rail .dklh-rail-icon img,.dklh .dklh-mega-rail .dklh-rail-icon svg{transform:none!important;scale:1!important;transition:none!important;animation:none!important;}
.dklh .dklh-mega-column h3,.dklh .dklh-mega-column h3 a{font-family:IRANYekan,"IRANYekanX",Yekan,Arial,sans-serif!important;font-size:13px!important;line-height:1.8!important;font-weight:800!important;color:#2f3045!important;}
.dklh .dklh-mega-column h3 a{text-decoration:none!important;display:block!important;}
.dklh .dklh-mega-column>div a{font-family:IRANYekan,"IRANYekanX",Yekan,Arial,sans-serif!important;font-size:12px!important;line-height:1.9!important;font-weight:500!important;color:#626275!important;transition:none!important;}
.dklh .dklh-mega-column>div a:hover{color:var(--dklh-accent)!important;font-weight:600!important;}
@media(max-width:900px){.dklh .dklh-mega-rail .dklh-rail-item,.dklh .dklh-mega-rail .dklh-rail-item:hover,.dklh .dklh-mega-rail .dklh-rail-item:focus,.dklh .dklh-mega-rail .dklh-rail-item:active{min-height:52px!important;height:52px!important;padding:0 13px!important;font-size:12px!important;}}
@media(max-width:620px){.dklh .dklh-mega-rail .dklh-rail-item,.dklh .dklh-mega-rail .dklh-rail-item:hover,.dklh .dklh-mega-rail .dklh-rail-item:focus,.dklh .dklh-mega-rail .dklh-rail-item:active{min-height:55px!important;height:55px!important;padding:8px 7px!important;font-size:9px!important;}.dklh .dklh-mega-column h3{font-size:12px!important;font-weight:800!important;}.dklh .dklh-mega-column>div a{font-size:10px!important;}}
/* Native smart search */
.dklh-search-wrap{position:relative;overflow:visible!important}
.dklh-search-form{height:100%;width:100%;display:flex;align-items:center;margin:0}
.dklh-search-input{flex:1;min-width:0;height:44px!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#3f4064!important;font-size:13px!important;text-align:right!important}
.dklh-search-input::placeholder{color:#8b8b96}
.dklh-search-submit{width:34px;height:34px;border:0;background:transparent;color:#818196;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.dklh-search-submit .dklh-icon{width:20px;height:20px}
.dklh-search-popover{position:absolute;top:calc(100% + 8px);right:0;width:min(760px,calc(100vw - 28px));max-height:min(760px,calc(100vh - 100px));overflow:auto;background:#fff;border:1px solid #eee;border-radius:16px;box-shadow:0 16px 50px rgba(0,0,0,.16);z-index:100002;padding:18px;direction:rtl}
.dklh-search-popover[hidden]{display:none!important}
.dklh-search-head{display:flex;align-items:center;justify-content:space-between;padding:0 0 12px;border-bottom:1px solid #eee}
.dklh-search-head strong{font-size:16px;color:#3f4064}.dklh-search-head button{border:0;background:none;color:#818196;cursor:pointer}.dklh-search-head .dklh-icon{width:20px;height:20px}
.dklh-search-banner{display:block;margin:14px 0;border-radius:12px;overflow:hidden}.dklh-search-banner img{display:block;width:100%;height:auto;max-height:230px;object-fit:cover}
.dklh-search-section{padding:16px 0;border-bottom:1px solid #eee}.dklh-search-section h3{margin:0 0 14px;font-size:16px;color:#3f4064;display:flex;align-items:center;gap:7px}.dklh-search-clock,.dklh-search-fire{font-size:22px;color:#818196}
.dklh-search-chips{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.dklh-search-chips::-webkit-scrollbar{display:none}
.dklh-search-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:9px;height:48px;padding:0 16px;border:1px solid #e2e2e5;border-radius:24px;background:#fff;color:#626275;text-decoration:none;font-size:13px;cursor:pointer;white-space:nowrap}.dklh-search-chip:hover{border-color:#c9c9ce;background:#fafafa}.dklh-search-chip .chip-arrow{font-size:18px;color:#818196}.dklh-search-chip.trend .chip-arrow{transform:rotate(-45deg)}
.dklh-search-results{padding-top:14px}.dklh-search-result-title{font-size:14px;font-weight:700;color:#3f4064;margin-bottom:10px}.dklh-search-result-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dklh-search-result{display:flex;align-items:center;gap:10px;padding:9px;border:1px solid #eee;border-radius:10px;text-decoration:none;color:#3f4064;background:#fff}.dklh-search-result img{width:58px;height:58px;object-fit:contain;border-radius:8px}.dklh-search-result-info{min-width:0;display:flex;flex-direction:column;gap:5px}.dklh-search-result-info b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dklh-search-result-info small{font-size:11px;color:#818196}.dklh-search-empty{padding:20px 0;text-align:center;color:#818196;font-size:13px}
.dklh-search-all{display:block;margin-top:12px;padding:12px;border-radius:9px;background:var(--dklh-accent);color:#fff;text-align:center;text-decoration:none;font-size:13px}
.dklh-stats-cards{display:flex;gap:14px;margin:20px 0}.dklh-stats-cards>div{background:#fff;border:1px solid #e5e5e7;border-radius:12px;padding:18px 24px;min-width:180px}.dklh-stats-cards b{display:block;font-size:24px;color:#3f4064}.dklh-stats-cards span{font-size:12px;color:#818196}
@media(max-width:620px){.dklh-search-popover{position:fixed;top:calc(var(--promo-h) + var(--h) + 8px);right:8px;left:8px;width:auto;max-height:calc(100vh - 70px);border-radius:14px;padding:14px}.dklh-search-result-list{grid-template-columns:1fr}.dklh-search-banner img{max-height:180px}.dklh-search-chip{height:44px;font-size:12px;padding:0 13px}}


/* v1.3.8-HOTFIX-2 — ONLY fixes desktop rail category icon/title vertical jump. */
@media (min-width:901px){
  .dklh .dklh-mega-rail .dklh-rail-item,
  .dklh .dklh-mega-rail .dklh-rail-item:hover,
  .dklh .dklh-mega-rail .dklh-rail-item:focus,
  .dklh .dklh-mega-rail .dklh-rail-item:focus-visible,
  .dklh .dklh-mega-rail .dklh-rail-item:active{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:11px!important;
    min-height:52px!important;
    height:52px!important;
    padding-top:0!important;
    padding-bottom:0!important;
    writing-mode:horizontal-tb!important;
    transform:none!important;
    scale:1!important;
  }
  .dklh .dklh-mega-rail .dklh-rail-icon{
    display:inline-flex!important;
    flex:0 0 21px!important;
    width:21px!important;
    height:21px!important;
    margin:0!important;
    transform:none!important;
  }
  .dklh .dklh-mega-rail .dklh-rail-item>span:last-child{
    display:block!important;
    position:static!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    transform:none!important;
  }
}

/* v1.3.8-HOTFIX-1 — preserve stable desktop category hover. */
@media (min-width:901px){
  .dklh .dklh-nav{position:relative;z-index:100003;}
  .dklh .dklh-cat-btn{position:relative;z-index:100005;transform:none!important;scale:1!important;transition:none!important;}
  .dklh.dklh-hover-category .dklh-overlay{display:none!important;pointer-events:none!important;}
  .dklh.dklh-hover-category .dklh-mega[data-name="categories"]{z-index:100004;}
}
