/* NABWORK Premium mockup parity v58.
 * Exact composition of approved mockup with working navigation/data.
 * Read-only, homepage-only. No payment, bank, order, or account changes.
 * Mobile hero photograph and headline deliberately not addressed.
 */
#homeView.nw-v26-catalog-mode :is(.nw-v58-dots,.nw-v58-real-service){display:none!important}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-dots{
  display:flex;justify-content:center;align-items:center;gap:6px;margin:0 0 12px;min-height:12px
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-dots[hidden]{display:none!important}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-image-empty{
  display:grid!important;place-items:center!important;font-size:17px;
  font-weight:900;letter-spacing:.03em;color:#e4f3ff;
  background:linear-gradient(130deg,#063565,#187ee0)
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-dots button{
  appearance:none;cursor:pointer;border:0;border-radius:20px;
  width:19px;height:5px;min-height:5px;background:#cad8eb;transition:width .18s,background .18s
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-dots button[aria-current="true"]{width:26px;background:#0b6df0}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-dots button:focus-visible{
  outline:3px solid #71b4ff;outline-offset:5px
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-real-service{
  position:relative;display:flex;flex-direction:column;overflow:hidden;
  cursor:pointer;border:1px solid #e5edfa;border-radius:14px;background:#fff;
  color:#142747;scroll-snap-align:start;box-shadow:0 7px 18px rgba(14,54,106,.075)
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-real-service:hover{
  transform:translateY(-2px);box-shadow:0 13px 26px rgba(14,54,106,.12)
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-real-service:focus-visible{
  outline:3px solid #5baafa;outline-offset:2px
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-image{
  width:100%;height:106px;min-height:106px;object-fit:cover;display:block;background:#e7f1fa
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-content{
  display:flex;flex-direction:column;gap:4px;min-width:0;flex:1;
  padding:9px 12px 10px
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-title{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;font-size:12px;line-height:1.28;font-weight:860;color:#13294f
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-row{
  display:flex;align-items:center;justify-content:space-between;min-width:0;gap:8px;font-size:10px
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-seller{
  min-width:0;display:inline-flex;align-items:center;gap:5px;color:#445a75
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-avatar{
  display:grid;place-items:center;flex:0 0 19px;width:19px;height:19px;
  border-radius:50%;font-size:10px;font-weight:850;
  color:#175ba2;background:#e6f2ff
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-seller-name{
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-rating{
  flex:0 0 auto;color:#c7870a;font-size:10px;font-weight:780
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-price{
  color:#122c50;font-size:12px;font-weight:900
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-fav{
  position:absolute;top:9px;right:9px;width:32px;height:32px;min-height:32px;
  display:grid;place-items:center;z-index:3;border:1px solid rgba(230,240,255,.9);
  border-radius:50%;background:rgba(6,18,42,.48);color:#fff;font-size:17px;
  cursor:pointer
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-fav:hover{background:#095dc1}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-fav:focus-visible{outline:3px solid #78bbff}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-ai-bot{
  flex:0 0 56px;width:56px;height:56px;display:grid;place-items:center;
  border-radius:16px;background:radial-gradient(circle at 50% 18%,#66e0ff,#1979d7 72%,#0b4081);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.25),0 3px 13px rgba(0,9,44,.17)
}
#homeView:not(.nw-v26-catalog-mode) .nw-v58-ai-bot svg{width:39px;height:39px}
@media(min-width:1080px){
  /* Match desktop mockup's photo/header/search and its compact first fold. */
  #homeView:not(.nw-v26-catalog-mode)>.nw-v6-hero{
    min-height:348px!important
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v6-hero .nw-v6-hero-grid{
    min-height:348px!important;padding:30px 0 29px!important
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v6-hero-copy{width:min(60%,740px)!important}
  #homeView:not(.nw-v26-catalog-mode) #heroTitle{
    max-width:740px!important;line-height:1.20!important;font-size:clamp(36px,3.18vw,49px)!important;
    margin:0 0 10px!important
  }
  #homeView:not(.nw-v26-catalog-mode) #heroTitle .nw-v40-emphasis{
    color:#27bdff!important;-webkit-text-fill-color:#27bdff!important
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v40-desktop-subtitle{
    max-width:630px!important;font-size:12px!important;line-height:1.58!important;margin:0 0 13px!important
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v57-hero-points{margin-top:15px!important}
  #homeView:not(.nw-v26-catalog-mode)>.nab-premium-categories{
    padding-top:18px!important;padding-bottom:6px!important
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-category-grid{gap:12px!important}
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-category-grid button{
    height:96px!important;min-height:96px!important;
    gap:8px!important;border-radius:14px!important
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-category-grid .nw-v48-cat-ico{
    width:37px!important;height:37px!important;flex-basis:37px!important
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-category-grid .nw-v48-cat-label{
    font-size:10.8px!important;line-height:1.3!important
  }
  #homeView:not(.nw-v26-catalog-mode)>.nw-v30-popular{padding-top:12px!important;padding-bottom:4px!important}
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid{
    grid-auto-columns:calc((100% - 3 * 16px) / 4)!important;
    grid-auto-flow:column!important
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid>.nw-v30-popular-card,
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid>.nw-v30-popular-card:nth-child(n+5),
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid>.nw-v58-real-service{
    height:214px!important;min-height:214px!important;max-height:214px!important
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-picture{
    height:136px!important;min-height:136px!important;flex-basis:136px!important
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-info{min-height:77px!important}
  #homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-image{height:107px;min-height:107px}
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-benefits{
    padding:14px 8px!important;margin-bottom:11px!important
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v57-steps-row{margin-top:7px!important;margin-bottom:12px!important}
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-ai{
    gap:13px!important;padding:14px 16px!important
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-ai-copy{flex:1;min-width:0}
  #homeView:not(.nw-v26-catalog-mode) .nw-v57-bottom-strip{
    margin-top:4px!important;padding:16px 20px!important
  }
}
@media(min-width:1080px) and (max-width:1399px){
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid{
    grid-auto-columns:calc((100% - 3 * 13px) / 4)!important;gap:13px!important
  }
}
@media(max-width:1079px){
  /* Only below the existing phone photograph: leave mobile hero/title/search untouched. */
  #homeView:not(.nw-v26-catalog-mode) .nw-v58-ai-bot{
    flex:0 0 48px;width:48px;height:48px
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v58-ai-bot svg{width:34px;height:34px}
}
@media(max-width:600px){
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid>.nw-v58-real-service{
    flex:0 0 min(47vw,210px)!important;width:min(47vw,210px)!important;
    min-width:0!important;max-width:none!important;height:183px!important;
    min-height:183px!important;max-height:183px!important
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-image{height:93px;min-height:93px}
  #homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-content{padding:7px 9px;gap:3px}
  #homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-title{font-size:10.6px}
  #homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-row{font-size:9px;gap:4px}
  #homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-rating{font-size:9px}
  #homeView:not(.nw-v26-catalog-mode) .nw-v58-gig-price{font-size:10px}
  #homeView:not(.nw-v26-catalog-mode) .nw-v58-fav{width:29px;height:29px;min-height:29px;font-size:16px}
}
@media(prefers-reduced-motion:reduce){
  #homeView:not(.nw-v26-catalog-mode) .nw-v58-real-service,
  #homeView:not(.nw-v26-catalog-mode) .nw-v58-dots button{transition:none!important}
}
