/* SSS / FAQ akordeon — Tailwind class toggle yerine garantili stiller */
.faq-item .faq-answer {
  overflow: hidden !important;
  max-height: 0 !important;
  opacity: 0 !important;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease !important;
}

.faq-item.is-open .faq-answer {
  max-height: 24rem !important;
  opacity: 1 !important;
}

.faq-item.faq-item--tall.is-open .faq-answer {
  max-height: 30rem !important;
}

.faq-item.is-open > button .faq-icon-wrap {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  animation: marquee 80s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

[data-featured-carousel] [data-featured-prev],
[data-featured-carousel] [data-featured-next],
[data-featured-carousel] [data-featured-dot] {
  cursor: pointer;
}

[data-featured-carousel] [data-featured-prev] svg,
[data-featured-carousel] [data-featured-next] svg {
  pointer-events: none;
}

/* Tüm uygulama — tıklanabilir butonlar el işareti (Tailwind reset cursor:default'u ezer) */
button:not(:disabled),
input[type="submit"]:not(:disabled),
input[type="button"]:not(:disabled),
input[type="reset"]:not(:disabled),
[role="button"]:not([aria-disabled="true"]) {
  cursor: pointer;
}

button:disabled,
input[type="submit"]:disabled,
input[type="button"]:disabled {
  cursor: not-allowed;
}

[data-panel-dropdown-trigger],
[data-panel-mobile-menu] {
  cursor: pointer;
}

/* Panel dropdown menü öğeleri */
.panel-menu-item {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 13px;
  color: #d8d8e0;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.panel-menu-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #f2f2f6;
}

.panel-menu-logout {
  cursor: pointer;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  border: none;
  background: transparent;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  text-align: left;
  font: inherit;
  font-size: 13px;
  color: #f0a8a8;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.panel-menu-logout:hover {
  background-color: rgba(239, 68, 68, 0.12);
  color: #ffc9c9;
}

.panel-notifications-panel {
  min-width: 22rem;
  width: min(100vw - 1.5rem, 26rem);
}

.panel-notifications-panel .panel-notification-item {
  cursor: pointer;
  display: flex;
  gap: 0.875rem;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  transition: background-color 0.2s ease;
}

.panel-notifications-panel .panel-notification-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.panel-notifications-panel .panel-notification-item.is-unread {
  background-color: rgba(255, 255, 255, 0.025);
}

.panel-notifications-panel .panel-notification-item.is-unread:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.panel-notifications-panel .panel-notification-dot {
  margin-top: 0.375rem;
  height: 0.5rem;
  width: 0.5rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background-color: #6d8eb8;
  box-shadow: 0 0 10px rgba(109, 142, 184, 0.45);
}

.panel-notifications-panel .panel-notification-dot.is-read {
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

/* Panel onay diyaloğu */
.panel-confirm {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.panel-confirm.is-open {
  opacity: 1;
  pointer-events: auto;
}

.panel-confirm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 8, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.panel-confirm__card {
  position: relative;
  width: min(100%, 26rem);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(14, 14, 20, 0.98) 0%, rgba(10, 10, 15, 0.98) 100%);
  padding: 1.5rem;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.05),
    0 28px 64px -24px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.panel-confirm.is-open .panel-confirm__card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.panel-confirm__icon {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #9dabc4;
  margin-bottom: 1rem;
}

.panel-confirm--danger .panel-confirm__icon {
  border-color: rgba(244, 63, 94, 0.22);
  background: rgba(244, 63, 94, 0.1);
  color: #fda4af;
}

.panel-confirm__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f2f2f6;
  line-height: 1.3;
}

.panel-confirm__message {
  margin: 0.625rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #a0a0ac;
}

.panel-confirm__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.625rem;
  margin-top: 1.375rem;
}

.panel-confirm__btn {
  cursor: pointer;
  border-radius: 0.5rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: inherit;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.panel-confirm__btn--cancel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #b0b0bc;
}

.panel-confirm__btn--cancel:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #ececf2;
}

.panel-confirm__btn--confirm {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #f4f4f8;
  color: #0a0a0f;
  font-weight: 600;
}

.panel-confirm__btn--confirm:hover {
  background: #ffffff;
}

.panel-confirm--danger .panel-confirm__btn--confirm {
  border-color: rgba(244, 63, 94, 0.35);
  background: #e11d48;
  color: #fff5f5;
}

.panel-confirm--danger .panel-confirm__btn--confirm:hover {
  background: #f43f5e;
  border-color: rgba(244, 63, 94, 0.45);
}

/* Panel küçük aksiyon butonları (düzenle, sil vb.) */
.panel-action-btn {
  cursor: pointer;
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
  font-size: 12px;
  font-family: inherit;
  line-height: 1.25;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.panel-action-btn--neutral {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #b0b0bc;
}

.panel-action-btn--neutral:hover {
  color: #ececf2;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.panel-action-btn--danger {
  border: 1px solid rgba(239, 68, 68, 0.2);
  background: transparent;
  color: #fecaca;
}

.panel-action-btn--danger:hover {
  color: #ffe4e6;
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
}

/* Panel — form + yan bilgi (sol geniş, sağ dar) */
.panel-split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .panel-split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  }
}

.form-select-custom {
  font-size: 15px;
  letter-spacing: -0.008em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238b8b96' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
}

/* Footer alt bar — yasal linkler ve alt boşluk */
.footer-bottom-bar {
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: 0.5rem;
  font-size: 13px;
  letter-spacing: 0.005em;
}

@media (min-width: 640px) {
  .footer-legal-links {
    justify-content: flex-end;
  }
}

.footer-legal-links a {
  padding-left: 10px;
  padding-right: 10px;
  color: #8b8b96;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #e8e8ed;
}

.nav-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9999px;
  background-color: #4d5d7a;
  color: #f4f4f8;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #0a0a0f;
}
