/* =========================
   GENEL
========================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f8f8f8;
  color: #222;
}

/* =========================
   HEADER (INDEX SAYFASI)
========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #001301;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 1000;
}

header h1 {
  margin: 0;
  font-size: 22px;
}

/* Menü ikon */
#menuToggle {
  font-size: 24px;
  cursor: pointer;
  margin-right: 12px;
}

/* Login butonları */
#authButtons {
  display: flex;
  align-items: center;
  gap: 10px;
}

#authButtons button {
  padding: 7px 12px;
  border: none;
  background: white;
  color: #001301;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
}

/* =========================
   LAYOUT
========================= */
main {
  display: flex;
  margin-top: 60px;
  height: calc(100vh - 60px);
}

/* =========================
   SOL PANEL
========================= */
#sol {
  width: 300px;
  background: #f1f1f1;
  padding: 12px;
  box-sizing: border-box;
  overflow-y: auto;
}

#sol video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background-color: #000;
  outline: none;
}

.video-container {
  margin-bottom: 20px;
  padding: 5px;
}

/* Sol panel butonları */
.butonlar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.butonlar button {
  padding: 12px;
  border: none;
  background: #001301;
  color: white;
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
}

/* =========================
   SAĞ PANEL
========================= */
#sag {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
}

/* =========================
   KATEGORİ SLIDER
========================= */
#kategoriSlider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
}

#kategoriSlider img {
  width: 160px;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.25s;
}

#kategoriSlider img:hover {
  transform: scale(1.05);
}

/* =========================
   ÜRÜN KARTLARI
========================= */
#products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 10px 0;
}

#products div {
  background: white;
  padding: 15px;
  border-radius: 14px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s;
  cursor: pointer;
}

#products div:hover {
  transform: translateY(-3px);
}

#products h3 {
  font-size: 16px;
  margin: 10px 0 5px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#products p {
  color: #d9534f;
  font-weight: bold;
  margin: 5px 0;
}

#products img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 10px;
  background: #f9f9f9;
}

/* =========================
   MODAL ORTAK
========================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 10px;
  box-sizing: border-box;
}

.modal-content {
  background: white;
  width: 400px;
  max-width: 95%;
  margin: 50px auto;
  padding: 25px;
  border-radius: 16px;
  box-sizing: border-box;
}

.modal-content h2 {
  margin-top: 0;
  text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.modal-content button {
  width: 100%;
  padding: 12px;
  border: none;
  background: #001301;
  color: white;
  border-radius: 10px;
  cursor: pointer;
}

.close {
  float: right;
  font-size: 28px;
  cursor: pointer;
}

/* login yardımcı alanlar */
.rememberBox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}

.forgotPass {
  text-align: center;
  margin-top: 10px;
  color: #001301;
  cursor: pointer;
  font-size: 14px;
}

.forgotPass:hover {
  text-decoration: underline;
}

/* =========================
   MOBİL
========================= */
@media (max-width: 768px) {

  #products {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  #products img {
    height: 140px;
  }

  #products h3 {
    font-size: 14px;
  }

  #authButtons {
    gap: 6px;
  }

  #authButtons button {
    padding: 6px 8px;
    font-size: 11px;
  }

  main {
    flex-direction: column;
  }

  #sol {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 260px;
    height: calc(100vh - 60px);
    z-index: 1001;
    transition: 0.3s;
  }

  #sol.active {
    left: 0;
  }

  #sag {
    width: 100%;
  }

  #kategoriSlider img {
    width: 120px;
    height: 200px;
  }
}

/* =========================
   ÜRÜN DETAY SAYFASI EKLEMELERİ
========================= */
.product-detail-wrapper {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  display: flex;
  gap: 30px;
  margin: 20px auto;
  max-width: 900px;
}

.product-detail-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  object-fit: contain;
}

.product-detail-info h2 {
  margin-top: 0;
  font-size: 26px;
  color: #001301;
}

.product-detail-price {
  font-size: 28px;
  font-weight: bold;
  color: #d9534f;
  margin-bottom: 20px;
}

.action-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 10px;
}

.btn-buy {
  background: #001301;
  color: white;
}

.btn-message {
  background: #f1f1f1;
  color: #001301;
  border: 1px solid #ccc;
}

/* Ürün detay modalının dikeyde kaydırılabilmesi için */
#productDetailModal {
  overflow-y: auto;
  padding-top: 40px;
  padding-bottom: 40px;
}

#productDetailModal .modal-content {
  margin-bottom: 40px;
}

/* =========================
   AFIŞ / REKLAM BANNER
========================= */
.ad-banner-container {
  grid-column: 1 / -1;
  width: 100%;
  margin: 15px 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.ad-banner-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.ad-banner-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, #001301, #003d02);
  padding: 30px;
  text-align: center;
  color: white;
  font-size: 18px;
  box-sizing: border-box;
}

/* =========================
   MODAL GENİŞLİKLERİ (index.html'den taşındı)
========================= */
#productDetailModal .modal-content {
  width: min(1050px, 94vw);
  max-width: 1050px;
  max-height: 90vh;
}

#policyModal .modal-content {
  max-width: 600px;
}

#categoryModal .modal-content {
  max-width: 600px;
}

#subscriptionModal .modal-content {
  max-width: 900px;
}

/* =========================
   POLİTİKA MODAL İÇERİĞİ
========================= */
.policy-content {
  height: 250px;
  overflow-y: auto;
  padding: 10px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.policy-content p {
  margin: 0 0 10px 0;
}

.policy-close-btn {
  margin-top: 15px;
}

/* =========================
   KATEGORİ MODAL
========================= */
#categoryList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.category-modal-desc {
  color: #666;
  margin-bottom: 20px;
}

.category-all-btn {
  margin-top: 20px;
  text-align: center;
}

.category-all-btn button {
  background: #001301;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

/* =========================
   ABONELİK / MAĞAZA AÇMA MODALI
========================= */
#subscriptionStep1 h2 {
  margin-bottom: 5px;
}

.subscription-desc {
  color: #666;
  margin-bottom: 25px;
}

#subscriptionPlans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.subscription-plan-card {
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.subscription-plan-card:hover {
  transform: translateY(-5px);
}

.plan-name {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: bold;
}

.plan-price {
  font-size: 32px;
  font-weight: bold;
  color: #001301;
  margin: 10px 0;
}

.plan-price span {
  font-size: 16px;
}

.plan-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.4;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
  padding-left: 10px;
}

.plan-features li {
  margin-bottom: 6px;
  font-size: 13px;
  color: #555;
}

.plan-select-btn {
  width: 100%;
  padding: 12px;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

/* Plan renkleri */
.plan-baslangic {
  background: #e3f2fd;
  border: 2px solid #2196f3;
}
.plan-baslangic .plan-name { color: #2196f3; }
.plan-baslangic .plan-select-btn { background: #2196f3; }
.plan-baslangic:hover { box-shadow: 0 10px 30px rgba(33,150,243,0.25); }

.plan-standart {
  background: #fff3e0;
  border: 2px solid #ff9800;
}
.plan-standart .plan-name { color: #ff9800; }
.plan-standart .plan-select-btn { background: #ff9800; }
.plan-standart:hover { box-shadow: 0 10px 30px rgba(255,152,0,0.25); }

.plan-premium {
  background: #fce4ec;
  border: 2px solid #e91e63;
}
.plan-premium .plan-name { color: #e91e63; }
.plan-premium .plan-select-btn { background: #e91e63; }
.plan-premium:hover { box-shadow: 0 10px 30px rgba(233,30,99,0.25); }

/* Ödeme adımı */
#subscriptionStep2 h2 {
  margin-bottom: 5px;
}

.payment-desc {
  color: #666;
  margin-bottom: 20px;
}

#selectedPlanInfo {
  background: #f0f8f0;
  border: 2px solid #28a745;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
}

.selected-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.selected-plan-name {
  font-size: 16px;
  font-weight: bold;
  color: #001301;
}

.selected-plan-desc {
  margin: 4px 0 0 0;
  font-size: 13px;
  color: #666;
}

.selected-plan-price {
  font-size: 24px;
  font-weight: bold;
  color: #28a745;
}

/* Ödeme formu */
#paymentForm .form-group {
  margin-bottom: 15px;
}

#paymentForm label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

#paymentForm input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

#paymentForm .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

#paymentForm .form-actions {
  display: flex;
  gap: 10px;
}

#paymentForm .form-actions button {
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
}

#paymentForm .btn-back {
  flex: 1;
  background: #6c757d;
  color: white;
}

#paymentForm .btn-pay {
  flex: 2;
  background: #28a745;
  color: white;
  font-weight: bold;
}

/* Başarı adımı */
#subscriptionStep3 {
  text-align: center;
  padding: 30px;
}

.success-icon {
  font-size: 64px;
  margin-bottom: 15px;
}

.success-title {
  color: #28a745;
  margin-bottom: 10px;
}

.success-desc {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
}

.btn-seller-panel {
  padding: 12px 40px;
  background: #001301;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

/* =========================
   SATICI LİSTESİ
========================= */
.sellers-container {
  padding: 20px;
}

.sellers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.sellers-header h2 {
  margin: 0;
  color: #001301;
  font-size: 28px;
}

.sellers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.seller-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 20px;
  text-align: center;
}

.seller-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.seller-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 15px;
  border: 3px solid #001301;
}

.seller-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seller-name {
  margin: 0 0 5px 0;
  color: #001301;
  font-size: 18px;
}

.seller-store {
  margin: 0 0 10px 0;
  color: #666;
  font-size: 14px;
}

.seller-product-count {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
}

.seller-link {
  margin-top: 12px;
  color: #4caf50;
  font-size: 13px;
  text-decoration: underline;
}

/* =========================
   SATICI ÜRÜNLERİ GRID
========================= */
.seller-products-container {
  padding: 20px;
}

.seller-products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.seller-products-header h2 {
  margin: 0;
  color: #001301;
  font-size: 24px;
}

.seller-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
  width: 100%;
}

.seller-products-grid .product-card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.07);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.seller-products-grid .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.seller-products-grid .product-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 175px;
  overflow: hidden;
  background: #f1f5f9;
}

.seller-products-grid .product-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px 13px 0 0;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.seller-products-grid .product-card:hover .product-card-img-wrapper img {
  transform: scale(1.05);
}

/* GÖRSEL ÜZERİ DURUM ROZETLERİ (BADGES) */
.card-status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
}

.card-status-badge.badge-sold {
  background: rgba(30, 41, 59, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.card-status-badge.badge-shipping {
  background: rgba(2, 132, 199, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-status-badge.badge-preparing {
  background: rgba(217, 119, 6, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-status-badge.badge-available {
  background: rgba(22, 163, 74, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* SATILMIŞ VE SÜREÇTEKİ KART GÖRSEL EFEKTLERİ */
.seller-products-grid .product-card.is-sold .product-card-img-wrapper img {
  filter: grayscale(50%) contrast(90%);
  opacity: 0.85;
}

.seller-products-grid .product-card.is-sold {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.seller-products-grid .product-card.is-sold .product-card-price {
  color: #64748b !important;
  text-decoration: line-through;
}

.seller-products-grid .product-card.is-shipping {
  border-color: #7dd3fc;
}

.seller-products-grid .product-card.is-preparing {
  border-color: #fde68a;
}

.seller-products-grid .product-card.is-expired {
  border-color: #fca5a5;
  background: #fdf2f2;
}

.seller-products-grid .product-card.is-expired .product-card-img-wrapper img {
  filter: grayscale(80%) contrast(85%);
  opacity: 0.75;
}

.seller-products-grid .product-card.is-expired .product-card-price {
  color: #991b1b !important;
  text-decoration: line-through;
}

.seller-products-grid .product-card.is-suspended {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.seller-products-grid .product-card.is-suspended .product-card-img-wrapper img {
  filter: grayscale(60%) contrast(90%);
  opacity: 0.8;
}

.seller-products-grid .product-card.is-suspended .product-card-price {
  color: #64748b !important;
  text-decoration: line-through;
}

/* KART BİLGİ ALANI */
.seller-products-grid .product-card-info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  justify-content: space-between;
}

.seller-products-grid .product-card-info h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seller-products-grid .product-card-price {
  margin: 0;
  color: #16a34a;
  font-weight: 800;
  font-size: 15px;
}

.seller-products-grid .product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 4px;
}

.seller-products-grid .product-card-cat {
  font-size: 11px;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.product-card-status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.product-card-status-pill.is-sold {
  background: #f1f5f9;
  color: #475569;
}

.product-card-status-pill.is-shipping {
  background: #e0f2fe;
  color: #0369a1;
}

.product-card-status-pill.is-preparing {
  background: #fef3c7;
  color: #b45309;
}

.product-card-status-pill.is-available {
  background: #dcfce7;
  color: #15803d;
}

.product-card-status-pill.is-expired {
  background: #fee2e2;
  color: #991b1b;
}

.product-card-status-pill.is-suspended {
  background: #f1f5f9;
  color: #475569;
}

/* ÜRÜN DETAY MODALINDAKİ DURUM BİLGİLENDİRME KUTUSU */
.product-status-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.45;
}

.product-status-notice.notice-sold {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
}

.product-status-notice.notice-shipping {
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
  color: #0369a1;
}

.product-status-notice.notice-preparing {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
}

.product-status-notice.notice-expired {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.product-status-notice.notice-suspended {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
}

.product-status-notice .notice-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.product-status-notice strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
}

.btn-buy-disabled {
  background: #94a3b8 !important;
  color: #ffffff !important;
  cursor: not-allowed !important;
  opacity: 0.85;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.btn-buy-disabled:hover {
  background: #94a3b8 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* =========================
   FİZİKİ DEPO / AÇIK ARTTIRMA
========================= */
.coming-soon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  animation: fadeIn 0.5s;
}

.coming-soon-banner {
  position: relative;
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.coming-soon-banner img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(24px, 5vw, 42px);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  transform: rotate(-10deg);
  border: 4px solid rgba(255, 255, 255, 0.8);
  padding: 15px 30px;
  border-radius: 10px;
}

.coming-soon-info {
  margin-top: 30px;
  width: 100%;
  max-width: 800px;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  border-left: 5px solid #001301;
}

.coming-soon-info h3 {
  margin-top: 0;
  color: #001301;
  font-size: 20px;
}

.coming-soon-info p {
  margin: 0;
  line-height: 1.8;
  font-size: 16px;
  color: #444;
  text-align: justify;
}

.coming-soon-info.auction h3 {
  color: #ff6a00;
}

.coming-soon-info.auction {
  border-left-color: #ff6a00;
}

.btn-back-vitrin {
  margin-top: 25px;
  padding: 12px 30px;
  background: #001301;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: 0.2s;
}

/* =========================================================
   MODERN ÜRÜN DETAY MODALI (PRODUCT DETAIL MODAL)
========================================================= */

#productDetailModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
  animation: modalOverlayFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalOverlayFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalBoxSlide {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

#productDetailModal .modal-content.product-detail-modal {
  position: relative;
  width: min(1080px, 96vw);
  max-width: 1080px;
  max-height: 92vh;
  margin: auto;
  padding: 0;
  background: #ffffff;
  border-radius: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
  animation: modalBoxSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Modal Kapatma Butonu */
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 30;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: #334155;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.modal-close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  transform: rotate(90deg);
}

/* Ana Yapı */
.product-detail-container {
  width: 100%;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1e293b;
}

/* Üst Grid (Galeri + Satın Alma Özeti) */
.product-detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 32px;
  padding: 28px 32px 24px;
  box-sizing: border-box;
}

/* Sol Kolon: Galeri */
.product-gallery {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gallery-main-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-main-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.gallery-main-wrapper:hover img {
  transform: scale(1.04);
}

/* Galeri Alt Navigasyon Çubuğu ve Kaydırma Butonları */
.gallery-bottom-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 6px 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  user-select: none;
  box-sizing: border-box;
}

.gallery-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.gallery-nav-btn:hover {
  background: #001301;
  color: #ffffff;
  border-color: #001301;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 19, 1, 0.15);
}

.gallery-nav-btn:active {
  transform: translateY(0);
}

.gallery-nav-icon {
  font-size: 18px;
  line-height: 1;
  font-weight: bold;
}

.gallery-nav-text {
  font-size: 13px;
}

/* Galeri Sayaç Rozeti */
.gallery-counter-badge {
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
  user-select: none;
}

@media (max-width: 480px) {
  .gallery-nav-btn {
    padding: 7px 12px;
  }
  .gallery-nav-text {
    display: none;
  }
}

/* Küçük Resimler (Thumbnails) */
.gallery-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: thin;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f1f5f9;
}

.gallery-thumb:hover {
  border-color: #001301;
  transform: translateY(-2px);
}

.gallery-thumb.active {
  border-color: #001301;
  box-shadow: 0 0 0 2px rgba(0, 19, 1, 0.2);
  transform: translateY(-2px);
}

/* Sağ Kolon: Ürün Özeti */
.product-summary-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  padding-right: 40px;
}

.category-badge-pill {
  background: #e2e8f0;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

.product-title {
  margin: 4px 0 12px;
  color: #0f172a;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.product-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.product-price-val {
  font-size: 32px;
  font-weight: 800;
  color: #001301;
  letter-spacing: -0.5px;
}

.product-price-cur {
  font-size: 20px;
  font-weight: 600;
  color: #64748b;
}

/* Ürün Etiketleri (Tags) */
.product-tags-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.product-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Satıcı Kartı */
.seller-card-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.seller-info-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.seller-avatar-mini {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background: #e2e8f0;
}

.seller-text-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.seller-store-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seller-verified-badge {
  font-size: 11px;
  color: #16a34a;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-seller-store-link {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-seller-store-link:hover {
  background: #001301;
  color: #ffffff;
  border-color: #001301;
}

/* Hızlı Teslimat & Ödeme Rozetleri */
.quick-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.quick-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  color: #334155;
  font-weight: 500;
}

.quick-spec-icon {
  font-size: 16px;
}

/* Satın Alma Butonları */
.purchase-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.btn-buy-primary {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: #001301;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 19, 1, 0.2);
}

.btn-buy-primary:hover {
  background: #053b08;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 19, 1, 0.3);
}

.btn-ask-secondary {
  width: 100%;
  height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-ask-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

/* Sipariş Çekmecesi (Drawer Form) */
.order-drawer {
  display: none;
  margin-top: 16px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  animation: modalBoxSlide 0.25s ease;
}

.order-drawer.active {
  display: block;
}

.order-drawer-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.order-field-row {
  margin-bottom: 10px;
}

.order-field-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}

.order-field-row input,
.order-field-row select,
.order-field-row textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  font-size: 13px;
  box-sizing: border-box;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s;
}

.order-field-row input:focus,
.order-field-row select:focus,
.order-field-row textarea:focus {
  border-color: #001301;
  box-shadow: 0 0 0 2px rgba(0, 19, 1, 0.1);
}

.order-summary-box {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 12px 0;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
  color: #64748b;
}

.order-summary-row.total-row {
  border-top: 1px solid #e2e8f0;
  margin-top: 4px;
  padding-top: 6px;
  font-weight: 700;
  color: #001301;
  font-size: 14px;
}

.btn-order-submit {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: #16a34a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-order-submit:hover {
  background: #15803d;
}

/* =========================================================
   SEKMELİ BÖLÜM (TABS NAVIGATION)
========================================================= */

.product-tabs-wrapper {
  margin-top: 8px;
  border-top: 1px solid #e2e8f0;
}

.product-tabs-nav {
  display: flex;
  padding: 0 32px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  gap: 24px;
  overflow-x: auto;
}

.tab-nav-btn {
  padding: 16px 4px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: #64748b;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-nav-btn:hover {
  color: #001301;
}

.tab-nav-btn.active {
  color: #001301;
  border-bottom-color: #001301;
}

.tab-nav-count {
  background: #e2e8f0;
  color: #475569;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
}

.tab-nav-btn.active .tab-nav-count {
  background: #001301;
  color: #ffffff;
}

.product-tab-pane {
  display: none;
  padding: 28px 32px 36px;
  animation: modalOverlayFade 0.2s ease;
}

.product-tab-pane.active {
  display: block;
}

/* Sekme 1: Açıklama */
.product-desc-text {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
  white-space: pre-line;
  margin-bottom: 24px;
}

.desc-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.desc-feature-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
}

.desc-feature-card h4 {
  margin: 0 0 6px;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.desc-feature-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

/* Sekme 2: Soru-Cevap */
.qa-chat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.qa-bubble-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.qa-question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
}

.qa-buyer-tag {
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.qa-date-tag {
  color: #94a3b8;
  font-size: 12px;
}

.qa-question-content {
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
  margin: 0 0 12px;
}

.qa-answer-box {
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
  border-radius: 0 10px 10px 0;
  padding: 12px 14px;
  margin-top: 8px;
}

.qa-answer-header {
  font-size: 12px;
  font-weight: 700;
  color: #166534;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.qa-answer-content {
  margin: 0;
  font-size: 14px;
  color: #14532d;
  line-height: 1.5;
}

.qa-pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fffbeb;
  color: #b45309;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #fde68a;
}

.qa-empty-state {
  text-align: center;
  padding: 32px 16px;
  color: #64748b;
  font-size: 14px;
}

.qa-ask-form-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
}

.qa-ask-form-box h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.qa-guest-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .qa-guest-fields {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.qa-textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
  resize: vertical;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.qa-textarea:focus {
  border-color: #001301;
  box-shadow: 0 0 0 2px rgba(0, 19, 1, 0.1);
}

.qa-submit-bar {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.btn-send-qa {
  padding: 10px 22px;
  border: none;
  border-radius: 10px;
  background: #001301;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-send-qa:hover {
  background: #053b08;
}

/* Sekme 3: Güvence */
.protection-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.protection-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
}

.protection-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.protection-card h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #0f172a;
  font-weight: 700;
}

.protection-card p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

/* =========================================================
   MOBİL VE TABLET DUYARLILIK (RESPONSIVE)
========================================================= */

@media (max-width: 820px) {
  #productDetailModal {
    padding: 0;
    align-items: flex-end;
  }

  #productDetailModal .modal-content.product-detail-modal {
    width: 100vw;
    max-width: 100vw;
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
    margin: 0;
  }

  .product-detail-top {
    display: flex;
    flex-direction: column;
    padding: 20px 18px 16px;
    gap: 20px;
  }

  .gallery-main-wrapper {
    height: 300px;
  }

  .product-title {
    font-size: 20px;
  }

  .product-price-val {
    font-size: 28px;
  }

  .product-tabs-nav {
    padding: 0 18px;
    gap: 16px;
  }

  .tab-nav-btn {
    font-size: 14px;
    padding: 14px 2px;
  }

  .product-tab-pane {
    padding: 20px 18px 30px;
  }

  .modal-close-btn {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
}

/* =========================
   KATEGORİ FİLTRELEME SONUCU
========================= */
.category-result-header {
  padding: 10px 0;
}

.btn-back-all {
  background: #001301;
  color: white;
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

/* =========================
   HEADER KULLANICI DURUMU
========================= */
.subscription-badge {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  margin-left: 5px;
}

.badge-pending {
  background: #ffc107;
  color: #000;
}

.badge-active {
  background: #28a745;
  color: #fff;
}


/* =========================
   MAĞAZA AÇ (magaza-ac) STILLERI
========================= */

.container-center {
    max-width: 800px;
    margin: 100px auto 40px;
    padding: 0 20px;
}

.logo-text {
    cursor: pointer;
}

/* Komisyon Banner */
.no-commission-banner {
    background: linear-gradient(135deg, #001301 0%, #004d04 100%);
    color: #ff6a00;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    border: 2px solid #ff6a00;
    text-align: center;
}
.banner-text h3 { margin: 0; font-size: 18px; letter-spacing: 1px; }
.banner-text p { margin: 5px 0 0; color: white; font-size: 13px; }
.star-icon { font-size: 22px; }

/* Paket Seçim Kartları */
.package-selection {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}
.package-card {
    flex: 1;
    cursor: pointer;
    position: relative;
}
.package-card input {
    position: absolute;
    opacity: 0;
}
.card-info {
    border: 2px solid #ddd;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.package-card input:checked + .card-info {
    border-color: #ff6a00;
    background: rgba(255, 106, 0, 0.05);
    transform: translateY(-5px);
}
.package-name { font-weight: bold; font-size: 16px; display: block; }
.package-detail { font-size: 13px; color: #666; margin: 5px 0; }
.package-price { font-size: 20px; color: #ff6a00; font-weight: 800; }

/* Hesap Güvenlik Kutusu */
.account-secure-box {
    border: 2px solid #ff6a00;
    padding: 20px;
    border-radius: 15px;
    background: #fff9f5;
    margin-bottom: 25px;
}
.account-secure-box h3 { margin-top: 0; color: #ff6a00; font-size: 16px; }
.flex-1 { flex: 1; }

/* Stepper */
.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 10px;
}
.step {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    border: none;
    border-bottom: 4px solid #ddd;
    background: transparent;
    color: #888;
    font-weight: bold;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}
.step:hover {
    background-color: rgba(255, 106, 0, 0.05);
    color: #ff6a00;
}
.step.active {
    border-color: #ff6a00;
    color: #001301;
    background-color: rgba(255, 106, 0, 0.1);
}

/* Step Content */
.step-content {
    display: none;
}
.step-content.active {
    display: block;
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
}

.section-title {
    margin-top: 0;
    color: #001301;
    font-size: 24px;
}

.terms-box {
    height: 250px;
    overflow-y: scroll;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    background: #fafafa;
    border-radius: 10px;
}

.sub-title {
    color: #001301;
    margin-bottom: 15px;
}

/* Form */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}
.form-input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
}
.form-input:focus {
    border-color: #ff6a00;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}
.form-row {
    display: flex;
    gap: 15px;
}

/* Demo Ürün Kartları */
.demo-card {
    border: 2px dashed #ff6a00;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 15px;
    background: #fff9f5;
}
.demo-card-spacing {
    margin-top: 20px;
}

/* Fotoğraf Yükleme */
.file-upload-container {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.file-input-hidden { display: none; }
.file-upload-label {
    display: inline-block;
    padding: 12px 20px;
    background: #001301;
    color: white;
    border: 1px solid #ff6a00;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
}
.file-upload-label:hover {
    background: #ff6a00;
    color: #001301;
}
.upload-icon { margin-right: 5px; }
.image-preview-box {
    width: 100%;
    height: 180px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fdfdfd;
}
.image-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.preview-placeholder {
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* Butonlar */
.button-group {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn-next {
    background: #001301;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    margin-left: auto;
}
.btn-prev {
    background: #f0f0f0;
    color: #555;
    padding: 14px 30px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}
.payment-btn {
    background: #ff6a00;
}

/* Ödeme */
.payment-summary {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    padding: 15px;
    background: #eee;
    border-radius: 10px;
}
.price-tag { color: #ff6a00; }
.secure-info {
    color: #27ae60;
    font-size: 13px;
    text-align: center;
    margin-top: 15px;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

/* Etiketler */
.tags-checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    padding: 12px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 5px;
    margin-bottom: 15px;
}
.checkbox-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
}
.checkbox-item input {
    margin-right: 8px;
    cursor: pointer;
    width: 16px;
    height: 16px;
}
.group-label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
}

/* Helper */
.helper-text {
    color: #666;
    margin-bottom: 20px;
}

/* Demo ürün input margin */
.demo-product-name,
.demo-product-price,
.demo-product-category,
.demo-product-delivery,
.demo-product-payment {
    margin-bottom: 10px;
}

/* Payment form */
.payment-form-name,
.payment-form-number {
    margin-bottom: 15px;
}

/* magaza-ac.html header düzenlemesi */
.magaza-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #001301;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1000;
}
.magaza-header h1 {
    margin: 0;
    font-size: 22px;
}

/* =========================
   KAYIT OL MODAL KAYDIRMA
========================= */
#registerModal {
  overflow-y: auto;
  padding-top: 30px;
  padding-bottom: 30px;
}

#registerModal .modal-content {
  max-height: 90vh;
  overflow-y: auto;
  margin: 20px auto;
}

/* =========================
   ÖDEME YÖNTEMİ SEÇİMİ
========================= */
.payment-method-selector {
  margin: 12px 0;
  padding: 10px;
  background: #fff8e1;
  border-radius: 8px;
  border: 1px solid #ffe082;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 5px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  border-radius: 6px;
  transition: background 0.2s;
}

.payment-option:hover {
  background: rgba(255, 193, 7, 0.15);
}

.payment-option input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #001301;
}

.payment-option span {
  flex: 1;
}
/*=========================================
ÜRÜN ÖDEME MODALI
=========================================*/

.payment-modal{

    max-width:520px;

}

.payment-summary{

    background:#f5f5f5;

    padding:15px;

    border-radius:10px;

    margin-bottom:20px;

}

.payment-summary h3{

    margin:0;

    color:#001301;

}

.payment-price{

    margin-top:10px;

    font-size:24px;

    color:#d9534f;

    font-weight:bold;

}

.payment-row{

    display:flex;

    gap:15px;

}

.payment-row div{

    flex:1;

}

.payment-buttons{

    display:flex;

    gap:10px;

    margin-top:20px;

}

.payment-buttons button{

    flex:1;

}
.photo-preview-container {
  margin-top: 10px;
  text-align: center;
}

.photo-preview-container img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%; /* Dairesel önizleme */
  border: 3px solid #001301; /* Temanıza uygun renk */
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s ease-in-out;
}

.photo-preview-container img:hover {
  transform: scale(1.05);
}

/* =========================================================
   GOOGLE İLE GİRİŞ & ŞİFREMİ UNUTTUM & HESAP SİLME STİLLERİ
========================================================= */

/* Google Giriş Butonu */
.btn-google-login {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #ffffff !important;
  color: #3c4043 !important;
  border: 1.5px solid #dadce0 !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 10px 16px !important;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-google-login:hover {
  background: #f8fafc !important;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.2);
}

/* Google Auth Modal */
.google-auth-modal {
  max-width: 440px !important;
  padding: 28px !important;
  border-radius: 16px !important;
  box-sizing: border-box;
}

.google-modal-header {
  text-align: center;
  margin-bottom: 16px;
}

.google-accounts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.google-account-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
}

.google-account-item:hover {
  background: #f9fafb;
  border-color: #4285f4;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(66, 133, 244, 0.15);
}

.google-avatar-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.google-acc-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}

.google-acc-name {
  font-weight: 600;
  font-size: 14px;
  color: #111827;
}

.google-acc-email {
  font-size: 12px;
  color: #6b7280;
}

.google-acc-arrow {
  color: #9ca3af;
  font-weight: 700;
  font-size: 16px;
}

.google-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0;
  color: #9ca3af;
  font-size: 12px;
}

.google-divider::before,
.google-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e5e7eb;
}

.google-divider span {
  padding: 0 10px;
}

.btn-google-custom-submit {
  background: #4285f4 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-google-custom-submit:hover {
  background: #3367d6 !important;
}

/* Şifremi Unuttum Modalı */
.forgot-pass-modal {
  max-width: 440px !important;
  padding: 28px !important;
  border-radius: 16px !important;
  box-sizing: border-box;
}

.forgot-modal-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 16px;
}

.forgot-code-notice {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  color: #1e40af;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 14px;
  line-height: 1.4;
}

.btn-forgot-primary {
  width: 100%;
  background: #001301 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 11px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.2s;
}

.btn-forgot-primary:hover {
  opacity: 0.92;
}

.btn-forgot-back {
  width: 100%;
  background: transparent !important;
  color: #64748b !important;
  border: none !important;
  padding: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer;
  margin-top: 6px;
}

.btn-forgot-back:hover {
  color: #0f172a !important;
}

/* Hesap Ayarları ve Tehlikeli Bölge Modalı */
.account-settings-modal {
  max-width: 480px !important;
  padding: 28px !important;
  border-radius: 16px !important;
  box-sizing: border-box;
}

.account-info-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 16px 0;
}

.account-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
}

.account-info-row:last-child {
  border-bottom: none;
}

.account-info-label {
  color: #64748b;
  font-weight: 500;
}

.account-info-value {
  color: #0f172a;
  font-weight: 700;
}

.danger-zone-card {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  border-radius: 12px;
  padding: 18px;
  margin-top: 20px;
}

.danger-zone-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.danger-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.danger-zone-header h4 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #dc2626;
  font-weight: 700;
}

.danger-zone-header p {
  margin: 0;
  font-size: 12px;
  color: #991b1b;
  line-height: 1.5;
}

.btn-danger-delete {
  width: 100%;
  background: #dc2626 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 11px 16px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-danger-delete:hover {
  background: #b91c1c !important;
}

/* ============================================================
   DEPO-CASH CÜZDAN SİSTEMİ ARAYÜZ STILLERI
   ============================================================ */
.btn-wallet-pill {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  padding: 6px 14px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);
  transition: all 0.25s ease;
}

.btn-wallet-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;
}

.wallet-modal-content {
  width: 560px !important;
  max-width: 95% !important;
  max-height: calc(100vh - 50px) !important;
  margin: 15px auto !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.wallet-modal-content .close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10;
}

.wallet-modal-content .close:hover {
  color: #0f172a;
}

.wallet-modal-content::-webkit-scrollbar {
  width: 6px;
}

.wallet-modal-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.wallet-modal-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.wallet-modal-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.wallet-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}

.wallet-badge-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.wallet-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.wallet-card-primary {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.25);
}

.wallet-card-secondary {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.wallet-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.wallet-card-value {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.wallet-card-sub {
  font-size: 11px;
  opacity: 0.8;
}

.wallet-topup-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.wallet-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px;
}

.wallet-presets {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.btn-preset {
  flex: 1;
  min-width: 75px;
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 8px 6px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.btn-preset:hover {
  border-color: #10b981 !important;
  color: #059669 !important;
  background: #ecfdf5 !important;
  transform: translateY(-1px);
}

.wallet-input-row {
  display: flex;
  gap: 10px;
}

.wallet-input-row input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.wallet-input-row input:focus {
  border-color: #10b981;
}

.btn-topup-submit {
  background: #059669 !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 18px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-topup-submit:hover {
  background: #047857 !important;
}

.wallet-hint {
  font-size: 11.5px;
  color: #64748b;
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wallet-history-section {
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
}

.btn-wallet-refresh {
  background: none;
  border: none;
  color: #64748b;
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
}

.btn-wallet-refresh:hover {
  color: #0f172a;
}

.wallet-transactions-container {
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wallet-tx-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  font-size: 12.5px;
}

.wallet-tx-item:hover {
  background: #f8fafc;
}

.wallet-tx-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wallet-tx-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.tx-positive .wallet-tx-icon {
  background: #ecfdf5;
  color: #059669;
}

.tx-negative .wallet-tx-icon {
  background: #fef2f2;
  color: #dc2626;
}

.tx-pending .wallet-tx-icon {
  background: #fffbeb;
  color: #d97706;
}

.wallet-tx-desc {
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 2px;
}

.wallet-tx-date {
  font-size: 11px;
  color: #94a3b8;
  margin: 0;
}

.wallet-tx-amount {
  font-weight: 700;
  font-size: 13.5px;
  text-align: right;
}

.tx-positive .wallet-tx-amount {
  color: #059669;
}

.tx-negative .wallet-tx-amount {
  color: #dc2626;
}

.tx-pending .wallet-tx-amount {
  color: #d97706;
}

@media (max-width: 600px) {
  .wallet-cards-grid {
    grid-template-columns: 1fr;
  }
  .wallet-input-row {
    flex-direction: column;
  }
}