:root{
  --dfhf-navy:#102f4a;
  --dfhf-navy-2:#173f60;
  --dfhf-blue:#1b5f8d;
  --dfhf-accent:#e9a923;
  --dfhf-text:#1f2f3d;
  --dfhf-muted:#647583;
  --dfhf-line:#dbe4ea;
  --dfhf-soft:#f5f8fa;
  --dfhf-white:#fff;
  --dfhf-shadow:0 14px 38px rgba(15,47,74,.12);
}

/* Eski tema / Elementor header ve footer alanlarını gizler. */
body.dfhf-active > header:not(.dfhf-header),
body.dfhf-active #masthead:not(.dfhf-header),
body.dfhf-active .site-header:not(.dfhf-header),
body.dfhf-active .main-header:not(.dfhf-header),
body.dfhf-active .elementor-location-header,
body.dfhf-active [data-elementor-type="header"],
body.dfhf-active > footer:not(.dfhf-footer),
body.dfhf-active #colophon:not(.dfhf-footer),
body.dfhf-active .site-footer:not(.dfhf-footer),
body.dfhf-active .main-footer:not(.dfhf-footer),
body.dfhf-active .elementor-location-footer,
body.dfhf-active [data-elementor-type="footer"]{
  display:none!important;
}

body.dfhf-active{
  overflow-x:hidden;
}

.dfhf-header,.dfhf-header *,.dfhf-footer,.dfhf-footer *{box-sizing:border-box}
.dfhf-header a,.dfhf-footer a{text-decoration:none}
.dfhf-header svg,.dfhf-footer svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.dfhf-header{
  position:sticky;
  top:0;
  z-index:99998;
  width:100%;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid var(--dfhf-line);
  box-shadow:0 8px 26px rgba(15,47,74,.08);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.admin-bar .dfhf-header{top:32px}
.dfhf-topline{height:4px;background:linear-gradient(90deg,var(--dfhf-accent),#f3c45f 45%,var(--dfhf-blue))}
.dfhf-header-inner{
  width:min(1220px,calc(100% - 36px));
  min-height:78px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:26px;
}
.dfhf-brand{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--dfhf-navy)!important;
  line-height:1;
}
.dfhf-logo-image{display:block;width:auto;max-width:210px;height:54px;object-fit:contain}
.dfhf-logo-mark{
  width:42px;height:42px;border-radius:11px;display:grid;place-items:center;
  color:#fff;background:var(--dfhf-navy);font:800 24px/1 Arial,sans-serif;
  box-shadow:inset -7px -7px 0 rgba(255,255,255,.08);
}
.dfhf-logo-text{font:500 24px/1 Arial,sans-serif;letter-spacing:-.6px;white-space:nowrap}
.dfhf-logo-text strong{font-weight:800}
.dfhf-navigation-wrap{min-width:0;flex:1;display:flex;align-items:center;justify-content:flex-end;gap:20px}
.dfhf-navigation{min-width:0}
.dfhf-menu{display:flex;align-items:center;gap:3px;margin:0!important;padding:0!important;list-style:none!important}
.dfhf-menu>li{position:relative;margin:0!important;padding:0!important;list-style:none!important}
.dfhf-menu>li>a,.dfhf-submenu-trigger-row>a{
  display:flex;align-items:center;min-height:44px;padding:0 13px;border-radius:9px;
  color:var(--dfhf-text)!important;font:700 14px/1.2 Arial,sans-serif;white-space:nowrap;
  transition:background .2s ease,color .2s ease;
}
.dfhf-menu>li>a:hover,.dfhf-menu>li>a:focus,.dfhf-submenu-trigger-row>a:hover,.dfhf-submenu-trigger-row>a:focus{
  background:var(--dfhf-soft);color:var(--dfhf-blue)!important;outline:none;
}
.dfhf-submenu-trigger-row{display:flex;align-items:center}
.dfhf-submenu-toggle{
  width:30px;height:38px;margin-left:-9px;padding:0;border:0;background:transparent;color:var(--dfhf-muted);cursor:pointer;display:grid;place-items:center
}
.dfhf-submenu-toggle svg{width:16px;height:16px;transition:transform .2s ease}
.dfhf-has-submenu:hover .dfhf-submenu-toggle svg,.dfhf-has-submenu:focus-within .dfhf-submenu-toggle svg,.dfhf-has-submenu.is-open .dfhf-submenu-toggle svg{transform:rotate(180deg)}
.dfhf-mega-menu{
  position:absolute;top:calc(100% + 14px);left:50%;transform:translate(-50%,10px);
  width:min(720px,90vw);padding:22px;border:1px solid var(--dfhf-line);border-radius:16px;background:#fff;
  box-shadow:var(--dfhf-shadow);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,transform .2s ease;
}
.dfhf-mega-menu:before{content:"";position:absolute;left:0;right:0;top:-16px;height:18px}
.dfhf-has-submenu:hover .dfhf-mega-menu,.dfhf-has-submenu:focus-within .dfhf-mega-menu,.dfhf-has-submenu.is-open .dfhf-mega-menu{
  opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)
}
.dfhf-mega-column{display:flex;flex-direction:column;gap:4px;min-width:0}
.dfhf-mega-title{padding:0 9px 9px;color:var(--dfhf-navy);font:800 13px/1.2 Arial,sans-serif;text-transform:uppercase;letter-spacing:.45px;border-bottom:1px solid var(--dfhf-line);margin-bottom:4px}
.dfhf-mega-column a{padding:8px 9px;border-radius:8px;color:var(--dfhf-text)!important;font:600 13px/1.35 Arial,sans-serif}
.dfhf-mega-column a:hover,.dfhf-mega-column a:focus{background:var(--dfhf-soft);color:var(--dfhf-blue)!important;outline:none}
.dfhf-all-products{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 14px;border-radius:9px;background:var(--dfhf-navy);color:#fff!important;font:700 13px/1 Arial,sans-serif}
.dfhf-all-products:hover,.dfhf-all-products:focus{background:var(--dfhf-blue);color:#fff!important}
.dfhf-all-products svg{width:17px;height:17px}
.dfhf-search{
  flex:0 1 235px;min-width:185px;height:42px;display:flex;align-items:center;border:1px solid var(--dfhf-line);border-radius:11px;background:#fff;overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease
}
.dfhf-search:focus-within{border-color:var(--dfhf-blue);box-shadow:0 0 0 3px rgba(27,95,141,.11)}
.dfhf-search input{min-width:0;flex:1;height:40px;padding:0 5px 0 13px!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:var(--dfhf-text)!important;font:500 13px/1 Arial,sans-serif}
.dfhf-search input::placeholder{color:#83919b}
.dfhf-search button{width:43px;height:40px;border:0;background:transparent;color:var(--dfhf-navy);display:grid;place-items:center;cursor:pointer}
.dfhf-search button:hover{color:var(--dfhf-blue)}
.dfhf-search svg{width:19px;height:19px}
.dfhf-mobile-toggle{display:none;width:44px;height:44px;padding:0;border:1px solid var(--dfhf-line);border-radius:10px;background:#fff;color:var(--dfhf-navy);cursor:pointer;place-items:center}
.dfhf-mobile-toggle svg{width:24px;height:24px}
.dfhf-icon-close{display:none}
.dfhf-mobile-toggle[aria-expanded="true"] .dfhf-icon-open{display:none}
.dfhf-mobile-toggle[aria-expanded="true"] .dfhf-icon-close{display:block}

.dfhf-footer{width:100%;margin-top:48px;background:var(--dfhf-navy);color:#fff}
.dfhf-footer-main{padding:54px 0 46px;background:linear-gradient(135deg,#0d2a42,#153f5f)}
.dfhf-footer-grid{width:min(1220px,calc(100% - 36px));margin:0 auto;display:grid;grid-template-columns:1.35fr .75fr .85fr 1.1fr;gap:42px}
.dfhf-footer .dfhf-brand{color:#fff!important}
.dfhf-footer .dfhf-logo-mark{background:var(--dfhf-accent);color:var(--dfhf-navy)}
.dfhf-footer .dfhf-logo-image{max-width:210px;height:56px;filter:brightness(0) invert(1)}
.dfhf-footer-brand-column p{max-width:360px;margin:20px 0!important;color:#cfdae2;font:500 14px/1.75 Arial,sans-serif}
.dfhf-footer-cta{display:inline-flex;align-items:center;gap:8px;padding:11px 15px;border:1px solid rgba(255,255,255,.24);border-radius:9px;color:#fff!important;font:700 13px/1 Arial,sans-serif}
.dfhf-footer-cta:hover{background:#fff;color:var(--dfhf-navy)!important}
.dfhf-footer-cta svg{width:17px;height:17px}
.dfhf-footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.dfhf-footer-column h2{margin:0 0 10px!important;color:#fff!important;font:800 15px/1.2 Arial,sans-serif;letter-spacing:.2px}
.dfhf-footer-column>a{color:#cfdae2!important;font:500 13px/1.45 Arial,sans-serif;transition:color .2s ease,transform .2s ease}
.dfhf-footer-column>a:hover{color:#fff!important;transform:translateX(2px)}
.dfhf-contact-column>a{display:flex;align-items:flex-start;gap:10px}
.dfhf-contact-column svg{flex:0 0 18px;width:18px;height:18px;margin-top:1px;color:var(--dfhf-accent)}
.dfhf-footer-bottom{border-top:1px solid rgba(255,255,255,.1);background:#0a2438}
.dfhf-footer-bottom-inner{width:min(1220px,calc(100% - 36px));min-height:64px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;color:#aebdca;font:500 12px/1.4 Arial,sans-serif}
.dfhf-legal-links{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.dfhf-legal-links a{color:#aebdca!important}
.dfhf-legal-links a:hover{color:#fff!important}

@media (max-width:1120px){
  .dfhf-header-inner{gap:18px}
  .dfhf-menu>li>a,.dfhf-submenu-trigger-row>a{padding:0 9px;font-size:13px}
  .dfhf-search{flex-basis:205px;min-width:170px}
}

@media (max-width:980px){
  .admin-bar .dfhf-header{top:46px}
  .dfhf-header-inner{min-height:70px;justify-content:space-between}
  .dfhf-logo-image{height:48px;max-width:190px}
  .dfhf-mobile-toggle{display:grid}
  .dfhf-navigation-wrap{
    position:absolute;top:100%;left:0;right:0;max-height:0;overflow:hidden;display:block;background:#fff;border-bottom:1px solid var(--dfhf-line);box-shadow:0 15px 28px rgba(15,47,74,.12);transition:max-height .32s ease
  }
  .dfhf-header.is-menu-open .dfhf-navigation-wrap{max-height:calc(100vh - 72px);overflow-y:auto}
  .dfhf-navigation{width:min(720px,calc(100% - 32px));margin:0 auto;padding:16px 0 6px}
  .dfhf-menu{display:block}
  .dfhf-menu>li{border-bottom:1px solid var(--dfhf-line)}
  .dfhf-menu>li>a,.dfhf-submenu-trigger-row>a{min-height:48px;padding:0 5px;font-size:15px}
  .dfhf-submenu-trigger-row{justify-content:space-between}
  .dfhf-submenu-trigger-row>a{flex:1}
  .dfhf-submenu-toggle{width:48px;height:48px;margin:0}
  .dfhf-mega-menu{
    position:static;width:100%;max-height:0;margin:0;padding:0 4px;border:0;border-radius:0;box-shadow:none;display:block;opacity:1;visibility:visible;pointer-events:auto;transform:none;overflow:hidden;transition:max-height .3s ease,padding .3s ease
  }
  .dfhf-has-submenu:hover .dfhf-mega-menu,.dfhf-has-submenu:focus-within .dfhf-mega-menu{max-height:0;padding-top:0;padding-bottom:0;transform:none}
  .dfhf-has-submenu.is-open .dfhf-mega-menu{max-height:720px;padding-top:5px;padding-bottom:15px}
  .dfhf-mega-column{margin-bottom:10px}
  .dfhf-mega-title{padding:10px 9px 7px}
  .dfhf-mega-column a{padding:8px 12px}
  .dfhf-all-products{margin-top:6px}
  .dfhf-search{width:min(720px,calc(100% - 32px));min-width:0;margin:10px auto 20px;flex:none}
  .dfhf-footer-grid{grid-template-columns:1.3fr 1fr;gap:38px 52px}
}

@media (max-width:600px){
  .dfhf-header-inner{width:calc(100% - 24px)}
  .dfhf-logo-image{height:43px;max-width:175px}
  .dfhf-logo-mark{width:38px;height:38px;font-size:21px}
  .dfhf-logo-text{font-size:21px}
  .dfhf-navigation,.dfhf-search{width:calc(100% - 24px)}
  .dfhf-footer{margin-top:36px}
  .dfhf-footer-main{padding:42px 0 36px}
  .dfhf-footer-grid{width:calc(100% - 32px);grid-template-columns:1fr;gap:34px}
  .dfhf-footer-bottom-inner{width:calc(100% - 32px);padding:18px 0;display:block;text-align:center}
  .dfhf-legal-links{justify-content:center;margin-top:12px;gap:12px 16px}
}

@media print{
  .dfhf-header,.dfhf-footer{display:none!important}
}
