body, #page, #primary, #main, .site-content {
    background-color: #ffffff !important;
}

body::after {
    content: "";
    position: fixed;
    top: 50px;
    bottom: 50px;
    left: 0;
    width: 500px;
    background-image: url('https://gf-parts.com/wp-content/uploads/2026/04/Copia-di-bar-self-service-sorrisi.png') !important;
    background-repeat: repeat-y;
    background-size: 650px auto;
    background-position: left center;
    filter: invert(1) brightness(0) !important;
    opacity: 0.2 !important;
    z-index: 0 !important;
    pointer-events: none;
}

#primary, #main, .entry-content, .post-content {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* FORM GF PARTS - CONTACT FORM 7 */

.gf-contact-section {
  background: #ffffff !important;
  padding: 40px 20px 60px !important;
}

.gf-contact-wrap {
  max-width: 1120px !important;
  margin: 0 auto !important;
}

.gf-field {
  margin-bottom: 28px !important;
}

.gf-field label {
  display: block !important;
  margin-bottom: 10px !important;
  color: #1a2d41 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
}

.gf-field label span {
  color: #1a2d41 !important;
}

.gf-field input,
.gf-field textarea,
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-textarea {
  width: 100% !important;
  border: none !important;
  border-bottom: 1.5px solid rgba(26, 45, 65, 0.45) !important;
  background: transparent !important;
  color: #1a2d41 !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  padding: 12px 0 16px !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
}

.gf-field input::placeholder,
.gf-field textarea::placeholder {
  color: rgba(26, 45, 65, 0.38) !important;
}

.gf-field input:focus,
.gf-field textarea:focus {
  border-bottom-color: #1a2d41 !important;
}

.gf-field textarea,
.wpcf7-form-control.wpcf7-textarea {
  min-height: 180px !important;
  resize: vertical !important;
}

.gf-submit-row {
  margin-top: 18px !important;
}

.wpcf7-submit,
input[type="submit"].wpcf7-submit,
.gf-submit-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 220px !important;
  padding: 16px 28px !important;
  border: 1.5px solid #1a2d41 !important;
  background: #ffffff !important;
  color: #1a2d41 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  font-family: inherit !important;
}

.wpcf7-submit:hover,
input[type="submit"].wpcf7-submit:hover,
.gf-submit-btn:hover {
  background: #1a2d41 !important;
  color: #ffffff !important;
}

.wpcf7-spinner {
  display: none !important;
}

.wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0 !important;
  padding: 14px 18px !important;
  border-radius: 4px !important;
  color: #1a2d41 !important;
  font-size: 15px !important;
}

@media (max-width: 767px) {
  .gf-contact-section {
    padding: 28px 16px 44px !important;
  }

  .gf-field {
    margin-bottom: 24px !important;
  }

  .gf-field label {
    font-size: 15px !important;
  }

  .gf-field input,
  .gf-field textarea,
  .wpcf7-form-control.wpcf7-text,
  .wpcf7-form-control.wpcf7-email,
  .wpcf7-form-control.wpcf7-textarea {
    font-size: 17px !important;
    padding: 10px 0 14px !important;
  }

  .gf-field textarea,
  .wpcf7-form-control.wpcf7-textarea {
    min-height: 150px !important;
  }

  .wpcf7-submit,
  input[type="submit"].wpcf7-submit,
  .gf-submit-btn {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 18px !important;
    padding: 15px 24px !important;
  }
}

@media (max-width: 768px) {

  /* Colonne impilate verticalmente */
  .elementor-column {
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  /* Testo hero più piccolo */
  h1 {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }

  h2 {
    font-size: 20px !important;
  }

  h3 {
    font-size: 17px !important;
  }

  /* Padding sezioni meno esagerato */
  .elementor-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Immagini responsive */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Logo non troppo grande */
  .elementor-widget-image img {
    max-width: 180px !important;
  }
}
@media (max-width: 768px) {

  /* Forza le card a stacked verticale */
  .elementor-column.elementor-col-33,
  .elementor-column.elementor-col-25,
  [class*="elementor-col-"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* Evita testo tagliato nelle card */
  .elementor-widget-container {
    overflow: visible !important;
    width: 100% !important;
  }

  /* Le righe diventano verticali */
  .elementor-row {
    flex-direction: column !important;
  }

}
@media (max-width: 768px) {
  section div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  
  section div[style*="max-width:34ch"] {
    max-width: 100% !important;
  }
}

.gtranslate_wrapper {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  min-height: 40px;
  z-index: 9999;
}

.gtranslate_wrapper select {
  background: #ffffff;
  color: #1a2d41;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
}
.gtranslate_wrapper {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  white-space: nowrap;
}

.gtranslate_wrapper a {
  display: inline-block;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.gtranslate_wrapper a:hover {
  color: #ffffff !important;
  background: rgba(255,255,255,0.12);
}

.gtranslate_wrapper img {
  vertical-align: middle;
  margin-right: 6px;
}