/* =========================================================
   PAGINA BRANDS
========================================================= */

body#manufacturer #main {
  padding: 50px 0 80px;
}

/* Nasconde H1 solo nella lista brand */
body#manufacturer:not([class*="manufacturer-id-"]) #main > h1 {
  display: none;
}

/* Mostra H1 nella pagina singolo brand */
body#manufacturer[class*="manufacturer-id-"] #main > h1 {
  display: block;
}

body#manufacturer #main > ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* CARD */
body#manufacturer li.brand {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 60px;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fafafa 100%
    );
  border: 1px solid #ececec;
  border-radius: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 10px 40px rgba(0,0,0,.06);
}

/* Glow oro */
body#manufacturer li.brand::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background:
    radial-gradient(
      circle,
      rgba(201,161,74,.12) 0%,
      transparent 70%
    );
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Logo */
body#manufacturer .brand-img {
  margin-bottom: 35px;
  position: relative;
  z-index: 2;
}

body#manufacturer .brand-img a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #f1f1f1;
  box-shadow:
    0 8px 30px rgba(0,0,0,.05);
  transition: all .25s ease;
}

body#manufacturer .brand-img a:hover {
  transform: translateY(-4px);
}

body#manufacturer .brand-img img {
  max-width: 140px;
  max-height: 140px;
  object-fit: contain;
}

/* Nome brand */
body#manufacturer .brand-infos {
  position: relative;
  z-index: 2;
}

body#manufacturer .brand-infos p:first-child {
  margin-bottom: 18px;
}

body#manufacturer .brand-infos p:first-child a {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #111;
  text-decoration: none;
}

/* Descrizione */
body#manufacturer .brand-infos p:last-child {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.9;
  color: #555;
}

/* Link nel testo */
body#manufacturer .brand-infos p:last-child a {
  color: #111;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #c9a14a;
}

body#manufacturer .brand-infos p:last-child a:hover {
  color: #c9a14a;
}

/* CTA */
body#manufacturer .brand-products {
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

/* Nasconde "26 prodotti" */
body#manufacturer .brand-products a:first-child {
  display: none;
}

/* Bottone */
body#manufacturer .brand-products a:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 34px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: all .25s ease;
}

body#manufacturer .brand-products a:last-child:hover {
  background: #c9a14a;
  color: #111;
  transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 767px) {

  body#manufacturer #main {
    padding: 20px 0 50px;
  }

  body#manufacturer li.brand {
    padding: 40px 24px;
    border-radius: 22px;
  }

  body#manufacturer .brand-img a {
    width: 150px;
    height: 150px;
  }

  body#manufacturer .brand-img img {
    max-width: 110px;
    max-height: 110px;
  }

  body#manufacturer .brand-infos p:first-child a {
    font-size: 30px;
  }

  body#manufacturer .brand-infos p:last-child {
    font-size: 15px;
    line-height: 1.8;
  }

  body#manufacturer .brand-products {
    margin-top: 30px;
  }

  body#manufacturer .brand-products a:last-child {
    width: 100%;
  }
}

body#manufacturer #main > ul {
  display: block !important;
  width: 100%;
}

body#manufacturer #main > ul > li.brand {
  display: block !important;
  width: 100% !important;
  max-width: 900px;
  margin: 0 auto;
  float: none !important;
    padding: 70px 60px !important;

}

@media (max-width: 767px) {

  body#manufacturer #main > ul > li.brand {
    padding: 40px 24px !important;
  }

}

/* =========================================================
   BRAND PLP — HEADER CONTENT
========================================================= */

/* spazio sopra */
body#manufacturer[class*="manufacturer-id-"] #main {
  padding-top: 20px;
}

/* =========================================================
   H1
========================================================= */

body#manufacturer[class*="manufacturer-id-"] #main > h1 {
  margin: 0 0 45px;

  text-align: center;

  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;

  color: #111;
}

/* =========================================================
   SHORT DESCRIPTION
   NASCOSTA
========================================================= */

body#manufacturer[class*="manufacturer-id-"] #manufacturer-short_description {
  display: none;
}

/* =========================================================
   FULL DESCRIPTION
========================================================= */

body#manufacturer[class*="manufacturer-id-"] #manufacturer-description {
  position: relative;

  margin:
    0 auto
    70px;

  padding:
    60px
    70px;

  border-radius: 32px;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fafafa 100%
    );

  border: 1px solid #ececec;

  box-shadow:
    0 12px 40px rgba(0,0,0,.05);

  overflow: hidden;
}

/* glow oro */
body#manufacturer[class*="manufacturer-id-"] #manufacturer-description::before {
  content: "";

  position: absolute;

  top: -180px;
  right: -120px;

  width: 420px;
  height: 420px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(201,161,74,.12) 0%,
      transparent 70%
    );

  pointer-events: none;
}

/* paragrafi */
body#manufacturer[class*="manufacturer-id-"] #manufacturer-description p {
  position: relative;
  z-index: 2;

  margin:
    0
    0
    24px;

  font-size: 17px;
  line-height: 2;

  color: #555;
}

/* ultimo */
body#manufacturer[class*="manufacturer-id-"] #manufacturer-description p:last-child {
  margin-bottom: 0;
}

/* link */
body#manufacturer[class*="manufacturer-id-"] #manufacturer-description a {
  color: #111;

  font-weight: 700;

  text-decoration: none;

  border-bottom:
    1px solid
    #c9a14a;

  transition:
    color .25s ease,
    border-color .25s ease;
}

body#manufacturer[class*="manufacturer-id-"] #manufacturer-description a:hover {
  color: #c9a14a;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  body#manufacturer[class*="manufacturer-id-"] #main > h1 {
    margin-bottom: 28px;

    font-size: 34px;
    line-height: 1.2;
  }

  body#manufacturer[class*="manufacturer-id-"] #manufacturer-description {
    margin-bottom: 40px;

    padding:
      34px
      24px;

    border-radius: 24px;
  }

  body#manufacturer[class*="manufacturer-id-"] #manufacturer-description p {
    margin-bottom: 18px;

    font-size: 15px;
    line-height: 1.9;
  }

}