
/* Category title redesign - Vitabolic */
#main .box80 > .category-title-hero {
  max-width: 1180px !important;
  margin: 24px auto 34px !important;
  padding: 42px 24px 40px !important;
  text-align: center !important;
  background:
    radial-gradient(circle at 50% 32%, rgba(212, 155, 42, .10), transparent 42%),
    linear-gradient(180deg, #fffdf8 0%, #fbf4ea 100%) !important;
  border: 1px solid #e4c99f !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 45px rgba(93, 64, 23, .08) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

#main .box80 > .category-title-hero .category-title-kicker {
  margin: 0 0 12px !important;
  color: #b17816 !important;
  font-size: 13px !important;
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: .42em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

#main .box80 > .category-title-hero h1 {
  margin: 0 !important;
  padding: 0 !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 64px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: #070707 !important;
  text-transform: uppercase !important;
  letter-spacing: .03em !important;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .08) !important;
}

#main .box80 > .category-title-hero .category-title-separator {
  position: relative !important;
  width: 260px !important;
  height: 18px !important;
  margin: 24px auto 0 !important;
}

#main .box80 > .category-title-hero .category-title-separator::before,
#main .box80 > .category-title-hero .category-title-separator::after {
  content: '' !important;
  position: absolute !important;
  top: 8px !important;
  width: 110px !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, #d49b2a) !important;
}

#main .box80 > .category-title-hero .category-title-separator::before { left: 0 !important; }
#main .box80 > .category-title-hero .category-title-separator::after { right: 0 !important; transform: rotate(180deg) !important; }

#main .box80 > .category-title-hero .category-title-separator span {
  position: absolute !important;
  left: 50% !important;
  top: 4px !important;
  display: block !important;
  width: 10px !important;
  height: 10px !important;
  transform: translateX(-50%) rotate(45deg) !important;
  background: #d49b2a !important;
}

/* scoate spatiul ramas de la <br> daca exista accidental dupa hero */
#main .box80 > .category-title-hero + br { display: none !important; }

@media only screen and (max-width: 900px) {
  #main .box80 > .category-title-hero {
    margin: 20px 12px 26px !important;
    padding: 36px 18px 34px !important;
    border-radius: 20px !important;
  }
  #main .box80 > .category-title-hero h1 { font-size: 52px !important; }
}

@media only screen and (max-width: 700px) {
  #main .box80 > .category-title-hero {
    margin: 18px 10px 22px !important;
    padding: 30px 14px 28px !important;
    border-radius: 18px !important;
  }
  #main .box80 > .category-title-hero .category-title-kicker {
    font-size: 11px !important;
    letter-spacing: .34em !important;
  }
  #main .box80 > .category-title-hero h1 {
    font-size: 40px !important;
    letter-spacing: .02em !important;
  }
  #main .box80 > .category-title-hero .category-title-separator {
    width: 190px !important;
    margin-top: 18px !important;
  }
  #main .box80 > .category-title-hero .category-title-separator::before,
  #main .box80 > .category-title-hero .category-title-separator::after { width: 78px !important; }
}

@media only screen and (max-width: 380px) {
  #main .box80 > .category-title-hero h1 { font-size: 34px !important; }
}

/* FIX centrare categorie pe mobile */
@media only screen and (max-width: 700px) {
  .catalog-category-page .bar-content,
  .catalog-category-page .bar-content > .wrapper,
  .catalog-category-page .box80 {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .catalog-category-page .category-title-hero {
    width: calc(100% - 32px) !important;
    max-width: 360px !important;
    margin: 48px auto 28px !important;
    padding: 34px 18px 32px !important;
    box-sizing: border-box !important;
  }

  .catalog-category-page .category-title-hero h1 {
    font-size: 38px !important;
    text-align: center !important;
  }

  .catalog-category-page .filtru-producatori-chips {
    width: calc(100% - 32px) !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: flex-start !important;
  }
}

/* === MOBILE PRODUCT CARD FIX === */
@media only screen and (max-width: 700px) {
  .catalog-category-page .white-box.clearfix {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 14px !important;
    padding: 14px !important;
    box-sizing: border-box !important;
  }

  .catalog-category-page article.product {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 300px !important;
    margin: 0 !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .catalog-category-page .product-image-container {
    width: 100% !important;
    height: 150px !important;
    margin: 0 0 12px !important;
    box-sizing: border-box !important;
  }

  .catalog-category-page .product-image-container img {
    max-width: 100% !important;
    max-height: 135px !important;
    object-fit: contain !important;
  }

  .catalog-category-page .product-brand {
    font-size: 10px !important;
    line-height: 1.2 !important;
    margin: 0 0 8px !important;
  }

  .catalog-category-page .product-name {
    font-size: 14px !important;
    line-height: 1.35 !important;
    min-height: 42px !important;
    margin: 0 0 14px !important;
    overflow-wrap: anywhere !important;
  }

  .catalog-category-page .product-footer-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-top: auto !important;
    width: 100% !important;
  }

  .catalog-category-page .pret-gradient {
    display: block !important;
    width: 100% !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .catalog-category-page .product-footer-row .red-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
    font-size: 11px !important;
    letter-spacing: .12em !important;
    white-space: nowrap !important;
  }
}

@media only screen and (max-width: 380px) {
  .catalog-category-page .white-box.clearfix {
    grid-template-columns: 1fr !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .catalog-category-page article.product {
    min-height: auto !important;
  }
}