/*
 * MsM WooCore v8.24 - Otomatik içerik tablo stili / görünür border düzeltmesi
 * Ürün/sayfa/yazı/kategori içerik tablolarını okunaklı hale getirir.
 * WooCommerce'in işlevsel shop_table, variations ve group_table tabloları kapsam dışıdır.
 */

.msm-entry-content table:not(.shop_table):not(.variations):not(.group_table),
.entry-content table:not(.shop_table):not(.variations):not(.group_table),
.woocommerce-Tabs-panel table:not(.shop_table):not(.variations):not(.group_table),
.woocommerce-product-details__short-description table:not(.shop_table):not(.variations):not(.group_table),
.term-description table:not(.shop_table):not(.variations):not(.group_table),
.msm-category-seo-content table:not(.shop_table):not(.variations):not(.group_table) {
  width:100%;
  max-width:100%;
  margin:18px 0;
  border-collapse:collapse!important;
  border-spacing:0!important;
  border:1px solid #cfd4da!important;
  border-radius:8px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 3px 12px rgba(24,32,42,.045);
  color:var(--msm-text,#222);
  font-size:14px;
  line-height:1.45;
}

.msm-entry-content table:not(.shop_table):not(.variations):not(.group_table) th,
.msm-entry-content table:not(.shop_table):not(.variations):not(.group_table) td,
.entry-content table:not(.shop_table):not(.variations):not(.group_table) th,
.entry-content table:not(.shop_table):not(.variations):not(.group_table) td,
.woocommerce-Tabs-panel table:not(.shop_table):not(.variations):not(.group_table) th,
.woocommerce-Tabs-panel table:not(.shop_table):not(.variations):not(.group_table) td,
.woocommerce-product-details__short-description table:not(.shop_table):not(.variations):not(.group_table) th,
.woocommerce-product-details__short-description table:not(.shop_table):not(.variations):not(.group_table) td,
.term-description table:not(.shop_table):not(.variations):not(.group_table) th,
.term-description table:not(.shop_table):not(.variations):not(.group_table) td,
.msm-category-seo-content table:not(.shop_table):not(.variations):not(.group_table) th,
.msm-category-seo-content table:not(.shop_table):not(.variations):not(.group_table) td {
  padding:11px 13px;
  text-align:left;
  vertical-align:middle;
  border:1px solid #d7dbe0!important;
  overflow-wrap:anywhere;
  word-break:normal;
}

.msm-entry-content table:not(.shop_table):not(.variations):not(.group_table) thead th,
.entry-content table:not(.shop_table):not(.variations):not(.group_table) thead th,
.woocommerce-Tabs-panel table:not(.shop_table):not(.variations):not(.group_table) thead th,
.woocommerce-product-details__short-description table:not(.shop_table):not(.variations):not(.group_table) thead th,
.term-description table:not(.shop_table):not(.variations):not(.group_table) thead th,
.msm-category-seo-content table:not(.shop_table):not(.variations):not(.group_table) thead th {
  background:#eef0f2!important;
  color:#25282c;
  font-weight:800;
}

.msm-entry-content table:not(.shop_table):not(.variations):not(.group_table) tbody tr:nth-child(odd) > *,
.entry-content table:not(.shop_table):not(.variations):not(.group_table) tbody tr:nth-child(odd) > *,
.woocommerce-Tabs-panel table:not(.shop_table):not(.variations):not(.group_table) tbody tr:nth-child(odd) > *,
.woocommerce-product-details__short-description table:not(.shop_table):not(.variations):not(.group_table) tbody tr:nth-child(odd) > *,
.term-description table:not(.shop_table):not(.variations):not(.group_table) tbody tr:nth-child(odd) > *,
.msm-category-seo-content table:not(.shop_table):not(.variations):not(.group_table) tbody tr:nth-child(odd) > * {
  background:#fff!important;
}

.msm-entry-content table:not(.shop_table):not(.variations):not(.group_table) tbody tr:nth-child(even) > *,
.entry-content table:not(.shop_table):not(.variations):not(.group_table) tbody tr:nth-child(even) > *,
.woocommerce-Tabs-panel table:not(.shop_table):not(.variations):not(.group_table) tbody tr:nth-child(even) > *,
.woocommerce-product-details__short-description table:not(.shop_table):not(.variations):not(.group_table) tbody tr:nth-child(even) > *,
.term-description table:not(.shop_table):not(.variations):not(.group_table) tbody tr:nth-child(even) > *,
.msm-category-seo-content table:not(.shop_table):not(.variations):not(.group_table) tbody tr:nth-child(even) > * {
  background:#f6f7f8!important;
}

/* Thead kullanılmayan, ilk satırı TH olarak hazırlanmış eski içerik tabloları. */
.msm-entry-content table:not(.shop_table):not(.variations):not(.group_table) tbody tr:first-child > th,
.entry-content table:not(.shop_table):not(.variations):not(.group_table) tbody tr:first-child > th,
.woocommerce-Tabs-panel table:not(.shop_table):not(.variations):not(.group_table) tbody tr:first-child > th,
.woocommerce-product-details__short-description table:not(.shop_table):not(.variations):not(.group_table) tbody tr:first-child > th,
.term-description table:not(.shop_table):not(.variations):not(.group_table) tbody tr:first-child > th,
.msm-category-seo-content table:not(.shop_table):not(.variations):not(.group_table) tbody tr:first-child > th {
  background:#eef0f2!important;
  color:#25282c;
  font-weight:800;
}

.msm-entry-content table:not(.shop_table):not(.variations):not(.group_table) tbody tr:hover > *,
.entry-content table:not(.shop_table):not(.variations):not(.group_table) tbody tr:hover > *,
.woocommerce-Tabs-panel table:not(.shop_table):not(.variations):not(.group_table) tbody tr:hover > *,
.woocommerce-product-details__short-description table:not(.shop_table):not(.variations):not(.group_table) tbody tr:hover > *,
.term-description table:not(.shop_table):not(.variations):not(.group_table) tbody tr:hover > *,
.msm-category-seo-content table:not(.shop_table):not(.variations):not(.group_table) tbody tr:hover > * {
  background:#f1f3f5!important;
}

@media (max-width:640px) {
  .msm-entry-content table:not(.shop_table):not(.variations):not(.group_table),
  .entry-content table:not(.shop_table):not(.variations):not(.group_table),
  .woocommerce-Tabs-panel table:not(.shop_table):not(.variations):not(.group_table),
  .woocommerce-product-details__short-description table:not(.shop_table):not(.variations):not(.group_table),
  .term-description table:not(.shop_table):not(.variations):not(.group_table),
  .msm-category-seo-content table:not(.shop_table):not(.variations):not(.group_table) {
    margin:14px 0;
    font-size:13px;
    border-radius:7px;
  }

  .msm-entry-content table:not(.shop_table):not(.variations):not(.group_table) th,
  .msm-entry-content table:not(.shop_table):not(.variations):not(.group_table) td,
  .entry-content table:not(.shop_table):not(.variations):not(.group_table) th,
  .entry-content table:not(.shop_table):not(.variations):not(.group_table) td,
  .woocommerce-Tabs-panel table:not(.shop_table):not(.variations):not(.group_table) th,
  .woocommerce-Tabs-panel table:not(.shop_table):not(.variations):not(.group_table) td,
  .woocommerce-product-details__short-description table:not(.shop_table):not(.variations):not(.group_table) th,
  .woocommerce-product-details__short-description table:not(.shop_table):not(.variations):not(.group_table) td,
  .term-description table:not(.shop_table):not(.variations):not(.group_table) th,
  .term-description table:not(.shop_table):not(.variations):not(.group_table) td,
  .msm-category-seo-content table:not(.shop_table):not(.variations):not(.group_table) th,
  .msm-category-seo-content table:not(.shop_table):not(.variations):not(.group_table) td {
    padding:9px 10px;
  }
}


/* v8.24 - WooCommerce ürün açıklaması tablolarında border kesin görünür olsun.
 * Tema/WooCommerce reset CSS'i ve editörden gelen border=0 / inline border kurallarını ezer.
 */
.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel table:not(.shop_table):not(.variations):not(.group_table),
.single-product div.product .woocommerce-tabs .panel table:not(.shop_table):not(.variations):not(.group_table),
.single-product .woocommerce-Tabs-panel--description table:not(.shop_table):not(.variations):not(.group_table) {
  width:100%!important;
  max-width:100%!important;
  border-collapse:collapse!important;
  border-spacing:0!important;
  border:1px solid #cbd1d8!important;
  background:#fff!important;
}

.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel table:not(.shop_table):not(.variations):not(.group_table) th,
.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel table:not(.shop_table):not(.variations):not(.group_table) td,
.single-product div.product .woocommerce-tabs .panel table:not(.shop_table):not(.variations):not(.group_table) th,
.single-product div.product .woocommerce-tabs .panel table:not(.shop_table):not(.variations):not(.group_table) td,
.single-product .woocommerce-Tabs-panel--description table:not(.shop_table):not(.variations):not(.group_table) th,
.single-product .woocommerce-Tabs-panel--description table:not(.shop_table):not(.variations):not(.group_table) td {
  border:1px solid #d3d8de!important;
  padding:11px 13px!important;
  background-clip:padding-box!important;
}

.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel table:not(.shop_table):not(.variations):not(.group_table) tbody tr:nth-child(odd) > *,
.single-product div.product .woocommerce-tabs .panel table:not(.shop_table):not(.variations):not(.group_table) tbody tr:nth-child(odd) > * {
  background:#fff!important;
}
.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel table:not(.shop_table):not(.variations):not(.group_table) tbody tr:nth-child(even) > *,
.single-product div.product .woocommerce-tabs .panel table:not(.shop_table):not(.variations):not(.group_table) tbody tr:nth-child(even) > * {
  background:#f4f5f6!important;
}

/* Gutenberg tablo bloğu ve klasik editör tabloları mobilde panel dışına taşmasın. */
.single-product .woocommerce-tabs figure.wp-block-table {
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
