/* NABWORK v69 — desktop home landing polish. Only >=1080px:
 * original 8 desktop category handlers, original photos/real service data,
 * no mobile category art changes, no payment/auth/AI logic changes.
 */
@media (min-width:1080px) {
  /* The hero content sits directly on the photo — no dark gradient/overlay.
   * Photo asset is intentionally unchanged until the selected original is
   * available as a public, first-party image file. */
  #homeView:not(.nw-v26-catalog-mode) > .nw-v6-hero {
    background-image:url('/visuals/nabwork-reference-hero-v51.webp')!important;
    background-size:cover!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
  }
  #homeView:not(.nw-v26-catalog-mode) > .nw-v6-hero::before,
  #homeView:not(.nw-v26-catalog-mode) > .nw-v6-hero::after {
    display:none!important;
    content:none!important;
  }
  /* Keep the familiar eight-across desktop structure; match phone's thin black art. */
  #homeView:not(.nw-v26-catalog-mode) > .nab-premium-categories {
    padding-top:23px!important;
    padding-bottom:11px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nab-premium-categories .nab-cat-intro {
    display:none!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nab-premium-categories .nw-v48-category-grid {
    display:grid!important;
    grid-template-columns:repeat(8,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:12px!important;
    width:100%!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nab-premium-categories .nw-v48-category-grid > button {
    min-width:0!important;
    min-height:119px!important;
    height:119px!important;
    padding:12px 8px 10px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    border:1px solid #e8edf2!important;
    border-radius:16px!important;
    background:#fff!important;
    color:#292929!important;
    text-align:center!important;
    box-shadow:0 6px 20px rgba(22,32,47,.065)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nab-premium-categories .nw-v48-category-grid > button:hover {
    border-color:#c4d9ef!important;
    box-shadow:0 10px 26px rgba(19,40,71,.11)!important;
    transform:translateY(-2px)!important;
  }
  /* All 8 figures use EXACTLY the phone's dark fine-line visual language. */
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-category-grid .nw-v48-cat-ico,
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-category-grid button:nth-child(n) .nw-v48-cat-ico {
    display:grid!important;
    place-items:center!important;
    flex:0 0 40px!important;
    width:40px!important;
    height:40px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#252525!important;
    padding:0!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-category-grid .nw-v48-cat-ico svg {
    display:block!important;
    width:37px!important;
    height:37px!important;
    flex:none!important;
    stroke:#252525!important;
    stroke-width:1.35!important;
    fill:none!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-category-grid .nw-v48-cat-label {
    display:block!important;
    font:600 clamp(10.4px,.75vw,12px)/1.38 'Noto Sans Georgian',sans-serif!important;
    text-wrap:balance!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    color:#2c2c2f!important;
    text-align:center!important;
    letter-spacing:0!important;
    max-width:100%!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-category-grid .nw-v48-cat-small {
    display:none!important;
  }
  /* Fiverr-like single row of seven original NABWORK photo-led direction cards.
   * Real offers and existing labels are preserved; nothing fabricated.
   */
  #homeView:not(.nw-v26-catalog-mode) > .nw-v30-popular {
    padding-top:10px!important;
    padding-bottom:20px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-head {
    margin-bottom:13px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid {
    display:grid!important;
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
    grid-auto-columns:auto!important;
    grid-auto-flow:row!important;
    align-items:stretch!important;
    gap:11px!important;
    overflow:visible!important;
    padding:3px 1px 10px!important;
    scroll-snap-type:none!important;
    width:100%!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid > .nw-v60-direction {
    display:flex!important;
    flex:initial!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    min-height:225px!important;
    height:225px!important;
    border:1px solid #e6ebf2!important;
    border-radius:13px!important;
    overflow:hidden!important;
    background:#fff!important;
    box-shadow:0 6px 20px rgba(20,36,62,.075)!important;
    scroll-snap-align:none!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-cover {
    width:100%!important;
    min-height:122px!important;
    height:122px!important;
    flex:0 0 122px!important;
    padding:10px 9px!important;
    background-size:300% 200%!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-cover-label {
    font-size:clamp(10px,.82vw,12.5px)!important;
    line-height:1.38!important;
    font-weight:700!important;
    max-width:calc(100% - 17px)!important;
    text-wrap:balance!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-cover-arrow {
    width:20px!important;
    height:20px!important;
    flex:0 0 20px!important;
    font-size:12px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-direction-body {
    flex:1!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    padding:8px 9px!important;
    gap:5px!important;
    overflow:hidden!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-group-head {
    min-height:26px!important;
    padding-bottom:4px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-group-head strong {
    max-width:100%!important;
    font-size:10.2px!important;
    font-weight:680!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-group-count {
    font-size:9px!important;
    font-weight:650!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-gig-list {
    gap:1px!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-link {
    min-height:28px!important;
    padding:2px!important;
    gap:4px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-avatar {
    flex-basis:18px!important;
    width:18px!important;
    height:18px!important;
    font-size:9px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-title,
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-name,
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-price {
    font-size:9px!important;
    line-height:1.3!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v57-popular-frame > .nw-v57-rail-btn,
  #homeView:not(.nw-v26-catalog-mode) .nw-v58-dots {
    display:none!important;
  }
  /* The blue AI banner is redundant with the real, already-working floating AI
   * bubble. Expand "How it works" across the entire freed row. */
  #homeView:not(.nw-v26-catalog-mode) .nw-v57-steps-row {
    display:block!important;
    width:min(calc(100% - 92px),1390px)!important;
    max-width:1390px!important;
    margin:11px auto 23px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v57-steps-row > .nw-v56-ai {
    display:none!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v57-steps-row > .nw-v48-how {
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:18px 20px 22px!important;
    background:#f5f9ff!important;
    border:1px solid #e6edf7!important;
    border-radius:17px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how-head {
    display:flex!important;
    justify-content:space-between!important;
    align-items:center!important;
    margin-bottom:15px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how-steps {
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:15px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how-step,
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how-step:nth-child(4) {
    display:flex!important;
    align-items:flex-start!important;
    gap:11px!important;
    padding:7px 5px!important;
    min-width:0!important;
    text-align:left!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how-index {
    display:none!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how-icon {
    display:grid!important;
    place-items:center!important;
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
    color:#0a70df!important;
    background:#e8f2ff!important;
    border-radius:11px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how-icon svg {
    width:24px!important;
    height:24px!important;
    flex:0 0 24px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how-copy {
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
    gap:5px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how-copy strong {
    font-weight:700!important;
    font-size:11.2px!important;
    line-height:1.4!important;
    color:#182e4c!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how-copy span {
    font-weight:450!important;
    font-size:10.4px!important;
    line-height:1.5!important;
    color:#61748b!important;
  }
}
/* Medium laptop: keep horizontal one-row catalog accessible without crushing
 * real service previews; phone and tablet stay on their approved carousels. */
@media(min-width:1080px) and (max-width:1260px){
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-category-grid {gap:7px!important}
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-category-grid > button {
    padding-inline:5px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-cover-label {
    font-size:10px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how-steps {gap:8px!important}
}
@media(prefers-reduced-motion:reduce){
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-category-grid > button {transition:none!important}
}

/* v70 — remove only the desktop "How NABWORK works" heading row.
 * Keep the four approved explanation cards, their icons and every other block. */
@media (min-width:1080px) {
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how-head {
    display:none!important;
  }
}
