/*
Theme Name: Modestra-Child
Text Domain: modestra-child
Description: Modern Retina ready Responsive WordPress Blog Theme
License: GNU General Public License v2.0 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: modestra
Tags: one-column, two-columns, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, theme-options, translation-ready
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

/* checkout sayfası shrtcode için uyarlama */
@media (min-width: 1024px) {
	.custom-checkout-wrapper .woocommerce {
	  display: grid;
	}

	.woocommerce > form.checkout #customer_details {
	  width: 50%;
	  padding-right: 30px;
	  float: left;
	}

	.woocommerce > form.checkout #order_review_heading {
	  padding: 30px 30px 0;
	  margin: 0;
	  border: 1px solid;
	  border-radius: 5px;
	  border-color: #4c4c4c;
	  border-bottom-width: 0;
	  border-bottom-left-radius: 0;
	  border-bottom-right-radius: 0;
	}
	.woocommerce > form.checkout #order_review_heading, .woocommerce > form.checkout #order_review {
	  width: 40%;
	  float: right;
	}

	.woocommerce > form.checkout #order_review {
	  padding: 30px;
	  border: 1px solid;
	  border-radius: 5px;
	  border-color: #4c4c4c;
	  border-top-width: 0;
	  border-top-left-radius: 0;
	  border-top-right-radius: 0;
	}

	.woocommerce-page table.shop_table {
	  width: 100%;
	  border-collapse: collapse;
	}

	.woocommerce table.shop_table {
	  border: 0;
	}

	.woocommerce-checkout #payment {
	background: none;
	}

	#order_review .shop_table.woocommerce-checkout-review-order-table th:last-child, #order_review .shop_table.woocommerce-checkout-review-order-table td:last-child {
	  text-align: end;
	}

	.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1 {
		float: none;
		width: 100%;
	}
	
	.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
    float: none;
    width: 100%;
	}
}




/* Temel form düzeni */
.wpcf7-form {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);

}

/* Form içi grupları (satır bazlı düzen) */
.wpcf7-form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.wpcf7-form-row .wpcf7-form-group {
  flex: 1;
  min-width: 0;
}

/* Giriş ve textarea stilleri */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #fafafa;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* Focus efekti */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  border-color: #007cba;
  box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.2);
  outline: none;
  background-color: #fff;
}

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

/* Gönder butonu */
.wpcf7-form input[type="submit"] {
  background-color: #007cba;
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #005f94;
}

/* Mobil uyumluluk */
@media (max-width: 600px) {
  .wpcf7-form-row {
    flex-direction: column;
  }
}







/* ürün detayında domain form düzeni */
.wapf {
  margin: inherit;
}

.wapf-wrapper {
  width: auto;
  margin: 0 auto;
  background: #ffffff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Satır: Her input kendi satırında */
.wapf-field-row {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Etiketleri gizle (boş oldukları için) */
.wapf-field-label {
  display: none;
}

/* Input stilini CF7'ye benzet */
.wapf-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #fafafa;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.wapf-input:focus {
  border-color: #007cba;
  box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.2);
  outline: none;
  background-color: #fff;
}

/* Responsive davranış (isteğe bağlı) */
@media (max-width: 768px) {
  .wapf-wrapper {
    padding: 30px 20px;
  }
}





/* ödeme sayfası domain liste düzeni */
.woocommerce td.product-name .wc-item-meta p, .woocommerce td.product-name .wc-item-meta:last-child, .woocommerce td.product-name dl.variation p, .woocommerce td.product-name dl.variation:last-child {
	margin: auto;
    font-size: small;
}

/* sepet sayfası ürün açıklaması gizle */
.wc-block-components-product-metadata__description {
	display: none;
}

.woocommerce.wc-block-store-notices.alignwide {
    max-width: 1180px;
}






/* yeni üye giriş kayıt sayfası  */
.woocommerce-account main .woocommerce {
    max-width: 100%;
}

@media (min-width: 768px) {

	.woocommerce .u-columns .u-column1, .woocommerce-page .col2-set .u-column1 {
		float: left!important;
		width: 48%!important;
	}

	.woocommerce .u-columns .u-column2, .woocommerce-page .col2-set .u-column2 {
		float: right!important;
		width: 48%!important;
	}

}




/* ödeme sayfası paytr popup gizleme */
.payment_box.payment_method_paytr_payment_gateway {
    display: none !important;
}

/* ödeme sayfası ek bilgi gizleme*/
.woocommerce-additional-fields h3 {
    display:none;
}

