/*
Theme Name: Hopee
Theme URI: https://hopee.it
Description: Child theme di Astra per il progetto Hopee
Author: Lenus Media
Author URI: https://lenusmedia.it
Template: astra
Version: 1.0
Text Domain: hopee
*/

body {
    
}

#media_image-1 img {
	width: 200px !important;
}
.hopee-form-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.hopee-form-card br {
	display: none;
}

.hopee-form-card .wpcf7 {
  width: 100%;
}

.hopee-form-card .wpcf7 form {
  margin: 0;
}

.hopee-form-card label {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: #1f2937;
  margin: 0 0 12px 0;
}

.hopee-form-card input[type="text"],
.hopee-form-card input[type="email"],
.hopee-form-card input[type="tel"],
.hopee-form-card select,
.hopee-form-card textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid #d9dee7;
  border-radius: 12px;
  box-sizing: border-box;
  padding: 12px 14px;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.4;
  color: #1f2937;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.hopee-form-card input[type="text"],
.hopee-form-card input[type="email"],
.hopee-form-card input[type="tel"],
.hopee-form-card select {
  min-height: 46px;
}

.hopee-form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.hopee-form-card input[type="text"]:focus,
.hopee-form-card input[type="email"]:focus,
.hopee-form-card input[type="tel"]:focus,
.hopee-form-card select:focus,
.hopee-form-card textarea:focus {
  outline: none;
  border-color: #76b82a;
  box-shadow: 0 0 0 3px rgba(118, 184, 42, 0.14);
}

.hopee-form-card input::placeholder,
.hopee-form-card textarea::placeholder {
  color: #94a3b8;
}

.hopee-form-card .checkbox {
  font-size: 13px;
  line-height: 1.5;
  color: #4b5563;
  margin: 10px 0;
}

.hopee-form-card .checkbox .wpcf7-list-item {
  margin: 0;
}

.hopee-form-card .checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 2px 10px 0 0;
  vertical-align: top;
}

.hopee-form-card .checkbox .wpcf7-list-item-label {
  display: inline;
}

.hopee-form-card a {
  color: #76b82a;
  text-decoration: none;
}

.hopee-form-card a:hover {
  text-decoration: underline;
}

.hopee-form-card input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  background: #76b82a;
  color: #ffffff;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 10px;
}

.hopee-form-card input[type="submit"]:hover {
  background: #699f25;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(118, 184, 42, 0.22);
}

.hopee-form-card input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: none;
}

.hopee-form-card .wpcf7-spinner {
  margin: 12px 0 0 10px;
}

.hopee-form-card .wpcf7-not-valid-tip {
  font-size: 12px;
  line-height: 1.4;
  margin-top: 6px;
}

.hopee-form-card .wpcf7-response-output {
  margin: 16px 0 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.hopee-form-card select {
  background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%), linear-gradient(135deg, #6b7280 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

@media (max-width: 767px) {
  .hopee-form-card {
    padding: 22px 18px;
    border-radius: 18px;
    max-width: 100%;
  }

  .hopee-form-card label {
    font-size: 13px;
  }

  .hopee-form-card input[type="text"],
  .hopee-form-card input[type="email"],
  .hopee-form-card input[type="tel"],
  .hopee-form-card select,
  .hopee-form-card textarea {
    font-size: 14px;
  }

  .hopee-form-card input[type="submit"] {
    min-height: 46px;
    font-size: 14px;
  }
}

/* ROW 2 COLONNE */
.hopee-row.two {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

/* COLONNE */
.hopee-row.two .hopee-col {
  flex: 1;
  display: flex;
}

/* CARD FULL WIDTH */
.hopee-card {
  width: 100%;
  background: #ffffff;
  border-radius: 28px;
  padding: 32px;
  box-sizing: border-box;
}

/* IMPORTANTISSIMO: evita che si "stringa" */
.hopee-row.two .hopee-col .hopee-card {
  flex: 1;
}

/* INPUT FULL WIDTH */
.hopee-card input,
.hopee-card select,
.hopee-card textarea {
  width: 100%;
  box-sizing: border-box;
}

/* TITOLI */
.hopee-card h2 {
  margin-bottom: 20px;
}

/* SPACING COMPATTO */
.hopee-card label {
  display: block;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .hopee-row.two {
    flex-direction: column;
  }

  .hopee-card {
    padding: 24px;
    border-radius: 20px;
  }
}
