/* V1069 — scoped presentation fixes for e-voucher.coupons only.
 * Legacy hostname and admin are intentionally unchanged. */
html.ev-next-v1064 body.webshop-v301 #home .ev67-categories #categoryTabsV198{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));
  gap:10px!important;align-items:stretch;overflow:visible!important;
}
html.ev-next-v1064 body.webshop-v301 #home .ev67-categories #categoryTabsV198 button{
  box-sizing:border-box!important;display:flex!important;flex-direction:row!important;
  width:100%!important;min-width:0!important;height:auto!important;min-height:48px!important;
  gap:9px!important;justify-content:flex-start!important;align-items:center!important;
  white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;
  text-align:left!important;padding:9px 13px!important;border-radius:12px!important;
  font-size:13px!important;line-height:1.45!important;
}
html.ev-next-v1064 body.webshop-v301 #home .ev67-categories #categoryTabsV198 button .category-icon-v301{
  flex:0 0 27px!important;display:grid!important;place-items:center!important;
  width:27px!important;height:27px!important;min-width:27px!important;
  min-height:27px!important;border-radius:8px!important;background:transparent!important;
  padding:0!important;font-size:17px!important;
}
html.ev-next-v1064 body.webshop-v301 #home .ev67-categories #categoryTabsV198 button .category-label-v301{
  flex:1 1 auto!important;min-width:0!important;width:auto!important;
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  overflow-wrap:anywhere!important;display:block!important;font-size:inherit!important;
}
/* True fullscreen terms: clean typography rather than an endless checkmark list. */
html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-condition-list{list-style:none!important;margin:0!important;padding:0!important}
html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-condition-line{
  display:block!important;position:relative!important;padding:11px 4px!important;
  line-height:1.75!important;color:#23436d!important;white-space:pre-wrap!important;
  border-bottom:1px solid #dce9f8!important;
}
html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-condition-line::before{content:none!important}
html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-condition-check{display:none!important}
/* Reward tools live in the EXISTING full-width shop reward heading. */
html.ev-next-v1064 body.webshop-v301 #home #productGrid>.reward-shop-heading-v991:has(.ev69-reward-toolbar){
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:7px!important;min-width:0!important;grid-column:1/-1!important;
  background:rgba(255,255,255,.97)!important;border:1px solid #cfe2fd!important;
  border-radius:16px!important;padding:15px!important;margin:15px 0 5px!important;
  box-shadow:0 6px 22px #2c68b414!important;
}
html.ev-next-v1064 body.webshop-v301 #home .ev69-reward-toolbar{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(160px,240px);
  gap:10px!important;align-items:end!important;width:100%!important;min-width:0!important;
}
html.ev-next-v1064 body.webshop-v301 #home .ev69-reward-toolbar label{
  display:flex!important;flex-direction:column!important;min-width:0!important;
  gap:5px!important;color:#244c80!important;font-size:12px!important;font-weight:800!important;
}
html.ev-next-v1064 body.webshop-v301 #home .ev69-reward-toolbar :is(input,select){
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
  height:42px!important;padding:0 11px!important;border:1px solid #bcd6f7!important;
  border-radius:11px!important;background:#f8fbff!important;color:#183e70!important;
  font:inherit!important;font-size:13px!important;outline-offset:2px!important;
}
html.ev-next-v1064 body.webshop-v301 #home .ev69-reward-result{
  color:#617d9b!important;font-size:12px!important;font-weight:600!important;margin:0!important;
}
/* Missing SQL/pepper/API must be reported instead of silently suppressing setup. */
.ev69-pin-status-notice{
  position:fixed;bottom:calc(14px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);
  z-index:2147482900;box-sizing:border-box;width:min(540px,calc(100vw - 22px));
  background:#fff9f0;color:#823f0d;border:1px solid #ffc47d;
  border-radius:15px;padding:13px;display:flex;align-items:center;gap:10px;
  box-shadow:0 12px 32px #7b410b35;font-size:12px;line-height:1.6;
}
.ev69-pin-status-notice[hidden]{display:none!important}
.ev69-pin-status-notice span{flex:1;overflow-wrap:anywhere}
.ev69-pin-status-notice button{border:1px solid #f3b969;color:#7e3a0b;cursor:pointer;background:#fff;
  padding:9px 11px;border-radius:11px;font-weight:800}
@media(max-width:760px){
  /* Move banner below the compact header and use almost full viewport width.
   * Original aspect ratio + contain means no text/graphics are cropped. */
  html.ev-next-v1064 body.webshop-v301 #home .banner-row-v301{
    box-sizing:border-box!important;margin-top:16px!important;margin-bottom:15px!important;
    padding:0!important;max-width:none!important;
  }
  html.ev-next-v1064 body.webshop-v301 #home #bannerMain{
    box-sizing:border-box!important;position:relative!important;left:50%!important;
    transform:translateX(-50%)!important;width:calc(100vw - 12px)!important;max-width:none!important;
    height:auto!important;aspect-ratio:2048/682!important;margin:0!important;
    border:2px solid white!important;border-radius:15px!important;overflow:hidden!important;
  }
  html.ev-next-v1064 body.webshop-v301 #home #bannerMain img{
    object-fit:contain!important;object-position:center!important;image-rendering:auto!important;
  }
  html.ev-next-v1064 body.webshop-v301 #home .ev67-categories #categoryTabsV198{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
  }
  html.ev-next-v1064 body.webshop-v301 #home .ev67-categories #categoryTabsV198 button{
    min-height:49px!important;padding:8px 9px!important;font-size:12px!important;
  }
  html.ev-next-v1064 body.webshop-v301 #home .ev69-reward-toolbar{
    grid-template-columns:minmax(0,1fr) minmax(128px,42%)!important;gap:8px!important;
  }
  html.ev-next-v1064 body.webshop-v301 #home .ev69-reward-toolbar :is(input,select){height:40px!important;font-size:12px!important;padding:0 8px!important}
  html.ev-next-v1064 body.webshop-v301 #home #productGrid>.reward-shop-heading-v991:has(.ev69-reward-toolbar){padding:11px!important}
  .ev69-pin-status-notice{bottom:calc(74px + env(safe-area-inset-bottom));flex-wrap:wrap;font-size:11.5px}
}
@media(max-width:380px){
 html.ev-next-v1064 body.webshop-v301 #home .ev69-reward-toolbar{grid-template-columns:minmax(0,1fr)!important}
}
