html.sellzy-tema-scope {
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html.sellzy-tema-scope {
    overflow-x: clip;
  }
}

/* Kapalı yan paneller: tıklama engeli + tamamen sağa kaydır */
html.sellzy-tema-scope .sellzy-offcanvas-panel[data-state="close"] {
  pointer-events: none;
  translate: 100% 0;
}

/* style.css: ilk accordion gövdesini zorla açma kuralını iptal et */
html.sellzy-tema-scope .accordion .accordion-item:first-child .accordion-body {
  display: none;
}
html.sellzy-tema-scope .accordion-item .accordion-header.active + .accordion-body {
  display: block;
}

html.sellzy-tema-scope .urunler-filter-accordion .accordion-header {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

html.sellzy-tema-scope .urunler-filter-accordion .accordion-item {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

html.sellzy-tema-scope .urunler-filter-accordion .accordion-item:first-child {
  padding-top: 0;
}

html.sellzy-tema-scope .urunler-filter-accordion .accordion-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/**
 * Mobil / dar ekran: header & yan menü arama — taşma, liste yüksekliği, iOS focus zoom.
 * (Breakpoint: Tailwind xl = 1280px; öneri kutusu blok xl:hidden ile aynı mantıkta.)
 */
@media (max-width: 1279.98px) {
  html.sellzy-tema-scope input.header-search-input {
    font-size: 16px;
  }

  html.sellzy-tema-scope .search-input-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  html.sellzy-tema-scope .search-input-container .input-group > .form-control {
    flex: 1 1 0%;
    min-width: 0;
    width: 1%;
    /* flex satırında "min-width:auto" yüzünden oluşan yatay taşmayı keser */
  }

  html.sellzy-tema-scope .search-input-container .input-group-addon {
    flex-shrink: 0;
  }

  html.sellzy-tema-scope .search-input-container .search-result-container[data-state="open"] {
    max-height: min(72vh, 22rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 55;
    /* Üst bardaki başka araçlarla (z-50) çakışmasın diye öneriyi üstte tut */
  }
}

/**
 * Header arama öneri listesi — uzun/boşluksuz metinlerin kutudan taşmaması (flex min-width zinciri).
 */
html.sellzy-tema-scope .header-search-results-wrapper {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

html.sellzy-tema-scope .sellzy-header-search-results-list {
  min-width: 0;
  max-width: 100%;
}

html.sellzy-tema-scope a.sellzy-header-search-hit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  max-width: 100%;
}

html.sellzy-tema-scope .sellzy-header-search-hit-body {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
}

html.sellzy-tema-scope .sellzy-header-search-hit-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-light-primary-text, #212529);

  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

html.sellzy-tema-scope .sellzy-header-search-hit-prices {
  margin-top: 0.125rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.125rem 0.5rem;
  min-width: 0;
}

html.sellzy-tema-scope .sellzy-header-search-hit-price-current {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary, #088178);
  font-variant-numeric: tabular-nums;
}

html.sellzy-tema-scope .sellzy-header-search-hit-price-old {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--color-light-disabled-text, #919eab);
  text-decoration: line-through;
}

html.sellzy-tema-scope .search-result-container .btn.w-full {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/**
 * Tema .btn-primary için :disabled kuralı yoktu — disabled olsa bile düğme yeşil görünüyordu.
 */
html.sellzy-tema-scope button.btn:disabled,
html.sellzy-tema-scope button.btn[disabled],
html.sellzy-tema-scope .btn[disabled] {
  opacity: 0.52 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  filter: grayscale(0.28);
  box-shadow: none !important;
}

html.sellzy-tema-scope button.btn-primary:disabled,
html.sellzy-tema-scope button.btn-primary[disabled],
html.sellzy-tema-scope button.btn-warning:disabled,
html.sellzy-tema-scope button.btn-warning[disabled] {
  background-color: rgba(145, 158, 171, 0.42) !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

html.sellzy-tema-scope button.btn-primary:disabled:hover,
html.sellzy-tema-scope button.btn-primary[disabled]:hover {
  background-color: rgba(145, 158, 171, 0.42) !important;
}

/* Mobil yan menü (#sidebar) */
body.sellzy-tema-scope #sidebar nav.mobile-menu li.has-sub-item > a {
  display: block;
  padding-right: 2.5rem;
}

body.sellzy-tema-scope #sidebar nav.mobile-menu .submenu-button {
  z-index: 2;
}

/* Kategori listesi (Tüm Kategoriler altı) — tema text-sm (14px) − 1px */
body.sellzy-tema-scope #sidebar nav.mobile-menu > ul > li > ul a {
  font-size: 13px !important;
  line-height: 20px !important;
}

body.sellzy-tema-scope #sidebar nav.mobile-menu > ul > li > ul > li > ul a {
  font-size: 12px !important;
  line-height: 18px !important;
}

/* Sipariş / ödeme sonuç sayfası */
.sellzy-siparis-sonuc-hero {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.sellzy-siparis-sonuc-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(145, 158, 171, 0.24);
  box-shadow: 0 8px 24px rgba(22, 28, 36, 0.06);
  padding: 1rem;
  position: relative;
}

.sellzy-siparis-sonuc-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sellzy-siparis-sonuc-logo-badge {
  position: absolute;
  right: -0.5rem;
  bottom: -0.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: var(--color-primary, #00ab55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 171, 85, 0.35);
}

.sellzy-siparis-sonuc-info {
  text-align: left;
  border-radius: 1rem;
  border: 1px solid rgba(0, 171, 85, 0.22);
  background: rgba(0, 171, 85, 0.06);
  padding: 1rem 1.125rem;
}

.sellzy-siparis-sonuc-info p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-light-primary-text, #212529);
}

.sellzy-siparis-sonuc-info p + p {
  margin-top: 0.625rem;
}

.sellzy-siparis-sonuc-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 480px) {
  .sellzy-siparis-sonuc-logo-wrap {
    width: 8.5rem;
    height: 8.5rem;
  }
}
