/* ===== JOURNAL3 TYPEAHEAD ENGELİ ===== */
.tt-menu { display: none !important; }

/* ===== ARAMA KUTUSU ===== */
/* Stiller inline <style> tarafından <head>'de uygulanır (FOUC önleme). */
/* CSS dosyasındaki bu kurallar fallback ve ek davranış içindir. */
#search .header-search {
  position: relative;
  display: flex;
  align-items: center;
  height: 52px;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  background: #fff;
  overflow: visible;
  transition: border-color .2s ease, box-shadow .2s ease;
}

#search .header-search:focus-within {
  border-color: #f27a1a;
  box-shadow: 0 0 0 3px rgba(242, 122, 26, 0.14);
}

#search .search-categories {
  height: 100%;
  display: flex;
  align-items: center;
  border-inline-end: 1px solid #e0e0e0;
  background: #fafafa;
}

#search .search-categories-button {
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  height: 100%;
  display: flex;
  align-items: center;
  max-width: 180px;
}

#search .search-input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 14px;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 16px;
  color: #222;
  position: relative;
  z-index: 1;
}

#search .search-input::placeholder {
  color: #aaa;
}

.search-pro-rotating-query {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: flex-start;
  transform: translateY(-50%);
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #c65b05;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  text-align: left;
  transition: color .18s ease, transform .18s ease;
}

.search-pro-rotating-query.is-visible {
  display: inline-flex;
}

.search-pro-rotating-query:hover {
  color: #9a3412;
}

#search .search-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 72px;
  height: calc(100% - 10px);
  margin: 5px 5px 5px 0;
  padding: 0 20px;
  background: #f27a1a !important;
  color: #fff !important;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  transition: background-color .15s ease;
  position: relative;
  z-index: 3;
}

#search .search-button:hover {
  background: #d96808 !important;
}

#search .search-button::after {
  content: '';
  width: 15px;
  height: 15px;
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex: 0 0 15px;
}

/* ===== CANLI ARAMA PANELİ ===== */
.search-pro-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 1051;
  display: none;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
  overflow: hidden;
}

.search-pro-panel.is-open {
  display: block;
}

.search-pro-panel__inner {
  max-height: min(72vh, 620px);
  overflow-y: auto;
  padding: 0;
}

.search-pro-panel__state {
  padding: 11px 20px;
  color: #888;
  font-size: 14px;
}

.search-pro-panel__state--subtle {
  margin: 8px 12px;
  border-radius: 8px;
  background: #fff8f2;
  border: 1px solid #f5d9c0;
}

/* ===== ODAK PANELİ (chip / popüler aramalar) ===== */
.search-pro-section + .search-pro-section {
  border-top: 1px solid #f0f0f0;
}

.search-pro-section__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px 8px;
  font-size: 14px;
  font-weight: 700;
  color: #222;
  text-transform: none;
  letter-spacing: 0;
}

.search-pro-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 16px;
}

.search-pro-chip-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.search-pro-link-btn {
  border: 0;
  background: transparent;
  color: #f27a1a;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}

.search-pro-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #333;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  font-size: 13px;
  font-weight: 500;
  transition: border-color .15s ease, color .15s ease;
}

.search-pro-chip:hover,
.search-pro-chip.is-active {
  border-color: #f27a1a;
  color: #f27a1a;
  background: #fff;
}

.search-pro-chip__label {
  font-size: 13px;
  font-weight: 500;
}

.search-pro-chip__meta {
  font-size: 11px;
  color: #aaa;
  background: #ebebeb;
  border-radius: 999px;
  padding: 2px 6px;
}

.search-pro-chip-remove {
  width: 28px;
  height: 28px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  color: #999;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}

.search-pro-chip-remove:hover {
  color: #f27a1a;
  border-color: #f27a1a;
  background: #fff8f2;
}

/* ===== METİN ÖNERİ SATIRLARI ===== */
.sp-suggest-list {
  padding: 6px 0;
}

.sp-suggest {
  display: flex;
  align-items: center;
  padding: 13px 20px;
  text-decoration: none;
  color: #333;
  gap: 12px;
  transition: background-color .12s ease;
}

.sp-suggest:hover,
.sp-suggest.is-active {
  background: #f9f9f9;
}

.sp-suggest__text {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 400;
  color: #444;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sp-suggest__text strong {
  font-weight: 700;
  color: #111;
}

.sp-suggest__type {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  font-size: 12px;
  font-weight: 700;
  color: #c2410c;
  white-space: nowrap;
}

.search-pro-focus-products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0 12px 12px;
}

.search-pro-focus-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  text-decoration: none;
  color: #222;
  padding: 8px 10px;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.search-pro-focus-card:hover,
.search-pro-focus-card.is-active {
  border-color: #f27a1a;
  box-shadow: 0 8px 18px rgba(242, 122, 26, 0.12);
  transform: translateY(-1px);
}

.search-pro-focus-card__thumb {
  grid-row: 1 / span 2;
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f5f5;
}

.search-pro-focus-card__name {
  font-size: 12px;
  line-height: 1.35;
  color: #222;
  min-height: 0;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-pro-focus-card__price {
  font-size: 12px;
  font-weight: 700;
  color: #f27a1a;
}

/* ===== İLGİLİ ÜRÜNLER BÖLÜMÜ ===== */
.sp-products-section__title {
  padding: 16px 20px 8px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  border-top: 1px solid #f0f0f0;
}

.sp-product-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  transition: background-color .12s ease;
}

.sp-product-row:hover,
.sp-product-row.is-active {
  background: #f9f9f9;
}

.sp-product-row__thumb {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  object-fit: cover;
  flex: 0 0 54px;
  background: #f5f5f5;
}

.sp-product-row__body {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 3px;
}

.sp-product-row__name {
  font-size: 14px;
  font-weight: 500;
  color: #111;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-product-row__name strong {
  font-weight: 700;
}

.sp-product-row__brand {
  font-size: 12px;
  color: #999;
}

.sp-product-row__price {
  font-size: 14px;
  font-weight: 700;
  color: #f27a1a;
}

.sp-price,
.sp-price-new {
  color: #f27a1a;
}

.sp-price-old {
  color: #aaa;
  text-decoration: line-through;
  font-size: 12px;
  font-weight: 400;
}

/* ===== DİPNOT ===== */
.search-pro-footer {
  border-top: 1px solid #f0f0f0;
}

.search-pro-footer__link {
  display: block;
  text-align: center;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  transition: background-color .12s ease;
}

.search-pro-footer__link:hover {
  background: #fafafa;
  color: #111;
}

.search-pro-page {
  display: grid;
  gap: 18px;
}

.search-pro-shell,
.search-pro-section-card,
.search-pro-mini-card,
.search-pro-empty {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.search-pro-shell {
  padding: 20px;
}

.search-pro-shell__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.search-pro-shell__head--compact {
  align-items: center;
}

.search-pro-shell__heading {
  display: grid;
  gap: 6px;
}

.search-pro-shell__eyebrow {
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-pro-shell__title {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  color: #111827;
  font-weight: 800;
}

.search-pro-shell__lead {
  margin: 0;
  color: #6b7280;
  max-width: 840px;
  font-size: 14px;
  line-height: 1.6;
}

.search-pro-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-pro-summary__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f9fafb;
  color: #111827;
  border: 1px solid #e5e7eb;
  font-size: 12px;
}

.search-pro-toolbar {
  display: grid;
  gap: 12px;
}

.search-pro-toolbar__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.search-pro-toolbar__field {
  min-width: 0;
}

.search-pro-toolbar input {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  padding: 0 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.search-pro-toolbar input:focus {
  border-color: #f27a1a;
  box-shadow: 0 0 0 3px rgba(242, 122, 26, 0.12);
}

.search-pro-toolbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.search-pro-toolbar__submit,
.search-pro-toolbar__clear {
  min-width: 108px;
  height: 50px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.search-pro-toolbar__clear {
  background: #fff;
  border: 1px solid #d1d5db;
  color: #374151;
}

.search-pro-toolbar__hint {
  color: #6b7280;
  font-size: 12px;
}



.search-pro-section-card {
  padding: 16px;
}

.search-pro-section-card__head {
  margin-bottom: 14px;
}

.search-pro-section-card__title {
  margin: 0;
  font-size: 18px;
  color: #111827;
}

.search-pro-section-card__grid,
.search-pro-grid {
  display: grid;
  gap: 14px;
}

.search-pro-section-card__grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.search-pro-mini-card {
  padding: 14px 15px;
  text-decoration: none;
  color: #111827;
  display: grid;
  gap: 6px;
}

.search-pro-mini-card__label {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
}

.search-pro-mini-card__title,
.search-pro-product-card__name {
  color: #111827;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.45;
}

.search-pro-mini-card__meta,
.search-pro-product-card__meta {
  color: #6b7280;
  font-size: 13px;
}

.search-pro-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.search-pro-results-head__meta {
  color: #6b7280;
  font-size: 13px;
  margin-top: 4px;
}

.search-pro-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.search-pro-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.search-pro-product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 122, 26, 0.28);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.search-pro-product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #fff;
  padding: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.search-pro-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-pro-product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
}

.search-pro-product-card__name {
  color: #111827;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.45;
  font-size: 15px;
  min-height: 0;
  display: block;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.search-pro-product-card__name:hover {
  color: #f27a1a;
}

.search-pro-product-card__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.search-pro-product-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-height: 0;
  padding: 6px 12px;
  border: 1px solid rgba(242, 122, 26, 0.18);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff8f2 0%, #fff1e7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.search-pro-product-card__price .price,
.search-pro-product-card__price .price-new {
  font-size: 15px;
  line-height: 1.1;
  font-weight: 800;
  color: #d9480f;
  letter-spacing: -0.02em;
}

.search-pro-product-card__price .price-old {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: #7c8594;
  text-decoration: line-through !important;
  text-decoration-thickness: 1.5px;
  opacity: 1;
}

.search-pro-product-card__price .price-new {
  color: #c2410c;
}

.search-pro-product-card__price .price {
  color: #b45309;
}

.search-pro-product-card__cta {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-pro-empty {
  padding: 40px 24px;
  text-align: center;
  color: #6b7280;
}

@media (max-width: 991.98px) {
  .search-pro-discovery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .search-pro-toolbar__row {
    grid-template-columns: 1fr;
  }

  .search-pro-toolbar__actions {
    width: 100%;
  }

  .search-pro-toolbar__submit,
  .search-pro-toolbar__clear {
    flex: 1 1 0;
  }

  .search-pro-shell {
    padding: 18px;
  }

  .search-pro-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-pro-item {
    align-items: flex-start;
  }

  .search-pro-item__price {
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .search-pro-product-grid {
    grid-template-columns: 1fr;
  }
}
