/* Slina Home — header / menu layout fixes (CozaStore uyumu) */

html,
body {
  margin: 0 !important;
  padding: 0 !important;
}

/* BOM / whitespace kaynaklı üst boşluğu engelle */
body.animsition {
  margin: 0 !important;
  padding: 0 !important;
}

body.animsition > header {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  line-height: normal;
  position: relative;
  top: 0;
}

header {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  line-height: normal;
}

/* Top bar her zaman menünün üstünde */
.top-bar {
  position: relative;
  z-index: 1200;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background-color: #222;
}

/* CozaStore: sol metin + sağ linkler (space-between, dikey orta) */
.content-topbar {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -moz-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  justify-content: space-between !important;
  -webkit-box-align: center !important;
  -webkit-align-items: center !important;
  -moz-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  width: 100%;
  height: 40px !important;
  margin-left: auto;
  margin-right: auto;
}

.left-top-bar {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  height: 100%;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 20px;
  font-family: Poppins-Regular, sans-serif;
  font-size: 12px;
  line-height: 1.8;
  color: #b2b2b2;
}

.right-top-bar {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -moz-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  flex: 0 0 auto;
  height: 100%;
  margin-left: auto;
}

.right-top-bar a {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100%;
  white-space: nowrap;
}

.container-menu-desktop {
  margin: 0;
  padding: 0;
}

/*
  Menü fixed ve top-bar'ın hemen altında (40px).
  JS'in yanlış inline top vermesini engeller.
*/
.wrap-menu-desktop {
  top: 40px !important;
  margin: 0;
  z-index: 1100;
}

/*
  Ana sayfa masaüstü: slayt görselleri üzerinde menü okunaklı kalsın.
  Beyaz degrade menünün altında solar; fotoğraf görünmeye devam eder.
*/
@media (min-width: 992px) {
  header:not(.header-v4) .wrap-menu-desktop {
    overflow: visible;
  }

  header:not(.header-v4) .wrap-menu-desktop::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: calc(100% + 56px);
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.48) 52%,
      rgba(255, 255, 255, 0.16) 80%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  header:not(.header-v4) .limiter-menu-desktop {
    position: relative;
    z-index: 1;
  }

  header:not(.header-v4) .fix-menu-desktop .wrap-menu-desktop::before {
    display: none;
  }
}

/* Scroll ile yapışınca en üste gelsin */
.fix-menu-desktop .wrap-menu-desktop {
  top: 0 !important;
}

.header-v4 .wrap-menu-desktop {
  background-color: #fff;
}

/* Menü satırının ikonlarla alt satıra kırılmasını engelle */
.limiter-menu-desktop {
  flex-wrap: nowrap;
  overflow: visible;
}

.menu-desktop,
.main-menu {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.wrap-icon-header {
  flex-wrap: nowrap !important;
  flex-shrink: 0;
}

.main-menu > li {
  margin-left: 10px;
  margin-right: 2px;
  padding-right: 6px;
}

.logo {
  margin-right: 30px;
  flex-shrink: 0;
}

.main-menu > li.label1 {
  margin-right: 18px;
}

@media (max-width: 991px) {
  .wrap-menu-desktop {
    top: auto !important;
  }

  .menu-mobile {
    clear: both;
  }
}

/* Header tools: sepet / favori / hesap */
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.wrap-header-mobile .header-tools {
  margin-left: 0;
  margin-right: 8px;
  gap: 4px;
}

.header-tool {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f4f5f9;
  color: #333;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.header-tool:hover,
.header-tool:focus {
  background: #717fe0;
  color: #fff;
  text-decoration: none;
}

.header-tool__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #717fe0;
  color: #fff;
  font-family: Poppins-Regular, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}

.header-tool__badge.is-zero {
  display: none;
}

.header-tool--avatar {
  background: #717fe0;
  color: #fff;
  font-size: 12px;
}

.header-account {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.header-account__login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: #333;
  font-family: Poppins-Medium, sans-serif;
  font-size: 13px;
  text-decoration: none;
  background: #f4f5f9;
}

.header-account__login i {
  font-size: 18px;
}

.header-account__login:hover {
  color: #717fe0;
  text-decoration: none;
}

.header-account__register {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #717fe0;
  color: #fff !important;
  font-family: Poppins-Medium, sans-serif;
  font-size: 13px;
  text-decoration: none;
}

.header-account__register:hover {
  background: #5b68c8;
  color: #fff !important;
  text-decoration: none;
}

.header-account__user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 10px 0 4px;
  border: 0;
  border-radius: 999px;
  background: #f4f5f9;
  color: #333;
  font-family: Poppins-Medium, sans-serif;
  font-size: 13px;
  cursor: pointer;
}

.header-account__user:hover,
.header-account.is-open .header-account__user {
  background: #eceef7;
}

.header-account__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #717fe0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.header-account__name {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-account__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  padding: 8px 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(33, 37, 41, .12);
  z-index: 1300;
}

.header-account.is-open .header-account__menu,
.header-account:hover .header-account__menu {
  display: block;
}

.header-account__menu a,
.header-account__menu button {
  display: block;
  width: 100%;
  padding: 9px 16px;
  border: 0;
  background: none;
  color: #333;
  font-family: Poppins-Regular, sans-serif;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.header-account__menu a:hover,
.header-account__menu button:hover {
  background: #f4f5f9;
  color: #717fe0;
}

.menu-mobile-logout {
  width: 100%;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 0;
  cursor: pointer;
}

button.btn-addwish-b2,
button.js-addwish-detail {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

button.header-cart-item-img {
  display: block;
  padding: 0;
  border: 0;
  background: none;
}

.header-cart-remove {
  display: inline-block;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: #717fe0;
  font-family: Poppins-Regular, sans-serif;
  font-size: 12px;
  cursor: pointer;
}

.header-cart-remove:hover {
  color: #333;
}

/* Side drawers — sepet / favori */
.wrap-header-cart {
  z-index: 1400 !important;
}

.wrap-header-cart .header-cart {
  z-index: 1401 !important;
}

.wrap-header-cart .header-cart.side-drawer {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: min(400px, calc(100% - 16px));
  height: 100%;
  height: 100dvh;
  padding: 0 !important;
  background: #fff;
  box-shadow: -16px 0 40px rgba(17, 24, 39, .12);
}

.wrap-header-cart .header-cart.side-drawer::after {
  display: none !important;
  content: none !important;
  height: 0 !important;
}

.side-drawer__head,
.wrap-header-cart .header-cart-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-shrink: 0;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
  padding: 28px 24px 20px !important;
  padding-top: calc(28px + env(safe-area-inset-top, 0px)) !important;
  border-bottom: 1px solid #eceef3;
}

.side-drawer__title {
  margin: 0;
  font-family: Poppins-Medium, sans-serif;
  font-size: 22px;
  line-height: 1.25;
  color: #222;
}

.side-drawer__meta {
  margin: 6px 0 0;
  font-family: Poppins-Regular, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #888;
}

.side-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f4f5f9;
  color: #333;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.side-drawer__close:hover {
  background: #717fe0;
  color: #fff;
}

.side-drawer__body,
.wrap-header-cart .header-cart-content {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding: 8px 24px 16px !important;
  overflow: auto;
  align-content: stretch !important;
}

.header-cart-wrapitem,
.header-wishlist-wrapitem {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 160px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-drawer__item,
.wrap-header-cart .header-cart-item.side-drawer__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid #f0f1f5;
}

.wrap-header-cart .header-cart-item-img {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #f4f5f9;
}

.wrap-header-cart .header-cart-item-img img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
}

.wrap-header-cart .header-cart-item-txt {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 !important;
}

.wrap-header-cart .header-cart-item-name {
  display: block;
  margin: 0 0 4px;
  font-family: Poppins-Medium, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  color: #222;
}

.wrap-header-cart .header-cart-item-info {
  display: block;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #888;
}

.side-drawer__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 220px;
  margin: 0;
  padding: 24px 8px;
  text-align: center;
}

.side-drawer__empty p {
  margin: 0;
  font-family: Poppins-Regular, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #6b7280;
}

.side-drawer__foot {
  flex-shrink: 0;
  width: 100%;
  padding: 18px 24px calc(22px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #eceef3;
  background: #fff;
}

.wrap-header-cart .header-cart-total {
  margin: 0 0 14px;
  padding: 0 !important;
  font-family: Poppins-Medium, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: #222;
}

.side-drawer__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.side-drawer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  background: #717fe0;
  color: #fff !important;
  font-family: Poppins-Medium, sans-serif;
  font-size: 13px;
  text-decoration: none;
  text-align: center;
}

.side-drawer__btn:hover {
  background: #5b68c8;
  color: #fff !important;
}

.side-drawer__btn--ghost {
  background: #fff;
  color: #333 !important;
  border: 1px solid #e5e7eb;
}

.side-drawer__btn--ghost:hover {
  background: #f4f5f9;
  color: #717fe0 !important;
}

@media (max-width: 575px) {
  .wrap-header-cart .header-cart.side-drawer {
    padding: 0 !important;
  }

  .wrap-header-cart .header-cart-title {
    padding-bottom: 20px !important;
  }
}

@media (max-width: 1199px) {
  .header-account__name {
    display: none;
  }
}

.product-card-media {
  display: block;
  color: inherit;
}

.block2-pic .block2-btn {
  z-index: 2;
}

.bank-box { margin: 4px 0 18px; }
.bank-box > p { margin: 0 0 10px; color: #666; font-size: 13px; line-height: 1.45; }
.bank-list { display: grid; gap: 8px; }
.bank-card { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid #e6e8f2; }
.bank-card strong { color: #222; font-size: 14px; font-weight: 600; }
.bank-card span { color: #555; font-size: 13px; }
.bank-card__iban { font-variant-numeric: tabular-nums; letter-spacing: .03em; color: #222; }
