/* =============================================
   SYL Custom Styles - Bu dosya tema kaydetme ile bozulmaz
   ============================================= */

/* --- Sticker / Etiket Pozisyonu (Sol) --- */
.sticker {
  position: absolute;
  top: -5px;
  left: -5px;
  z-index: 8;
}

.sticker__item {
  float: left;
}

/* --- Out of Stock Resim Etiketi --- */
.sticker__out-of-stock-img {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 100px;
  height: auto;
  z-index: 99;
  pointer-events: none;
}

.product-thumb__image:has(.sticker__out-of-stock-img) img {
  filter: grayscale(80%);
  opacity: .75;
}

/* --- Header Login Card --- */
.header-account-login {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
}

.header-account-login:hover {
  border-color: var(--a-c);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-account-login__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #888;
  font-size: 1.1em;
  transition: all 0.2s ease;
}

.header-account-login:hover .header-account-login__icon {
  background: var(--a-c);
  color: #fff;
}

.header-account-login__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.header-account-login__main {
  font-size: 0.95em;
  font-weight: 700;
  color: #333;
}

.header-account-login__sub {
  font-size: 0.7em;
  color: #999;
}

.header-account-login:hover .header-account-login__main {
  color: var(--a-c);
}

/* --- Header Cart Card --- */
.header-cart-card {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
}

.header-cart-card:hover {
  border-color: var(--a-c);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-cart-card__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #888;
  font-size: 1.1em;
  transition: all 0.2s ease;
}

.header-cart-card:hover .header-cart-card__icon {
  background: var(--a-c);
  color: #fff;
}

.header-cart-card__badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  font-size: 0.65em;
  font-weight: 700;
  color: #fff;
  background: var(--a-c);
  border-radius: 50%;
  padding: 0 4px;
}

.header-cart-card:hover .header-cart-card__badge {
  background: #ff6b6b;
}

.header-cart-card__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.header-cart-card__main {
  font-size: 0.95em;
  font-weight: 700;
  color: #333;
}

.header-cart-card__sub {
  font-size: 0.7em;
  color: #999;
}

.header-cart-card:hover .header-cart-card__main {
  color: var(--a-c);
}

/* Eski cart caption gizle */
.header-block__item-cart>.header-block__item-caption {
  display: none;
}

/* --- Responsive: Mobil --- */
@media (max-width: 575px) {

  .header-account-login__text,
  .header-cart-card__text {
    display: none;
  }

  .header-account-login,
  .header-cart-card {
    padding: 6px;
    border: none;
  }
}