
/* =========================================================
   PAGINA CATEGORIA / HERO / CATEGORIE CORRELATE
========================================================= */

.ac-category-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #111;
}

@media (max-width: 767px) {
  .ac-category-hero {
    min-height: 340px;
    background-position: center center;
  }
}

@media (max-width: 767px) {
  .ac-related-categories-grid {
    gap: 16px;
    padding-left: 0;
    padding-right: 25px;
  }
}

.ac-category-hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 45px);
  font-weight: 700;
  margin: 15px 0 0;
}

.ac-category-description {
  max-width: 1230px;
  margin: 0 auto 50px;
  padding: 50px;
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  border: 1px solid #eee;
  background: #f9f9f9;
  border-radius: 10px;
}

div#ac-category-description p {
    color: #333 !important;
}

div#ac-category-description h2, div#ac-category-description h3 {margin-top:50px;}

.ac-related-categories h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 35px;
  color: #111;
}

.ac-related-categories-grid::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 999px;
}

.ac-related-categories-grid::-webkit-scrollbar-thumb {
  background: #C9A14A;
  border-radius: 999px;
}

.ac-related-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.25) 35%,
    rgba(0,0,0,0) 70%
  );
  z-index: 1;
}

.ac-related-category-card span {
  position: absolute;
  bottom: 18px;
  width: 100%;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  z-index: 2;
  text-shadow: none;
}

.ac-related-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}

.ac-related-categories {
  max-width: 1280px;
  margin: 70px auto 100px;
  padding: 0 25px;
  position: relative;
}

.ac-related-categories-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ac-related-categories-grid::-webkit-scrollbar {
  height: 6px;
  display: none;
}

.ac-related-category-card {
  position: relative;
  display: block;
  height: 340px;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #111;
  transition: transform .25s ease, box-shadow .25s ease;
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
}

.ac-cat-carousel-arrow {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: .25s ease;
}

.ac-cat-carousel-arrow:hover {
  background: #C9A14A;
  color: #111;
}

.ac-cat-carousel-prev {
  left: 8px;
}

.ac-cat-carousel-next {
  right: 8px;
}

.ac-cat-carousel-arrow span {
  font-size: 30px;
  line-height: 1;
}

@media (max-width: 767px) {
  .ac-related-category-card {
    flex: 0 0 82%;
    height: 260px;
  }
}

@media (max-width: 767px) {
  .ac-cat-carousel-arrow {
    width: 40px;
    height: 40px;
    top: 58%;
  }
}

@media (max-width: 767px) {
  .ac-cat-carousel-prev {
    left: 12px;
  }
}

@media (max-width: 767px) {
  .ac-cat-carousel-next {
    right: 12px;
  }
}

body#category #wrapper .container,
body#category #content-wrapper,
body#category #main {
  width: 100%;
  max-width: 100%;
}

body#category #left-column,
body#category #right-column,
body#category .facets,
body#category #search_filters,
body#category #search_filters_wrapper,
body#category .block-categories {
  display: none !important;
}

.ac-category-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #111;
}

.ac-category-hero-overlay {
  width: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.78) 0%,
    rgba(0,0,0,.55) 42%,
    rgba(0,0,0,.18) 100%
  );
}

.ac-category-hero-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 25px;
}

.ac-category-hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 45px);
  font-weight: 700;
  margin: 15px 0 0;
}

.ac-category-hero .breadcrumb,
.ac-category-hero .breadcrumb a,
.ac-category-hero .breadcrumb span {
  color: #fff !important;
}

.category-free-shipping {
  margin-top: 18px;
  color: #fff;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
}

.category-shipping-discount {
  color: rgba(255,255,255,.86);
  font-weight: 500;
}

body#category .ac-category-hero {
  margin-top: -1px;
}

body#category #content-wrapper {
  flex: 0 0 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body#category div#js-product-list-top,
body#category .pagination > div:first-child {
  display: none !important;
}

body#category #products {
  max-width: 1280px;
  margin: 50px auto 0;
  padding: 0 25px;
}

@media (max-width: 767px) {
  .ac-category-hero,
  .ac-category-hero-overlay {
    min-height: 340px;
  }

  .ac-category-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(0,0,0,.70) 0%,
      rgba(0,0,0,.48) 55%,
      rgba(0,0,0,.30) 100%
    );
  }

  .ac-category-hero-inner {
    padding: 55px 25px;
  }

  .category-free-shipping {
    font-size: 15px;
  }
}

.shipping-disclaimer {
      margin: 28px 0 0 0;


  line-height: 1.7;
  font-size: 16px;

  color: #fff !important;
}

.shipping-disclaimer a {
    color: #fff;
}

.shipping-disclaimer a::before {
    content: "💡";
    font-size: 18px;
    line-height: 1;
    margin-right: 5px;
}

.shipping-disclaimer a:hover {
text-decoration: none;
}

