/*
Theme Name: Divi child theme
Theme URI: https://upward.hu
description: Divi Child Theme
Author: Upward
Author URI: https://upward.hu
Template: Divi
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: divi-child
*/

@import url('../Divi/style.css');

.wpcf7 .wpcf7-form {
  margin: 0 auto;
  font-family: "Open Sans", Arial, sans-serif;
  color: #222;
}

.wpcf7 .wpcf7-form h4 {
  margin: 30px 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: #1e73be;
}

.wpcf7 .wpcf7-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

.wpcf7 .cf-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.wpcf7 .col-1 { flex: 0 0 100%; }
.wpcf7 .col-2 { flex: 0 0 calc(50% - 10px); }
.wpcf7 .col-3 { flex: 0 0 calc(33.333% - 13.333px); }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="number"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02) inset;
  background: #fff;
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
  resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #1e73be;
  box-shadow: 0 6px 20px rgba(30,115,190,0.08);
}

.wpcf7 ::-webkit-input-placeholder { opacity: 0.6; }
.wpcf7 ::-moz-placeholder { opacity: 0.6; }
.wpcf7 :-ms-input-placeholder { opacity: 0.6; }

.wpcf7 .wpcf7-validates-as-required::after {
  content: " *";
  color: #d33;
  font-weight: 700;
  margin-left: 4px;
}

.wpcf7 textarea {
  min-height: 130px;
  line-height: 1.4;
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #d33;
  font-size: 13px;
  margin-top: 6px;
  display: block;
}

.wpcf7 .wpcf7-mail-sent-ok,
.wpcf7 .wpcf7-mail-failed,
.wpcf7 .wpcf7-validation-errors {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.wpcf7 .wpcf7-mail-sent-ok {
  background: #e9f7ef;
  color: #145a32;
  border: 1px solid rgba(20,90,50,0.08);
}

.wpcf7 .wpcf7-mail-failed,
.wpcf7 .wpcf7-validation-errors {
  background: #fff0f0;
  color: #8a1f1f;
  border: 1px solid rgba(138,31,31,0.06);
}

.wpcf7 .wpcf7-submit {
  display: inline-block;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  background: linear-gradient(180deg,#1e73be 0%, #155a9a 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(30,115,190,0.18);
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
  margin-top: 8px;
}

.wpcf7 .wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(30,115,190,0.18); }
.wpcf7 .wpcf7-submit:active { transform: translateY(0); }

.wpcf7 .wpcf7-submit.et_pb_button {
  padding: 12px 44px;
  border-radius: 30px;
}

.et-cart-info {
	display: none !important;
}

.woocommerce form .form-row {
	display: block;
}

.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
	width: 100%;
}

.woocommerce-additional-fields {
	display: none;
}

#order_review_heading {
	margin-top: 50px;
}

.woocommerce form .form-row select.select,
.woocommerce form .form-row textarea.input-text {
    -webkit-appearance: none;
    background-color: #eee;
    max-width: 100%;
    border-width: 0;
    border-radius: 0;
    color: #333;
    font-size: 14px;
    padding: 16px;
    line-height: 1.7em;
    border-style: solid;
}

.woocommerce-NoticeGroup-checkout .woocommerce-error * {
	color: white !important;
}

#payment {
	margin-bottom: 100px;
}

.woocommerce-notices-wrapper .button.wc-forward {
  display: none !important;
}

@media (max-width: 780px) {
  .wpcf7 .col-2, .wpcf7 .col-3 { flex: 0 0 100%; }
  .wpcf7 .cf-row { gap: 12px; }
}