/* Tony commerce layer: cart, checkout, minicart and notices */

/* overflow-x: hidden YERINE clip kullan — sticky positioning'i bozmaz */
html {
  overflow-x: clip;
}

.tony-google-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 11px 13px;
  border: 1px solid rgba(17,17,17,.10);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.tony-google-badge:hover {
  border-color: rgba(17,17,17,.24);
  box-shadow: 0 8px 22px rgba(17,17,17,.07);
  transform: translateY(-1px);
}

.tony-google-badge__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #1a73e8;
  border: 1px solid rgba(66,133,244,.28);
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  flex: 0 0 auto;
}

.tony-google-badge__body {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.tony-google-badge__stars {
  color: #fbbc04;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1px;
}

.tony-google-badge__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.tony-google-badge__text {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--muted);
}

.tony-pdp .tony-google-badge {
  margin: 12px 0 14px;
  background: var(--cream);
}

.tony-checkout__summary .tony-google-badge {
  margin: 0 0 16px;
}

.tony-wishlist-page {
  padding: 34px 0 70px;
}

.tony-wishlist-page__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.tony-wishlist-page__title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  color: var(--ink);
}

.tony-wishlist-page__subtitle {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.tony-wishlist-page__status {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}
/* hidden attribute override — JS status.hidden=true çalışsın diye */
.tony-wishlist-page__status[hidden] {
  display: none !important;
}

.tony-wishlist-empty h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--ink);
}

.tony-wishlist-empty p {
  max-width: 420px;
  margin: 0 auto 18px;
  color: var(--muted);
}

.tony-wishlist-page__grid {
  margin-top: 6px;
}

@media (max-width: 600px) {
  .tony-google-badge {
    padding: 10px 12px;
  }

  .tony-wishlist-page {
    padding: 24px 0 52px;
  }

  .tony-wishlist-page__header {
    display: block;
  }

  .tony-wishlist-page__header .tony-btn {
    width: 100%;
    margin-top: 16px;
  }
}
body {
  overflow-x: clip;
}

.tony-minicart-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99998 !important;
  background: rgba(17, 17, 17, .45) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .2s ease !important;
}
.tony-minicart-overlay.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 99998 !important;
}
.tony-minicart {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: min(430px, 100vw) !important;
  z-index: 99999 !important;
  background: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  transform: none !important;
  clip-path: inset(0 0 0 100%) !important;
  pointer-events: none !important;
  transition: clip-path .24s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .24s !important;
  box-shadow: -18px 0 50px rgba(0, 0, 0, .18) !important;
  visibility: hidden !important;
}
.tony-minicart.is-open {
  transform: none !important;
  clip-path: inset(0 0 0 0) !important;
  pointer-events: auto !important;
  visibility: visible !important;
  transition-delay: 0s !important;
}
.tony-minicart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line, #e8e2d8);
  flex-shrink: 0;
}
.tony-minicart__title {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 22px;
  color: var(--ink, #111);
}
.tony-minicart__close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink, #111);
  border-radius: 50%;
}
.tony-minicart__close:hover { background: var(--cream, #f7f3ec); }
.tony-minicart__freeship {
  margin: 16px 24px 0;
  padding: 12px 14px;
  background: var(--cream, #f7f3ec);
  border-left: 3px solid var(--brand-red, #d6263a);
  font-size: 12px;
  color: var(--ink, #111);
}
.tony-minicart__freeship p { margin: 0 0 8px; }
.tony-minicart__progress {
  height: 4px;
  background: rgba(17, 17, 17, .12);
  overflow: hidden;
}
.tony-minicart__progress-bar {
  height: 100%;
  background: var(--brand-red, #d6263a);
  transition: width .25s ease;
}
.tony-minicart__items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.tony-minicart__item,
.tmc-item {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line, #e8e2d8);
}
.tony-minicart__img,
.tmc-item__img img {
  width: 78px;
  height: 92px;
  object-fit: cover;
  background: var(--cream, #f7f3ec);
}
.tony-minicart__item-name,
.tmc-item__name a {
  display: block;
  font-family: var(--font-serif, Georgia, serif);
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink, #111);
  margin-right: 24px;
}
.tony-minicart__variation,
.tmc-item__meta {
  margin-top: 4px;
  color: var(--muted, #777);
  font-size: 11px;
}
.tony-minicart__item-row,
.tmc-item__row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.tony-minicart__qty,
.tmc-item__qty {
  display: inline-flex;
  height: 34px;
  border: 1px solid var(--line2, #d8d0c3);
}
.tony-minicart__qty-btn,
.tmc-qty-btn {
  width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink, #111);
}
.tony-minicart__qty-btn:hover,
.tmc-qty-btn:hover { background: var(--cream, #f7f3ec); }
.tony-minicart__qty-val,
.tmc-qty-val {
  min-width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line2, #d8d0c3);
  border-right: 1px solid var(--line2, #d8d0c3);
  font-weight: 700;
  font-size: 13px;
}
.tony-minicart__item-price,
.tmc-item__price {
  margin-left: auto;
  font-weight: 800;
  color: var(--ink, #111);
  white-space: nowrap;
}
.tony-minicart__remove,
.tmc-item__remove {
  position: absolute;
  top: 16px;
  right: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted, #777);
}
.tony-minicart__remove:hover,
.tmc-item__remove:hover { color: var(--brand-red, #d6263a); }
.tony-minicart__footer {
  padding: 18px 24px 24px;
  border-top: 1px solid var(--line, #e8e2d8);
  background: #fff;
  flex-shrink: 0;
}
.tony-minicart__total,
.tmc-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 15px;
}
.tony-minicart__checkout,
.tony-minicart__view-cart,
.tmc-btn {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 18px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
.tony-minicart__checkout,
.tmc-btn--primary {
  background: var(--ink, #111);
  color: #fff;
}
.tony-minicart__checkout:hover,
.tmc-btn--primary:hover { background: var(--brand-navy, #1e2b59); color: #fff; }
.tony-minicart__view-cart,
.tmc-btn--secondary {
  border: 1px solid var(--line2, #d8d0c3);
  color: var(--ink, #111);
}
.tony-minicart__empty,
.tmc-empty {
  padding: 56px 20px;
  text-align: center;
  color: var(--muted, #777);
}
.tony-minicart.is-loading .tony-minicart__items {
  opacity: .55;
  pointer-events: none;
}

.tony-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, .55);
}
.tony-confirm-modal.is-open { display: flex; }
.tony-confirm-modal__box {
  width: min(320px, calc(100vw - 32px));
  background: #fff;
  padding: 28px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
}
.tony-confirm-modal__text {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--ink, #111);
}
.tony-confirm-modal__btns { display: flex; gap: 10px; }
.tony-confirm-modal__btns button {
  flex: 1;
  height: 42px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
  font-weight: 800;
}
.tony-confirm-modal__no { border: 1px solid var(--line2, #d8d0c3); background: #fff; }
.tony-confirm-modal__yes { background: var(--brand-red, #d6263a); color: #fff; }

.tony-toast-container {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10010;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.tony-toast {
  width: min(390px, calc(100vw - 24px));
  background: var(--ink, #111);
  color: #fff;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .25);
  transform: translateX(110%);
  opacity: 0;
  transition: transform .28s cubic-bezier(.2, .7, .2, 1), opacity .28s ease;
  pointer-events: auto;
  overflow: hidden;
}
.tony-toast.is-visible { transform: translateX(0); opacity: 1; }
.tony-toast.is-hiding { transform: translateX(110%); opacity: 0; }
.tony-toast__progress { height: 3px; background: rgba(255,255,255,.14); }
.tony-toast__progress span {
  display: block;
  height: 100%;
  background: var(--brand-red, #d6263a);
  animation: tony-toast-progress 4.2s linear forwards;
  transform-origin: left;
}
@keyframes tony-toast-progress { to { transform: scaleX(0); } }
.tony-toast__body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
}
.tony-toast__img {
  width: 56px;
  height: 64px;
  object-fit: cover;
  background: var(--cream, #f7f3ec);
  flex-shrink: 0;
}
.tony-toast__copy { min-width: 0; flex: 1; }
.tony-toast__label {
  display: block;
  margin-bottom: 2px;
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
}
.tony-toast__name {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
}
.tony-toast__close {
  width: 28px;
  height: 28px;
  color: rgba(255,255,255,.7);
  font-size: 16px;
}
.tony-toast__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,.14);
}
.tony-toast__btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
  font-weight: 800;
}
.tony-toast__btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.tony-toast__btn--primary { background: var(--brand-navy, #1e2b59); }

.woocommerce-notices-wrapper {
  display: block !important;
  width: 100%;
  margin: 0 0 18px;
}
.woocommerce-notices-wrapper:empty { display: none !important; }
.woocommerce-error,
.woocommerce-info,
.woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-message {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  list-style: none !important;
  margin: 0 0 16px !important;
  padding: 14px 18px !important;
  border-radius: 0 !important;
  border: 1px solid var(--line, #e8e2d8) !important;
  border-left: 4px solid var(--brand-navy, #1e2b59) !important;
  background: #fff !important;
  color: var(--ink, #111) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}
.woocommerce-error { border-left-color: var(--brand-red, #d6263a) !important; background: #fff6f6 !important; }
.woocommerce-message { border-left-color: #2f7a3b !important; background: #f3fbf4 !important; }
.woocommerce-info { background: var(--cream, #f7f3ec) !important; }
.woocommerce-error li { list-style: none !important; margin: 0 !important; }

html body .woocommerce-notices-wrapper:empty,
html body .tony-pdp .woocommerce-notices-wrapper:empty {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
  line-height: 0 !important;
}

html body .woocommerce-notices-wrapper:not(:empty) {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

@supports selector(:has(*)) {
  html body .woocommerce-notices-wrapper:not(:has(.woocommerce-error, .woocommerce-message, .woocommerce-info, [role="alert"])) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
  }
}

.tony-cart-page {
  padding: 42px 0 80px;
  min-height: 60vh;
}
.tony-cart__heading {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line, #e8e2d8);
}
.tony-cart__title {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(25px, 3vw, 36px);
}
.tony-cart__count {
  color: var(--muted, #777);
  font-size: 13px;
  letter-spacing: .08em;
}
.tony-cart__freeship {
  margin-bottom: 30px;
  padding: 14px 18px;
  background: var(--cream, #f7f3ec);
  border-left: 3px solid var(--brand-red, #d6263a);
}
.tony-cart__freeship-text { margin: 0 0 8px; font-size: 13px; }
.tony-cart__freeship-bar { height: 4px; background: rgba(17,17,17,.12); overflow: hidden; }
.tony-cart__freeship-fill { height: 100%; background: var(--brand-red, #d6263a); }
.tony-cart__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 46px;
  align-items: start;
}
.tony-cart__item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line, #e8e2d8);
}
.tony-cart__item:first-child { border-top: 1px solid var(--line, #e8e2d8); }
.tony-cart__item-img img {
  width: 108px;
  height: 128px;
  object-fit: cover;
  background: var(--cream, #f7f3ec);
}
.tony-cart__item-name {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 16px;
  line-height: 1.35;
}
.tony-cart__item-name a { color: var(--ink, #111); }
.tony-cart__item-cat,
.tony-cart__item-info .variation {
  color: var(--muted, #777);
  font-size: 11px;
}
.tony-cart__item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
.tony-cart__qty {
  display: inline-flex;
  height: 38px;
  border: 1px solid var(--line2, #d8d0c3);
}
.tony-cart__qty-btn { width: 36px; }
.tony-cart__qty-input {
  width: 42px;
  border: 0;
  border-left: 1px solid var(--line2, #d8d0c3);
  border-right: 1px solid var(--line2, #d8d0c3);
  text-align: center;
  font-weight: 700;
}
.tony-cart__item-price {
  margin-left: auto;
  font-weight: 800;
  white-space: nowrap;
}
.tony-cart__remove { color: var(--muted, #777); }
.tony-cart__remove:hover { color: var(--brand-red, #d6263a); }
.tony-cart__coupon {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line, #e8e2d8);
}
.tony-cart__coupon-input {
  flex: 1;
  min-height: 46px;
  border: 1px solid var(--line2, #d8d0c3);
  padding: 0 14px;
}
.tony-cart__coupon-btn {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink, #111);
  background: var(--ink, #111);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
  font-weight: 800;
}
.tony-cart__summary-inner {
  position: sticky;
  top: 100px;
  padding: 26px 24px;
  background: var(--cream, #f7f3ec);
}
.tony-cart__summary-title {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 20px;
  margin-bottom: 18px;
}
.tony-cart__summary .cart_totals,
.tony-cart__summary .shop_table {
  width: 100%;
  border: 0 !important;
  background: transparent !important;
}
.tony-cart__summary .shop_table th,
.tony-cart__summary .shop_table td {
  padding: 10px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line, #e8e2d8) !important;
  background: transparent !important;
  font-size: 14px;
}
.tony-cart__summary .checkout-button,
.wc-proceed-to-checkout .checkout-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 54px;
  background: var(--ink, #111) !important;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px !important;
  font-weight: 800 !important;
  border-radius: 0 !important;
}
.tony-cart__trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line, #e8e2d8);
}
.tony-cart__trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted, #777);
  font-size: 11px;
}

body.woocommerce-checkout {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.woocommerce-checkout .tony-main .woocommerce,
body.woocommerce-checkout .tony-main .entry-content,
body.woocommerce-checkout .tony-main .wc-block-checkout,
body.woocommerce-checkout .tony-checkout,
body.woocommerce-checkout .tony-checkout > .tony-container,
body.woocommerce-checkout form.checkout.woocommerce-checkout.tony-checkout__form {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  grid-column: 1 / -1 !important;
}
body.woocommerce-checkout .tony-checkout > .tony-container {
  max-width: var(--container-max, 1200px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--container-pad, 24px) !important;
  padding-right: var(--container-pad, 24px) !important;
}
@media (max-width: 768px) {
  body.woocommerce-checkout .tony-checkout > .tony-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}
body.woocommerce-checkout form.checkout.woocommerce-checkout.tony-checkout__form {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
  display: none !important;
}

.tony-checkout {
  padding: 34px 0 80px;
  background: #fff;
}
.tony-checkout__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line, #e8e2d8);
}
.tony-checkout__back,
.tony-checkout__steps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted, #777);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.tony-checkout__step--active,
.tony-checkout__step--done { color: var(--ink, #111); }
.tony-checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 42px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.tony-checkout__fields {
  align-self: start;
}
.tony-checkout__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.tony-card,
.tony-card--login,
.tony-checkout__summary-inner {
  border: 1px solid var(--line, #e8e2d8);
  background: #fff;
  min-width: 0;
}
/* ─── Card header: grid (numara solda kolon 1, başlık sağda kolon 2) ─── */
.tony-checkout .tony-card__header,
.tony-card .tony-card__header {
  display: grid !important;
  grid-template-columns: auto 1fr;
  grid-auto-rows: auto;
  grid-auto-flow: column;
  align-items: center;
  column-gap: 14px;
  padding: 22px 24px 18px !important;
  border-bottom: 1px solid var(--line, #e8e2d8);
  line-height: 1.3;
  flex-wrap: nowrap;
}
.tony-checkout .tony-card__header > *,
.tony-card .tony-card__header > * { margin: 0; align-self: center; justify-self: start; }
/* Title'ın grid kolonunu zorla atama YOK — auto-placement kullan
   Badge varsa: badge col 1, title col 2 (sıraya göre)
   Badge yoksa: title col 1 (tek child) */
/* Numara olmayan kart başlığı tek sütun */
.tony-checkout .tony-card__header:not(:has(.tony-card__num)),
.tony-card .tony-card__header:not(:has(.tony-card__num)) {
  grid-template-columns: 1fr !important;
}
/* :has() desteği olmayan tarayıcılar için JS fallback class */
.tony-card__header.tony-card__header--no-num {
  grid-template-columns: 1fr !important;
}
.tony-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--ink, #111);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  border-radius: 3px;
  flex-shrink: 0;
}
.tony-card__title {
  margin: 0;
  font-family: var(--font-serif, Georgia, serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--ink, #111);
}
.tony-card__body,
.tony-card__payment-body,
.tony-checkout__login-form,
.tony-checkout__coupon-body {
  padding: 20px;
}
/* ─── Kart spacing: tüm kartlar arası 16px ─── */
.tony-checkout__fields .tony-card,
.tony-checkout__fields .tony-card--shipping,
.tony-checkout__fields .tony-card--iyzico,
.tony-checkout__fields .tony-card--agreements,
.tony-checkout__fields .tony-step-panel > .tony-card {
  margin-bottom: 16px;
}
.tony-checkout__fields .tony-card:last-child { margin-bottom: 0; }

/* ─── Form row default ─── */
.tony-checkout .form-row {
  margin: 0 0 14px !important;
}
.tony-checkout .form-row:last-child {
  margin-bottom: 0 !important;
}

/* ─── Tutarlı label stili (WC form-row label + custom tony-form-label birleşik) ─── */
.tony-checkout .form-row label,
.tony-checkout .tony-form-label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink, #111);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
.tony-checkout .form-row label .required {
  color: var(--brand-red, #D6263A);
  text-decoration: none;
  margin-left: 2px;
}
.tony-checkout .form-row label .optional {
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--muted, #666);
  margin-left: 4px;
  text-transform: none;
}

/* ─── Tutarlı input/select/textarea stili ─── */
.tony-checkout input.input-text,
.tony-checkout input[type="text"],
.tony-checkout input[type="email"],
.tony-checkout input[type="tel"],
.tony-checkout input[type="password"],
.tony-checkout textarea,
.tony-checkout select,
.tony-checkout .select2-selection,
.tony-checkout .tony-form-input {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  font: inherit !important;
  font-size: 14px !important;
  color: var(--ink, #111) !important;
  background: #fff !important;
  border: 1px solid rgba(17, 17, 17, .18) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.tony-checkout textarea,
.tony-checkout textarea.tony-form-input {
  height: auto !important;
  min-height: 72px !important;
  padding: 12px 14px !important;
  resize: vertical;
}
.tony-checkout input:focus,
.tony-checkout select:focus,
.tony-checkout textarea:focus,
.tony-checkout .tony-form-input:focus {
  outline: none !important;
  border-color: var(--brand-navy, #1B2A5B) !important;
  box-shadow: 0 0 0 3px rgba(27, 42, 91, .12) !important;
}
.tony-checkout select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 36px !important;
}

/* ─── Kişisel Bilgiler kartı: 50/50 grid (Ad|Soyad, Tel|Mail) ─── */
#tony-personal-card .tony-card__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 22px;
}
#tony-personal-card .tony-card__body > .form-row {
  margin: 0 !important;
}
#tony-personal-card .tony-card__body > .form-row-wide {
  grid-column: 1 / -1;
}
@media (max-width: 600px) {
  #tony-personal-card .tony-card__body { grid-template-columns: 1fr; }
}

/* ─── Tutarlı kart body padding ─── */
.tony-card__body,
.tony-card__payment-body,
.tony-checkout__login-form,
.tony-checkout__coupon-body {
  padding: 22px;
}

/* ─── Adres kartı: İl/İlçe/Mahalle grid'i ─── */
#tony-address-card .tony-address-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
#tony-address-card .tony-address-row .form-row { margin: 0 !important; }
@media (max-width: 600px) {
  #tony-address-card .tony-address-row { grid-template-columns: 1fr; }
}

/* ─── Email summary: kart değil, satır şeklinde, sade ─── */
.tony-email-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: var(--cream, #f7f3ec);
  border: 1px solid var(--line, #e8e2d8);
  border-radius: 6px;
  font-size: 13px;
}
.tony-email-summary > svg {
  color: var(--brand-navy, #1B2A5B);
  flex-shrink: 0;
}
#tony-email-display {
  flex: 1;
  font-weight: 500;
  color: var(--ink, #111);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#tony-email-display:empty + .tony-email-summary__change,
.tony-email-summary:has(#tony-email-display:empty) {
  /* boşken summary tamamen gizle */
}
/* fallback: JS gizleyecek ama empty pseudo yetmezse */
.tony-email-summary--empty { display: none !important; }
.tony-email-summary__change {
  background: none;
  border: 0;
  font: inherit;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-navy, #1B2A5B);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* ─── Auth bar (Merhaba, X) ─── */
.tony-auth-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: var(--cream, #f7f3ec);
  border: 1px solid var(--line, #e8e2d8);
  border-radius: 6px;
  font-size: 13px;
}
.tony-auth-bar__left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.tony-auth-bar__left svg { color: var(--brand-navy, #1B2A5B); }
/* Eski label + input style'ları yukarıdaki tutarlı sürümle değiştirildi */
.tony-checkout select.select2-hidden-accessible {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.tony-address-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tony-checkout__summary-inner {
  position: sticky;
  top: 80px;
  padding: 22px;
  background: var(--cream, #f7f3ec);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.tony-summary__header,
.tony-summary__item,
.tony-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tony-summary__header {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line, #e8e2d8);
}
.tony-summary__title {
  margin: 0;
  font-family: var(--font-serif, Georgia, serif);
  font-size: 20px;
}
.tony-summary__items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.tony-summary__item-img {
  position: relative;
  width: 58px;
  height: 70px;
  flex-shrink: 0;
}
.tony-summary__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tony-summary__item-qty {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50%;
  background: var(--brand-red, #d6263a);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}
.tony-summary__item-info { min-width: 0; flex: 1; }
.tony-summary__item-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.tony-summary__item-var {
  display: block;
  color: var(--muted, #777);
  font-size: 10px;
}
.tony-summary__item-price { font-weight: 800; white-space: nowrap; }
.tony-summary__coupon {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}
.tony-summary__coupon-input {
  flex: 1;
  min-height: 42px;
  border: 1px solid var(--line2, #d8d0c3);
  padding: 0 12px;
}
.tony-summary__coupon-btn {
  min-height: 42px;
  padding: 0 14px;
  background: var(--ink, #111);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 800;
}
.tony-summary__totals {
  padding-top: 14px;
  border-top: 1px solid var(--line, #e8e2d8);
}
.tony-summary__row { padding: 8px 0; font-size: 14px; }
.tony-summary__row--total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 2px solid var(--ink, #111);
  font-size: 17px;
  font-weight: 900;
}
.tony-payment-only #payment,
.tony-payment-only .woocommerce-checkout-payment {
  background: transparent !important;
  border: 0 !important;
}
.tony-payment-only #place_order,
.woocommerce-checkout #place_order {
  width: 100% !important;
  min-height: 54px !important;
  background: var(--ink, #111) !important;
  color: #fff !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px !important;
  font-weight: 900 !important;
}

/* ── Checkout: Ödemeye Geç butonu (sipariş özeti içinde) ── */
.tony-summary__submit {
  margin-top: 18px;
}
.tony-checkout__pay-btn {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink, #111);
  color: #fff;
  border: 0;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: background .18s;
}
.tony-checkout__pay-btn:hover { background: var(--brand-navy, #1e2b59); }
.tony-checkout__pay-btn:disabled { opacity: .55; cursor: not-allowed; }
.tony-summary__card-logos {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}

/* ── iyzico inline loading spinner ── */
.tony-iyzico-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 20px;
  color: var(--muted, #777);
  font-size: 13px;
}
.tony-iyzico-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--line, #e8e2d8);
  border-top-color: var(--ink, #111);
  border-radius: 50%;
  animation: tony-spin .7s linear infinite;
}
@keyframes tony-spin { to { transform: rotate(360deg); } }

/* Checkout layout iyzico aktif — sol sütun tek sutuna alınır */
.tony-checkout--iyzico-active {
  grid-template-columns: minmax(0, 1fr) 390px;
}
.tony-checkout--iyzico-active .tony-card--iyzico-pay {
  display: block !important;
}

/* ── Order-pay sayfası: iyzico responsive form ── */
.tony-order-pay .tony-iyzico-container {
  padding: 0;
  min-height: 300px;
}
.tony-card--iyzico-pay .tony-card__payment-body {
  padding: 0 !important;
}
#iyzipay-checkout-form.responsive {
  display: block !important;
  width: 100% !important;
}
#iyzipay-checkout-form iframe,
#iyzipay-checkout-form .iyzico-checkoutform-initialize {
  width: 100% !important;
  min-height: 640px;
  border: 0;
}

/* iyzico kendi formunu inline render ettiginde tema resetleri inputlari bozmasin */
.tony-iyzico-container,
#tony-iyzico-inline,
#tony-iyzico-prefetch-slot,
#iyzipay-checkout-form {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.tony-card--iyzico-pay,
.tony-card--iyzico {
  overflow: visible !important;
}

.tony-iyzico-container #iyzipay-checkout-form,
#tony-iyzico-inline #iyzipay-checkout-form,
#tony-iyzico-prefetch-slot #iyzipay-checkout-form {
  max-width: 560px !important;
  margin-inline: auto !important;
}

#iyzipay-checkout-form *,
.tony-iyzico-container * {
  box-sizing: border-box !important;
}

#iyzipay-checkout-form img,
.tony-iyzico-container img {
  aspect-ratio: auto !important;
  width: auto;
  height: auto;
  max-width: 100%;
  display: inline-block;
}

#iyzipay-checkout-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.tony-iyzico-container input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
#iyzipay-checkout-form select,
.tony-iyzico-container select {
  width: 100% !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 44px !important;
  border: 1px solid #d7dde7 !important;
  border-radius: 8px !important;
  background-color: #fff !important;
  color: #243044 !important;
  font-family: var(--font-sans, Arial, sans-serif) !important;
  font-size: 14px !important;
  line-height: 48px !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

#iyzipay-checkout-form input:focus,
.tony-iyzico-container input:focus,
#iyzipay-checkout-form select:focus,
.tony-iyzico-container select:focus {
  border-color: var(--brand-navy, #1B2A5B) !important;
  box-shadow: 0 0 0 3px rgba(27, 42, 91, .12) !important;
}

#iyzipay-checkout-form input::placeholder,
.tony-iyzico-container input::placeholder {
  color: #8a94a6 !important;
  opacity: 1 !important;
}

#iyzipay-checkout-form input[type="checkbox"],
.tony-iyzico-container input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  padding: 0 !important;
  flex: 0 0 16px !important;
}

@media (max-width: 600px) {
  #iyzipay-checkout-form iframe,
  #iyzipay-checkout-form .iyzico-checkoutform-initialize {
    min-height: 760px !important;
  }
}
.tony-summary__order-num {
  font-size: 12px;
  color: var(--muted, #777);
}

@media (max-width: 900px) {
  .tony-toast-container { left: 12px; right: 12px; bottom: 12px; }
  .tony-toast { width: 100%; }
  .tony-cart-page,
  .tony-checkout { padding: 24px 0 58px; }
  .tony-cart__layout,
  .tony-checkout__layout { grid-template-columns: 1fr; gap: 28px; }
  .tony-cart__summary-inner,
  .tony-checkout__summary-inner { position: static; }
  .tony-cart__item { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
  .tony-cart__item-img img { width: 88px; height: 106px; }
  .tony-cart__coupon,
  .tony-summary__coupon { flex-direction: column; }
  .tony-cart__trust { grid-template-columns: 1fr; }
  .tony-checkout__header {
    align-items: flex-start;
    flex-direction: column;
  }
  .tony-address-row { grid-template-columns: 1fr; gap: 0; }
  .tony-card__body,
  .tony-card__payment-body,
  .tony-checkout__login-form,
  .tony-checkout__coupon-body { padding: 16px; }
}


/* ═══════════════════════════════════════════════════════════════════
   UX + iyzico PREFETCH FIX'LERİ — 2026-05-13
   ═══════════════════════════════════════════════════════════════════ */

/* Breadcrumb: aktif olmayan adım soluk */
.tony-checkout__step--pending {
  opacity: .4;
  pointer-events: none;
}

/* İlçe / Mahalle — il seçilmeden disabled görünümü */
#billing_ilce[disabled],
#billing_mahalle[disabled],
.tony-ilce-select select[disabled],
.tony-mahalle-select select[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

/* iyzico prefetch card — JS show/hide eder */
#tony-iyzico-pay-card {
  display: none;
}

/* Loading spinner */
.tony-iyzico-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px 16px;
  color: var(--muted, #666);
  font-size: 13px;
  font-family: var(--font-mono, monospace);
}
@keyframes tony-spin {
  to { transform: rotate(360deg); }
}
.tony-spin {
  animation: tony-spin .9s linear infinite;
  flex-shrink: 0;
}

/* iyzico formu tam genişlik */
#tony-iyzico-prefetch-slot #iyzipay-checkout-form,
#tony-iyzico-inline #iyzipay-checkout-form {
  width: 100% !important;
  max-width: 100% !important;
}
#tony-iyzico-prefetch-slot #iyzipay-checkout-form iframe,
#tony-iyzico-inline #iyzipay-checkout-form iframe {
  width: 100% !important;
  border: 0 !important;
  min-height: 640px !important;
}

@media (max-width: 600px) {
  #tony-iyzico-prefetch-slot #iyzipay-checkout-form iframe,
  #tony-iyzico-inline #iyzipay-checkout-form iframe,
  #iyzipay-checkout-form iframe,
  #iyzipay-checkout-form .iyzico-checkoutform-initialize {
    min-height: 760px !important;
  }
}

/* Validation hatası highlight */
.woocommerce-invalid input,
.woocommerce-invalid select,
input.woocommerce-invalid,
select.woocommerce-invalid {
  border-color: var(--brand-red, #D6263A) !important;
  outline: none;
}

/* Mobil: SİPARİŞ VER butonu sticky bottom */
@media (max-width: 900px) {
  .tony-summary__submit {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    padding: 10px 16px 12px;
    box-shadow: 0 -3px 16px rgba(0,0,0,.10);
    z-index: 200;
    border-top: 1px solid var(--line, rgba(17,17,17,.12));
  }
  .tony-summary__submit .tony-checkout__pay-btn {
    width: 100%;
    font-size: 14px;
    padding: 15px;
  }
  .tony-checkout__layout {
    padding-bottom: 72px;
  }
  /* Sticky gösterilince sidebar'daki card logos gizle */
  .tony-summary__card-logos {
    display: none;
  }
}

/* WC billing_country select gizle — TR sabit, sadece state (il) göster */
#billing_country_field,
p#billing_country_field { display: none !important; }

/* Select2 native select gizle — woocommerce styles devre disi olunca kaymasi onle */
select.select2-hidden-accessible {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
}
/* Select2 container tam genislik */
.select2-container { width: 100% !important; }
.tony-address-row .select2-container { display: block; }

/* Login/kupon bar — mobilde tek satir */
.tony-card--login .tony-card__header {
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 10px 16px;
}
.tony-card--login .tony-card__eyebrow,
.tony-card--login .tony-checkout__login-toggle,
.tony-card--login .tony-checkout__coupon-toggle {
  white-space: nowrap;
  font-size: 12px;
}
/* Tony-il-select native select stilleri */
.tony-il-select {
  width: 100%;
  padding: 12px 36px 12px 14px;
  border: 1px solid var(--line2, rgba(17,17,17,.2));
  border-radius: var(--radius-sm, 4px);
  background-color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  background-image: 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 1l5 5 5-5' stroke='%23111' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.tony-il-select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(17,17,17,.08);
}


/* ═══════════════════════════════════════════════════════════════════
   ONE-PAGE CHECKOUT — Login/Register, Shipping, Auth Panel
   ═══════════════════════════════════════════════════════════════════ */

/* ── Auth bar ── */
.tony-auth-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 8px;
  flex-wrap: wrap;
}
.tony-auth-bar__left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.tony-auth-bar__link {
  background: none; border: none; cursor: pointer;
  color: var(--brand-navy); font-size: 13px; font-family: var(--font-mono);
  font-weight: 600; padding: 0; text-decoration: underline;
  text-underline-offset: 2px;
}
.tony-auth-bar__link:hover { color: var(--brand-red); }
.tony-auth-bar__sep { color: var(--muted); }
.tony-auth-bar__coupon { margin-left: auto; display: flex; align-items: center; gap: 5px; text-decoration: none; }
.tony-auth-bar__welcome { color: var(--muted); }
.tony-auth-bar__welcome strong { color: var(--ink); }

/* ── Auth panel ── */
.tony-auth-panel {
  border-top: 1px solid var(--line);
  padding: 20px;
}
.tony-auth-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.tony-auth-tab {
  background: none; border: none; cursor: pointer;
  padding: 10px 20px; font-size: 13px; font-family: var(--font-mono);
  color: var(--muted); border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: color .15s, border-color .15s;
}
.tony-auth-tab--active { color: var(--ink); border-bottom-color: var(--ink); }
.tony-auth-row { margin-bottom: 12px; }
.tony-auth-row--half { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tony-auth-label { display: block; font-size: 11px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 5px; }
.tony-auth-input {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line2);
  border-radius: var(--radius-sm); font-size: 14px; font-family: var(--font-sans);
  color: var(--ink); background: #fff; transition: border-color .15s;
  box-sizing: border-box;
}
.tony-auth-input:focus { outline: none; border-color: var(--ink); }
.tony-auth-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.tony-btn--full { width: 100%; justify-content: center; }
.tony-auth-forgot { font-size: 12px; font-family: var(--font-mono); color: var(--muted); white-space: nowrap; }
.tony-auth-msg {
  margin-top: 10px; padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 13px; font-family: var(--font-mono);
}
.tony-auth-msg--success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.tony-auth-msg--error   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* ── Coupon panel ── */
.tony-coupon-panel { border-top: 1px solid var(--line); padding: 14px 20px; }
.tony-coupon-msg { margin-top: 8px; font-size: 12px; }
.tony-coupon-msg--ok  { color: #16a34a; }
.tony-coupon-msg--err { color: #dc2626; }

/* ── Kargo seçim ── */
.tony-card--shipping .tony-card__body { padding: 0; }
.tony-shipping-option {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  transition: background .12s;
}
.tony-shipping-option:last-child { border-bottom: none; }
.tony-shipping-option:hover { background: var(--cream); }
.tony-shipping-option--selected { background: var(--cream); }
.tony-shipping-radio {
  width: 18px; height: 18px; accent-color: var(--brand-navy);
  cursor: pointer; flex-shrink: 0;
}
.tony-shipping-option__info { flex: 1; }
.tony-shipping-option__name { display: block; font-size: 14px; font-weight: 500; }
.tony-shipping-option__time { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.tony-shipping-option__price { font-size: 14px; font-weight: 600; white-space: nowrap; }
.tony-shipping-none { padding: 16px 20px; color: var(--muted); font-size: 13px; }
.tony-shipping-loading { opacity: .5; pointer-events: none; }

/* ── Payment card always visible ── */
.tony-card--payment { display: block !important; }

/* ── Card error/highlight states ── */
.tony-card--error {
  border-color: var(--brand-red) !important;
  animation: tony-shake .3s ease;
}
@keyframes tony-shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.tony-card--highlight {
  box-shadow: 0 0 0 3px rgba(27,42,91,.15);
  border-color: var(--brand-navy) !important;
}

/* ── Mobile: tum kartlar tam genislik, padding kucult ── */
@media (max-width: 768px) {
  .tony-auth-row--half { grid-template-columns: 1fr; }
  .tony-auth-actions { flex-direction: column; align-items: stretch; }
  .tony-auth-forgot { text-align: center; }
}

/* iyzico iframe */
.tony-iyzico-frame-wrap { position: relative; }
.tony-iyzico-iframe {
  width: 100%;
  min-height: 520px;
  border: 0;
  display: none;
  transition: height .2s ease;
}


/* ═══ EMAIL-FIRST CHECKOUT ═════════════════════════════════════════════════ */
.tony-checkout__email-card { max-width: 520px; margin: 40px auto; }
.tony-email-step__subtitle { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.tony-email-step__row {
  display: flex; gap: 10px; align-items: stretch;
}
.tony-email-step__input {
  flex: 1; padding: 14px 16px;
  border: 1.5px solid var(--line2); border-radius: var(--radius-sm);
  font-size: 15px; font-family: var(--font-sans); color: var(--ink);
  background: #fff; transition: border-color .15s;
}
.tony-email-step__input:focus { outline: none; border-color: var(--ink); }
.tony-email-step__error { color: var(--brand-red); font-size: 12px; margin-top: 8px; }

/* Mevcut hesap kutusu */
.tony-returning-box {
  margin-top: 16px; padding: 14px 16px;
  background: var(--cream); border-radius: var(--radius-sm);
  border: 1px solid var(--beige);
}
.tony-returning-box__msg { font-size: 13px; margin-bottom: 10px; color: var(--ink); }
.tony-returning-box__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tony-btn--ghost { background: transparent; color: var(--muted); border-color: transparent; font-size: 12px; padding: 8px 12px; }
.tony-btn--ghost:hover { color: var(--ink); }
.tony-login-inline { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* Email özeti (form adımında) */
.tony-email-summary {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: var(--cream);
  border-radius: var(--radius-sm); font-size: 13px;
  margin-bottom: 12px; color: var(--ink);
}
.tony-email-summary svg { color: var(--muted); flex-shrink: 0; }
.tony-email-summary__change {
  background: none; border: none; cursor: pointer;
  color: var(--brand-navy); font-size: 12px; font-family: var(--font-mono);
  text-decoration: underline; margin-left: auto; padding: 0;
}

/* Breadcrumb adım pending */
.tony-checkout__step--pending { opacity: .4; pointer-events: none; }

@media (max-width: 600px) {
  .tony-email-step__row { flex-direction: column; }
  .tony-checkout__email-card { margin: 16px auto; }
}

/* ════════════════════════════════════════════════════════════════
   3-STEP CHECKOUT — yeni katman
   ════════════════════════════════════════════════════════════════ */

/* Step indicator (artık button) */
.tony-checkout__steps {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .06em;
}
.tony-checkout__step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 6px 4px;
  font: inherit;
  letter-spacing: inherit;
  color: rgba(17,17,17,.45);
  cursor: pointer;
  transition: color .15s ease;
}
.tony-checkout__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(17,17,17,.08);
  color: rgba(17,17,17,.55);
  font-size: 11px;
  font-weight: 700;
}
.tony-checkout__step-sep {
  color: rgba(17,17,17,.3);
  flex-shrink: 0;
}
.tony-checkout__step--active {
  color: var(--brand-navy, #1B2A5B);
  font-weight: 700;
  pointer-events: none;
}
.tony-checkout__step--active .tony-checkout__step-num {
  background: var(--brand-navy, #1B2A5B);
  color: #fff;
}
.tony-checkout__step--done {
  color: var(--ink, #111);
  opacity: 1;
  cursor: pointer;
}
.tony-checkout__step--done .tony-checkout__step-num {
  background: var(--brand-navy, #1B2A5B);
  color: #fff;
}
.tony-checkout__step--pending {
  opacity: .4;
  pointer-events: none;
}
.tony-checkout__step:disabled {
  cursor: not-allowed;
}

/* Step panels — geçiş animasyonu */
.tony-step-panel {
  animation: tonyFadeSlide .25s ease;
}
@keyframes tonyFadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── AUTH TABS (Adım 1: Misafir / Login / Kayıt) ─── */
.tony-card--auth { background: #fff; }
.tony-auth-tabs {
  display: grid;
  /* minmax(0, 1fr) — içerik kolonu zorlamasın, gerçek eşit dağılım */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 22px;
  background: #fafafa;
}
.tony-auth-tab {
  background: none;
  border: 0;
  border-right: 1px solid rgba(17,17,17,.12);
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--muted, #666);
  cursor: pointer;
  transition: background .15s, color .15s;
  /* Grid'de eşit genişlik garantisi */
  min-width: 0;
  width: 100%;
  text-align: center;
  line-height: 1.3;
}
.tony-auth-tab:last-child { border-right: 0; }
.tony-auth-tab:hover { background: rgba(27,42,91,.04); color: var(--ink, #111); }
.tony-auth-tab--active {
  background: #fff;
  color: var(--brand-navy, #1B2A5B);
  font-weight: 700;
  box-shadow: inset 0 -3px 0 var(--brand-navy, #1B2A5B);
}
.tony-auth-pane { display: none; }
.tony-auth-pane--active { display: block; animation: tonyFadeSlide .2s ease; }
.tony-auth-pane__subtitle {
  font-size: 12px;
  color: var(--muted, #666);
  margin: 0 0 16px;
  letter-spacing: .04em;
}
.tony-auth-pane__hint {
  font-size: 12px;
  margin-top: 10px;
  color: var(--muted, #666);
}
.tony-auth-pane__hint .tony-link {
  background: none;
  border: 0;
  color: var(--brand-navy, #1B2A5B);
  cursor: pointer;
  font-weight: 600;
  padding: 0;
  text-decoration: underline;
}
.tony-auth-forgot {
  display: inline-block;
  margin: 4px 0 14px;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted, #666);
  text-decoration: underline;
}

/* "Bu e-posta kayıtlı" otomatik bildirim (login tab tepesi) */
.tony-auth-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin: 0 0 16px;
  background: rgba(27, 42, 91, .06);
  border-left: 3px solid var(--brand-navy, #1B2A5B);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: var(--ink, #111);
  animation: tonyFadeSlide .25s ease;
}
.tony-auth-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-navy, #1B2A5B);
}

/* "veya" ayırıcı */
.tony-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 12px;
  color: var(--muted, #999);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tony-auth-divider::before,
.tony-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(17, 17, 17, .1);
}

/* "Misafir olarak devam et" — login içinde ikincil aksiyon linki */
.tony-link-block {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: 1px dashed rgba(17, 17, 17, .2);
  border-radius: 6px;
  font: inherit;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink, #111);
  cursor: pointer;
  text-align: center;
  transition: background .15s, border-color .15s, color .15s;
}
.tony-link-block:hover {
  background: rgba(27, 42, 91, .04);
  border-color: var(--brand-navy, #1B2A5B);
  color: var(--brand-navy, #1B2A5B);
}
.tony-link-block strong { font-weight: 700; }

/* ─── Form rows / inputs (3-step) ─── */
.tony-form-row { margin-bottom: 14px; }
.tony-form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tony-form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink, #111);
  margin-bottom: 6px;
}
.tony-req { color: var(--brand-red, #D6263A); }
.tony-form-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  border: 1px solid rgba(17,17,17,.18);
  border-radius: 6px;
  color: var(--ink, #111);
  transition: border-color .15s, box-shadow .15s;
}
textarea.tony-form-input {
  height: auto;
  min-height: 64px;
  padding: 12px 14px;
  resize: vertical;
}
.tony-form-input:focus {
  outline: none;
  border-color: var(--brand-navy, #1B2A5B);
  box-shadow: 0 0 0 3px rgba(27,42,91,.12);
}
.tony-form-error {
  display: none;
  font-size: 11px;
  color: var(--brand-red, #D6263A);
  margin-top: 4px;
  letter-spacing: .02em;
}
.tony-form-error--show { display: block; }
.tony-form-input-hint {
  font-size: 11px;
  color: var(--muted, #666);
  margin-top: 6px;
  letter-spacing: .02em;
  line-height: 1.4;
}

/* ─── Misafir tab güven barı (SSL + teslimat + iade) ─── */
.tony-guest-trust {
  list-style: none;
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(17,17,17,.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tony-guest-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted, #555);
  letter-spacing: .03em;
  line-height: 1.3;
}
.tony-guest-trust svg {
  color: var(--brand-navy, #1B2A5B);
  flex-shrink: 0;
}

/* ─── Buttons (3-step) ─── */
.tony-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  height: 48px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: none;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, opacity .15s;
}
.tony-btn--navy { background: var(--brand-navy, #1B2A5B); color: #fff; }
.tony-btn--navy:hover:not(:disabled) { background: #122047; }
.tony-btn--outline { border-color: rgba(17,17,17,.2); color: var(--ink, #111); background: #fff; }
.tony-btn--outline:hover:not(:disabled) { background: #fafafa; }
.tony-btn--ghost { color: var(--muted, #666); background: none; }
.tony-btn--ghost:hover:not(:disabled) { color: var(--ink, #111); }
.tony-btn--block { width: 100%; }
.tony-btn--sm { height: 36px; padding: 0 16px; font-size: 11px; }
.tony-btn:disabled { opacity: .55; cursor: not-allowed; }

/* ─── Checkboxes (özel) ─── */
.tony-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink, #111);
}
.tony-checkbox--inline { margin: 14px 0; }
.tony-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tony-checkbox__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(17,17,17,.3);
  border-radius: 4px;
  background: #fff;
  position: relative;
  transition: background .15s, border-color .15s;
}
.tony-checkbox input[type="checkbox"]:checked + .tony-checkbox__box {
  background: var(--brand-navy, #1B2A5B);
  border-color: var(--brand-navy, #1B2A5B);
}
.tony-checkbox input[type="checkbox"]:checked + .tony-checkbox__box::after {
  content: '';
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.tony-checkbox input[type="checkbox"]:focus + .tony-checkbox__box {
  box-shadow: 0 0 0 3px rgba(27,42,91,.18);
}
.tony-checkbox__label a { color: var(--brand-navy, #1B2A5B); text-decoration: underline; }
.tony-checkbox__label a:hover { color: #122047; }

/* ─── Alt billing + Corporate fields ─── */
.tony-alt-billing,
.tony-corp-fields {
  margin: 4px 0 14px;
  padding: 16px;
  background: rgba(17,17,17,.025);
  border-left: 3px solid var(--brand-navy, #1B2A5B);
  border-radius: 0 6px 6px 0;
  animation: tonyFadeSlide .2s ease;
}
.tony-alt-billing__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--brand-navy, #1B2A5B);
}

/* ─── Step navigation (Geri / Devam) ─── */
.tony-step-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
.tony-step-nav .tony-btn--ghost {
  padding-left: 0;
}

/* ─── ADIM 3: Payment methods ─── */
.tony-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tony-pay-method {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 8px;
  padding: 14px 18px;
  background: #fff;
  border: 1.5px solid rgba(17,17,17,.12);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.tony-pay-method:hover { border-color: rgba(27,42,91,.3); }
.tony-pay-method--selected {
  border-color: var(--brand-navy, #1B2A5B);
  background: rgba(27,42,91,.02);
  box-shadow: 0 0 0 3px rgba(27,42,91,.08);
}
.tony-pay-method__radio { position: absolute; opacity: 0; pointer-events: none; }
.tony-pay-method__main {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tony-pay-method__bullet {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(17,17,17,.3);
  background: #fff;
  position: relative;
  flex-shrink: 0;
}
.tony-pay-method--selected .tony-pay-method__bullet {
  border-color: var(--brand-navy, #1B2A5B);
}
.tony-pay-method--selected .tony-pay-method__bullet::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--brand-navy, #1B2A5B);
}
.tony-pay-method__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #111);
}
.tony-pay-method__icon {
  padding-left: 28px;  /* bullet (18px) + gap (10px) → title ile hizalı */
}
.tony-pay-method__icon img {
  /* iyzico cards_v2.png — DOĞAL boyut 200×21 px (4 kart logosu yan yana şerit) */
  /* HTML width/height attr varsa override et, doğal aspect korunsun */
  width: 200px !important;
  height: 21px !important;
  max-width: 200px;
  max-height: 21px;
  object-fit: contain;
  display: block;
}
.tony-pay-method__desc {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--muted, #666);
  margin-top: 6px;
  padding-left: 28px;
}

/* ─── iyzico inline iframe ─── */
.tony-card--iyzico { margin-top: 14px; }
.tony-iyzico-slot { position: relative; min-height: 200px; }
.tony-iyzico-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 60px 16px;
  color: var(--muted, #666);
  font-size: 13px;
  letter-spacing: .04em;
}
.tony-iyzico-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(27,42,91,.2);
  border-top-color: var(--brand-navy, #1B2A5B);
  border-radius: 50%;
  animation: tonySpin .8s linear infinite;
}
@keyframes tonySpin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════════════════════════
   QUICK VIEW MODAL — PLP hover "Hızlı Bak"
   ════════════════════════════════════════════════════════════════ */
body.tony-qv-open { overflow: hidden; }
.tony-qv-modal {
  position: fixed; inset: 0;
  z-index: 99990;
  display: none;
}
.tony-qv-modal.is-open { display: block; animation: tonyFadeSlide .2s ease; }
.tony-qv-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(17,17,17,.55);
  cursor: pointer;
}
.tony-qv-modal__box {
  position: relative;
  max-width: 920px;
  width: calc(100% - 32px);
  max-height: 90vh;
  margin: 5vh auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.tony-qv-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(17,17,17,.12);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink, #111);
  transition: background .15s;
}
.tony-qv-modal__close:hover { background: var(--cream, #f7f3ec); }
.tony-qv-modal__loading {
  padding: 80px 24px;
  text-align: center;
  color: var(--muted, #666);
  font-size: 14px;
}
.tony-qv-modal__content { overflow-y: auto; flex: 1; }
.tony-qv__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.tony-qv__media {
  background: var(--cream, #f7f3ec);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.tony-qv__main-img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}
.tony-qv__thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tony-qv__thumb {
  width: 64px; height: 64px;
  object-fit: cover;
  border: 1px solid rgba(17,17,17,.1);
  border-radius: 6px;
  cursor: pointer;
  background: #fff;
  transition: border-color .15s, transform .15s;
}
.tony-qv__thumb:hover { border-color: var(--brand-navy, #1B2A5B); transform: scale(1.04); }
.tony-qv__info {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tony-qv__cat {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted, #777);
}
.tony-qv__name {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  color: var(--ink, #111);
}
.tony-qv__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-navy, #1B2A5B);
}
.tony-qv__price del { color: var(--muted, #999); font-weight: 400; margin-right: 8px; }
.tony-qv__desc {
  font-size: 13px;
  color: var(--muted, #555);
  line-height: 1.5;
  margin: 0;
}
.tony-qv__sizes-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 8px;
}
.tony-qv__sizes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.tony-qv__size {
  min-height: 38px;
  padding: 4px 6px;
  background: #fff;
  border: 1px solid rgba(17,17,17,.18);
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink, #111);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.tony-qv__size:hover:not(.is-disabled) { border-color: var(--brand-navy, #1B2A5B); }
.tony-qv__size.is-selected {
  background: var(--brand-navy, #1B2A5B);
  color: #fff;
  border-color: var(--brand-navy, #1B2A5B);
}
.tony-qv__size.is-disabled {
  background: rgba(17,17,17,.04);
  color: var(--muted, #999);
  text-decoration: line-through;
  cursor: not-allowed;
}
.tony-qv__actions {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tony-qv__detail-link {
  font-size: 12px;
  text-align: center;
  color: var(--muted, #666);
  letter-spacing: .04em;
  text-decoration: underline;
}
.tony-qv__detail-link:hover { color: var(--brand-navy, #1B2A5B); }

@media (max-width: 720px) {
  .tony-qv-modal__box { max-height: 95vh; margin: 2.5vh auto; }
  .tony-qv__layout { grid-template-columns: 1fr; }
  .tony-qv__media { padding: 16px; }
  .tony-qv__main-img { max-height: 240px; }
  .tony-qv__info { padding: 20px 18px 24px; }
  .tony-qv__name { font-size: 20px; }
  .tony-qv__sizes { grid-template-columns: repeat(4, 1fr); }
}

/* ════════════════════════════════════════════════════════════════
   HESABIM / KAYIT — checkout tasarım sistemi ile hizalı
   ════════════════════════════════════════════════════════════════ */
.tony-account-page {
  padding: 24px 0 64px;
}
.tony-account__head {
  text-align: center;
  margin-bottom: 24px;
}
.tony-account__title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink, #111);
}
.tony-account__subtitle {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted, #777);
  text-transform: uppercase;
}

/* Logged-out (form-login): tek ortalı kolon */
.tony-account__layout {
  max-width: 480px;
  margin: 0 auto;
}

/* Logged-in (my-account): sidebar + content */
.tony-account__layout-2col {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.tony-account-nav { padding: 8px 0; }
.tony-account-nav ul { list-style: none; margin: 0; padding: 0; }
.tony-account-nav__item {
  border-bottom: 1px solid rgba(17,17,17,.06);
}
.tony-account-nav__item:last-child { border-bottom: 0; }
.tony-account-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  font-size: 14px;
  color: var(--ink, #111);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.tony-account-nav__link svg { color: var(--muted, #666); flex-shrink: 0; }
.tony-account-nav__link:hover {
  background: rgba(27,42,91,.04);
  color: var(--brand-navy, #1B2A5B);
}
.tony-account-nav__link:hover svg { color: var(--brand-navy, #1B2A5B); }
.tony-account-nav__item.is-active .tony-account-nav__link {
  background: var(--brand-navy, #1B2A5B);
  color: #fff;
  font-weight: 600;
}
.tony-account-nav__item.is-active .tony-account-nav__link svg { color: #fff; }
/* WC kendi class adı (is-active varyantı) */
.tony-account-nav__item.woocommerce-MyAccount-navigation-link--is-active .tony-account-nav__link,
.tony-account-nav__item.is-active .tony-account-nav__link {
  background: var(--brand-navy, #1B2A5B);
  color: #fff;
}

/* Account içerik alanı (.tony-account__main > .tony-card > .tony-card__body) */
.tony-account__main .tony-card__body {
  padding: 28px;
}
.tony-account__main .woocommerce-MyAccount-content > *,
.tony-account__main p { line-height: 1.55; }
.tony-account__main h1,
.tony-account__main h2,
.tony-account__main h3 {
  font-family: var(--font-serif, Georgia, serif);
  color: var(--ink, #111);
  margin-top: 0;
}
.tony-account__main table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}
.tony-account__main table th,
.tony-account__main table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line, #e8e2d8);
  font-size: 13px;
}
.tony-account__main table th { font-weight: 700; color: var(--muted, #555); text-transform: uppercase; font-size: 11px; letter-spacing: .04em; }
.tony-account__main .woocommerce-button,
.tony-account__main .button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--brand-navy, #1B2A5B);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 4px;
  border: 0;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}
.tony-account__main .woocommerce-button:hover,
.tony-account__main .button:hover { background: #122047; color: #fff; }

/* Auth row helper */
.tony-auth-row { display: flex; gap: 12px; margin: 8px 0 14px; }
.tony-auth-row--between { justify-content: space-between; align-items: center; }

.tony-account__terms {
  font-size: 11px;
  color: var(--muted, #666);
  margin: 8px 0 14px;
  line-height: 1.5;
}
.tony-account__terms a { color: var(--brand-navy, #1B2A5B); text-decoration: underline; }

/* WC mesajları (success/error notice) — kart üstüne çıksın */
.woocommerce-notices-wrapper + .tony-account__layout-2col,
.woocommerce-notices-wrapper + .tony-account__layout {
  margin-top: 12px;
}
.tony-account-page .woocommerce-message,
.tony-account-page .woocommerce-error,
.tony-account-page .woocommerce-info {
  background: var(--cream, #f7f3ec);
  border-left: 3px solid var(--brand-navy, #1B2A5B);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  list-style: none;
}
.tony-account-page .woocommerce-error { border-left-color: var(--brand-red, #D6263A); }

@media (max-width: 768px) {
  .tony-account__layout-2col { grid-template-columns: 1fr; }
  .tony-account-nav__link { padding: 12px 16px; }
  .tony-account__main .tony-card__body { padding: 20px 16px; }
  .tony-account__title { font-size: 22px; }
}

/* Orders table — /hesabim/siparislerim/ */
.tony-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.tony-orders-table thead th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted, #777);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line, #e8e2d8);
  background: transparent;
}
.tony-orders-table tbody tr {
  transition: background .15s;
}
.tony-orders-table tbody tr:hover { background: rgba(27, 42, 91, .03); }
.tony-orders-table tbody td {
  padding: 18px 14px;
  border-bottom: 1px solid var(--line, #e8e2d8);
  vertical-align: middle;
}
.tony-orders-table__link {
  color: var(--brand-navy, #1B2A5B);
  font-weight: 700;
  text-decoration: none;
}
.tony-orders-table__link:hover { text-decoration: underline; }
.tony-orders-table__status {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 12px;
  background: var(--cream, #f7f3ec);
  color: var(--ink, #111);
}
.tony-orders-table__status--processing,
.tony-orders-table__status--on-hold {
  background: rgba(255, 165, 0, .12);
  color: #b87100;
}
.tony-orders-table__status--completed {
  background: rgba(42, 125, 58, .12);
  color: #2a7d3a;
}
.tony-orders-table__status--cancelled,
.tony-orders-table__status--failed {
  background: rgba(214, 38, 58, .08);
  color: var(--brand-red, #D6263A);
}
.tony-orders-table__status--refunded {
  background: rgba(17, 17, 17, .06);
  color: var(--muted, #666);
}
.tony-orders-table__status--pending {
  background: rgba(27, 42, 91, .08);
  color: var(--brand-navy, #1B2A5B);
}
.tony-orders-table__items {
  display: block;
  font-size: 11px;
  color: var(--muted, #777);
  margin-top: 2px;
  letter-spacing: .02em;
}
.tony-orders-table__col-actions {
  text-align: right;
  white-space: nowrap;
}
.tony-orders-table__btn {
  display: inline-block;
  padding: 8px 14px;
  margin-left: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  transition: background .15s;
}
.tony-orders-table__btn--pay,
.tony-orders-table__btn--view {
  background: var(--ink, #111);
  color: #fff;
}
.tony-orders-table__btn--pay:hover,
.tony-orders-table__btn--view:hover { background: var(--brand-navy, #1B2A5B); }
.tony-orders-table__btn--cancel {
  background: transparent;
  color: var(--brand-red, #D6263A);
  border: 1px solid var(--brand-red, #D6263A);
}
.tony-orders-table__btn--cancel:hover {
  background: var(--brand-red, #D6263A);
  color: #fff;
}
.tony-orders-table__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 20px 0 0;
  font-size: 13px;
}
.tony-orders-table__page {
  color: var(--brand-navy, #1B2A5B);
  text-decoration: none;
  font-weight: 600;
}
.tony-orders-table__page:hover { text-decoration: underline; }
.tony-orders-table__page-info { color: var(--muted, #666); }

/* Empty state */
.tony-orders-empty {
  text-align: center;
  padding: 60px 20px;
}
.tony-orders-empty svg { color: var(--muted, #999); margin-bottom: 16px; }
.tony-orders-empty p { color: var(--muted, #666); margin-bottom: 18px; }

@media (max-width: 768px) {
  .tony-orders-table thead { display: none; }
  .tony-orders-table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line, #e8e2d8);
  }
  .tony-orders-table tbody td {
    padding: 0;
    border: 0;
  }
  .tony-orders-table__col-id { grid-column: 1; font-weight: 700; }
  .tony-orders-table__col-status { grid-column: 2; text-align: right; }
  .tony-orders-table__col-date { grid-column: 1 / -1; font-size: 11px; color: var(--muted, #777); }
  .tony-orders-table__col-total { grid-column: 1 / -1; font-weight: 700; }
  .tony-orders-table__col-actions { grid-column: 1 / -1; text-align: left; margin-top: 6px; }
  .tony-orders-table__btn { margin-left: 0; margin-right: 6px; }
}

/* Dashboard (Panel) — özel layout */
.tony-account-dashboard__greeting {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted, #666);
  margin: 0 0 4px;
}
.tony-account-dashboard__greeting strong { color: var(--ink, #111); font-weight: 700; }
.tony-account-dashboard__intro {
  font-size: 13px;
  color: var(--muted, #555);
  margin: 0 0 24px;
  line-height: 1.5;
}
.tony-account-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.tony-account-dashboard__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: var(--cream, #f7f3ec);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink, #111);
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.tony-account-dashboard__card:hover {
  border-color: var(--brand-navy, #1B2A5B);
  transform: translateY(-2px);
}
.tony-account-dashboard__card svg { color: var(--brand-navy, #1B2A5B); margin-bottom: 4px; }
.tony-account-dashboard__card-title { font-size: 14px; font-weight: 700; color: var(--ink, #111); }
.tony-account-dashboard__card-sub { font-size: 11px; color: var(--muted, #777); letter-spacing: .02em; }
.tony-account-dashboard__card--logout svg { color: var(--brand-red, #D6263A); }
.tony-account-dashboard__card--logout:hover { border-color: var(--brand-red, #D6263A); }

.tony-account-dashboard__recent {
  border-top: 1px solid var(--line, #e8e2d8);
  padding-top: 20px;
}
.tony-account-dashboard__recent h3 { font-size: 16px; font-weight: 700; margin: 0 0 14px; }
.tony-account-dashboard__orders { display: flex; flex-direction: column; gap: 8px; }
.tony-account-dashboard__order {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line, #e8e2d8);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink, #111);
  font-size: 13px;
  transition: border-color .15s;
}
.tony-account-dashboard__order:hover { border-color: var(--brand-navy, #1B2A5B); }
.tony-account-dashboard__order-id { font-size: 12px; color: var(--brand-navy, #1B2A5B); font-weight: 700; }
.tony-account-dashboard__order-date { color: var(--muted, #666); font-size: 12px; }
.tony-account-dashboard__order-status {
  display: inline-block;
  padding: 3px 10px;
  background: var(--cream, #f7f3ec);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}
.tony-account-dashboard__order-total { font-weight: 700; }
.tony-account-dashboard__all-orders {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--brand-navy, #1B2A5B);
  text-decoration: underline;
}
@media (max-width: 600px) {
  .tony-account-dashboard__grid { grid-template-columns: 1fr; }
  .tony-account-dashboard__order { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .tony-account-dashboard__order-date,
  .tony-account-dashboard__order-status { grid-column: 1 / -1; }
}

/* ─── Header logo: Customizer'dan büyük logo yüklüyse topbar'a binmesini engelle ─── */
.tony-logo-img,
.tony-logo-link img,
.tony-minimal-header__logo img {
  max-height: 44px !important;
  height: auto !important;
  width: auto !important;
  max-width: 220px;
  display: block;
}
/* Header logo satırı topbar'ı kesin altta tutsun (z-index güvenliği) */
.tony-header {
  z-index: 901 !important;
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  width: 100%;
}
body.admin-bar .tony-header {
  top: 32px !important;
}
.tony-header__logo-row {
  z-index: 901 !important;
  position: relative;
}
.tony-header__logo-inner,
.tony-header__center {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.tony-header__center {
  min-height: 60px;
}

/* ─── Wishlist butonu active (dolu kalp) ─── */
.tony-product-card__wishlist,
.tony-pdp-wishlist-btn {
  transition: color .15s, transform .15s;
}
.tony-product-card__wishlist.is-active,
.tony-pdp-wishlist-btn.is-active {
  color: var(--brand-red, #D6263A);
}
.tony-product-card__wishlist.is-active svg,
.tony-pdp-wishlist-btn.is-active svg {
  fill: var(--brand-red, #D6263A);
  stroke: var(--brand-red, #D6263A);
}
.tony-product-card__wishlist:active,
.tony-pdp-wishlist-btn:active {
  transform: scale(0.92);
}

/* ─── Toast hata varyantı (sepete eklenemedi gibi) ─── */
.tony-toast--error {
  border-left: 3px solid var(--brand-red, #D6263A) !important;
  background: #fff !important;
}
.tony-toast--error .tony-toast__label {
  color: var(--brand-red, #D6263A);
  font-weight: 700;
}
.tony-toast--error .tony-toast__name {
  color: var(--ink, #111);
}

/* ─── Sepet sayfası: checkout layout ile hizalı ─── */
.tony-cart-page .tony-checkout__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--line, #e8e2d8);
  margin-bottom: 20px;
}
.tony-cart-page .tony-cart__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink, #111);
}
.tony-cart-page .tony-cart__count {
  font-size: 12px;
  color: var(--muted, #666);
  font-weight: 400;
  margin-left: 6px;
}
.tony-card__body--flush { padding: 0 !important; }
.tony-cart-page .tony-cart__item-list { padding: 0; }
.tony-cart-page .tony-cart__item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line, #e8e2d8);
  align-items: start;
}
.tony-cart-page .tony-cart__item:last-child { border-bottom: 0; }
.tony-cart-page .tony-cart__item-img img { width: 90px; height: 108px; object-fit: cover; display: block; }
.tony-cart-page .tony-cart__item-info { min-width: 0; }
.tony-cart-page .tony-cart__item-cat {
  display: block;
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--muted, #999);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tony-cart-page .tony-cart__item-name {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}
.tony-cart-page .tony-cart__item-name a { color: var(--ink, #111); }
.tony-cart-page .tony-cart__item-variation { font-size: 11px; color: var(--muted, #666); margin-bottom: 10px; }
.tony-cart-page .tony-cart__item-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.tony-cart-page .tony-cart__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(17,17,17,.18);
  border-radius: 6px;
  overflow: hidden;
}
.tony-cart-page .tony-cart__qty-btn {
  width: 32px; height: 32px;
  background: #fff;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #111);
  cursor: pointer;
  transition: background .15s;
}
.tony-cart-page .tony-cart__qty-btn:hover { background: var(--cream, #f7f3ec); }
.tony-cart-page .tony-cart__qty-input {
  width: 36px; height: 32px;
  border: 0;
  border-left: 1px solid rgba(17,17,17,.12);
  border-right: 1px solid rgba(17,17,17,.12);
  text-align: center;
  font: inherit;
  font-size: 13px;
  padding: 0;
  background: #fff;
  -moz-appearance: textfield;
  appearance: textfield;
}
.tony-cart-page .tony-cart__qty-input::-webkit-outer-spin-button,
.tony-cart-page .tony-cart__qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tony-cart-page .tony-cart__item-price {
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink, #111);
  white-space: nowrap;
}
.tony-cart-page .tony-cart__remove {
  background: none;
  border: 0;
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted, #888);
  cursor: pointer;
  transition: color .15s, background .15s;
  border-radius: 4px;
}
.tony-cart-page .tony-cart__remove:hover {
  color: var(--brand-red, #D6263A);
  background: rgba(214, 38, 58, .06);
}
.tony-cart-page .tony-cart__freeship {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--cream, #f7f3ec);
  border-radius: 6px;
}
.tony-cart-page .tony-cart__freeship-text {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--ink, #111);
}
.tony-cart-page .tony-cart__freeship-bar {
  height: 4px;
  background: rgba(17,17,17,.08);
  border-radius: 2px;
  overflow: hidden;
}
.tony-cart-page .tony-cart__freeship-fill {
  height: 100%;
  background: var(--brand-navy, #1B2A5B);
  transition: width .4s ease;
}
.tony-cart-page .tony-cart__empty {
  text-align: center;
  padding: 60px 20px;
}
.tony-cart-page .tony-cart__empty svg { margin-bottom: 16px; color: var(--muted, #999); }
.tony-cart-page .tony-cart__empty p { margin-bottom: 20px; color: var(--muted, #666); }
@media (max-width: 768px) {
  .tony-cart-page .tony-cart__item { grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 16px; }
  .tony-cart-page .tony-cart__item-img img { width: 72px; height: 86px; }
  .tony-cart-page .tony-cart__item-name { font-size: 14px; }
}

/* ─── Step 2 boş alan uyarı banner ─── */
.tony-step2-error {
  padding: 12px 14px;
  margin-bottom: 14px;
  background: rgba(214, 38, 58, .06);
  border-left: 3px solid var(--brand-red, #D6263A);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: var(--brand-red, #D6263A);
  line-height: 1.4;
  animation: tonyFadeSlide .2s ease;
}
.tony-step2-error strong { color: var(--ink, #111); font-weight: 700; }

/* Eksik/hata alan görsel highlight (WC convention) */
.tony-checkout .woocommerce-invalid input,
.tony-checkout .woocommerce-invalid select,
.tony-checkout .woocommerce-invalid .select2-selection,
.tony-checkout .woocommerce-invalid textarea,
.tony-checkout .woocommerce-invalid .tony-form-input {
  border-color: var(--brand-red, #D6263A) !important;
  background: rgba(214, 38, 58, .03) !important;
}

/* ─── Agreement card ─── */
.tony-card--agreements { margin-top: 14px; }
.tony-card--agreements .tony-card__body { padding: 18px 22px; }
.tony-card--agreements .tony-checkbox { margin: 0; }

/* (iyzico fallback button kaldırıldı — SİPARİŞİ TAMAMLA artık WC AJAX ile yönlendiriyor) */

/* ─── Coupon panel inside summary ─── */
.tony-summary__coupon-wrap {
  margin: 14px 0;
  border-top: 1px solid rgba(17,17,17,.08);
  padding-top: 14px;
}
.tony-summary__coupon-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink, #111);
  cursor: pointer;
}
.tony-summary__coupon-toggle:hover { color: var(--brand-navy, #1B2A5B); }
.tony-summary__coupon-toggle .tony-summary__coupon-caret {
  margin-left: auto;
  transition: transform .2s;
}
.tony-summary__coupon-toggle[aria-expanded="true"] .tony-summary__coupon-caret { transform: rotate(180deg); }
.tony-summary__coupon-body { margin-top: 10px; }
.tony-summary__coupon {
  display: flex;
  gap: 6px;
}
.tony-summary__coupon-input {
  flex: 1;
  height: 38px;
  padding: 0 10px;
  font-size: 13px;
  border: 1px solid rgba(17,17,17,.18);
  border-radius: 4px;
  background: #fff;
}
.tony-summary__coupon-input:focus {
  outline: none;
  border-color: var(--brand-navy, #1B2A5B);
}
.tony-summary__coupon-btn {
  height: 38px;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  background: var(--ink, #111);
  color: #fff;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.tony-summary__coupon-btn:hover { background: var(--brand-navy, #1B2A5B); }
.tony-coupon-msg { font-size: 11px; margin-top: 6px; }
.tony-coupon-msg--ok  { color: #2a7d3a; }
.tony-coupon-msg--err { color: var(--brand-red, #D6263A); }

/* ─── Screen-reader-only ─── */
.tony-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Generic link ─── */
.tony-link {
  background: none;
  border: 0;
  color: var(--brand-navy, #1B2A5B);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font: inherit;
}

/* ─── Alıcı ödemeli kargo: "Kapıda" stili ─── */
.tony-shipping-due-later {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-navy, #1B2A5B);
  letter-spacing: .01em;
}
.tony-shipping-option__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tony-shipping-option__sub {
  font-size: 11px;
  color: var(--muted, #666);
  letter-spacing: .02em;
  line-height: 1.4;
}

/* ─── Özet sağ: Kargo ücreti aside (toplamdan AYRI) ─── */
.tony-summary__shipping-aside {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(27, 42, 91, .04);
  border: 1px dashed rgba(27, 42, 91, .25);
  border-radius: 8px;
}
.tony-summary__shipping-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}
.tony-summary__shipping-head > svg {
  color: var(--brand-navy, #1B2A5B);
  flex-shrink: 0;
}
.tony-summary__shipping-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tony-summary__shipping-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink, #111);
  letter-spacing: .01em;
}
.tony-summary__shipping-sub {
  font-size: 10px;
  color: var(--muted, #666);
  letter-spacing: .04em;
  line-height: 1.4;
}
.tony-summary__shipping-amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy, #1B2A5B);
  letter-spacing: .01em;
  white-space: nowrap;
}

/* ─── Mobile responsive (3-step) ─── */
@media (max-width: 768px) {
  .tony-checkout__steps { font-size: 10px; gap: 6px; }
  .tony-checkout__step-label { display: none; }
  .tony-checkout__step-num { width: 26px; height: 26px; font-size: 12px; }
  /* Mobilde tabs HORIZONTAL kalır (3 EŞİT kolon, içerik zorlamaz) */
  .tony-auth-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .tony-auth-tab {
    border-right: 1px solid rgba(17,17,17,.12);
    border-bottom: 0;
    padding: 12px 6px;
    font-size: 11px;
    letter-spacing: 0;
    line-height: 1.25;
    text-align: center;
  }
  .tony-auth-tab:last-child { border-right: 0; }
  /* "Misafir olarak devam et"in uzun kısmını ≤480px'te gizle → sadece "Misafir" */
  .tony-auth-tab__long { display: inline; }
  .tony-form-row--split { grid-template-columns: 1fr; }
  .tony-step-nav { flex-direction: column-reverse; }
  .tony-step-nav .tony-btn { width: 100%; }
  .tony-pay-method { padding: 12px 14px; }
  .tony-pay-method__desc { padding-left: 26px; }

  /* Card ve form padding sıkılaştırma */
  .tony-card--auth .tony-card__body { padding: 16px !important; }
  .tony-card__header { padding: 14px 16px 12px !important; min-height: 0; }
  .tony-card__title { font-size: 16px; }
  .tony-auth-pane__subtitle { font-size: 11px; margin-bottom: 12px; }
}
@media (max-width: 480px) {
  /* Çok dar ekran: "olarak devam et" gizle, "Misafir" yeterli */
  .tony-auth-tab__long { display: none; }
  .tony-auth-tab { padding: 12px 4px; font-size: 12px; }
}

/* ════════════════════════════════════════════════════════════════
   DESKTOP STICKY SUMMARY — Grid item stretch + inner sticky
   ════════════════════════════════════════════════════════════════ */
@media (min-width: 901px) {
  /* Grid item DEFAULT stretch'te kalsın → uzun form boyunca yüksek olur, sticky çalışsın */
  .tony-checkout__summary {
    align-self: stretch;
    height: 100%;
  }
  .tony-checkout__summary-inner {
    position: sticky !important;
    top: 80px !important;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
}

/* Mobile bar varsayılan: gizli */
.tony-summary__mobile-bar { display: none; }

/* ════════════════════════════════════════════════════════════════
   MOBILE CHECKOUT — Akordeon özet (üstte sticky) + Alt CTA bar
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Layout: 1 kolon, özet üstte */
  .tony-checkout {
    padding: 16px 0 88px !important;  /* alt sticky bar için padding */
  }
  .tony-checkout__layout {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
  }
  .tony-checkout__summary {
    order: -1;
    margin: 0;
  }
  .tony-checkout__fields {
    order: 1;
  }
  .tony-checkout__summary-inner {
    position: sticky !important;
    top: 0 !important;
    z-index: 50;
    padding: 0 !important;
    background: #fff !important;
    max-height: none;
    overflow: visible;
    border: 1px solid var(--line, #e8e2d8);
  }

  /* Mobil özet barı (sticky top sayesinde scroll'da görünür) */
  .tony-summary__mobile-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 13px 16px;
    background: var(--cream, #f7f3ec);
    border: 0;
    font: inherit;
    cursor: pointer;
    text-align: left;
    transition: background .15s;
  }
  .tony-summary__mobile-bar:active { background: rgba(17,17,17,.06); }
  .tony-summary__mobile-bar-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink, #111);
  }
  .tony-summary__mobile-bar-left > svg:first-child {
    color: var(--brand-navy, #1B2A5B);
  }
  .tony-summary__mobile-bar-total {
    font-size: 15px;
    font-weight: 800;
    color: var(--brand-navy, #1B2A5B);
    letter-spacing: -.01em;
  }
  .tony-summary__mobile-bar-caret {
    margin-left: 2px;
    transition: transform .2s ease;
    color: var(--muted, #666);
  }
  .tony-summary__mobile-bar[aria-expanded="true"] .tony-summary__mobile-bar-caret {
    transform: rotate(180deg);
  }
  .tony-summary__mobile-bar[aria-expanded="true"] {
    border-bottom: 1px solid var(--line, #e8e2d8);
  }

  /* Header (Siparişin başlığı) mobilde mobile-bar zaten gösteriyor — gizle */
  .tony-summary__header { display: none; }

  /* Collapsible: varsayılan gizli, açıldığında görünür */
  .tony-summary__collapsible {
    display: none;
    padding: 16px;
  }
  .tony-summary__collapsible.is-open {
    display: block;
    animation: tonyFadeSlide .2s ease;
  }

  /* Orijinal submit alanı mobilde gizli — body-level klon kullanıyoruz */
  .tony-summary__submit {
    display: none !important;
  }
  .tony-summary__card-logos,
  .tony-summary__trust {
    display: none;  /* mobilde alan kazanmak için gizle */
  }

  /* Step nav butonları mobilde alt sticky bar ile çakışmasın */
  .tony-step-nav {
    margin-bottom: 0;
  }

  /* Form alan paddingleri */
  .tony-card__body,
  .tony-card__payment-body { padding: 16px !important; }
  #tony-personal-card .tony-card__body { padding: 16px !important; }

  /* Step 3'te body-level sticky CTA gizlenir → bottom padding'e gerek yok */
  .tony-checkout--no-bottom-bar { padding-bottom: 16px !important; }

  /* iyzico iframe kart: padding 0 — iframe tam yan yana otursun */
  #tony-iyzico-card .tony-card__body,
  .tony-card--iyzico .tony-card__body,
  .tony-iyzico-slot { padding: 0 !important; margin: 0 !important; }
  #tony-iyzico-card,
  .tony-card--iyzico {
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    width: calc(100% + 32px) !important;
  }
  /* iyzico kart başlığı (Kart Bilgileri) — iframe içinde de aynı başlık var, dış başlığı tutuyoruz */
  #tony-iyzico-iframe { width: 100% !important; min-width: 0 !important; display: block; }
}

/* ════════════════════════════════════════════════════════════════
   BODY-LEVEL MOBILE STICKY CTA — position:fixed garantili
   ════════════════════════════════════════════════════════════════ */
.tony-mobile-cta-bar {
  display: none; /* desktop'ta gizli */
}
@media (max-width: 900px) {
  .tony-mobile-cta-bar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9999;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -4px 18px rgba(0,0,0,.12);
    border-top: 1px solid rgba(17,17,17,.10);
  }
  .tony-mobile-cta-bar .tony-checkout__pay-btn {
    width: 100%;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #111;
    color: #fff;
    border: 0;
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .15s;
  }
  .tony-mobile-cta-bar .tony-checkout__pay-btn:hover,
  .tony-mobile-cta-bar .tony-checkout__pay-btn:active {
    background: var(--brand-navy, #1B2A5B);
  }
  /* Body alt padding — sticky bar form'u kapatmasın */
  .tony-checkout {
    padding-bottom: 90px !important;
  }
}
