/**
 * Theme Name:     Choice
 * Author:         BYTE TO IT
 * Template:       blocksy
 * Text Domain:	   choice
 * Description:    Choice is a fast, modern WordPress theme with advanced WooCommerce support and full compatibility with the block editor.
 */

:root {
	/* Colors */
	--theme-palette-color-1: #00A6CE;
    --theme-palette-color-2: #B7D43B;
    --theme-palette-color-3: #FF5100;
    --theme-palette-color-4: #181510;
    --theme-palette-color-5: #333538;
    --theme-palette-color-6: #54565A;
    --theme-palette-color-7: #C4C7CA;
    --theme-palette-color-8: #F2F3F4;
    --theme-palette-color-9: #FFFFFF;

}

/**
 *
 * Custom Form
 * 
 */

 /* Layout Geral */
.custom-cf7-form {
  font-family: inherit;
  color: #2c2c2c;
  max-width: 100%;
}

.custom-cf7-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.custom-cf7-form .form-field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.custom-cf7-form .full-width {
  grid-column: 1 / -1;
}

.custom-cf7-form label {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #2c2c2c;
}

.custom-cf7-form .section-label {
  font-size: 16px;
  margin-bottom: 14px;
  display: block;
}

.custom-cf7-form .req {
  color: #ff5500;
  margin-left: 2px;
}

/* Campos de Texto e Textarea */
.custom-cf7-form input[type="text"],
.custom-cf7-form input[type="email"],
.custom-cf7-form input[type="tel"],
.custom-cf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  font-size: 15px;
  background-color: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.custom-cf7-form input:focus,
.custom-cf7-form textarea:focus {
  border-color: #333;
}

.custom-cf7-form textarea {
  height: 120px;
  resize: vertical;
}

/* Radio Buttons em Formato de Pilula (Pills) */
.custom-cf7-form .wpcf7-radio {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.custom-cf7-form .wpcf7-radio .wpcf7-list-item {
  margin: 0;
}

.custom-cf7-form .wpcf7-radio label {
  cursor: pointer;
  margin: 0;
  position: relative;
}

.custom-cf7-form .wpcf7-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.custom-cf7-form .wpcf7-radio .wpcf7-list-item-label {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid #dcdcdc;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 400;
  color: #333;
  background-color: #fff;
  transition: all 0.2s ease;
  user-select: none;
}

.custom-cf7-form .wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label {
  background-color: #33383f;
  color: #fff;
  border-color: #33383f;
}

/* Legenda e Checkboxes */
.custom-cf7-form .required-note {
  font-size: 13px;
  color: #ff5500;
  margin-bottom: 12px;
}

.custom-cf7-form .checkboxes .wpcf7-list-item,
.custom-cf7-form .checkboxes .wpcf7-acceptance {
  display: block;
  margin: 0 0 10px 0;
}

.custom-cf7-form .checkboxes label {
  font-weight: 400;
  font-size: 14px;
  color: #444;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.custom-cf7-form .checkboxes input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #33383f;
  cursor: pointer;
}

/* Botão de Submissão */
.custom-cf7-form .submit-wrap {
  margin-top: 10px;
}

.custom-cf7-form input[type="submit"] {
  background-color: #33383f;
  color: #fff;
  border: none;
  padding: 12px 38px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.custom-cf7-form input[type="submit"]:hover {
  background-color: #1a1a1a;
}

/* Ajuste Responsivo para Mobile */
@media (max-width: 640px) {
  .custom-cf7-form .form-grid {
    grid-template-columns: 1fr;
  }

  .custom-cf7-form .empty-field {
    display: none;
  }
}

/**
 *
 * Footer
 * 
 */

.ct-footer [data-column=widget-area-2] {
    max-width: 440px;
}

.footer-block ul li a {
    font-size: 14px !important;
    line-height: 17px !important;
}

.footer-block ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-newsletter .wpcf7 input[type="email"] {
    background-color: var(--theme-palette-color-9);
    border-radius: 6px;
    border: 1px solid var(--theme-palette-color-7);
    color: var(--theme-palette-color-5);
    height: 44px;
}

.footer-newsletter p {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-newsletter .wpcf7-form-control-wrap {
    width: calc(100% - 142px) !important;
}

.footer-newsletter .wpcf7-submit {
    background-color: var(--theme-palette-color-1);
    color: var(--theme-palette-color-9) !important;
}

.footer-newsletter .wpcf7-submit:hover {
    background-color: var(--theme-palette-color-9);
    color: var(--theme-palette-color-5) !important;
}


