/** Shopify CDN: Minification failed

Line 23:21 Expected identifier but found whitespace
Line 23:23 Unexpected "{"
Line 23:32 Expected ":"
Line 24:20 Expected identifier but found whitespace
Line 24:22 Unexpected "{"
Line 24:31 Expected ":"
Line 25:14 Expected identifier but found whitespace
Line 25:16 Unexpected "{"
Line 25:25 Expected ":"
Line 26:15 Expected identifier but found whitespace
... and 8 more hidden warnings

**/
/* ============================================================
   Custom Header Search — Dawn Teması
   Dosya yolu: assets/custom-header-search.css
   ============================================================ */

/* CSS Değişkenleri — Section schema'dan gelen renkler */
.custom-header-section {
  --search-btn-color: {{ section.settings.search_button_color }};
  --search-btn-text: {{ section.settings.search_button_text_color }};
  --header-bg: {{ section.settings.bg_color }};
  --icon-color: {{ section.settings.icon_color }};
  --icon-hover: {{ section.settings.icon_hover_color }};
  --border-color: {{ section.settings.border_color }};
}

/* ---- Wrapper ---- */
.custom-header-wrap {
  width: 100%;
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.custom-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}

/* ---- Logo ---- */
.custom-header__logo {
  flex-shrink: 0;
}

.custom-header__logo-link {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.custom-header__logo-link img {
  display: block;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.custom-header__logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--icon-color);
  line-height: 1;
}

/* ---- Arama Formu ---- */
.custom-header__search {
  flex: 1;
  max-width: 620px;
  margin: 0 auto;
}

.custom-header__search-form {
  display: flex;
  align-items: center;
}

.custom-header__search-input {
  flex: 1;
  height: 46px;
  padding: 0 20px;
  font-size: 15px;
  color: #333;
  background: #f7f7f7;
  border: 1.5px solid #ddd;
  border-right: none;
  border-radius: 24px 0 0 24px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.custom-header__search-input::placeholder {
  color: #aaa;
}

.custom-header__search-input:focus {
  border-color: #bbb;
  background: #fff;
}

/* Tarayıcı varsayılan "x" butonunu gizle */
.custom-header__search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.custom-header__search-btn {
  height: 46px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--search-btn-text);
  background-color: var(--search-btn-color);
  border: none;
  border-radius: 0 24px 24px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.custom-header__search-btn:hover {
  filter: brightness(0.9);
}

.custom-header__search-btn:active {
  transform: scale(0.98);
}

/* ---- Sağ Aksiyon İkonları ---- */
.custom-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  margin-left: auto;
}

.custom-header__action-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--icon-color);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition: color 0.15s;
  position: relative;
}

.custom-header__action-item:hover {
  color: var(--icon-hover);
}

.custom-header__action-item svg {
  flex-shrink: 0;
}

.custom-header__action-label {
  display: inline-block;
}

/* ---- Sepet Badge ---- */
.custom-header__cart {
  position: relative;
}

.custom-header__cart-badge {
  position: absolute;
  top: -7px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background-color: var(--search-btn-color);
  color: var(--search-btn-text);
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================================
   RESPONSIVE — Tablet & Mobil
   ============================================================ */

/* Tablet: 768px–1024px */
@media screen and (max-width: 1024px) {
  .custom-header-inner {
    gap: 16px;
    padding: 0 16px;
  }

  .custom-header__action-label {
    display: none; /* Sadece ikonlar göster */
  }

  .custom-header__search {
    max-width: 100%;
  }
}

/* Mobil: 768px altı */
@media screen and (max-width: 767px) {
  .custom-header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 16px;
    gap: 10px;
  }

  .custom-header__logo {
    order: 1;
  }

  .custom-header__actions {
    order: 2;
    margin-left: auto;
    gap: 14px;
  }

  .custom-header__search {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-bottom: 8px;
  }

  .custom-header__search-input {
    height: 42px;
    font-size: 14px;
  }

  .custom-header__search-btn {
    height: 42px;
    padding: 0 18px;
    font-size: 14px;
  }

  .custom-header__logo-link img {
    max-height: 40px;
  }
}

/* Çok küçük ekran: 375px altı */
@media screen and (max-width: 375px) {
  .custom-header__search-btn {
    padding: 0 14px;
    font-size: 13px;
  }

  .custom-header__actions {
    gap: 10px;
  }
}