/*
Theme Name: Elif Medical V4
Theme URI: https://elifmedical.com
Author: Medikal Çizgi / ELİF MEDICAL
Description: Kullanıcı tarafından onaylanmış Video53 V4 tasarımından geliştirilen özel, Elementor'suz WordPress tema prototipi. Yönetilebilir katalog WooCommerce'e bağlıdır.
Version: 0.1.18
Requires at least: 6.5
Requires PHP: 8.2
Text Domain: elif-medical-v4
License: Proprietary - user-supplied design
*/

    /* ELİF MEDICAL ORİJİNAL PAFTA RENK SİSTEMİ (#0B2742, #006D77, #18A7A0, #D9822B, #EDF2F4) */
    :root {
      --em-navy: #0B2742;
      --em-navy-dark: #07192B;
      --em-petrol: #006D77;
      --em-turquoise: #18A7A0;
      --em-copper: #D9822B;
      --em-copper-hover: #BF6E1E;
      --em-bg: #EDF2F4;
      --em-surface: #FFFFFF;
      --em-text: #0B2742;
      --em-muted: #52677D;
      --em-border: #D5E0E6;
      --em-radius: 12px;
      --em-shadow: 0 10px 28px -6px rgba(11, 39, 66, 0.08), 0 4px 12px -3px rgba(11, 39, 66, 0.04);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background-color: var(--em-bg);
      color: var(--em-text);
      font-size: 15.5px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    h1, h2, h3, h4, .font-heading { font-family: 'Plus Jakarta Sans', sans-serif; }
    a { text-decoration: none; color: inherit; }
    button { font-family: inherit; }
    .container { max-width: 1380px; margin: 0 auto; padding: 0 22px; }
    .svg-icon { width: 18px; height: 18px; flex-shrink: 0; display: inline-block; vertical-align: middle; }

    /* 1. KURUMSAL ÜST MENÜ — eski tekrar eden adres/vergi/telefon bilgileri footer'da */
    .top-bar {
      background: var(--em-navy);
      color: #DCE6EE;
      border-bottom: 2px solid var(--em-turquoise);
    }
    .corporate-bar {
      min-height: 38px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }
    .corporate-home-link { appearance:none; background:transparent; border:0; display:inline-flex; align-items:center; gap:7px; padding:8px 0; color:#7DD3CC; cursor:pointer; font:700 12px 'Inter',sans-serif; white-space:nowrap; }
    .corporate-home-link:hover, .corporate-home-link:focus-visible { color:#FFFFFF; text-decoration:underline; text-underline-offset:4px; outline-offset:2px; }
    .corporate-home-link svg { flex:none; }
    .corporate-links { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap: 4px; }
    .corporate-links button, .corporate-mobile-menu nav button {
      appearance: none; border: 0; background: transparent; color: #E3EDF3;
      font: 600 12px 'Inter',sans-serif; padding: 9px 13px; cursor:pointer;
      border-radius: 5px; transition: background .16s ease, color .16s ease;
    }
    .corporate-links button:hover, .corporate-links button:focus-visible,
    .corporate-mobile-menu nav button:hover, .corporate-mobile-menu nav button:focus-visible {
      background: rgba(255,255,255,.12); color:#FFFFFF; outline-offset: 2px;
    }
    .corporate-links .corporate-contact-link { color:#80E2D9; }
    .corporate-mobile-menu { display: none; position: relative; }
    .corporate-mobile-menu summary { display:flex; align-items:center; gap:8px; cursor:pointer; color:#E3EDF3; font-size:12px; font-weight:700; padding:9px 0; list-style:none; }
    .corporate-mobile-menu summary::-webkit-details-marker { display:none; }
    .corporate-mobile-menu nav { position:absolute; top:100%; right:0; z-index:1300; width:min(260px, calc(100vw - 32px)); display:flex; flex-direction:column; padding:6px; background:var(--em-navy); border:1px solid rgba(255,255,255,.2); border-radius:9px; box-shadow:0 12px 25px rgba(0,0,0,.25); }
    .corporate-mobile-menu nav button { text-align:left; padding:12px 14px; }
    .brand-logo-wrap { appearance:none; padding:0; border:0; background:none; text-align:left; }
    .brand-logo-wrap img { display:block; width:100%; height:auto; object-fit:contain; }

    /* 2. STICKY HEADER & EM YATAY LOGO + CANLI AJAX ARAMA */
    .site-header {
      background: var(--em-surface);
      position: sticky;
      top: 0;
      z-index: 990;
      box-shadow: 0 4px 20px rgba(11, 39, 66, 0.06);
      border-bottom: 1px solid var(--em-border);
    }
    .header-main {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 0;
      gap: 24px;
    }
    .brand-logo-wrap {
      width: 340px;
      flex-shrink: 0;
      cursor: pointer;
      display: flex;
      align-items: center;
    }
    .search-wrapper {
      flex: 1;
      max-width: 580px;
      position: relative;
    }
    .search-box {
      display: flex;
      align-items: center;
      background: #F6F9FB;
      border: 2px solid var(--em-border);
      border-radius: 10px;
      overflow: hidden;
      transition: all 0.2s;
    }
    .search-box:focus-within {
      background: #FFFFFF;
      border-color: var(--em-petrol);
      box-shadow: 0 0 0 4px rgba(0, 109, 119, 0.12);
    }
    .search-box input {
      width: 100%;
      border: none;
      background: transparent;
      padding: 11px 15px;
      font-size: 14px;
      color: var(--em-navy);
      outline: none;
    }
    .search-submit {
      background: var(--em-navy);
      color: #FFFFFF;
      border: none;
      padding: 11px 18px;
      font-weight: 700;
      font-size: 13px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      transition: background 0.2s;
    }
    .search-submit:hover { background: var(--em-petrol); }
    /* Live AJAX Dropdown */
    .ajax-dropdown {
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      background: #FFFFFF;
      border: 1px solid var(--em-border);
      border-radius: 10px;
      box-shadow: 0 18px 38px rgba(11, 39, 66, 0.16);
      max-height: 410px;
      overflow-y: auto;
      display: none;
      z-index: 1000;
    }
    .ajax-dropdown.open { display: block; }
    .ajax-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 14px;
      border-bottom: 1px solid #F0F4F7;
      cursor: pointer;
      gap: 10px;
    }
    .ajax-row:hover { background: #F2F9FA; }
    .ajax-sku {
      background: var(--em-navy);
      color: #FFFFFF;
      font-size: 11px;
      font-weight: 700;
      padding: 3px 7px;
      border-radius: 4px;
      font-family: monospace;
    }

    /* Header Actions */
    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }
    .btn-wa-top {
      background: var(--em-turquoise);
      color: #FFFFFF;
      padding: 10px 15px;
      border-radius: 9px;
      font-weight: 700;
      font-size: 13px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s;
    }
    .btn-wa-top:hover { background: var(--em-petrol); }
    .btn-rfq-drawer-trigger {
      background: var(--em-navy);
      color: #FFFFFF;
      border: 1px solid var(--em-navy);
      padding: 10px 15px;
      border-radius: 9px;
      font-weight: 700;
      font-size: 13px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s;
    }
    .btn-rfq-drawer-trigger:hover { background: var(--em-petrol); border-color: var(--em-petrol); }
    .rfq-count-pill {
      background: var(--em-copper);
      color: #FFFFFF;
      font-size: 11.5px;
      font-weight: 800;
      padding: 1px 7px;
      border-radius: 12px;
    }

    /* 3. MEGA-MENÜ ŞERİDİ (6 ANA GRUP) */
    .mega-bar {
      background: #F7FAFC;
      border-top: 1px solid var(--em-border);
    }
    .mega-list {
      display: flex;
      align-items: center;
      gap: 4px;
      overflow-x: auto;
      padding: 7px 0;
    }
    .mega-tab {
      background: transparent;
      border: 1px solid transparent;
      padding: 7px 13px;
      border-radius: 7px;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-weight: 700;
      font-size: 13px;
      color: var(--em-navy);
      cursor: pointer;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      transition: all 0.15s;
    }
    .mega-tab:hover { background: #E6F3F4; color: var(--em-petrol); }
    .mega-tab.active { background: var(--em-navy); color: #FFFFFF; }
    /* 4. KURUMSAL HERO & PAFTADAKİ 4 İLKE */
    .hero-wrap { padding: 24px 0 16px; }
    .hero-banner {
      background: linear-gradient(125deg, var(--em-navy) 0%, #0E3756 52%, var(--em-petrol) 100%);
      border-radius: 18px;
      padding: 34px 38px;
      color: #FFFFFF;
      display: grid;
      grid-template-columns: 1.45fr 1fr;
      gap: 32px;
      align-items: center;
      box-shadow: var(--em-shadow);
      position: relative;
      overflow: hidden;
    }
    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(217, 130, 43, 0.2);
      border: 1px solid var(--em-copper);
      color: #FCD34D;
      font-size: 11.5px;
      font-weight: 700;
      letter-spacing: 0.8px;
      padding: 4px 12px;
      border-radius: 20px;
      margin-bottom: 14px;
      text-transform: uppercase;
    }
    .hero-banner h1 {
      font-size: 30px;
      font-weight: 800;
      line-height: 1.22;
      margin-bottom: 12px;
      letter-spacing: -0.4px;
    }
    .hero-banner h1 span { color: #4FD1C5; }
    .hero-banner p {
      color: #D5E2EC;
      font-size: 14.8px;
      margin-bottom: 22px;
      max-width: 640px;
    }
    .hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
    .btn-copper {
      background: var(--em-copper);
      color: #FFFFFF;
      border: none;
      padding: 12px 22px;
      border-radius: 9px;
      font-weight: 700;
      font-size: 14px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: background 0.2s;
    }
    .btn-copper:hover { background: var(--em-copper-hover); }
    .btn-outline-light {
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.3);
      color: #FFFFFF;
      padding: 12px 20px;
      border-radius: 9px;
      font-weight: 700;
      font-size: 14px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-outline-light:hover { background: rgba(255,255,255,0.2); }

    /* Paftadaki 4 Kurumsal Değer Kutusu */
    .pillars-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    .pillar-card {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 12px;
      padding: 16px;
      display: flex;
      align-items: center;
      gap: 14px;
      backdrop-filter: blur(4px);
    }
    .pillar-icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      background: rgba(24, 167, 160, 0.22);
      border: 1px solid rgba(24, 167, 160, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: #5EEAD4;
    }
    .pillar-title {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.5px;
      color: #FFFFFF;
      line-height: 1.3;
    }
    .pillar-sub { font-size: 11.5px; color: #CBD5E1; margin-top: 2px; }

    /* 5. GLOBAL B2B KATALOG MİMARİSİ (SOL SİDEBAR AĞACI + SAĞ KART/TABLO VİTRİNİ) */
    .b2b-workspace {
      padding: 20px 0 44px;
      display: grid;
      grid-template-columns: 290px 1fr;
      gap: 24px;
      align-items: start;
    }
    .sidebar-panel {
      background: var(--em-surface);
      border: 1px solid var(--em-border);
      border-radius: 14px;
      padding: 18px;
      position: sticky;
      top: 132px;
      box-shadow: var(--em-shadow);
    }
    .sidebar-title {
      font-size: 14px;
      font-weight: 800;
      color: var(--em-navy);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      padding-bottom: 10px;
      margin-bottom: 10px;
      border-bottom: 2px solid var(--em-turquoise);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .cat-tree-list {
      list-style: none;
      max-height: 540px;
      overflow-y: auto;
      padding-right: 4px;
    }
    .cat-tree-btn {
      width: 100%;
      background: transparent;
      border: none;
      text-align: left;
      padding: 8px 10px;
      border-radius: 7px;
      font-size: 12.5px;
      font-weight: 600;
      color: var(--em-text);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 0.15s;
      margin-bottom: 2px;
    }
    .cat-tree-btn:hover { background: #EBF5F6; color: var(--em-petrol); }
    .cat-tree-btn.active {
      background: var(--em-navy);
      color: #FFFFFF;
      font-weight: 700;
    }
    .cat-tree-count {
      font-size: 11px;
      background: #EDF2F4;
      color: var(--em-muted);
      padding: 1px 7px;
      border-radius: 10px;
      font-weight: 700;
    }
    .cat-tree-btn.active .cat-tree-count {
      background: var(--em-copper);
      color: #FFFFFF;
    }

    /* Sağ Katalog Alanı Üst Araç Çubuğu */
    .catalog-toolbar {
      background: var(--em-surface);
      border: 1px solid var(--em-border);
      border-radius: 12px;
      padding: 14px 18px;
      margin-bottom: 18px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      box-shadow: var(--em-shadow);
    }
    .toolbar-left h2 { font-size: 19px; color: var(--em-navy); font-weight: 800; }
    .toolbar-left p { font-size: 12.5px; color: var(--em-muted); }
    .toolbar-controls {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }
    .view-switch-btn {
      background: #F1F5F8;
      border: 1px solid var(--em-border);
      color: var(--em-navy);
      padding: 7px 12px;
      border-radius: 7px;
      font-size: 12.5px;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .view-switch-btn.active {
      background: var(--em-petrol);
      color: #FFFFFF;
      border-color: var(--em-petrol);
    }

    /* Ürün Kart Görünümü (Grid) */
    .product-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 18px;
    }
    .product-card {
      background: var(--em-surface);
      border: 1px solid var(--em-border);
      border-radius: 14px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: all 0.2s;
      box-shadow: var(--em-shadow);
    }
    .product-card:hover {
      border-color: var(--em-turquoise);
      transform: translateY(-3px);
    }
    .p-visual {
      height: 205px;
      background: #FFFFFF;
      border-bottom: 1px solid #EEF3F6;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      cursor: pointer;
    }
    .p-visual img { max-width: 100%; max-height: 175px; object-fit: contain; }
    .sku-pill {
      position: absolute;
      top: 10px;
      right: 10px;
      background: var(--em-navy);
      color: #FFFFFF;
      font-size: 11px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 5px;
      font-family: monospace;
    }
    .legal-group-tag {
      position: absolute;
      top: 10px;
      left: 10px;
      font-size: 10px;
      font-weight: 700;
      padding: 3px 7px;
      border-radius: 5px;
      background: #E8F3F4;
      color: var(--em-petrol);
      border: 1px solid #B8DCE0;
    }
    .legal-group-tag.grp-B { background: #EFF6FF; color: #1E40AF; border-color: #BFDBFE; }
    .legal-group-tag.grp-C { background: #FEF3C7; color: #92400E; border-color: #FDE68A; }

    .p-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
    .p-cat { font-size: 10.5px; font-weight: 700; color: var(--em-petrol); text-transform: uppercase; margin-bottom: 4px; }
    .p-title { font-size: 15px; font-weight: 800; color: var(--em-navy); line-height: 1.35; margin-bottom: 7px; cursor: pointer; }
    .p-title:hover { color: var(--em-petrol); }
    .p-desc {
      font-size: 13px;
      color: var(--em-muted);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .p-footer {
      padding: 0 16px 16px;
      display: flex;
      flex-direction: column;
      gap: 7px;
    }
    .p-btn-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 7px;
    }
    .btn-wa-card {
      background: var(--em-turquoise);
      color: #FFFFFF;
      padding: 9px 10px;
      border-radius: 8px;
      font-weight: 700;
      font-size: 12px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      transition: background 0.15s;
    }
    .btn-wa-card:hover { background: var(--em-petrol); }
    .btn-add-rfq {
      background: var(--em-copper);
      color: #FFFFFF;
      border: none;
      padding: 9px 10px;
      border-radius: 8px;
      font-weight: 700;
      font-size: 12px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      transition: background 0.15s;
    }
    .btn-add-rfq:hover { background: var(--em-copper-hover); }
    .btn-spec-view {
      background: #F2F6F9;
      color: var(--em-navy);
      border: 1px solid var(--em-border);
      padding: 7px 10px;
      border-radius: 7px;
      font-weight: 700;
      font-size: 11.5px;
      cursor: pointer;
      width: 100%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
    }
    .btn-spec-view:hover { background: var(--em-navy); color: #FFFFFF; }

    /* B2B Hızlı Tablo Görünümü (Medline / McMaster-Carr Tarzı) */
    .b2b-table-wrap {
      background: var(--em-surface);
      border: 1px solid var(--em-border);
      border-radius: 14px;
      overflow-x: auto;
      box-shadow: var(--em-shadow);
    }
    .b2b-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13.5px;
    }
    .b2b-table th {
      background: var(--em-navy);
      color: #FFFFFF;
      padding: 12px 14px;
      text-align: left;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.4px;
    }
    .b2b-table td {
      padding: 11px 14px;
      border-bottom: 1px solid #EEF3F6;
      vertical-align: middle;
    }
    .b2b-table tr:hover { background: #F5FAFB; }

    /* VIDEO 53 — ONLY B2B FAST TABLE: compact 48px thumbnail alongside item name. */
    .b2b-workspace > div:last-child { min-width: 0; }
    .b2b-table { min-width: 805px; }
    .b2b-table td { padding: 8px 11px; }
    .b2b-table-product { display: flex; align-items: center; gap: 11px; min-width: 215px; }
    .b2b-thumb { width: 50px; height: 50px; flex: 0 0 50px; position: relative;
      border: 1px solid #D6E3E9; border-radius: 8px; background: #F4F8F9;
      display:flex; align-items:center; justify-content:center; overflow:hidden; }
    .b2b-thumb img { width: 100%; height: 100%; object-fit: contain; display:block; background: white; }
    .b2b-thumb.candidate:after { content: ''; position:absolute; right:3px; bottom:3px;
      width:7px;height:7px;border-radius:100%;background:#D9822B;border:1px solid white; }
    .b2b-thumb-placeholder[hidden] { display:none!important; }
    .b2b-thumb-placeholder { display:flex; align-items:center; justify-content:center; height:100%; width:100%; color:#8CA2AC; }
    .b2b-table-product-text { min-width: 0; }
    .b2b-table-product-name { display:block; color:var(--em-navy); font-weight:700; font-size:12.6px; line-height:1.33;
       cursor:pointer; border:none; padding:0; background:transparent; text-align:left; }
    .b2b-table-product-name:hover { color:var(--em-petrol); text-decoration:underline; }
    .b2b-table-product-desc { font-size:11.4px; color:var(--em-muted); line-height:1.38; display:-webkit-box;
      -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
    .b2b-table-photo-note { font-size:11px; color:#52677D; padding:10px 13px;
      border-top:1px solid var(--em-border); background:#F7FAFC; }
    .b2b-table-wrap { scrollbar-gutter: stable; }
    @media(max-width:600px){.b2b-table-product{gap:8px;min-width:205px}.b2b-thumb{width:44px;height:44px;flex-basis:44px}}


    /* 6. İŞYERİ REVİRİ & OSGB KURULUM SİHİRBAZI */
    .revir-section { padding: 10px 0 40px; }
    .revir-container-box {
      background: var(--em-surface);
      border: 2px solid var(--em-petrol);
      border-radius: 18px;
      padding: 30px;
      box-shadow: var(--em-shadow);
    }
    .revir-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
      gap: 10px;
      margin: 20px 0;
    }
    .revir-check-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 11px 14px;
      border: 1px solid var(--em-border);
      border-radius: 9px;
      background: #F8FAFC;
      cursor: pointer;
    }
    .revir-check-row:hover { border-color: var(--em-turquoise); background: #F0F9FA; }
    .revir-check-row input { width: 17px; height: 17px; accent-color: var(--em-petrol); }
    .revir-context-warning, .revir-review-note { padding: 14px 16px; border-radius: 10px; font-size: 13px; line-height: 1.6; margin-top: 16px; }
    .revir-context-warning { background: #FFF8EB; border: 1px solid #EAD4A5; color: #654415; }
    .revir-context-warning strong { display: flex; align-items: center; gap: 8px; }
    .revir-context-warning p, .revir-review-note p { margin-top: 6px; }
    .revir-review-note { background: #EEF7F8; border: 1px solid #C8E0E2; color: var(--em-navy); }
    .revir-action-status { margin-top: 10px; min-height: 18px; text-align: right; font-size: 12.5px; font-weight: 600; color: var(--em-petrol); }
    .revir-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
    .revir-check-row { gap: 10px; }
    .revir-check-row > span:first-child { min-width: 0; }
    .revir-check-row > span:last-child { max-width: 135px; text-align: right; flex: 0 0 auto; }
    @media(max-width:600px) {
      .revir-container-box { padding: 18px 14px; }
      .revir-check-row { align-items: flex-start; flex-direction: column; }
      .revir-check-row > span:last-child { max-width: 100%; margin-left: 27px; }
    }


/* VIDEO 48: Yalnız revir seçimi için üç sütunlu görsel ve responsive düzen. */
.em-revir-v2 { overflow: hidden; }
.em-revir-intro {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(250px, 0.38fr);
  align-items: center; gap: 18px; padding: 22px 26px; color: #fff;
  border-radius: 14px; background: linear-gradient(106deg,#0B2742 0%,#084767 57%,#006D77 100%);
  position: relative; isolation: isolate;
}
.em-revir-intro:after { content: ''; position:absolute; inset:0 0 0 auto; width:34%;
  opacity:.18; background: radial-gradient(ellipse at center,#8cece5 0%,transparent 72%); z-index:-1; }
.em-revir-intro h2 { font-size: clamp(19px, 2.0vw, 27px); line-height:1.24; color:#fff; margin:0 0 5px; }
.em-revir-intro p { font-size:13.5px; color:#DBEDF2; }
.em-revir-icon { width:64px; height:64px; border:1px solid rgba(255,255,255,.4);border-radius:15px;
  display:grid;place-items:center; color:#50E2D5; flex:0 0 64px; }
.em-revir-heading { display:flex; align-items:center; gap:18px; }
.em-revir-heading>div:last-child { min-width:0; }
.em-revir-intro aside { color:#D8F0F1; font-size:12px; line-height:1.5; text-align:right; }
.em-revir-boards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:18px; }
.em-revir-board { border:1px solid #D7E5E8; background:#fff; border-radius:16px; overflow:hidden;
  box-shadow:0 8px 24px rgba(11,39,66,.06); min-width:0; }
.em-revir-board-head { min-height:103px; padding:19px 17px; color:#fff; display:flex; gap:14px; align-items:flex-start; }
.em-revir-board:nth-child(1) .em-revir-board-head { background:linear-gradient(115deg,#04A9A7,#006D77); }
.em-revir-board:nth-child(2) .em-revir-board-head { background:linear-gradient(115deg,#0873A8,#0B2742); }
.em-revir-board:nth-child(3) .em-revir-board-head { background:linear-gradient(115deg,#6748A5,#292A63); }
.em-revir-board-head svg { flex:0 0 30px; width:30px; height:30px; margin-top:3px; }
.em-revir-board-head h3 { font-size:16px; line-height:1.28; font-weight:800; color:#fff; }
.em-revir-board-head p { font-size:11.7px; color:#EDF7FB; line-height:1.45; margin-top:3px; }
.em-revir-items { padding:6px 11px 10px; }
.em-revir-item { display:grid; grid-template-columns: 20px 43px minmax(0,1fr) auto;
  align-items:center; gap:10px; width:100%; min-height:65px; padding:8px 3px;
  border-bottom:1px solid #EDF2F4; cursor:pointer; }
.em-revir-item:last-child { border-bottom:0; }
.em-revir-item:hover { background:#F3F9F9; }
.em-revir-item:focus-within { outline:2px solid #18A7A0; outline-offset:-2px; border-radius:8px; }
.em-revir-item input[type=checkbox] { width:17px; height:17px; accent-color:#006D77; cursor:pointer; }
.em-revir-picto { display:grid;place-items:center;width:42px;height:42px; border-radius:10px;
  background:#F0F7F8; color:#006D77; font-size:22px; line-height:1; }
.em-revir-prodname { color:#0B2742; font-weight:700; font-size:12.4px; line-height:1.36; min-width:0; }
.em-revir-code { color:#0B4051; background:#E9F2F3; border:1px solid #CEE1E2; border-radius:6px;
  padding:3px 6px; white-space:nowrap; font-weight:800; font-size:10.6px; font-family:monospace; }
.em-revir-subtext { display:block; color:#61758A; font-size:10.8px; font-weight:500; line-height:1.3; margin-top:2px; }
.em-revir-v2 .em-revir-caveat { display:flex;gap:14px;align-items:center; padding:14px 17px; margin-top:16px;
  border:1px solid #DBE6EC; border-radius:13px; background:#F5F9FB; color:#35526A; font-size:12px; line-height:1.5; }
.em-revir-caveat svg { color:#006D77;flex:0 0 22px; }
.em-revir-actions { display:flex; align-items:center;justify-content:flex-end;gap:11px; flex-wrap:wrap;
  padding-top:15px;margin-top:12px;border-top:1px solid #E2EAEF; }
.em-revir-actions button { min-height:43px; }
.em-revir-cnt { margin-right:auto; font-size:12.6px;font-weight:800;color:#006D77; }
.em-revir-v2 .revir-action-status { flex:0 0 100%; }
@media(max-width:1100px) {
  .em-revir-boards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .em-revir-board:last-child { grid-column:1/-1; }
}
@media(max-width:740px) {
  .em-revir-boards { grid-template-columns:1fr; }
  .em-revir-board:last-child { grid-column:auto; }
  .em-revir-intro { grid-template-columns:1fr; padding:19px; }
  .em-revir-intro aside { text-align:left; }
  .em-revir-heading { gap:12px; }
  .em-revir-icon { height:48px;width:48px;flex-basis:48px; }
  .em-revir-board-head { min-height:0; }
  .em-revir-actions { justify-content:stretch; }
  .em-revir-actions button { flex:1 1 230px;justify-content:center; }
  .em-revir-cnt { flex:0 0 100%; }
}
@media(max-width:360px) {
  .em-revir-item { grid-template-columns:20px 38px minmax(0,1fr); gap:7px; }
  .em-revir-picto { width:36px; height:36px; font-size:19px; }
  .em-revir-code { grid-column:3; justify-self:start; }
}

    /* 7. 29001 SAYILI TIBBİ CİHAZ BİLGİLENDİRMESİ (VEKTÖREL KALKAN BLOĞU) */
    .titck-section { padding: 0 0 44px; }
    .titck-card {
      background: linear-gradient(135deg, #FFFFFF 0%, #F2F8FD 60%, #DCEBFA 100%);
      border: 2px solid #93C5FD;
      border-radius: 20px;
      padding: 34px 38px;
      display: grid;
      grid-template-columns: 1.45fr 1fr;
      gap: 30px;
      align-items: center;
      box-shadow: var(--em-shadow);
    }
    .titck-head {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 14px;
    }
    .titck-head h2 {
      font-size: 27px;
      font-weight: 800;
      line-height: 1.12;
      color: var(--em-navy);
    }
    .titck-head h2 span { display: block; color: #0284C7; }
    .titck-p { font-size: 14.2px; color: #1E293B; margin-bottom: 10px; line-height: 1.62; }
    .titck-p strong { color: #0284C7; }
    .titck-3cols {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin-top: 18px;
      padding-top: 16px;
      border-top: 1px solid #BFDBFE;
    }
    .titck-col-item {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 12.5px;
      color: var(--em-navy);
      line-height: 1.35;
    }
    .titck-info-bar {
      background: rgba(255,255,255,0.92);
      border: 1px solid #93C5FD;
      border-radius: 12px;
      padding: 13px 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 12.8px;
      font-weight: 600;
      color: var(--em-navy);
      margin-top: 12px;
    }

    /* KURUMSAL REFERANSLAR */
    .refs-wrap { padding: 0 0 42px; }
    .refs-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 12px;
    }
    .ref-item {
      background: var(--em-surface);
      border: 1px solid var(--em-border);
      border-radius: 10px;
      padding: 14px 16px;
      font-size: 13px;
      font-weight: 700;
      color: var(--em-navy);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    /* FOOTER (ELİF MEDICAL MARKASI & MEDİKAL ÇİZGİ RESMİ KÜNYESİ) */
    .site-footer {
      background: var(--em-navy);
      color: #CBD5E1;
      padding: 52px 0 26px;
      border-top: 4px solid var(--em-copper);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
      gap: 30px;
      margin-bottom: 34px;
    }
    .footer-col h4 {
      color: #FFFFFF;
      font-size: 15.5px;
      margin-bottom: 14px;
      padding-bottom: 8px;
      border-bottom: 2px solid var(--em-turquoise);
      display: inline-block;
    }
    .footer-list { list-style: none; }
    .footer-list li {
      margin-bottom: 8px;
      font-size: 13px;
      cursor: pointer;
      transition: color 0.15s;
    }
    .footer-list li:hover { color: #5EEAD4; }
    .legal-box {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.13);
      border-radius: 10px;
      padding: 15px;
      font-size: 12.5px;
      line-height: 1.65;
    }
    .legal-box strong { color: #FFFFFF; }
    .footer-bottom {
      padding-top: 22px;
      border-top: 1px solid rgba(255,255,255,0.1);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      font-size: 12px;
      color: #94A3B8;
    }

    /* SAĞDAN AÇILIR "TEKLİF LİSTEM" (B2B RFQ DRAWER) */
    .rfq-drawer-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(11, 39, 66, 0.65);
      display: none;
      justify-content: flex-end;
      z-index: 2100;
    }
    .rfq-drawer-backdrop.open { display: flex; }
    .rfq-drawer {
      background: #FFFFFF;
      width: 100%;
      max-width: 460px;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 24px;
      box-shadow: -10px 0 35px rgba(0,0,0,0.25);
    }
    .rfq-item-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 0;
      border-bottom: 1px solid var(--em-border);
      gap: 10px;
      font-size: 13px;
    }
    .qty-btn {
      width: 26px;
      height: 26px;
      border: 1px solid var(--em-border);
      background: #F8FAFC;
      border-radius: 5px;
      font-weight: 700;
      cursor: pointer;
    }

    /* MODAL (TEKNİK ŞARTNAME FİŞİ & PROFORMA TEKLİF FORMU) */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(11, 39, 66, 0.72);
      backdrop-filter: blur(3px);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 2200;
      padding: 20px;
    }
    .modal-backdrop.open { display: flex; }
    .modal-box {
      background: #FFFFFF;
      border-radius: 16px;
      max-width: 760px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      padding: 28px;
      position: relative;
      box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
    }
    .modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      background: #EDF2F4;
      border: none;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      font-weight: 800;
      cursor: pointer;
    }
    .spec-table {
      width: 100%;
      border-collapse: collapse;
      margin: 14px 0;
      font-size: 13.5px;
    }
    .spec-table th, .spec-table td {
      padding: 9px 12px;
      border: 1px solid var(--em-border);
      text-align: left;
    }
    .spec-table th { background: #F6F9FB; color: var(--em-navy); width: 36%; }

    .em-corporate-content { color:#334155; font-size:14px; line-height:1.75; }
    .em-corporate-content p { margin: 0 0 14px; }
    .em-corporate-content a { color:var(--em-petrol); text-decoration:underline; }

    @media (max-width: 1024px) {
      .b2b-workspace, .hero-banner, .titck-card, .footer-grid { grid-template-columns: 1fr; }
      .sidebar-panel { position: static; }
      .header-main { flex-direction: column; align-items: stretch; }
      .brand-logo-wrap { margin: 0 auto; width: min(340px, 100%); }
      .search-wrapper { max-width: 100%; }
      .header-actions { justify-content: center; flex-wrap: wrap; }
    }
    @media (max-width: 760px) {
      .corporate-links { display:none; }
      .corporate-mobile-menu { display:block; }
      .corporate-bar { min-height:38px; }
      .header-main { gap: 12px; padding: 12px 0; }
      .brand-logo-wrap { width: min(290px, 100%); }
      .search-wrapper { min-width:0; }
    }
    @media (max-width: 390px) {
      .header-actions { gap: 8px; }
      .btn-wa-top, .btn-rfq-drawer-trigger { padding:9px 11px; font-size:12px; }
      .search-box input { min-width:0; }
      .search-submit { padding:11px 13px; }
    }


    /* Video49 footer navigasyonu: tasarım korunur, erişilebilir butonlar eklenir. */
    .site-footer .footer-list li { cursor: default; }
    .site-footer .footer-nav-btn {
      display: inline-block; width: 100%; padding: 1px 0;
      background: none; border: 0; border-radius: 3px;
      color: inherit; text-align: left; font: inherit; line-height: 1.5;
      cursor: pointer; transition: color .15s ease;
    }
    .site-footer .footer-nav-btn:hover,
    .site-footer .footer-nav-btn:focus-visible { color: #5EEAD4; }
    .site-footer .footer-nav-btn:focus-visible { outline: 2px solid #5EEAD4; outline-offset: 3px; }
    @media (min-width: 700px) and (max-width: 1024px) {
      .site-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    }
    @media (max-width: 699px) {
      .site-footer .footer-grid { grid-template-columns: minmax(0,1fr); }
    }

  
/* AŞAMA 2B onaylı görsel referansa hedefli HTML uyarlaması.
  Ürün küçük resimleri = referans tasarımından alınan TEMSİLİ görseller, doğrulanmış ürün medyası DEĞİL. */
.em-revir-v2 { border:0; padding:22px; background:linear-gradient(130deg,#F4FCFE,#FFFFFF);box-shadow:0 15px 35px rgba(11,39,66,.11); }
.em-revir-intro { min-height:112px; grid-template-columns:1fr; background-image:linear-gradient(90deg,#0B2742 0%,#084c68 66%,rgba(0,109,119,.14) 82%,transparent 100%),url('assets/revir-oda-temsili.webp'); background-position:center,right center; background-size:100% 100%,auto 100%; background-repeat:no-repeat; }
.em-revir-intro:after { display:none; }
.em-revir-intro aside { display:none; }
.em-revir-heading { max-width:78%; }
.em-revir-icon { border:0; border-right:1px solid rgba(61,217,212,.72); border-radius:0; flex-basis:76px; width:76px; }
.em-revir-icon svg { width:57px; height:57px; }
.em-revir-intro h2 { font-size:clamp(19px,2.25vw,31px); }
.em-revir-intro p { font-size:15px; }
.em-revir-boards { gap:15px; margin-top:20px; }
.em-revir-board-head { min-height:99px; padding:15px 18px; align-items:center; }
.em-revir-board-head svg { flex-basis:45px; width:45px; height:45px; }
.em-revir-board-head h3 { font-size:16.5px; }
.em-revir-board-head p { font-size:12.5px; }
.em-revir-items { padding:4px 12px 12px; }
.em-revir-item { grid-template-columns:22px 68px minmax(0,1fr) auto; gap:9px; min-height:66px; padding:6px 4px; }
.em-revir-picto { width:68px;height:51px;background:#FFFFFF;border-radius:5px; }
.em-revir-picto img { width:68px;height:51px;object-fit:contain; }
.em-revir-prodname { font-size:12.9px; }
.em-revir-code { font-size:11.2px; }
.em-revir-v2 .em-revir-caveat { justify-content:center; background:#F0F8FB;border-radius:14px; padding:16px 20px; color:#0B2742; font-size:13.8px; }
.em-revir-actions { justify-content:center; border-top:0; padding:17px 0 0; gap:14px; }
.em-revir-actions .em-revir-cnt { flex:0 0 100%; text-align:center; }
.em-revir-actions button { padding:13px 20px; min-height:49px; font-size:13px; }
.em-revir-v2 .revir-action-status { text-align:center; }
/* Search results scroll below sticky header, and filters are independent of new global searches. */
#katalog-alani { scroll-margin-top:190px; }
#ajaxSearchInput::-webkit-search-cancel-button { cursor:pointer; }
.ajax-row { background:transparent; width:100%; border:0;border-bottom:1px solid #F0F4F7; text-align:left; font:inherit; }
.ajax-row:focus-visible { outline:2px solid var(--em-turquoise); outline-offset:-2px; }
.search-result-summary { font-size:12px;color:var(--em-petrol);font-weight:650; }
@media(max-width:1100px) {
 .em-revir-item { grid-template-columns:22px 68px minmax(0,1fr) auto; }
}
@media(max-width:740px) {
 .em-revir-v2 { padding:12px; }
 .em-revir-intro { background-image:linear-gradient(90deg,#0B2742 0%,#084c68 100%);padding:18px 14px; }
 .em-revir-heading { max-width:100%; }
 .em-revir-icon { flex-basis:45px;width:45px; }
 .em-revir-icon svg { width:38px;height:38px; }
 .em-revir-intro h2 { font-size:20px; }
 .em-revir-boards { grid-template-columns:1fr; }
 .em-revir-board-head { min-height:85px; }
 .em-revir-item { grid-template-columns:18px 63px minmax(0,1fr) auto; gap:6px; }
 .em-revir-picto, .em-revir-picto img { width:60px;height:48px; }
 .em-revir-actions { justify-content:center; }
 .em-revir-actions button { width:100%; flex:auto; }
}
@media(max-width:430px) {
 .em-revir-item { grid-template-columns:18px 53px minmax(0,1fr) auto;gap:6px; }
 .em-revir-picto, .em-revir-picto img { width:51px;height:45px; }
 .em-revir-prodname { font-size:11.8px; }
 .em-revir-code { font-size:9.5px; padding:3px; }
}
@media(max-width:345px) {
 .em-revir-item { grid-template-columns:17px 45px minmax(0,1fr); }
 .em-revir-picto, .em-revir-picto img { width:43px;height:42px; }
 .em-revir-code { grid-column:3;justify-self:start; }
}

  
/* Birleşik sayfa mobil kontrollerinde saptanan tarihi 419px taşma: Hero ve tıbbi cihaz bilgilendirme panelleri. */
@media(max-width:760px) {
 .hero-banner, .titck-card { grid-template-columns:minmax(0,1fr); padding:20px;gap:18px; }
 .hero-banner > *, .titck-card > * { min-width:0; max-width:100%; }
 .hero-tag { max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.5;font-size:10.5px; }
 .hero-banner h1 { font-size:clamp(23px,6vw,30px);overflow-wrap:break-word; }
 .pillars-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .pillars-grid > * { min-width:0; }
 .titck-head, .titck-info-bar { min-width:0; }
 .titck-card svg { max-width:100%;height:auto; }
 .titck-3cols { grid-template-columns:minmax(0,1fr);gap:12px; }
 .titck-col-item { min-width:0; }
}
@media(max-width:440px) {
 .pillars-grid {grid-template-columns:minmax(0,1fr);}
 .hero-btns > a {width:100%;justify-content:center;}
 .titck-card {padding:18px;}
 .titck-head h2 {font-size:23px;}
}

    /* Video 52: Ürün fotoğrafı ve teknik bilgi işlevlerini bilinçli biçimde ayır. */
    .p-visual { cursor: zoom-in; }
    .em-product-detail { display:grid;grid-template-columns:minmax(200px, 0.9fr) minmax(0,1.3fr);gap:22px;align-items:start;margin-top:18px; }
    .em-product-photo-button {width:100%;min-height:226px;border:1px solid var(--em-border);border-radius:14px;background:linear-gradient(180deg,#FFFFFF 65%,#F0F7F8);display:flex;align-items:center;justify-content:center;cursor:zoom-in;padding:14px;position:relative;}
    .em-product-photo-button img {max-width:100%;max-height:226px;object-fit:contain;}
    .em-image-zoom-hint {position:absolute;bottom:10px;right:12px;background:rgba(11,39,66,.88);color:white;font-size:11px;padding:5px 8px;border-radius:7px;}
    .em-product-media-note {font-size:11.5px;color:var(--em-muted);line-height:1.55;margin-top:9px;}
    .em-product-detail-head {font-size:11.8px;font-weight:800;color:var(--em-petrol);letter-spacing:.2px;}
    .em-product-detail h2 {color:var(--em-navy);font-size:22px;line-height:1.27;margin:7px 0 12px;}
    .em-product-desc {font-size:13.5px;color:#334155;line-height:1.7;margin:10px 0;}
    .em-spec-summary {display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:13px 0;}
    .em-spec-summary div {border:1px solid var(--em-border);background:#F6F9FB;border-radius:9px;padding:9px 10px;min-width:0;}
    .em-spec-summary dt {font-size:11px;color:var(--em-muted);font-weight:600;margin-bottom:3px;}
    .em-spec-summary dd {font-size:12.5px;font-weight:800;line-height:1.4;color:var(--em-navy);overflow-wrap:anywhere;}
    .em-spec-check {margin-top:17px;padding:16px;border-radius:12px;border:1px solid #B8DCE0;background:#F0F8F8;}
    .em-spec-check h3 {color:var(--em-navy);font-size:16px;margin-bottom:8px;}
    .em-spec-check p {font-size:12.7px;color:#375269;line-height:1.65;}
    .em-spec-tags {display:flex;flex-wrap:wrap;gap:7px;margin-top:12px;}
    .em-spec-tags span {border:1px solid #C4DADE;background:white;border-radius:7px;padding:5px 9px;font-size:11.6px;font-weight:650;color:#17465A;}
    .em-product-actions {display:flex;gap:10px;flex-wrap:wrap;margin-top:20px;}
    .em-product-actions a,.em-product-actions button {flex:1;justify-content:center;text-align:center;min-width:155px;}
    .em-image-modal-backdrop {position:fixed;inset:0;z-index:2300;display:none;align-items:center;justify-content:center;background:rgba(5,20,36,.9);padding:18px;}
    .em-image-modal-backdrop.open {display:flex;}
    .em-image-dialog {width:min(1080px,100%);max-height:96vh;display:flex;flex-direction:column;background:#FFFFFF;border-radius:15px;padding:16px;box-shadow:0 24px 70px rgba(0,0,0,.4);overflow:hidden;}
    .em-image-dialog-head {display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--em-border);}
    .em-image-dialog-head h2 {font-size:16px;line-height:1.4;color:var(--em-navy);margin-bottom:4px;}
    .em-image-dialog-head p {font-size:12px;color:var(--em-muted);}
    .em-image-close {background:#EDF2F4;border:0;border-radius:100%;width:38px;height:38px;flex-shrink:0;font-size:19px;cursor:pointer;}
    .em-image-stage {min-height:230px;height:min(65vh,650px);overflow:auto;display:flex;align-items:center;justify-content:center;background:#F7FAFC;border:1px solid #E5EEF2;border-radius:10px;margin-top:12px;}
    .em-image-stage img {max-width:100%;max-height:100%;object-fit:contain;transition:transform .18s;cursor:zoom-in;}
    .em-image-stage img.em-image-zoomed {transform:scale(1.7);cursor:zoom-out;}
    .em-image-controls {display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:11px;}
    .em-image-controls button {background:#E8F3F4;color:var(--em-navy);font-weight:700;border:1px solid #B8DCE0;border-radius:8px;padding:9px 12px;cursor:pointer;}
    .em-image-controls button:disabled {opacity:.4;cursor:not-allowed;}
    .em-image-note {font-size:12px;line-height:1.55;color:#52677D;max-width:690px;}
    @media (max-width: 660px) {
      .modal-box {padding:20px 15px;}
      .em-product-detail {grid-template-columns:1fr;gap:13px;}
      .em-product-photo-button {min-height:185px;}
      .em-product-photo-button img {max-height:185px;}
      .em-product-detail h2 {font-size:19px;}
      .em-product-actions {flex-direction:column;}
      .em-product-actions a,.em-product-actions button {width:100%;min-width:0;}
      .em-image-stage {height:57vh;min-height:190px;}
      .em-image-dialog {padding:11px;}
      .em-image-controls {gap:8px;}
    }

  
/* WordPress entegrasyon yardımcıları: V4 tasarımının renk/ölçü düzenini değiştirmez. */
.em-wp-staging-note{max-width:1140px;margin:12px auto;padding:11px 16px;border:1px solid #d4ab65;background:#fff8e9;color:#623d0a;border-radius:8px;font:600 12px/1.5 system-ui,sans-serif}
.em-wp-page{max-width:1120px;min-height:60vh;margin:32px auto 70px;padding:26px;background:#fff;border:1px solid #dfe9ee;border-radius:14px}
.em-wp-page h1{color:#0b2742;font-size:clamp(25px,3vw,37px);margin:0 0 24px}
.em-wp-page-content{color:#334155;line-height:1.85;font-size:15px}
.em-wp-page-content p{margin-bottom:15px}
body.admin-bar .site-header{top:32px}
@media(max-width:782px){body.admin-bar .site-header{top:46px}.em-wp-page{margin:14px;padding:17px}}

.corporate-links a,.corporate-mobile-menu nav a{border:0;background:transparent;color:inherit;font:inherit;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;padding:0 5px}
.corporate-links a:hover,.corporate-mobile-menu nav a:hover{color:#18A7A0}


/* ===========================================================================
   VIDEO 07 KASIM V4 INCE DETAYLAR — v0.1.2 TARGETED UI DELTA
   Scope: display/navigation/layout only. Does not change WooCommerce records,
   photo approval, product pricing, catalogue membership or RFQ business rules.
   =========================================================================== */
/* 00:09-00:48: Seven categories fit at 100% desktop zoom, no sideways strip. */
.mega-bar .mega-list {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:3px;
  overflow-x:visible;
  overflow-y:visible;
  padding:7px 0;
}
.mega-bar .mega-tab {
  min-width:0;
  width:100%;
  justify-content:center;
  text-align:center;
  white-space:normal;
  overflow-wrap:normal;
  line-height:1.24;
  padding:8px 4px;
  font-size:clamp(10px,.78vw,12px);
  gap:5px;
}
.mega-bar .mega-tab .svg-icon { flex:0 0 13px; width:13px; height:13px; }
/* 02:18-03:12: controls stay right aligned on every initial/rendered view. */
.catalog-toolbar .toolbar-left { min-width:0;flex:1 1 240px; }
.catalog-toolbar .toolbar-controls { flex:0 0 auto;margin-left:auto;justify-content:flex-end; }
.catalog-toolbar .view-switch-btn { white-space:normal;text-align:center; }
/* 03:24-05:03, 07:00-08:13: list, note and two actions stay visually adjacent. */
.em-revir-v2 .em-revir-bottom-bar {
  display:grid;
  grid-template-columns:minmax(260px,.86fr) minmax(0,1.24fr);
  gap:13px;
  align-items:center;
  margin-top:13px;
}
.em-revir-v2 .em-revir-bottom-bar .em-revir-caveat {
  margin:0;
  padding:10px 12px;
  gap:9px;
  justify-content:flex-start;
  font-size:11.9px;
  line-height:1.5;
  min-width:0;
}
.em-revir-v2 .em-revir-bottom-bar .em-revir-caveat small {
  font-size:10.5px !important;
  line-height:1.42;
}
.em-revir-v2 .em-revir-bottom-bar .em-revir-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
  flex-wrap:wrap;
  padding:0;
  margin:0;
  border:0;
  min-width:0;
}
.em-revir-v2 .em-revir-bottom-bar .em-revir-cnt {
  flex:0 0 auto;
  text-align:right;
  margin:0;
  font-size:11.8px;
}
.em-revir-v2 .em-revir-bottom-bar .em-revir-actions button {
  flex:0 1 auto;
  min-height:42px;
  padding:9px 12px;
  font-size:11.6px;
  max-width:290px;
  line-height:1.35;
  white-space:normal;
}
.em-revir-v2 .em-revir-bottom-bar .revir-action-status {
  flex:0 0 100%;
  text-align:right;
  min-height:0;
  margin:0;
  font-size:11.6px;
}
/* 05:06-05:54: back-to-top is fixed, not a permanent overlay. */
.em-back-to-top {
  position:fixed;
  right:20px;
  bottom:27px;
  z-index:950;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.5);
  border-radius:50%;
  background:var(--em-navy,#0B2742);
  color:#fff;
  font:700 27px/1 system-ui,sans-serif;
  box-shadow:0 6px 20px rgba(11,39,66,.25);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(8px);
  transition:opacity .18s,transform .18s,visibility .18s;
  cursor:pointer;
}
.em-back-to-top.is-visible { opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0); }
.em-back-to-top:hover { background:var(--em-petrol,#006D77); }
.em-back-to-top:focus-visible {outline:3px solid var(--em-turquoise,#18A7A0);outline-offset:3px;}
#katalog-alani,#revir-sihirbazi {scroll-margin-top:180px;}
@media(max-width:1080px) {
 .mega-bar .mega-list {grid-template-columns:repeat(4,minmax(0,1fr));}
 .mega-bar .mega-tab {font-size:11.2px;min-height:34px;}
 .em-revir-v2 .em-revir-bottom-bar {grid-template-columns:1fr;}
 .em-revir-v2 .em-revir-bottom-bar .em-revir-actions {justify-content:flex-end;}
}
@media(max-width:700px) {
 .mega-bar .mega-list {grid-template-columns:repeat(3,minmax(0,1fr));}
 .mega-bar .mega-tab {font-size:10.7px;}
 .catalog-toolbar .toolbar-controls {margin-left:0;justify-content:flex-start;width:100%;}
 .em-revir-v2 .em-revir-bottom-bar .em-revir-actions {justify-content:stretch;}
 .em-revir-v2 .em-revir-bottom-bar .em-revir-cnt {flex:0 0 100%;text-align:left;}
 .em-revir-v2 .em-revir-bottom-bar .em-revir-actions button {flex:1 1 215px;max-width:none;}
 .em-revir-v2 .em-revir-bottom-bar .revir-action-status {text-align:left;}
 .em-back-to-top {width:42px;height:42px;right:14px;bottom:18px;font-size:25px;}
}
@media(max-width:430px) {
 .mega-bar .mega-list {grid-template-columns:repeat(2,minmax(0,1fr));}
 .mega-bar .mega-tab {font-size:10.5px;}
}
@media(prefers-reduced-motion:reduce) {
 .em-back-to-top {transition:none;}
}



/* V4.1A: readable one-line desktop with shorter navigation LABELS.
 * Data-mega ids, full category names, filters and other page controls remain intact. */
.mega-bar .mega-list {grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px; padding:7px 0; }
.mega-bar .mega-tab {font-size:14px; min-height:44px; padding:9px 3px; line-height:1.22; font-weight:700; letter-spacing:-.01em; gap:5px;}
.mega-bar .mega-tab .svg-icon {flex:0 0 15px; width:15px; height:15px;}
@media(max-width:1120px) { .mega-bar .mega-list {grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px;}.mega-bar .mega-tab {font-size:14px; min-height:44px;} }
@media(max-width:700px) { .mega-bar .mega-list {grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px;}.mega-bar .mega-tab {font-size:14px; padding:9px 6px;min-height:45px;} }
@media(max-width:360px) {.mega-bar .mega-tab {font-size:13px;} }



/* V4 V014: Operator-approved balanced rhythm; no visual or content changes elsewhere. */
@media (min-width:1121px) {
  .mega-bar .mega-list {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:clamp(8px,1.0vw,18px);
    overflow-x:visible;
    overflow-y:visible;
    padding:7px 0;
  }
  .mega-bar .mega-tab {
    flex:0 1 auto;
    width:auto;
    min-width:0;
    padding:10px 9px;
    gap:8px;
    white-space:nowrap;
    font-size:14px;
    line-height:1.2;
    text-align:center;
    justify-content:center;
  }
  .mega-bar .mega-tab .svg-icon {
    width:16px;
    height:16px;
    flex:0 0 16px;
  }
}




/* VIDEO 81: ONLY the old reference-cards section was replaced by a brand logo gallery.
   Original V4 v0.1.1 typography and approved V014 category/nav/revir styles remain intact. */
.em-brand-v014 { padding: 30px 0 38px; background: #fff; }
.em-brand-v014-title-row { display:flex; align-items:center; gap:18px; margin-bottom:17px; }
.em-brand-v014-title-row h3 { margin:0; font-family:'Plus Jakarta Sans',sans-serif; font-size:20px; line-height:1.35; font-weight:800; letter-spacing:-.35px; color:var(--em-navy); white-space:nowrap; }
.em-brand-v014-rule { flex:1; height:1px; background:linear-gradient(to right,var(--em-border),transparent); }
.em-brand-v014-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
.em-brand-v014-item { min-width:0; height:84px; display:flex; justify-content:center; align-items:center; padding:14px 13px; box-sizing:border-box; background:#fff; border:1px solid #e1e8ee; border-radius:12px; box-shadow:0 2px 9px rgba(11,39,66,.035); transition:border-color .2s ease,box-shadow .2s ease; }
.em-brand-v014-item:hover { border-color:#bddbdc; box-shadow:0 4px 16px rgba(11,39,66,.08); }
.em-brand-v014-item img { display:block; width:auto; height:auto; max-width:100%; max-height:51px; object-fit:contain; }
@media (max-width:1080px) { .em-brand-v014-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:700px) { .em-brand-v014 {padding:24px 0 30px;} .em-brand-v014-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;} .em-brand-v014-item {height:77px;padding:10px;} .em-brand-v014-title-row h3 {font-size:19px;} }
@media (max-width:450px) { .em-brand-v014-grid {grid-template-columns:repeat(2,minmax(0,1fr));} .em-brand-v014-item {height:74px;} }


/* Keyboard-only focus treatment: no visual change for pointer navigation. */
.p-visual[role="button"]:focus-visible {outline: 3px solid #18A7A0; outline-offset: 3px;}


/* v0.1.6: B2B SKU rozetleri 7/8 karakterli stok kodlarında satır kırmasın.
   Yalnız B2B tablosuna kapsamlı; arama, ürün kartı, revir ve diğer .ajax-sku kullanımları aynen kalır.
   Dar ekranda tablo mevcut .b2b-table-wrap içinde yatay kaymaya devam edebilir. */
.b2b-table tbody td:first-child {
  white-space: nowrap;
}
.b2b-table tbody td:first-child > .ajax-sku {
  display: inline-block;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}


/* v0.1.7: Mobile/tablet scroll-collision repair (videos 81-83).
   The full, operator-approved header remains unchanged at page top,
   but must not cover the content while scrolling on narrow screens.
   Desktop (>1024px) sticky behaviour is preserved. */
@media (max-width: 1024px) {
  .site-header,
  body.admin-bar .site-header {
    position: relative;
    top: auto;
  }
  /* Anchored sections can clear the WP toolbar; no huge sticky header remains. */
  #katalog-alani,
  #revir-sihirbazi {
    scroll-margin-top: 56px;
  }
}


/* V4 v0.1.16 - scoped visual parity: only the RFQ header button's height.
   Match the existing WhatsApp link (13px * inherited 1.6 line-height + 20px padding);
   the 390px breakpoint already uses 12px font and 18px vertical padding.
   Does not touch CTA widths, colors, counts, RFQ behavior, nav or header layout. */
.header-actions .btn-rfq-drawer-trigger { height: calc(1.6em + 20px); }
@media (max-width: 390px) {
  .header-actions .btn-rfq-drawer-trigger { height: calc(1.6em + 18px); }
}
