/*
 * Da Vat Hy Lures — Phase 23B.7K
 * Category Results — Home Page / Catalogue Rhythm
 *
 * Page structure is broad horizontal sections.
 * Product cards remain cards because each lure is a discrete product.
 */

body.dvh22-category-page{
  background:#f4efe5!important;
  color:#0c2f25!important;
}

/* Shared broad width used by Catalogue and Home-derived public pages. */
body.dvh22-category-page .wrap{
  width:min(1500px,88.5vw)!important;
  max-width:none!important;
}

/* ===============================================================
   HERO
   =============================================================== */
body.dvh22-category-page .dvh22-category-hero{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:30px 0 28px!important;
  border:0!important;
  border-radius:0!important;
  background:
    radial-gradient(circle at 82% 10%,rgba(18,103,72,.22),transparent 28%),
    linear-gradient(118deg,#073d2f 0%,#0a4b38 58%,#355c3d 100%)!important;
  box-shadow:none!important;
}

body.dvh22-category-page .dvh22-category-hero>.wrap{
  width:min(1500px,88.5vw)!important;
  max-width:none!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.5fr) auto!important;
  gap:30px!important;
  align-items:end!important;
}

body.dvh22-category-page .dvh22-category-hero .eyebrow{
  margin-bottom:5px!important;
  color:#efb448!important;
  font-size:.70rem!important;
  letter-spacing:.10em!important;
}

body.dvh22-category-page .dvh22-category-hero h1{
  margin:0 0 8px!important;
  font-size:clamp(2.55rem,5vw,4.35rem)!important;
  line-height:.95!important;
}

body.dvh22-category-page .dvh22-category-hero p{
  max-width:780px!important;
  color:rgba(255,255,255,.82)!important;
  font-size:.88rem!important;
  line-height:1.48!important;
}

body.dvh22-category-page .dvh22-category-hero-actions{
  gap:8px!important;
}

body.dvh22-category-page .dvh22-category-hero-actions .btn{
  min-height:40px!important;
  padding:8px 14px!important;
  border-radius:4px!important;
  box-shadow:none!important;
}

body.dvh22-category-page .dvh22-category-hero-actions .category-back{
  background:transparent!important;
  border-color:rgba(255,255,255,.34)!important;
}

/* ===============================================================
   CATEGORY SWITCHING BAND
   =============================================================== */
body.dvh22-category-page .dvh22-category-nav{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid rgba(12,47,37,.10)!important;
  background:#f7f3e9!important;
}

body.dvh22-category-page .dvh22-category-nav>.wrap{
  display:grid!important;
  grid-template-columns:190px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:stretch!important;
  padding:14px 0!important;
}

body.dvh22-category-page .public-category-heading{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:2px!important;
  padding-right:18px;
  border-right:1px solid rgba(12,47,37,.12);
}

body.dvh22-category-page .public-category-heading h2{
  margin:0!important;
  font-family:Georgia,serif!important;
  font-size:1.16rem!important;
}

body.dvh22-category-page .category-all-link{
  margin-top:3px!important;
  font-size:.68rem!important;
}

body.dvh22-category-page .public-category-chips{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:0!important;
  border-top:1px solid rgba(12,47,37,.10);
  border-bottom:1px solid rgba(12,47,37,.10);
}

body.dvh22-category-page .public-category-chips a{
  min-height:58px!important;
  padding:9px 12px!important;
  border:0!important;
  border-right:1px solid rgba(12,47,37,.10)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}

body.dvh22-category-page .public-category-chips a:last-child{
  border-right:0!important;
}

body.dvh22-category-page .public-category-chips a:hover{
  background:#fffdf8!important;
}

body.dvh22-category-page .public-category-chips a.is-active{
  background:transparent!important;
  border-color:rgba(12,47,37,.10)!important;
  box-shadow:inset 0 -3px 0 #e6a821!important;
}

body.dvh22-category-page .public-category-chips a.is-active span{
  color:#9f6806!important;
}

body.dvh22-category-page .public-category-chips a.is-active small{
  color:#6d7973!important;
}

body.dvh22-category-page .public-category-chips span{
  font-size:.76rem!important;
}

body.dvh22-category-page .public-category-chips small{
  font-size:.62rem!important;
}

/* ===============================================================
   RESULT SUMMARY
   =============================================================== */
body.dvh22-category-page .dvh22-category-summary{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid rgba(12,47,37,.10)!important;
  background:#fff!important;
}

body.dvh22-category-page .dvh22-category-summary>.wrap{
  min-height:54px;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
}

body.dvh22-category-page .dvh22-category-summary strong{
  font-family:Georgia,serif!important;
  font-size:1.05rem!important;
}

body.dvh22-category-page .dvh22-category-summary span{
  font-size:.70rem!important;
}

body.dvh22-category-page .dvh22-category-summary a{
  padding:7px 0;
  color:#0b4a37!important;
  font-size:.68rem!important;
  text-decoration:none!important;
  border-bottom:1px solid #e6a821;
}

/* ===============================================================
   PRODUCT GRID
   =============================================================== */
body.dvh22-category-page .catalogue{
  width:100%!important;
  margin:0!important;
  padding:26px 0 62px!important;
  background:#f7f4ec!important;
}

body.dvh22-category-page .catalogue>.wrap{
  width:min(1500px,88.5vw)!important;
  max-width:none!important;
  margin:0 auto!important;
}

body.dvh22-category-page .grid{
  gap:15px!important;
}

/* Match the flatter Product cards approved on /products.php. */
body.dvh22-category-page .product{
  border-radius:8px!important;
  box-shadow:0 4px 12px rgba(14,45,36,.045)!important;
}

body.dvh22-category-page .product:hover{
  box-shadow:0 9px 22px rgba(14,45,36,.085)!important;
}

body.dvh22-category-page .badge,
body.dvh22-category-page .actions .btn{
  border-radius:4px!important;
}

/* Cart confirmation = simple status strip. */
body.dvh22-category-page .cart-confirmation.compact{
  margin-bottom:16px!important;
  padding:10px 12px!important;
  border-radius:5px!important;
  box-shadow:none!important;
}

body.dvh22-category-page .cart-confirmation-actions .btn{
  border-radius:4px!important;
}

/* Empty state stays useful but not over-designed. */
body.dvh22-category-page .empty{
  padding:36px!important;
  border-radius:6px!important;
  box-shadow:none!important;
}

/* ===============================================================
   RESPONSIVE
   =============================================================== */
@media(max-width:1100px){
  body.dvh22-category-page .dvh22-category-nav>.wrap{
    grid-template-columns:1fr!important;
  }

  body.dvh22-category-page .public-category-heading{
    padding-right:0;
    border-right:0;
  }

  body.dvh22-category-page .public-category-chips{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }

  body.dvh22-category-page .public-category-chips a:nth-child(4n){
    border-right:0!important;
  }

  body.dvh22-category-page .public-category-chips a:nth-child(n+5){
    border-top:1px solid rgba(12,47,37,.10)!important;
  }
}

@media(max-width:900px){
  body.dvh22-category-page .dvh22-category-hero>.wrap{
    grid-template-columns:1fr!important;
    align-items:start!important;
  }

  body.dvh22-category-page .dvh22-category-hero-actions{
    justify-self:start;
  }
}

@media(max-width:700px){
  body.dvh22-category-page .wrap,
  body.dvh22-category-page .dvh22-category-hero>.wrap,
  body.dvh22-category-page .dvh22-category-nav>.wrap,
  body.dvh22-category-page .catalogue>.wrap{
    width:calc(100% - 32px)!important;
  }

  body.dvh22-category-page .dvh22-category-hero{
    padding:23px 0 21px!important;
  }

  body.dvh22-category-page .dvh22-category-hero h1{
    font-size:clamp(2.15rem,11vw,3rem)!important;
  }

  body.dvh22-category-page .dvh22-category-hero p{
    font-size:.78rem!important;
  }

  body.dvh22-category-page .dvh22-category-hero-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    width:100%;
    margin-top:2px!important;
  }

  body.dvh22-category-page .dvh22-category-nav>.wrap{
    padding:11px 0!important;
  }

  body.dvh22-category-page .public-category-heading{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
  }

  body.dvh22-category-page .public-category-chips{
    display:flex!important;
    gap:6px!important;
    overflow-x:auto!important;
    border:0!important;
    padding-bottom:3px!important;
    scrollbar-width:none;
  }

  body.dvh22-category-page .public-category-chips::-webkit-scrollbar{
    display:none;
  }

  body.dvh22-category-page .public-category-chips a,
  body.dvh22-category-page .public-category-chips a:nth-child(n){
    flex:0 0 auto!important;
    min-width:116px!important;
    min-height:45px!important;
    padding:7px 10px!important;
    border:1px solid rgba(12,47,37,.12)!important;
    border-radius:5px!important;
    background:#fff!important;
    box-shadow:none!important;
  }

  body.dvh22-category-page .public-category-chips a.is-active{
    border-color:#d6a338!important;
    box-shadow:inset 0 -3px 0 #e6a821!important;
  }

  body.dvh22-category-page .dvh22-category-summary>.wrap{
    min-height:48px;
  }

  body.dvh22-category-page .catalogue{
    padding:18px 0 44px!important;
  }

  body.dvh22-category-page .cart-confirmation.compact{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
}

@media(max-width:480px){
  body.dvh22-category-page .dvh22-category-hero-actions{
    grid-template-columns:1fr!important;
  }

  body.dvh22-category-page .dvh22-category-summary>.wrap{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:2px!important;
    padding-top:8px;
    padding-bottom:8px;
  }
}
