/* MUTFAKTOPTAN MOBIL MENU — BASLANGIC */
@media screen and (max-width: 1024px) {
  #mobile-drawer .drawer-inner {
    background: #123F58; color: #fff;
    width: 400px; max-width: 90vw; overflow: hidden;
  }
  #mobile-drawer .drawer-header {
    flex: 0 0 auto; align-items: center;
    padding: 8px max(12px, env(safe-area-inset-right)) 8px 12px;
  }
  #mobile-drawer .drawer-header .menu-toggle-close {
    box-sizing: border-box; width: 44px; height: 44px;
    padding: 10px; color: #fff; border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
  }
  #mobile-drawer .drawer-content {
    flex: 1 1 auto; min-height: 0;
    overflow-x: hidden; overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0 12px max(16px, env(safe-area-inset-bottom));
  }
  #mobile-drawer .site-header-item-mobile-navigation,
  #mobile-drawer .mobile-navigation,
  #mobile-drawer .mobile-menu-container {
    width: 100%; min-width: 0;
  }
  #mobile-drawer .mobile-navigation ul.menu {
    margin: 0; padding: 0;
  }
  #mobile-drawer .mobile-navigation li {
    font-size: 16px; line-height: 1.4;
  }
  #mobile-drawer .mobile-navigation li > a,
  #mobile-drawer .mobile-navigation .drawer-nav-drop-wrap > a {
    display: flex; align-items: center;
    min-height: 48px; min-width: 0; padding: 11px 12px;
    color: #fff; font-weight: 600; line-height: 1.4;
    white-space: normal; overflow-wrap: anywhere;
    word-break: normal; text-decoration: none;
  }
  #mobile-drawer .mobile-navigation .drawer-nav-drop-wrap {
    color: #fff; align-items: stretch;
  }
  #mobile-drawer .mobile-navigation .drawer-nav-drop-wrap > a {
    flex: 1 1 0%;
  }
  #mobile-drawer .mobile-navigation li:not(.menu-item-has-children) > a,
  #mobile-drawer .mobile-navigation .drawer-nav-drop-wrap {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  #mobile-drawer .mobile-navigation .drawer-nav-drop-wrap > .drawer-sub-toggle {
    box-sizing: border-box; flex: 0 0 44px;
    width: 44px; min-width: 44px; min-height: 48px;
    padding: 0; align-items: center; justify-content: center;
    color: #fff; background: transparent;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }
  #mobile-drawer .mobile-navigation .sub-menu {
    background: #1F526C; margin: 0 0 8px 10px;
    padding: 0; border-radius: 0 0 8px 8px;
  }
  #mobile-drawer .mobile-navigation .sub-menu li {
    font-size: 15px;
  }
  #mobile-drawer .mobile-navigation .sub-menu li > a,
  #mobile-drawer .mobile-navigation .sub-menu .drawer-nav-drop-wrap > a {
    min-height: 44px; padding: 10px 12px; font-weight: 400;
  }
  #mobile-drawer .mobile-navigation .sub-menu .sub-menu {
    margin-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }
  #mobile-drawer .mobile-navigation .current-menu-item > a,
  #mobile-drawer .mobile-navigation .current-menu-item > .drawer-nav-drop-wrap > a {
    color: #fff; background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
  }
  #mobile-drawer .mobile-navigation a:hover,
  #mobile-drawer .drawer-sub-toggle:hover,
  #mobile-drawer .menu-toggle-close:hover {
    color: #fff; background: rgba(255, 255, 255, 0.12);
  }
  #mobile-drawer a:focus-visible,
  #mobile-drawer button:focus-visible {
    outline: 2px solid #fff; outline-offset: -3px;
  }
}
/* MUTFAKTOPTAN MOBIL MENU — BITIS */
/* Mobilde ürün sonuç sayısını gizle */
@media (max-width: 767px) {
  .woocommerce .woocommerce-result-count {
    display: none;
  }
}

/* Mobil Sepete Ekle butonu - mevcut tasarım korunur */
@media (max-width: 767px) {
  .woocommerce ul.products li.product .button {
    font-size: 13px !important;
    padding: 10px 5px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    text-align: center !important;
    box-sizing: border-box;
    max-width: 100%;
  }
}

/* Kadence mobil ve tablet - FiboSearch tam genislik */
@media (max-width: 1024px) {
  #mobile-header .site-bottom-header-inner-wrap {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: 4px;
  }

  #mobile-header .site-header-bottom-section-left > .site-header-item,
  #mobile-header .site-header-bottom-section-left .mobile-html {
    width: 100%;
    min-width: 0;
  }

  #mobile-header .site-header-bottom-section-left .dgwt-wcas-search-wrapp {
    max-width: none;
  }
}
/* MutfakToptan: yalnızca masaüstü orta satır araması */
@media (min-width: 1025px) {
  #main-header .site-main-header-inner-wrap {
    grid-template-columns:
      minmax(max-content, 1fr)
      minmax(0, 2fr)
      minmax(max-content, 1fr);
  }

  #main-header .site-header-main-section-center > .site-header-item,
  #main-header .secondary-navigation,
  #main-header .secondary-navigation .secondary-menu-container,
  #main-header .secondary-navigation .menu,
  #main-header .secondary-navigation .menu > li:only-child {
    width: 100%;
    min-width: 0;
  }
}
/* Tüm sayfalarda logo yanındaki yazı rengi */
.site-branding .site-title,
.site-branding .site-title a,
.site-header .site-title,
.site-header .site-title a {
    color: #123F58 !important;
}
/* Ürün sayfası: breadcrumb konumu ve hizası */
.single-product .product-above > #kadence-breadcrumbs {
    box-sizing: border-box;
    width: calc(100% - 48px);
    max-width: 1180px;
    margin: 0 auto !important;
    padding: 14px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #123F58;
    white-space: normal;
    overflow-wrap: anywhere;
}

.single-product .product-above > #kadence-breadcrumbs a {
    color: inherit;
}

/* MT MOBIL URUN TEK DOKUNUS - BASLANGIC */
@media (hover: none) and (pointer: coarse) {
  .woocommerce-loop-image-link.product-has-hover-image > img.secondary-product-image {
    display: none !important;
  }
  .woocommerce-loop-image-link.product-has-hover-image > img:not(.secondary-product-image) {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}
/* MT MOBIL URUN TEK DOKUNUS - BITIS */