/* =========================================================
   BÜROMOTTO GLOBAL CONTRAST FIX v1.0.0
   Beyaz alanların birbirinden daha net ayrılması için
========================================================= */

:root {
  --bmgc-page-bg: #f5f6f8;
  --bmgc-card-bg: #ffffff;
  --bmgc-border: rgba(16, 24, 32, .115);
  --bmgc-border-soft: rgba(16, 24, 32, .09);
  --bmgc-shadow: 0 18px 48px rgba(16, 24, 32, .085);
  --bmgc-shadow-soft: 0 12px 34px rgba(16, 24, 32, .065);
}

/* Genel sayfa arka planı çok hafif gri olsun */
body,
.site,
.site-main,
#main,
.ct-container-full,
.ct-container {
  background-color: var(--bmgc-page-bg) !important;
}

/* Header ve footer kendi yapısını korusun */
header,
.site-header,
#header,
footer,
.site-footer {
  background-color: initial;
}

/* Genel kart/kutu alanlarını daha net ayır */
body .woocommerce-cart-form,
body .cart_totals,
body .woocommerce-checkout-review-order,
body .woocommerce-billing-fields,
body .woocommerce-shipping-fields,
body .woocommerce-additional-fields,
body .woocommerce-MyAccount-navigation,
body .woocommerce-MyAccount-content,
body .bmpcc-card,
body .bmpcc-cart-card,
body .bmpcc-summary-card,
body .bmpcc-checkout-card,
body .bmpcc-thankyou-card,
body .bmpma-nav,
body .bmpma-welcome,
body .bmpma-page-block,
body .bmpma-stat-card,
body .bmpma-action-card,
body .bmpma-address-card,
body .bmpma-order-card,
body .bmp404-content,
body .bmp404-card,
body .bmp404-categories,
body .bmp404-help,
body .bmsp-trust-item,
body .bmsp-cart-note,
body.single-product div.product .summary,
body.single-product div.product .woocommerce-product-gallery,
body.single-product .bmsp-feature-card,
body.single-product .related.products li.product,
body .products li.product,
body .bmpshop-card,
body .bmpshop-toolbar,
body .bmpshop-archive-hero {
  background-color: var(--bmgc-card-bg) !important;
  border-color: var(--bmgc-border) !important;
  box-shadow: var(--bmgc-shadow) !important;
}

/* İç kartlarda soft ama görünür ayrım */
body .bmsp-trust-item,
body .bmpma-stat-card,
body .bmpma-action-card,
body .bmpma-address-card,
body .bmpma-order-card,
body .bmpcc-item,
body .bmpcc-row,
body .bmpcc-field-card,
body .bmpshop-card,
body .products li.product {
  border: 1px solid var(--bmgc-border-soft) !important;
  box-shadow: var(--bmgc-shadow-soft) !important;
}

/* Sepet/checkout satır ayrımları */
body .woocommerce table.shop_table,
body .woocommerce table.shop_table td,
body .woocommerce table.shop_table th,
body .cart_totals table,
body .woocommerce-checkout-review-order-table {
  border-color: rgba(16, 24, 32, .11) !important;
}

/* Form inputları daha net görünsün */
body input,
body select,
body textarea,
body .select2-selection {
  border-color: rgba(16, 24, 32, .14) !important;
  background-color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(16, 24, 32, .035) !important;
}

body input:focus,
body select:focus,
body textarea:focus,
body .select2-container--open .select2-selection {
  border-color: rgba(217, 103, 103, .42) !important;
  box-shadow: 0 0 0 4px rgba(217, 103, 103, .09) !important;
  outline: none !important;
}

/* Header alt çizgisi daha net ama sert değil */
header,
.site-header,
#header {
  border-bottom: 1px solid rgba(16, 24, 32, .08) !important;
}

/* Ürün sayfası sağ/sol ana bloklar daha belirgin */
body.single-product div.product .summary,
body.single-product div.product .woocommerce-product-gallery {
  border: 1px solid rgba(16, 24, 32, .12) !important;
}

/* Footer bölgesi gereksiz gölge almasın */
footer *,
.site-footer * {
  box-shadow: none;
}

/* Mobilde çok ağır görünmesin */
@media (max-width: 768px) {
  :root {
    --bmgc-shadow: 0 12px 34px rgba(16, 24, 32, .07);
    --bmgc-shadow-soft: 0 8px 24px rgba(16, 24, 32, .055);
  }

  body .woocommerce-cart-form,
  body .cart_totals,
  body .woocommerce-checkout-review-order,
  body .woocommerce-billing-fields,
  body .woocommerce-MyAccount-navigation,
  body .woocommerce-MyAccount-content,
  body.single-product div.product .summary,
  body.single-product div.product .woocommerce-product-gallery {
    border-color: rgba(16, 24, 32, .105) !important;
  }
}
