/* === DERIOX HOME-CAT2 PREMIUM SVG V10 START === */
/* Premium visual only. Exact #home-cat2 structure. No DB/PHP/index/plugin changes. */

html,
body {
  overflow-x: hidden !important;
}

body#body-home #home-cat2 {
  max-width: 100% !important;
  padding-top: 8px !important;
  padding-bottom: 4px !important;
}

body#body-home #home-cat2 .inside {
  display: inline-block !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
  border: 1px solid #e2edf7 !important;
  border-radius: 18px !important;
  padding: 12px 13px 9px !important;
  box-shadow: 0 12px 30px rgba(15, 38, 60, 0.10) !important;
}

body#body-home #home-cat2 .inside .box,
body#body-home #home-cat2 .inside .box .wrap,
body#body-home #home-cat2 .inside .box .wrap .line {
  background: transparent !important;
}

/* Card categorie - exact anchor */
body#body-home #home-cat2 .inside .box .wrap .line > a {
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 1px solid #dce8f3 !important;
  border-radius: 16px !important;
  box-shadow: 0 7px 18px rgba(15, 38, 60, 0.08) !important;
  padding: 9px 6px 8px !important;
  color: #20364a !important;
  text-decoration: none !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease !important;
}

/* Badge SVG */
body#body-home #home-cat2 .inside .box .wrap .line > a > div {
  width: 68px !important;
  height: 68px !important;
  margin: 2px auto 9px auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background-size: 68px 68px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  border: 0 !important;
  box-shadow:
    0 12px 26px rgba(65,130,195,.16),
    inset 0 1px 0 rgba(255,255,255,.9) !important;
  transform: none !important;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease !important;
}

/* Hide old PNG images visually */
body#body-home #home-cat2 .inside .box .wrap .line > a > div > img {
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  max-width: 1px !important;
  max-height: 1px !important;
}

/* SVG category icons */
body#body-home #home-cat2 .inside .box .wrap .line > a:nth-child(1) > div { background-image: url('../images/deriox-cat-icons/auto.svg') !important; }
body#body-home #home-cat2 .inside .box .wrap .line > a:nth-child(2) > div { background-image: url('../images/deriox-cat-icons/imobiliare.svg') !important; }
body#body-home #home-cat2 .inside .box .wrap .line > a:nth-child(3) > div { background-image: url('../images/deriox-cat-icons/joburi.svg') !important; }
body#body-home #home-cat2 .inside .box .wrap .line > a:nth-child(4) > div { background-image: url('../images/deriox-cat-icons/electronice.svg') !important; }
body#body-home #home-cat2 .inside .box .wrap .line > a:nth-child(5) > div { background-image: url('../images/deriox-cat-icons/servicii.svg') !important; }
body#body-home #home-cat2 .inside .box .wrap .line > a:nth-child(6) > div { background-image: url('../images/deriox-cat-icons/moda.svg') !important; }
body#body-home #home-cat2 .inside .box .wrap .line > a:nth-child(7) > div { background-image: url('../images/deriox-cat-icons/casa.svg') !important; }
body#body-home #home-cat2 .inside .box .wrap .line > a:nth-child(8) > div { background-image: url('../images/deriox-cat-icons/copil.svg') !important; }
body#body-home #home-cat2 .inside .box .wrap .line > a:nth-child(9) > div { background-image: url('../images/deriox-cat-icons/sport.svg') !important; }
body#body-home #home-cat2 .inside .box .wrap .line > a:nth-child(10) > div { background-image: url('../images/deriox-cat-icons/animale.svg') !important; }
body#body-home #home-cat2 .inside .box .wrap .line > a:nth-child(11) > div { background-image: url('../images/deriox-cat-icons/agricole.svg') !important; }
body#body-home #home-cat2 .inside .box .wrap .line > a:nth-child(12) > div { background-image: url('../images/deriox-cat-icons/cazare.svg') !important; }

/* Text */
body#body-home #home-cat2 .inside .box .wrap .line > a > h3 {
  height: 34px !important;
  margin: 0 !important;
  padding: 0 3px !important;
  font-size: 13px !important;
  line-height: 15px !important;
  color: #172d42 !important;
  font-weight: 800 !important;
  letter-spacing: -0.15px !important;
}

body#body-home #home-cat2 .inside .box .wrap .line > a > h3 > span {
  font-size: 13px !important;
  line-height: 15px !important;
  font-weight: 800 !important;
  color: #172d42 !important;
}

/* Hover */
body#body-home #home-cat2 .inside .box .wrap .line > a:hover {
  background: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%) !important;
  border-color: #83bdec !important;
  box-shadow: 0 15px 34px rgba(65,130,195,.22) !important;
  transform: translateY(-3px) !important;
}

body#body-home #home-cat2 .inside .box .wrap .line > a:hover > div {
  transform: scale(1.08) !important;
  filter: saturate(1.14) contrast(1.06) !important;
  box-shadow: 0 16px 34px rgba(65,130,195,.26) !important;
}

body#body-home #home-cat2 .inside .box .wrap .line > a:hover h3,
body#body-home #home-cat2 .inside .box .wrap .line > a:hover h3 span {
  color: #115b9d !important;
}

/* Search page unchanged */
body#body-search #home-cat2 .inside {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

body#body-search #home-cat2 .inside .box .wrap .line > a > div > img {
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  max-width: 32px !important;
  max-height: 32px !important;
}

body#body-search #home-cat2 .inside .box .wrap .line > a > div {
  background-image: none !important;
}

/* === DERIOX HOME-CAT2 PREMIUM SVG V10 END === */
