:root{
  --efe-halo-yellow:#FFCC00;
  --efe-halo-yellow-soft:#FFE97A;
  --efe-halo-grey:#EEE;
  --efe-halo-text:#111;
}

/* ===== GENEL ===== */
.efe-halo-header * {
  box-sizing: border-box;
}

/* SVG boyutu ve renk */
.efe-halo-round svg{
  width: 22px;
  height: 22px;
  display: block;
  color: #555;
}

.efe-halo-round:hover svg { color:#000; }

/* Rozet her zaman üstte */
.efe-halo-round .efe-num{ z-index: 1; }

/* Her ihtimale karşı tıklanabilirliği garanti et */
.efe-halo-round { pointer-events: auto; position: relative; }

/* Divider'ın tıklamayı engellememesi için */
.efe-halo-topbar-divider{ position: relative; z-index: 0; }
.efe-halo-mainbar, .efe-halo-right { position: relative; z-index: 1; }


/* ===== ÜST ŞERİT ===== */
.efe-halo-topbar{ background:#fff; }
.efe-halo-topbar-grid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:10px 0;
  max-width: 100%;
}

/* Sol taraf */
.efe-halo-left{ display:flex; align-items:center; }

/* Bakiye hapı */
.efe-halo-pill-balance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--efe-halo-grey);
  font-weight: 700;
  font-size: 14px;
}

/* Sağ küme: linkler + aksiyonlar yan yana */
.efe-halo-rightcluster{
  display:flex;
  align-items:center;
  gap:16px;
}

/* Linkler */
.efe-halo-toplinks {
  display: flex;
  align-items: center;
  gap: 4px;
}

.efe-halo-toplinks a{
  margin:0 6px;
  font-size:14px;
  font-weight:600;
  text-decoration: none;
  color: var(--efe-halo-text);
}
.efe-halo-toplinks a:hover{ text-decoration:underline; }

/* Aksiyon butonları */
.efe-halo-topactions{
  display:flex; 
  align-items:center; 
  gap:12px; 
  justify-content:flex-end;
  flex-wrap: wrap;
}

.efe-btn-top{
  height:32px; 
  padding:0 14px; 
  border-radius:999px;
  border:2px solid var(--efe-halo-yellow);
  display:inline-flex; 
  align-items:center; 
  justify-content: center;
  font-weight:900; 
  text-decoration:none;
  white-space: nowrap;
  flex-shrink: 0;
}
.efe-btn-top.efe-ghost{ background:#fff; color:#111; }
.efe-btn-top.efe-ghost:hover{ background:#FFF6BF; }
.efe-btn-top.efe-solid{ background:#111; color:#fff; border-color:#111; }

.efe-halo-topbar-divider{
    height:2px;
    background:var(--efe-halo-yellow-soft);
    max-width:1300px;
    margin:0 auto;
}

/* ===== ALT ŞERİT ===== */
.efe-halo-mainbar{ background:#fff; }
.efe-halo-mainbar-grid{
  display:grid;
  grid-template-columns: 150px 1fr auto;
  align-items:center; 
  gap:14px; 
  padding:12px 0;
  max-width: 100%;
}

.efe-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.efe-brand img{ 
  height:46px; 
  object-fit:contain;
  max-width: 100%;
}

/* Arama */
.efe-search-slot{ width:100%; }
.efe-halo-search{ width:100%; }
.efe-hs-wrap{
  position:relative; 
  height:46px;
  border:0,1px solid var(--efe-halo-yellow); 
  border-radius:999px;
  display:flex; 
  align-items:center;
  padding:0 120px 0 42px;
  background:#fff;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--efe-halo-yellow);
}
.efe-hs-ico{ 
  position:absolute; 
  left:12px; 
  font-size:16px; 
}
.efe-hs-input{
  width:100%; 
  height:100%; 
  border:0; 
  outline:0;
  font-size:16px; 
  color:var(--efe-halo-text);
  background: transparent;
}
.efe-hs-submit{
  position:absolute; 
  right:6px; 
  top:6px; 
  bottom:6px;
  min-width:110px;
  border:0; 
  border-radius:999px; 
  background:var(--efe-halo-yellow); 
  color:#111;
  font-weight:800; 
  font-size:16px; 
  cursor:pointer;
  white-space: nowrap;
}
.efe-hs-submit:hover{ filter:brightness(.97); }

/* Sağ ikonlar + Plus kart */
.efe-halo-right{ 
  display:flex; 
  align-items:center; 
  gap:14px;
  flex-shrink: 0;
}

.efe-halo-round{
  position:relative; 
  width:44px; 
  height:44px; 
  border-radius:999px;
  background:var(--efe-halo-grey); 
  display:flex; 
  align-items:center; 
  justify-content:center;
  color:#555; 
  text-decoration:none;
  flex-shrink: 0;
}

.efe-halo-round:hover {
  background: #ddd;
}

.efe-halo-round .efe-num{
  position:absolute; 
  top:-6px; 
  right:-6px;
  min-width:18px; 
  height:18px; 
  border-radius:999px;
  background:#000; 
  color:#fff; 
  font-size:11px; 
  font-weight:900;
  display:flex; 
  align-items:center; 
  justify-content:center;
  padding: 0 4px;
}

.efe-halo-pluscard{
  display:inline-flex; 
  align-items:center; 
  gap:10px;
  border:2px solid var(--efe-halo-yellow); 
  border-radius:14px;
  padding:8px 14px;
  color:#111; 
  text-decoration:none; 
  font-weight:900; 
  white-space:nowrap;
  flex-shrink: 0;
}
.efe-halo-pluscard:hover{ background:#FFF6BF; }

/* Plus karttaki ikon */
.efe-halo-pluscard svg{
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: 0 0 20px;
  stroke: currentColor;
  fill: none;
}


/* ===== RESPONSIVE: TABLET (992px - 768px) ===== */
@media (max-width:992px){
  /* Üst şerit */
  .efe-halo-topbar-grid{ 
    flex-direction:column; 
    gap:12px; 
    text-align:center;
    padding: 12px 16px;
  }
  
  .efe-halo-left{ 
    width: 100%;
    justify-content: center;
  }
  
  .efe-halo-rightcluster {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  
  .efe-halo-toplinks {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .efe-halo-toplinks a {
    font-size: 13px;
  }
  
  .efe-halo-topactions{ 
    justify-content: center;
    width: 100%;
  }
  
  .efe-btn-top {
    font-size: 13px;
    padding: 0 14px;
  }
  
  /* Ana şerit: Logo gizle, arama + ikonlar */
  .efe-halo-mainbar-grid{ 
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 16px;
  }
  
  .efe-brand{ display:none; }
  
  .efe-search-slot {
    order: 1;
  }
  
  .efe-hs-wrap{ 
    height:42px; 
    padding-right:105px; 
    padding-left:38px; 
  }
  
  .efe-hs-input {
    font-size: 15px;
  }
  
  .efe-hs-submit{ 
    min-width:96px;
    font-size: 15px;
  }
  
  .efe-halo-right{ 
    order: 2;
    gap:12px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }
  
  .efe-halo-round{ 
    width:42px; 
    height:42px; 
  }
  
  .efe-halo-pluscard {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
}


/* ===== RESPONSIVE: MOBİL (768px ve altı) ===== */
@media (max-width:768px){
  
  .efe-halo-topbar-grid {
    padding: 10px 12px;
    gap: 10px;
  }
  
  .efe-halo-pill-balance {
    font-size: 13px;
    padding: 5px 12px;
  }
  
  .efe-halo-rightcluster {
    gap: 8px;
  }
  
  .efe-halo-toplinks a {
    font-size: 12px;
    padding: 4px 8px;
  }
  
  .efe-btn-top {
    height: 30px;
    font-size: 12px;
    padding: 0 12px;
  }
  
  /* Ana şerit */
  .efe-halo-mainbar-grid {
    padding: 12px;
    gap: 12px;
  }
  
  .efe-hs-wrap {
    height: 40px;
    padding-right: 100px;
    padding-left: 36px;
  }
  
  .efe-hs-ico {
    font-size: 16px;
    left: 10px;
  }
  
  .efe-hs-input {
    font-size: 14px;
  }
  
  .efe-hs-submit {
    min-width: 90px;
    font-size: 14px;
    right: 5px;
    top: 5px;
    bottom: 5px;
  }
  
  .efe-halo-right {
    gap: 10px;
  }
  
  .efe-halo-round {
    width: 40px;
    height: 40px;
  }
  
  .efe-halo-round svg {
    width: 20px;
    height: 20px;
  }
  
  .efe-halo-pluscard {
    padding: 10px 14px;
    font-size: 14px;
  }
  
  .efe-halo-pluscard svg {
    width: 18px;
    height: 18px;
  }
}


/* ===== RESPONSIVE: KÜÇÜK MOBİL (480px ve altı) ===== */
@media (max-width:480px){
  
  .efe-halo-topbar-grid {
    padding: 8px 10px;
    gap: 8px;
  }
  
  .efe-halo-pill-balance {
    font-size: 12px;
    padding: 4px 10px;
  }
  
  .efe-halo-pill-balance .efe-ico {
    font-size: 14px;
  }
  
  .efe-halo-toplinks {
    gap: 2px;
  }
  
  .efe-halo-toplinks a {
    font-size: 11px;
    padding: 3px 6px;
    margin: 0 2px;
  }
  
  .efe-halo-topactions {
    gap: 8px;
  }
  
  .efe-btn-top {
    height: 28px;
    font-size: 11px;
    padding: 0 10px;
  }
  
  /* Ana şerit */
  .efe-halo-mainbar-grid {
    padding: 10px;
    gap: 10px;
  }
  
  .efe-hs-wrap {
    height: 38px;
    padding-right: 90px;
    padding-left: 32px;
  }
  
  .efe-hs-ico {
    font-size: 14px;
    left: 8px;
  }
  
  .efe-hs-input {
    font-size: 13px;
  }
  
  .efe-hs-submit {
    min-width: 80px;
    font-size: 13px;
    right: 4px;
    top: 4px;
    bottom: 4px;
  }
  
  .efe-halo-right {
    gap: 8px;
  }
  
  .efe-halo-round {
    width: 38px;
    height: 38px;
  }
  
  .efe-halo-round svg {
    width: 18px;
    height: 18px;
  }
  
  .efe-halo-round .efe-num {
    min-width: 16px;
    height: 16px;
    font-size: 10px;
    top: -4px;
    right: -4px;
  }
  
  .efe-halo-pluscard {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .efe-halo-pluscard svg {
    width: 16px;
    height: 16px;
  }
}


/* ===== DESKTOP: Büyük ekranlar (1200px+) ===== */
@media (min-width:1201px){
  .efe-halo-mainbar-grid {
    grid-template-columns: 170px 1fr auto;
  }
  
  .efe-brand img {
    height: 50px;
  }
  
  .efe-hs-wrap {
    height: 48px;
  }
  
  .efe-halo-round {
    width: 46px;
    height: 46px;
  }
  
  .efe-halo-round svg {
    width: 24px;
    height: 24px;
  }
}


/* ===== YATAY KAYDIRMA ÖNLEYİCİ ===== */
.efe-halo-topbar,
.efe-halo-mainbar {
  overflow-x: hidden;
  width: 100%;
}

.efe-container {
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 1320px) {
  .efe-container {
    max-width: 1300px;
    margin: 0 auto;
  }
}


/* Üst sarmalayıcılar dropdown'ı kesmesin */
.efe-halo-header,
.efe-halo-mainbar,
.efe-halo-right,
.efe-halo-topbar {
  overflow: visible !important;
}

/* Header diğer alanların üstünde olsun */
.efe-halo-header { position: relative; z-index: 3000; }
.efe-halo-mainbar { position: relative; z-index: 3001; }

/* Sepet dropdown kendi içinde en üstte dursun */
.efe-cart-dropdown-wrapper { position: relative; z-index: 4000; }

/* Dropdown görünürlük */
.efe-cart-dropdown-menu{
  position:absolute; top:calc(100% + 8px); right:0; width:350px; background:#fff;
  border:1px solid #e5e5e5; border-radius:8px; box-shadow:0 8px 30px rgba(0,0,0,.18);
  opacity:0; visibility:hidden; transform:translateY(-8px); transition:all .2s ease;
  pointer-events:none;
}
.efe-cart-dropdown-menu.efe-show{
  opacity:1; visibility:visible; transform:translateY(0); pointer-events:auto;
}

/* Basit spinner */
.efe-cart-spinner {
  padding: 20px; text-align: center; color:#666; font-size:14px;
}
