/* Webshop V1065 — precise blue-white E-Voucher storefront layout.
   New-domain ONLY. Never style webshop-storeshop.store or any admin page.
   Existing product, wallet, navigation, chat and checkout handlers are reused. */
html.ev-next-v1064:not(.no-v1065) body.webshop-v301 {
  --ev-deep:#0a2858; --ev-ink:#102650; --ev-primary:#086cf4;
  --ev-sky:#e8f5ff; --ev-line:#d8e9ff;
  color:var(--ev-ink)!important;
}
/* Remove the announcement strip outright, as requested. */
html.ev-next-v1064 #app > .header .topbar{display:none!important}
html.ev-next-v1064 #app > .header{
  width:100%!important;max-width:none!important;margin:0!important;
  background:#fff!important;border-bottom:1px solid #deebfa!important;
  box-shadow:0 4px 20px rgba(32,92,167,.08)!important;
}
html.ev-next-v1064 #app .logo #headerSiteName{
  display:inline-block!important;color:#096cf2!important;font-size:30px!important;
  font-weight:950!important;font-style:normal!important;line-height:1.2!important;
  letter-spacing:-1px!important;text-shadow:none!important;
}
html.ev-next-v1064 #app .logo #headerSiteName::after{
  content:"";display:block;width:42px;height:5px;margin-top:4px;
  border-radius:99px;background:#136dfa;
}
html.ev-next-v1064 #app .ev-account-v1065{
  display:flex;align-items:center;gap:12px;min-width:0;
  color:#18355c;font-size:12px;font-weight:750;
}
html.ev-next-v1064 #app .ev-chat-slot-v1065{display:flex;align-items:center;justify-content:center;flex:none}
html.ev-next-v1064 #app .ev-chat-slot-v1065 .cc-button-v9983{
  display:grid!important;place-items:center!important;width:42px!important;height:42px!important;
  min-width:42px!important;margin:0!important;padding:0!important;
  border:1px solid #dceaff!important;border-radius:50%!important;
  background:#fff!important;box-shadow:0 6px 20px rgba(26,93,185,.10)!important;
  color:#173964!important;
}
html.ev-next-v1064 #app .ev-chat-slot-v1065 .cc-button-v9983 svg{width:23px!important;height:23px!important}
html.ev-next-v1064 #app .ev-chat-slot-v1065 .cc-badge-v9983[hidden]{display:none!important}
html.ev-next-v1064 #app .ev-account-name-v1065{
  display:flex;align-items:center;gap:9px;min-width:0;padding-left:11px;border-left:1px solid #dce7f5;
}
html.ev-next-v1064 #app .ev-account-name-v1065::before{
  content:"♙";font-size:23px;font-weight:400;color:#30527e;
}
html.ev-next-v1064 #app .ev-account-name-v1065 #topEmail{
  min-width:0;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
html.ev-next-v1064 #app .ev-account-v1065 details{position:relative;min-width:0}
html.ev-next-v1064 #app .ev-account-v1065 summary{cursor:pointer;display:flex;align-items:center;gap:5px;list-style:none}
html.ev-next-v1064 #app .ev-account-v1065 summary::-webkit-details-marker{display:none}
html.ev-next-v1064 #app .ev-account-v1065 summary::after{content:"⌄";font-size:19px;color:#4b6994}
html.ev-next-v1064 #app .ev-account-v1065 .ev-account-menu-v1065{
  position:absolute;right:0;top:calc(100% + 11px);z-index:100;
  width:max-content;min-width:155px;padding:7px;border:1px solid #d9e9ff;
  background:white;border-radius:13px;box-shadow:0 12px 35px rgba(25,66,128,.18);
}
html.ev-next-v1064 #app .ev-account-menu-v1065 .btn{width:100%;min-height:37px;box-shadow:none!important}
html.ev-next-v1064 #app .wallet-card-v301{
  display:grid!important;align-content:center;position:relative;gap:2px;
  min-height:62px!important;padding:9px 16px 9px 51px!important;
  background:linear-gradient(110deg,#1688ff,#0753ed)!important;
  box-shadow:0 9px 22px rgba(25,102,224,.21)!important;border-radius:16px!important;
}
html.ev-next-v1064 #app .wallet-card-v301::before{
  content:"▣";position:absolute;left:19px;top:50%;transform:translateY(-50%);
  font-size:24px;color:white;font-weight:400;
}
html.ev-next-v1064 #app .wallet-card-v301 small{font-size:11px!important;line-height:1.2!important;color:#e3f2ff!important}
html.ev-next-v1064 #app .wallet-card-v301 b{font-size:21px!important;line-height:1.2!important;color:white!important}
html.ev-next-v1064 #app .search-v301{
  height:50px!important;border:1px solid #c9dffc!important;border-radius:999px!important;
  box-shadow:0 4px 17px rgba(29,86,157,.08)!important;background:#f8fbff!important;
}
html.ev-next-v1064 #app .search-v301 input{font-size:14px!important;font-weight:500!important}
html.ev-next-v1064 #app .search-v301 button{
  border-radius:999px!important;min-width:85px!important;height:40px!important;
  font-size:13px!important;font-weight:850!important;
}
html.ev-next-v1064 #app .desktop-nav{
  background:#fff!important;box-shadow:0 6px 24px rgba(30,91,163,.045)!important;
  border-top:1px solid #e9f1fb;border-bottom:1px solid #dce8f8!important;
}
html.ev-next-v1064 #app .desktop-nav-inner .nav{
  min-height:44px!important;padding:9px 16px!important;font-size:14px!important;
  font-weight:800!important;display:inline-flex;align-items:center;gap:9px!important;
  color:#243653!important;border-radius:12px!important;
}
html.ev-next-v1064 #app .desktop-nav-inner .nav.active,
html.ev-next-v1064 #app .desktop-nav-inner .nav:hover{
  color:#0868ef!important;background:#e2f0ff!important;
}
html.ev-next-v1064 #app .desktop-nav-inner .nav svg{
  width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;flex:none;
}
html.ev-next-v1064 #app .desktop-nav-inner #cartCountTop{
  display:inline-grid;place-items:center;min-width:21px;height:21px;
  padding:0 5px!important;color:white!important;background:#0a71ee!important;border-radius:8px!important;
}
/* Only the ORIGINAL chat button is moved into the header; hide secondary nav copy. */
html.ev-next-v1064 #app .desktop-nav-inner .cc-desktop-v9983{display:none!important}
html.ev-next-v1064 #app .sidebar .side-card{
  border-radius:18px!important;border:1px solid #d6e6fa!important;
  box-shadow:0 7px 25px rgba(38,94,163,.08)!important;
  background:rgba(255,255,255,.97)!important;overflow:hidden;
}
html.ev-next-v1064 #app .sidebar .side-title{
  display:flex;align-items:center;min-height:45px;margin:-17px -17px 10px!important;
  padding:11px 18px!important;background:linear-gradient(105deg,#fff,#e5f2ff)!important;
  color:#17355e!important;border-bottom:1px solid #dbe9fb!important;
  font-weight:900!important;
}
html.ev-next-v1064 #app .sidebar .row{
  display:flex;align-items:center;justify-content:space-between;
  font-size:13px!important;padding:8px 3px!important;
  border-bottom:1px solid #edf3fb;
}
html.ev-next-v1064 #app .sidebar .row:last-child{border-bottom:0}
html.ev-next-v1064 #app .sidebar .row b{font-weight:850!important;color:#153460}
html.ev-next-v1064 #app .sidebar .side-menu{gap:1px!important}
html.ev-next-v1064 #app .sidebar .side-menu button{
  min-height:43px!important;font-size:13px!important;font-weight:650!important;
  padding:9px 12px!important;border:0!important;border-bottom:1px solid #f0f5ff!important;
  color:#234168!important;transition:background .15s;
}
html.ev-next-v1064 #app .sidebar .side-menu button::after{
  content:"›";font-size:19px;font-weight:500;color:#7794b7;margin-left:auto;
}
html.ev-next-v1064 #app .ev-side-promo-v1065{
  background:linear-gradient(128deg,#f6fcff,#dcefff)!important;
  border:2px solid white!important;box-shadow:0 9px 26px rgba(33,105,186,.11)!important;
  min-height:151px;display:flex;flex-direction:column;gap:7px;position:relative;
}
html.ev-next-v1064 #app .ev-side-promo-v1065 .ev-side-gift-v1065{
  position:absolute;right:13px;top:22px;font-size:60px;filter:drop-shadow(0 8px 5px rgba(27,91,165,.12));
}
html.ev-next-v1064 #app .ev-side-promo-v1065 strong{
  position:relative;z-index:1;font-size:22px;line-height:1.35;color:#055be8;
}
html.ev-next-v1064 #app .ev-side-promo-v1065 button{
  align-self:flex-start;position:relative;z-index:1;border:0;border-radius:999px;
  color:white;background:#126cf3;font-weight:850;font-size:13px;padding:10px 16px;
  cursor:pointer;box-shadow:0 6px 15px rgba(13,105,236,.23);
}
/* Enhance sections while keeping their original live API-populated HTML. */
html.ev-next-v1064 #home #bannerMain{
  width:100%!important;max-height:none!important;min-height:160px!important;
  aspect-ratio:4.25/1!important;height:auto!important;overflow:hidden!important;border-radius:20px!important;
  border:4px solid white!important;box-shadow:0 12px 32px rgba(24,83,161,.17)!important;
}
html.ev-next-v1064 #home #bannerMain img{width:100%!important;height:100%!important;object-fit:cover!important}
html.ev-next-v1064 #home .section-head{margin:25px 0 12px!important;align-items:flex-start!important}
html.ev-next-v1064 #home .section-head h2{
  font-size:22px!important;line-height:1.3!important;color:#0b2e64!important;font-weight:950!important;
}
html.ev-next-v1064 #home .section-head h2::before{
  content:"◇";display:inline-block;color:#0877f9;font-size:25px;margin-right:8px;
}
html.ev-next-v1064 #home .section-head p{font-size:12px!important;color:#677c99!important;margin:4px 0 0}
html.ev-next-v1064 #home #categoryTabsV198,
html.ev-next-v1064 #home #categoryTabsV191{
  display:flex!important;align-items:center;flex-wrap:wrap!important;gap:9px!important;margin:12px 0 15px!important;
}
html.ev-next-v1064 #home #categoryTabsV198 button,
html.ev-next-v1064 #home #categoryTabsV191 button{
  min-height:38px!important;padding:9px 16px!important;font-size:13px!important;
  background:#fff!important;border:1px solid #d8e7fb!important;border-radius:999px!important;
  color:#29486f!important;box-shadow:0 3px 9px rgba(45,95,151,.07)!important;
  font-weight:800!important;
}
html.ev-next-v1064 #home #categoryTabsV198 button.active,
html.ev-next-v1064 #home #categoryTabsV191 button.active{
  color:#fff!important;background:linear-gradient(120deg,#0d8bff,#0761e7)!important;border-color:#1174f4!important;
}
html.ev-next-v1064 #home #productGrid>.product{
  border:1px solid #d8e9fd!important;border-radius:16px!important;
  box-shadow:0 7px 23px rgba(21,91,182,.10)!important;
  overflow:hidden!important;background:#fff!important;
}
html.ev-next-v1064 #home #productGrid>.product>.cover{
  aspect-ratio:1.52/1!important;background:#f9fcff!important;
}
html.ev-next-v1064 #home #productGrid>.product>.cover>img,
html.ev-next-v1064 #home #productGrid>.product .product-image-v316{
  width:100%!important;height:100%!important;object-fit:cover!important;padding:0!important;
}
html.ev-next-v1064 #home #productGrid>.product>.body{
  padding:11px 13px 13px!important;display:flex;flex-direction:column;gap:5px;
}
html.ev-next-v1064 #home #productGrid>.product .name{
  color:#1b3053!important;font-size:13px!important;font-weight:850!important;
  line-height:1.42!important;min-height:39px!important;
}
html.ev-next-v1064 #home #productGrid>.product .price .sale,
html.ev-next-v1064 #home #productGrid>.product .sale{
  color:#195df1!important;font-size:16px!important;font-weight:900!important;
}
html.ev-next-v1064 #home #productGrid>.product .price .full{font-size:11px!important}
html.ev-next-v1064 #home #productGrid>.product .add-cart-v62{
  min-height:37px!important;height:auto!important;font-size:12px!important;border-radius:10px!important;
}
html.ev-next-v1064 #app .btn:focus-visible,
html.ev-next-v1064 #app .side-menu button:focus-visible{
  outline:3px solid #8ecaff!important;outline-offset:2px;
}
/* Desktop: overcome legacy compact rules at 1240px and 9–10px font size. */
@media(min-width:981px){
  html.ev-next-v1064 body.webshop-v301 #app>.header .mainbar-v301{
    display:grid!important;width:min(calc(100% - 48px),1480px)!important;
    max-width:1480px!important;grid-template-columns:224px minmax(300px,1fr) minmax(145px,245px) 190px!important;
    align-items:center!important;gap:20px!important;min-height:91px!important;
    padding:11px 0!important;margin:auto!important;
  }
  html.ev-next-v1064 body.webshop-v301 #app .desktop-nav-inner{
    display:flex!important;align-items:center!important;width:min(calc(100% - 48px),1480px)!important;
    max-width:1480px!important;margin:0 auto!important;padding:7px 0!important;gap:12px!important;
  }
  html.ev-next-v1064 body.webshop-v301 #app>main.container{
    display:grid!important;width:min(calc(100% - 48px),1480px)!important;max-width:1480px!important;
    grid-template-columns:255px minmax(0,1fr)!important;gap:22px!important;
    margin:0 auto!important;padding:24px 0 85px!important;
  }
  html.ev-next-v1064 body.webshop-v301 #app>main.container>.sidebar{
    display:block!important;width:255px!important;min-width:0!important;
  }
  html.ev-next-v1064 body.webshop-v301 #app>.container>.sidebar .side-card{
    padding:17px!important;margin:0 0 16px!important;
  }
  html.ev-next-v1064 body.webshop-v301 #app .desktop-nav-inner button{font-size:14px!important}
  html.ev-next-v1064 body.webshop-v301 #home #productGrid.products{
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:11px!important;
  }
  html.ev-next-v1064 body.webshop-v301 #home #productGrid>.product .name{font-size:13px!important}
  html.ev-next-v1064 body.webshop-v301 #home #productGrid>.product>.body{padding:11px 13px!important}
  html.ev-next-v1064 body.webshop-v301 #home #bannerMain{max-height:none!important}
  html.ev-next-v1064 body.webshop-v301 #home .section-head h2{font-size:22px!important}
}
@media(min-width:981px) and (max-width:1320px){
  html.ev-next-v1064 body.webshop-v301 #app>.header .mainbar-v301{
    grid-template-columns:200px minmax(230px,1fr) 165px 170px!important;gap:13px!important;
  }
  html.ev-next-v1064 body.webshop-v301 #app .desktop-nav-inner{gap:4px!important}
  html.ev-next-v1064 #app .desktop-nav-inner .nav{padding:8px 10px!important;font-size:12px!important}
  html.ev-next-v1064 body.webshop-v301 #app>main.container{grid-template-columns:220px minmax(0,1fr)!important;gap:15px!important}
  html.ev-next-v1064 body.webshop-v301 #app>main.container>.sidebar{width:220px!important}
  html.ev-next-v1064 body.webshop-v301 #home #productGrid.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(min-width:981px) and (max-width:1120px){
  html.ev-next-v1064 #app .ev-account-name-v1065 #topEmail{max-width:87px}
}
/* Mobile remains fully functional with original drawer/bottom controls. */
@media(max-width:980px){
  html.ev-next-v1064 #app .ev-account-v1065{display:none!important}
  html.ev-next-v1064 body.webshop-v301 #app>.header{max-width:100vw!important}
  html.ev-next-v1064 body.webshop-v301 #app>main.container{width:100%!important;max-width:680px!important}
  html.ev-next-v1064 #app .logo #headerSiteName{font-size:21px!important}
  html.ev-next-v1064 #app .logo #headerSiteName::after{height:3px;width:28px;margin-top:3px}
  html.ev-next-v1064 #home #productGrid>.product .name{font-size:12px!important}
  html.ev-next-v1064 #home .section-head h2{font-size:17px!important}
}
@media(prefers-reduced-motion:reduce){html.ev-next-v1064 #home .product{transition:none!important}}
html.ev-next-v1064 #app [hidden]{display:none!important}

/* Explicitly keep the genuine cart action visible (but never reveal disabled nav entries). */
@media(min-width:981px){
 html.ev-next-v1064 #app .desktop-nav-inner button.nav:has(#cartCountTop):not([hidden]){
   display:inline-flex!important;
 }
}
