/* Müşteri işlem sayfaları doğrudan asıl içerikle başlar; tekrarlanan tanıtım başlıkları gösterilmez. */
.auth-page-head,
.checkout-page-head,
.cart-page-head,
.action-page-head {
  display: none !important;
}

:is(.auth-page-head, .checkout-page-head, .cart-page-head, .action-page-head) + .site-shell {
  padding-top: 16px !important;
}

/* Hesap sayfalarında başlık metni kalkar, gerekli geri dön/yeni ekle/çıkış aksiyonları korunur. */
.account-page-head,
.subaccount-head {
  min-height: 0 !important;
  margin: 0 auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding-block: 12px 8px !important;
  box-shadow: none !important;
}

.account-page-head .account-page-title > div:first-child,
.subaccount-head .subaccount-title-row > div:first-child {
  display: none !important;
}

.account-page-head .account-page-title,
.subaccount-head .subaccount-title-row {
  min-height: 0 !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}

.account-page-head .account-logout-form,
.subaccount-head .subaccount-head-actions,
.subaccount-head .order-detail-head-actions {
  margin-left: auto !important;
}

.account-page-head + .site-shell,
.subaccount-head + .site-shell {
  padding-top: 0 !important;
}

@media (max-width: 700px) {
  :is(.auth-page-head, .checkout-page-head, .cart-page-head, .action-page-head) + .site-shell {
    padding-top: 12px !important;
  }

  .account-page-head,
  .subaccount-head {
    padding-block: 9px 6px !important;
  }

  .account-page-head .account-page-title,
  .subaccount-head .subaccount-title-row,
  .subaccount-head .subaccount-head-actions,
  .subaccount-head .order-detail-head-actions {
    width: 100% !important;
  }

  .subaccount-head .subaccount-head-actions,
  .subaccount-head .order-detail-head-actions {
    justify-content: flex-end !important;
  }
}
