/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
.woocommerce-message a.button.wc-forward {
    font-size: 16px!important;
    font-weight: 600!important;
}
.woocommerce-message a.button.wc-forward:hover {
    color: var(--gcid-primary-color);
}

/* ============================================
   VoolugaKaasa — Contact Form 7 stiil
   Lisa see WordPressi: Välimus → Kohanda →
   Lisa-CSS (Additional CSS), või teema style.css
   ============================================ */

/* Vormi paigutus: Nimi + E-post kõrvuti, ülejäänud täislaiuses */
.wpcf7 form.wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.wpcf7 .hidden-fields-container {
  display: none;
}

.wpcf7 .field-phone,
.wpcf7 .field-message,
.wpcf7 form.wpcf7-form > p,
.wpcf7 .wpcf7-response-output {
  grid-column: 1 / -1;
}

.wpcf7 .field-name p,
.wpcf7 .field-mail p,
.wpcf7 .field-phone p,
.wpcf7 .field-message p,
.wpcf7 form.wpcf7-form > p {
  margin: 0;
}

/* Sildid (Nimi, E-post jne) */
.wpcf7 form.wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #16283C;
}

/* Sisestusväljad */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.wpcf7 input.wpcf7-text,
.wpcf7 input.wpcf7-email,
.wpcf7 textarea.wpcf7-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #d5dbe2;
  border-radius: 12px;
  padding: 15px 16px;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  color: #16283C;
  background: #fbfcfd;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wpcf7 textarea.wpcf7-textarea {
  min-height: 160px;
  resize: vertical;
}

.wpcf7 input.wpcf7-text::placeholder,
.wpcf7 input.wpcf7-email::placeholder,
.wpcf7 textarea.wpcf7-textarea::placeholder {
  color: #9aa6b3;
}

.wpcf7 input.wpcf7-text:focus,
.wpcf7 input.wpcf7-email:focus,
.wpcf7 textarea.wpcf7-textarea:focus {
  outline: none;
  border-color: #2E7D32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

/* Saada-nupp — roheline pill */
.wpcf7 input.wpcf7-submit {
  display: inline-block;
  width: auto;
  background: #2E7D32;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  padding: 18px 36px;
  margin-top: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.wpcf7 input.wpcf7-submit:hover {
  background: #256628;
}

.wpcf7 input.wpcf7-submit:disabled {
  background: #9dbfa0;
  cursor: default;
}

/* Laadimisspinner nupu kõrvale */
.wpcf7 .wpcf7-spinner {
  margin: 0 0 0 12px;
  vertical-align: middle;
}

/* Valideerimisvead välja all */
.wpcf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: bold;
  text-transform: none;
  letter-spacing: 0;
  color: #b03434;
}

.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
  border-color: #b03434;
}

/* Vastuse teated */
.wpcf7 .wpcf7-response-output {
  margin: 0;
  border: none;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: bold;
}

/* Õnnestumine */
.wpcf7 form.sent .wpcf7-response-output {
  background: #e7f2e8;
  color: #2E7D32;
}

/* Viga / valideerimine ebaõnnestus / rämpspost */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  background: #fdeeee;
  color: #b03434;
}

.grecaptcha-badge {
    visibility: hidden!important;
}

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
  
}
 
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
 
}
 
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
 
}
 
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
 
}
 
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
    .wpcf7 form.wpcf7-form {
        grid-template-columns: 1fr;
    }
}
 
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
    img.alignright {
        display: block;
        float: none;
        margin: 0 0 1em 0;
    }
}