/* ══════════════════════════════════════════════════════════════
   ORIGAMI-FIDE HEADER — origamiserver.com/includes/header.php birebir
   Yüzen bar: %95 genişlik · top 30px · radius 16 · cam efektli beyaz
   padding 10px 30px · gölge 0 10px 30px rgba(0,0,0,.03)
   Logo max-height 55 · arama 500 (radius 12 · #f8fafc)
   ikonlar 44×44 radius 12 · CTA #1e293b (12px 24px · radius 12)
   ══════════════════════════════════════════════════════════════ */
.ofd{position:relative;z-index:9990;width:95%;margin:30px auto 0;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  background:rgba(255,255,255,.95);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(0,0,0,.05);border-radius:var(--w-r,16px);
  padding:10px 30px;box-shadow:0 10px 30px rgba(0,0,0,.03);
  color:var(--w-fg,#0f172a);transition:top .3s cubic-bezier(.2,.8,.2,1)}
.ofd.is-sticky{position:sticky;top:15px}
.ofd.is-overlay{position:absolute;top:30px;left:2.5%;right:2.5%;margin:0;width:auto}
.ofd.is-overlay.is-solid{position:fixed;top:15px;z-index:9995;box-shadow:0 15px 40px rgba(0,0,0,.08)}
.ofd.has-shadow{box-shadow:0 15px 40px rgba(0,0,0,.08)}

/* sol: logo */
.ofd-in{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%}
.ofd-logo{display:flex;align-items:center;flex:0 0 auto;text-decoration:none;color:inherit}
.ofd-logo img{display:block;object-fit:contain;height:auto;max-height:var(--w-logo-h,55px)!important;
  width:auto!important;max-width:220px!important}
.ofd-logo b{font-size:24px;font-weight:800;letter-spacing:-.02em}

/* orta: arama */
.ofd-search{flex:1 1 auto;position:relative;max-width:500px;margin:0 24px;padding:0}
.ofd-search input{width:100%;background:#f8fafc;border:1px solid rgba(0,0,0,.05);
  padding:12px 25px 12px 45px;border-radius:12px;font:inherit;font-size:14px;font-weight:500;
  color:var(--w-fg,#0f172a);outline:none;transition:.2s}
.ofd-search input:focus{background:#fff;border-color:var(--w-accent,#10b981)}
.ofd-search button{position:absolute;left:18px;top:50%;transform:translateY(-50%);width:20px;height:20px;
  background:none;border:0;padding:0;color:#94a3b8;cursor:pointer;pointer-events:none}
.ofd-search button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ofd-search:focus-within button{color:var(--w-accent,#10b981)}

/* sağ */
.ofd-right{display:flex;align-items:center;gap:16px;flex:0 0 auto}
.ofd-cta{display:inline-flex;align-items:center;gap:8px;background:var(--w-fg,#1e293b);color:#fff;
  font:inherit;font-weight:600;font-size:14px;padding:12px 24px;border:0;border-radius:12px;cursor:pointer;
  text-decoration:none;transition:.2s;white-space:nowrap}
.ofd-cta:hover{transform:translateY(-2px);filter:brightness(1.1)}
.ofd-cta:after{content:"";width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;
  border-top:5px solid currentColor;opacity:.9}
.ofd-cta[href]:after{display:none}

.ofd-icons{display:flex;align-items:center;gap:10px}
.ofd-ibtn{position:relative;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;
  background:#fff;border:1px solid rgba(0,0,0,.04);color:var(--w-fg,#0f172a);text-decoration:none;transition:.2s}
.ofd-ibtn:hover{transform:translateY(-2px)}
.ofd-ibtn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ofd-ibtn-cart{color:#f59e0b}
.ofd-ibtn-user{color:#3b82f6}
.ofd-ibtn-heart{color:#ef4444}
.ofd-ibtn-wp{color:#25d366}
.ofd-ibtn-insta{color:#c13584}
.ofd-ibtn-mail{color:#0ea5e9}
.ofd-ibtn-phone{color:#10b981}
.ofd-ibtn .n{position:absolute;top:-5px;right:-5px;background:var(--w-accent,#10b981);color:#fff;
  font-size:11px;font-weight:800;min-width:20px;height:20px;border-radius:6px;display:grid;place-items:center}
.ofd-burger{display:none;flex-direction:column;gap:4px;background:none;border:0;cursor:pointer;padding:10px}
.ofd-burger span{display:block;width:20px;height:2px;border-radius:2px;background:var(--w-fg,#0f172a)}

/* mega menü */
.ofd-menu{position:absolute;left:0;right:0;top:calc(100% + 10px);background:#fff;border-radius:16px;
  border:1px solid rgba(0,0,0,.05);box-shadow:0 20px 40px rgba(0,0,0,.1);z-index:9999;overflow:hidden}
.ofd-menu-in{padding:20px 24px}
.ofd-menu-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.ofd-menu-grid a{display:flex;flex-direction:column;gap:2px;padding:11px 12px;border-radius:10px;text-decoration:none;color:inherit}
.ofd-menu-grid a:hover{background:#f1f5f9}
.ofd-menu-grid b{font-size:14px;font-weight:600}
.ofd-menu-grid small{font-size:11.5px;color:#94a3b8}

@media (max-width:1100px){ .ofd-search{padding:0 18px} }
@media (max-width:980px){
  .ofd{width:97%;top:8px;margin-top:8px;padding:8px 16px;gap:10px}
  .ofd-logo img{max-height:46px!important}
  .ofd-search{display:none}
  .ofd-cta{display:none}
  .ofd-burger{display:flex}
  .ofd-icons{gap:6px}
  .ofd-ibtn{width:40px;height:40px}
  .ofd-menu-grid{grid-template-columns:1fr 1fr}
}

.ofd-ibtn svg[style*=fill],.ofd-ibtn svg[fill]:not([fill="none"]){stroke:none}
