/* MODANNA tasarım iyileştirmeleri — listing
 * Kapsam: ürün listeleme (collection/kategori/kiralik/arama/marka/etiket/favoriler),
 * ürün kartı, müşteri hesabı ve giriş/üyelik sayfaları.
 * Önek: .mpl-  (Amerce template sınıfları üzerine ince ayar; yeni stil icat edilmez)
 */

/* =========================================================
   1. LİSTE IZGARASI — mobilde 2, tablette 3 sütun
   (modanna.js sütun seçici ekran genişliğine göre sınırlamıyor)
   ========================================================= */
@media (max-width: 1199px) {
  #gridLayout.tf-grid-layout.tf-col-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  #gridLayout.tf-grid-layout.tf-col-3,
  #gridLayout.tf-grid-layout.tf-col-4 { grid-template-columns: repeat(2, 1fr); }
  #gridLayout.tf-grid-layout { column-gap: 12px; row-gap: 28px; }
}

/* =========================================================
   2. TOOLBAR + UYGULANAN FİLTRELER
   ========================================================= */
.mpl-shop-control { margin-bottom: 24px; }
.mpl-shop-control .tf-btn-filter { position: relative; }
.mpl-filter-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--text); color: var(--white);
  font-size: 11px; font-weight: 600; line-height: 1;
}
.mpl-shop-control.is-no-filter .mpl-shop-count { min-width: 120px; }
.mpl-meta-filter { row-gap: 10px; }
.mpl-meta-filter .count-text { color: var(--text-2); }
.mpl-meta-filter .count-text .fw-medium { color: var(--text); }
.mpl-meta-filter .br-line.type-vertical { width: 1px; height: 16px; background: var(--line); }
.mpl-meta-filter .filter-tag,
.mpl-meta-filter .remove-all-filters { text-transform: none; font-size: 13px; line-height: 22px; color: var(--text); }
.mpl-meta-filter .remove-all-filters { background: transparent; text-decoration: underline; text-underline-offset: 3px; padding-left: 4px; }
.mpl-meta-filter .remove-all-filters:hover { background: transparent; color: var(--primary); }

@media (max-width: 575px) {
  .mpl-shop-control { gap: 8px; margin-bottom: 16px; }
  .mpl-shop-control .tf-btn-filter { padding: 8px 12px; }
  .mpl-shop-control .tf-control-sorting .text-sort-value { font-size: 14px; }
  .mpl-meta-filter { margin-bottom: 20px; }
  .mpl-meta-filter .br-line.type-vertical { display: none; }
  .mpl-meta-filter .count-text { width: 100%; }
}

.mpl-pagination { margin-top: 48px; }
.mpl-pagination .mpl-pag-gap { border-color: transparent; background: transparent; pointer-events: none; }

/* Arama: hızlı bağlantılar */
.mpl-search-inner { padding-bottom: 0 !important; }
.mpl-search-inner .tf-col-quicklink { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 4px; }
.mpl-search-inner .mpl-quicklink { color: var(--text-2); }
.mpl-search-inner .mpl-quicklink:hover { color: var(--text); }
.mpl-suggest .sect-heading { margin-bottom: 32px; }

/* Filtre paneli */
.mpl-filter .mpl-price-box { gap: 10px; }
.mpl-filter .mpl-price-field {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; height: 44px;
  transition: border-color .2s;
}
.mpl-filter .mpl-price-field:focus-within { border-color: var(--text); }
.mpl-filter .mpl-price-field .price-val { border: 0 !important; background: transparent !important; width: 100%; padding: 0 !important; height: 100%; box-shadow: none !important; }
.mpl-filter .group-category .list-item .label { display: flex; justify-content: space-between; gap: 8px; width: 100%; }
.mpl-filter .group-category .list-item .label.active { font-weight: 600; color: var(--text); }
.mpl-filter .group-category .count { color: var(--text-3); }
.mpl-filter-actions {
  position: sticky; bottom: 0; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 16px 0 20px; background: var(--white);
}
.mpl-filter-actions .tf-btn { width: 100%; justify-content: center; }

/* =========================================================
   3. BOŞ DURUM (liste + hesap ortak)
   ========================================================= */
.mpl-empty {
  max-width: 520px; margin: 0 auto; padding: 56px 16px;
  text-align: center;
}
.mpl-empty__icon {
  width: 72px; height: 72px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--surface); color: var(--text);
  font-size: 30px;
}
.mpl-empty__title { margin-bottom: 8px; }
.mpl-empty__text { color: var(--text-2); margin-bottom: 24px; }
.mpl-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mpl-empty.is-compact { padding: 36px 16px; }
.mpl-empty.is-compact .mpl-empty__icon { width: 56px; height: 56px; font-size: 24px; margin-bottom: 14px; }
.mpl-empty.is-compact .mpl-empty__text { margin-bottom: 16px; }

/* =========================================================
   4. ÜRÜN KARTI
   ========================================================= */
.modanna-card .product-badge_list { gap: 4px; }
.modanna-card .product-badge_item { display: inline-flex; align-items: center; gap: 4px; letter-spacing: .02em; }
.modanna-card .product-badge_item .icon { font-size: 12px; }
.modanna-card .product-badge_item.mpl-badge-rent { background-color: var(--text); color: var(--white); }

.modanna-card .card-product_info .name-product {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Kiralık fiyat: "Kiralama / 190,00 ₺'den başlayan" */
.modanna-card .mpl-rent-price { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.modanna-card .mpl-rent-price__label {
  color: var(--text-2); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; line-height: 16px;
}
.modanna-card .mpl-rent-price__value { display: inline; }
.modanna-card .mpl-rent-price__suffix { color: var(--text-2); font-size: 13px; }
.modanna-card .mpl-card-rent-alt { color: var(--text-2); display: inline-flex; align-items: center; gap: 4px; }
.modanna-card .mpl-card-rent-alt .icon { font-size: 13px; }

@media (max-width: 767px) {
  .modanna-card .product-badge_list { top: 8px; left: 8px; flex-direction: column; align-items: flex-start; }
  .modanna-card .product-badge_item { font-size: 11px; line-height: 18px; padding: 0 7px; }
  .modanna-card .product-badge_item .icon { font-size: 10px; }
  .modanna-card .mpl-rent-price__suffix { font-size: 12px; }
}

/* =========================================================
   5. KİRALIK — "Nasıl işler?" şeridi
   ========================================================= */
.mpl-rent-steps + .flat-spacing { padding-top: 48px; }
.mpl-rent-steps__box {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 32px 24px 20px; background: var(--white);
}
.mpl-rent-steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mpl-rent-step { padding: 0 8px; }
.mpl-rent-step .icon { font-size: 32px; margin-bottom: 14px; }
.mpl-rent-step .title { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.mpl-rent-step__no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--text); color: var(--white); font-size: 12px; font-weight: 600; line-height: 1;
}
.mpl-rent-step .text { font-size: 14px; line-height: 22px; max-width: 240px; margin: 0 auto; }
.mpl-rent-steps__note { text-align: center; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
@media (min-width: 992px) {
  .mpl-rent-step + .mpl-rent-step { border-left: 1px solid var(--line); }
}
@media (max-width: 991px) {
  .mpl-rent-steps__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}
@media (max-width: 575px) {
  .mpl-rent-steps + .flat-spacing { padding-top: 48px; }
.mpl-rent-steps__box { padding: 24px 16px 16px; }
  .mpl-rent-steps__grid { gap: 20px 12px; }
  .mpl-rent-step { padding: 0; }
  .mpl-rent-step .icon { font-size: 26px; margin-bottom: 10px; }
  .mpl-rent-step .title { font-size: 15px; gap: 6px; }
  .mpl-rent-step__no { width: 18px; height: 18px; font-size: 11px; }
  .mpl-rent-step .text { font-size: 13px; line-height: 20px; }
}

/* =========================================================
   6. MARKALAR
   ========================================================= */
.mpl-brands-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 264px)); justify-content: center; gap: 20px; }
.mpl-brand-card {
  aspect-ratio: auto; border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 20px 22px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.mpl-brand-card:hover { border-color: var(--text); box-shadow: 0 10px 25px rgba(43, 52, 74, .08); }
.mpl-brand-card__media { height: 72px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.mpl-brand-card__media img { max-height: 64px; margin: 0; }
.mpl-brand-card__mono {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--text); font-size: 26px; font-weight: 600;
}
.mpl-brand-card .brand-name { margin: 0; }
.mpl-brand-card__meta { display: inline-flex; align-items: center; gap: 4px; }
.mpl-brand-card__meta .icon { font-size: 12px; transition: transform .2s; }
.mpl-brand-card:hover .mpl-brand-card__meta .icon { transform: translate(2px, -2px); }
.mpl-brand-logo { max-height: 80px; margin-bottom: 14px; }
@media (max-width: 575px) {
  .mpl-brands-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mpl-brand-card { padding: 20px 12px 16px; }
}

/* =========================================================
   7. HESABIM — ortak
   ========================================================= */
@media (min-width: 992px) {
  .my-account-nav .link-account { padding: 15px 20px; }
  .my-account-nav .link-account .icon { font-size: 22px; }
  .my-account-nav .link-account .text { font-size: 17px; line-height: 26px; }
}
.my-account-nav .link-account.active { color: var(--text); font-weight: 600; box-shadow: inset 3px 0 0 var(--text); }
.my-account-nav .link-account[href="/cikis"]:hover { color: var(--critical); }

.my-account-content .account-title { margin-bottom: 8px; }
.my-account-content .account-title + :not(.mpl-acc-lead):not(p) { margin-top: 16px; }
.mpl-acc-lead { margin-bottom: 24px; }
.mpl-acc-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.mpl-acc-head .account-title { margin-bottom: 0; }
.mpl-acc-section-title { margin: 32px 0 16px; }
.mpl-acc-card {
  border: 1px solid var(--line); border-radius: 8px; padding: 24px 27px;
  background: var(--white);
}
.mpl-acc-card + .mpl-acc-card { margin-top: 20px; }
.mpl-acc-card__title { margin-bottom: 12px; }
@media (max-width: 575px) {
  .mpl-acc-card { padding: 20px 16px; }
}

/* Bildirim / uyarı kutusu */
.mpl-alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; margin-bottom: 20px;
  border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text);
  font-size: 14px; line-height: 22px;
}
.mpl-alert > .icon { font-size: 18px; line-height: 22px; flex-shrink: 0; }
.mpl-alert ul { margin: 0; padding-left: 18px; list-style: disc; }
.mpl-alert.is-success { background: #EEF8EC; border-color: #CFE9C8; color: #23651A; }
.mpl-alert.is-error   { background: #FDEEEE; border-color: #F6CACA; color: #A12626; }
.mpl-alert.is-warning { background: #FDF6E7; border-color: #F3DDAE; color: #7A5410; }
.mpl-alert.is-info    { background: var(--surface); border-color: var(--line); color: var(--text); }
.mpl-alert.is-soft    { background: var(--bg-2); border-color: transparent; }
.mpl-alert a:not(.tf-btn) { text-decoration: underline; text-underline-offset: 3px; color: inherit; }

/* Bildirim satırı (Hesabım) */
.mpl-push-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; margin-bottom: 20px;
  border: 1px dashed var(--line); border-radius: 8px;
}
.mpl-push-row[hidden] { display: none; }
.mpl-push-row__icon {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); font-size: 18px;
}
.mpl-push-row__text { flex: 1; }
@media (max-width: 575px) {
  .mpl-push-row { flex-wrap: wrap; }
  .mpl-push-row__text { flex: 1 1 calc(100% - 50px); }
  .mpl-push-row .tf-btn { width: 100%; }
}

/* Üyelik seviyesi kartı — template çizgisinde sade kart */
.my-account-content .modanna-tier-card {
  --tier: #cd7f32;
  background: var(--white) !important; color: var(--text);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 24px 27px; margin-bottom: 20px;
}
.my-account-content .modanna-tier-card.tier-silver   { --tier: #9aa0a6; }
.my-account-content .modanna-tier-card.tier-gold     { --tier: #c9a227; }
.my-account-content .modanna-tier-card.tier-platinum { --tier: #1A1A1A; }
.my-account-content .modanna-tier-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tier);
}
.my-account-content .modanna-tier-points {
  font-size: 12px; line-height: 18px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 4px; opacity: 1;
}
.my-account-content .modanna-tier-name { font-size: 22px; line-height: 30px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.my-account-content .modanna-tier-name .icon { color: var(--tier); font-size: 20px; }
.my-account-content .modanna-tier-badge { width: 32px; height: 32px; padding: 0; justify-content: center; border-radius: 50%; font-size: 12px; }
.my-account-content .modanna-tier-meta { font-size: 14px; color: var(--text-2); opacity: 1; }
.my-account-content .modanna-tier-meta strong { color: var(--text); font-weight: 600; }
.my-account-content .modanna-tier-progress { height: 6px; background: var(--line); border-radius: 999px; margin: 12px 0 0; }
.my-account-content .modanna-tier-progress-bar { background: var(--tier) !important; border-radius: 999px; }
.my-account-content .modanna-tier-benefits {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding-top: 16px;
  border-top: 1px solid var(--line); font-size: 13px; line-height: 20px;
}
.my-account-content .modanna-tier-benefits li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px; background: var(--surface); color: var(--text);
}
.my-account-content .modanna-tier-benefits li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tier); opacity: 1;
}
@media (max-width: 575px) {
  .my-account-content .modanna-tier-card { padding: 20px 16px 20px 20px; }
}

/* İstatistik kutuları — swiper yerine düzenli ızgara */
.mpl-stat-grid__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mpl-stat-grid .order-box { height: 100%; padding: 20px 22px; transition: border-color .2s, box-shadow .2s; }
.mpl-stat-grid .order_icon { font-size: 32px; color: var(--text); }
.mpl-stat-grid .info__label { font-size: 14px; line-height: 20px; margin-bottom: 4px; }
.mpl-stat-grid .info__count { margin: 0; white-space: nowrap; }
.mpl-stat-grid small { display: block; font-size: 12px; }
.mpl-stat-grid a.mpl-stat-link { color: inherit; text-decoration: none; }
.mpl-stat-grid a.mpl-stat-link:hover { border-color: var(--text); box-shadow: 0 10px 25px rgba(43, 52, 74, .08); }
@media (max-width: 1199px) {
  .mpl-stat-grid__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .mpl-stat-grid__inner { gap: 10px; }
  .mpl-stat-grid .order-box { padding: 14px; flex-direction: column-reverse; align-items: flex-start; gap: 8px; }
  .mpl-stat-grid .order_icon { font-size: 24px; }
  .mpl-stat-grid .info__label { font-size: 13px; }
  .mpl-stat-grid .info__count { font-size: 18px; }
}
.acount-order_stats:has(.mpl-stat-grid) { margin-bottom: 24px; }

.mpl-recent-more { text-align: right; padding: 16px 0 12px; }
.mpl-recent-more .icon { font-size: 12px; margin-left: 2px; }
@media (max-width: 575px) {
  .account-my_recent { padding: 20px 16px 8px; }
  .mpl-recent-table { width: 100%; }
  .mpl-recent-table th:nth-child(2), .mpl-recent-table td:nth-child(2) { display: none; }
  .mpl-recent-table th, .mpl-recent-table td { padding-right: 4px; }
  .mpl-recent-table th:last-child, .mpl-recent-table td:last-child { text-align: right; padding-right: 0; }
  .mpl-recent-table .tb-order_status { display: inline-flex; }
}

/* =========================================================
   8. SİPARİŞLER — kart içi zaman çizelgesi
   ========================================================= */
.wg-my-order .adm-order-timeline {
  margin: 0; border: 0; border-radius: 0; border-bottom: 1px solid var(--line);
  padding: 20px; background: var(--white);
}
.wg-my-order .adm-order-timeline .ot-step { flex: 0 0 96px; }
.wg-my-order .adm-order-timeline .ot-dot { width: 36px; height: 36px; font-size: 16px; border-width: 1px; }
.wg-my-order .adm-order-timeline .ot-line { margin-top: 18px; height: 2px; background: var(--line); }
.wg-my-order .adm-order-timeline .ot-line.is-completed { background: var(--text); }
.wg-my-order .adm-order-timeline .ot-step.is-completed .ot-dot { background: var(--text); border-color: var(--text); }
.wg-my-order .adm-order-timeline .ot-step.is-future .ot-dot { background: var(--white); color: var(--text-3); border-color: var(--line); }
.wg-my-order .adm-order-timeline .ot-label { color: var(--text); font-size: 13px; font-weight: 600; }
.wg-my-order .adm-order-timeline .ot-step.is-future .ot-label { color: var(--text-3); font-weight: 500; }
.wg-my-order .adm-order-timeline .ot-time,
.wg-my-order .adm-order-timeline .ot-future-time { color: var(--text-2); font-size: 11px; }
.wg-my-order .adm-order-timeline .ot-step.is-future .ot-time { color: var(--text-3); }
@media (max-width: 768px) {
  .wg-my-order .adm-order-timeline { padding: 16px; }
  .wg-my-order .adm-order-timeline .ot-step { flex: 0 0 auto; }
  .wg-my-order .adm-order-timeline .ot-line { width: 2px; height: 16px; margin: 2px 0 2px 17px; }
}
.wg-my-order .mpl-order-note { margin: 16px 20px 0; font-size: 13px; }
.wg-my-order .order_number small { margin-top: 2px; font-size: 13px; }

/* =========================================================
   9. SİPARİŞ DETAYI + MESAJLAR
   ========================================================= */
.mpl-back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.mpl-back-link .icon { font-size: 12px; }
.mpl-od-title { margin-bottom: 4px; }
.mpl-od-totals { border-top: 0 !important; padding: 16px 0 !important; margin: 0 0 16px; }
.mpl-od-totals .total-item:not(:last-child) { margin-bottom: 10px; }
.mpl-od-totals .total-item { color: var(--text-2); }
.mpl-od-totals .total-item span:last-child { color: var(--text); }
.mpl-od-grand { padding: 4px 0 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.mpl-od-info { gap: 16px; margin-bottom: 20px; }
.mpl-od-info .box-info { background: var(--surface); border-radius: 8px; padding: 16px 18px; font-size: 14px; line-height: 22px; }
.mpl-od-info .info-title { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2) !important; margin-bottom: 4px; }
.mpl-od-cargo { align-items: center; flex-wrap: wrap; }
.mpl-od-cargo .mpl-od-track { margin-left: auto; }
.wg-my-order .order-content > .mpl-alert { margin-bottom: 16px; }
.mpl-order-note ul { margin-top: 6px; }

.mpl-chat { margin-top: 24px; }
.mpl-chat .badge { font-size: 11px; font-weight: 600; border-radius: 999px; padding: 4px 8px; }
.mpl-chat__box {
  max-height: 400px; overflow-y: auto; margin-bottom: 12px;
  background: var(--surface); border-radius: 8px; padding: 16px;
}
.mpl-chat__empty { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text-2); font-size: 14px; padding: 12px 0; }
.mpl-chat__empty .icon { font-size: 18px; }
.mpl-chat__row { display: flex; justify-content: flex-start; margin-bottom: 10px; }
.mpl-chat__row.is-me { justify-content: flex-end; }
.mpl-chat__bubble {
  max-width: 80%; padding: 10px 14px; border-radius: 12px 12px 12px 4px;
  background: var(--white); color: var(--text); border: 1px solid var(--line);
  font-size: 14px; line-height: 21px; word-break: break-word;
}
.mpl-chat__row.is-me .mpl-chat__bubble { background: var(--text); color: var(--white); border-color: var(--text); border-radius: 12px 12px 4px 12px; }
.mpl-chat__meta { font-size: 11px; opacity: .7; margin-bottom: 3px; }
.mpl-chat__att { margin-top: 6px; font-size: 12px; }
.mpl-chat__att a { color: inherit; text-decoration: underline; }
.mpl-chat__input {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin-bottom: 10px;
  font-size: 14px; resize: vertical; min-height: 96px; outline: 0; transition: border-color .2s;
}
.mpl-chat__input:focus { border-color: var(--text); }
.mpl-chat__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mpl-file { font-size: 13px; color: var(--text-2); max-width: 100%; }
.mpl-file::file-selector-button {
  margin-right: 10px; padding: 6px 14px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font: inherit; font-weight: 500; color: var(--text); transition: border-color .2s;
}
.mpl-file::file-selector-button:hover { border-color: var(--text); }
@media (max-width: 575px) {
  .mpl-od-cargo .mpl-od-track { margin-left: 0; width: 100%; }
  .mpl-chat__actions .tf-btn { width: 100%; }
}

/* =========================================================
   10. ADRESLER + ortak çip
   ========================================================= */
.mpl-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 10px; border-radius: 999px;
  font-size: 12px; line-height: 20px; font-weight: 500;
  background: var(--surface); color: var(--text); border: 1px solid var(--line);
}
.mpl-chip.is-dark { background: var(--text); color: var(--white); border-color: var(--text); }
.mpl-chip.is-success { background: #EEF8EC; color: #23651A; border-color: #CFE9C8; }
.mpl-chip.is-warning { background: #FDF6E7; color: #7A5410; border-color: #F3DDAE; }
.mpl-chip.is-error { background: #FDEEEE; color: #A12626; border-color: #F6CACA; }

.account-my_address.mpl-address-wrap { border: 0; padding: 0; }
.mpl-address-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mpl-address-card {
  height: 100%; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px;
  transition: border-color .2s;
}
.mpl-address-card:hover { border-color: var(--text-3); }
.mpl-address-card.is-default { border-color: var(--text); }
.mpl-address-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.mpl-address-card__tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.mpl-address-card .modanna-address-label { align-self: flex-start; margin-bottom: 10px; background: var(--surface); color: var(--text); border-color: var(--line); }
.mpl-address-card__body { font-size: 14px; line-height: 22px; margin-bottom: 16px; }
.mpl-address-card__body p { margin: 0; }
.mpl-address-card__actions { margin-top: auto; display: flex; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.mpl-address-card__actions .tf-btn { gap: 6px; }
@media (max-width: 767px) {
  .mpl-address-grid { grid-template-columns: 1fr; }
}

/* İade / kiralama kartlarında alt bilgi satırı */
.mpl-meta-row {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 14px; line-height: 22px; color: var(--text-2);
}
.mpl-meta-row strong { color: var(--text); font-weight: 500; }

/* =========================================================
   11. PUANLAR / REFERANS / HEDİYE KARTI
   ========================================================= */
.mpl-points-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mpl-points-grid .mpl-acc-card + .mpl-acc-card { margin-top: 0; }
.mpl-points-balance__label { font-size: 12px; line-height: 18px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 8px; }
.mpl-points-balance__value { font-size: 36px; line-height: 44px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.mpl-points-balance__value span { font-size: 18px; font-weight: 500; color: var(--text-2); }
.mpl-points-balance__hint { font-size: 14px; color: var(--text-2); margin: 0; }
.mpl-points-balance__hint strong { color: var(--text); }
.mpl-points-how__list { display: grid; gap: 10px; margin: 0; }
.mpl-points-how__list li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 22px; }
.mpl-points-how__list .icon { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); font-size: 16px; flex-shrink: 0; }
.mpl-points-table { padding-bottom: 12px; }
.mpl-points-table .table-my_recent { width: 100%; }
.mpl-points-delta.is-plus { color: var(--success); }
.mpl-points-delta.is-minus { color: var(--critical); }
@media (max-width: 767px) {
  .mpl-points-grid { grid-template-columns: 1fr; }
  .mpl-points-balance__value { font-size: 30px; line-height: 38px; }
}

/* Referans kodu kartı */
.mpl-ref-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.mpl-ref-card__main { flex: 1 1 280px; }
.mpl-ref-code {
  display: inline-flex; align-items: center; padding: 10px 18px; margin-right: 8px;
  border: 1px dashed var(--text); border-radius: 8px;
  font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: .12em; color: var(--text);
}
.mpl-ref-code-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mpl-ref-url { margin: 12px 0 0; font-size: 13px; color: var(--text-2); word-break: break-all; }
.mpl-ref-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.mpl-ref-stats .order-box { border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mpl-ref-stats .info__count { margin: 0; }
.mpl-ref-stats .order_icon { font-size: 32px; }

/* Hediye kartı */
.mpl-gift-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mpl-gift-card {
  position: relative; overflow: hidden;
  border-radius: 12px; padding: 22px 24px; min-height: 170px;
  background: var(--text); color: var(--white);
  display: flex; flex-direction: column;
}
.mpl-gift-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  border-radius: 50%; border: 1px solid var(--white-20);
}
.mpl-gift-card__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin: 0 0 10px; }
.mpl-gift-card__code { font-size: 18px; letter-spacing: .14em; font-weight: 600; margin: 0 0 auto; word-break: break-all; }
.mpl-gift-card__balance { margin: 18px 0 0; font-size: 14px; opacity: .9; }
.mpl-gift-card__balance strong { font-size: 22px; font-weight: 600; opacity: 1; }
.mpl-gift-card__meta { margin: 4px 0 0; font-size: 12px; opacity: .65; }
@media (max-width: 767px) {
  .mpl-gift-grid, .mpl-ref-stats { grid-template-columns: 1fr; }
}

/* KVKK */
.mpl-kvkk-card { display: flex; gap: 18px; align-items: flex-start; }
.mpl-kvkk-card__icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); font-size: 20px;
}
.mpl-kvkk-card__body { flex: 1; min-width: 0; }
.mpl-kvkk-card__body > p { margin-bottom: 14px; }
.mpl-kvkk-card .mpl-alert { margin-bottom: 16px; }
.mpl-kvkk-form .tf-field { margin-bottom: 12px; }
.mpl-kvkk-form .tf-lable { display: block; margin-bottom: 8px; }
.mpl-kvkk-requests { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.tf-btn.mpl-btn-danger { color: var(--critical); border-color: currentColor; }
.tf-btn.mpl-btn-danger:hover { background: var(--critical); color: var(--white); border-color: var(--critical); }
@media (max-width: 575px) {
  .mpl-kvkk-card { flex-direction: column; gap: 12px; }
}

/* Destek talepleri */
.mpl-ticket__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.mpl-ticket__status, .mpl-ticket-item .badge { font-size: 12px; font-weight: 500; border-radius: 999px; padding: 5px 10px; }
.mpl-ticket__box { max-height: 480px; }
.mpl-ticket-list { display: grid; gap: 12px; }
.mpl-ticket-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border: 1px solid var(--line); border-radius: 8px;
  color: inherit; transition: border-color .2s, box-shadow .2s;
}
.mpl-ticket-item:hover { border-color: var(--text); box-shadow: 0 10px 25px rgba(43, 52, 74, .06); color: inherit; }
.mpl-ticket-item__main { flex: 1; min-width: 0; }
.mpl-ticket-item__subject { margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpl-ticket-item__arrow { font-size: 14px; color: var(--text-2); }

/* İade talebi formu */
.mpl-return-form .mpl-acc-card + .mpl-acc-card { margin-top: 16px; }
.mpl-step-title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mpl-option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mpl-option {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px;
  transition: border-color .2s, background-color .2s;
}
.mpl-option:hover { border-color: var(--text-3); }
.mpl-option:has(input:checked) { border-color: var(--text); background: var(--surface); }
.mpl-option input { margin-top: 4px; accent-color: var(--text); flex-shrink: 0; }
.mpl-option__text { display: flex; flex-direction: column; gap: 2px; line-height: 22px; }
.mpl-option__text small { font-size: 13px; line-height: 20px; }
.mpl-return-item { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px !important; margin: 0 !important; align-items: center; }
.mpl-return-item.is-disabled { opacity: .55; }
.mpl-return-item .prd__info p { margin: 0; }
.mpl-return-qty { display: flex; align-items: center; gap: 8px; }
.mpl-return-qty input { width: 72px; height: 40px; text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; }
.mpl-return-qty input:focus { border-color: var(--text); outline: 0; }
.mpl-courier-box { margin-top: 16px; padding: 16px; border-radius: 8px; background: var(--surface); }
.mpl-select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background-color: var(--white); }
.mpl-select:focus { border-color: var(--text); outline: 0; }
.mpl-form-actions { margin-top: 24px; }
@media (max-width: 575px) {
  .mpl-option-grid { grid-template-columns: 1fr; }
  .mpl-return-item { flex-wrap: wrap; }
  .mpl-return-qty { width: 100%; justify-content: flex-end; }
}

/* Hesap ayarları */
.mpl-setting .mpl-field-hint { margin: 6px 0 0; }
.mpl-setting__divider { height: 1px; background: var(--line); margin: 8px 0 20px; }
.mpl-setting__password { margin-top: 8px; padding-top: 28px; border-top: 1px solid var(--line); }
.mpl-setting input[readonly] { background: var(--surface); color: var(--text-2); cursor: not-allowed; }
.mpl-empty.mpl-acc-card { max-width: none; margin: 0; }
.mpl-return-item { display: flex; gap: 16px; }
.mpl-return-item .prd__image { width: 64px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: var(--surface); }
.mpl-return-item .prd__image img { width: 100%; height: 80px; object-fit: cover; }
.mpl-return-qty input { width: 72px !important; flex: 0 0 72px; }
.mpl-return-qty label { margin: 0; }

/* =========================================================
   12. GİRİŞ / ÜYELİK
   ========================================================= */
.section-log .mpl-alert p { margin: 0; }
.section-log .mpl-alert > div { display: grid; gap: 2px; }
.mpl-field-hint { margin: 6px 0 0; }
.mpl-auth-or { position: relative; margin: 20px 0; text-align: center; font-size: 12px; color: var(--text-2); }
.mpl-auth-or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line); }
.mpl-auth-or span { position: relative; z-index: 1; background: var(--white); padding: 0 12px; }

/* =========================================================
   13. KARGO TAKİP (template .mt-4 = 4px olduğundan boşluklar)
   ========================================================= */
.modanna-track-supports { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 16px !important; }
.modanna-track-error, .modanna-track-result, .modanna-track-tip { margin-top: 24px !important; }
.modanna-track-tip { padding: 18px 20px; border-radius: 8px; background: var(--surface); }
.modanna-track-tip ul { list-style: disc; padding-left: 18px !important; }
.modanna-track-tip li { line-height: 24px; list-style: disc; display: list-item; }
.modanna-track-error .icon { color: var(--text) !important; }
@media (max-width: 575px) {
  .mpl-recent-table { white-space: normal; font-size: 14px; }
  .mpl-recent-table td, .mpl-recent-table th { white-space: nowrap; }
  .mpl-recent-table .tb-order_status { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 575px) {
  .mpl-recent-table tr { gap: 8px; }
  .mpl-recent-table th, .mpl-recent-table td { width: auto !important; flex: 0 0 auto; }
  .mpl-recent-table th:first-child, .mpl-recent-table td:first-child { flex: 1 1 auto; min-width: 0; }
}
