body {
  font-family: 'Figtree', sans-serif;
}

.woocommerce-notices-wrapper{
  display: none !important;
}

/* Checkout sayfasında notice'ları görünür yap */
.ke-checkout-notices .woocommerce-notices-wrapper,
.ke-checkout-notices .woocommerce-error,
.ke-checkout-notices .woocommerce-message,
.ke-checkout-notices .woocommerce-notice {
  display: block !important;
}

/* Responsive Padding - Tailwind px-4 sm:px-8 md:px-16 lg:px-44 karşılığı */
.responsive-padding {
  padding-left: 1rem !important; /* 16px */
  padding-right: 1rem !important;
}

@media (min-width: 600px) {
  .responsive-padding {
    padding-left: 2rem !important; /* 32px */
    padding-right: 2rem !important;
  }
}

@media (min-width: 782px) {
  .responsive-padding {
    padding-left: 4rem !important; /* 64px */
    padding-right: 4rem !important;
  }
}

@media (min-width: 960px) {
  .responsive-padding {
    padding-left: 11rem !important; /* 176px - px-44 */
    padding-right: 11rem !important;
  }
}

/* Responsive Header Flex */
.responsive-header-flex {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}

@media (min-width: 600px) {
  .responsive-header-flex {
    flex-direction: row !important;
    gap: 0 !important;
  }
}

/* Responsive Logo */
.responsive-logo-wrapper {
  width: 100% !important;
}

.responsive-logo {
  width: 8rem !important; /* w-32 */
}

@media (min-width: 600px) {
  .responsive-logo-wrapper {
    width: auto !important;
  }
  
  .responsive-logo {
    width: 66.666667% !important; /* sm:w-2/3 */
  }
}

/* Responsive Step Wrapper */
.responsive-step-wrapper {
  width: 100% !important;
}

@media (min-width: 600px) {
  .responsive-step-wrapper {
    width: auto !important;
  }
}

/* Responsive Step Inner */
.responsive-step-inner {
  gap: 2.5rem !important; /* gap-10 */
}

@media (min-width: 600px) {
  .responsive-step-inner {
    gap: 0 !important;
  }
  
  .responsive-step-inner > * + * {
    margin-left: 1rem !important; /* space-x-4 */
  }
  
  .rtl .responsive-step-inner > * + * {
    margin-left: 0 !important;
    margin-right: 1rem !important;
  }
}

/* Step Text visibility */
.step-text-desktop {
  display: none !important;
}

.step-text-mobile {
  display: inline !important;
}

@media (min-width: 600px) {
  .step-text-desktop {
    display: inline !important;
  }
  
  .step-text-mobile {
    display: none !important;
  }
}

/* Responsive Page Flex */
.responsive-page-flex {
  flex-direction: column !important;
}

@media (min-width: 960px) {
  .responsive-page-flex {
    flex-direction: row !important;
  }
}

/* Responsive Column Width */
.responsive-column {
  width: 100% !important;
}

@media (min-width: 960px) {
  .responsive-column {
    width: 50% !important;
  }
}

/* Responsive Grid */
.responsive-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

@media (min-width: 600px) {
  .responsive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
  }
}

/* Diğer CSS Kuralları */
.entry-header{
  display: none !important;
}

.kg-checkout .input-text{
  background-color: #fff !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  padding: 10px !important;
}

.select2-container--default .select2-selection--single{
  background-color: #fff !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  padding-left: 0 !important; /* Select2 fix */
}

.woocommerce-checkout h3{
  display: none;
}

.select2-container .select2-selection--single{
  height: 40px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow{
  height: 40px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: 40px !important;
  padding-left: 10px !important;
}

.woocommerce-checkout .alignwide{
  max-width: 100% !important;
  margin: 0 !important;
}

#kg-payment li {
  list-style-type: none;
}

.payment_method_gpos label{
  display: flex;
  margin-bottom: 15px;
  gap: 8px;
}

.woocommerce-terms-and-conditions-checkbox-text{
  font-size: 13px !important;
  color: #6B7280 !important;
}

#place_order{
  margin-top: 5px;
  width: 100% !important;
  color: #fff !important;
  background-color: #4338ca !important;
  border-radius: 8px;
  padding: 12px !important;
}

.woocommerce-billing-fields__field-wrapper {
  display: block;
}

.woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-billing-fields__field-wrapper .form-row-last {
  width: 50% !important;
  display: inline-block !important;
  box-sizing: border-box !important;
  vertical-align: top !important;
  float: none !important;
}

.woocommerce-billing-fields__field-wrapper .form-row-first {
  padding-right: 8px !important;
}

.woocommerce-billing-fields__field-wrapper .form-row-last {
  padding-left: 8px !important;
}

.woocommerce-billing-fields__field-wrapper .form-row-wide {
  clear: both !important;
}

/* Ad ve Soyad alanlarının genişliğini override et */
#billing_first_name_field,
#billing_last_name_field {
  width: 50% !important;
  float: left !important;
  display: inline-block !important;
  margin-right: 0 !important;
  clear: none !important;
}

.optional{
  display: none !important;
}

.required,
abbr.required {
  display: inline !important;
  color: #ef4444 !important;
  margin-left: 2px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  border: none !important;
}

.woocommerce form .form-row label.woocommerce-form__label {
  display: inline-block !important;
}

/* Zorunlu alanlar için yıldız ekle - WooCommerce varsayılan */
.woocommerce form .form-row label.woocommerce-form__label abbr.required,
.woocommerce form .form-row label abbr.required {
  display: inline !important;
  color: #ef4444 !important;
  margin-left: 2px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  border: none !important;
  cursor: default !important;
}

/* Zorunlu alanlar için yıldız ekle - Custom span */
.woocommerce form .form-row label.woocommerce-form__label .required,
.woocommerce form .form-row label .required {
  display: inline !important;
  color: #ef4444 !important;
  margin-left: 2px !important;
  font-weight: bold !important;
}

.woocommerce-account .order-again{
  display: none !important;
}

.woocommerce-account address{
  padding: 20px !important;
  border: 1px solid #f7f7f7 !important;
}

.woocommerce table.shop_table{
  border: 1px solid #f7f7f7 !important;
}

.woocommerce-button{
  background-color:#4338ca !important;
  color: #fff !important;
}

.subscription_renewal_early{
  background-color:#4338ca !important;
  color: #fff !important;
}

.woocommerce-error{
  display: none !important;
}

/* Checkout sayfasında error mesajlarını görünür yap */
.ke-checkout-notices .woocommerce-error {
  display: block !important;
  margin-bottom: 1rem !important;
  padding: 1rem !important;
  background-color: #fee2e2 !important;
  border-left: 4px solid #ef4444 !important;
  color: #991b1b !important;
  list-style: none !important;
}

.ke-checkout-notices .woocommerce-error li {
  margin-bottom: 0.5rem !important;
}

.ke-checkout-notices .woocommerce-error li:last-child {
  margin-bottom: 0 !important;
}

.ke-checkout-notices .woocommerce-info {
  display: block !important;
  margin-bottom: 1rem !important;
  padding: 1rem !important;
}

.ke-checkout-notices ul.woocommerce-error {
  padding: 1rem !important;
}

@media (min-width: 600px) {
  .ke-checkout-notices ul.woocommerce-error {
    padding: 1.25rem !important;
  }
}

.woocommerce-error::before{
  display: none !important;
}

/* Gizlenmiş alanlar */
.hidden-field {
  display: none !important;
}

/* Readonly email alanı stili */
.readonly-email-field input {
  background-color: #f3f4f6 !important;
  cursor: not-allowed;
  color: #6b7280 !important;
}

/* Kupon formu margin fix */
.checkout_coupon,
.woocommerce-form-coupon {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin: 0 !important;
}