/* Preserve the existing logo, curved green bar and search handlers. */
#agentpc-side-link{display:none!important}
#header .container{display:flex!important;align-items:center;gap:18px;padding:0 14px;box-sizing:border-box}
#header a.logo_cyberland{position:relative!important;top:auto!important;left:auto!important;flex:0 0 235px;width:235px!important;height:82px!important;background-size:contain!important;background-position:center!important}
#header .auth_block{position:relative!important;top:auto!important;left:auto!important;flex:0 0 145px;width:145px!important;font-size:12px!important;z-index:2}
#header #left_search{position:relative!important;top:auto!important;left:auto!important;display:block!important;flex:1 1 auto;min-width:80px;width:auto!important;margin:0!important;height:42px;border:1px solid #e5eadd;border-radius:25px;background:white;z-index:2}
#header #left_search .what{position:static!important;width:100%!important;height:100%!important;min-width:0;padding:0 48px 0 20px!important;border:0!important;border-radius:25px;background:white!important;box-sizing:border-box;color:#254a36;font:16px Arial,sans-serif;outline-offset:3px}
#header #left_search .submit_btn{position:absolute!important;top:1px!important;right:3px!important;left:auto!important;width:38px!important;height:38px!important;border:0!important;border-radius:50%;background-color:transparent!important;cursor:pointer}
#header #top_menu{position:relative!important;left:auto!important;right:auto!important;top:auto!important;width:auto!important;min-width:0;display:flex!important;align-items:center;flex:0 0 auto;gap:14px;z-index:2}
#header #top_menu>li{position:relative!important;top:auto!important;left:auto!important;right:auto!important;float:none!important;margin:0!important}
#header #top_menu .contacts{width:205px!important}
#header #top_menu .feedback{display:none!important}
#header #top_menu .cart{display:block!important;width:52px!important;height:44px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;cursor:pointer}
#header #top_menu .cart>.ico,#header #top_cart_in,#header #top_cart_text{display:none!important}
#header #top_menu .cart::before{content:'';position:absolute;inset:7px 12px 7px 0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h4l4 17h14l4-13H9M12 27h.01M24 27h.01'/%3E%3C/svg%3E") center/30px no-repeat}
#header #top_menu .cart>.in{position:static!important;padding:0!important;width:auto!important}
#header #top_cart_count{position:absolute!important;top:0!important;right:0!important;display:block;background:#ff7800;color:white;font:700 11px/20px Arial,sans-serif;text-align:center;min-width:20px;height:20px;padding:0 3px;border-radius:10px;box-sizing:border-box}
#header #top_cart_count[data-empty='1']{display:none!important}
#left_brends .brand-links{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;max-height:460px;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;overscroll-behavior:contain;padding:10px 12px;box-sizing:border-box}
#left_brends .brand-links a{font-size:14px;line-height:1.45;padding:6px 0;min-width:0;overflow-wrap:anywhere;display:flex;align-items:baseline;justify-content:space-between;gap:12px}
#left_brends .brand-links small{color:#7c8b82;flex-shrink:0}
@media(min-width:1024px) and (max-width:1279px){#header .container{gap:12px}#header a.logo_cyberland{flex-basis:210px;width:210px!important}#header .auth_block{flex-basis:135px;width:135px!important}#header #top_menu .contacts{width:190px!important}}
@media(max-width:1023px){
 #header,#header.fixed,#header.top{position:sticky!important;top:0!important;left:auto!important;width:100%!important;height:66px!important;min-height:66px!important;padding:4px 6px!important;margin:0!important;z-index:10000!important;box-sizing:border-box;background:#fff!important;box-shadow:0 3px 12px #123c1b15}
 body[data-cms-admin='1'] #header{top:40px!important}
 #header .container{height:58px!important;min-height:0!important;width:100%!important;padding:0 8px!important;gap:6px!important;border:0!important;border-radius:30px!important;overflow:visible!important;background:transparent!important;grid-template-columns:none!important}
 #header .gline{display:block!important;position:absolute!important;left:0!important;right:0!important;top:0!important;bottom:0!important;width:auto!important;height:58px!important;border:2px solid white!important;border-radius:30px!important;background:#109e20!important;box-shadow:0 0 0 1px #d3e6d5;z-index:0!important}
 #header::after{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;background:#efcfb4;box-shadow:0 -2px 0 #d9e9d9}
 #header a.logo_cyberland{flex:0 0 145px!important;width:145px!important;height:50px!important;z-index:1!important;background-size:145px auto!important;margin:0!important}
 #header .auth_block,#header #top_menu .contacts,#header #top_menu .feedback{display:none!important}
 #header #left_search{flex:1 1 auto!important;min-width:55px!important;height:32px!important;border:0!important;margin:0!important}
 #header #left_search .what{padding:0 29px 0 11px!important;font-size:16px!important}
 #header #left_search .submit_btn{width:27px!important;height:29px!important;right:0!important;background-size:18px!important}
 #header #top_menu{flex:0 0 36px!important;gap:0!important;height:40px!important;margin:0!important;padding:0!important}
 #header #top_menu .cart{width:36px!important;height:40px!important;min-height:0!important;min-width:0!important;border:0!important;outline-offset:2px}
 #header #top_menu .cart::before{inset:5px 3px;background-size:28px}
 #header #top_cart_count{font-size:10px!important;line-height:17px!important;height:17px!important;min-width:17px!important;right:-2px!important;top:-1px!important}
 #header #cart_win{position:fixed!important;top:78px!important;max-height:calc(100dvh - 92px)!important;overflow-y:auto!important}
 body[data-cms-admin='1'] #header #cart_win{top:118px!important;max-height:calc(100dvh - 132px)!important}
 .cl-mobile-tools{scroll-margin-top:80px}
}
@media(max-width:359px){#header a.logo_cyberland{flex-basis:126px!important;width:126px!important;background-size:126px auto!important}#header .container{gap:4px!important}}

#header .auth_block,#header #left_search,#header #top_menu{z-index:7004!important}

@media(min-width:1024px){#header .auth_block{display:flex!important;align-items:center;white-space:nowrap;gap:4px}#header .auth_block a{display:inline!important;padding:0 3px!important;white-space:nowrap}}

#header #top_menu .cart::after{display:none!important;content:none!important}
#header #left_search .submit_btn{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23119035' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='6'/%3E%3Cpath d='m15 15 5 5'/%3E%3C/svg%3E")!important;background-position:center!important;background-size:20px!important;background-repeat:no-repeat!important}

/* Header spacing: keep the original logo and search form behavior. */
#header #left_search{padding:0!important;box-sizing:border-box;overflow:hidden;isolation:isolate}
#header #left_search .what{display:block!important;background:transparent!important;padding:0 44px 0 16px!important;border-radius:inherit!important}
#header #left_search .what::placeholder{color:#7b8a80;opacity:1}
#header #left_search:focus-within{outline:2px solid #f6a45a;outline-offset:2px}
#header #left_search .submit_btn{top:3px!important;right:4px!important;width:30px!important;height:30px!important;border-radius:50%!important;background-color:#edf6ed!important;background-size:18px!important}
@media(min-width:1024px){
 #header .container{gap:18px!important;padding:0 20px 0 14px!important}
 #header .gline{left:0!important;right:8px!important;top:13px!important;width:auto!important;height:56px!important;border:2px solid white!important;border-left:0!important;border-radius:0 30px 30px 0!important;box-sizing:border-box;box-shadow:0 4px 10px #174c2026!important}
 #header .auth_block{flex:0 0 150px!important;width:150px!important;padding-left:21px!important;box-sizing:border-box;gap:3px!important;background-size:16px!important;font-size:13px!important}
 #header .auth_block a{font-size:13px!important;padding:0 2px!important}
 #header #left_search{height:38px!important;border:1px solid #dce8db!important;border-radius:20px!important;min-width:160px!important;margin:0!important}
 #header #left_search .what{font-size:14px!important;height:100%!important}
}
@media(min-width:1024px) and (max-width:1279px){#header .container{gap:12px!important}#header .auth_block{flex-basis:144px!important;width:144px!important}}
@media(max-width:1023px){
 #header #left_search{height:34px!important;border-radius:18px!important}
 #header #left_search .what{padding:0 34px 0 12px!important}
 #header #left_search .submit_btn{top:2px!important;right:2px!important;width:29px!important;height:29px!important;background-size:16px!important}
}

@media(min-width:1024px){#header #top_menu{margin-left:30px!important}}

/* Restore the original desktop basket icon in its white circle. */
@media(min-width:1024px){
 #header #top_menu .cart{width:60px!important;height:60px!important;flex:0 0 60px!important}
 #header #top_menu .cart::before{display:none!important;content:none!important}
 #header #top_menu .cart>.ico{display:flex!important;position:static!important;align-items:center;justify-content:center;width:60px!important;height:60px!important;margin:0!important;border-radius:50%!important;background:#fff!important}
 #header #top_menu .cart>.ico i{display:block!important;width:37px!important;height:32px!important;margin:0!important}
}
