/* ===== Footer (DESIGN §3.9) ===== */
.cc_yxicgech_footer .yb-footer {
  font-family: var(--font);
  background: var(--color-footer);
  color: var(--bg);
  box-shadow: inset 0 4px 0 var(--color-action); /* taste-skill-ignore: palet kararı (05-renk-paleti §3): üst kenarda 4px kırmızı çizgi, yükseklik değişmez */
}
.cc_yxicgech_footer .yb-footer__wrap {
  max-width: var(--container);
  margin: 0 auto;
}

/* Tam footer — mobil */
.cc_yxicgech_footer .yb-footer--full {
  padding: var(--space-5) var(--space-4) 10rem;
}
.cc_yxicgech_footer .yb-footer--full.yb-footer--no-float {
  padding-bottom: 6rem;
  /* Ürün, sepet ve arama sayfaları beyaz bir rafla biter; raf footer'a yapışmasın (2026-11-05) */
  margin-top: var(--space-7);
}
.cc_yxicgech_footer .yb-footer__grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cc_yxicgech_footer .yb-footer__brand {
  display: none;
}
.cc_yxicgech_footer .yb-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.cc_yxicgech_footer .yb-footer__col-title, .cc_yxicgech_footer .yb-footer__pay-title {
  margin: 0 0 0.125rem;
  font-size: var(--fs-meta);
  font-weight: 600;
  line-height: 1.45;
}
.cc_yxicgech_footer .yb-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cc_yxicgech_footer .yb-footer__link {
  min-height: 2.5rem;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  color: var(--color-footer-link);
  font-size: var(--fs-body);
  text-decoration: none;
}
.cc_yxicgech_footer .yb-footer__wa-btn {
  min-height: var(--btn-h-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0 1.125rem;
  border: 1.5px solid var(--color-footer-link);
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--bg);
  font-size: var(--fs-body);
  font-weight: 600;
  text-decoration: none;
}
.cc_yxicgech_footer .yb-footer__wa-ic {
  display: inline-flex;
  color: var(--whatsapp);
}

/* İletişim: WhatsApp + sosyal ikonlar + Trendyol mağaza kartı */
.cc_yxicgech_footer .yb-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}
.cc_yxicgech_footer .yb-footer__contact .yb-footer__wa-btn {
  align-self: stretch;
}
.cc_yxicgech_footer .yb-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.cc_yxicgech_footer .yb-footer__social-link {
  width: var(--tap);
  height: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid color-mix(in srgb, var(--bg) 35%, transparent);
  border-radius: var(--radius-pill);
  color: var(--bg);
  font-size: 1.25rem;
}
.cc_yxicgech_footer .yb-footer__ty {
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border: 1.5px solid color-mix(in srgb, var(--bg) 35%, transparent);
  border-radius: var(--radius-sm);
  color: var(--bg);
  text-decoration: none;
}
/* Trendyol logosu (kare uygulama ikonu da olabilir): 40px yükseklik, hafif yuvarlak köşe (2026-11-05) */
.cc_yxicgech_footer .yb-footer__ty-logo {
  display: block;
  flex: none;
  width: auto;
  height: 2.5rem;
  max-width: 6rem;
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.cc_yxicgech_footer .yb-footer__ty-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cc_yxicgech_footer .yb-footer__ty-label {
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.3;
}
.cc_yxicgech_footer .yb-footer__ty-count {
  color: var(--color-footer-muted);
  font-size: var(--fs-meta);
  line-height: 1.4;
}
.cc_yxicgech_footer .yb-footer__pay-title {
  display: none;
}
.cc_yxicgech_footer .yb-footer__bottom {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cc_yxicgech_footer .yb-footer__legal {
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--color-footer-muted);
  font-size: var(--fs-meta);
  line-height: 1.6;
}
.cc_yxicgech_footer .yb-footer__prepared {
  align-self: flex-start;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  color: var(--color-footer-muted);
  font-size: var(--fs-badge);
  text-decoration: none;
}


.cc_yxicgech_footer .yb-footer__link:focus-visible, .cc_yxicgech_footer .yb-footer__wa-btn:focus-visible, .cc_yxicgech_footer .yb-footer__social-link:focus-visible, .cc_yxicgech_footer .yb-footer__ty:focus-visible, .cc_yxicgech_footer .yb-footer__prepared:focus-visible {
  outline: 2px solid var(--bg);
  outline-offset: 2px;
}
@media (hover: hover) {
  .cc_yxicgech_footer .yb-footer__link:hover, .cc_yxicgech_footer .yb-footer__prepared:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .cc_yxicgech_footer .yb-footer__social-link:hover, .cc_yxicgech_footer .yb-footer__ty:hover {
    border-color: var(--bg);
  }
}

/* ===== Masaüstü ===== */
@media (min-width: 1024px) {
  .cc_yxicgech_footer .yb-footer--full {
    padding: 2.75rem 0 var(--space-5);
  }
  .cc_yxicgech_footer .yb-footer--full.yb-footer--no-float {
    padding-bottom: var(--space-5);
    margin-top: var(--space-8);
  }
  .cc_yxicgech_footer .yb-footer__wrap {
    padding: 0 var(--gutter);
  }
  .cc_yxicgech_footer .yb-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(12.5rem, 100%), 1fr));
    gap: 1.75rem;
  }
  .cc_yxicgech_footer .yb-footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }
  .cc_yxicgech_footer .yb-footer__logo {
    font-size: 1.625rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
  }
  .cc_yxicgech_footer .yb-footer__logo-box {
    align-self: flex-start;
    display: inline-flex;
  }
  /* Koyu zemin logosu yoksa normal logo açık rozet içinde: amblem renkleriyle okunur */
  .cc_yxicgech_footer .yb-footer__logo-box--plate {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    background: var(--bg);
  }
  .cc_yxicgech_footer .yb-footer__logo-img {
    display: block;
    width: auto;
    height: 3rem;
    max-width: 10rem;
    object-fit: contain;
  }
  .cc_yxicgech_footer .yb-footer__desc {
    color: var(--color-footer-muted);
    font-size: 0.9375rem;
  }
  .cc_yxicgech_footer .yb-footer__desc p {
    margin: 0;
  }
  .cc_yxicgech_footer .yb-footer__cols {
    display: contents;
  }
  .cc_yxicgech_footer .yb-footer__col-title {
    margin-bottom: var(--space-2);
    font-size: var(--fs-body);
  }
  .cc_yxicgech_footer .yb-footer__link {
    min-height: 2.25rem;
    padding: 0.375rem 0;
    font-size: 0.9375rem;
  }
  .cc_yxicgech_footer .yb-footer__pay {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
  }
  .cc_yxicgech_footer .yb-footer__pay-title {
    display: block;
    margin: 0;
    font-size: var(--fs-body);
  }
  .cc_yxicgech_footer .yb-footer__pay .yb-pay__item {
    height: 2.125rem;
  }
  .cc_yxicgech_footer .yb-footer__bottom {
    margin-top: var(--space-6);
    padding-top: 1.125rem;
    border-top: 1px solid color-mix(in srgb, var(--bg) 16%, transparent); /* taste-skill-ignore: DESIGN §3.9 footer alt satır ayırıcısı */
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
  }
  .cc_yxicgech_footer .yb-footer__legal {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 0.375rem;
  }
  .cc_yxicgech_footer .yb-footer__legal-line::before {
    content: "· ";
  }
  .cc_yxicgech_footer .yb-footer__prepared {
    font-size: var(--fs-meta);
  }
}
