/* Misafir hesabım (giriş yok) */
.acct-guest {
  background: #fff;
  min-height: 70vh;
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}
.acct-guest .account-hub__body {
  padding-bottom: 24px;
}
.acct-guest .account-hub__lead {
  text-align: center;
  margin: 20px 28px 22px;
  font-size: 13px;
  line-height: 1.55;
  color: #777;
}
.acct-guest .account-hub__auth {
  padding: 0 20px 22px;
}
.acct-guest .account-hub__menu svg {
  fill: none;
  stroke: currentColor;
  color: #111;
}
.acct-guest .account-hub__menu .account-hub__ico {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Hesabım — mobil öncelikli (masaüstü sonra) */
.acct-hub,
.acct-page {
  background: #f2f2f2;
  min-height: 70vh;
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}
.acct-hub__hero {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 28px 20px 56px;
}
.acct-hub__name {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.acct-hub__email {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  word-break: break-all;
}
.acct-hub__sheet {
  margin: -36px 14px 0;
  position: relative;
  z-index: 2;
}
.acct-hub__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 10px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  margin-bottom: 14px;
}
.acct-hub__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #111;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
}
.acct-hub__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.acct-hub__icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  /* PNG siyah; daire siyah → beyaza çevir */
  filter: invert(1);
}
.acct-hub__list svg {
  color: #111;
  stroke: currentColor;
  fill: none;
  flex: 0 0 auto;
}
.acct-hub__list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
}
.acct-hub__list--gap {
  margin-top: 10px;
}
.acct-hub__list a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 18px;
  color: #111;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid #eee;
}
.acct-hub__list li:last-child a {
  border-bottom: 0;
}
.acct-hub__auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.acct-head {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 52px;
  padding: 0 8px;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}
.acct-head__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #111;
  text-decoration: none;
}
.acct-head__title {
  margin: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}
.acct-head__spacer { width: 40px; }

.acct-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  background: #fff;
  border-bottom: 1px solid #eee;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.acct-tabs::-webkit-scrollbar { display: none; }
.acct-tabs__item {
  flex: 0 0 auto;
  padding: 14px 16px;
  font-size: 13px;
  color: #888;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.acct-tabs__item.is-active {
  color: #111;
  font-weight: 700;
  border-bottom-color: #111;
}

.acct-page__body { min-height: 40vh; }
.acct-empty {
  text-align: center;
  padding: 64px 28px 40px;
  max-width: 420px;
  margin: 0 auto;
}
.acct-empty--compact { padding-top: 40px; }
.acct-empty__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.acct-empty__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
}
.acct-empty__text {
  margin: 0 0 28px;
  font-size: 13px;
  line-height: 1.55;
  color: #777;
}

.acct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid #111;
  cursor: pointer;
  font-family: inherit;
}
.acct-btn--solid { background: #111; color: #fff; }
.acct-btn--outline { background: #fff; color: #111; }
.acct-btn--block { width: 100%; }

.acct-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
}
.acct-menu a {
  display: block;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
  color: #111;
  text-decoration: none;
  font-size: 15px;
}

.acct-form {
  background: #fff;
  padding: 18px 20px 28px;
}
.acct-field {
  display: block;
  margin-bottom: 16px;
}
.acct-field > span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #333;
}
.acct-field em { color: #111; font-style: normal; }
.acct-field input,
.acct-field select,
.acct-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  font-size: 15px;
  font-family: inherit;
  color: #111;
  box-sizing: border-box;
}
.acct-field textarea { min-height: 96px; resize: vertical; }
.acct-field input:focus,
.acct-field select:focus,
.acct-field textarea:focus {
  outline: none;
  border-color: #111;
}
.acct-form__note {
  margin: 4px 0 18px;
  font-size: 12px;
  color: #888;
}
.acct-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.4;
}
.acct-check input { margin-top: 3px; }

.acct-flash {
  margin: 12px 16px;
  padding: 12px 14px;
  font-size: 13px;
}
.acct-flash--ok { background: #f3f3f3; color: #111; }
.acct-flash--err { background: #111; color: #fff; }

.acct-orders { list-style: none; margin: 0; padding: 0; }
.acct-order {
  display: block;
  background: #fff;
  margin-bottom: 8px;
  padding: 16px 18px;
  color: #111;
  text-decoration: none;
}
.acct-order__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.acct-order__top time { font-size: 12px; color: #888; }
.acct-pill {
  display: inline-flex;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid #111;
}
.acct-pill--completed,
.acct-pill--shipped { background: #111; color: #fff; }
.acct-pill--cancelled,
.acct-pill--refunded { border-color: #ccc; color: #999; }
.acct-pill--pending_payment { border-color: #bbb; color: #666; }
.acct-order__oid { margin: 0 0 4px; font-size: 14px; font-weight: 700; word-break: break-all; }
.acct-order__sum { margin: 0 0 12px; font-size: 13px; color: #666; }
.acct-order__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #bbb;
}
.acct-order__foot strong { color: #111; font-size: 15px; }

.acct-detail { background: #fff; }
.acct-detail__hero { padding: 20px; border-bottom: 1px solid #eee; }
.acct-detail__oid { margin: 12px 0 6px; font-size: 20px; font-weight: 600; word-break: break-all; }
.acct-detail__meta { margin: 0; font-size: 13px; color: #777; }
.acct-detail__block { padding: 20px; border-bottom: 1px solid #eee; }
.acct-detail__block h2 {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
}
.acct-detail__items { list-style: none; margin: 0; padding: 0; }
.acct-detail__items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f2f2f2;
}
.acct-detail__items li:last-child { border-bottom: 0; }
.acct-detail__items p { margin: 0 0 4px; font-size: 14px; }
.acct-detail__items span { font-size: 12px; color: #888; }
.acct-detail__totals { margin: 0; }
.acct-detail__totals > div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.acct-detail__totals dt { margin: 0; color: #777; font-weight: 400; }
.acct-detail__totals dd { margin: 0; font-weight: 500; }
.acct-detail__totals .is-total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  font-weight: 700;
}
.acct-detail__totals .is-total dt,
.acct-detail__totals .is-total dd { color: #111; font-weight: 700; }
.acct-detail__track { margin: 12px 0 0; font-size: 13px; }

.acct-addr-list { padding: 12px 0 calc(140px + env(safe-area-inset-bottom, 0px)); }
.acct-addr {
  display: flex;
  gap: 8px;
  background: #fff;
  margin-bottom: 8px;
  padding: 16px 12px 16px 18px;
}
.acct-addr__main { flex: 1; min-width: 0; }
.acct-addr__title {
  margin: 0 0 6px;
  font-size: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}
.acct-addr__title span { font-size: 13px; color: #888; font-weight: 400; }
.acct-addr__line { margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: #444; }
.acct-addr__who { margin: 0; font-size: 13px; color: #666; }
.acct-addr__badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #111;
  padding: 3px 7px;
}
.acct-addr__menu { position: relative; }
.acct-addr__menu summary {
  list-style: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: #666;
}
.acct-addr__menu summary::-webkit-details-marker { display: none; }
.acct-addr__menu-panel {
  position: absolute;
  right: 0;
  top: 100%;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  min-width: 120px;
  z-index: 5;
}
.acct-addr__menu-panel a,
.acct-addr__menu-panel button {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  font-size: 13px;
  color: #111;
  text-decoration: none;
  cursor: pointer;
}
.acct-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  /* Alt tab barın üstünde dursun */
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid #eee;
  z-index: 40;
  box-sizing: border-box;
}
.acct-sticky-cta .acct-btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Doğum tarihi: gün / ay / yıl — taşma yok */
.acct-birth {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.acct-birth__part {
  display: block;
  min-width: 0;
}
.acct-birth__hint {
  display: none;
}
.acct-birth select {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 10px 28px 10px 10px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23111' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  background-size: 12px 8px;
  appearance: none;
  -webkit-appearance: none;
  font-size: 14px;
  font-family: inherit;
  color: #111;
  box-sizing: border-box;
}
.acct-birth select:focus {
  outline: none;
  border-color: #111;
}

.acct-camp-list { padding: 12px 12px 24px; }
.acct-camp {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.acct-camp__media {
  aspect-ratio: 16 / 9;
  background: #e8e8e8;
  overflow: hidden;
}
.acct-camp__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.acct-camp__media--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a, #444);
  color: #fff;
  font-size: 42px;
  font-weight: 700;
}
.acct-camp__body { padding: 16px; }
.acct-camp__type {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
}
.acct-camp__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.35;
}
.camp-store__desk-title { display: none; }
@media (min-width: 960px) {
  .camp-store {
    max-width: 1080px;
    margin: 0 auto 64px;
    padding: 0 24px;
    background: transparent;
    border: 0;
    min-height: auto;
  }
  .camp-store .camp-store__desk-title {
    display: block;
    padding: 36px 0 20px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.02em;
  }
  .camp-store .acct-camp-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 0 0 40px;
  }
  .camp-store .acct-camp {
    margin: 0;
    border: 1px solid #eee;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .camp-store .acct-camp__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 22px 20px;
  }
  .camp-store .acct-camp__title { font-size: 15px; }
  .camp-store .acct-camp__text {
    flex: 1;
    font-size: 14px;
  }
  .camp-store .acct-camp__foot { margin-top: auto; }
  .camp-store .acct-empty--desk {
    grid-column: 1 / -1;
    border: 1px solid #eee;
    background: #fff;
    min-height: 360px;
  }
}
.acct-camp__text {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}
.acct-camp__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.acct-camp__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
}
.acct-camp__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #888;
}

.acct-desk-nav { display: none; }
.acct-desk-title { display: none; }
.acct-btn--wide { display: none; }
.acct-btn--mobile-only { display: inline-flex; }
.acct-empty__icon--sq { border-radius: 4px; width: 44px; height: 44px; }

@media (max-width: 959px) {
  .acct-desk-nav { display: none !important; }
  body.is-app-screen:has(.acct-hub) .site-header,
  body.is-app-screen:has(.acct-guest) .site-header,
  body.is-app-screen:has(.acct-page) .site-header,
  body.is-app-screen:has(.acct-desk) .site-header {
    display: none;
  }
  body.is-app-screen:has(.acct-hub) .site-footer,
  body.is-app-screen:has(.acct-guest) .site-footer,
  body.is-app-screen:has(.acct-page) .site-footer,
  body.is-app-screen:has(.acct-desk) .site-footer {
    display: none;
  }
}

/* Masaüstü: sol menü + sağ içerik */
@media (min-width: 960px) {
  .acct-hub { display: none; }

  .acct-desk {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    max-width: 1080px;
    margin: 36px auto 64px;
    border: 1px solid #e8e8e8;
    background: #fff;
    min-height: 560px;
  }
  .acct-desk-nav {
    display: block;
    border-right: 1px solid #eee;
    background: #fff;
  }
  .acct-desk-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .acct-desk-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 0 22px 0 18px;
    border-bottom: 1px solid #eee;
    border-left: 4px solid transparent;
    color: #111;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
  }
  .acct-desk-nav a.is-active {
    background: #f3f3f3;
    border-left-color: #111;
    font-weight: 700;
  }
  .acct-desk-nav__ico {
    display: inline-flex;
    width: 22px;
    height: 22px;
    color: #111;
  }
  .acct-desk__main {
    background: #fff;
    min-height: 560px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
  }
  .acct-desk__main.acct-page--gray { background: #fff; }
  .acct-head--mobile,
  .acct-tabs--mobile {
    display: none !important;
  }
  .acct-desk-title {
    display: block;
    margin: 0;
    padding: 28px 36px 8px;
    font-size: 20px;
    font-weight: 700;
  }
  .acct-page__body {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .acct-empty--desk {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 40px 64px;
    max-width: none;
    margin: 0;
  }
  .acct-empty__icon--sq {
    margin-bottom: 28px;
    border-radius: 2px;
  }
  .acct-empty__title {
    font-size: 16px;
    letter-spacing: 0.06em;
  }
  .acct-empty__text {
    max-width: 360px;
    margin-bottom: 28px;
  }
  .acct-btn--wide {
    display: inline-flex;
    min-width: 320px;
    background: #fff;
    color: #111;
  }
  .acct-btn--mobile-only { display: none !important; }

  .acct-form,
  .acct-menu,
  .acct-orders,
  .acct-detail,
  .acct-addr-list,
  .acct-camp-list {
    max-width: none;
    margin: 0;
  }
  .acct-form { padding: 20px 36px 40px; }
  .acct-menu a { padding-left: 36px; padding-right: 36px; }
  .acct-addr-list { padding: 16px 24px 100px; }
  .acct-camp-list { padding: 16px 24px 40px; }
  .acct-orders { padding: 8px 24px 32px; }
  .acct-detail__hero,
  .acct-detail__block { padding-left: 36px; padding-right: 36px; }

  .acct-sticky-cta {
    position: static;
    border-top: 0;
    padding: 8px 24px 28px;
    max-width: none;
    transform: none;
    left: auto;
  }

  body.is-app-screen:has(.acct-desk) .site-header,
  body.is-app-screen:has(.acct-desk) .site-footer {
    display: block !important;
  }
}
