/* =============================
   🛒 SEPET SAYFASI ANA TASARIMI
============================= */

/* Başlık */
.title {
  text-align: center;
  margin: 30px 0;
  font-size: 28px;
  font-weight: 700;
  color: #3c2a1e;
}

/* Layout */
.cart-wrapper {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto 40px;
  padding: 0 20px;
  gap: 25px;
  box-sizing: border-box;
}

/* Sol taraf: Ürünler */
.cart-container {
  flex: 3;
  background: #ffffff;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(183,157,131,0.35);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Sepetteki ürün kartı */
.cart-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg,#fff,#f8f6f2);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(183,157,131,0.25);
  margin-bottom: 14px;
}

/* Ürün görseli */
.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

/* Ürün bilgisi */
.item-info h4 {
  margin-bottom: 4px;
  font-size: 15px;
  color: #3c2a1e;
  font-weight: 600;
}

.item-info .ebat {
  font-size: 13px;
  color: #7a6a58;
  margin-bottom: 2px;
}

.item-info .fiyat {
  color: #b79d83;
  font-weight: 700;
  font-size: 15px;
}

/* Sağ blok: adet + kaldır */
.item-actions {
  margin-left: auto;
  text-align: right;
  font-size: 14px;
}

.item-actions .adet {
  margin-bottom: 6px;
  color: #3c2a1e;
  font-weight: 600;
}

/* SİLME BUTONU */
.remove-btn {
  background: linear-gradient(135deg,#d9534f,#c64542);
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: 0.25s;
}

.remove-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* =============================
   🧾 SAĞ TARAFTA SİPARİŞ ÖZETİ
============================= */

.cart-summary {
  flex: 1;
  max-width: 340px;
  background: linear-gradient(135deg,#fff,#f8f6f2);
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid rgba(183,157,131,0.35);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  height: fit-content;
}

.cart-summary h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #3c2a1e;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #3c2a1e;
  font-size: 14px;
  font-weight: 500;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 19px;
  font-weight: 700;
  color: #b79d83;
}

/* Ödeme butonu */
.checkout-btn {
  width: 100%;
  margin-top: 18px;
  padding: 13px 0;
  background: linear-gradient(135deg,#b79d83,#9c856d);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
}

.checkout-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

/* =============================
   🧾 ALIŞVERİŞE DEVAM BUTONU
============================= */

.continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  width: 100%;
  padding: 11px 0;
  background: linear-gradient(135deg,#e6ccb2,#d2b49b);
  border: 1px solid rgba(183,157,131,0.45);
  border-radius: 10px;
  color: #3c2a1e;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
}

.continue:hover {
  background: linear-gradient(135deg,#b79d83,#9c856d);
  color: #fff;
  transform: translateY(-1px);
}

/* =============================
   📱 MOBİL – ALTTAN SABİT BAR
============================= */

.mobile-checkout {
  display: none;
}

@media (max-width: 900px) {
  .cart-wrapper {
    flex-direction: column;
    padding-bottom: 90px;
  }

  .cart-summary {
    max-width: 100%;
  }

  .mobile-checkout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg,#fff,#f5f1eb);
    padding: 12px 16px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid rgba(183,157,131,0.35);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.10);
    z-index: 50;
  }

  .mobile-checkout span {
    font-weight: 700;
    font-size: 16px;
    color: #3c2a1e;
  }

  .mobile-checkout button {
    background: linear-gradient(135deg,#b79d83,#9c856d);
    color: white;
    padding: 9px 18px;
    border-radius: 9px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }
}


.cart-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin: 0;
  padding: 14px 20px;

  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;

  font-size: 14px;
  font-weight: 500;
  color: #111827;
  letter-spacing: 0.3px;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: relative;
}

/* Kargo & ödeme vurgusu */
.cart-trust span:not(.slogan):not(.dot) {
  font-weight: 600;
  color: #000000;
}

/* Nokta ayırıcı */
.cart-trust .dot {
  color: #c7c7c7;
  font-size: 13px;
}

/* Açıklama cümlesi */
.cart-trust .slogan {
  margin-left: 6px;
  font-style: italic;
  font-weight: 400;
  color: #6b7280;
  white-space: nowrap;
}

/* Premium ince çizgi */
.cart-trust::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 2px;
  background: linear-gradient(90deg, #d6b46a, #f5e6b3);
  border-radius: 2px;
}

/* Mobil */
@media (max-width: 768px) {
  .cart-trust {
    flex-wrap: wrap;
    text-align: center;
    font-size: 13px;
    padding: 12px 16px;
  }

  .cart-trust .dot {
    display: none;
  }

  .cart-trust .slogan {
    width: 100%;
    margin-left: 0;
    font-size: 12.5px;
    white-space: normal;
  }
}
/* =============================
   🧠 SEPET – GÜVEN BARI (FIX)
============================= */

.cart-summary .cart-trust {
  display: flex;
  flex-direction: column;
  gap: 6px;

  margin-bottom: 14px;
  padding: 12px 14px;

  background: linear-gradient(135deg,#ffffff,#f8f6f2);
  border: 1px solid rgba(183,157,131,0.35);
  border-radius: 12px;

  font-size: 13.5px;
  font-weight: 500;
  color: #3c2a1e;
  letter-spacing: 0.2px;

  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  position: relative;
}

/* Üst satır: ikonlu mesaj */
.cart-summary .cart-trust span:not(.slogan):not(.dot) {
  font-weight: 700;
  color: #3c2a1e;
}

/* Noktalar GEREKSİZ – kapat */
.cart-summary .cart-trust .dot {
  display: none;
}

/* Açıklama */
.cart-summary .cart-trust .slogan {
  font-style: italic;
  font-weight: 400;
  color: #7a6a58;
  white-space: normal;
  line-height: 1.4;
}

/* İnce premium çizgi */
.cart-summary .cart-trust::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg,#b79d83,#e6ccb2);
  border-radius: 2px;
}
