/* MsM WooCore v8.14 - Pendikshop geliştirmeleri */

/* 1) Ana navigasyon: glass hover, ince dropdown ve aktif çizgi */
@media (min-width: 901px) {
  body .msm-header nav > ul > li > a,
  body .msm-header nav > .msm-container > ul > li > a,
  body .msm-header nav [class*="nav-inner"] > ul > li > a,
  body .msm-header nav .msm-primary-menu > li > a,
  body .msm-header nav .menu > li > a,
  body .msm-header nav .product-categories > li > a,
  body .msm-header nav .msm-js-dropdown-menu > li > a {
    position: relative !important;
    border: 1px solid transparent !important;
    background: rgba(255,255,255,.055) !important;
    -webkit-backdrop-filter: blur(9px) saturate(135%);
    backdrop-filter: blur(9px) saturate(135%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease !important;
  }

  body .msm-header nav > ul > li:hover > a,
  body .msm-header nav > .msm-container > ul > li:hover > a,
  body .msm-header nav [class*="nav-inner"] > ul > li:hover > a,
  body .msm-header nav .msm-primary-menu > li:hover > a,
  body .msm-header nav .menu > li:hover > a,
  body .msm-header nav .product-categories > li:hover > a,
  body .msm-header nav .msm-js-dropdown-menu > li:hover > a,
  body .msm-header nav li:focus-within > a,
  body .msm-header nav li.msm-menu-click-open > a,
  body .msm-header nav li.msm-menu-hover-open > a {
    background: color-mix(in srgb, #fff 15%, transparent) !important;
    border-color: color-mix(in srgb, #fff 30%, transparent) !important;
    color: inherit !important;
    transform: translateY(-1px) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 22px rgba(0,0,0,.08) !important;
  }

  /* Açılır menüsü olan ana kategori dahil tüm aktif/hover öğelerde alt çizgi. */
  body .msm-header nav > ul > li::after,
  body .msm-header nav > .msm-container > ul > li::after,
  body .msm-header nav [class*="nav-inner"] > ul > li::after,
  body .msm-header nav .msm-primary-menu > li::after,
  body .msm-header nav .menu > li::after,
  body .msm-header nav .product-categories > li::after,
  body .msm-header nav .msm-js-dropdown-menu > li::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 1px;
    height: 2px;
    border-radius: 999px;
    opacity: 0;
    transform: scaleX(.35);
    transform-origin: center;
    background: linear-gradient(90deg,var(--msm-secondary,#ffc400),var(--msm-primary,#ec1b8c));
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
    z-index: 3;
  }
  body .msm-header nav > ul > li:hover::after,
  body .msm-header nav > .msm-container > ul > li:hover::after,
  body .msm-header nav [class*="nav-inner"] > ul > li:hover::after,
  body .msm-header nav .msm-primary-menu > li:hover::after,
  body .msm-header nav .menu > li:hover::after,
  body .msm-header nav .product-categories > li:hover::after,
  body .msm-header nav .msm-js-dropdown-menu > li:hover::after,
  body .msm-header nav > ul > li.current-menu-item::after,
  body .msm-header nav > ul > li.current-menu-parent::after,
  body .msm-header nav > ul > li.current-menu-ancestor::after,
  body .msm-header nav .msm-primary-menu > li.current-menu-item::after,
  body .msm-header nav .msm-primary-menu > li.current-menu-parent::after,
  body .msm-header nav .msm-primary-menu > li.current-menu-ancestor::after,
  body .msm-header nav .product-categories > li.current-cat::after,
  body .msm-header nav .product-categories > li.current-cat-parent::after,
  body .msm-header nav li.msm-menu-click-open::after,
  body .msm-header nav li.msm-menu-hover-open::after {
    opacity: 1;
    transform: scaleX(1);
  }

  body .msm-header nav ul ul,
  body .msm-header nav .sub-menu,
  body .msm-header nav .children {
    background: color-mix(in srgb, var(--msm-menu-bg,#111) 78%, transparent) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 22px 50px rgba(0,0,0,.22) !important;
    padding: 6px 7px !important;
  }
  body .msm-header nav ul ul a,
  body .msm-header nav .sub-menu a,
  body .msm-header nav .children a {
    min-height: 34px !important;
    padding: 6px 9px !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.035) !important;
    border: 1px solid transparent !important;
    line-height: 1.15 !important;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease !important;
  }
  body .msm-header nav ul ul > li:not(:last-child) > a,
  body .msm-header nav .sub-menu > li:not(:last-child) > a,
  body .msm-header nav .children > li:not(:last-child) > a {
    border-bottom-color: rgba(255,255,255,.12) !important;
  }
  body .msm-header nav ul ul a:hover,
  body .msm-header nav .sub-menu a:hover,
  body .msm-header nav .children a:hover,
  body .msm-header nav ul ul li:focus-within > a,
  body .msm-header nav .sub-menu li:focus-within > a,
  body .msm-header nav .children li:focus-within > a {
    background: rgba(255,255,255,.105) !important;
    border-color: rgba(255,255,255,.16) !important;
    color: var(--msm-secondary,#ffc400) !important;
    transform: translateX(1px) !important;
  }
}

/* 2) Ürün kartı Sepete Ekle: FastShop benzeri glass */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .msm-add-to-cart-button {
  border: 1px solid color-mix(in srgb,var(--msm-primary,#ec1b8c) 34%,var(--msm-border,#eee)) !important;
  border-radius: 5px !important;
  background: color-mix(in srgb,#fff 66%,transparent) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 8px 18px rgba(0,0,0,.08) !important;
}
.woocommerce ul.products li.product .msm-add-to-cart-button:hover,
.woocommerce ul.products li.product .button:hover {
  background: color-mix(in srgb,var(--msm-primary,#ec1b8c) 9%,#fff 91%) !important;
  border-color: color-mix(in srgb,var(--msm-primary,#ec1b8c) 58%,var(--msm-border,#eee)) !important;
  transform: translateY(-1px) !important;
}

/* 3) Güven kutuları: şeffaf glass kart + yarısı dışarı taşan ikon */
.msm-trust-banners {
  padding-top: calc(var(--msm-trust-icon-size,56px) / 2 + 4px);
}
.msm-trust-banner,
.msm-trust-banner:nth-child(2),
.msm-trust-banner:nth-child(3),
.msm-trust-banner:nth-child(4) {
  overflow: visible !important;
  min-height: 118px !important;
  padding: calc(var(--msm-trust-icon-size,56px) / 2 + 15px) 18px 18px !important;
  align-items: center !important;
  background: linear-gradient(135deg,rgba(255,255,255,.72),rgba(255,255,255,.38)) !important;
  border: 1px solid color-mix(in srgb,var(--msm-primary,#ec1b8c) 16%,rgba(255,255,255,.72)) !important;
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  backdrop-filter: blur(16px) saturate(135%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 14px 36px rgba(0,0,0,.07) !important;
}
.msm-trust-banner::before { display:none !important; }
.msm-trust-banner-icon {
  width: var(--msm-trust-icon-size,56px);
  height: var(--msm-trust-icon-size,56px);
  position: absolute;
  left: 50%;
  top: calc(var(--msm-trust-icon-size,56px) / -2);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--msm-trust-icon-color,var(--msm-primary,#ec1b8c));
  background: color-mix(in srgb,var(--msm-trust-icon-bg,#fff) 72%,transparent);
  border: 1px solid rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 24px rgba(0,0,0,.12);
  z-index: 4;
}
.msm-trust-banner-icon svg { width: 54%; height: 54%; display:block; }
.msm-trust-banner-icon img { width: 62%; height: 62%; object-fit:contain; display:block; }
.msm-trust-banner > div { width:100%; text-align:center; }

/* 4-5) Kategori başlığı + sıralama / sayfada göster + SEO tanıtım yazısı */
body.tax-product_cat .woocommerce-products-header {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 10px 16px;
  margin-top: 14px !important;
  margin-bottom: 5px !important;
}
body.tax-product_cat .woocommerce-products-header > h1,
body.tax-product_cat .woocommerce-products-header > .page-title,
body.tax-product_cat .woocommerce-products-header > .woocommerce-products-header__title {
  grid-column: 1;
  grid-row: 1;
  min-width:0;
  margin: 0 !important;
}
body.tax-product_cat .msm-archive-controls {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width:0;
}
body.tax-product_cat .msm-archive-controls .msm-archive-ordering,
body.tax-product_cat .msm-archive-controls .woocommerce-ordering {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  display:block !important;
}
body.tax-product_cat .msm-archive-controls .woocommerce-ordering select,
body.tax-product_cat .msm-products-per-page select {
  min-height: 38px;
  width: auto !important;
  max-width: 230px;
  border: 1px solid color-mix(in srgb,var(--msm-border,#eee) 78%,var(--msm-primary,#ec1b8c));
  border-radius: 8px;
  background: color-mix(in srgb,#fff 72%,transparent);
  color:var(--msm-text,#222);
  padding: 7px 30px 7px 10px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
body.tax-product_cat .msm-products-per-page {
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0;
  white-space:nowrap;
}
body.tax-product_cat .msm-products-per-page label {
  font-size:12px;
  font-weight:750;
  color:var(--msm-muted,#666);
}
body.tax-product_cat .woocommerce-products-header > .term-description,
body.tax-product_cat .woocommerce-products-header > .woocommerce-products-header__description,
body.tax-product_cat .woocommerce-products-header > .msm-category-seo {
  grid-column: 1 / -1;
  width: 100% !important;
  margin: 3px 0 0 !important;
}
body.tax-product_cat .woocommerce-result-count {
  margin-top: 4px !important;
  margin-bottom: 5px !important;
}
body.tax-product_cat .woocommerce ul.products,
body.tax-product_cat.woocommerce ul.products {
  margin-top: 8px !important;
}
.msm-category-seo {
  position:relative;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb,var(--msm-border,#eee) 78%,var(--msm-primary,#ec1b8c));
  background: color-mix(in srgb,#fff 70%,transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.msm-category-seo-content {
  position:relative;
  line-height:1.68;
  max-height: 8.4em; /* yaklaşık 5 satır */
  overflow:hidden;
  overflow-wrap:anywhere;
  transition:max-height .24s ease;
}
.msm-category-seo.is-expanded .msm-category-seo-content { max-height:none; }
.msm-category-seo.is-collapsible:not(.is-expanded) .msm-category-seo-content::after {
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:2.4em;
  pointer-events:none;
  background:linear-gradient(transparent,color-mix(in srgb,#fff 92%,transparent));
}
.msm-category-seo-toggle {
  display:none;
  margin:8px auto 0;
  border:1px solid color-mix(in srgb,var(--msm-primary,#ec1b8c) 30%,var(--msm-border,#eee));
  border-radius:8px;
  padding:7px 11px;
  background:rgba(255,255,255,.55);
  color:var(--msm-text,#222);
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.msm-category-seo.is-collapsible .msm-category-seo-toggle { display:inline-flex; }
.msm-category-seo-less { display:none; }
.msm-category-seo.is-expanded .msm-category-seo-more { display:none; }
.msm-category-seo.is-expanded .msm-category-seo-less { display:inline; }

/* 6) İngilizce bayrak: gerçek Union Jack SVG, mobil/desktop sabit hizalama */
.msm-language-current .msm-flag-en,
.msm-language-dropdown .msm-flag-en {
  padding:0 !important;
  background:#012169 !important;
}
.msm-flag-en .msm-union-jack {
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover;
}
.msm-language-current,
.msm-language-dropdown a { align-items:center !important; }

/* 7) Ürün detay meta: çok etiket/kategori/marka taşmasını önle, glass chip */
.single-product div.product .product_meta {
  min-width:0;
  align-items:flex-start;
}
.single-product div.product .product_meta > span,
.single-product div.product .product_meta .posted_in,
.single-product div.product .product_meta .tagged_as,
.single-product div.product .product_meta .sku_wrapper,
.single-product div.product .product_meta .brands,
.single-product div.product .product_meta .brand {
  max-width:100%;
  min-width:0;
  flex: 0 1 auto;
  flex-wrap:wrap;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
  background: color-mix(in srgb,var(--msm-single-meta-bg,#fafafa) 62%,transparent) !important;
  border:1px solid color-mix(in srgb,var(--msm-single-summary-border,#eee) 78%,#fff) !important;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.single-product div.product .product_meta a,
.single-product div.product .product_meta .posted_in a,
.single-product div.product .product_meta .tagged_as a,
.single-product div.product .product_meta .pwb-single-product-brands a,
.single-product div.product .product_meta .product_brand a,
.single-product div.product .product_meta .brands a,
.single-product div.product .product_meta .brand a,
.single-product div.product .product_meta [class*="brand"] a {
  display:inline-flex;
  align-items:center;
  max-width:100%;
  min-width:0;
  margin:2px 1px;
  padding:4px 7px;
  border-radius:7px;
  border:1px solid color-mix(in srgb,var(--msm-primary,#ec1b8c) 22%,var(--msm-border,#eee));
  background:rgba(255,255,255,.48);
  color:var(--msm-primary,#ec1b8c) !important;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
  line-height:1.25;
  -webkit-backdrop-filter:blur(9px);
  backdrop-filter:blur(9px);
}
.single-product div.product .product_meta .pwb-single-product-brands,
.single-product div.product .product_meta [class*="brand"] {
  max-width:100%;
  flex-wrap:wrap;
}

/* 8) Ürün görsel galerisi: ana görseli bozmadan sabit thumbnail rayı + yukarı/aşağı kontroller */
.single-product div.product .woocommerce-product-gallery { isolation:isolate; }

/* Ana WooCommerce/FlexSlider viewport her zaman ana görsel sütununda kalır. */
@media(min-width:1100px){
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced {
    grid-template-columns:92px minmax(0,1fr) !important;
    grid-template-rows:auto !important;
    align-items:start !important;
  }
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced > .flex-viewport {
    grid-column:2 !important;
    grid-row:1 !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    align-self:start !important;
    direction:ltr !important;
    overflow:hidden !important;
  }
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced > .woocommerce-product-gallery__wrapper {
    grid-column:2 !important;
    grid-row:1 !important;
    min-width:0 !important;
    direction:ltr !important;
  }
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .woocommerce-product-gallery__image,
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .woocommerce-product-gallery__image img {
    visibility:visible !important;
  }
}

.msm-gallery-thumb-rail {
  min-width:0;
  min-height:0;
  direction:ltr;
  position:relative;
}

.msm-gallery-scroll {
  border:1px solid color-mix(in srgb,var(--msm-primary,#ec1b8c) 24%,rgba(255,255,255,.72));
  background:linear-gradient(145deg,rgba(255,255,255,.58),rgba(255,255,255,.28));
  color:var(--msm-text,#222);
  border-radius:8px;
  display:none;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  -webkit-backdrop-filter:blur(14px) saturate(145%);
  backdrop-filter:blur(14px) saturate(145%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 5px 14px rgba(0,0,0,.07);
  z-index:8;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.msm-gallery-scroll:hover:not(:disabled){
  background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,255,255,.38));
  border-color:color-mix(in srgb,var(--msm-primary,#ec1b8c) 38%,rgba(255,255,255,.68));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.82),0 7px 16px rgba(0,0,0,.085);
}
.msm-gallery-scroll svg { width:17px; height:17px; display:block; }
.msm-gallery-scroll:disabled { opacity:.3; cursor:default; }
.single-product div.product .woocommerce-product-gallery.msm-gallery-has-scroll .msm-gallery-scroll { display:flex; }

@media(min-width:1100px){
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .msm-gallery-thumb-rail {
    grid-column:1 !important;
    grid-row:1 !important;
    width:92px;
    height:var(--msm-gallery-rail-height,620px);
    max-height:620px;
    display:grid;
    grid-template-rows:0 minmax(0,1fr) 0;
    gap:0;
    align-self:start;
    overflow:hidden;
  }
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced.msm-gallery-has-scroll .msm-gallery-thumb-rail {
    grid-template-rows:30px minmax(0,1fr) 30px;
    gap:6px;
  }
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .msm-gallery-thumb-rail .flex-control-thumbs {
    grid-column:auto !important;
    grid-row:2 !important;
    width:100% !important;
    height:auto !important;
    max-height:none !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 2px !important;
    display:flex !important;
    flex-direction:column !important;
    flex-wrap:nowrap !important;
    gap:8px !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    scrollbar-width:none;
    overscroll-behavior:contain;
    scroll-behavior:smooth;
  }
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .msm-gallery-thumb-rail .flex-control-thumbs::-webkit-scrollbar { display:none; }
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .msm-gallery-thumb-rail .flex-control-thumbs li {
    width:76px !important;
    min-width:76px !important;
    flex:0 0 76px !important;
    margin:0 auto !important;
  }
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .msm-gallery-scroll {
    width:76px;
    height:30px;
    margin:0 auto;
  }
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .msm-gallery-scroll-up { grid-row:1; }
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .msm-gallery-scroll-down { grid-row:3; }
}

@media(max-width:1099px){
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .msm-gallery-thumb-rail {
    width:100%;
    margin-top:12px;
    padding:0 36px;
  }
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .msm-gallery-thumb-rail .flex-control-thumbs {
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    gap:8px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scrollbar-width:none;
    overscroll-behavior-x:contain;
    scroll-behavior:smooth;
  }
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .msm-gallery-thumb-rail .flex-control-thumbs::-webkit-scrollbar { display:none; }
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .msm-gallery-scroll {
    position:absolute;
    top:50%;
    width:30px;
    height:58px;
    transform:translateY(-50%);
  }
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .msm-gallery-scroll-up { left:0; }
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .msm-gallery-scroll-down { right:0; }
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .msm-gallery-scroll-up svg,
  .single-product div.product .woocommerce-product-gallery.msm-gallery-enhanced .msm-gallery-scroll-down svg { transform:rotate(-90deg); }
}

/* 9-10) Açıklama tekrar başlığı kaldırma PHP filtresiyle yapılıyor. Taksit sekmesi glass uyumu. */
.single-product .woocommerce-tabs ul.tabs li#tab-title-msm_paytr_installments,
.single-product .woocommerce-tabs ul.tabs li[class*="msm_paytr_installments"] {
  background:rgba(255,255,255,.58) !important;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.single-product .woocommerce-tabs ul.tabs li#tab-title-msm_paytr_installments.active,
.single-product .woocommerce-tabs ul.tabs li[class*="msm_paytr_installments"].active {
  background:var(--msm-single-tab-active-bg,var(--msm-accent,#111)) !important;
}
.msm-paytr-installments {
  width:100%;
  min-height:60px;
  border-radius:12px;
}
.msm-paytr-installments-placeholder {
  margin:0 !important;
  padding:13px 14px;
  border:1px dashed color-mix(in srgb,var(--msm-primary,#ec1b8c) 28%,var(--msm-border,#eee));
  border-radius:10px;
  background:rgba(255,255,255,.5);
  color:var(--msm-muted,#666);
}

@media(max-width:780px){
  .msm-trust-banners { padding-top:calc(var(--msm-trust-icon-size,56px) / 2 + 2px); }
  .msm-trust-banner,
  .msm-trust-banner:nth-child(2),
  .msm-trust-banner:nth-child(3),
  .msm-trust-banner:nth-child(4){
    padding:calc(var(--msm-trust-icon-size,56px) / 2 + 11px) 11px 13px !important;
  }
  body.tax-product_cat .woocommerce-products-header {
    grid-template-columns:1fr;
    gap:8px;
  }
  body.tax-product_cat .woocommerce-products-header > h1,
  body.tax-product_cat .woocommerce-products-header > .page-title,
  body.tax-product_cat .woocommerce-products-header > .woocommerce-products-header__title,
  body.tax-product_cat .msm-archive-controls {
    grid-column:1;
    grid-row:auto;
  }
  body.tax-product_cat .msm-archive-controls {
    justify-content:flex-start;
    flex-wrap:wrap;
    width:100%;
  }
  body.tax-product_cat .msm-archive-controls .woocommerce-ordering select { max-width:min(230px,52vw); }
  body.tax-product_cat .msm-products-per-page label { display:none; }
  .msm-category-seo { padding:11px 12px; }
  .single-product div.product .product_meta > span { width:100%; }
}

/* Header Builder Premium kullanılıyorsa daha yüksek özgüllükle aynı glass dili koru. */
@media(min-width:901px){
  body.msm-header-builder-premium .msm-header nav .sub-menu,
  body.msm-header-builder-premium .msm-header nav .children,
  body.msm-header-builder-premium .msm-header nav li ul{
    background:color-mix(in srgb,var(--msm-hb-dropdown-bg,#fff) 72%,transparent)!important;
    background-color:transparent!important;
    border-color:color-mix(in srgb,var(--msm-hb-menu-active,#ec1b8c) 22%,rgba(255,255,255,.62))!important;
    -webkit-backdrop-filter:blur(18px) saturate(145%);
    backdrop-filter:blur(18px) saturate(145%);
    padding:6px 7px!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 22px 50px rgba(0,0,0,.16)!important;
  }
  body.msm-header-builder-premium .msm-header nav .sub-menu a,
  body.msm-header-builder-premium .msm-header nav .children a,
  body.msm-header-builder-premium .msm-header nav li ul a{
    min-height:34px!important;
    padding:6px 9px!important;
    border-radius:8px!important;
    border:1px solid transparent!important;
    background:rgba(255,255,255,.18)!important;
  }
  body.msm-header-builder-premium .msm-header nav .sub-menu > li:not(:last-child) > a,
  body.msm-header-builder-premium .msm-header nav .children > li:not(:last-child) > a,
  body.msm-header-builder-premium .msm-header nav li ul > li:not(:last-child) > a{
    border-bottom-color:color-mix(in srgb,var(--msm-hb-dropdown-text,#222) 12%,transparent)!important;
  }
  body.msm-header-builder-premium .msm-header nav .sub-menu a:hover,
  body.msm-header-builder-premium .msm-header nav .children a:hover,
  body.msm-header-builder-premium .msm-header nav li ul a:hover{
    background:color-mix(in srgb,var(--msm-hb-dropdown-hover-bg,#fff4fa) 54%,transparent)!important;
    border-color:color-mix(in srgb,var(--msm-hb-menu-hover,#ec1b8c) 18%,transparent)!important;
    transform:translateX(1px)!important;
  }
}

/* Marka eklentileri product_meta dışında çıktı verirse aynı taşma koruması. */
.single-product .pwb-single-product-brands,
.single-product .woocommerce-product-brands,
.single-product .product-brands,
.single-product .wc-product-brands{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px;
  max-width:100%;
  min-width:0;
  overflow-wrap:anywhere;
}
.single-product .pwb-single-product-brands a,
.single-product .woocommerce-product-brands a,
.single-product .product-brands a,
.single-product .wc-product-brands a{
  display:inline-flex;
  max-width:100%;
  padding:5px 8px;
  border:1px solid color-mix(in srgb,var(--msm-primary,#ec1b8c) 22%,var(--msm-border,#eee));
  border-radius:7px;
  background:rgba(255,255,255,.5);
  color:var(--msm-primary,#ec1b8c);
  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
  -webkit-backdrop-filter:blur(9px);
  backdrop-filter:blur(9px);
}

/* v8.15 - Glass görünümü biraz daha belirgin, gölge ise hafif tutuldu. */
@media(min-width:901px){
  body .msm-header nav > ul > li > a,
  body .msm-header nav > .msm-container > ul > li > a,
  body .msm-header nav [class*="nav-inner"] > ul > li > a,
  body .msm-header nav .msm-primary-menu > li > a,
  body .msm-header nav .menu > li > a,
  body .msm-header nav .product-categories > li > a,
  body .msm-header nav .msm-js-dropdown-menu > li > a{
    background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.065))!important;
    border-color:rgba(255,255,255,.16)!important;
    -webkit-backdrop-filter:blur(13px) saturate(145%);
    backdrop-filter:blur(13px) saturate(145%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.17),0 4px 12px rgba(0,0,0,.045)!important;
  }
  body .msm-header nav ul ul,
  body .msm-header nav .sub-menu,
  body .msm-header nav .children,
  body.msm-header-builder-premium .msm-header nav .sub-menu,
  body.msm-header-builder-premium .msm-header nav .children,
  body.msm-header-builder-premium .msm-header nav li ul{
    -webkit-backdrop-filter:blur(20px) saturate(155%);
    backdrop-filter:blur(20px) saturate(155%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 12px 28px rgba(0,0,0,.11)!important;
  }
  body .msm-header nav ul ul a,
  body .msm-header nav .sub-menu a,
  body .msm-header nav .children a,
  body.msm-header-builder-premium .msm-header nav .sub-menu a,
  body.msm-header-builder-premium .msm-header nav .children a,
  body.msm-header-builder-premium .msm-header nav li ul a{
    background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.055))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 3px 9px rgba(0,0,0,.035)!important;
  }
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .msm-add-to-cart-button,
.msm-category-seo-toggle,
body.tax-product_cat .woocommerce-ordering select,
body.tax-product_cat .msm-products-per-page select,
.single-product div.product .product_meta a,
.single-product div.product .product_meta .posted_in a,
.single-product div.product .product_meta .tagged_as a,
.single-product .pwb-single-product-brands a,
.single-product .woocommerce-product-brands a,
.single-product .product-brands a,
.single-product .wc-product-brands a,
.single-product .woocommerce-tabs ul.tabs li#tab-title-msm_paytr_installments,
.single-product .woocommerce-tabs ul.tabs li[class*="msm_paytr_installments"],
.msm-paytr-installments-placeholder{
  background:linear-gradient(145deg,rgba(255,255,255,.58),rgba(255,255,255,.30))!important;
  -webkit-backdrop-filter:blur(14px) saturate(145%);
  backdrop-filter:blur(14px) saturate(145%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.74),0 5px 14px rgba(0,0,0,.055)!important;
}

.msm-category-seo,
.single-product div.product .product_meta > span,
.single-product div.product .product_meta .posted_in,
.single-product div.product .product_meta .tagged_as,
.single-product div.product .product_meta .sku_wrapper,
.single-product div.product .product_meta .brands,
.single-product div.product .product_meta .brand{
  background:linear-gradient(145deg,rgba(255,255,255,.60),rgba(255,255,255,.32))!important;
  -webkit-backdrop-filter:blur(14px) saturate(145%);
  backdrop-filter:blur(14px) saturate(145%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.76),0 5px 15px rgba(0,0,0,.05)!important;
}

.msm-trust-banner,
.msm-trust-banner:nth-child(2),
.msm-trust-banner:nth-child(3),
.msm-trust-banner:nth-child(4){
  background:linear-gradient(145deg,rgba(255,255,255,.60),rgba(255,255,255,.27))!important;
  border-color:color-mix(in srgb,var(--msm-primary,#ec1b8c) 18%,rgba(255,255,255,.70))!important;
  -webkit-backdrop-filter:blur(19px) saturate(150%);
  backdrop-filter:blur(19px) saturate(150%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78),0 7px 18px rgba(0,0,0,.055)!important;
}
.msm-trust-banner-icon{
  background:linear-gradient(145deg,rgba(255,255,255,.68),rgba(255,255,255,.34))!important;
  -webkit-backdrop-filter:blur(16px) saturate(150%);
  backdrop-filter:blur(16px) saturate(150%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84),0 6px 16px rgba(0,0,0,.075)!important;
}

/* v8.16 - Dropdown panel zemini tema rengini tam kullanır; linkler glass kalır. */
@media (min-width:901px){
  /* Klasik header: tema Menü Arka Planı rengi. */
  body:not(.msm-header-builder-premium) .msm-header nav ul ul,
  body:not(.msm-header-builder-premium) .msm-header nav .sub-menu,
  body:not(.msm-header-builder-premium) .msm-header nav .children,
  body:not(.msm-header-builder-premium) .msm-header nav li > ul{
    background:var(--msm-menu-bg,#111111)!important;
    background-color:var(--msm-menu-bg,#111111)!important;
    background-image:none!important;
  }

  /* Premium header: Özelleştir > Dropdown Arka Planı rengi. */
  body.msm-header-builder-premium .msm-header nav ul ul,
  body.msm-header-builder-premium .msm-header nav .sub-menu,
  body.msm-header-builder-premium .msm-header nav .children,
  body.msm-header-builder-premium .msm-header nav li > ul{
    background:var(--msm-hb-dropdown-bg,#ffffff)!important;
    background-color:var(--msm-hb-dropdown-bg,#ffffff)!important;
    background-image:none!important;
  }
}

/* v8.17 - Kategori / mağaza ürün kartı sepet ikonu: gri şeffaf glass */
body.tax-product_cat .woocommerce ul.products li.product .button,
body.tax-product_cat .woocommerce ul.products li.product .msm-add-to-cart-button,
body.post-type-archive-product .woocommerce ul.products li.product .button,
body.post-type-archive-product .woocommerce ul.products li.product .msm-add-to-cart-button,
body.tax-product_tag .woocommerce ul.products li.product .button,
body.tax-product_tag .woocommerce ul.products li.product .msm-add-to-cart-button {
  background: linear-gradient(145deg,rgba(102,110,118,.20),rgba(255,255,255,.48)) !important;
  border: 1px solid rgba(92,100,108,.24) !important;
  color: #5f666d !important;
  -webkit-backdrop-filter: blur(15px) saturate(118%);
  backdrop-filter: blur(15px) saturate(118%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.68), 0 5px 13px rgba(35,40,45,.10) !important;
}
body.tax-product_cat .woocommerce ul.products li.product .button:hover,
body.tax-product_cat .woocommerce ul.products li.product .msm-add-to-cart-button:hover,
body.post-type-archive-product .woocommerce ul.products li.product .button:hover,
body.post-type-archive-product .woocommerce ul.products li.product .msm-add-to-cart-button:hover,
body.tax-product_tag .woocommerce ul.products li.product .button:hover,
body.tax-product_tag .woocommerce ul.products li.product .msm-add-to-cart-button:hover {
  background: linear-gradient(145deg,rgba(91,99,107,.27),rgba(255,255,255,.55)) !important;
  border-color: rgba(83,91,99,.32) !important;
  color: #4f565d !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.76), 0 7px 16px rgba(35,40,45,.13) !important;
  transform: translateY(-1px) !important;
}
body.tax-product_cat .woocommerce ul.products li.product .msm-cart-symbol svg,
body.post-type-archive-product .woocommerce ul.products li.product .msm-cart-symbol svg,
body.tax-product_tag .woocommerce ul.products li.product .msm-cart-symbol svg {
  color: currentColor !important;
  opacity: .92;
}

/* v8.18 - Kategori başlık / sıralama / sayfada göster hizalama düzeltmesi */
body.tax-product_cat .woocommerce-products-header {
  display:block!important;
  width:min(1210px,calc(100% - 32px))!important;
  margin:12px auto 4px!important;
  padding:0!important;
}
body.tax-product_cat .msm-category-topbar {
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  column-gap:22px;
  row-gap:8px;
  margin:0 0 4px;
}
body.tax-product_cat .msm-category-topbar > h1.page-title,
body.tax-product_cat .msm-category-topbar > .woocommerce-products-header__title {
  grid-column:1;
  grid-row:1;
  min-width:0;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  line-height:1.12!important;
}
body.tax-product_cat .msm-category-topbar .msm-archive-controls {
  grid-column:2;
  grid-row:1;
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  gap:9px!important;
  width:auto!important;
  min-width:0;
  margin:0!important;
  padding:0!important;
}
body.tax-product_cat .msm-category-topbar .msm-archive-ordering,
body.tax-product_cat .msm-category-topbar .woocommerce-ordering,
body.tax-product_cat .msm-category-topbar .msm-products-per-page {
  display:flex!important;
  align-items:center!important;
  width:auto!important;
  min-width:0;
  margin:0!important;
  padding:0!important;
  float:none!important;
}
body.tax-product_cat .msm-category-topbar .woocommerce-ordering select,
body.tax-product_cat .msm-category-topbar .msm-products-per-page select {
  height:36px!important;
  min-height:36px!important;
  margin:0!important;
  line-height:1.2!important;
}
body.tax-product_cat .msm-category-topbar .woocommerce-ordering select {
  width:208px!important;
  max-width:208px!important;
}
body.tax-product_cat .msm-category-topbar .msm-products-per-page {
  gap:7px!important;
  white-space:nowrap;
}
body.tax-product_cat .msm-category-topbar .msm-products-per-page label {
  display:inline-block!important;
  margin:0!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1!important;
  color:var(--msm-muted,#666)!important;
  white-space:nowrap;
}
body.tax-product_cat .msm-category-topbar .msm-products-per-page select {
  width:76px!important;
  min-width:76px!important;
  max-width:76px!important;
  padding-right:26px!important;
}
body.tax-product_cat .woocommerce-products-header > .term-description,
body.tax-product_cat .woocommerce-products-header > .woocommerce-products-header__description,
body.tax-product_cat .woocommerce-products-header > .msm-category-seo {
  width:100%!important;
  margin:5px 0 0!important;
}
body.tax-product_cat .woocommerce-result-count {
  margin-top:2px!important;
  margin-bottom:7px!important;
}

@media(max-width:780px){
  body.tax-product_cat .woocommerce-products-header {
    width:calc(100% - 20px)!important;
    margin-top:10px!important;
  }
  body.tax-product_cat .msm-category-topbar {
    grid-template-columns:1fr;
    row-gap:8px;
  }
  body.tax-product_cat .msm-category-topbar > h1.page-title,
  body.tax-product_cat .msm-category-topbar > .woocommerce-products-header__title,
  body.tax-product_cat .msm-category-topbar .msm-archive-controls {
    grid-column:1;
    grid-row:auto;
  }
  body.tax-product_cat .msm-category-topbar .msm-archive-controls {
    justify-content:flex-start!important;
    width:100%!important;
  }
  body.tax-product_cat .msm-category-topbar .woocommerce-ordering {
    flex:1 1 auto!important;
  }
  body.tax-product_cat .msm-category-topbar .woocommerce-ordering select {
    width:100%!important;
    max-width:none!important;
  }
  body.tax-product_cat .msm-category-topbar .msm-products-per-page label {
    display:none!important;
  }
  body.tax-product_cat .msm-category-topbar .msm-products-per-page select {
    width:72px!important;
    min-width:72px!important;
  }
}


/* v8.19 - Kategori toolbar gerçek tema content genişliği + otomatik ürün adedi */
body.tax-product_cat .woocommerce-products-header {
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.tax-product_cat .msm-category-topbar.msm-container {
  width:min(1210px,calc(100% - 32px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.tax-product_cat .msm-category-topbar .msm-products-per-page select.is-loading {
  opacity:.65;
  cursor:wait;
}
@media(max-width:600px){
  body.tax-product_cat .msm-category-topbar.msm-container {
    width:min(100% - 20px,1210px)!important;
  }
}
body.tax-product_cat .woocommerce-products-header > .term-description,
body.tax-product_cat .woocommerce-products-header > .woocommerce-products-header__description,
body.tax-product_cat .woocommerce-products-header > .msm-category-seo {
  width:min(1210px,calc(100% - 32px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media(max-width:600px){
  body.tax-product_cat .woocommerce-products-header > .term-description,
  body.tax-product_cat .woocommerce-products-header > .woocommerce-products-header__description,
  body.tax-product_cat .woocommerce-products-header > .msm-category-seo {
    width:min(100% - 20px,1210px)!important;
  }
}


/* v8.20 - Kategori üst alanı: içerikle birebir hizalı, menüden nefes payı */
body.tax-product_cat .woocommerce-products-header {
  width:min(1210px,calc(100% - 32px))!important;
  max-width:none!important;
  margin:18px auto 12px!important;
  padding:0!important;
}
body.tax-product_cat .msm-category-topbar.msm-container {
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.tax-product_cat .woocommerce-products-header > .term-description,
body.tax-product_cat .woocommerce-products-header > .woocommerce-products-header__description,
body.tax-product_cat .woocommerce-products-header > .msm-category-seo {
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* Ürün adedi AJAX ile değişirken tüm sayfayı kapatmadan yalnızca ürün alanını hafifçe belirt. */
body.tax-product_cat.msm-products-ajax-loading .woocommerce ul.products {
  opacity:.58;
  pointer-events:none;
  transition:opacity .16s ease;
}
body.tax-product_cat .woocommerce ul.products {
  transition:opacity .16s ease;
}
body.tax-product_cat .msm-category-topbar .msm-products-per-page select.is-loading {
  opacity:.72;
  cursor:progress;
}

/* 24'ten fazla kartta ekran dışı kartların render maliyetini azalt. */
@supports (content-visibility:auto) {
  body.tax-product_cat .woocommerce ul.products.msm-large-product-grid > li.product:nth-child(n+9) {
    content-visibility:auto;
    contain-intrinsic-size:auto 470px;
  }
}

@media(max-width:640px){
  body.tax-product_cat .woocommerce-products-header {
    width:min(100% - 20px,1210px)!important;
    margin-top:14px!important;
  }
  body.tax-product_cat .msm-category-topbar.msm-container {
    width:100%!important;
  }
}


/* v8.21 - Kategori toolbar: ürün gridinin gerçek content genişliğiyle birebir hizalama */
body.tax-product_cat .woocommerce-products-header {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 22px 0 12px !important;
  box-sizing: border-box !important;
}
body.tax-product_cat .woocommerce-products-header .msm-category-topbar.msm-container,
body.tax-product_cat .msm-category-topbar.msm-container {
  width: min(1210px, calc(100% - 32px)) !important;
  max-width: 1210px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}
body.tax-product_cat .woocommerce-products-header > .term-description,
body.tax-product_cat .woocommerce-products-header > .woocommerce-products-header__description,
body.tax-product_cat .woocommerce-products-header > .msm-category-seo {
  width: min(1210px, calc(100% - 32px)) !important;
  max-width: 1210px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 640px) {
  body.tax-product_cat .woocommerce-products-header {
    padding-top: 18px !important;
  }
  body.tax-product_cat .woocommerce-products-header .msm-category-topbar.msm-container,
  body.tax-product_cat .msm-category-topbar.msm-container,
  body.tax-product_cat .woocommerce-products-header > .term-description,
  body.tax-product_cat .woocommerce-products-header > .woocommerce-products-header__description,
  body.tax-product_cat .woocommerce-products-header > .msm-category-seo {
    width: min(100% - 20px, 1210px) !important;
  }
}


/* v8.51 - Glass UI: belirgin cam butonlar ve içerik panelleri */
:root{
  --msm-glass-bg:rgba(255,255,255,.72);
  --msm-glass-bg-strong:rgba(255,255,255,.86);
  --msm-glass-border:rgba(255,255,255,.92);
  --msm-glass-edge:rgba(120,120,120,.24);
  --msm-glass-shadow:0 14px 34px rgba(20,20,20,.10), inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(255,255,255,.28);
  --msm-glass-blur:14px;
}

/* Açık temada da cam yüzeyi belirgin tutan içerik kartları */
.msm-entry-content,
.msm-card,
.single-product .woocommerce-Tabs-panel,
.single-product .woocommerce-tabs .panel,
.single-product div.product .summary,
.single-product div.product .woocommerce-product-gallery,
.woocommerce-checkout .msm-checkout-card,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-cart .cart_totals{
  background:
    linear-gradient(135deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.72) 44%,rgba(245,245,245,.66) 100%)!important;
  border:1px solid var(--msm-glass-edge)!important;
  box-shadow:var(--msm-glass-shadow)!important;
  -webkit-backdrop-filter:blur(var(--msm-glass-blur)) saturate(145%);
  backdrop-filter:blur(var(--msm-glass-blur)) saturate(145%);
}

/* Ürün açıklama panelini referanstaki büyük cam panel gibi daha belirgin yap */
.single-product .woocommerce-tabs .woocommerce-Tabs-panel,
.single-product .woocommerce-tabs .panel{
  position:relative!important;
  border-color:rgba(155,155,155,.30)!important;
  box-shadow:0 20px 55px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.98), inset 0 0 0 1px rgba(255,255,255,.34)!important;
}

/* İkincil / nötr butonlar */
.msm-header-action,
.woocommerce a.button:not(.checkout-button),
.woocommerce button.button:not(.single_add_to_cart_button):not(#place_order),
.woocommerce input.button,
.woocommerce .quantity .minus,
.woocommerce .quantity .plus,
.single-product .woocommerce-tabs ul.tabs li,
.msm-gallery-scroll,
.msm-mobile-sticky a,
.msm-mobile-sticky button{
  background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(235,235,235,.58))!important;
  border:1px solid rgba(150,150,150,.30)!important;
  box-shadow:0 9px 22px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.98), inset 0 -1px 0 rgba(255,255,255,.30)!important;
  -webkit-backdrop-filter:blur(12px) saturate(150%);
  backdrop-filter:blur(12px) saturate(150%);
  color:var(--msm-text,#222)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,filter .18s ease!important;
}

.msm-header-action:hover,
.woocommerce a.button:not(.checkout-button):hover,
.woocommerce button.button:not(.single_add_to_cart_button):not(#place_order):hover,
.woocommerce input.button:hover,
.single-product .woocommerce-tabs ul.tabs li:hover,
.msm-gallery-scroll:hover{
  transform:translateY(-1px);
  border-color:rgba(120,120,120,.42)!important;
  box-shadow:0 13px 28px rgba(0,0,0,.13), inset 0 1px 0 rgba(255,255,255,1), inset 0 -1px 0 rgba(255,255,255,.34)!important;
}

/* Marka sarısı/turuncusu korunarak cam ana aksiyonlar */
.msm-header-search button,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .msm-add-to-cart-button,
.single-product div.product form.cart .single_add_to_cart_button,
.woocommerce a.checkout-button,
.woocommerce #payment #place_order,
.woocommerce button#place_order,
.msm-primary-button{
  background:linear-gradient(135deg,rgba(255,202,24,.94) 0%,rgba(255,172,12,.86) 48%,rgba(255,117,24,.88) 100%)!important;
  border:1px solid rgba(255,255,255,.72)!important;
  box-shadow:0 12px 28px rgba(210,132,0,.22), inset 0 1px 0 rgba(255,255,255,.82), inset 0 -1px 0 rgba(190,95,0,.16)!important;
  -webkit-backdrop-filter:blur(11px) saturate(155%);
  backdrop-filter:blur(11px) saturate(155%);
  color:#111!important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important;
}

.msm-header-search button:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .msm-add-to-cart-button:hover,
.single-product div.product form.cart .single_add_to_cart_button:hover,
.woocommerce a.checkout-button:hover,
.woocommerce #payment #place_order:hover,
.woocommerce button#place_order:hover{
  transform:translateY(-1px);
  filter:brightness(1.025) saturate(1.04);
  box-shadow:0 16px 34px rgba(210,132,0,.27), inset 0 1px 0 rgba(255,255,255,.92), inset 0 -1px 0 rgba(190,95,0,.14)!important;
}

/* Tablar aktifken koyu cam yüzey */
.single-product .woocommerce-tabs ul.tabs li.active{
  background:linear-gradient(135deg,rgba(48,48,48,.94),rgba(18,18,18,.88))!important;
  border-color:rgba(255,255,255,.26)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.18)!important;
}
.single-product .woocommerce-tabs ul.tabs li.active a{color:#fff!important;}

/* Form alanlarında hafif cam yüzey; okunabilirlik korunur */
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-account input.input-text,
.woocommerce-account select{
  background:linear-gradient(135deg,rgba(255,255,255,.90),rgba(245,245,245,.72))!important;
  border:1px solid rgba(145,145,145,.28)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.98),0 6px 16px rgba(0,0,0,.04)!important;
}

@media(max-width:640px){
  :root{--msm-glass-blur:10px;}
  .msm-entry-content,
  .msm-card,
  .single-product .woocommerce-Tabs-panel,
  .single-product div.product .summary,
  .single-product div.product .woocommerce-product-gallery{
    box-shadow:0 12px 28px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.94)!important;
  }
}


/* v8.61 - Güven kartı ikonları daha büyük ve kartla bütünleşik */
.msm-trust-banners{padding-top:38px!important}
.msm-trust-banner,
.msm-trust-banner:nth-child(2),
.msm-trust-banner:nth-child(3),
.msm-trust-banner:nth-child(4){
  position:relative!important;
  isolation:isolate!important;
  background:linear-gradient(145deg,rgba(255,255,255,.78),color-mix(in srgb,var(--msm-secondary,#ffc400) 5%,rgba(255,255,255,.42)))!important;
  border:1px solid color-mix(in srgb,var(--msm-primary,#ec1b8c) 13%,rgba(255,255,255,.82))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.96),0 10px 28px rgba(0,0,0,.065)!important;
  padding-top:42px!important;
}
.msm-trust-banner:after{
  content:""!important;position:absolute!important;left:50%!important;top:-31px!important;width:88px!important;height:54px!important;transform:translateX(-50%)!important;border-radius:50%!important;
  background:radial-gradient(ellipse at center,color-mix(in srgb,var(--msm-trust-icon-color,var(--msm-primary,#ec1b8c)) 18%,transparent),transparent 68%)!important;
  filter:blur(7px)!important;opacity:.58!important;z-index:1!important;pointer-events:none!important;
}
.msm-trust-banner-icon{
  width:calc(var(--msm-trust-icon-size,56px) + 12px)!important;
  height:calc(var(--msm-trust-icon-size,56px) + 12px)!important;
  top:calc((var(--msm-trust-icon-size,56px) + 12px) / -2)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.94),color-mix(in srgb,var(--msm-trust-icon-color,var(--msm-primary,#ec1b8c)) 7%,#fff))!important;
  border:1px solid color-mix(in srgb,var(--msm-trust-icon-color,var(--msm-primary,#ec1b8c)) 20%,#fff)!important;
  box-shadow:inset 0 1px 0 #fff,0 7px 18px rgba(0,0,0,.09),0 0 0 5px rgba(255,255,255,.34)!important;
  z-index:3!important;
}
.msm-trust-banner-icon svg{width:58%!important;height:58%!important}
.msm-trust-banner-icon img{width:68%!important;height:68%!important}
@media(max-width:520px){
  .msm-trust-banners{padding-top:34px!important}
  .msm-trust-banner{padding-top:38px!important}
  .msm-trust-banner-icon{width:62px!important;height:62px!important;top:-31px!important}
  .msm-trust-banner-icon svg{width:60%!important;height:60%!important}
}

/* =========================================================
 * v8.91 - Kategori başlığı/sıralama ile menü arasında boşluk
 * ========================================================= */
body.tax-product_cat .msm-woocommerce-page > .msm-category-topbar.msm-container,
body.tax-product_cat .msm-category-topbar.msm-container {
  margin-top:22px!important;
}
@media(max-width:640px){
  body.tax-product_cat .msm-woocommerce-page > .msm-category-topbar.msm-container,
  body.tax-product_cat .msm-category-topbar.msm-container {
    margin-top:14px!important;
  }
}

/* =========================================================
 * v8.91 - Sonsuz kaydırma (kategori/mağaza)
 * ========================================================= */
.msm-infinite-active nav.woocommerce-pagination { display:none!important; }
.msm-infinite-status { display:flex; justify-content:center; align-items:center; gap:10px; min-height:56px; margin:18px 0 8px; font-size:14px; color:var(--msm-muted,#666); }
.msm-infinite-status[hidden] { display:none!important; }
.msm-infinite-spinner { width:22px; height:22px; border-radius:50%; border:3px solid rgba(0,0,0,.12); border-top-color:var(--msm-primary,#f5b400); animation:msmInfSpin .8s linear infinite; }
.msm-infinite-more { padding:11px 22px; border-radius:999px; border:1px solid rgba(0,0,0,.15); background:#fff; font-weight:700; cursor:pointer; }
@keyframes msmInfSpin { to { transform:rotate(360deg); } }

/* =========================================================
 * v8.92 - Normal sayfa içeriği: kartın (.msm-entry-content) İÇİNE boşluk
 * (Hesabım, Sepet, Ödeme kendi düzenini korur.)
 * ========================================================= */
/* v8.93: Genişlik sınırı yok; içerik menüyle aynı hizada (.msm-container). */
body.page:not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) article.msm-page,
body.page:not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) article.msm-page > h1,
body.page:not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) article.msm-page > .msm-entry-content {
  max-width:none;
  margin-left:0;
  margin-right:0;
}
body.page:not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) article.msm-page > .msm-entry-content {
  padding:clamp(18px,3vw,36px) clamp(18px,3.5vw,44px)!important;
  box-sizing:border-box;
}
body.page:not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) article.msm-page > .msm-entry-content > :first-child { margin-top:0; }
body.page:not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) article.msm-page > .msm-entry-content > :last-child { margin-bottom:0; }
@media(max-width:640px){
  body.page:not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) article.msm-page > .msm-entry-content {
    padding:16px!important;
  }
}
