/* ==================================================================
   URETILEN SAYFALAR — demo temada bulunmayan ekranlarin stili
   Temanin kendi degiskenlerini ve tipografisini kullanir.
   ================================================================== */
.protoSayfa { padding: 34px 0 70px; }
.protoSayfa * { box-sizing: border-box; }
.ps-yol { font-size: 12px; color: #8a8a8a; margin-bottom: 18px; }
.ps-yol a { color: #8a8a8a; text-decoration: none; }
.ps-yol a:hover { color: var(--theme-color, #E74D3F); }
.ps-yol span { margin: 0 6px; }
.ps-baslik { font-size: 26px; font-weight: 700; margin: 0 0 6px; letter-spacing: -.01em; }
.ps-alt { font-size: 14px; color: #777; margin: 0 0 28px; }

.ps-izgara { display: grid; gap: 26px; }
.ps-izgara.iki { grid-template-columns: minmax(0,1fr) 340px; align-items: start; }
.ps-izgara.uc { grid-template-columns: repeat(3, minmax(0,1fr)); }
.ps-izgara.dort { grid-template-columns: repeat(4, minmax(0,1fr)); }
.ps-izgara.yan { grid-template-columns: 232px minmax(0,1fr); }

.ps-kutu { border: 1px solid #e8e8e8; border-radius: 6px; background: #fff; }
.ps-kutu-bas { padding: 16px 20px; border-bottom: 1px solid #e8e8e8; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.ps-kutu-ic { padding: 20px; }

.ps-dugme { display: inline-block; border: 0; border-radius: 5px; padding: 13px 24px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; transition: .15s; }
.ps-dugme.ana { background: var(--theme-color, #E74D3F); color: #fff; }
.ps-dugme.ana:hover { filter: brightness(.92); color: #fff; }
.ps-dugme.cizgi { background: #fff; color: #1c1c1c; border: 1px solid #1c1c1c; }
.ps-dugme.cizgi:hover { background: #1c1c1c; color: #fff; }
.ps-dugme.tam { display: block; width: 100%; }
.ps-dugme.kucuk { padding: 9px 15px; font-size: 12px; }

.ps-alan { margin-bottom: 15px; }
.ps-alan label { display: block; font-size: 12px; color: #666; margin-bottom: 6px; font-weight: 500; }
.ps-alan input, .ps-alan select, .ps-alan textarea {
  width: 100%; border: 1px solid #dfdfdf; border-radius: 5px; padding: 12px 14px;
  font-size: 14px; font-family: inherit; color: #1c1c1c; background: #fff;
}
.ps-alan input:focus, .ps-alan select:focus, .ps-alan textarea:focus { outline: 0; border-color: var(--theme-color, #E74D3F); }
.ps-alan textarea { min-height: 130px; resize: vertical; }
.ps-ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }

/* sepet */
.ps-sepet-satir { display: grid; grid-template-columns: 92px minmax(0,1fr) 120px 110px 40px; gap: 16px; align-items: center; padding: 18px 20px; border-bottom: 1px solid #f0f0f0; }
.ps-sepet-satir:last-child { border-bottom: 0; }
.ps-sepet-satir img { width: 92px; height: 92px; object-fit: contain; background: #f7f7f7; border-radius: 5px; }
.ps-sepet-satir .ad { font-size: 14px; color: #1c1c1c; text-decoration: none; display: block; margin-bottom: 4px; }
.ps-sepet-satir .ad:hover { color: var(--theme-color, #E74D3F); }
.ps-sepet-satir .nitelik { font-size: 12px; color: #999; }
.ps-sepet-satir .tutar { font-weight: 700; font-size: 15px; text-align: right; }
.ps-adet { display: inline-flex; align-items: center; border: 1px solid #dfdfdf; border-radius: 5px; }
.ps-adet button { border: 0; background: none; width: 32px; height: 34px; cursor: pointer; font-size: 15px; color: #555; }
.ps-adet button:hover { color: var(--theme-color, #E74D3F); }
.ps-adet span { min-width: 30px; text-align: center; font-size: 14px; }
.ps-sil { border: 0; background: none; cursor: pointer; color: #bbb; font-size: 18px; line-height: 1; }
.ps-sil:hover { color: var(--theme-color, #E74D3F); }

.ps-ozet-satir { display: flex; justify-content: space-between; font-size: 14px; padding: 9px 0; color: #555; }
.ps-ozet-satir.toplam { border-top: 1px solid #e8e8e8; margin-top: 8px; padding-top: 15px; font-size: 17px; font-weight: 700; color: #1c1c1c; }
.ps-kupon { display: flex; gap: 8px; margin: 4px 0 16px; }
.ps-kupon input { flex: 1 1 auto; border: 1px solid #dfdfdf; border-radius: 5px; padding: 11px 13px; font-size: 13px; font-family: inherit; }

/* adimlar */
.ps-adimlar { display: flex; gap: 0; margin-bottom: 28px; border: 1px solid #e8e8e8; border-radius: 6px; overflow: hidden; }
.ps-adim { flex: 1 1 0; padding: 15px 18px; font-size: 13px; color: #999; border-right: 1px solid #e8e8e8; display: flex; align-items: center; gap: 10px; background: #fafafa; cursor: pointer; }
.ps-adim:last-child { border-right: 0; }
.ps-adim b { width: 24px; height: 24px; border-radius: 50%; background: #e0e0e0; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ps-adim.aktif { background: #fff; color: #1c1c1c; font-weight: 600; }
.ps-adim.aktif b { background: var(--theme-color, #E74D3F); }
.ps-adim.tamam b { background: #157347; }

/* hesabim menu */
.ps-yan-menu { list-style: none; margin: 0; padding: 0; border: 1px solid #e8e8e8; border-radius: 6px; overflow: hidden; }
.ps-yan-menu a { display: block; padding: 13px 18px; font-size: 13.5px; color: #444; text-decoration: none; border-bottom: 1px solid #f0f0f0; }
.ps-yan-menu li:last-child a { border-bottom: 0; }
.ps-yan-menu a:hover { background: #fafafa; color: var(--theme-color, #E74D3F); }
.ps-yan-menu a.aktif { background: var(--theme-color, #E74D3F); color: #fff; font-weight: 600; }

.ps-tablo { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ps-tablo th { text-align: left; padding: 12px 14px; background: #fafafa; font-weight: 600; color: #666; border-bottom: 1px solid #e8e8e8; font-size: 12px; }
.ps-tablo td { padding: 14px; border-bottom: 1px solid #f0f0f0; }
.ps-rozet { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.ps-rozet.yesil { background: #e6f4ea; color: #157347; }
.ps-rozet.sari { background: #fff4e0; color: #9a6700; }
.ps-rozet.gri { background: #f0f0f0; color: #666; }

/* blog / icerik */
.ps-yazi-kart { border: 1px solid #e8e8e8; border-radius: 6px; overflow: hidden; background: #fff; display: block; text-decoration: none; color: inherit; }
.ps-yazi-kart img { width: 100%; height: 220px; object-fit: cover; display: block; }
.ps-yazi-kart .govde { padding: 20px; }
.ps-yazi-kart h3 { font-size: 16px; margin: 0 0 8px; font-weight: 600; }
.ps-yazi-kart p { font-size: 13px; color: #777; line-height: 1.6; margin: 0; }
.ps-yazi-kart .tarih { font-size: 11px; color: #aaa; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.ps-yazi-kart:hover h3 { color: var(--theme-color, #E74D3F); }

.ps-metin { font-size: 15px; line-height: 1.8; color: #444; max-width: 760px; }
.ps-metin h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; color: #1c1c1c; }
.ps-metin p { margin: 0 0 16px; }
.ps-metin ul { margin: 0 0 16px 20px; }
.ps-metin li { margin-bottom: 8px; }
.ps-kapak { width: 100%; height: 380px; object-fit: cover; border-radius: 8px; margin-bottom: 28px; }

.ps-magaza { display: flex; gap: 18px; padding: 20px; border: 1px solid #e8e8e8; border-radius: 6px; }
.ps-magaza img { width: 128px; height: 128px; object-fit: cover; border-radius: 5px; flex: 0 0 auto; }
.ps-magaza h3 { font-size: 16px; margin: 0 0 8px; font-weight: 600; }
.ps-magaza p { font-size: 13px; color: #777; line-height: 1.6; margin: 0 0 6px; }

.ps-bos { text-align: center; padding: 70px 20px; color: #888; }
.ps-bos p { font-size: 15px; margin-bottom: 20px; }

@media (max-width: 1024px) {
  .ps-izgara.iki, .ps-izgara.yan { grid-template-columns: 1fr; }
  .ps-izgara.dort { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .protoSayfa { padding: 20px 0 50px; }
  .ps-baslik { font-size: 21px; }
  .ps-izgara.uc, .ps-izgara.dort { grid-template-columns: 1fr; }
  .ps-sepet-satir { grid-template-columns: 72px minmax(0,1fr) 34px; row-gap: 10px; }
  .ps-sepet-satir img { width: 72px; height: 72px; }
  .ps-sepet-satir .ps-adet { grid-column: 2; }
  .ps-sepet-satir .tutar { grid-column: 2 / 4; text-align: left; }
  .ps-adimlar { flex-direction: column; }
  .ps-adim { border-right: 0; border-bottom: 1px solid #e8e8e8; }
  .ps-ikili { grid-template-columns: 1fr; }
}

/* genis tablolar mobilde sayfayi yatay kaydirmasin */
.ps-tablo-kaydir { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 767px) { .ps-tablo { min-width: 560px; } }

/* iki esit sutun; mobilde tek sutuna iner */
.ps-izgara.ikili { grid-template-columns: repeat(2, minmax(0,1fr)); }
/* izgara ogeleri icerik yuzunden tasmasin */
.ps-izgara > *, .ps-tablo-kaydir { min-width: 0; }
@media (max-width: 767px) { .ps-izgara.ikili { grid-template-columns: 1fr; } }
